Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local chil = workspace:GetChildren()
- for i,v in pairs(chil) do
- if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
- v:Destroy()
- end
- end
- Part0 = Instance.new("Part")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- Attachment3 = Instance.new("Attachment")
- Vector3Value4 = Instance.new("Vector3Value")
- Vector3Value5 = Instance.new("Vector3Value")
- Attachment6 = Instance.new("Attachment")
- Vector3Value7 = Instance.new("Vector3Value")
- Attachment8 = Instance.new("Attachment")
- Vector3Value9 = Instance.new("Vector3Value")
- Motor6D10 = Instance.new("Motor6D")
- Vector3Value11 = Instance.new("Vector3Value")
- Attachment12 = Instance.new("Attachment")
- Vector3Value13 = Instance.new("Vector3Value")
- Attachment14 = Instance.new("Attachment")
- Vector3Value15 = Instance.new("Vector3Value")
- Motor6D16 = Instance.new("Motor6D")
- Vector3Value17 = Instance.new("Vector3Value")
- Attachment18 = Instance.new("Attachment")
- Vector3Value19 = Instance.new("Vector3Value")
- Attachment20 = Instance.new("Attachment")
- Vector3Value21 = Instance.new("Vector3Value")
- Attachment22 = Instance.new("Attachment")
- Vector3Value23 = Instance.new("Vector3Value")
- Motor6D24 = Instance.new("Motor6D")
- Vector3Value25 = Instance.new("Vector3Value")
- Attachment26 = Instance.new("Attachment")
- Vector3Value27 = Instance.new("Vector3Value")
- Attachment28 = Instance.new("Attachment")
- Vector3Value29 = Instance.new("Vector3Value")
- Motor6D30 = Instance.new("Motor6D")
- Vector3Value31 = Instance.new("Vector3Value")
- Attachment32 = Instance.new("Attachment")
- Vector3Value33 = Instance.new("Vector3Value")
- Attachment34 = Instance.new("Attachment")
- Vector3Value35 = Instance.new("Vector3Value")
- Motor6D36 = Instance.new("Motor6D")
- Vector3Value37 = Instance.new("Vector3Value")
- Attachment38 = Instance.new("Attachment")
- Vector3Value39 = Instance.new("Vector3Value")
- Attachment40 = Instance.new("Attachment")
- Vector3Value41 = Instance.new("Vector3Value")
- Attachment42 = Instance.new("Attachment")
- Vector3Value43 = Instance.new("Vector3Value")
- Motor6D44 = Instance.new("Motor6D")
- Vector3Value45 = Instance.new("Vector3Value")
- Attachment46 = Instance.new("Attachment")
- Vector3Value47 = Instance.new("Vector3Value")
- Attachment48 = Instance.new("Attachment")
- Vector3Value49 = Instance.new("Vector3Value")
- Attachment50 = Instance.new("Attachment")
- Vector3Value51 = Instance.new("Vector3Value")
- Attachment52 = Instance.new("Attachment")
- Vector3Value53 = Instance.new("Vector3Value")
- Attachment54 = Instance.new("Attachment")
- Vector3Value55 = Instance.new("Vector3Value")
- Attachment56 = Instance.new("Attachment")
- Vector3Value57 = Instance.new("Vector3Value")
- Attachment58 = Instance.new("Attachment")
- Vector3Value59 = Instance.new("Vector3Value")
- Attachment60 = Instance.new("Attachment")
- Vector3Value61 = Instance.new("Vector3Value")
- Attachment62 = Instance.new("Attachment")
- Vector3Value63 = Instance.new("Vector3Value")
- Motor6D64 = Instance.new("Motor6D")
- Vector3Value65 = Instance.new("Vector3Value")
- Attachment66 = Instance.new("Attachment")
- Vector3Value67 = Instance.new("Vector3Value")
- Motor6D68 = Instance.new("Motor6D")
- Vector3Value69 = Instance.new("Vector3Value")
- Attachment70 = Instance.new("Attachment")
- Vector3Value71 = Instance.new("Vector3Value")
- Attachment72 = Instance.new("Attachment")
- Vector3Value73 = Instance.new("Vector3Value")
- Motor6D74 = Instance.new("Motor6D")
- Vector3Value75 = Instance.new("Vector3Value")
- Attachment76 = Instance.new("Attachment")
- Vector3Value77 = Instance.new("Vector3Value")
- Attachment78 = Instance.new("Attachment")
- Vector3Value79 = Instance.new("Vector3Value")
- Motor6D80 = Instance.new("Motor6D")
- Vector3Value81 = Instance.new("Vector3Value")
- Attachment82 = Instance.new("Attachment")
- Vector3Value83 = Instance.new("Vector3Value")
- Motor6D84 = Instance.new("Motor6D")
- Vector3Value85 = Instance.new("Vector3Value")
- Attachment86 = Instance.new("Attachment")
- Vector3Value87 = Instance.new("Vector3Value")
- Attachment88 = Instance.new("Attachment")
- Vector3Value89 = Instance.new("Vector3Value")
- Motor6D90 = Instance.new("Motor6D")
- Vector3Value91 = Instance.new("Vector3Value")
- Attachment92 = Instance.new("Attachment")
- Vector3Value93 = Instance.new("Vector3Value")
- Attachment94 = Instance.new("Attachment")
- Vector3Value95 = Instance.new("Vector3Value")
- Motor6D96 = Instance.new("Motor6D")
- Vector3Value97 = Instance.new("Vector3Value")
- Attachment98 = Instance.new("Attachment")
- Vector3Value99 = Instance.new("Vector3Value")
- Attachment100 = Instance.new("Attachment")
- Vector3Value101 = Instance.new("Vector3Value")
- Attachment102 = Instance.new("Attachment")
- Vector3Value103 = Instance.new("Vector3Value")
- Attachment104 = Instance.new("Attachment")
- Vector3Value105 = Instance.new("Vector3Value")
- Attachment106 = Instance.new("Attachment")
- Vector3Value107 = Instance.new("Vector3Value")
- Attachment108 = Instance.new("Attachment")
- Vector3Value109 = Instance.new("Vector3Value")
- Attachment110 = Instance.new("Attachment")
- Vector3Value111 = Instance.new("Vector3Value")
- Motor6D112 = Instance.new("Motor6D")
- Vector3Value113 = Instance.new("Vector3Value")
- Humanoid114 = Instance.new("Humanoid")
- NumberValue115 = Instance.new("NumberValue")
- NumberValue116 = Instance.new("NumberValue")
- NumberValue117 = Instance.new("NumberValue")
- NumberValue118 = Instance.new("NumberValue")
- NumberValue119 = Instance.new("NumberValue")
- NumberValue120 = Instance.new("NumberValue")
- Part121 = Instance.new("Part")
- SpecialMesh122 = Instance.new("SpecialMesh")
- Vector3Value123 = Instance.new("Vector3Value")
- Attachment124 = Instance.new("Attachment")
- Vector3Value125 = Instance.new("Vector3Value")
- Attachment126 = Instance.new("Attachment")
- Vector3Value127 = Instance.new("Vector3Value")
- Attachment128 = Instance.new("Attachment")
- Vector3Value129 = Instance.new("Vector3Value")
- Attachment130 = Instance.new("Attachment")
- Vector3Value131 = Instance.new("Vector3Value")
- Attachment132 = Instance.new("Attachment")
- Vector3Value133 = Instance.new("Vector3Value")
- Decal134 = Instance.new("Decal")
- Motor6D135 = Instance.new("Motor6D")
- Vector3Value136 = Instance.new("Vector3Value")
- Sound137 = Instance.new("Sound")
- RemoteEvent138 = Instance.new("RemoteEvent")
- Sound139 = Instance.new("Sound")
- RemoteEvent140 = Instance.new("RemoteEvent")
- Sound141 = Instance.new("Sound")
- RemoteEvent142 = Instance.new("RemoteEvent")
- Sound143 = Instance.new("Sound")
- RemoteEvent144 = Instance.new("RemoteEvent")
- Sound145 = Instance.new("Sound")
- RemoteEvent146 = Instance.new("RemoteEvent")
- Sound147 = Instance.new("Sound")
- RemoteEvent148 = Instance.new("RemoteEvent")
- Sound149 = Instance.new("Sound")
- RemoteEvent150 = Instance.new("RemoteEvent")
- Sound151 = Instance.new("Sound")
- RemoteEvent152 = Instance.new("RemoteEvent")
- Sound153 = Instance.new("Sound")
- RemoteEvent154 = Instance.new("RemoteEvent")
- Script155 = Instance.new("Script")
- LocalScript156 = Instance.new("LocalScript")
- Script157 = Instance.new("Script")
- LocalScript158 = Instance.new("LocalScript")
- StringValue159 = Instance.new("StringValue")
- Animation160 = Instance.new("Animation")
- StringValue161 = Instance.new("StringValue")
- Animation162 = Instance.new("Animation")
- StringValue163 = Instance.new("StringValue")
- Animation164 = Instance.new("Animation")
- NumberValue165 = Instance.new("NumberValue")
- Animation166 = Instance.new("Animation")
- NumberValue167 = Instance.new("NumberValue")
- Animation168 = Instance.new("Animation")
- NumberValue169 = Instance.new("NumberValue")
- StringValue170 = Instance.new("StringValue")
- Animation171 = Instance.new("Animation")
- NumberValue172 = Instance.new("NumberValue")
- Animation173 = Instance.new("Animation")
- NumberValue174 = Instance.new("NumberValue")
- Animation175 = Instance.new("Animation")
- NumberValue176 = Instance.new("NumberValue")
- StringValue177 = Instance.new("StringValue")
- Animation178 = Instance.new("Animation")
- NumberValue179 = Instance.new("NumberValue")
- Animation180 = Instance.new("Animation")
- NumberValue181 = Instance.new("NumberValue")
- Animation182 = Instance.new("Animation")
- NumberValue183 = Instance.new("NumberValue")
- StringValue184 = Instance.new("StringValue")
- Animation185 = Instance.new("Animation")
- StringValue186 = Instance.new("StringValue")
- Animation187 = Instance.new("Animation")
- NumberValue188 = Instance.new("NumberValue")
- Animation189 = Instance.new("Animation")
- NumberValue190 = Instance.new("NumberValue")
- StringValue191 = Instance.new("StringValue")
- Animation192 = Instance.new("Animation")
- StringValue193 = Instance.new("StringValue")
- Animation194 = Instance.new("Animation")
- StringValue195 = Instance.new("StringValue")
- Animation196 = Instance.new("Animation")
- StringValue197 = Instance.new("StringValue")
- Animation198 = Instance.new("Animation")
- StringValue199 = Instance.new("StringValue")
- Animation200 = Instance.new("Animation")
- StringValue201 = Instance.new("StringValue")
- Animation202 = Instance.new("Animation")
- StringValue203 = Instance.new("StringValue")
- Animation204 = Instance.new("Animation")
- StringValue205 = Instance.new("StringValue")
- Animation206 = Instance.new("Animation")
- StringValue207 = Instance.new("StringValue")
- Animation208 = Instance.new("Animation")
- StringValue209 = Instance.new("StringValue")
- Animation210 = Instance.new("Animation")
- StringValue211 = Instance.new("StringValue")
- Animation212 = Instance.new("Animation")
- StringValue213 = Instance.new("StringValue")
- Animation214 = Instance.new("Animation")
- BodyColors215 = Instance.new("BodyColors")
- ShirtGraphic216 = Instance.new("ShirtGraphic")
- Shirt217 = Instance.new("Shirt")
- Pants218 = Instance.new("Pants")
- Part0.Name = "Baseplate"
- Part0.Parent = mas
- Part0.BrickColor = BrickColor.new("Dark stone grey")
- Part0.Anchored = true
- Part0.Locked = true
- Part0.FormFactor = Enum.FormFactor.Symmetric
- Part0.Size = Vector3.new(512, 20, 512)
- Part0.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part0.Position = Vector3.new(0, -10, 0)
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Model1.Name = "M3m3_L0rd4life"
- Model1.Parent = mas
- Model1.Archivable = false
- Model1.PrimaryPart = Part2
- Part2.Name = "HumanoidRootPart"
- Part2.Parent = Model1
- Part2.Transparency = 1
- Part2.Rotation = Vector3.new(0, -9.80000019, 0)
- Part2.Size = Vector3.new(2, 2.0999999, 1)
- Part2.CFrame = CFrame.new(0.702840745, 2.46749997, 10.3762236, 0.985415578, 0, -0.170164526, 0, 1, 0, 0.170164526, 0, 0.985415578)
- Part2.Position = Vector3.new(0.702840745, 2.46749997, 10.3762236)
- Part2.Orientation = Vector3.new(0, -9.80000019, 0)
- Attachment3.Name = "RootRigAttachment"
- Attachment3.Parent = Part2
- Attachment3.CFrame = CFrame.new(0, -0.367499977, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment3.Position = Vector3.new(0, -0.367499977, 0)
- Vector3Value4.Name = "OriginalPosition"
- Vector3Value4.Parent = Attachment3
- Vector3Value4.Value = Vector3.new(0, -0.349999994, 0)
- Vector3Value5.Name = "OriginalSize"
- Vector3Value5.Parent = Part2
- Vector3Value5.Value = Vector3.new(2, 2, 1)
- Attachment6.Name = "LeftWristRigAttachment"
- Attachment6.Parent = mas
- Attachment6.CFrame = CFrame.new(0.000478982925, 0.131297663, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment6.Position = Vector3.new(0.000478982925, 0.131297663, 5.96046448e-08)
- Vector3Value7.Name = "OriginalPosition"
- Vector3Value7.Parent = Attachment6
- Vector3Value7.Value = Vector3.new(0.000478982925, 0.125045404, 5.96046448e-08)
- Attachment8.Name = "LeftGripAttachment"
- Attachment8.Parent = mas
- Attachment8.Rotation = Vector3.new(-90, -0, -0)
- Attachment8.CFrame = CFrame.new(0, -0.157452226, -1.46306121e-07, 1, 0, -0, 0, 6.12323426e-17, 1, 0, -1, 6.12323426e-17)
- Attachment8.Position = Vector3.new(0, -0.157452226, -1.46306121e-07)
- Attachment8.Orientation = Vector3.new(-90, -0, 0)
- Vector3Value9.Name = "OriginalPosition"
- Vector3Value9.Parent = Attachment8
- Vector3Value9.Value = Vector3.new(0, -0.149954513, -1.46306121e-07)
- Motor6D10.Name = "LeftWrist"
- Motor6D10.Parent = mas
- Motor6D10.C0 = CFrame.new(0.000478625298, -0.525975108, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D10.C1 = CFrame.new(0.000478982925, 0.131297663, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D10.Part0 = nil
- Motor6D10.Part1 = nil
- Vector3Value11.Name = "OriginalSize"
- Vector3Value11.Parent = mas
- Vector3Value11.Value = Vector3.new(0.999999762, 0.300030679, 0.999999881)
- Attachment12.Name = "LeftElbowRigAttachment"
- Attachment12.Parent = mas
- Attachment12.CFrame = CFrame.new(0.000478625298, 0.271622598, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment12.Position = Vector3.new(0.000478625298, 0.271622598, 7.64462551e-20)
- Vector3Value13.Name = "OriginalPosition"
- Vector3Value13.Parent = Attachment12
- Vector3Value13.Value = Vector3.new(0.000478625298, 0.258688211, 7.64462551e-20)
- Attachment14.Name = "LeftWristRigAttachment"
- Attachment14.Parent = mas
- Attachment14.CFrame = CFrame.new(0.000478625298, -0.525975108, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment14.Position = Vector3.new(0.000478625298, -0.525975108, 7.64462551e-20)
- Vector3Value15.Name = "OriginalPosition"
- Vector3Value15.Parent = Attachment14
- Vector3Value15.Value = Vector3.new(0.000478625298, -0.5009287, 7.64462551e-20)
- Motor6D16.Name = "LeftElbow"
- Motor6D16.Parent = mas
- Motor6D16.C0 = CFrame.new(0.000479221344, -0.350759178, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D16.C1 = CFrame.new(0.000478625298, 0.271622598, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D16.Part0 = nil
- Motor6D16.Part1 = nil
- Motor6D16.CurrentAngle = -0.00087082956451923
- Vector3Value17.Name = "OriginalSize"
- Vector3Value17.Parent = mas
- Vector3Value17.Value = Vector3.new(0.999999642, 1.05191803, 1)
- Attachment18.Name = "LeftShoulderRigAttachment"
- Attachment18.Parent = mas
- Attachment18.CFrame = CFrame.new(0.500000358, 0.414043009, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment18.Position = Vector3.new(0.500000358, 0.414043009, 8.94069672e-08)
- Vector3Value19.Name = "OriginalPosition"
- Vector3Value19.Parent = Attachment18
- Vector3Value19.Value = Vector3.new(0.500000358, 0.394326687, 8.94069672e-08)
- Attachment20.Name = "LeftElbowRigAttachment"
- Attachment20.Parent = mas
- Attachment20.CFrame = CFrame.new(0.000479221344, -0.350759178, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment20.Position = Vector3.new(0.000479221344, -0.350759178, 8.94069672e-08)
- Vector3Value21.Name = "OriginalPosition"
- Vector3Value21.Parent = Attachment20
- Vector3Value21.Value = Vector3.new(0.000479221344, -0.334056377, 8.94069672e-08)
- Attachment22.Name = "LeftShoulderAttachment"
- Attachment22.Parent = mas
- Attachment22.CFrame = CFrame.new(2.38418579e-07, 0.613542914, -2.70968314e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment22.Position = Vector3.new(2.38418579e-07, 0.613542914, -2.70968314e-08)
- Vector3Value23.Name = "OriginalPosition"
- Vector3Value23.Parent = Attachment22
- Vector3Value23.Value = Vector3.new(2.38418579e-07, 0.584326625, -2.70968314e-08)
- Motor6D24.Name = "LeftShoulder"
- Motor6D24.Parent = mas
- Motor6D24.C0 = CFrame.new(-1, 0.591167986, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D24.C1 = CFrame.new(0.500000358, 0.414043009, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D24.Part0 = nil
- Motor6D24.Part1 = nil
- Motor6D24.CurrentAngle = -0.082779809832573
- Vector3Value25.Name = "OriginalSize"
- Vector3Value25.Parent = mas
- Vector3Value25.Value = Vector3.new(0.999999762, 1.16867065, 0.99999994)
- Attachment26.Name = "RightWristRigAttachment"
- Attachment26.Parent = mas
- Attachment26.CFrame = CFrame.new(3.57627869e-07, 0.131297663, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment26.Position = Vector3.new(3.57627869e-07, 0.131297663, 5.96046448e-08)
- Vector3Value27.Name = "OriginalPosition"
- Vector3Value27.Parent = Attachment26
- Vector3Value27.Value = Vector3.new(3.57627869e-07, 0.125045404, 5.96046448e-08)
- Attachment28.Name = "RightGripAttachment"
- Attachment28.Parent = mas
- Attachment28.Rotation = Vector3.new(-90, -0, -0)
- Attachment28.CFrame = CFrame.new(0, -0.157452226, -1.46306121e-07, 1, 0, -0, 0, 6.12323426e-17, 1, 0, -1, 6.12323426e-17)
- Attachment28.Position = Vector3.new(0, -0.157452226, -1.46306121e-07)
- Attachment28.Orientation = Vector3.new(-90, -0, 0)
- Vector3Value29.Name = "OriginalPosition"
- Vector3Value29.Parent = Attachment28
- Vector3Value29.Value = Vector3.new(0, -0.149954513, -1.46306121e-07)
- Motor6D30.Name = "RightWrist"
- Motor6D30.Parent = mas
- Motor6D30.C0 = CFrame.new(1.1920929e-07, -0.525975108, -6.86244753e-18, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D30.C1 = CFrame.new(3.57627869e-07, 0.131297663, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D30.Part0 = nil
- Motor6D30.Part1 = nil
- Vector3Value31.Name = "OriginalSize"
- Vector3Value31.Parent = mas
- Vector3Value31.Value = Vector3.new(0.999999881, 0.300030679, 0.999999881)
- Attachment32.Name = "RightElbowRigAttachment"
- Attachment32.Parent = mas
- Attachment32.CFrame = CFrame.new(1.1920929e-07, 0.271508455, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment32.Position = Vector3.new(1.1920929e-07, 0.271508455, 7.64462551e-20)
- Vector3Value33.Name = "OriginalPosition"
- Vector3Value33.Parent = Attachment32
- Vector3Value33.Value = Vector3.new(1.1920929e-07, 0.258579493, 7.64462551e-20)
- Attachment34.Name = "RightWristRigAttachment"
- Attachment34.Parent = mas
- Attachment34.CFrame = CFrame.new(1.1920929e-07, -0.525975108, -6.86244753e-18, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment34.Position = Vector3.new(1.1920929e-07, -0.525975108, -6.86244753e-18)
- Vector3Value35.Name = "OriginalPosition"
- Vector3Value35.Parent = Attachment34
- Vector3Value35.Value = Vector3.new(1.1920929e-07, -0.5009287, -6.86244753e-18)
- Motor6D36.Name = "RightElbow"
- Motor6D36.Parent = mas
- Motor6D36.C0 = CFrame.new(-5.96046448e-07, -0.350873321, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D36.C1 = CFrame.new(1.1920929e-07, 0.271508455, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D36.Part0 = nil
- Motor6D36.Part1 = nil
- Motor6D36.CurrentAngle = 0.00034356454852968
- Vector3Value37.Name = "OriginalSize"
- Vector3Value37.Parent = mas
- Vector3Value37.Value = Vector3.new(0.999999762, 1.05191803, 1)
- Attachment38.Name = "RightShoulderRigAttachment"
- Attachment38.Parent = mas
- Attachment38.CFrame = CFrame.new(-0.500000715, 0.414043009, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment38.Position = Vector3.new(-0.500000715, 0.414043009, 8.94069672e-08)
- Vector3Value39.Name = "OriginalPosition"
- Vector3Value39.Parent = Attachment38
- Vector3Value39.Value = Vector3.new(-0.500000715, 0.394326687, 8.94069672e-08)
- Attachment40.Name = "RightElbowRigAttachment"
- Attachment40.Parent = mas
- Attachment40.CFrame = CFrame.new(-5.96046448e-07, -0.350873321, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment40.Position = Vector3.new(-5.96046448e-07, -0.350873321, 8.94069672e-08)
- Vector3Value41.Name = "OriginalPosition"
- Vector3Value41.Parent = Attachment40
- Vector3Value41.Value = Vector3.new(-5.96046448e-07, -0.334165096, 8.94069672e-08)
- Attachment42.Name = "RightShoulderAttachment"
- Attachment42.Parent = mas
- Attachment42.CFrame = CFrame.new(-8.34465027e-07, 0.613542914, -2.70968314e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment42.Position = Vector3.new(-8.34465027e-07, 0.613542914, -2.70968314e-08)
- Vector3Value43.Name = "OriginalPosition"
- Vector3Value43.Parent = Attachment42
- Vector3Value43.Value = Vector3.new(-8.34465027e-07, 0.584326625, -2.70968314e-08)
- Motor6D44.Name = "RightShoulder"
- Motor6D44.Parent = mas
- Motor6D44.C0 = CFrame.new(0.99999994, 0.591167986, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D44.C1 = CFrame.new(-0.500000715, 0.414043009, 8.94069672e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D44.Part0 = nil
- Motor6D44.Part1 = nil
- Motor6D44.CurrentAngle = 0.043153166770935
- Vector3Value45.Name = "OriginalSize"
- Vector3Value45.Parent = mas
- Vector3Value45.Value = Vector3.new(0.999999642, 1.16867065, 0.99999994)
- Attachment46.Name = "WaistRigAttachment"
- Attachment46.Parent = mas
- Attachment46.CFrame = CFrame.new(-5.96046448e-08, -0.839984953, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment46.Position = Vector3.new(-5.96046448e-08, -0.839984953, 1.1920929e-07)
- Vector3Value47.Name = "OriginalPosition"
- Vector3Value47.Parent = Attachment46
- Vector3Value47.Value = Vector3.new(-5.96046448e-08, -0.799985707, 1.1920929e-07)
- Attachment48.Name = "NeckRigAttachment"
- Attachment48.Parent = mas
- Attachment48.CFrame = CFrame.new(-5.96046448e-08, 0.840017915, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment48.Position = Vector3.new(-5.96046448e-08, 0.840017915, 1.1920929e-07)
- Vector3Value49.Name = "OriginalPosition"
- Vector3Value49.Parent = Attachment48
- Vector3Value49.Value = Vector3.new(-5.96046448e-08, 0.800017118, 1.1920929e-07)
- Attachment50.Name = "LeftShoulderRigAttachment"
- Attachment50.Parent = mas
- Attachment50.CFrame = CFrame.new(-1, 0.591167986, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment50.Position = Vector3.new(-1, 0.591167986, 1.1920929e-07)
- Vector3Value51.Name = "OriginalPosition"
- Vector3Value51.Parent = Attachment50
- Vector3Value51.Value = Vector3.new(-1, 0.56301713, 1.1920929e-07)
- Attachment52.Name = "RightShoulderRigAttachment"
- Attachment52.Parent = mas
- Attachment52.CFrame = CFrame.new(0.99999994, 0.591167986, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment52.Position = Vector3.new(0.99999994, 0.591167986, 1.1920929e-07)
- Vector3Value53.Name = "OriginalPosition"
- Vector3Value53.Parent = Attachment52
- Vector3Value53.Value = Vector3.new(0.99999994, 0.56301713, 1.1920929e-07)
- Attachment54.Name = "BodyFrontAttachment"
- Attachment54.Parent = mas
- Attachment54.CFrame = CFrame.new(-5.96046448e-08, -0.209984958, -0.499999881, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment54.Position = Vector3.new(-5.96046448e-08, -0.209984958, -0.499999881)
- Vector3Value55.Name = "OriginalPosition"
- Vector3Value55.Parent = Attachment54
- Vector3Value55.Value = Vector3.new(-5.96046448e-08, -0.199985683, -0.499999881)
- Attachment56.Name = "BodyBackAttachment"
- Attachment56.Parent = mas
- Attachment56.CFrame = CFrame.new(-5.96046448e-08, -0.209984958, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment56.Position = Vector3.new(-5.96046448e-08, -0.209984958, 0.5)
- Vector3Value57.Name = "OriginalPosition"
- Vector3Value57.Parent = Attachment56
- Vector3Value57.Value = Vector3.new(-5.96046448e-08, -0.199985683, 0.5)
- Attachment58.Name = "LeftCollarAttachment"
- Attachment58.Parent = mas
- Attachment58.CFrame = CFrame.new(-0.999999881, 0.840017796, -7.27397378e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment58.Position = Vector3.new(-0.999999881, 0.840017796, -7.27397378e-08)
- Vector3Value59.Name = "OriginalPosition"
- Vector3Value59.Parent = Attachment58
- Vector3Value59.Value = Vector3.new(-0.999999881, 0.800016999, -7.27397378e-08)
- Attachment60.Name = "RightCollarAttachment"
- Attachment60.Parent = mas
- Attachment60.CFrame = CFrame.new(0.99999994, 0.840017557, 4.61295997e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment60.Position = Vector3.new(0.99999994, 0.840017557, 4.61295997e-08)
- Vector3Value61.Name = "OriginalPosition"
- Vector3Value61.Parent = Attachment60
- Vector3Value61.Value = Vector3.new(0.99999994, 0.800016761, 4.61295997e-08)
- Attachment62.Name = "NeckAttachment"
- Attachment62.Parent = mas
- Attachment62.CFrame = CFrame.new(-5.05859497e-08, 0.840017915, 7.11172419e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment62.Position = Vector3.new(-5.05859497e-08, 0.840017915, 7.11172419e-08)
- Vector3Value63.Name = "OriginalPosition"
- Vector3Value63.Parent = Attachment62
- Vector3Value63.Value = Vector3.new(-5.05859497e-08, 0.800017118, 7.11172419e-08)
- Motor6D64.Name = "Waist"
- Motor6D64.Parent = mas
- Motor6D64.C0 = CFrame.new(-1.1920929e-07, 0.21002616, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D64.C1 = CFrame.new(-5.96046448e-08, -0.839984953, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D64.Part0 = nil
- Motor6D64.Part1 = nil
- Motor6D64.CurrentAngle = -0.0093979742377996
- Vector3Value65.Name = "OriginalSize"
- Vector3Value65.Parent = mas
- Vector3Value65.Value = Vector3.new(2, 1.60003424, 1.00000036)
- Attachment66.Name = "LeftAnkleRigAttachment"
- Attachment66.Parent = mas
- Attachment66.CFrame = CFrame.new(-1.78813934e-07, 0.107036658, -1.7222776e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment66.Position = Vector3.new(-1.78813934e-07, 0.107036658, -1.7222776e-06)
- Vector3Value67.Name = "OriginalPosition"
- Vector3Value67.Parent = Attachment66
- Vector3Value67.Value = Vector3.new(-1.78813934e-07, 0.101939678, -1.7222776e-06)
- Motor6D68.Name = "LeftAnkle"
- Motor6D68.Parent = mas
- Motor6D68.C0 = CFrame.new(-1.1920929e-07, -0.574514985, -2.21401592e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D68.C1 = CFrame.new(-1.78813934e-07, 0.107036658, -1.7222776e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D68.Part0 = nil
- Motor6D68.Part1 = nil
- Motor6D68.CurrentAngle = 0.15524387359619
- Vector3Value69.Name = "OriginalSize"
- Vector3Value69.Parent = mas
- Vector3Value69.Value = Vector3.new(1, 0.300000191, 1)
- Attachment70.Name = "LeftKneeRigAttachment"
- Attachment70.Parent = mas
- Attachment70.CFrame = CFrame.new(2.98023224e-08, 0.397969335, -1.60860594e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment70.Position = Vector3.new(2.98023224e-08, 0.397969335, -1.60860594e-07)
- Vector3Value71.Name = "OriginalPosition"
- Vector3Value71.Parent = Attachment70
- Vector3Value71.Value = Vector3.new(2.98023224e-08, 0.379018426, -1.60860594e-07)
- Attachment72.Name = "LeftAnkleRigAttachment"
- Attachment72.Parent = mas
- Attachment72.CFrame = CFrame.new(-1.1920929e-07, -0.574514985, -2.21401592e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment72.Position = Vector3.new(-1.1920929e-07, -0.574514985, -2.21401592e-06)
- Vector3Value73.Name = "OriginalPosition"
- Vector3Value73.Parent = Attachment72
- Vector3Value73.Value = Vector3.new(-1.1920929e-07, -0.547157168, -2.21401592e-06)
- Motor6D74.Name = "LeftKnee"
- Motor6D74.Parent = mas
- Motor6D74.C0 = CFrame.new(8.94069672e-08, -0.421157449, -4.29081496e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D74.C1 = CFrame.new(2.98023224e-08, 0.397969335, -1.60860594e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D74.Part0 = nil
- Motor6D74.Part1 = nil
- Motor6D74.CurrentAngle = 4.7129631752796e-08
- Vector3Value75.Name = "OriginalSize"
- Vector3Value75.Parent = mas
- Vector3Value75.Value = Vector3.new(0.99999994, 1.1930927, 0.999999523)
- Attachment76.Name = "LeftHipRigAttachment"
- Attachment76.Parent = mas
- Attachment76.CFrame = CFrame.new(5.96046448e-08, 0.441821247, -1.63912773e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment76.Position = Vector3.new(5.96046448e-08, 0.441821247, -1.63912773e-07)
- Vector3Value77.Name = "OriginalPosition"
- Vector3Value77.Parent = Attachment76
- Vector3Value77.Value = Vector3.new(5.96046448e-08, 0.420782149, -1.63912773e-07)
- Attachment78.Name = "LeftKneeRigAttachment"
- Attachment78.Parent = mas
- Attachment78.CFrame = CFrame.new(8.94069672e-08, -0.421157449, -4.29081496e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment78.Position = Vector3.new(8.94069672e-08, -0.421157449, -4.29081496e-07)
- Vector3Value79.Name = "OriginalPosition"
- Vector3Value79.Parent = Attachment78
- Vector3Value79.Value = Vector3.new(8.94069672e-08, -0.401102364, -4.29081496e-07)
- Motor6D80.Name = "LeftHip"
- Motor6D80.Parent = mas
- Motor6D80.C0 = CFrame.new(-0.500000119, -0.209970862, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D80.C1 = CFrame.new(5.96046448e-08, 0.441821247, -1.63912773e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D80.Part0 = nil
- Motor6D80.Part1 = nil
- Motor6D80.CurrentAngle = -0.16040569543839
- Vector3Value81.Name = "OriginalSize"
- Vector3Value81.Parent = mas
- Vector3Value81.Value = Vector3.new(1.00000036, 1.21656859, 0.999999881)
- Attachment82.Name = "RightAnkleRigAttachment"
- Attachment82.Parent = mas
- Attachment82.CFrame = CFrame.new(-0, 0.107036531, 7.64477954e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment82.Position = Vector3.new(-0, 0.107036531, 7.64477954e-05)
- Vector3Value83.Name = "OriginalPosition"
- Vector3Value83.Parent = Attachment82
- Vector3Value83.Value = Vector3.new(-0, 0.101939559, 7.64477954e-05)
- Motor6D84.Name = "RightAnkle"
- Motor6D84.Parent = mas
- Motor6D84.C0 = CFrame.new(-0, -0.574514985, 7.62689815e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D84.C1 = CFrame.new(-0, 0.107036531, 7.64477954e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D84.Part0 = nil
- Motor6D84.Part1 = nil
- Motor6D84.CurrentAngle = -0.14008152484894
- Vector3Value85.Name = "OriginalSize"
- Vector3Value85.Parent = mas
- Vector3Value85.Value = Vector3.new(0.99999994, 0.300000191, 1)
- Attachment86.Name = "RightKneeRigAttachment"
- Attachment86.Parent = mas
- Attachment86.CFrame = CFrame.new(-0, 0.39813298, 2.5553607e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment86.Position = Vector3.new(-0, 0.39813298, 2.5553607e-05)
- Vector3Value87.Name = "OriginalPosition"
- Vector3Value87.Parent = Attachment86
- Vector3Value87.Value = Vector3.new(-0, 0.379174292, 2.5553607e-05)
- Attachment88.Name = "RightAnkleRigAttachment"
- Attachment88.Parent = mas
- Attachment88.CFrame = CFrame.new(-0, -0.574514985, 7.62689815e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment88.Position = Vector3.new(-0, -0.574514985, 7.62689815e-05)
- Vector3Value89.Name = "OriginalPosition"
- Vector3Value89.Parent = Attachment88
- Vector3Value89.Value = Vector3.new(-0, -0.547157168, 7.62689815e-05)
- Motor6D90.Name = "RightKnee"
- Motor6D90.Parent = mas
- Motor6D90.C0 = CFrame.new(-0, -0.420993805, -2.18767891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D90.C1 = CFrame.new(-0, 0.39813298, 2.5553607e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D90.Part0 = nil
- Motor6D90.Part1 = nil
- Motor6D90.CurrentAngle = 1.5819066945255e-08
- Vector3Value91.Name = "OriginalSize"
- Vector3Value91.Parent = mas
- Vector3Value91.Value = Vector3.new(0.99999994, 1.19309282, 1.00000012)
- Attachment92.Name = "RightHipRigAttachment"
- Attachment92.Parent = mas
- Attachment92.CFrame = CFrame.new(-0, 0.441821367, -6.67300628e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment92.Position = Vector3.new(-0, 0.441821367, -6.67300628e-05)
- Vector3Value93.Name = "OriginalPosition"
- Vector3Value93.Parent = Attachment92
- Vector3Value93.Value = Vector3.new(-0, 0.420782268, -6.67300628e-05)
- Attachment94.Name = "RightKneeRigAttachment"
- Attachment94.Parent = mas
- Attachment94.CFrame = CFrame.new(-0, -0.420993805, -2.18767891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment94.Position = Vector3.new(-0, -0.420993805, -2.18767891e-05)
- Vector3Value95.Name = "OriginalPosition"
- Vector3Value95.Parent = Attachment94
- Vector3Value95.Value = Vector3.new(-0, -0.400946498, -2.18767891e-05)
- Motor6D96.Name = "RightHip"
- Motor6D96.Parent = mas
- Motor6D96.C0 = CFrame.new(0.499999881, -0.209970862, -1.91208565e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D96.C1 = CFrame.new(-0, 0.441821367, -6.67300628e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D96.Part0 = nil
- Motor6D96.Part1 = nil
- Motor6D96.CurrentAngle = 0.14418497681618
- Vector3Value97.Name = "OriginalSize"
- Vector3Value97.Parent = mas
- Vector3Value97.Value = Vector3.new(1.00000048, 1.21656859, 0.99996686)
- Attachment98.Name = "RootRigAttachment"
- Attachment98.Parent = mas
- Attachment98.CFrame = CFrame.new(-1.1920929e-07, -0.209970862, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment98.Position = Vector3.new(-1.1920929e-07, -0.209970862, -0)
- Vector3Value99.Name = "OriginalPosition"
- Vector3Value99.Parent = Attachment98
- Vector3Value99.Value = Vector3.new(-1.1920929e-07, -0.199972257, -0)
- Attachment100.Name = "WaistRigAttachment"
- Attachment100.Parent = mas
- Attachment100.CFrame = CFrame.new(-1.1920929e-07, 0.21002616, 7.64462551e-20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment100.Position = Vector3.new(-1.1920929e-07, 0.21002616, 7.64462551e-20)
- Vector3Value101.Name = "OriginalPosition"
- Vector3Value101.Parent = Attachment100
- Vector3Value101.Value = Vector3.new(-1.1920929e-07, 0.200024918, 7.64462551e-20)
- Attachment102.Name = "LeftHipRigAttachment"
- Attachment102.Parent = mas
- Attachment102.CFrame = CFrame.new(-0.500000119, -0.209970862, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment102.Position = Vector3.new(-0.500000119, -0.209970862, -0)
- Vector3Value103.Name = "OriginalPosition"
- Vector3Value103.Parent = Attachment102
- Vector3Value103.Value = Vector3.new(-0.500000119, -0.199972257, -0)
- Attachment104.Name = "RightHipRigAttachment"
- Attachment104.Parent = mas
- Attachment104.CFrame = CFrame.new(0.499999881, -0.209970862, -1.91208565e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment104.Position = Vector3.new(0.499999881, -0.209970862, -1.91208565e-05)
- Vector3Value105.Name = "OriginalPosition"
- Vector3Value105.Parent = Attachment104
- Vector3Value105.Value = Vector3.new(0.499999881, -0.199972257, -1.91208565e-05)
- Attachment106.Name = "WaistCenterAttachment"
- Attachment106.Parent = mas
- Attachment106.CFrame = CFrame.new(-4.2200088e-07, -0.209970862, -1.65436123e-24, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment106.Position = Vector3.new(-4.2200088e-07, -0.209970862, -1.65436123e-24)
- Vector3Value107.Name = "OriginalPosition"
- Vector3Value107.Parent = Attachment106
- Vector3Value107.Value = Vector3.new(-4.2200088e-07, -0.199972257, -1.65436123e-24)
- Attachment108.Name = "WaistFrontAttachment"
- Attachment108.Parent = mas
- Attachment108.CFrame = CFrame.new(-1.32219867e-07, -0.209970862, -0.50000006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment108.Position = Vector3.new(-1.32219867e-07, -0.209970862, -0.50000006)
- Vector3Value109.Name = "OriginalPosition"
- Vector3Value109.Parent = Attachment108
- Vector3Value109.Value = Vector3.new(-1.32219867e-07, -0.199972257, -0.50000006)
- Attachment110.Name = "WaistBackAttachment"
- Attachment110.Parent = mas
- Attachment110.CFrame = CFrame.new(-1.46413214e-07, -0.209970862, 0.50000006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment110.Position = Vector3.new(-1.46413214e-07, -0.209970862, 0.50000006)
- Vector3Value111.Name = "OriginalPosition"
- Vector3Value111.Parent = Attachment110
- Vector3Value111.Value = Vector3.new(-1.46413214e-07, -0.199972257, 0.50000006)
- Motor6D112.Name = "Root"
- Motor6D112.Parent = mas
- Motor6D112.C0 = CFrame.new(0, -0.367499977, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D112.C1 = CFrame.new(-1.1920929e-07, -0.209970862, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D112.Part0 = Part2
- Motor6D112.Part1 = nil
- Vector3Value113.Name = "OriginalSize"
- Vector3Value113.Parent = mas
- Vector3Value113.Value = Vector3.new(1.99999976, 0.400055438, 1.00000012)
- Humanoid114.Parent = Model1
- Humanoid114.Torso = Part2
- Humanoid114.TargetPoint = Vector3.new(1.96067142, 0, -14.7778931)
- NumberValue115.Name = "BodyTypeScale"
- NumberValue115.Parent = Humanoid114
- NumberValue116.Name = "BodyProportionScale"
- NumberValue116.Parent = Humanoid114
- NumberValue117.Name = "BodyWidthScale"
- NumberValue117.Parent = Humanoid114
- NumberValue117.Value = 1
- NumberValue118.Name = "BodyHeightScale"
- NumberValue118.Parent = Humanoid114
- NumberValue118.Value = 1.0499999523163
- NumberValue119.Name = "BodyDepthScale"
- NumberValue119.Parent = Humanoid114
- NumberValue119.Value = 1
- NumberValue120.Name = "HeadScale"
- NumberValue120.Parent = Humanoid114
- NumberValue120.Value = 1
- Part121.Name = "Head"
- Part121.Parent = Model1
- Part121.BrickColor = BrickColor.new("Bright yellow")
- Part121.Rotation = Vector3.new(2.24000001, -9.47999954, 0.370000005)
- Part121.Size = Vector3.new(2, 1, 1)
- Part121.CFrame = CFrame.new(0.719004571, 4.60720778, 10.371438, 0.986319363, -0.00635880604, -0.164722592, 1.51921995e-08, 0.999255717, -0.038574338, 0.164845273, 0.0380466133, 0.985585272)
- Part121.BottomSurface = Enum.SurfaceType.Smooth
- Part121.TopSurface = Enum.SurfaceType.Smooth
- Part121.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part121.Position = Vector3.new(0.719004571, 4.60720778, 10.371438)
- Part121.Orientation = Vector3.new(2.21000004, -9.48999977, 0)
- Part121.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpecialMesh122.Parent = Part121
- SpecialMesh122.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh122.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value123.Name = "OriginalSize"
- Vector3Value123.Parent = SpecialMesh122
- Vector3Value123.Value = Vector3.new(1.25, 1.25, 1.25)
- Attachment124.Name = "FaceCenterAttachment"
- Attachment124.Parent = Part121
- Attachment124.Rotation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Attachment124.CFrame = CFrame.new(3.93568822e-09, 0, -0.000272244215, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
- Attachment124.Position = Vector3.new(3.93568822e-09, 0, -0.000272244215)
- Attachment124.Axis = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
- Attachment124.Orientation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Vector3Value125.Name = "OriginalPosition"
- Vector3Value125.Parent = Attachment124
- Vector3Value125.Value = Vector3.new(3.93568822e-09, 0, -0.000272244215)
- Attachment126.Name = "FaceFrontAttachment"
- Attachment126.Parent = Part121
- Attachment126.Rotation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Attachment126.CFrame = CFrame.new(3.93568866e-09, 0, -0.600272298, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
- Attachment126.Position = Vector3.new(3.93568866e-09, 0, -0.600272298)
- Attachment126.Axis = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
- Attachment126.Orientation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Vector3Value127.Name = "OriginalPosition"
- Vector3Value127.Parent = Attachment126
- Vector3Value127.Value = Vector3.new(3.93568866e-09, 0, -0.600272298)
- Attachment128.Name = "HairAttachment"
- Attachment128.Parent = Part121
- Attachment128.Rotation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Attachment128.CFrame = CFrame.new(8.65851391e-09, 0.599999905, -0.000272244215, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
- Attachment128.Position = Vector3.new(8.65851391e-09, 0.599999905, -0.000272244215)
- Attachment128.Axis = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
- Attachment128.Orientation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Vector3Value129.Name = "OriginalPosition"
- Vector3Value129.Parent = Attachment128
- Vector3Value129.Value = Vector3.new(8.65851391e-09, 0.599999905, -0.000272244215)
- Attachment130.Name = "HatAttachment"
- Attachment130.Parent = Part121
- Attachment130.Rotation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Attachment130.CFrame = CFrame.new(8.65851391e-09, 0.599999905, -0.000272244215, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
- Attachment130.Position = Vector3.new(8.65851391e-09, 0.599999905, -0.000272244215)
- Attachment130.Axis = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
- Attachment130.Orientation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Vector3Value131.Name = "OriginalPosition"
- Vector3Value131.Parent = Attachment130
- Vector3Value131.Value = Vector3.new(8.65851391e-09, 0.599999905, -0.000272244215)
- Attachment132.Name = "NeckRigAttachment"
- Attachment132.Parent = Part121
- Attachment132.CFrame = CFrame.new(-0, -0.500000119, -0.000272244215, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment132.Position = Vector3.new(-0, -0.500000119, -0.000272244215)
- Vector3Value133.Name = "OriginalPosition"
- Vector3Value133.Parent = Attachment132
- Vector3Value133.Value = Vector3.new(-0, -0.500000119, -0.000272244215)
- Decal134.Name = "face"
- Decal134.Parent = Part121
- Decal134.Texture = "rbxasset://textures/face.png"
- Motor6D135.Name = "Neck"
- Motor6D135.Parent = Part121
- Motor6D135.C0 = CFrame.new(-5.96046448e-08, 0.840017915, 1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D135.C1 = CFrame.new(-0, -0.500000119, -0.000272244215, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D135.Part0 = nil
- Motor6D135.Part1 = Part121
- Motor6D135.CurrentAngle = 0.010454657487571
- Vector3Value136.Name = "OriginalSize"
- Vector3Value136.Parent = Part121
- Vector3Value136.Value = Vector3.new(2, 1, 1)
- Sound137.Name = "GettingUp"
- Sound137.Parent = Part121
- Sound137.Archivable = false
- Sound137.SoundId = "rbxasset://sounds/action_get_up.mp3"
- Sound137.Volume = 0.64999997615814
- RemoteEvent138.Name = "CharacterSoundEvent"
- RemoteEvent138.Parent = Sound137
- Sound139.Name = "Died"
- Sound139.Parent = Part121
- Sound139.Archivable = false
- Sound139.SoundId = "rbxasset://sounds/uuhhh.mp3"
- Sound139.Volume = 0.64999997615814
- RemoteEvent140.Name = "CharacterSoundEvent"
- RemoteEvent140.Parent = Sound139
- Sound141.Name = "FreeFalling"
- Sound141.Parent = Part121
- Sound141.Archivable = false
- Sound141.SoundId = "rbxasset://sounds/action_falling.mp3"
- Sound141.TimePosition = 0.065678287949424
- Sound141.Volume = 0.17765899002552
- Sound141.Looped = true
- RemoteEvent142.Name = "CharacterSoundEvent"
- RemoteEvent142.Parent = Sound141
- Sound143.Name = "Jumping"
- Sound143.Parent = Part121
- Sound143.Archivable = false
- Sound143.SoundId = "rbxasset://sounds/action_jump.mp3"
- Sound143.Volume = 0.64999997615814
- RemoteEvent144.Name = "CharacterSoundEvent"
- RemoteEvent144.Parent = Sound143
- Sound145.Name = "Landing"
- Sound145.Parent = Part121
- Sound145.Archivable = false
- Sound145.SoundId = "rbxasset://sounds/action_jump_land.mp3"
- Sound145.Volume = 1
- RemoteEvent146.Name = "CharacterSoundEvent"
- RemoteEvent146.Parent = Sound145
- Sound147.Name = "Splash"
- Sound147.Parent = Part121
- Sound147.Archivable = false
- Sound147.SoundId = "rbxasset://sounds/impact_water.mp3"
- Sound147.Volume = 0.64999997615814
- RemoteEvent148.Name = "CharacterSoundEvent"
- RemoteEvent148.Parent = Sound147
- Sound149.Name = "Running"
- Sound149.Parent = Part121
- Sound149.Archivable = false
- Sound149.Pitch = 1.8500000238419
- Sound149.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- Sound149.TimePosition = 2.369290005993
- Sound149.Volume = 0.64999997615814
- Sound149.Looped = true
- RemoteEvent150.Name = "CharacterSoundEvent"
- RemoteEvent150.Parent = Sound149
- Sound151.Name = "Swimming"
- Sound151.Parent = Part121
- Sound151.Archivable = false
- Sound151.Pitch = 1.6000000238419
- Sound151.SoundId = "rbxasset://sounds/action_swim.mp3"
- Sound151.Volume = 0.64999997615814
- Sound151.Looped = true
- RemoteEvent152.Name = "CharacterSoundEvent"
- RemoteEvent152.Parent = Sound151
- Sound153.Name = "Climbing"
- Sound153.Parent = Part121
- Sound153.Archivable = false
- Sound153.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- Sound153.Volume = 0.64999997615814
- Sound153.Looped = true
- RemoteEvent154.Name = "CharacterSoundEvent"
- RemoteEvent154.Parent = Sound153
- Script155.Name = "Sound"
- Script155.Parent = Model1
- table.insert(cors,sandbox(Script155,function()
- --[[
- Author: @spotco
- This script creates sounds which are placed under the character head.
- These sounds are used by the "LocalSound" script.
- To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
- The default Sound script loaded for every character will then be replaced with your copy of the script.
- ]]--
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Players = game:GetService("Players")
- local SOUND_EVENT_FOLDER_NAME = "DefaultSoundEvents"
- local DEFAULT_SERVER_SOUND_EVENT_NAME = "DefaultServerSoundEvent"
- local SoundEventFolder = ReplicatedStorage:FindFirstChild(SOUND_EVENT_FOLDER_NAME)
- local DefaultServerSoundEvent = nil
- local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
- if useSoundDispatcher then
- if not SoundEventFolder then
- SoundEventFolder = Instance.new("Folder")
- SoundEventFolder.Name = SOUND_EVENT_FOLDER_NAME
- SoundEventFolder.Archivable = false
- SoundEventFolder.Parent = ReplicatedStorage
- end
- DefaultServerSoundEvent = SoundEventFolder:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
- else
- DefaultServerSoundEvent = ReplicatedStorage:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
- end
- if not DefaultServerSoundEvent then
- if useSoundDispatcher then
- DefaultServerSoundEvent = Instance.new("RemoteEvent", SoundEventFolder)
- else
- DefaultServerSoundEvent = Instance.new("RemoteEvent", ReplicatedStorage)
- end
- DefaultServerSoundEvent.Name = DEFAULT_SERVER_SOUND_EVENT_NAME
- DefaultServerSoundEvent.OnServerEvent:Connect(function() end)
- end
- local function CreateNewSound(name, id, looped, pitch, parent)
- local sound = Instance.new("Sound")
- sound.SoundId = id
- sound.Name = name
- sound.archivable = false
- sound.Pitch = pitch
- sound.Looped = looped
- sound.MinDistance = 5
- sound.MaxDistance = 150
- sound.Volume = 0.65
- sound.Parent = parent
- if DefaultServerSoundEvent then
- local CharacterSoundEvent = Instance.new("RemoteEvent", sound)
- CharacterSoundEvent.Name = "CharacterSoundEvent"
- CharacterSoundEvent.OnServerEvent:Connect(function(player, playing, resetPosition)
- if type(playing) ~= "boolean" then
- return
- end
- if type(resetPosition) ~= "boolean" then
- return
- end
- if player.Character ~= script.Parent then
- return
- end
- for _, p in pairs(Players:GetPlayers()) do
- if p ~= player then
- -- Connect to the dispatcher to check if the player has loaded.
- if useSoundDispatcher then
- SoundEventFolder:FindFirstChild("SoundDispatcher"):Fire(p, sound, playing, resetPosition)
- else
- DefaultServerSoundEvent:FireClient(p, sound, playing, resetPosition)
- end
- end
- end
- end)
- end
- return sound
- end
- local head = script.Parent:FindFirstChild("Head")
- if not head then
- error("Sound script parent has no child Head.")
- return
- end
- CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
- CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
- CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
- CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
- CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
- CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
- CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
- CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
- CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
- end))
- LocalScript156.Name = "LocalSound"
- LocalScript156.Parent = Script155
- table.insert(cors,sandbox(LocalScript156,function()
- --[[
- Author: @spotco
- This script runs locally for the player of the given humanoid.
- This script triggers humanoid sound play/pause actions locally.
- The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
- immediately for the player and is replicated to all other players.
- This script is optimized to reduce network traffic through minimizing the amount of property replication.
- ]]--
- --All sounds are referenced by this ID
- local SFX = {
- Died = 0;
- Running = 1;
- Swimming = 2;
- Climbing = 3,
- Jumping = 4;
- GettingUp = 5;
- FreeFalling = 6;
- FallingDown = 7;
- Landing = 8;
- Splash = 9;
- }
- local useUpdatedLocalSoundFlag = UserSettings():IsUserFeatureEnabled("UserFixCharacterSoundIssues")
- local Humanoid = nil
- local Head = nil
- --SFX ID to Sound object
- local Sounds = {}
- local SoundService = game:GetService("SoundService")
- local soundEventFolderName = "DefaultSoundEvents"
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local AddCharacterLoadedEvent = nil
- local RemoveCharacterEvent = nil
- local soundEventFolder = ReplicatedStorage:FindFirstChild(soundEventFolderName)
- local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
- if useSoundDispatcher then
- if not soundEventFolder then
- soundEventFolder = Instance.new("Folder", ReplicatedStorage)
- soundEventFolder.Name = soundEventFolderName
- soundEventFolder.Archivable = false
- end
- -- Load the RemoveCharacterEvent
- RemoveCharacterEvent = soundEventFolder:FindFirstChild("RemoveCharacterEvent")
- if RemoveCharacterEvent == nil then
- RemoveCharacterEvent = Instance.new("RemoteEvent", soundEventFolder)
- RemoveCharacterEvent.Name = "RemoveCharacterEvent"
- end
- AddCharacterLoadedEvent = soundEventFolder:FindFirstChild("AddCharacterLoadedEvent")
- if AddCharacterLoadedEvent == nil then
- AddCharacterLoadedEvent = Instance.new("RemoteEvent", soundEventFolder)
- AddCharacterLoadedEvent.Name = "AddCharacterLoadedEvent"
- end
- -- Notify the server a new character has been loaded
- AddCharacterLoadedEvent:FireServer()
- -- Notify the sound dispatcher this character has left.
- game.Players.LocalPlayer.CharacterRemoving:connect(function(character)
- RemoveCharacterEvent:FireServer(game.Players.LocalPlayer)
- end)
- end
- do
- local Figure = script.Parent.Parent
- Head = Figure:WaitForChild("Head")
- while not Humanoid do
- for _,NewHumanoid in pairs(Figure:GetChildren()) do
- if NewHumanoid:IsA("Humanoid") then
- Humanoid = NewHumanoid
- break
- end
- end
- if Humanoid then break end
- Figure.ChildAdded:wait()
- end
- Sounds[SFX.Died] = Head:WaitForChild("Died")
- Sounds[SFX.Running] = Head:WaitForChild("Running")
- Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
- Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
- Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
- Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
- Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
- Sounds[SFX.Landing] = Head:WaitForChild("Landing")
- Sounds[SFX.Splash] = Head:WaitForChild("Splash")
- local DefaultServerSoundEvent = nil
- if useSoundDispatcher then
- DefaultServerSoundEvent = soundEventFolder:FindFirstChild("DefaultServerSoundEvent")
- else
- DefaultServerSoundEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultServerSoundEvent")
- end
- if DefaultServerSoundEvent then
- DefaultServerSoundEvent.OnClientEvent:connect(function(sound, playing, resetPosition)
- if resetPosition and sound.TimePosition ~= 0 then
- sound.TimePosition = 0
- end
- if sound.IsPlaying ~= playing then
- sound.Playing = playing
- end
- end)
- end
- end
- local IsSoundFilteringEnabled = function()
- return game.Workspace.FilteringEnabled and SoundService.RespectFilteringEnabled
- end
- local Util
- Util = {
- --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
- YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
- --(y - y1)/(x - x1) = m
- local m = (pt1y - pt2y) / (pt1x - pt2x)
- --float b = pt1.y - m * pt1.x;
- local b = (pt1y - m * pt1x)
- return m * x + b
- end;
- --Clamps the value of "val" between the "min" and "max"
- Clamp = function(val,min,max)
- return math.min(max,math.max(min,val))
- end;
- --Gets the horizontal (x,z) velocity magnitude of the given part
- HorizontalSpeed = function(Head)
- local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
- return hVel.magnitude
- end;
- --Gets the vertical (y) velocity magnitude of the given part
- VerticalSpeed = function(Head)
- return math.abs(Head.Velocity.Y)
- end;
- --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
- --If these properties are enabled, use them.
- Play = function(sound)
- if IsSoundFilteringEnabled() then
- sound.CharacterSoundEvent:FireServer(true, true)
- end
- if sound.TimePosition ~= 0 then
- sound.TimePosition = 0
- end
- if not sound.IsPlaying then
- sound.Playing = true
- end
- end;
- Pause = function(sound)
- if IsSoundFilteringEnabled() then
- sound.CharacterSoundEvent:FireServer(false, false)
- end
- if sound.IsPlaying then
- sound.Playing = false
- end
- end;
- Resume = function(sound)
- if IsSoundFilteringEnabled() then
- sound.CharacterSoundEvent:FireServer(true, false)
- end
- if not sound.IsPlaying then
- sound.Playing = true
- end
- end;
- Stop = function(sound)
- if IsSoundFilteringEnabled() then
- sound.CharacterSoundEvent:FireServer(false, true)
- end
- if sound.IsPlaying then
- sound.Playing = false
- end
- if sound.TimePosition ~= 0 then
- sound.TimePosition = 0
- end
- end;
- }
- do
- -- List of all active Looped sounds
- local playingLoopedSounds = {}
- -- Last seen Enum.HumanoidStateType
- local activeState = nil
- local fallSpeed = 0
- -- Verify and set that "sound" is in "playingLoopedSounds".
- function setSoundInPlayingLoopedSounds(sound)
- for i=1, #playingLoopedSounds do
- if playingLoopedSounds[i] == sound then
- return
- end
- end
- table.insert(playingLoopedSounds,sound)
- end
- -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
- function stopPlayingLoopedSoundsExcept(except)
- for i=#playingLoopedSounds,1,-1 do
- if playingLoopedSounds[i] ~= except then
- Util.Pause(playingLoopedSounds[i])
- table.remove(playingLoopedSounds,i)
- end
- end
- end
- -- Table of Enum.HumanoidStateType to handling function
- local stateUpdateHandler = {
- [Enum.HumanoidStateType.Dead] = function()
- stopPlayingLoopedSoundsExcept()
- local sound = Sounds[SFX.Died]
- Util.Play(sound)
- end;
- [Enum.HumanoidStateType.RunningNoPhysics] = function(speed)
- stateUpdated(Enum.HumanoidStateType.Running, speed)
- end;
- [Enum.HumanoidStateType.Running] = function(speed)
- local sound = Sounds[SFX.Running]
- stopPlayingLoopedSoundsExcept(sound)
- if(useUpdatedLocalSoundFlag and activeState == Enum.HumanoidStateType.Freefall and fallSpeed > 0.1) then
- -- Play a landing sound if the character dropped from a large distance
- local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
- local freeFallSound = Sounds[SFX.FreeFalling]
- freeFallSound.Volume = vol
- Util.Play(freeFallSound)
- fallSpeed = 0
- end
- if useUpdatedLocalSoundFlag then
- if speed ~= nil and speed > 0.5 then
- Util.Resume(sound)
- setSoundInPlayingLoopedSounds(sound)
- elseif speed ~= nil then
- stopPlayingLoopedSoundsExcept()
- end
- else
- if Util.HorizontalSpeed(Head) > 0.5 then
- Util.Resume(sound)
- setSoundInPlayingLoopedSounds(sound)
- else
- stopPlayingLoopedSoundsExcept()
- end
- end
- end;
- [Enum.HumanoidStateType.Swimming] = function(speed)
- local threshold
- if useUpdatedLocalSoundFlag then threshold = speed else threshold = Util.VerticalSpeed(Head) end
- if activeState ~= Enum.HumanoidStateType.Swimming and threshold > 0.1 then
- local splashSound = Sounds[SFX.Splash]
- splashSound.Volume = Util.Clamp(
- Util.YForLineGivenXAndTwoPts(
- Util.VerticalSpeed(Head),
- 100, 0.28,
- 350, 1),
- 0,1)
- Util.Play(splashSound)
- end
- do
- local sound = Sounds[SFX.Swimming]
- stopPlayingLoopedSoundsExcept(sound)
- Util.Resume(sound)
- setSoundInPlayingLoopedSounds(sound)
- end
- end;
- [Enum.HumanoidStateType.Climbing] = function(speed)
- local sound = Sounds[SFX.Climbing]
- if useUpdatedLocalSoundFlag then
- if speed ~= nil and math.abs(speed) > 0.1 then
- Util.Resume(sound)
- stopPlayingLoopedSoundsExcept(sound)
- else
- Util.Pause(sound)
- stopPlayingLoopedSoundsExcept(sound)
- end
- else
- if Util.VerticalSpeed(Head) > 0.1 then
- Util.Resume(sound)
- stopPlayingLoopedSoundsExcept(sound)
- else
- stopPlayingLoopedSoundsExcept()
- end
- end
- setSoundInPlayingLoopedSounds(sound)
- end;
- [Enum.HumanoidStateType.Jumping] = function()
- if activeState == Enum.HumanoidStateType.Jumping then
- return
- end
- stopPlayingLoopedSoundsExcept()
- local sound = Sounds[SFX.Jumping]
- Util.Play(sound)
- end;
- [Enum.HumanoidStateType.GettingUp] = function()
- stopPlayingLoopedSoundsExcept()
- local sound = Sounds[SFX.GettingUp]
- Util.Play(sound)
- end;
- [Enum.HumanoidStateType.Freefall] = function()
- if activeState == Enum.HumanoidStateType.Freefall then
- return
- end
- local sound = Sounds[SFX.FreeFalling]
- sound.Volume = 0
- stopPlayingLoopedSoundsExcept()
- fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.y))
- end;
- [Enum.HumanoidStateType.FallingDown] = function()
- stopPlayingLoopedSoundsExcept()
- end;
- [Enum.HumanoidStateType.Landed] = function()
- stopPlayingLoopedSoundsExcept()
- if Util.VerticalSpeed(Head) > 75 then
- local landingSound = Sounds[SFX.Landing]
- landingSound.Volume = Util.Clamp(
- Util.YForLineGivenXAndTwoPts(
- Util.VerticalSpeed(Head),
- 50, 0,
- 100, 1),
- 0,1)
- Util.Play(landingSound)
- end
- end;
- [Enum.HumanoidStateType.Seated] = function()
- stopPlayingLoopedSoundsExcept()
- end;
- }
- -- Handle state event fired or OnChange fired
- function stateUpdated(state, speed)
- if stateUpdateHandler[state] ~= nil then
- if useUpdatedLocalSoundFlag and (state == Enum.HumanoidStateType.Running
- or state == Enum.HumanoidStateType.Climbing
- or state == Enum.HumanoidStateType.Swimming
- or state == Enum.HumanoidStateType.RunningNoPhysics) then
- stateUpdateHandler[state](speed)
- else
- stateUpdateHandler[state]()
- end
- end
- activeState = state
- end
- Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
- Humanoid.Running:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Running, speed) end)
- Humanoid.Swimming:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Swimming, speed) end)
- Humanoid.Climbing:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Climbing, speed) end)
- Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
- Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
- Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
- Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
- -- required for proper handling of Landed event
- Humanoid.StateChanged:connect(function(old, new)
- stateUpdated(new)
- end)
- function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
- local stepScale = stepDeltaSeconds / tickSpeedSeconds
- do
- local sound = Sounds[SFX.FreeFalling]
- if activeState == Enum.HumanoidStateType.Freefall then
- if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
- Util.Resume(sound)
- --Volume takes 1.1 seconds to go from volume 0 to 1
- local ANIMATION_LENGTH_SECONDS = 1.1
- local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
- sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
- else
- sound.Volume = 0
- end
- else
- Util.Pause(sound)
- end
- end
- do
- local sound = Sounds[SFX.Running]
- if activeState == Enum.HumanoidStateType.Running then
- if Util.HorizontalSpeed(Head) < 0.5 then
- Util.Pause(sound)
- end
- end
- end
- end
- local lastTick = tick()
- local TICK_SPEED_SECONDS = 0.25
- while true do
- onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
- lastTick = tick()
- wait(TICK_SPEED_SECONDS)
- end
- end
- end))
- Script157.Name = "Health"
- Script157.Parent = Model1
- table.insert(cors,sandbox(Script157,function()
- -- Gradually regenerates the Humanoid's Health over time.
- local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second.
- local REGEN_STEP = 1 -- Wait this long between each regeneration step.
- --------------------------------------------------------------------------------
- local Character = script.Parent
- local Humanoid = Character:WaitForChild'Humanoid'
- --------------------------------------------------------------------------------
- while true do
- while Humanoid.Health < Humanoid.MaxHealth do
- local dt = wait(REGEN_STEP)
- local dh = dt*REGEN_RATE*Humanoid.MaxHealth
- Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
- end
- Humanoid.HealthChanged:Wait()
- end
- end))
- LocalScript158.Name = "Animate"
- LocalScript158.Parent = Model1
- table.insert(cors,sandbox(LocalScript158,function()
- local Character = script.Parent
- local Humanoid = Character:WaitForChild("Humanoid")
- local pose = "Standing"
- local userNoUpdateOnLoopSuccess, userNoUpdateOnLoopValue = pcall(function() return UserSettings():IsUserFeatureEnabled("UserNoUpdateOnLoop") end)
- local userNoUpdateOnLoop = userNoUpdateOnLoopSuccess and userNoUpdateOnLoopValue
- local currentAnim = ""
- local currentAnimInstance = nil
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local runAnimTrack = nil
- local runAnimKeyframeHandler = nil
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=507766666", weight = 1 },
- { id = "http://www.roblox.com/asset/?id=507766951", weight = 1 },
- { id = "http://www.roblox.com/asset/?id=507766388", weight = 9 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=507777826", weight = 10 }
- },
- run = {
- { id = "http://www.roblox.com/asset/?id=507767714", weight = 10 }
- },
- swim = {
- { id = "http://www.roblox.com/asset/?id=507784897", weight = 10 }
- },
- swimidle = {
- { id = "http://www.roblox.com/asset/?id=507785072", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=507765000", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=507767968", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=507765644", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=507768133", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=522635514", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=522638767", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=507770239", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=507770453", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=507771019", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507771955", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507772104", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=507776043", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507776720", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507776879", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=507777268", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507777451", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507777623", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=507770818", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=507770677", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- local PreloadAnimsUserFlag = false
- local successPreloadAnim, msgPreloadAnim = pcall(function()
- PreloadAnimsUserFlag = UserSettings():IsUserFeatureEnabled("UserPreloadAnimations")
- end)
- if not successPreloadAnim then
- PreloadAnimsUserFlag = false
- end
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- local allowCustomAnimations = true
- local AllowDisableCustomAnimsUserFlag = false
- local success, msg = pcall(function()
- AllowDisableCustomAnimsUserFlag = UserSettings():IsUserFeatureEnabled("UserAllowDisableCustomAnims2")
- end)
- if (AllowDisableCustomAnimsUserFlag) then
- local success, msg = pcall(function() allowCustomAnimations = game:GetService("StarterPlayer").AllowCustomAnimations end)
- if not success then
- allowCustomAnimations = true
- end
- end
- -- check for config values
- local config = script:FindFirstChild(name)
- if (allowCustomAnimations and config ~= nil) then
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- -- preload anims
- if PreloadAnimsUserFlag then
- for i, animType in pairs(animTable) do
- for idx = 1, animType.count, 1 do
- Humanoid:LoadAnimation(animType[idx].anim)
- end
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.31
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.2
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- currentAnimInstance = nil
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- -- clean up walk if there is one
- if (runAnimKeyframeHandler ~= nil) then
- runAnimKeyframeHandler:disconnect()
- end
- if (runAnimTrack ~= nil) then
- runAnimTrack:Stop()
- runAnimTrack:Destroy()
- runAnimTrack = nil
- end
- return oldAnim
- end
- function getHeightScale()
- if Humanoid then
- local bodyHeightScale = Humanoid:FindFirstChild("BodyHeightScale")
- if bodyHeightScale and bodyHeightScale:IsA("NumberValue") then
- return bodyHeightScale.Value
- end
- end
- return 1
- end
- local smallButNotZero = 0.0001
- function setRunSpeed(speed)
- if speed < 0.33 then
- currentAnimTrack:AdjustWeight(1.0)
- runAnimTrack:AdjustWeight(smallButNotZero)
- elseif speed < 0.66 then
- local weight = ((speed - 0.33) / 0.33)
- currentAnimTrack:AdjustWeight(1.0 - weight + smallButNotZero)
- runAnimTrack:AdjustWeight(weight + smallButNotZero)
- else
- currentAnimTrack:AdjustWeight(smallButNotZero)
- runAnimTrack:AdjustWeight(1.0)
- end
- local speedScaled = speed * 1.25
- local heightScale = getHeightScale()
- runAnimTrack:AdjustSpeed(speedScaled / heightScale)
- currentAnimTrack:AdjustSpeed(speedScaled / heightScale)
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- if currentAnim == "walk" then
- setRunSpeed(speed)
- else
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- if currentAnim == "walk" then
- if userNoUpdateOnLoop == true then
- if runAnimTrack.Looped ~= true then
- runAnimTrack.TimePosition = 0.0
- end
- if currentAnimTrack.Looped ~= true then
- currentAnimTrack.TimePosition = 0.0
- end
- else
- runAnimTrack.TimePosition = 0.0
- currentAnimTrack.TimePosition = 0.0
- end
- else
- local repeatAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
- repeatAnim = "idle"
- end
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.15, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- end
- function rollAnimation(animName)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- return idx
- end
- function playAnimation(animName, transitionTime, humanoid)
- local idx = rollAnimation(animName)
- local anim = animTable[animName][idx].anim
- -- switch animation
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- if (runAnimTrack ~= nil) then
- runAnimTrack:Stop(transitionTime)
- runAnimTrack:Destroy()
- if userNoUpdateOnLoop == true then
- runAnimTrack = nil
- end
- end
- currentAnimSpeed = 1.0
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- currentAnimTrack.Priority = Enum.AnimationPriority.Core
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- currentAnimInstance = anim
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- -- check to see if we need to blend a walk/run animation
- if animName == "walk" then
- local runAnimName = "run"
- local runIdx = rollAnimation(runAnimName)
- runAnimTrack = humanoid:LoadAnimation(animTable[runAnimName][runIdx].anim)
- runAnimTrack.Priority = Enum.AnimationPriority.Core
- runAnimTrack:Play(transitionTime)
- if (runAnimKeyframeHandler ~= nil) then
- runAnimKeyframeHandler:disconnect()
- end
- runAnimKeyframeHandler = runAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local toolAnimInstance = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid, priority)
- local idx = rollAnimation(animName)
- local anim = animTable[animName][idx].anim
- if (toolAnimInstance ~= anim) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- if priority then
- toolAnimTrack.Priority = priority
- end
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- toolAnimInstance = anim
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- toolAnimInstance = nil
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- -- STATE CHANGE HANDLERS
- function onRunning(speed)
- if speed > 0.5 then
- local scale = 16.0
- playAnimation("walk", 0.2, Humanoid)
- setAnimationSpeed(speed / scale)
- pose = "Running"
- else
- if emoteNames[currentAnim] == nil then
- playAnimation("idle", 0.2, Humanoid)
- pose = "Standing"
- end
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- local scale = 5.0
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / scale)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onSwimming(speed)
- if speed > 1.00 then
- local scale = 10.0
- playAnimation("swim", 0.4, Humanoid)
- setAnimationSpeed(speed / scale)
- pose = "Swimming"
- else
- playAnimation("swimidle", 0.4, Humanoid)
- pose = "Standing"
- end
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
- return
- end
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- local lastTick = 0
- function stepAnimate(currentTime)
- local amplitude = 1
- local frequency = 1
- local deltaTime = currentTime - lastTick
- lastTick = currentTime
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- playAnimation("sit", 0.5, Humanoid)
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.2, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- -- Tool Animation handling
- local tool = Character:FindFirstChildOfClass("Tool")
- if tool and tool:FindFirstChild("Handle") then
- local animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = currentTime + .3
- end
- if currentTime > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimInstance = nil
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- setup emote chat hook
- game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
- local emote = ""
- if (string.sub(msg, 1, 3) == "/e ") then
- emote = string.sub(msg, 4)
- elseif (string.sub(msg, 1, 7) == "/emote ") then
- emote = string.sub(msg, 8)
- end
- if (pose == "Standing" and emoteNames[emote] ~= nil) then
- playAnimation(emote, 0.1, Humanoid)
- end
- end)
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- -- loop to handle timed state transitions and tool animations
- while Character.Parent ~= nil do
- local _, currentGameTime = wait(0.1)
- stepAnimate(currentGameTime)
- end
- end))
- StringValue159.Name = "cheer"
- StringValue159.Parent = LocalScript158
- Animation160.Name = "CheerAnim"
- Animation160.Parent = StringValue159
- Animation160.AnimationId = "http://www.roblox.com/asset/?id=507770677"
- StringValue161.Name = "climb"
- StringValue161.Parent = LocalScript158
- Animation162.Name = "ClimbAnim"
- Animation162.Parent = StringValue161
- Animation162.AnimationId = "http://www.roblox.com/asset/?id=507765644"
- StringValue163.Name = "dance"
- StringValue163.Parent = LocalScript158
- Animation164.Name = "Animation1"
- Animation164.Parent = StringValue163
- Animation164.AnimationId = "http://www.roblox.com/asset/?id=507771019"
- NumberValue165.Name = "Weight"
- NumberValue165.Parent = Animation164
- NumberValue165.Value = 10
- Animation166.Name = "Animation2"
- Animation166.Parent = StringValue163
- Animation166.AnimationId = "http://www.roblox.com/asset/?id=507771955"
- NumberValue167.Name = "Weight"
- NumberValue167.Parent = Animation166
- NumberValue167.Value = 10
- Animation168.Name = "Animation3"
- Animation168.Parent = StringValue163
- Animation168.AnimationId = "http://www.roblox.com/asset/?id=507772104"
- NumberValue169.Name = "Weight"
- NumberValue169.Parent = Animation168
- NumberValue169.Value = 10
- StringValue170.Name = "dance2"
- StringValue170.Parent = LocalScript158
- Animation171.Name = "Animation1"
- Animation171.Parent = StringValue170
- Animation171.AnimationId = "http://www.roblox.com/asset/?id=507776043"
- NumberValue172.Name = "Weight"
- NumberValue172.Parent = Animation171
- NumberValue172.Value = 10
- Animation173.Name = "Animation2"
- Animation173.Parent = StringValue170
- Animation173.AnimationId = "http://www.roblox.com/asset/?id=507776720"
- NumberValue174.Name = "Weight"
- NumberValue174.Parent = Animation173
- NumberValue174.Value = 10
- Animation175.Name = "Animation3"
- Animation175.Parent = StringValue170
- Animation175.AnimationId = "http://www.roblox.com/asset/?id=507776879"
- NumberValue176.Name = "Weight"
- NumberValue176.Parent = Animation175
- NumberValue176.Value = 10
- StringValue177.Name = "dance3"
- StringValue177.Parent = LocalScript158
- Animation178.Name = "Animation1"
- Animation178.Parent = StringValue177
- Animation178.AnimationId = "http://www.roblox.com/asset/?id=507777268"
- NumberValue179.Name = "Weight"
- NumberValue179.Parent = Animation178
- NumberValue179.Value = 10
- Animation180.Name = "Animation2"
- Animation180.Parent = StringValue177
- Animation180.AnimationId = "http://www.roblox.com/asset/?id=507777451"
- NumberValue181.Name = "Weight"
- NumberValue181.Parent = Animation180
- NumberValue181.Value = 10
- Animation182.Name = "Animation3"
- Animation182.Parent = StringValue177
- Animation182.AnimationId = "http://www.roblox.com/asset/?id=507777623"
- NumberValue183.Name = "Weight"
- NumberValue183.Parent = Animation182
- NumberValue183.Value = 10
- StringValue184.Name = "fall"
- StringValue184.Parent = LocalScript158
- Animation185.Name = "FallAnim"
- Animation185.Parent = StringValue184
- Animation185.AnimationId = "http://www.roblox.com/asset/?id=507767968"
- StringValue186.Name = "idle"
- StringValue186.Parent = LocalScript158
- Animation187.Name = "Animation1"
- Animation187.Parent = StringValue186
- Animation187.AnimationId = "http://www.roblox.com/asset/?id=507766388"
- NumberValue188.Name = "Weight"
- NumberValue188.Parent = Animation187
- NumberValue188.Value = 9
- Animation189.Name = "Animation2"
- Animation189.Parent = StringValue186
- Animation189.AnimationId = "http://www.roblox.com/asset/?id=507766666"
- NumberValue190.Name = "Weight"
- NumberValue190.Parent = Animation189
- NumberValue190.Value = 1
- StringValue191.Name = "jump"
- StringValue191.Parent = LocalScript158
- Animation192.Name = "JumpAnim"
- Animation192.Parent = StringValue191
- Animation192.AnimationId = "http://www.roblox.com/asset/?id=507765000"
- StringValue193.Name = "laugh"
- StringValue193.Parent = LocalScript158
- Animation194.Name = "LaughAnim"
- Animation194.Parent = StringValue193
- Animation194.AnimationId = "http://www.roblox.com/asset/?id=507770818"
- StringValue195.Name = "point"
- StringValue195.Parent = LocalScript158
- Animation196.Name = "PointAnim"
- Animation196.Parent = StringValue195
- Animation196.AnimationId = "http://www.roblox.com/asset/?id=507770453"
- StringValue197.Name = "run"
- StringValue197.Parent = LocalScript158
- Animation198.Name = "RunAnim"
- Animation198.Parent = StringValue197
- Animation198.AnimationId = "http://www.roblox.com/asset/?id=507767714"
- StringValue199.Name = "sit"
- StringValue199.Parent = LocalScript158
- Animation200.Name = "SitAnim"
- Animation200.Parent = StringValue199
- Animation200.AnimationId = "http://www.roblox.com/asset/?id=507768133"
- StringValue201.Name = "swim"
- StringValue201.Parent = LocalScript158
- Animation202.Name = "Swim"
- Animation202.Parent = StringValue201
- Animation202.AnimationId = "http://www.roblox.com/asset/?id=507784897"
- StringValue203.Name = "swimidle"
- StringValue203.Parent = LocalScript158
- Animation204.Name = "SwimIdle"
- Animation204.Parent = StringValue203
- Animation204.AnimationId = "http://www.roblox.com/asset/?id=481825862"
- StringValue205.Name = "toollunge"
- StringValue205.Parent = LocalScript158
- Animation206.Name = "ToolLungeAnim"
- Animation206.Parent = StringValue205
- Animation206.AnimationId = "http://www.roblox.com/asset/?id=522638767"
- StringValue207.Name = "toolnone"
- StringValue207.Parent = LocalScript158
- Animation208.Name = "ToolNoneAnim"
- Animation208.Parent = StringValue207
- Animation208.AnimationId = "http://www.roblox.com/asset/?id=507768375"
- StringValue209.Name = "toolslash"
- StringValue209.Parent = LocalScript158
- Animation210.Name = "ToolSlashAnim"
- Animation210.Parent = StringValue209
- Animation210.AnimationId = "http://www.roblox.com/asset/?id=522635514"
- StringValue211.Name = "walk"
- StringValue211.Parent = LocalScript158
- Animation212.Name = "WalkAnim"
- Animation212.Parent = StringValue211
- Animation212.AnimationId = "http://www.roblox.com/asset/?id=540798782"
- StringValue213.Name = "wave"
- StringValue213.Parent = LocalScript158
- Animation214.Name = "WaveAnim"
- Animation214.Parent = StringValue213
- Animation214.AnimationId = "http://www.roblox.com/asset/?id=507770239"
- BodyColors215.Parent = Model1
- BodyColors215.HeadColor = BrickColor.new("Bright yellow")
- BodyColors215.LeftArmColor = BrickColor.new("Bright yellow")
- BodyColors215.LeftLegColor = BrickColor.new("Shamrock")
- BodyColors215.RightArmColor = BrickColor.new("Bright yellow")
- BodyColors215.RightLegColor = BrickColor.new("Shamrock")
- BodyColors215.TorsoColor = BrickColor.new("Steel blue")
- ShirtGraphic216.Parent = Model1
- ShirtGraphic216.Graphic = "http://www.roblox.com/asset/?id=1798362789"
- Shirt217.Name = "Shirt"
- Shirt217.Parent = Model1
- Shirt217.ShirtTemplate = "http://www.roblox.com/asset/?id=1215556026"
- Pants218.Name = "Pants"
- Pants218.Parent = Model1
- Pants218.PantsTemplate = "http://www.roblox.com/asset/?id=1223238596"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement