From 33e8a4e6cbfca19a3c86faccaa6b5c8ec87b7920 Mon Sep 17 00:00:00 2001 From: Bitl Date: Sat, 29 Jul 2017 20:43:44 -0700 Subject: [PATCH] fixed 2006 tshirt not showing up --- character2006.rbxm | 712 ++++++++++++++++++ ...ter_fakeclients.rbxm => character2007.rbxm | 0 humanoidAnimate2006.rbxm | 16 + humanoidSound2006.rbxm | 76 ++ 4 files changed, 804 insertions(+) create mode 100644 character2006.rbxm rename character_fakeclients.rbxm => character2007.rbxm (100%) create mode 100644 humanoidAnimate2006.rbxm create mode 100644 humanoidSound2006.rbxm diff --git a/character2006.rbxm b/character2006.rbxm new file mode 100644 index 0000000..b596993 --- /dev/null +++ b/character2006.rbxm @@ -0,0 +1,712 @@ + + null + nil + + + 7 + true + + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + erik.cassel + RBX1 + true + + + + false + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 4 + 0 + 24 + + 0 + 4.5 + -0.5 + -1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + -1 + + true + 0 + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + Head + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 0 + 0 + 0 + + 0 + 0 + 0 + + true + 1 + + 2 + 1 + 1 + + + + + + 0 + Mesh + + 1.25 + 1.25 + 1.25 + + + + 1 + 1 + 1 + + true + + + + + 5 + face + 20 + 0 + rbxasset://textures\face.png + true + + + + + + 0 + 0.5 + 0 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + + 0 + -0.200000003 + 0.150000006 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + HeadWeld + RBX1 + null + true + + + + + + 0 + 0.5 + 0 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + + 0 + -0.200000003 + 0.150000006 + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + HeadWeld + RBX1 + null + true + + + + + + false + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 4 + 0 + 23 + + 0 + 3 + -0.5 + -1 + 0 + -0 + -0 + 1 + -0 + -0 + 0 + -1 + + true + 0 + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + 0 + 0 + 2 + 0 + true + Torso + 0 + 0 + 0 + 2 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 3 + 0 + 0 + + 0 + 0 + 0 + + true + 1 + + 2 + 2 + 1 + + + + + 5 + roblox + 20 + 0 + rbxasset://textures\shirt.png + true + + + + + + false + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 4 + 0 + 24 + + 1.5 + 3 + -0.5 + -1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + -1 + + true + 0 + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + Left Arm + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 3 + 0 + 0 + + 0 + 0 + 0 + + true + 1 + + 1 + 2 + 1 + + + + + false + + Script + while true do--while its told its true it will happen +script.Parent.CanCollide=true--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses. +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +script.Parent.CanCollide = false +end + true + + + + + + false + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 4 + 0 + 24 + + -1.5 + 3 + -0.5 + -1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + -1 + + true + 0 + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + Right Arm + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 3 + 0 + 0 + + 0 + 0 + 0 + + true + 1 + + 1 + 2 + 1 + + + + + false + + Script + while true do--while its told its true it will happen +script.Parent.CanCollide=true--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses. +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +script.Parent.CanCollide = false +end + true + + + + + + false + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + 119 + + 0.5 + 1 + -0.5 + -1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + -1 + + false + 0 + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + Left Leg + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 3 + 0 + 0 + + 0 + 0 + 0 + + true + 1 + + 1 + 2 + 1 + + + + + false + + Script + while true do--while its told its true it will happen +script.Parent.CanCollide=true--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses . +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +script.Parent.CanCollide=false--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses. +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +end +while true do--while its told its true it will happen +script.Parent.CanCollide=true--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses . +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +script.Parent.CanCollide=false--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses. +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +end + + + true + + + + + + false + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + 119 + + -0.5 + 1 + -0.5 + -1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + -1 + + false + 0 + true + false + 0.5 + 0 + 0.300000012 + -0.5 + 0.5 + 0 + 0 + -0.5 + 0.5 + 0 + 0 + true + Right Leg + 0 + -0.5 + 0.5 + 0 + 0 + + 0 + 0 + 0 + + -0.5 + 0.5 + 3 + 0 + 0 + + 0 + 0 + 0 + + true + 1 + + 1 + 2 + 1 + + + + + false + + Script + while true do--while its told its true it will happen +script.Parent.CanCollide=true--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses . +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +script.Parent.CanCollide=false--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses. +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +end +while true do--while its told its true it will happen +script.Parent.CanCollide=true--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses . +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +script.Parent.CanCollide=false--script.Parent.(whatever) meens that its talking about the script effecting the +--parent, which is the brick, changing whatever setting in the brick its told too change. and the true/false is +--setting the setting to something else useing whatever unit it uses. +wait(0)--this is how long it will wait until going to the next piece of the script below it or will restart it. +end + + + true + + + + + + 100 + false + 100 + Humanoid + false + false + + 0 + 0 + 0 + + + 0 + 0 + 0 + + 0 + null + + 0 + 0 + 0 + + true + + + + + false + + Hats + while true do + wait() + if script.Parent.Humanoid.Health == 0 then + local Hat = nil + for a,b in ipairs(script.Parent:GetChildren())do + if(b.className == "Hat")then + Hat = b + local Handles = Hat:findFirstChild("Handle") + if Handles then + Handles.CanCollide = true + end + end + end + end + end + + true + + + + diff --git a/character_fakeclients.rbxm b/character2007.rbxm similarity index 100% rename from character_fakeclients.rbxm rename to character2007.rbxm diff --git a/humanoidAnimate2006.rbxm b/humanoidAnimate2006.rbxm new file mode 100644 index 0000000..a348ed4 --- /dev/null +++ b/humanoidAnimate2006.rbxm @@ -0,0 +1,16 @@ + + null + nil + + + false + + Animate + -- Now with exciting TeamColors HACK! + + + + true + + + \ No newline at end of file diff --git a/humanoidSound2006.rbxm b/humanoidSound2006.rbxm new file mode 100644 index 0000000..0523e7b --- /dev/null +++ b/humanoidSound2006.rbxm @@ -0,0 +1,76 @@ + + null + nil + + + false + + Sound + -- util + +function waitForChild(parent, childName) + local child = parent:findFirstChild(childName) + if child then return child end + while true do + child = parent.ChildAdded:wait() + if child.Name==childName then return child end + end +end + +function newSound(id) + local sound = Instance.new("Sound") + sound.SoundId = id + sound.archivable = false + sound.Parent = script.Parent.Head + return sound +end + +-- declarations + +local sDied = newSound("rbxasset://sounds/uuhhh.wav") +local sFallingDown = newSound("rbxasset://sounds/splat.wav") +local sFreeFalling = newSound("rbxasset://sounds/swoosh.wav") +local sGettingUp = newSound("rbxasset://sounds/hit.wav") +local sJumping = newSound("rbxasset://sounds/button.wav") +local sRunning = newSound("rbxasset://sounds/bfsl-minifigfoots1.mp3") +sRunning.Looped = true + +local Figure = script.Parent +local Head = waitForChild(Figure, "Head") +local Humanoid = waitForChild(Figure, "Humanoid") + +-- functions + +function onDied() + sDied:Play() +end + +function onState(state, sound) + if state then + sound:Play() + else + sound:Pause() + end +end + +function onRunning(speed) + if speed>0 then + sRunning:Play() + else + sRunning:Pause() + end +end + +-- connect up + +Humanoid.Died:connect(onDied) +Humanoid.Running:connect(onRunning) +Humanoid.Jumping:connect(function(state) onState(state, sJumping) end) +Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end) +Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end) +Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end) + + true + + + \ No newline at end of file