Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
- --What's Added To M2S with Dittoide's Edit?
- --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
- --/ Removed Gui In Bottom-Left for when you are making guis.
- --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
- --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
- --Errors: Camera,Terrain,Attachment,Status,Animator,Accessory
- local runDummyScript = function(f,scri)
- if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
- local Dummy_CoRoutine = coroutine.create(function()
- getfenv().script = scri
- ypcall(function() f() end)
- end)
- table.insert(cors,Dummy_CoRoutine);
- coroutine.resume(Dummy_CoRoutine);
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "M2S_Model"
- o3 = Instance.new("Model")
- o4 = Instance.new("Part")
- o5 = Instance.new("SpecialMesh")
- o10 = Instance.new("Sound")
- o11 = Instance.new("RemoteEvent")
- o12 = Instance.new("Sound")
- o13 = Instance.new("RemoteEvent")
- o14 = Instance.new("Sound")
- o15 = Instance.new("RemoteEvent")
- o16 = Instance.new("Sound")
- o17 = Instance.new("RemoteEvent")
- o18 = Instance.new("Sound")
- o19 = Instance.new("RemoteEvent")
- o20 = Instance.new("Sound")
- o21 = Instance.new("RemoteEvent")
- o22 = Instance.new("Sound")
- o23 = Instance.new("RemoteEvent")
- o24 = Instance.new("Sound")
- o25 = Instance.new("RemoteEvent")
- o26 = Instance.new("Sound")
- o27 = Instance.new("RemoteEvent")
- o28 = Instance.new("Decal")
- o29 = Instance.new("Part")
- o30 = Instance.new("Decal")
- o39 = Instance.new("Motor6D")
- o40 = Instance.new("Motor6D")
- o41 = Instance.new("Motor6D")
- o42 = Instance.new("Motor6D")
- o43 = Instance.new("Motor6D")
- o44 = Instance.new("Part")
- o47 = Instance.new("Part")
- o50 = Instance.new("Part")
- o52 = Instance.new("Part")
- o54 = Instance.new("Humanoid")
- o57 = Instance.new("Part")
- o59 = Instance.new("Motor6D")
- o60 = Instance.new("Script")
- o61 = Instance.new("LocalScript")
- o62 = Instance.new("Script")
- o63 = Instance.new("LocalScript")
- o64 = Instance.new("StringValue")
- o65 = Instance.new("Animation")
- o66 = Instance.new("NumberValue")
- o67 = Instance.new("Animation")
- o68 = Instance.new("NumberValue")
- o69 = Instance.new("StringValue")
- o70 = Instance.new("Animation")
- o71 = Instance.new("StringValue")
- o72 = Instance.new("Animation")
- o73 = Instance.new("StringValue")
- o74 = Instance.new("Animation")
- o75 = Instance.new("StringValue")
- o76 = Instance.new("Animation")
- o77 = Instance.new("StringValue")
- o78 = Instance.new("Animation")
- o79 = Instance.new("StringValue")
- o80 = Instance.new("Animation")
- o81 = Instance.new("StringValue")
- o82 = Instance.new("Animation")
- o83 = Instance.new("NumberValue")
- o84 = Instance.new("BodyColors")
- o85 = Instance.new("Pants")
- o86 = Instance.new("Shirt")
- o88 = Instance.new("Part")
- o89 = Instance.new("SpecialMesh")
- o91 = Instance.new("Vector3Value")
- o92 = Instance.new("Weld")
- o93 = Instance.new("Model")
- o94 = Instance.new("Part")
- o95 = Instance.new("SpecialMesh")
- o96 = Instance.new("Part")
- o97 = Instance.new("SpecialMesh")
- o98 = Instance.new("Part")
- o99 = Instance.new("SpecialMesh")
- o100 = Instance.new("Part")
- o101 = Instance.new("Script")
- o102 = Instance.new("ClickDetector")
- o103 = Instance.new("Script")
- o104 = Instance.new("Smoke")
- o105 = Instance.new("Script")
- o106 = Instance.new("BlockMesh")
- o107 = Instance.new("Part")
- o108 = Instance.new("BlockMesh")
- o109 = Instance.new("Part")
- o110 = Instance.new("SpecialMesh")
- o111 = Instance.new("Part")
- o112 = Instance.new("SpecialMesh")
- o113 = Instance.new("Part")
- o114 = Instance.new("SpecialMesh")
- o115 = Instance.new("Part")
- o116 = Instance.new("CylinderMesh")
- o117 = Instance.new("Part")
- o118 = Instance.new("SpecialMesh")
- o119 = Instance.new("Part")
- o120 = Instance.new("CylinderMesh")
- o121 = Instance.new("Part")
- o122 = Instance.new("CylinderMesh")
- o123 = Instance.new("Part")
- o124 = Instance.new("CylinderMesh")
- o125 = Instance.new("Part")
- o126 = Instance.new("CylinderMesh")
- o127 = Instance.new("Part")
- o128 = Instance.new("SpecialMesh")
- o129 = Instance.new("Part")
- o130 = Instance.new("CylinderMesh")
- o131 = Instance.new("VehicleSeat")
- o132 = Instance.new("Part")
- o133 = Instance.new("SpecialMesh")
- o134 = Instance.new("Part")
- o135 = Instance.new("BlockMesh")
- o136 = Instance.new("Part")
- o137 = Instance.new("SpecialMesh")
- o138 = Instance.new("Part")
- o139 = Instance.new("BlockMesh")
- o140 = Instance.new("Part")
- o141 = Instance.new("BlockMesh")
- o142 = Instance.new("Part")
- o143 = Instance.new("SpecialMesh")
- o144 = Instance.new("Part")
- o145 = Instance.new("Part")
- o146 = Instance.new("Part")
- o147 = Instance.new("Part")
- o148 = Instance.new("Model")
- o149 = Instance.new("Part")
- o150 = Instance.new("Script")
- o151 = Instance.new("Model")
- o152 = Instance.new("Model")
- o153 = Instance.new("Model")
- o154 = Instance.new("Part")
- o155 = Instance.new("SpecialMesh")
- o156 = Instance.new("Part")
- o157 = Instance.new("Part")
- o158 = Instance.new("Part")
- o159 = Instance.new("BodyGyro")
- o160 = Instance.new("Part")
- o161 = Instance.new("SpecialMesh")
- o162 = Instance.new("Part")
- o163 = Instance.new("Part")
- o164 = Instance.new("SpecialMesh")
- o165 = Instance.new("Part")
- o166 = Instance.new("Part")
- o167 = Instance.new("Part")
- o168 = Instance.new("SpecialMesh")
- o169 = Instance.new("Part")
- o170 = Instance.new("SpecialMesh")
- o171 = Instance.new("Part")
- o172 = Instance.new("SpecialMesh")
- o173 = Instance.new("Part")
- o174 = Instance.new("Part")
- o175 = Instance.new("SpecialMesh")
- o176 = Instance.new("Part")
- o177 = Instance.new("SpecialMesh")
- o178 = Instance.new("Decal")
- o179 = Instance.new("Model")
- o180 = Instance.new("Part")
- o181 = Instance.new("Part")
- o182 = Instance.new("Part")
- o183 = Instance.new("Part")
- o184 = Instance.new("Part")
- o185 = Instance.new("Part")
- o186 = Instance.new("Model")
- o187 = Instance.new("Part")
- o188 = Instance.new("SpecialMesh")
- o189 = Instance.new("Part")
- o190 = Instance.new("Part")
- o191 = Instance.new("Part")
- o192 = Instance.new("BodyGyro")
- o193 = Instance.new("Part")
- o194 = Instance.new("SpecialMesh")
- o195 = Instance.new("Part")
- o196 = Instance.new("Part")
- o197 = Instance.new("SpecialMesh")
- o198 = Instance.new("Part")
- o199 = Instance.new("Part")
- o200 = Instance.new("Part")
- o201 = Instance.new("SpecialMesh")
- o202 = Instance.new("Part")
- o203 = Instance.new("SpecialMesh")
- o204 = Instance.new("Part")
- o205 = Instance.new("SpecialMesh")
- o206 = Instance.new("Part")
- o207 = Instance.new("Part")
- o208 = Instance.new("SpecialMesh")
- o209 = Instance.new("Part")
- o210 = Instance.new("SpecialMesh")
- o211 = Instance.new("Decal")
- o212 = Instance.new("Model")
- o213 = Instance.new("Model")
- o214 = Instance.new("Script")
- o215 = Instance.new("Part")
- o216 = Instance.new("Part")
- o217 = Instance.new("Part")
- o218 = Instance.new("Part")
- o219 = Instance.new("VehicleSeat")
- o220 = Instance.new("Script")
- o221 = Instance.new("Model")
- o222 = Instance.new("Model")
- o223 = Instance.new("Part")
- o224 = Instance.new("Part")
- o225 = Instance.new("SpecialMesh")
- o226 = Instance.new("Part")
- o227 = Instance.new("Part")
- o228 = Instance.new("SpecialMesh")
- o229 = Instance.new("Decal")
- o230 = Instance.new("Part")
- o231 = Instance.new("SpecialMesh")
- o232 = Instance.new("Decal")
- o233 = Instance.new("Model")
- o234 = Instance.new("Part")
- o235 = Instance.new("Sound")
- o236 = Instance.new("ClickDetector")
- o237 = Instance.new("Script")
- o238 = Instance.new("Script")
- o239 = Instance.new("Decal")
- o240 = Instance.new("Model")
- o241 = Instance.new("Part")
- o242 = Instance.new("Model")
- o243 = Instance.new("Part")
- o244 = Instance.new("Part")
- o245 = Instance.new("SpecialMesh")
- o246 = Instance.new("Part")
- o247 = Instance.new("Part")
- o248 = Instance.new("Part")
- o249 = Instance.new("Part")
- o250 = Instance.new("SpecialMesh")
- o251 = Instance.new("Part")
- o252 = Instance.new("SpecialMesh")
- o253 = Instance.new("Decal")
- o254 = Instance.new("Decal")
- o255 = Instance.new("Part")
- o256 = Instance.new("CylinderMesh")
- o257 = Instance.new("Part")
- o258 = Instance.new("Part")
- o259 = Instance.new("CylinderMesh")
- o260 = Instance.new("Part")
- o261 = Instance.new("SpecialMesh")
- o262 = Instance.new("Part")
- o263 = Instance.new("Part")
- o264 = Instance.new("Part")
- o265 = Instance.new("Part")
- o266 = Instance.new("Part")
- o267 = Instance.new("Part")
- o268 = Instance.new("SpecialMesh")
- o269 = Instance.new("Model")
- o270 = Instance.new("Part")
- o271 = Instance.new("Script")
- o272 = Instance.new("SpecialMesh")
- o273 = Instance.new("Part")
- o274 = Instance.new("Part")
- o275 = Instance.new("SpecialMesh")
- o276 = Instance.new("Part")
- o277 = Instance.new("Part")
- o278 = Instance.new("SpecialMesh")
- o279 = Instance.new("Decal")
- o280 = Instance.new("Part")
- o281 = Instance.new("SpecialMesh")
- o282 = Instance.new("Decal")
- o283 = Instance.new("Part")
- o284 = Instance.new("ClickDetector")
- o285 = Instance.new("BodyForce")
- o286 = Instance.new("Script")
- o3.Name = "timetodie23232223"
- o3.Parent = mas
- o3.Archivable = false
- o3.PrimaryPart = o4
- o4.Name = "Head"
- o4.Parent = o3
- o4.BrickColor = BrickColor.new("Pastel brown")
- o4.Position = Vector3.new(7.30039358, 6.48872328, 118.016754)
- o4.Rotation = Vector3.new(179.269989, 60.6999969, -179.360001)
- o4.Locked = true
- o4.FormFactor = Enum.FormFactor.Symmetric
- o4.Size = Vector3.new(2, 1, 1)
- o4.CFrame = CFrame.new(7.30039358, 6.48872328, 118.016754, -0.489396304, 0.00543377316, 0.872044563, -8.96001984e-06, 0.999980509, -0.00623597531, -0.872061551, -0.00305966986, -0.489386708)
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(1, 0.8, 0.6)
- o4.Position = Vector3.new(7.30039358, 6.48872328, 118.016754)
- o5.Parent = o4
- o5.Scale = Vector3.new(1.25, 1.25, 1.25)
- o10.Name = "GettingUp"
- o10.Parent = o4
- o10.Archivable = false
- o10.SoundId = "rbxasset://sounds/action_get_up.mp3"
- o10.Volume = 0.64999997615814
- o11.Name = "CharacterSoundEvent"
- o11.Parent = o10
- o12.Name = "Died"
- o12.Parent = o4
- o12.Archivable = false
- o12.SoundId = "rbxasset://sounds/uuhhh.mp3"
- o12.Volume = 0.64999997615814
- o13.Name = "CharacterSoundEvent"
- o13.Parent = o12
- o14.Name = "FreeFalling"
- o14.Parent = o4
- o14.Archivable = false
- o14.SoundId = "rbxasset://sounds/action_falling.mp3"
- o14.TimePosition = 0.16727244844969
- o14.Volume = 0.1293483376503
- o14.Looped = true
- o15.Name = "CharacterSoundEvent"
- o15.Parent = o14
- o16.Name = "Jumping"
- o16.Parent = o4
- o16.Archivable = false
- o16.SoundId = "rbxasset://sounds/action_jump.mp3"
- o16.Volume = 0.64999997615814
- o17.Name = "CharacterSoundEvent"
- o17.Parent = o16
- o18.Name = "Landing"
- o18.Parent = o4
- o18.Archivable = false
- o18.SoundId = "rbxasset://sounds/action_jump_land.mp3"
- o18.Volume = 0.67504101991653
- o19.Name = "CharacterSoundEvent"
- o19.Parent = o18
- o20.Name = "Splash"
- o20.Parent = o4
- o20.Archivable = false
- o20.SoundId = "rbxasset://sounds/impact_water.mp3"
- o20.Volume = 0.64999997615814
- o21.Name = "CharacterSoundEvent"
- o21.Parent = o20
- o22.Name = "Running"
- o22.Parent = o4
- o22.Archivable = false
- o22.Pitch = 1.8500000238419
- o22.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- o22.TimePosition = 0.14326432719875
- o22.Volume = 0.64999997615814
- o22.Looped = true
- o23.Name = "CharacterSoundEvent"
- o23.Parent = o22
- o24.Name = "Swimming"
- o24.Parent = o4
- o24.Archivable = false
- o24.Pitch = 1.6000000238419
- o24.SoundId = "rbxasset://sounds/action_swim.mp3"
- o24.Volume = 0.64999997615814
- o24.Looped = true
- o25.Name = "CharacterSoundEvent"
- o25.Parent = o24
- o26.Name = "Climbing"
- o26.Parent = o4
- o26.Archivable = false
- o26.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- o26.TimePosition = 1.8005281281176
- o26.Volume = 0.64999997615814
- o26.Looped = true
- o27.Name = "CharacterSoundEvent"
- o27.Parent = o26
- o28.Name = "face"
- o28.Parent = o4
- o28.Texture = "http://www.roblox.com/asset/?id=13038247"
- o29.Name = "Torso"
- o29.Parent = o3
- o29.BrickColor = BrickColor.new("Pastel brown")
- o29.Position = Vector3.new(7.29767656, 4.99395561, 118.018288)
- o29.Rotation = Vector3.new(180, 60.6199989, -180)
- o29.Locked = true
- o29.FormFactor = Enum.FormFactor.Symmetric
- o29.Size = Vector3.new(2, 2, 1)
- o29.CFrame = CFrame.new(7.29767656, 4.99395561, 118.018288, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
- o29.LeftSurface = Enum.SurfaceType.Weld
- o29.RightSurface = Enum.SurfaceType.Weld
- o29.Color = Color3.new(1, 0.8, 0.6)
- o29.Position = Vector3.new(7.29767656, 4.99395561, 118.018288)
- o30.Name = "roblox"
- o30.Parent = o29
- o39.Name = "Right Shoulder"
- o39.Parent = o29
- o39.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o39.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o39.Part0 = o29
- o39.Part1 = o47
- o39.CurrentAngle = 0.00058997800806537
- o39.MaxVelocity = 0.10000000149012
- o40.Name = "Left Shoulder"
- o40.Parent = o29
- o40.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o40.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o40.Part0 = o29
- o40.Part1 = o44
- o40.CurrentAngle = -0.0018559290328994
- o40.MaxVelocity = 0.10000000149012
- o41.Name = "Right Hip"
- o41.Parent = o29
- o41.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o41.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o41.Part0 = o29
- o41.Part1 = o52
- o41.MaxVelocity = 0.10000000149012
- o42.Name = "Left Hip"
- o42.Parent = o29
- o42.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o42.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o42.Part0 = o29
- o42.Part1 = o50
- o42.MaxVelocity = 0.10000000149012
- o43.Name = "Neck"
- o43.Parent = o29
- o43.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o43.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o43.Part0 = o29
- o43.Part1 = o4
- o43.CurrentAngle = -0.00073891045758501
- o43.MaxVelocity = 0.10000000149012
- o44.Name = "Left Arm"
- o44.Parent = o3
- o44.BrickColor = BrickColor.new("Pastel brown")
- o44.Position = Vector3.new(8.03607368, 5.00806379, 119.325363)
- o44.Rotation = Vector3.new(-179.709991, 60.5200005, 179.610001)
- o44.CanCollide = false
- o44.Locked = true
- o44.FormFactor = Enum.FormFactor.Symmetric
- o44.Size = Vector3.new(1, 2, 1)
- o44.CFrame = CFrame.new(8.03607368, 5.00806379, 119.325363, -0.492178708, -0.00337854028, 0.87048763, -0.00245943107, 0.999993861, 0.0024906015, -0.87049067, -0.000915076816, -0.492184043)
- o44.Color = Color3.new(1, 0.8, 0.6)
- o44.Position = Vector3.new(8.03607368, 5.00806379, 119.325363)
- o47.Name = "Right Arm"
- o47.Parent = o3
- o47.BrickColor = BrickColor.new("Pastel brown")
- o47.Position = Vector3.new(6.56539536, 5.00455809, 116.705597)
- o47.Rotation = Vector3.new(-179.429993, 61.0200005, 179.860001)
- o47.CanCollide = false
- o47.Locked = true
- o47.FormFactor = Enum.FormFactor.Symmetric
- o47.Size = Vector3.new(1, 2, 1)
- o47.CFrame = CFrame.new(6.56539536, 5.00455809, 116.705597, -0.484502703, -0.00117536262, 0.87478894, 0.00630562333, 0.99996841, 0.00483591203, -0.874767065, 0.00785909966, -0.484479964)
- o47.Color = Color3.new(1, 0.8, 0.6)
- o47.Position = Vector3.new(6.56539536, 5.00455809, 116.705597)
- o50.Name = "Left Leg"
- o50.Parent = o3
- o50.BrickColor = BrickColor.new("Pastel brown")
- o50.Position = Vector3.new(7.54298544, 2.99906182, 118.453972)
- o50.Rotation = Vector3.new(180, 60.6199989, -180)
- o50.CanCollide = false
- o50.Locked = true
- o50.FormFactor = Enum.FormFactor.Symmetric
- o50.Size = Vector3.new(1, 2, 1)
- o50.CFrame = CFrame.new(7.54298544, 2.99906182, 118.453972, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
- o50.BottomSurface = Enum.SurfaceType.Smooth
- o50.Color = Color3.new(1, 0.8, 0.6)
- o50.Position = Vector3.new(7.54298544, 2.99906182, 118.453972)
- o52.Name = "Right Leg"
- o52.Parent = o3
- o52.BrickColor = BrickColor.new("Pastel brown")
- o52.Position = Vector3.new(7.05236769, 2.99677849, 117.582603)
- o52.Rotation = Vector3.new(180, 60.6199989, -180)
- o52.CanCollide = false
- o52.Locked = true
- o52.FormFactor = Enum.FormFactor.Symmetric
- o52.Size = Vector3.new(1, 2, 1)
- o52.CFrame = CFrame.new(7.05236769, 2.99677849, 117.582603, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
- o52.BottomSurface = Enum.SurfaceType.Smooth
- o52.Color = Color3.new(1, 0.8, 0.6)
- o52.Position = Vector3.new(7.05236769, 2.99677849, 117.582603)
- o54.Parent = o3
- o54.RightLeg = o52
- o54.LeftLeg = o50
- o54.Torso = o57
- o57.Name = "HumanoidRootPart"
- o57.Parent = o3
- o57.Transparency = 1
- o57.Position = Vector3.new(7.29767656, 5, 118.018288)
- o57.Rotation = Vector3.new(180, 60.6199989, -180)
- o57.CanCollide = false
- o57.Locked = true
- o57.FormFactor = Enum.FormFactor.Symmetric
- o57.Size = Vector3.new(2, 2, 1)
- o57.CFrame = CFrame.new(7.29767656, 5, 118.018288, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
- o57.BottomSurface = Enum.SurfaceType.Smooth
- o57.TopSurface = Enum.SurfaceType.Smooth
- o57.Position = Vector3.new(7.29767656, 5, 118.018288)
- o59.Name = "RootJoint"
- o59.Parent = o57
- o59.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o59.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o59.Part0 = o57
- o59.Part1 = o29
- o59.MaxVelocity = 0.10000000149012
- o60.Name = "Sound"
- o60.Parent = o3
- runDummyScript(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,o60)
- o61.Name = "LocalSound"
- o61.Parent = o60
- runDummyScript(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,o61)
- o62.Name = "Health"
- o62.Parent = o3
- runDummyScript(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,o62)
- o63.Name = "Animate"
- o63.Parent = o3
- runDummyScript(function()
- local Figure = script.Parent
- local Torso = Figure:WaitForChild("Torso")
- local RightShoulder = Torso:WaitForChild("Right Shoulder")
- local LeftShoulder = Torso:WaitForChild("Left Shoulder")
- local RightHip = Torso:WaitForChild("Right Hip")
- local LeftHip = Torso:WaitForChild("Left Hip")
- local Neck = Torso:WaitForChild("Neck")
- local Humanoid = Figure:WaitForChild("Humanoid")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimInstance = nil
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance1 = {
- { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- local dances = {"dance1", "dance2", "dance3"}
- -- 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, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- 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 = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- 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
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. 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
- 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.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- 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
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- 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.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- 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
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- switch animation
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- 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)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local toolAnimInstance = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid, priority)
- 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
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- 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
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed > 0.01 then
- playAnimation("walk", 0.1, Humanoid)
- if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
- setAnimationSpeed(speed / 14.5)
- end
- pose = "Running"
- else
- if emoteNames[currentAnim] == nil then
- playAnimation("idle", 0.1, 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)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- 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 > 0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- 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
- 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 moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- 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.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- local desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- 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 = time + .3
- end
- if time > 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 msg == "/e dance" then
- emote = dances[math.random(1, #dances)]
- elseif (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)
- -- main program
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent ~= nil do
- local _, time = wait(0.1)
- move(time)
- end
- end,o63)
- o64.Name = "idle"
- o64.Parent = o63
- o65.Name = "Animation1"
- o65.Parent = o64
- o65.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- o66.Name = "Weight"
- o66.Parent = o65
- o66.Value = 9
- o67.Name = "Animation2"
- o67.Parent = o64
- o67.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- o68.Name = "Weight"
- o68.Parent = o67
- o68.Value = 1
- o69.Name = "walk"
- o69.Parent = o63
- o70.Name = "WalkAnim"
- o70.Parent = o69
- o70.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- o71.Name = "run"
- o71.Parent = o63
- o72.Name = "RunAnim"
- o72.Parent = o71
- o72.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- o73.Name = "jump"
- o73.Parent = o63
- o74.Name = "JumpAnim"
- o74.Parent = o73
- o74.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- o75.Name = "climb"
- o75.Parent = o63
- o76.Name = "ClimbAnim"
- o76.Parent = o75
- o76.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- o77.Name = "toolnone"
- o77.Parent = o63
- o78.Name = "ToolNoneAnim"
- o78.Parent = o77
- o78.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- o79.Name = "fall"
- o79.Parent = o63
- o80.Name = "FallAnim"
- o80.Parent = o79
- o80.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- o81.Name = "sit"
- o81.Parent = o63
- o82.Name = "SitAnim"
- o82.Parent = o81
- o82.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- o83.Name = "ScaleDampeningPercent"
- o83.Parent = o63
- o83.Value = 0.39999997615814
- o84.Parent = o3
- o84.HeadColor = BrickColor.new("Pastel brown")
- o84.LeftArmColor = BrickColor.new("Pastel brown")
- o84.LeftLegColor = BrickColor.new("Pastel brown")
- o84.RightArmColor = BrickColor.new("Pastel brown")
- o84.RightLegColor = BrickColor.new("Pastel brown")
- o84.TorsoColor = BrickColor.new("Pastel brown")
- o85.Name = "Pants"
- o85.Parent = o3
- o85.PantsTemplate = "http://www.roblox.com/asset/?id=1439542143"
- o86.Name = "Shirt"
- o86.Parent = o3
- o86.ShirtTemplate = "http://www.roblox.com/asset/?id=1439532842"
- o88.Name = "Handle"
- o88.Parent = mas
- o88.Position = Vector3.new(7.32516861, 6.87142134, 118.002846)
- o88.Rotation = Vector3.new(179.190002, 60.6899986, -179.289993)
- o88.CanCollide = false
- o88.Locked = true
- o88.FormFactor = Enum.FormFactor.Custom
- o88.Size = Vector3.new(1.45002651, 2.35999823, 1.24000001)
- o88.CFrame = CFrame.new(7.32516861, 6.87142134, 118.002846, -0.489482939, 0.00606086571, 0.871991813, -8.97469909e-06, 0.999975801, -0.00695546996, -0.872012913, -0.00341241062, -0.489471048)
- o88.BottomSurface = Enum.SurfaceType.Smooth
- o88.TopSurface = Enum.SurfaceType.Smooth
- o88.Position = Vector3.new(7.32516861, 6.87142134, 118.002846)
- o89.Parent = o88
- o89.MeshId = "http://www.roblox.com/asset/?id=188565062 "
- o89.TextureId = "http://www.roblox.com/asset/?id=188565095 "
- o89.MeshType = Enum.MeshType.FileMesh
- o91.Name = "OriginalSize"
- o91.Parent = o88
- o91.Value = Vector3.new(1.45002651, 2.35999823, 1.24000001)
- o92.Name = "AccessoryWeld"
- o92.Parent = o88
- o92.C0 = CFrame.new(8.65748007e-09, 0.199999809, -0.0252722446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o92.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o92.Part0 = o88
- o92.Part1 = o4
- o93.Parent = mas
- o94.Parent = o93
- o94.BrickColor = BrickColor.new("Dark stone grey")
- o94.Position = Vector3.new(53.3237762, 8.77949905, 160.575195)
- o94.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
- o94.Size = Vector3.new(3, 1.20000005, 2)
- o94.CFrame = CFrame.new(53.3237762, 8.77949905, 160.575195, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
- o94.BackSurface = Enum.SurfaceType.Weld
- o94.BottomSurface = Enum.SurfaceType.Weld
- o94.FrontSurface = Enum.SurfaceType.Weld
- o94.LeftSurface = Enum.SurfaceType.Weld
- o94.RightSurface = Enum.SurfaceType.Weld
- o94.TopSurface = Enum.SurfaceType.Weld
- o94.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o94.Position = Vector3.new(53.3237762, 8.77949905, 160.575195)
- o95.Parent = o94
- o95.MeshType = Enum.MeshType.Torso
- o96.Parent = o93
- o96.BrickColor = BrickColor.new("Dark stone grey")
- o96.Position = Vector3.new(50.7425575, 8.77860641, 155.158813)
- o96.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
- o96.Size = Vector3.new(3, 1.20000005, 2)
- o96.CFrame = CFrame.new(50.7425575, 8.77860641, 155.158813, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
- o96.BackSurface = Enum.SurfaceType.Weld
- o96.BottomSurface = Enum.SurfaceType.Weld
- o96.FrontSurface = Enum.SurfaceType.Weld
- o96.LeftSurface = Enum.SurfaceType.Weld
- o96.RightSurface = Enum.SurfaceType.Weld
- o96.TopSurface = Enum.SurfaceType.Weld
- o96.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o96.Position = Vector3.new(50.7425575, 8.77860641, 155.158813)
- o97.Parent = o96
- o97.MeshType = Enum.MeshType.Torso
- o98.Parent = o93
- o98.Position = Vector3.new(52.0401001, 9.37900066, 157.863602)
- o98.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
- o98.Size = Vector3.new(5, 1.20000005, 4)
- o98.CFrame = CFrame.new(52.0401001, 9.37900066, 157.863602, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
- o98.BackSurface = Enum.SurfaceType.Weld
- o98.BottomSurface = Enum.SurfaceType.Weld
- o98.FrontSurface = Enum.SurfaceType.Weld
- o98.LeftSurface = Enum.SurfaceType.Weld
- o98.RightSurface = Enum.SurfaceType.Weld
- o98.TopSurface = Enum.SurfaceType.Weld
- o98.Position = Vector3.new(52.0401001, 9.37900066, 157.863602)
- o99.Parent = o98
- o99.Scale = Vector3.new(0.889999986, 1, 1)
- o99.MeshType = Enum.MeshType.Torso
- o100.Name = "Switch"
- o100.Parent = o93
- o100.BrickColor = BrickColor.new("Bright blue")
- o100.Position = Vector3.new(48.9564667, 9.31353378, 157.671524)
- o100.Rotation = Vector3.new(89.6800003, -0.659999967, -115.479996)
- o100.FormFactor = Enum.FormFactor.Plate
- o100.Size = Vector3.new(1, 0.400000006, 1)
- o100.CFrame = CFrame.new(48.9564667, 9.31353378, 157.671524, -0.43020308, 0.902658224, -0.0115529811, -0.000148709223, -0.0128686577, -0.999917209, -0.902732134, -0.430165738, 0.0056703696)
- o100.BackSurface = Enum.SurfaceType.Weld
- o100.BottomSurface = Enum.SurfaceType.Weld
- o100.LeftSurface = Enum.SurfaceType.Weld
- o100.RightSurface = Enum.SurfaceType.Weld
- o100.TopSurface = Enum.SurfaceType.Smooth
- o100.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- o100.Position = Vector3.new(48.9564667, 9.31353378, 157.671524)
- o101.Name = "CannonBall"
- o101.Parent = o100
- o101.Disabled = true
- runDummyScript(function()
- ball = script.Parent
- damage = 100
- function onTouched(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid~=nil then
- tagHumanoid(humanoid)
- humanoid.Health = 0
- wait()
- untagHumanoid(humanoid)
- connection:disconnect()
- else
- damage = damage / 2
- if damage < 2 then
- connection:disconnect()
- ball.Parent = nil
- end
- end
- explosion = Instance.new("Explosion")
- explosion.BlastRadius = 20
- explosion.BlastPressure = 800000
- explosion.Position = script.Parent.Position
- explosion.Parent = game.Workspace
- connection:disconnect()
- ball.Parent = nil
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- connection = ball.Touched:connect(onTouched)
- r = game:service("RunService")
- t, s = r.Stepped:wait()
- d = t + 5.0 - s
- while t < d do
- t = r.Stepped:wait()
- end
- ball.Parent = nil
- end,o101)
- o102.Parent = o100
- o102.MaxActivationDistance = 20
- o103.Name = "FireGun"
- o103.Parent = o100
- runDummyScript(function()
- local switch = script.Parent
- local debounce = false
- local cannonBall = Instance.new("Part")
- cannonBall.Size = Vector3.new(3,3,3)
- cannonBall.BrickColor = BrickColor.new(1)
- cannonBall.Shape = 0
- cannonBall.BottomSurface = 0
- cannonBall.TopSurface = 0
- cannonBall.Name = "Cannon Shot"
- cannonBall.Elasticity = .1
- cannonBall.Reflectance = 0
- cannonBall.Friction = 0
- function fire(gun)
- local sound = gun:findFirstChild("Fire")
- if sound == nil then
- sound = Instance.new("Sound")
- sound.Name = "Fire"
- sound.SoundId = "http://www.roblox.com/asset?id=2101148"
- sound.Pitch = 1
- sound.Volume = 1
- sound.Parent = gun
- end
- sound:play()
- local smoke = gun:findFirstChild("Smoke")
- if smoke == nil then
- smoke = switch.Smoke:clone()
- smoke.Parent = gun
- smoke.Script.Disabled = false
- end
- smoke.Enabled = true
- local spawnPos = (gun.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)) * Vector3.new(0, 0, -15)
- local v = (gun.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)).lookVector * 800
- local missile = cannonBall:clone()
- missile.Position = spawnPos
- missile.Velocity = v
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,(missile:GetMass() * 95),0)
- force.Parent = missile
- local new_script = script.Parent.CannonBall:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- missile.Parent = game.Workspace
- game.Debris:AddItem(missile,14)
- end
- function onClicked()
- if debounce == false then
- debounce = true
- switch.BrickColor = BrickColor.new("Bright red")
- fire(script.Parent.Parent.Gun)
- wait(1)
- debounce = false
- switch.BrickColor = BrickColor.new("Bright blue")
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o103)
- o104.Parent = o100
- o104.Color = Color3.new(0.109804, 0.109804, 0.109804)
- o104.Enabled = false
- o104.RiseVelocity = 8
- o105.Parent = o104
- o105.Disabled = true
- runDummyScript(function()
- function Check()
- if script.Parent.Enabled == true then
- wait(0.25)
- script.Parent.Enabled = false
- end
- end
- script.Parent.Changed:connect(Check)
- end,o105)
- o106.Parent = o100
- o106.Scale = Vector3.new(1, 1, 0.5)
- o107.Parent = o93
- o107.Position = Vector3.new(53.3386345, 4.56009483, 157.245575)
- o107.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
- o107.Size = Vector3.new(2, 1.20000005, 2)
- o107.CFrame = CFrame.new(53.3386345, 4.56009483, 157.245575, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
- o107.BackSurface = Enum.SurfaceType.Weld
- o107.BottomSurface = Enum.SurfaceType.Weld
- o107.FrontSurface = Enum.SurfaceType.Weld
- o107.LeftSurface = Enum.SurfaceType.Weld
- o107.RightSurface = Enum.SurfaceType.Weld
- o107.TopSurface = Enum.SurfaceType.Weld
- o107.Position = Vector3.new(53.3386345, 4.56009483, 157.245575)
- o108.Parent = o107
- o109.Parent = o93
- o109.Position = Vector3.new(52.6576767, 6.97942162, 159.231308)
- o109.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
- o109.Size = Vector3.new(5, 3.60000014, 1)
- o109.CFrame = CFrame.new(52.6576767, 6.97942162, 159.231308, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
- o109.BackSurface = Enum.SurfaceType.Weld
- o109.BottomSurface = Enum.SurfaceType.Weld
- o109.FrontSurface = Enum.SurfaceType.Weld
- o109.LeftSurface = Enum.SurfaceType.Weld
- o109.RightSurface = Enum.SurfaceType.Weld
- o109.TopSurface = Enum.SurfaceType.Weld
- o109.Position = Vector3.new(52.6576767, 6.97942162, 159.231308)
- o110.Parent = o109
- o110.MeshType = Enum.MeshType.Torso
- o111.Parent = o93
- o111.BrickColor = BrickColor.new("Mid gray")
- o111.Position = Vector3.new(53.817688, 6.95346069, 157.016876)
- o111.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
- o111.Size = Vector3.new(1, 3.60000014, 2)
- o111.CFrame = CFrame.new(53.817688, 6.95346069, 157.016876, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
- o111.BackSurface = Enum.SurfaceType.Weld
- o111.BottomSurface = Enum.SurfaceType.Weld
- o111.FrontSurface = Enum.SurfaceType.Weld
- o111.LeftSurface = Enum.SurfaceType.Weld
- o111.RightSurface = Enum.SurfaceType.Weld
- o111.TopSurface = Enum.SurfaceType.Weld
- o111.Color = Color3.new(0.803922, 0.803922, 0.803922)
- o111.Position = Vector3.new(53.817688, 6.95346069, 157.016876)
- o112.Parent = o111
- o112.MeshType = Enum.MeshType.Torso
- o113.Parent = o93
- o113.BrickColor = BrickColor.new("Dark stone grey")
- o113.Position = Vector3.new(53.7877274, 6.87586784, 160.908279)
- o113.Rotation = Vector3.new(-0.00999999978, 25.4799995, 89.2699966)
- o113.Size = Vector3.new(1, 2.4000001, 1)
- o113.CFrame = CFrame.new(53.7877274, 6.87586784, 160.908279, 0.0115529811, -0.902658224, 0.43020308, 0.999917209, 0.0128686577, 0.000148709223, -0.0056703696, 0.430165738, 0.902732134)
- o113.BackSurface = Enum.SurfaceType.Weld
- o113.BottomSurface = Enum.SurfaceType.Weld
- o113.FrontSurface = Enum.SurfaceType.Weld
- o113.LeftSurface = Enum.SurfaceType.Weld
- o113.RightSurface = Enum.SurfaceType.Weld
- o113.TopSurface = Enum.SurfaceType.Weld
- o113.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o113.Position = Vector3.new(53.7877274, 6.87586784, 160.908279)
- o114.Parent = o113
- o114.MeshType = Enum.MeshType.Torso
- o115.Name = "Smooth Block Model"
- o115.Parent = o93
- o115.Position = Vector3.new(53.5273247, 7.77965641, 161.032227)
- o115.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
- o115.FormFactor = Enum.FormFactor.Plate
- o115.Size = Vector3.new(1, 0.800000012, 1)
- o115.CFrame = CFrame.new(53.5273247, 7.77965641, 161.032227, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
- o115.BackSurface = Enum.SurfaceType.Weld
- o115.BottomSurface = Enum.SurfaceType.Weld
- o115.FrontSurface = Enum.SurfaceType.Weld
- o115.LeftSurface = Enum.SurfaceType.Weld
- o115.RightSurface = Enum.SurfaceType.Weld
- o115.TopSurface = Enum.SurfaceType.Weld
- o115.Position = Vector3.new(53.5273247, 7.77965641, 161.032227)
- o116.Parent = o115
- o116.Scale = Vector3.new(1, 2, 1)
- o117.Parent = o93
- o117.Position = Vector3.new(51.3670692, 6.9789753, 156.523117)
- o117.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
- o117.Size = Vector3.new(5, 3.60000014, 1)
- o117.CFrame = CFrame.new(51.3670692, 6.9789753, 156.523117, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
- o117.BackSurface = Enum.SurfaceType.Weld
- o117.BottomSurface = Enum.SurfaceType.Weld
- o117.FrontSurface = Enum.SurfaceType.Weld
- o117.LeftSurface = Enum.SurfaceType.Weld
- o117.RightSurface = Enum.SurfaceType.Weld
- o117.TopSurface = Enum.SurfaceType.Weld
- o117.Position = Vector3.new(51.3670692, 6.9789753, 156.523117)
- o118.Parent = o117
- o118.MeshType = Enum.MeshType.Torso
- o119.Name = "Smooth Block Model"
- o119.Parent = o93
- o119.Position = Vector3.new(55.4125099, 6.85270405, 160.133987)
- o119.Rotation = Vector3.new(179.98999, -25.4799995, 90.7299957)
- o119.FormFactor = Enum.FormFactor.Plate
- o119.Size = Vector3.new(1, 1.20000005, 1)
- o119.CFrame = CFrame.new(55.4125099, 6.85270405, 160.133987, -0.0115529811, -0.902658224, -0.43020308, -0.999917209, 0.0128686577, -0.000148709223, 0.0056703696, 0.430165738, -0.902732134)
- o119.BackSurface = Enum.SurfaceType.Weld
- o119.BottomSurface = Enum.SurfaceType.Weld
- o119.FrontSurface = Enum.SurfaceType.Weld
- o119.LeftSurface = Enum.SurfaceType.Weld
- o119.RightSurface = Enum.SurfaceType.Weld
- o119.TopSurface = Enum.SurfaceType.Weld
- o119.Position = Vector3.new(55.4125099, 6.85270405, 160.133987)
- o120.Parent = o119
- o120.Scale = Vector3.new(1, 3, 1)
- o121.Name = "Gun"
- o121.Parent = o93
- o121.BrickColor = BrickColor.new("Really black")
- o121.Position = Vector3.new(56.4054337, 6.83854866, 159.660812)
- o121.Rotation = Vector3.new(-90.3199997, 0.659999967, -64.5199966)
- o121.Elasticity = 0
- o121.FormFactor = Enum.FormFactor.Symmetric
- o121.Size = Vector3.new(1, 1, 1)
- o121.CFrame = CFrame.new(56.4054337, 6.83854866, 159.660812, 0.43020308, 0.902658224, 0.0115529811, 0.000148709223, -0.0128686577, 0.999917209, 0.902732134, -0.430165738, -0.0056703696)
- o121.BackSurface = Enum.SurfaceType.Weld
- o121.BottomSurface = Enum.SurfaceType.Weld
- o121.FrontSurface = Enum.SurfaceType.Weld
- o121.LeftSurface = Enum.SurfaceType.Weld
- o121.RightSurface = Enum.SurfaceType.Weld
- o121.TopSurface = Enum.SurfaceType.Weld
- o121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o121.Position = Vector3.new(56.4054337, 6.83854866, 159.660812)
- o122.Parent = o121
- o122.Scale = Vector3.new(1.20000005, 1, 1.20000005)
- o123.Name = "Gun"
- o123.Parent = o93
- o123.BrickColor = BrickColor.new("Really black")
- o123.Position = Vector3.new(53.3940125, 6.83750772, 153.341705)
- o123.Rotation = Vector3.new(-90.3199997, 0.659999967, -64.5199966)
- o123.Elasticity = 0
- o123.FormFactor = Enum.FormFactor.Symmetric
- o123.Size = Vector3.new(1, 1, 1)
- o123.CFrame = CFrame.new(53.3940125, 6.83750772, 153.341705, 0.43020308, 0.902658224, 0.0115529811, 0.000148709223, -0.0128686577, 0.999917209, 0.902732134, -0.430165738, -0.0056703696)
- o123.BackSurface = Enum.SurfaceType.Weld
- o123.BottomSurface = Enum.SurfaceType.Weld
- o123.FrontSurface = Enum.SurfaceType.Weld
- o123.LeftSurface = Enum.SurfaceType.Weld
- o123.RightSurface = Enum.SurfaceType.Weld
- o123.TopSurface = Enum.SurfaceType.Weld
- o123.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o123.Position = Vector3.new(53.3940125, 6.83750772, 153.341705)
- o124.Parent = o123
- o124.Scale = Vector3.new(1.20000005, 1, 1.20000005)
- o125.Name = "Smooth Block Model"
- o125.Parent = o93
- o125.Position = Vector3.new(52.4010887, 6.85166311, 153.81488)
- o125.Rotation = Vector3.new(179.98999, -25.4799995, 90.7299957)
- o125.FormFactor = Enum.FormFactor.Plate
- o125.Size = Vector3.new(1, 1.20000005, 1)
- o125.CFrame = CFrame.new(52.4010887, 6.85166311, 153.81488, -0.0115529811, -0.902658224, -0.43020308, -0.999917209, 0.0128686577, -0.000148709223, 0.0056703696, 0.430165738, -0.902732134)
- o125.BackSurface = Enum.SurfaceType.Weld
- o125.BottomSurface = Enum.SurfaceType.Weld
- o125.FrontSurface = Enum.SurfaceType.Weld
- o125.LeftSurface = Enum.SurfaceType.Weld
- o125.RightSurface = Enum.SurfaceType.Weld
- o125.TopSurface = Enum.SurfaceType.Weld
- o125.Position = Vector3.new(52.4010887, 6.85166311, 153.81488)
- o126.Parent = o125
- o126.Scale = Vector3.new(1, 3, 1)
- o127.Parent = o93
- o127.BrickColor = BrickColor.new("Dark stone grey")
- o127.Position = Vector3.new(50.7763062, 6.87482643, 154.589172)
- o127.Rotation = Vector3.new(-0.00999999978, 25.4799995, 89.2699966)
- o127.Size = Vector3.new(1, 2.4000001, 1)
- o127.CFrame = CFrame.new(50.7763062, 6.87482643, 154.589172, 0.0115529811, -0.902658224, 0.43020308, 0.999917209, 0.0128686577, 0.000148709223, -0.0056703696, 0.430165738, 0.902732134)
- o127.BackSurface = Enum.SurfaceType.Weld
- o127.BottomSurface = Enum.SurfaceType.Weld
- o127.FrontSurface = Enum.SurfaceType.Weld
- o127.LeftSurface = Enum.SurfaceType.Weld
- o127.RightSurface = Enum.SurfaceType.Weld
- o127.TopSurface = Enum.SurfaceType.Weld
- o127.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o127.Position = Vector3.new(50.7763062, 6.87482643, 154.589172)
- o128.Parent = o127
- o128.MeshType = Enum.MeshType.Torso
- o129.Name = "Smooth Block Model"
- o129.Parent = o93
- o129.Position = Vector3.new(50.5159035, 7.778615, 154.71312)
- o129.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
- o129.FormFactor = Enum.FormFactor.Plate
- o129.Size = Vector3.new(1, 0.800000012, 1)
- o129.CFrame = CFrame.new(50.5159035, 7.778615, 154.71312, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
- o129.BackSurface = Enum.SurfaceType.Weld
- o129.BottomSurface = Enum.SurfaceType.Weld
- o129.FrontSurface = Enum.SurfaceType.Weld
- o129.LeftSurface = Enum.SurfaceType.Weld
- o129.RightSurface = Enum.SurfaceType.Weld
- o129.TopSurface = Enum.SurfaceType.Weld
- o129.Position = Vector3.new(50.5159035, 7.778615, 154.71312)
- o130.Parent = o129
- o130.Scale = Vector3.new(1, 2, 1)
- o131.Parent = o93
- o131.BrickColor = BrickColor.new("Light stone grey")
- o131.Position = Vector3.new(51.5321617, 4.48583984, 158.106476)
- o131.Rotation = Vector3.new(-1.70999992, -64.5100021, -1.53999996)
- o131.Size = Vector3.new(2, 1, 2)
- o131.CFrame = CFrame.new(51.5321617, 4.48583984, 158.106476, 0.43020308, 0.0115529811, -0.902658224, 0.000148709223, 0.999917209, 0.0128686577, 0.902732134, -0.0056703696, 0.430165738)
- o131.BackSurface = Enum.SurfaceType.Weld
- o131.BottomSurface = Enum.SurfaceType.Weld
- o131.FrontSurface = Enum.SurfaceType.Weld
- o131.LeftSurface = Enum.SurfaceType.Weld
- o131.RightSurface = Enum.SurfaceType.Weld
- o131.TopSurface = Enum.SurfaceType.Weld
- o131.MaxSpeed = 10
- o131.Torque = 1
- o131.Color = Color3.new(0.898039, 0.894118, 0.87451)
- o131.Position = Vector3.new(51.5321617, 4.48583984, 158.106476)
- o132.Parent = o93
- o132.Position = Vector3.new(50.6940346, 4.57895041, 155.182632)
- o132.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
- o132.Size = Vector3.new(7, 1.20000005, 2)
- o132.CFrame = CFrame.new(50.6940346, 4.57895041, 155.182632, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
- o132.BackSurface = Enum.SurfaceType.Weld
- o132.BottomSurface = Enum.SurfaceType.Smooth
- o132.FrontSurface = Enum.SurfaceType.Weld
- o132.LeftSurface = Enum.SurfaceType.Weld
- o132.RightSurface = Enum.SurfaceType.Weld
- o132.TopSurface = Enum.SurfaceType.Weld
- o132.Position = Vector3.new(50.6940346, 4.57895041, 155.182632)
- o133.Parent = o132
- o133.Scale = Vector3.new(1, 2, 1.10000002)
- o133.MeshType = Enum.MeshType.Torso
- o134.Parent = o93
- o134.Position = Vector3.new(52.6299515, 4.57961988, 159.244919)
- o134.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
- o134.Size = Vector3.new(1, 1.20000005, 5)
- o134.CFrame = CFrame.new(52.6299515, 4.57961988, 159.244919, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
- o134.BackSurface = Enum.SurfaceType.Weld
- o134.BottomSurface = Enum.SurfaceType.Weld
- o134.FrontSurface = Enum.SurfaceType.Weld
- o134.LeftSurface = Enum.SurfaceType.Weld
- o134.RightSurface = Enum.SurfaceType.Weld
- o134.TopSurface = Enum.SurfaceType.Weld
- o134.Position = Vector3.new(52.6299515, 4.57961988, 159.244919)
- o135.Parent = o134
- o136.Parent = o93
- o136.Position = Vector3.new(53.2752571, 4.57984304, 160.599014)
- o136.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
- o136.Size = Vector3.new(7, 1.20000005, 2)
- o136.CFrame = CFrame.new(53.2752571, 4.57984304, 160.599014, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
- o136.BackSurface = Enum.SurfaceType.Weld
- o136.BottomSurface = Enum.SurfaceType.Smooth
- o136.FrontSurface = Enum.SurfaceType.Weld
- o136.LeftSurface = Enum.SurfaceType.Weld
- o136.RightSurface = Enum.SurfaceType.Weld
- o136.TopSurface = Enum.SurfaceType.Weld
- o136.Position = Vector3.new(53.2752571, 4.57984304, 160.599014)
- o137.Parent = o136
- o137.Scale = Vector3.new(1, 2, 1.10000002)
- o137.MeshType = Enum.MeshType.Torso
- o138.Parent = o93
- o138.Position = Vector3.new(51.3393402, 4.57917356, 156.536728)
- o138.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
- o138.Size = Vector3.new(1, 1.20000005, 5)
- o138.CFrame = CFrame.new(51.3393402, 4.57917356, 156.536728, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
- o138.BackSurface = Enum.SurfaceType.Weld
- o138.BottomSurface = Enum.SurfaceType.Weld
- o138.FrontSurface = Enum.SurfaceType.Weld
- o138.LeftSurface = Enum.SurfaceType.Weld
- o138.RightSurface = Enum.SurfaceType.Weld
- o138.TopSurface = Enum.SurfaceType.Weld
- o138.Position = Vector3.new(51.3393402, 4.57917356, 156.536728)
- o139.Parent = o138
- o140.Parent = o93
- o140.BrickColor = BrickColor.new("Dark stone grey")
- o140.Position = Vector3.new(50.1793289, 4.60513401, 158.75116)
- o140.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
- o140.Size = Vector3.new(2, 1.20000005, 1)
- o140.CFrame = CFrame.new(50.1793289, 4.60513401, 158.75116, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
- o140.BackSurface = Enum.SurfaceType.Weld
- o140.BottomSurface = Enum.SurfaceType.Weld
- o140.FrontSurface = Enum.SurfaceType.Weld
- o140.LeftSurface = Enum.SurfaceType.Weld
- o140.RightSurface = Enum.SurfaceType.Weld
- o140.TopSurface = Enum.SurfaceType.Weld
- o140.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o140.Position = Vector3.new(50.1793289, 4.60513401, 158.75116)
- o141.Parent = o140
- o142.Parent = o93
- o142.BrickColor = BrickColor.new("Dark stone grey")
- o142.Position = Vector3.new(51.9707832, 3.379498, 157.897629)
- o142.Rotation = Vector3.new(179.98999, -25.4799995, 0.729999959)
- o142.Size = Vector3.new(5, 1.20000005, 4)
- o142.CFrame = CFrame.new(51.9707832, 3.379498, 157.897629, 0.902658224, -0.0115529811, -0.43020308, -0.0128686577, -0.999917209, -0.000148709223, -0.430165738, 0.0056703696, -0.902732134)
- o142.BottomSurface = Enum.SurfaceType.Weld
- o142.TopSurface = Enum.SurfaceType.Weld
- o142.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o142.Position = Vector3.new(51.9707832, 3.379498, 157.897629)
- o143.Parent = o142
- o143.MeshType = Enum.MeshType.Torso
- o144.Parent = o93
- o144.BrickColor = BrickColor.new("Really black")
- o144.Position = Vector3.new(54.5835915, 2.95100951, 159.97583)
- o144.Rotation = Vector3.new(-132.979996, 55.0399971, -41.3400002)
- o144.FormFactor = Enum.FormFactor.Symmetric
- o144.Shape = Enum.PartType.Cylinder
- o144.Size = Vector3.new(2, 2, 2)
- o144.CFrame = CFrame.new(54.5835915, 2.95100951, 159.97583, 0.430199921, 0.378536552, 0.819535315, 0.000156238224, -0.907868564, 0.419254929, 0.902733624, -0.180235401, -0.390624106)
- o144.BottomSurface = Enum.SurfaceType.Smooth
- o144.LeftSurface = Enum.SurfaceType.Hinge
- o144.TopSurface = Enum.SurfaceType.Smooth
- o144.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o144.Position = Vector3.new(54.5835915, 2.95100951, 159.97583)
- o145.Parent = o93
- o145.BrickColor = BrickColor.new("Really black")
- o145.Position = Vector3.new(52.0023918, 2.95008421, 154.559402)
- o145.Rotation = Vector3.new(122.309998, 48.2899971, -130.279999)
- o145.FormFactor = Enum.FormFactor.Symmetric
- o145.Shape = Enum.PartType.Cylinder
- o145.Size = Vector3.new(2, 2, 2)
- o145.CFrame = CFrame.new(52.0023918, 2.95008421, 154.559402, -0.430189967, 0.507591128, 0.746517122, -0.000157826624, 0.826905072, -0.562341511, -0.902738392, -0.242031485, -0.355646163)
- o145.BottomSurface = Enum.SurfaceType.Smooth
- o145.LeftSurface = Enum.SurfaceType.Hinge
- o145.TopSurface = Enum.SurfaceType.Smooth
- o145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o145.Position = Vector3.new(52.0023918, 2.95008421, 154.559402)
- o146.Parent = o93
- o146.BrickColor = BrickColor.new("Really black")
- o146.Position = Vector3.new(51.8756752, 2.99965954, 161.266251)
- o146.Rotation = Vector3.new(39.8999977, -58.1499977, 35.3899994)
- o146.FormFactor = Enum.FormFactor.Symmetric
- o146.Shape = Enum.PartType.Cylinder
- o146.Size = Vector3.new(2, 2, 2)
- o146.CFrame = CFrame.new(51.8756752, 2.99965954, 161.266251, 0.430199623, -0.305666387, -0.849409401, 0.000139732758, 0.940952659, -0.33853814, 0.902733803, 0.145520285, 0.404840171)
- o146.BottomSurface = Enum.SurfaceType.Smooth
- o146.LeftSurface = Enum.SurfaceType.Hinge
- o146.TopSurface = Enum.SurfaceType.Smooth
- o146.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o146.Position = Vector3.new(51.8756752, 2.99965954, 161.266251)
- o147.Parent = o93
- o147.BrickColor = BrickColor.new("Really black")
- o147.Position = Vector3.new(49.2945137, 2.99878955, 155.849838)
- o147.Rotation = Vector3.new(-23.4699993, -62.5499992, 158.929993)
- o147.FormFactor = Enum.FormFactor.Symmetric
- o147.Shape = Enum.PartType.Cylinder
- o147.Size = Vector3.new(2, 2, 2)
- o147.CFrame = CFrame.new(49.2945137, 2.99878955, 155.849838, -0.430197269, -0.165701985, -0.887396872, -0.000167633814, -0.982994676, 0.183634058, -0.902734876, 0.0791476294, 0.422853827)
- o147.BottomSurface = Enum.SurfaceType.Smooth
- o147.LeftSurface = Enum.SurfaceType.Hinge
- o147.TopSurface = Enum.SurfaceType.Smooth
- o147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o147.Position = Vector3.new(49.2945137, 2.99878955, 155.849838)
- o148.Name = "Mech"
- o148.Parent = mas
- o149.Name = "RegenPad"
- o149.Parent = o148
- o149.BrickColor = BrickColor.new("Bright green")
- o149.Reflectance = 0.5
- o149.Position = Vector3.new(26, 2.60002589, 120.5)
- o149.Rotation = Vector3.new(180, 0, -180)
- o149.Anchored = true
- o149.Size = Vector3.new(12, 1.20000005, 11)
- o149.CFrame = CFrame.new(26, 2.60002589, 120.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- o149.TopSurface = Enum.SurfaceType.Inlet
- o149.Color = Color3.new(0.294118, 0.592157, 0.294118)
- o149.Position = Vector3.new(26, 2.60002589, 120.5)
- o150.Parent = o149
- runDummyScript(function()
- local car = script.Parent.Parent.Car:Clone() --Change Car to Your model.
- while true do
- wait(5)
- local n = script.Parent.Parent:FindFirstChild("Car") == nil --Change "Car" to whatever model you use.
- if (n or (script.Parent.Position - script.Parent.Parent.Car.Model.RCCar3.P3.VehicleSeat.Position).magnitude > 40) then
- if (n ~= true) then
- script.Parent.Parent.Car.Parent = game.Workspace
- end
- local c = car:Clone()
- c.Parent = script.Parent.Parent
- c:makeJoints()
- end
- end
- end,o150)
- o151.Name = "Car"
- o151.Parent = o148
- o152.Parent = o151
- o153.Parent = o152
- o154.Parent = o153
- o154.BrickColor = BrickColor.new("Really black")
- o154.Position = Vector3.new(20.2635174, 3.99629927, 122.025154)
- o154.Rotation = Vector3.new(173.009995, -87.8499985, 172.959991)
- o154.FormFactor = Enum.FormFactor.Plate
- o154.Size = Vector3.new(2, 0.800000012, 1)
- o154.CFrame = CFrame.new(20.2635174, 3.99629927, 122.025154, -0.0372347832, -0.0045975158, -0.99929589, -0.00101319386, 0.999989092, -0.00456294883, 0.999305964, 0.000842579873, -0.0372418948)
- o154.BottomSurface = Enum.SurfaceType.Weld
- o154.TopSurface = Enum.SurfaceType.Weld
- o154.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o154.Position = Vector3.new(20.2635174, 3.99629927, 122.025154)
- o155.Parent = o154
- o155.MeshType = Enum.MeshType.Wedge
- o156.Parent = o153
- o156.BrickColor = BrickColor.new("Really black")
- o156.Position = Vector3.new(20.2662754, 3.39630818, 122.024651)
- o156.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
- o156.FormFactor = Enum.FormFactor.Plate
- o156.Size = Vector3.new(1, 0.400000006, 2)
- o156.CFrame = CFrame.new(20.2662754, 3.39630818, 122.024651, -0.99929589, -0.0045975158, 0.0372346044, -0.00456294836, 0.999989092, 0.00101319305, -0.0372420736, 0.000842579873, -0.999305964)
- o156.BottomSurface = Enum.SurfaceType.Smooth
- o156.TopSurface = Enum.SurfaceType.Weld
- o156.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o156.Position = Vector3.new(20.2662754, 3.39630818, 122.024651)
- o157.Parent = o153
- o157.BrickColor = BrickColor.new("Really black")
- o157.Position = Vector3.new(18.211832, 3.38566256, 123.449135)
- o157.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
- o157.FormFactor = Enum.FormFactor.Plate
- o157.Size = Vector3.new(1, 0.400000006, 3)
- o157.CFrame = CFrame.new(18.211832, 3.38566256, 123.449135, 0.0372347236, -0.0045975158, 0.99929589, 0.00101319351, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372419544)
- o157.BottomSurface = Enum.SurfaceType.Smooth
- o157.TopSurface = Enum.SurfaceType.Weld
- o157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o157.Position = Vector3.new(18.211832, 3.38566256, 123.449135)
- o158.Parent = o153
- o158.BrickColor = BrickColor.new("Bright yellow")
- o158.Position = Vector3.new(18.262167, 4.58716917, 121.951187)
- o158.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
- o158.FormFactor = Enum.FormFactor.Plate
- o158.Size = Vector3.new(3, 0.400000006, 2)
- o158.CFrame = CFrame.new(18.262167, 4.58716917, 121.951187, -0.99929589, -0.0045975158, 0.0372349024, -0.00456294883, 0.999989092, 0.00101319433, -0.0372417755, 0.000842579873, -0.999305964)
- o158.BottomSurface = Enum.SurfaceType.Weld
- o158.TopSurface = Enum.SurfaceType.Weld
- o158.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o158.Position = Vector3.new(18.262167, 4.58716917, 121.951187)
- o159.Parent = o158
- o160.Parent = o153
- o160.BrickColor = BrickColor.new("Bright yellow")
- o160.Position = Vector3.new(18.209074, 3.9856534, 123.449646)
- o160.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
- o160.FormFactor = Enum.FormFactor.Plate
- o160.Size = Vector3.new(3, 0.800000012, 1)
- o160.CFrame = CFrame.new(18.209074, 3.9856534, 123.449646, -0.99929589, -0.0045975158, 0.0372346044, -0.00456294836, 0.999989092, 0.00101319305, -0.0372420736, 0.000842579873, -0.999305964)
- o160.BottomSurface = Enum.SurfaceType.Weld
- o160.TopSurface = Enum.SurfaceType.Weld
- o160.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o160.Position = Vector3.new(18.209074, 3.9856534, 123.449646)
- o161.Parent = o160
- o161.MeshType = Enum.MeshType.Wedge
- o162.Parent = o153
- o162.BrickColor = BrickColor.new("Bright yellow")
- o162.Position = Vector3.new(18.2658443, 3.78717947, 121.950516)
- o162.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
- o162.Size = Vector3.new(2, 1.20000005, 3)
- o162.CFrame = CFrame.new(18.2658443, 3.78717947, 121.950516, 0.0372348428, -0.0045975158, 0.99929589, 0.00101319409, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372418351)
- o162.BackSurface = Enum.SurfaceType.Weld
- o162.BottomSurface = Enum.SurfaceType.Smooth
- o162.FrontSurface = Enum.SurfaceType.Weld
- o162.LeftSurface = Enum.SurfaceType.Weld
- o162.RightSurface = Enum.SurfaceType.Weld
- o162.TopSurface = Enum.SurfaceType.Weld
- o162.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o162.Position = Vector3.new(18.2658443, 3.78717947, 121.950516)
- o163.Parent = o153
- o163.BrickColor = BrickColor.new("Bright yellow")
- o163.Position = Vector3.new(18.320776, 3.988693, 120.451744)
- o163.Rotation = Vector3.new(0.0599999987, -2.12999988, 0.25999999)
- o163.FormFactor = Enum.FormFactor.Plate
- o163.Size = Vector3.new(3, 0.800000012, 1)
- o163.CFrame = CFrame.new(18.320776, 3.988693, 120.451744, 0.99929589, -0.0045975158, -0.0372347832, 0.00456294883, 0.999989092, -0.00101319386, 0.0372418948, 0.000842579873, 0.999305964)
- o163.BottomSurface = Enum.SurfaceType.Weld
- o163.TopSurface = Enum.SurfaceType.Weld
- o163.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o163.Position = Vector3.new(18.320776, 3.988693, 120.451744)
- o164.Parent = o163
- o164.MeshType = Enum.MeshType.Wedge
- o165.Parent = o153
- o165.BrickColor = BrickColor.new("Really black")
- o165.Position = Vector3.new(18.323534, 3.38870215, 120.451233)
- o165.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
- o165.FormFactor = Enum.FormFactor.Plate
- o165.Size = Vector3.new(1, 0.400000006, 3)
- o165.CFrame = CFrame.new(18.323534, 3.38870215, 120.451233, 0.0372347832, -0.0045975158, 0.99929589, 0.00101319386, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372418948)
- o165.BottomSurface = Enum.SurfaceType.Smooth
- o165.TopSurface = Enum.SurfaceType.Weld
- o165.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o165.Position = Vector3.new(18.323534, 3.38870215, 120.451233)
- o166.Parent = o153
- o166.BrickColor = BrickColor.new("Really black")
- o166.Position = Vector3.new(15.7694407, 3.37577486, 121.857071)
- o166.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
- o166.FormFactor = Enum.FormFactor.Plate
- o166.Size = Vector3.new(2, 0.400000006, 2)
- o166.CFrame = CFrame.new(15.7694407, 3.37577486, 121.857071, -0.99929589, -0.0045975158, 0.0372347832, -0.00456294883, 0.999989092, 0.00101319386, -0.0372418948, 0.000842579873, -0.999305964)
- o166.BottomSurface = Enum.SurfaceType.Smooth
- o166.TopSurface = Enum.SurfaceType.Weld
- o166.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o166.Position = Vector3.new(15.7694407, 3.37577486, 121.857071)
- o167.Parent = o153
- o167.BrickColor = BrickColor.new("Really black")
- o167.Position = Vector3.new(15.7666826, 3.97576594, 121.857582)
- o167.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
- o167.FormFactor = Enum.FormFactor.Plate
- o167.Size = Vector3.new(2, 0.800000012, 2)
- o167.CFrame = CFrame.new(15.7666826, 3.97576594, 121.857582, 0.0372347832, -0.0045975158, 0.99929589, 0.00101319386, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372418948)
- o167.BottomSurface = Enum.SurfaceType.Weld
- o167.TopSurface = Enum.SurfaceType.Weld
- o167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o167.Position = Vector3.new(15.7666826, 3.97576594, 121.857582)
- o168.Parent = o167
- o168.MeshType = Enum.MeshType.Wedge
- o169.Parent = o153
- o169.BrickColor = BrickColor.new("Bright yellow")
- o169.Position = Vector3.new(18.7563019, 5.78943968, 121.970802)
- o169.Rotation = Vector3.new(173.009995, -87.8499985, 172.959991)
- o169.FormFactor = Enum.FormFactor.Symmetric
- o169.Size = Vector3.new(2, 2, 2)
- o169.CFrame = CFrame.new(18.7563019, 5.78943968, 121.970802, -0.0372348428, -0.0045975158, -0.99929589, -0.00101319409, 0.999989092, -0.00456294883, 0.999305964, 0.000842579873, -0.0372418351)
- o169.BackSurface = Enum.SurfaceType.Weld
- o169.BottomSurface = Enum.SurfaceType.Weld
- o169.LeftSurface = Enum.SurfaceType.Hinge
- o169.TopSurface = Enum.SurfaceType.Weld
- o169.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o169.Position = Vector3.new(18.7563019, 5.78943968, 121.970802)
- o170.Parent = o169
- o170.MeshType = Enum.MeshType.Wedge
- o171.Parent = o153
- o171.BrickColor = BrickColor.new("Bright yellow")
- o171.Position = Vector3.new(16.7577114, 5.78031349, 121.896339)
- o171.Rotation = Vector3.new(-6.98999977, 87.8499985, -172.959991)
- o171.FormFactor = Enum.FormFactor.Symmetric
- o171.Size = Vector3.new(2, 2, 2)
- o171.CFrame = CFrame.new(16.7577114, 5.78031349, 121.896339, -0.037234962, 0.0045975158, 0.99929589, -0.00101319456, -0.999989092, 0.00456294883, 0.999305964, -0.000842579873, 0.0372417159)
- o171.BackSurface = Enum.SurfaceType.Weld
- o171.BottomSurface = Enum.SurfaceType.Weld
- o171.TopSurface = Enum.SurfaceType.Weld
- o171.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o171.Position = Vector3.new(16.7577114, 5.78031349, 121.896339)
- o172.Parent = o171
- o172.MeshType = Enum.MeshType.Wedge
- o173.Parent = o153
- o173.BrickColor = BrickColor.new("Really black")
- o173.Position = Vector3.new(16.7508144, 7.28028774, 121.897606)
- o173.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
- o173.FormFactor = Enum.FormFactor.Symmetric
- o173.Size = Vector3.new(2, 1, 2)
- o173.CFrame = CFrame.new(16.7508144, 7.28028774, 121.897606, 0.0372351408, -0.0045975158, 0.99929589, 0.00101319537, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372415371)
- o173.BottomSurface = Enum.SurfaceType.Weld
- o173.TopSurface = Enum.SurfaceType.Weld
- o173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o173.Position = Vector3.new(16.7508144, 7.28028774, 121.897606)
- o174.Parent = o153
- o174.BrickColor = BrickColor.new("Bright yellow")
- o174.Position = Vector3.new(18.742506, 8.78939724, 121.973351)
- o174.Rotation = Vector3.new(173.009995, -87.8499985, -7.03999996)
- o174.CanCollide = false
- o174.FormFactor = Enum.FormFactor.Symmetric
- o174.Size = Vector3.new(2, 2, 2)
- o174.CFrame = CFrame.new(18.742506, 8.78939724, 121.973351, 0.0372362137, 0.0045975158, -0.99929589, 0.00101320026, -0.999989092, -0.00456295023, -0.999305964, -0.000842579873, -0.0372404642)
- o174.BackSurface = Enum.SurfaceType.Weld
- o174.BottomSurface = Enum.SurfaceType.Smooth
- o174.RightSurface = Enum.SurfaceType.Hinge
- o174.TopSurface = Enum.SurfaceType.Weld
- o174.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o174.Position = Vector3.new(18.742506, 8.78939724, 121.973351)
- o175.Parent = o174
- o175.MeshType = Enum.MeshType.Wedge
- o176.Parent = o153
- o176.BrickColor = BrickColor.new("Bright yellow")
- o176.Position = Vector3.new(16.7439175, 8.78027153, 121.898872)
- o176.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
- o176.CanCollide = false
- o176.FormFactor = Enum.FormFactor.Symmetric
- o176.Size = Vector3.new(2, 2, 2)
- o176.CFrame = CFrame.new(16.7439175, 8.78027153, 121.898872, 0.0372354984, -0.0045975158, 0.99929589, 0.001013197, 0.999989092, 0.0045629493, -0.999305964, 0.000842579873, 0.0372411795)
- o176.BackSurface = Enum.SurfaceType.Weld
- o176.BottomSurface = Enum.SurfaceType.Weld
- o176.TopSurface = Enum.SurfaceType.Smooth
- o176.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o176.Position = Vector3.new(16.7439175, 8.78027153, 121.898872)
- o177.Parent = o176
- o177.MeshType = Enum.MeshType.Wedge
- o178.Parent = o176
- o178.Texture = "http://www.roblox.com/asset/?id=13402884"
- o179.Parent = o152
- o180.Parent = o179
- o180.BrickColor = BrickColor.new("Really black")
- o180.Position = Vector3.new(18.8307743, 5.79143524, 119.972168)
- o180.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
- o180.CanCollide = false
- o180.FormFactor = Enum.FormFactor.Symmetric
- o180.Size = Vector3.new(2, 2, 2)
- o180.CFrame = CFrame.new(18.8307743, 5.79143524, 119.972168, -0.989300907, -0.141068831, 0.0371958204, -0.141128823, 0.989990711, 0.00102119532, -0.0369677097, -0.00423913216, -0.999307573)
- o180.BottomSurface = Enum.SurfaceType.Weld
- o180.TopSurface = Enum.SurfaceType.Smooth
- o180.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o180.Position = Vector3.new(18.8307743, 5.79143524, 119.972168)
- o181.Parent = o179
- o181.BrickColor = BrickColor.new("Really black")
- o181.Position = Vector3.new(18.81744, 8.79146767, 119.974785)
- o181.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
- o181.CanCollide = false
- o181.FormFactor = Enum.FormFactor.Symmetric
- o181.Size = Vector3.new(2, 2, 2)
- o181.CFrame = CFrame.new(18.81744, 8.79146767, 119.974785, -0.989297569, -0.14108938, 0.0372036286, -0.141149282, 0.989987791, 0.00102060847, -0.0369750895, -0.00424155127, -0.999307156)
- o181.BottomSurface = Enum.SurfaceType.Weld
- o181.TopSurface = Enum.SurfaceType.Smooth
- o181.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o181.Position = Vector3.new(18.81744, 8.79146767, 119.974785)
- o182.Parent = o179
- o182.BrickColor = BrickColor.new("Really black")
- o182.Position = Vector3.new(14.8974571, 8.22790146, 118.827568)
- o182.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
- o182.CanCollide = false
- o182.FormFactor = Enum.FormFactor.Symmetric
- o182.Size = Vector3.new(2, 2, 2)
- o182.CFrame = CFrame.new(14.8974571, 8.22790146, 118.827568, -0.989297569, -0.141089439, 0.0372036509, -0.141149223, 0.989987791, 0.00102059462, -0.0369750671, -0.00424153637, -0.999307156)
- o182.BottomSurface = Enum.SurfaceType.Weld
- o182.TopSurface = Enum.SurfaceType.Smooth
- o182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o182.Position = Vector3.new(14.8974571, 8.22790146, 118.827568)
- o183.Parent = o179
- o183.BrickColor = BrickColor.new("Really black")
- o183.Position = Vector3.new(14.9107533, 5.22793865, 118.824974)
- o183.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
- o183.CanCollide = false
- o183.FormFactor = Enum.FormFactor.Symmetric
- o183.Size = Vector3.new(2, 2, 2)
- o183.CFrame = CFrame.new(14.9107533, 5.22793865, 118.824974, -0.989300907, -0.141068831, 0.037195757, -0.141128823, 0.989990711, 0.00102118577, -0.0369677767, -0.00423913216, -0.999307692)
- o183.BottomSurface = Enum.SurfaceType.Weld
- o183.TopSurface = Enum.SurfaceType.Smooth
- o183.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o183.Position = Vector3.new(14.9107533, 5.22793865, 118.824974)
- o184.Parent = o179
- o184.BrickColor = BrickColor.new("Really black")
- o184.Position = Vector3.new(16.901329, 7.01061964, 118.400566)
- o184.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o184.CanCollide = false
- o184.FormFactor = Enum.FormFactor.Symmetric
- o184.Size = Vector3.new(2, 5, 1)
- o184.CFrame = CFrame.new(16.901329, 7.01061964, 118.400566, -0.999298036, -0.00443075923, 0.0371992402, -0.00439534243, 0.999989808, 0.00103380508, -0.0372033827, 0.000869575422, -0.999307334)
- o184.BottomSurface = Enum.SurfaceType.Weld
- o184.TopSurface = Enum.SurfaceType.Weld
- o184.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o184.Position = Vector3.new(16.901329, 7.01061964, 118.400566)
- o185.Parent = o179
- o185.BrickColor = BrickColor.new("Really black")
- o185.Position = Vector3.new(16.826931, 7.00854826, 120.399162)
- o185.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o185.CanCollide = false
- o185.FormFactor = Enum.FormFactor.Symmetric
- o185.Size = Vector3.new(2, 5, 1)
- o185.CFrame = CFrame.new(16.826931, 7.00854826, 120.399162, -0.999298036, -0.00443075923, 0.0371992402, -0.00439534243, 0.999989808, 0.00103380508, -0.0372033827, 0.000869575422, -0.999307334)
- o185.BottomSurface = Enum.SurfaceType.Weld
- o185.TopSurface = Enum.SurfaceType.Weld
- o185.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o185.Position = Vector3.new(16.826931, 7.00854826, 120.399162)
- o186.Parent = o152
- o187.Parent = o186
- o187.BrickColor = BrickColor.new("Really black")
- o187.Position = Vector3.new(16.4919109, 3.43634224, 116.880608)
- o187.Rotation = Vector3.new(173.349991, -87.8499985, 173.289993)
- o187.FormFactor = Enum.FormFactor.Plate
- o187.Size = Vector3.new(2, 0.800000012, 1)
- o187.CFrame = CFrame.new(16.4919109, 3.43634224, 116.880608, -0.0371984877, -0.00437431643, -0.999296486, -0.00102516287, 0.999990046, -0.00433917856, 0.999305427, 0.000863034162, -0.0371986665)
- o187.BottomSurface = Enum.SurfaceType.Weld
- o187.TopSurface = Enum.SurfaceType.Weld
- o187.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o187.Position = Vector3.new(16.4919109, 3.43634224, 116.880608)
- o188.Parent = o187
- o188.MeshType = Enum.MeshType.Wedge
- o189.Parent = o186
- o189.BrickColor = BrickColor.new("Really black")
- o189.Position = Vector3.new(16.4945354, 2.83634496, 116.880089)
- o189.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o189.FormFactor = Enum.FormFactor.Plate
- o189.Size = Vector3.new(1, 0.400000006, 2)
- o189.CFrame = CFrame.new(16.4945354, 2.83634496, 116.880089, -0.999296308, -0.00437431643, 0.0371986628, -0.00433917856, 0.999990046, 0.00102516357, -0.0371984839, 0.000863034162, -0.999305248)
- o189.BottomSurface = Enum.SurfaceType.Smooth
- o189.TopSurface = Enum.SurfaceType.Weld
- o189.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o189.Position = Vector3.new(16.4945354, 2.83634496, 116.880089)
- o190.Parent = o186
- o190.BrickColor = BrickColor.new("Really black")
- o190.Position = Vector3.new(14.4401503, 2.82612896, 118.304649)
- o190.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
- o190.FormFactor = Enum.FormFactor.Plate
- o190.Size = Vector3.new(1, 0.400000006, 3)
- o190.CFrame = CFrame.new(14.4401503, 2.82612896, 118.304649, 0.0371985473, -0.00437431643, 0.999296427, 0.0010251631, 0.999990046, 0.00433917856, -0.999305367, 0.000863034162, 0.0371986069)
- o190.BottomSurface = Enum.SurfaceType.Smooth
- o190.TopSurface = Enum.SurfaceType.Weld
- o190.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o190.Position = Vector3.new(14.4401503, 2.82612896, 118.304649)
- o191.Parent = o186
- o191.BrickColor = BrickColor.new("Bright yellow")
- o191.Position = Vector3.new(14.4906979, 4.02765656, 116.806725)
- o191.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o191.FormFactor = Enum.FormFactor.Plate
- o191.Size = Vector3.new(3, 0.400000006, 2)
- o191.CFrame = CFrame.new(14.4906979, 4.02765656, 116.806725, -0.999296665, -0.00437431643, 0.0371983163, -0.00433917949, 0.999990046, 0.0010251624, -0.0371988527, 0.000863034162, -0.999305606)
- o191.BottomSurface = Enum.SurfaceType.Weld
- o191.TopSurface = Enum.SurfaceType.Weld
- o191.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o191.Position = Vector3.new(14.4906979, 4.02765656, 116.806725)
- o192.Parent = o191
- o193.Parent = o186
- o193.BrickColor = BrickColor.new("Bright yellow")
- o193.Position = Vector3.new(14.4375257, 3.42612624, 118.305168)
- o193.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o193.FormFactor = Enum.FormFactor.Plate
- o193.Size = Vector3.new(3, 0.800000012, 1)
- o193.CFrame = CFrame.new(14.4375257, 3.42612624, 118.305168, -0.99929595, -0.00437431643, 0.0371990055, -0.0043391767, 0.999990046, 0.00102516473, -0.0371981151, 0.000863034162, -0.999304891)
- o193.BottomSurface = Enum.SurfaceType.Weld
- o193.TopSurface = Enum.SurfaceType.Weld
- o193.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o193.Position = Vector3.new(14.4375257, 3.42612624, 118.305168)
- o194.Parent = o193
- o194.MeshType = Enum.MeshType.Wedge
- o195.Parent = o186
- o195.BrickColor = BrickColor.new("Bright yellow")
- o195.Position = Vector3.new(14.4941969, 3.22766042, 116.806038)
- o195.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
- o195.Size = Vector3.new(2, 1.20000005, 3)
- o195.CFrame = CFrame.new(14.4941969, 3.22766042, 116.806038, 0.0371984318, -0.00437431643, 0.999296546, 0.00102516275, 0.999990046, 0.00433917902, -0.999305487, 0.000863034162, 0.0371987298)
- o195.BackSurface = Enum.SurfaceType.Weld
- o195.BottomSurface = Enum.SurfaceType.Smooth
- o195.FrontSurface = Enum.SurfaceType.Weld
- o195.LeftSurface = Enum.SurfaceType.Weld
- o195.RightSurface = Enum.SurfaceType.Weld
- o195.TopSurface = Enum.SurfaceType.Weld
- o195.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o195.Position = Vector3.new(14.4941969, 3.22766042, 116.806038)
- o196.Parent = o186
- o196.BrickColor = BrickColor.new("Bright yellow")
- o196.Position = Vector3.new(14.549118, 3.42920637, 115.307251)
- o196.Rotation = Vector3.new(0.0599999987, -2.12999988, 0.25)
- o196.FormFactor = Enum.FormFactor.Plate
- o196.Size = Vector3.new(3, 0.800000012, 1)
- o196.CFrame = CFrame.new(14.549118, 3.42920637, 115.307251, 0.999296308, -0.00437431643, -0.0371986628, 0.00433917856, 0.999990046, -0.00102516357, 0.0371984839, 0.000863034162, 0.999305248)
- o196.BottomSurface = Enum.SurfaceType.Weld
- o196.TopSurface = Enum.SurfaceType.Weld
- o196.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o196.Position = Vector3.new(14.549118, 3.42920637, 115.307251)
- o197.Parent = o196
- o197.MeshType = Enum.MeshType.Wedge
- o198.Parent = o186
- o198.BrickColor = BrickColor.new("Really black")
- o198.Position = Vector3.new(14.5517426, 2.82920456, 115.306732)
- o198.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
- o198.FormFactor = Enum.FormFactor.Plate
- o198.Size = Vector3.new(1, 0.400000006, 3)
- o198.CFrame = CFrame.new(14.5517426, 2.82920456, 115.306732, 0.0371986628, -0.00437431643, 0.999296308, 0.00102516357, 0.999990046, 0.00433917856, -0.999305248, 0.000863034162, 0.0371984839)
- o198.BottomSurface = Enum.SurfaceType.Smooth
- o198.TopSurface = Enum.SurfaceType.Weld
- o198.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o198.Position = Vector3.new(14.5517426, 2.82920456, 115.306732)
- o199.Parent = o186
- o199.BrickColor = BrickColor.new("Really black")
- o199.Position = Vector3.new(11.9977074, 2.81681871, 116.7127)
- o199.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o199.FormFactor = Enum.FormFactor.Plate
- o199.Size = Vector3.new(2, 0.400000006, 2)
- o199.CFrame = CFrame.new(11.9977074, 2.81681871, 116.7127, -0.999296308, -0.00437431643, 0.0371986628, -0.00433917856, 0.999990046, 0.00102516357, -0.0371984839, 0.000863034162, -0.999305248)
- o199.BottomSurface = Enum.SurfaceType.Smooth
- o199.TopSurface = Enum.SurfaceType.Weld
- o199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o199.Position = Vector3.new(11.9977074, 2.81681871, 116.7127)
- o200.Parent = o186
- o200.BrickColor = BrickColor.new("Really black")
- o200.Position = Vector3.new(11.9950829, 3.416816, 116.713211)
- o200.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
- o200.FormFactor = Enum.FormFactor.Plate
- o200.Size = Vector3.new(2, 0.800000012, 2)
- o200.CFrame = CFrame.new(11.9950829, 3.416816, 116.713211, 0.0371986628, -0.00437431643, 0.999296308, 0.00102516357, 0.999990046, 0.00433917856, -0.999305248, 0.000863034162, 0.0371984839)
- o200.BottomSurface = Enum.SurfaceType.Weld
- o200.TopSurface = Enum.SurfaceType.Weld
- o200.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o200.Position = Vector3.new(11.9950829, 3.416816, 116.713211)
- o201.Parent = o200
- o201.MeshType = Enum.MeshType.Wedge
- o202.Parent = o186
- o202.BrickColor = BrickColor.new("Bright yellow")
- o202.Position = Vector3.new(14.9850998, 5.22981071, 116.826363)
- o202.Rotation = Vector3.new(173.349991, -87.8499985, 173.289993)
- o202.FormFactor = Enum.FormFactor.Symmetric
- o202.Size = Vector3.new(2, 2, 2)
- o202.CFrame = CFrame.new(14.9850998, 5.22981071, 116.826363, -0.0371983722, -0.00437431643, -0.999296606, -0.00102516252, 0.999990046, -0.00433917902, 0.999305546, 0.000863034162, -0.0371987894)
- o202.BackSurface = Enum.SurfaceType.Weld
- o202.BottomSurface = Enum.SurfaceType.Weld
- o202.RightSurface = Enum.SurfaceType.Hinge
- o202.TopSurface = Enum.SurfaceType.Weld
- o202.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o202.Position = Vector3.new(14.9850998, 5.22981071, 116.826363)
- o203.Parent = o202
- o203.MeshType = Enum.MeshType.Wedge
- o204.Parent = o186
- o204.BrickColor = BrickColor.new("Bright yellow")
- o204.Position = Vector3.new(12.9865103, 5.22113228, 116.751961)
- o204.Rotation = Vector3.new(-6.64999962, 87.8499985, -173.289993)
- o204.FormFactor = Enum.FormFactor.Symmetric
- o204.Size = Vector3.new(2, 2, 2)
- o204.CFrame = CFrame.new(12.9865103, 5.22113228, 116.751961, -0.0371982008, 0.00437431643, 0.999296784, -0.00102516206, -0.999990046, 0.00433917996, 0.999305725, -0.000863034162, 0.0371989757)
- o204.BackSurface = Enum.SurfaceType.Weld
- o204.BottomSurface = Enum.SurfaceType.Weld
- o204.TopSurface = Enum.SurfaceType.Weld
- o204.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o204.Position = Vector3.new(12.9865103, 5.22113228, 116.751961)
- o205.Parent = o204
- o205.MeshType = Enum.MeshType.Wedge
- o206.Parent = o186
- o206.BrickColor = BrickColor.new("Really black")
- o206.Position = Vector3.new(12.979948, 6.7211175, 116.753258)
- o206.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
- o206.FormFactor = Enum.FormFactor.Symmetric
- o206.Size = Vector3.new(2, 1, 2)
- o206.CFrame = CFrame.new(12.979948, 6.7211175, 116.753258, 0.0371979699, -0.00437431643, 0.999297023, 0.00102516124, 0.999990046, 0.00433918042, -0.999305964, 0.000863034162, 0.0371992216)
- o206.BottomSurface = Enum.SurfaceType.Weld
- o206.TopSurface = Enum.SurfaceType.Weld
- o206.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o206.Position = Vector3.new(12.979948, 6.7211175, 116.753258)
- o207.Parent = o186
- o207.BrickColor = BrickColor.new("Bright yellow")
- o207.Position = Vector3.new(14.9719772, 8.22979069, 116.828957)
- o207.Rotation = Vector3.new(173.349991, -87.8499985, -6.71000004)
- o207.CanCollide = false
- o207.FormFactor = Enum.FormFactor.Symmetric
- o207.Size = Vector3.new(2, 2, 2)
- o207.CFrame = CFrame.new(14.9719772, 8.22979069, 116.828957, 0.0371965952, 0.00437431643, -0.999298394, 0.00102515635, -0.999990046, -0.00433918508, -0.999307454, -0.000863034162, -0.0372007079)
- o207.BackSurface = Enum.SurfaceType.Weld
- o207.BottomSurface = Enum.SurfaceType.Smooth
- o207.LeftSurface = Enum.SurfaceType.Hinge
- o207.TopSurface = Enum.SurfaceType.Weld
- o207.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o207.Position = Vector3.new(14.9719772, 8.22979069, 116.828957)
- o208.Parent = o207
- o208.MeshType = Enum.MeshType.Wedge
- o209.Parent = o186
- o209.BrickColor = BrickColor.new("Bright yellow")
- o209.Position = Vector3.new(12.9733868, 8.22111225, 116.754555)
- o209.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
- o209.CanCollide = false
- o209.FormFactor = Enum.FormFactor.Symmetric
- o209.Size = Vector3.new(2, 2, 2)
- o209.CFrame = CFrame.new(12.9733868, 8.22111225, 116.754555, 0.0371975116, -0.00437431643, 0.9992975, 0.00102515961, 0.999990046, 0.00433918182, -0.99930644, 0.000863034162, 0.037199717)
- o209.BackSurface = Enum.SurfaceType.Weld
- o209.BottomSurface = Enum.SurfaceType.Weld
- o209.TopSurface = Enum.SurfaceType.Smooth
- o209.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o209.Position = Vector3.new(12.9733868, 8.22111225, 116.754555)
- o210.Parent = o209
- o210.MeshType = Enum.MeshType.Wedge
- o211.Parent = o209
- o211.Texture = "http://www.roblox.com/asset/?id=13402884"
- o212.Name = "RCCar3"
- o212.Parent = o152
- o213.Name = "P3"
- o213.Parent = o212
- o214.Name = "Script Don't edit!"
- o214.Parent = o213
- runDummyScript(function()
- local seat = script.Parent.VehicleSeat
- Speed=0.1
- r1=script.Parent.R1
- r2=script.Parent.R2
- l1=script.Parent.L1
- l2=script.Parent.L2
- while true do
- wait()
- if seat.Throttle == -1 then
- l2.RightParamA=Speed
- l2.RightParamB=-Speed
- r2.RightParamA=-Speed
- r2.RightParamB=Speed
- end
- if seat.Throttle == 1 then
- l2.RightParamA=-Speed
- l2.RightParamB=Speed
- r2.RightParamA=Speed
- r2.RightParamB=-Speed
- end
- if seat.Steer == -1 then
- l1.RightParamA=Speed
- l1.RightParamB=-Speed
- r1.RightParamA=Speed
- r1.RightParamB=-Speed
- end
- if seat.Steer == 1 then
- l1.RightParamA=-Speed
- l1.RightParamB=Speed
- r1.RightParamA=-Speed
- r1.RightParamB=Speed
- end
- if seat.Steer == 0 and seat.Throttle == 0 then
- l1.RightParamA=0
- l1.RightParamB=0
- l2.RightParamA=0
- l2.RightParamB=0
- r1.RightParamA=0
- r1.RightParamB=0
- r2.RightParamA=0
- r2.RightParamB=0
- end
- end
- end,o214)
- o215.Name = "L2"
- o215.Parent = o213
- o215.BrickColor = BrickColor.new("Really black")
- o215.Position = Vector3.new(16.8707638, 5.50968838, 119.398567)
- o215.Rotation = Vector3.new(104.68, -81.6100006, -75.2299957)
- o215.CanCollide = false
- o215.FormFactor = Enum.FormFactor.Symmetric
- o215.Friction = 1
- o215.Size = Vector3.new(1, 2, 2)
- o215.CFrame = CFrame.new(16.8707638, 5.50968838, 119.398567, 0.0371958837, 0.141068831, -0.989300787, 0.00102120475, -0.989990711, -0.141128808, -0.999307454, 0.00423913216, -0.0369676389)
- o215.BackSurface = Enum.SurfaceType.Weld
- o215.BottomSurface = Enum.SurfaceType.Smooth
- o215.FrontSurface = Enum.SurfaceType.Weld
- o215.LeftSurface = Enum.SurfaceType.Hinge
- o215.RightSurface = Enum.SurfaceType.Motor
- o215.TopSurface = Enum.SurfaceType.Smooth
- o215.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o215.Position = Vector3.new(16.8707638, 5.50968838, 119.398567)
- o216.Name = "R1"
- o216.Parent = o213
- o216.BrickColor = BrickColor.new("Really black")
- o216.Transparency = 1
- o216.Position = Vector3.new(15.1053391, 3.25290775, 113.826736)
- o216.Rotation = Vector3.new(90.2299957, -4.67999983, 92.1399994)
- o216.FormFactor = Enum.FormFactor.Symmetric
- o216.Friction = 1
- o216.Shape = Enum.PartType.Cylinder
- o216.Size = Vector3.new(2, 2, 2)
- o216.CFrame = CFrame.new(15.1053391, 3.25290775, 113.826736, -0.0372006223, -0.9959777, -0.0815137178, -0.0010249567, 0.0816081613, -0.996663988, 0.999307275, -0.0369929709, -0.00405670842)
- o216.BottomSurface = Enum.SurfaceType.Smooth
- o216.RightSurface = Enum.SurfaceType.Motor
- o216.TopSurface = Enum.SurfaceType.Smooth
- o216.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o216.Position = Vector3.new(15.1053391, 3.25290775, 113.826736)
- o217.Name = "R2"
- o217.Parent = o213
- o217.BrickColor = BrickColor.new("Really black")
- o217.Position = Vector3.new(16.8574486, 8.50967789, 119.401199)
- o217.Rotation = Vector3.new(89.75, 8.10999966, 92.1500015)
- o217.CanCollide = false
- o217.FormFactor = Enum.FormFactor.Symmetric
- o217.Friction = 1
- o217.Size = Vector3.new(1, 2, 2)
- o217.CFrame = CFrame.new(16.8574486, 8.50967789, 119.401199, -0.0372036025, -0.989297569, 0.141089305, -0.00102062232, -0.141149357, -0.989987791, 0.999307156, -0.0369751118, 0.00424156571)
- o217.BottomSurface = Enum.SurfaceType.Weld
- o217.LeftSurface = Enum.SurfaceType.Hinge
- o217.RightSurface = Enum.SurfaceType.Motor
- o217.TopSurface = Enum.SurfaceType.Weld
- o217.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o217.Position = Vector3.new(16.8574486, 8.50967789, 119.401199)
- o218.Name = "L1"
- o218.Parent = o213
- o218.BrickColor = BrickColor.new("Really black")
- o218.Transparency = 1
- o218.Position = Vector3.new(18.6534405, 3.80639434, 124.96711)
- o218.Rotation = Vector3.new(89.0899963, 24.4300003, -87.6500015)
- o218.FormFactor = Enum.FormFactor.Symmetric
- o218.Friction = 1
- o218.Shape = Enum.PartType.Cylinder
- o218.Size = Vector3.new(2, 2, 2)
- o218.CFrame = CFrame.new(18.6534405, 3.80639434, 124.96711, 0.0372656249, 0.909716904, 0.413553357, 0.000996667659, 0.413806766, -0.910364211, -0.999304891, 0.0343374647, 0.0145140821)
- o218.BottomSurface = Enum.SurfaceType.Smooth
- o218.RightSurface = Enum.SurfaceType.Motor
- o218.TopSurface = Enum.SurfaceType.Smooth
- o218.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o218.Position = Vector3.new(18.6534405, 3.80639434, 124.96711)
- o219.Parent = o213
- o219.BrickColor = BrickColor.new("Dark stone grey")
- o219.Position = Vector3.new(16.8464108, 11.0095568, 119.403336)
- o219.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o219.Size = Vector3.new(5, 1, 2)
- o219.CFrame = CFrame.new(16.8464108, 11.0095568, 119.403336, 0.0371992104, -0.00443075923, 0.999298036, 0.00103380461, 0.999989808, 0.00439534243, -0.999307334, 0.000869575655, 0.0372034125)
- o219.TopSurface = Enum.SurfaceType.Universal
- o219.MaxSpeed = 4
- o219.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o219.Position = Vector3.new(16.8464108, 11.0095568, 119.403336)
- o220.Parent = o219
- runDummyScript(function()
- --function add(p)
- script.Parent.ChildRemoved:connect(function()
- --local a = script.Parent.Parent.Safe:FindFirstChild("SeatWeld")
- --if a ~= nil then return end
- wait(1)
- script.Parent.Parent.Parent.Parent.Parent:remove()
- end)
- --[[for i = 1, 6 do
- local ex = Instance.new("Explosion")
- ex.Position = script.Parent.Position + Vector3.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- ex.BlastRadius = 2
- ex.BlastPressure = 1000
- ex.Parent = game.Workspace
- wait()
- end--]]
- --end
- --script.Parent.ChildAdded:connect(add)
- end,o220)
- o221.Parent = o151
- o222.Parent = o221
- o223.Parent = o222
- o223.BrickColor = BrickColor.new("Bright yellow")
- o223.Position = Vector3.new(14.5550337, 10.5042629, 113.813728)
- o223.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
- o223.FormFactor = Enum.FormFactor.Symmetric
- o223.Size = Vector3.new(2, 2, 3)
- o223.CFrame = CFrame.new(14.5550337, 10.5042629, 113.813728, -0.0372107178, -0.00443084026, -0.999298155, -0.00103392976, 0.999989808, -0.00439534197, 0.999307036, 0.000869570882, -0.037203148)
- o223.BackSurface = Enum.SurfaceType.Weld
- o223.BottomSurface = Enum.SurfaceType.Smooth
- o223.TopSurface = Enum.SurfaceType.Smooth
- o223.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o223.Position = Vector3.new(14.5550337, 10.5042629, 113.813728)
- o224.Parent = o222
- o224.BrickColor = BrickColor.new("Bright yellow")
- o224.Position = Vector3.new(17.0554924, 10.0152397, 113.906319)
- o224.Rotation = Vector3.new(173.259995, -87.8499985, -6.78999996)
- o224.FormFactor = Enum.FormFactor.Symmetric
- o224.Size = Vector3.new(2, 1, 2)
- o224.CFrame = CFrame.new(17.0554924, 10.0152397, 113.906319, 0.0372107029, 0.00443084026, -0.999298155, 0.00103392953, -0.999989808, -0.00439534197, -0.999307036, -0.000869570998, -0.0372031629)
- o224.BackSurface = Enum.SurfaceType.Weld
- o224.BottomSurface = Enum.SurfaceType.Weld
- o224.TopSurface = Enum.SurfaceType.Weld
- o224.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o224.Position = Vector3.new(17.0554924, 10.0152397, 113.906319)
- o225.Parent = o224
- o225.MeshType = Enum.MeshType.Wedge
- o226.Parent = o222
- o226.BrickColor = BrickColor.new("Really black")
- o226.Position = Vector3.new(17.0488434, 11.5152359, 113.907623)
- o226.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o226.FormFactor = Enum.FormFactor.Symmetric
- o226.Size = Vector3.new(2, 2, 2)
- o226.CFrame = CFrame.new(17.0488434, 11.5152359, 113.907623, -0.999298155, -0.00443084026, 0.0372106731, -0.00439534197, 0.999989808, 0.00103392918, -0.0372031927, 0.000869571173, -0.999307036)
- o226.BottomSurface = Enum.SurfaceType.Weld
- o226.TopSurface = Enum.SurfaceType.Weld
- o226.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o226.Position = Vector3.new(17.0488434, 11.5152359, 113.907623)
- o227.Parent = o222
- o227.BrickColor = BrickColor.new("Bright yellow")
- o227.Position = Vector3.new(16.5425415, 13.0130243, 113.890312)
- o227.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o227.FormFactor = Enum.FormFactor.Symmetric
- o227.Size = Vector3.new(2, 1, 1)
- o227.CFrame = CFrame.new(16.5425415, 13.0130243, 113.890312, 0.0372108482, -0.00443084119, 0.999298155, 0.00103393116, 0.999989808, 0.0043953415, -0.999307036, 0.000869570009, 0.0372030176)
- o227.BackSurface = Enum.SurfaceType.Weld
- o227.BottomSurface = Enum.SurfaceType.Weld
- o227.TopSurface = Enum.SurfaceType.Weld
- o227.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o227.Position = Vector3.new(16.5425415, 13.0130243, 113.890312)
- o228.Parent = o227
- o228.MeshType = Enum.MeshType.Wedge
- o229.Parent = o227
- o229.Texture = "http://www.roblox.com/asset/?id=13402884"
- o230.Parent = o222
- o230.BrickColor = BrickColor.new("Bright yellow")
- o230.Position = Vector3.new(17.5418472, 13.0174198, 113.927513)
- o230.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
- o230.FormFactor = Enum.FormFactor.Symmetric
- o230.Size = Vector3.new(2, 1, 1)
- o230.CFrame = CFrame.new(17.5418472, 13.0174198, 113.927513, -0.0372108482, -0.00443084119, -0.999298155, -0.00103393116, 0.999989808, -0.0043953415, 0.999307036, 0.000869570009, -0.0372030176)
- o230.BackSurface = Enum.SurfaceType.Weld
- o230.BottomSurface = Enum.SurfaceType.Weld
- o230.TopSurface = Enum.SurfaceType.Weld
- o230.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o230.Position = Vector3.new(17.5418472, 13.0174198, 113.927513)
- o231.Parent = o230
- o231.MeshType = Enum.MeshType.Wedge
- o232.Parent = o230
- o232.Texture = "http://www.roblox.com/asset/?id=13402884"
- o233.Parent = o221
- o234.Name = "Switch"
- o234.Parent = o233
- o234.BrickColor = BrickColor.new("Bright green")
- o234.Position = Vector3.new(14.1050806, 14.9992819, 117.30407)
- o234.Rotation = Vector3.new(-89.9499969, -0.25, 87.8699951)
- o234.CanCollide = false
- o234.FormFactor = Enum.FormFactor.Plate
- o234.Size = Vector3.new(1, 0.400000006, 1)
- o234.CFrame = CFrame.new(14.1050806, 14.9992819, 117.30407, 0.0372057967, -0.999297917, -0.00443072803, 0.00103387667, -0.00439529121, 0.999989808, -0.999307096, -0.037207976, 0.000869606447)
- o234.BottomSurface = Enum.SurfaceType.Weld
- o234.TopSurface = Enum.SurfaceType.Weld
- o234.Color = Color3.new(0.294118, 0.592157, 0.294118)
- o234.Position = Vector3.new(14.1050806, 14.9992819, 117.30407)
- o235.Name = "GunSound"
- o235.Parent = o234
- o235.SoundId = "http://www.roblox.com/asset?id=2101148"
- o235.Volume = 1
- o236.Parent = o234
- o236.MaxActivationDistance = 10
- o237.Name = "CannonBall"
- o237.Parent = o234
- o237.Disabled = true
- runDummyScript(function()
- ball = script.Parent
- damage = 1000
- function onTouched(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid~=nil then
- tagHumanoid(humanoid)
- humanoid.Health = humanoid.Health - damage
- wait(0.01)
- untagHumanoid(humanoid)
- connection:disconnect()
- else
- damage = damage / 2
- if damage < 2 then
- connection:disconnect()
- ball.Parent = nil
- end
- end
- if math.random(1,1) == 1 then
- explosion = Instance.new("Explosion")
- explosion.BlastRadius = 2
- explosion.BlastPressure = 5 -- these are really wussy units
- explosion.Position = script.Parent.Position
- explosion.Parent = game.Workspace
- connection:disconnect()
- ball.Parent = nil
- cancollide = true
- end
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- connection = ball.Touched:connect(onTouched)
- r = game:service("RunService")
- t, s = r.Stepped:wait()
- d = t + 5.0 - s
- while t < d do
- t = r.Stepped:wait()
- end
- ball.Parent = nil
- end,o237)
- o238.Name = "FireGun"
- o238.Parent = o234
- runDummyScript(function()
- local switch = script.Parent
- local gunBarrelOne = script.Parent.Parent.GunBarrel.One
- local debounce = false
- local gunOne = true
- local cannonBall = Instance.new("Part")
- cannonBall.Size = Vector3.new(1,1,1)
- cannonBall.BrickColor = BrickColor.new(26) -- Really black
- cannonBall.Shape = 0
- cannonBall.BottomSurface = 0
- cannonBall.TopSurface = 0
- cannonBall.Name = "Cannon Shot"
- cannonBall.Elasticity = .1
- cannonBall.Reflectance = 0
- cannonBall.Friction = 0
- function fire(player)
- local sound = script.Parent:findFirstChild("GunSound")
- if sound == nil then
- sound = Instance.new("Sound")
- sound.Name = "GunSound"
- sound.SoundId = "http://www.roblox.com/asset?id=2101148"
- sound.Volume = 1
- sound.Parent = script.Parent
- end
- sound:play()
- local missile = Instance.new("Part")
- local barrel
- if gunOne == true then
- barrel = gunBarrelOne
- gunOne = true
- end
- local spawnPos = barrel.CFrame * Vector3.new(6, 0, 0)
- local dx = math.random(50,50)
- local dy = math.random(0,0)
- local dz = math.random(0,0)
- local mag = math.random(300,300)
- local v = barrel.CFrame:vectorToWorldSpace(Vector3.new(mag + dx,dy,dz))
- local missile = cannonBall:clone()
- missile.Position = spawnPos
- missile.Velocity = v
- local new_script = script.Parent.CannonBall:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- missile.Parent = game.Workspace
- end
- function onClicked()
- if debounce == false then
- debounce = true
- switch.BrickColor = BrickColor.new(21)
- -- let slip the dogs of war
- fire(player)
- wait(.1)
- wait(0.5)
- debounce = false
- switch.BrickColor = BrickColor.new(37)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o238)
- o239.Parent = o234
- o239.Texture = "http://www.roblox.com/asset/?id=17375531"
- o239.Face = Enum.NormalId.Bottom
- o240.Name = "GunBarrel"
- o240.Parent = o233
- o241.Name = "One"
- o241.Parent = o240
- o241.BrickColor = BrickColor.new("Really black")
- o241.Position = Vector3.new(12.0567865, 10.4932709, 113.720718)
- o241.Rotation = Vector3.new(90.0499954, 0.25, -177.869995)
- o241.FormFactor = Enum.FormFactor.Symmetric
- o241.Shape = Enum.PartType.Cylinder
- o241.Size = Vector3.new(2, 2, 2)
- o241.CFrame = CFrame.new(12.0567865, 10.4932709, 113.720718, -0.999298155, 0.0372107327, 0.00443084026, -0.00439534197, 0.00103392999, -0.999989808, -0.0372031331, -0.999307036, -0.000869570766)
- o241.BottomSurface = Enum.SurfaceType.Smooth
- o241.LeftSurface = Enum.SurfaceType.Weld
- o241.TopSurface = Enum.SurfaceType.Smooth
- o241.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o241.Position = Vector3.new(12.0567865, 10.4932709, 113.720718)
- o242.Parent = o221
- o243.Parent = o242
- o243.BrickColor = BrickColor.new("Bright yellow")
- o243.Position = Vector3.new(18.8317242, 14.0183163, 119.480339)
- o243.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o243.FormFactor = Enum.FormFactor.Symmetric
- o243.Size = Vector3.new(7, 3, 2)
- o243.CFrame = CFrame.new(18.8317242, 14.0183163, 119.480339, 0.0371992551, -0.00443075923, 0.999298036, 0.00103380519, 0.999989808, 0.00439534243, -0.999307334, 0.000869575306, 0.0372033678)
- o243.BottomSurface = Enum.SurfaceType.Weld
- o243.TopSurface = Enum.SurfaceType.Weld
- o243.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o243.Position = Vector3.new(18.8317242, 14.0183163, 119.480339)
- o244.Parent = o242
- o244.BrickColor = BrickColor.new("Light blue")
- o244.Transparency = 0.60000002384186
- o244.Position = Vector3.new(14.8212423, 17.0007114, 119.334145)
- o244.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o244.CanCollide = false
- o244.FormFactor = Enum.FormFactor.Symmetric
- o244.Size = Vector3.new(7, 1, 2)
- o244.CFrame = CFrame.new(14.8212423, 17.0007114, 119.334145, 0.0372015499, -0.00443077506, 0.999298096, 0.00103383034, 0.999989808, 0.00439532846, -0.999307275, 0.000869559823, 0.0372010767)
- o244.BottomSurface = Enum.SurfaceType.Weld
- o244.TopSurface = Enum.SurfaceType.Weld
- o244.Color = Color3.new(0.705882, 0.823529, 0.894118)
- o244.Position = Vector3.new(14.8212423, 17.0007114, 119.334145)
- o245.Parent = o244
- o245.MeshType = Enum.MeshType.Wedge
- o246.Parent = o242
- o246.BrickColor = BrickColor.new("Light blue")
- o246.Transparency = 0.60000002384186
- o246.Position = Vector3.new(15.717803, 15.0020247, 122.367538)
- o246.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o246.CanCollide = false
- o246.FormFactor = Enum.FormFactor.Symmetric
- o246.Size = Vector3.new(1, 3, 4)
- o246.CFrame = CFrame.new(15.717803, 15.0020247, 122.367538, 0.0371993817, -0.00443076016, 0.999298036, 0.00103380659, 0.999989808, 0.0043953415, -0.999307334, 0.000869574433, 0.0372032411)
- o246.BottomSurface = Enum.SurfaceType.Weld
- o246.TopSurface = Enum.SurfaceType.Weld
- o246.Color = Color3.new(0.705882, 0.823529, 0.894118)
- o246.Position = Vector3.new(15.717803, 15.0020247, 122.367538)
- o247.Parent = o242
- o247.BrickColor = BrickColor.new("Bright yellow")
- o247.Position = Vector3.new(16.819849, 17.0095024, 119.408508)
- o247.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o247.CanCollide = false
- o247.FormFactor = Enum.FormFactor.Symmetric
- o247.Size = Vector3.new(7, 1, 2)
- o247.CFrame = CFrame.new(16.819849, 17.0095024, 119.408508, 0.0371999182, -0.00443076389, 0.999298036, 0.00103381253, 0.999989808, 0.00439533824, -0.999307334, 0.000869570824, 0.0372027047)
- o247.BackSurface = Enum.SurfaceType.Weld
- o247.BottomSurface = Enum.SurfaceType.Weld
- o247.FrontSurface = Enum.SurfaceType.Weld
- o247.TopSurface = Enum.SurfaceType.Smooth
- o247.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o247.Position = Vector3.new(16.819849, 17.0095024, 119.408508)
- o248.Parent = o242
- o248.BrickColor = BrickColor.new("Light blue")
- o248.Transparency = 0.60000002384186
- o248.Position = Vector3.new(15.9410095, 15.0082283, 116.371712)
- o248.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o248.CanCollide = false
- o248.FormFactor = Enum.FormFactor.Symmetric
- o248.Size = Vector3.new(1, 3, 4)
- o248.CFrame = CFrame.new(15.9410095, 15.0082283, 116.371712, 0.037201535, -0.00443077506, 0.999298096, 0.00103383011, 0.999989808, 0.00439532846, -0.999307275, 0.000869559939, 0.0372010916)
- o248.BottomSurface = Enum.SurfaceType.Weld
- o248.TopSurface = Enum.SurfaceType.Weld
- o248.Color = Color3.new(0.705882, 0.823529, 0.894118)
- o248.Position = Vector3.new(15.9410095, 15.0082283, 116.371712)
- o249.Parent = o242
- o249.BrickColor = BrickColor.new("Really black")
- o249.Position = Vector3.new(18.8427925, 11.5183401, 119.478195)
- o249.Rotation = Vector3.new(-89.9499969, -0.25, -92.1299973)
- o249.FormFactor = Enum.FormFactor.Symmetric
- o249.Size = Vector3.new(7, 2, 2)
- o249.CFrame = CFrame.new(18.8427925, 11.5183401, 119.478195, -0.0371992253, 0.999298036, -0.00443075923, -0.00103380485, 0.00439534243, 0.999989808, 0.999307334, 0.0372033976, 0.000869575539)
- o249.BackSurface = Enum.SurfaceType.Weld
- o249.BottomSurface = Enum.SurfaceType.Weld
- o249.TopSurface = Enum.SurfaceType.Weld
- o249.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o249.Position = Vector3.new(18.8427925, 11.5183401, 119.478195)
- o250.Parent = o249
- o250.MeshType = Enum.MeshType.Wedge
- o251.Parent = o242
- o251.BrickColor = BrickColor.new("Really black")
- o251.Position = Vector3.new(18.820652, 16.5182934, 119.482513)
- o251.Rotation = Vector3.new(90.0499954, 0.25, -87.8699951)
- o251.FormFactor = Enum.FormFactor.Symmetric
- o251.Size = Vector3.new(7, 2, 2)
- o251.CFrame = CFrame.new(18.820652, 16.5182934, 119.482513, 0.03719927, 0.999298036, 0.00443075923, 0.00103380543, 0.00439534243, -0.999989808, -0.999307334, 0.0372033529, -0.000869575189)
- o251.BackSurface = Enum.SurfaceType.Weld
- o251.BottomSurface = Enum.SurfaceType.Weld
- o251.TopSurface = Enum.SurfaceType.Weld
- o251.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o251.Position = Vector3.new(18.820652, 16.5182934, 119.482513)
- o252.Parent = o251
- o252.MeshType = Enum.MeshType.Wedge
- o253.Parent = o251
- o253.Texture = "http://www.roblox.com/asset/?id=13402884"
- o253.Face = Enum.NormalId.Right
- o254.Parent = o251
- o254.Texture = "http://www.roblox.com/asset/?id=13402884"
- o254.Face = Enum.NormalId.Left
- o255.Parent = o242
- o255.BrickColor = BrickColor.new("Really black")
- o255.Position = Vector3.new(16.6909657, 12.5054045, 123.401855)
- o255.Rotation = Vector3.new(-6.73999977, 87.8499985, -83.2099991)
- o255.FormFactor = Enum.FormFactor.Symmetric
- o255.Size = Vector3.new(2, 1, 2)
- o255.CFrame = CFrame.new(16.6909657, 12.5054045, 123.401855, 0.00443076575, 0.037200097, 0.999298036, -0.999989808, 0.00103381439, 0.00439533684, -0.00086956966, -0.999307334, 0.0372025259)
- o255.BottomSurface = Enum.SurfaceType.Weld
- o255.TopSurface = Enum.SurfaceType.Weld
- o255.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o255.Position = Vector3.new(16.6909657, 12.5054045, 123.401855)
- o256.Parent = o255
- o257.Parent = o242
- o257.BrickColor = BrickColor.new("Really black")
- o257.Position = Vector3.new(16.2307377, 12.0042439, 122.38353)
- o257.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o257.FormFactor = Enum.FormFactor.Symmetric
- o257.Size = Vector3.new(1, 3, 3)
- o257.CFrame = CFrame.new(16.2307377, 12.0042439, 122.38353, 0.0371996686, -0.00443076249, 0.999298036, 0.00103380973, 0.999989808, 0.00439533964, -0.999307334, 0.00086957257, 0.0372029543)
- o257.BottomSurface = Enum.SurfaceType.Weld
- o257.TopSurface = Enum.SurfaceType.Weld
- o257.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o257.Position = Vector3.new(16.2307377, 12.0042439, 122.38353)
- o258.Parent = o242
- o258.BrickColor = BrickColor.new("Really black")
- o258.Position = Vector3.new(16.9885902, 12.5136766, 115.40744)
- o258.Rotation = Vector3.new(-6.73999977, 87.8499985, -83.2099991)
- o258.FormFactor = Enum.FormFactor.Symmetric
- o258.Size = Vector3.new(2, 1, 2)
- o258.CFrame = CFrame.new(16.9885902, 12.5136766, 115.40744, 0.00443083979, 0.0372106098, 0.999298155, -0.999989808, 0.00103392859, 0.00439534243, -0.000869571581, -0.999307036, 0.037203256)
- o258.BottomSurface = Enum.SurfaceType.Weld
- o258.TopSurface = Enum.SurfaceType.Weld
- o258.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o258.Position = Vector3.new(16.9885902, 12.5136766, 115.40744)
- o259.Parent = o258
- o260.Parent = o242
- o260.BrickColor = BrickColor.new("Light blue")
- o260.Transparency = 0.60000002384186
- o260.Position = Vector3.new(13.3311539, 14.9941301, 119.276619)
- o260.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o260.CanCollide = false
- o260.FormFactor = Enum.FormFactor.Symmetric
- o260.Size = Vector3.new(7, 3, 1)
- o260.CFrame = CFrame.new(13.3311539, 14.9941301, 119.276619, 0.0372057818, -0.00443072803, 0.999297917, 0.00103387644, 0.999989808, 0.00439529121, -0.999307096, 0.000869606563, 0.0372079909)
- o260.BottomSurface = Enum.SurfaceType.Weld
- o260.TopSurface = Enum.SurfaceType.Weld
- o260.Color = Color3.new(0.705882, 0.823529, 0.894118)
- o260.Position = Vector3.new(13.3311539, 14.9941301, 119.276619)
- o261.Parent = o260
- o261.MeshType = Enum.MeshType.Wedge
- o262.Parent = o242
- o262.BrickColor = BrickColor.new("Really black")
- o262.Position = Vector3.new(16.4539661, 12.0104523, 116.387711)
- o262.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o262.FormFactor = Enum.FormFactor.Symmetric
- o262.Size = Vector3.new(1, 3, 3)
- o262.CFrame = CFrame.new(16.4539661, 12.0104523, 116.387711, 0.0372057632, -0.00443080673, 0.999297857, 0.00103387586, 0.999989808, 0.0043953713, -0.999307096, 0.000869604177, 0.0372080989)
- o262.BottomSurface = Enum.SurfaceType.Weld
- o262.TopSurface = Enum.SurfaceType.Weld
- o262.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o262.Position = Vector3.new(16.4539661, 12.0104523, 116.387711)
- o263.Parent = o242
- o263.BrickColor = BrickColor.new("Bright yellow")
- o263.Position = Vector3.new(14.229928, 12.4954462, 122.30954)
- o263.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o263.FormFactor = Enum.FormFactor.Symmetric
- o263.Size = Vector3.new(1, 2, 1)
- o263.CFrame = CFrame.new(14.229928, 12.4954462, 122.30954, 0.0372015089, -0.00443077506, 0.999298155, 0.00103382976, 0.999989808, 0.00439532846, -0.999307215, 0.00086956023, 0.0372011177)
- o263.BackSurface = Enum.SurfaceType.Weld
- o263.BottomSurface = Enum.SurfaceType.Weld
- o263.TopSurface = Enum.SurfaceType.Weld
- o263.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o263.Position = Vector3.new(14.229928, 12.4954462, 122.30954)
- o264.Parent = o242
- o264.BrickColor = BrickColor.new("Bright yellow")
- o264.Position = Vector3.new(14.4531488, 12.5016565, 116.313721)
- o264.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o264.FormFactor = Enum.FormFactor.Symmetric
- o264.Size = Vector3.new(1, 2, 1)
- o264.CFrame = CFrame.new(14.4531488, 12.5016565, 116.313721, 0.0372111164, -0.00443084491, 0.999297976, 0.0010339343, 0.999989808, 0.00439535966, -0.999306858, 0.000869590265, 0.0372061655)
- o264.BackSurface = Enum.SurfaceType.Weld
- o264.BottomSurface = Enum.SurfaceType.Weld
- o264.TopSurface = Enum.SurfaceType.Weld
- o264.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o264.Position = Vector3.new(14.4531488, 12.5016565, 116.313721)
- o265.Parent = o242
- o265.BrickColor = BrickColor.new("Bright yellow")
- o265.Position = Vector3.new(16.3511963, 10.0073576, 119.383865)
- o265.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o265.FormFactor = Enum.FormFactor.Symmetric
- o265.Size = Vector3.new(7, 1, 3)
- o265.CFrame = CFrame.new(16.3511963, 10.0073576, 119.383865, 0.0371992253, -0.00443075923, 0.999298036, 0.00103380485, 0.999989808, 0.00439534243, -0.999307334, 0.000869575539, 0.0372033976)
- o265.BottomSurface = Enum.SurfaceType.Smooth
- o265.TopSurface = Enum.SurfaceType.Weld
- o265.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o265.Position = Vector3.new(16.3511963, 10.0073576, 119.383865)
- o266.Parent = o242
- o266.BrickColor = BrickColor.new("Really black")
- o266.Position = Vector3.new(13.342226, 12.4941559, 119.274445)
- o266.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o266.FormFactor = Enum.FormFactor.Symmetric
- o266.Size = Vector3.new(7, 2, 1)
- o266.CFrame = CFrame.new(13.342226, 12.4941559, 119.274445, 0.0372057669, -0.00443072803, 0.999297917, 0.00103387621, 0.999989808, 0.00439529121, -0.999307096, 0.00086960668, 0.0372080058)
- o266.BackSurface = Enum.SurfaceType.Weld
- o266.BottomSurface = Enum.SurfaceType.Weld
- o266.TopSurface = Enum.SurfaceType.Weld
- o266.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o266.Position = Vector3.new(13.342226, 12.4941559, 119.274445)
- o267.Parent = o242
- o267.BrickColor = BrickColor.new("Bright yellow")
- o267.Position = Vector3.new(13.8507414, 10.4963741, 119.291275)
- o267.Rotation = Vector3.new(-89.9499969, -0.25, 87.8699951)
- o267.FormFactor = Enum.FormFactor.Symmetric
- o267.Size = Vector3.new(7, 2, 2)
- o267.CFrame = CFrame.new(13.8507414, 10.4963741, 119.291275, 0.0372001939, -0.999298096, -0.00443076622, 0.00103381544, -0.00439533638, 0.999989808, -0.999307275, -0.0372024328, 0.000869569078)
- o267.BackSurface = Enum.SurfaceType.Weld
- o267.BottomSurface = Enum.SurfaceType.Weld
- o267.TopSurface = Enum.SurfaceType.Weld
- o267.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o267.Position = Vector3.new(13.8507414, 10.4963741, 119.291275)
- o268.Parent = o267
- o268.MeshType = Enum.MeshType.Wedge
- o269.Parent = o221
- o270.Name = "JointBreaker"
- o270.Parent = o269
- o270.Material = Enum.Material.DiamondPlate
- o270.BrickColor = BrickColor.new("Really black")
- o270.Position = Vector3.new(10.8481083, 10.4783802, 124.683357)
- o270.Rotation = Vector3.new(-179.940002, 2.12999988, 89.75)
- o270.FormFactor = Enum.FormFactor.Plate
- o270.Size = Vector3.new(2, 3.60000014, 2)
- o270.CFrame = CFrame.new(10.8481083, 10.4783802, 124.683357, 0.00443080906, -0.999298394, 0.0372064374, -0.999989808, -0.00439529959, 0.00103388354, -0.000869526935, -0.0371961892, -0.999307096)
- o270.BottomSurface = Enum.SurfaceType.Smooth
- o270.TopSurface = Enum.SurfaceType.Weld
- o270.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o270.Position = Vector3.new(10.8481083, 10.4783802, 124.683357)
- o271.Parent = o270
- runDummyScript(function()
- function onTouched(hit)
- hit:BreakJoints()
- end
- connection = script.Parent.Touched:connect(onTouched)
- end,o271)
- o272.Parent = o270
- o272.MeshType = Enum.MeshType.Torso
- o273.Parent = o269
- o273.BrickColor = BrickColor.new("Bright yellow")
- o273.Position = Vector3.new(14.1457987, 10.4928923, 124.806091)
- o273.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
- o273.FormFactor = Enum.FormFactor.Symmetric
- o273.Size = Vector3.new(2, 2, 3)
- o273.CFrame = CFrame.new(14.1457987, 10.4928923, 124.806091, -0.0372064225, -0.00443080906, -0.999298394, -0.00103388331, 0.999989808, -0.00439529959, 0.999307096, 0.000869527052, -0.0371962041)
- o273.BackSurface = Enum.SurfaceType.Weld
- o273.BottomSurface = Enum.SurfaceType.Smooth
- o273.TopSurface = Enum.SurfaceType.Smooth
- o273.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o273.Position = Vector3.new(14.1457987, 10.4928923, 124.806091)
- o274.Parent = o269
- o274.BrickColor = BrickColor.new("Really black")
- o274.Position = Vector3.new(16.6462574, 10.0038795, 124.898643)
- o274.Rotation = Vector3.new(173.259995, -87.8499985, -6.78999996)
- o274.FormFactor = Enum.FormFactor.Symmetric
- o274.Size = Vector3.new(2, 1, 2)
- o274.CFrame = CFrame.new(16.6462574, 10.0038795, 124.898643, 0.0372063927, 0.00443080906, -0.999298394, 0.00103388296, -0.999989808, -0.00439529959, -0.999307096, -0.000869527226, -0.0371962339)
- o274.BackSurface = Enum.SurfaceType.Weld
- o274.BottomSurface = Enum.SurfaceType.Weld
- o274.TopSurface = Enum.SurfaceType.Weld
- o274.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o274.Position = Vector3.new(16.6462574, 10.0038795, 124.898643)
- o275.Parent = o274
- o275.MeshType = Enum.MeshType.Wedge
- o276.Parent = o269
- o276.BrickColor = BrickColor.new("Really black")
- o276.Position = Vector3.new(16.6396065, 11.50387, 124.899948)
- o276.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
- o276.FormFactor = Enum.FormFactor.Symmetric
- o276.Size = Vector3.new(2, 2, 2)
- o276.CFrame = CFrame.new(16.6396065, 11.50387, 124.899948, -0.999298334, -0.00443079649, 0.0372045897, -0.0043953103, 0.999989808, 0.00103386329, -0.0371980369, 0.000869539392, -0.999307156)
- o276.BottomSurface = Enum.SurfaceType.Weld
- o276.TopSurface = Enum.SurfaceType.Weld
- o276.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o276.Position = Vector3.new(16.6396065, 11.50387, 124.899948)
- o277.Parent = o269
- o277.BrickColor = BrickColor.new("Bright yellow")
- o277.Position = Vector3.new(17.1326103, 13.006052, 124.919838)
- o277.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
- o277.FormFactor = Enum.FormFactor.Symmetric
- o277.Size = Vector3.new(2, 1, 1)
- o277.CFrame = CFrame.new(17.1326103, 13.006052, 124.919838, -0.0372072458, -0.00443081511, -0.999298453, -0.00103389216, 0.999989808, -0.004395294, 0.999307036, 0.000869521464, -0.0371953771)
- o277.BackSurface = Enum.SurfaceType.Weld
- o277.BottomSurface = Enum.SurfaceType.Weld
- o277.TopSurface = Enum.SurfaceType.Weld
- o277.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o277.Position = Vector3.new(17.1326103, 13.006052, 124.919838)
- o278.Parent = o277
- o278.MeshType = Enum.MeshType.Wedge
- o279.Parent = o277
- o279.Texture = "http://www.roblox.com/asset/?id=13402884"
- o280.Parent = o269
- o280.BrickColor = BrickColor.new("Bright yellow")
- o280.Position = Vector3.new(16.1333027, 13.0016546, 124.882652)
- o280.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
- o280.FormFactor = Enum.FormFactor.Symmetric
- o280.Size = Vector3.new(2, 1, 1)
- o280.CFrame = CFrame.new(16.1333027, 13.0016546, 124.882652, 0.0372001119, -0.00443076575, 0.999298036, 0.00103381462, 0.999989808, 0.00439533684, -0.999307334, 0.000869569543, 0.037202511)
- o280.BackSurface = Enum.SurfaceType.Weld
- o280.BottomSurface = Enum.SurfaceType.Weld
- o280.TopSurface = Enum.SurfaceType.Weld
- o280.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o280.Position = Vector3.new(16.1333027, 13.0016546, 124.882652)
- o281.Parent = o280
- o281.MeshType = Enum.MeshType.Wedge
- o282.Parent = o280
- o282.Texture = "http://www.roblox.com/asset/?id=13402884"
- o283.Parent = o151
- o283.BrickColor = BrickColor.new("Black")
- o283.Position = Vector3.new(20.3302288, 14.1249123, 119.536232)
- o283.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
- o283.Size = Vector3.new(5, 1.20000005, 1)
- o283.CFrame = CFrame.new(20.3302288, 14.1249123, 119.536232, -0.03719927, -0.00443075923, -0.999298036, -0.00103380543, 0.999989808, -0.00439534243, 0.999307334, 0.000869575189, -0.0372033529)
- o283.BackSurface = Enum.SurfaceType.Weld
- o283.BottomSurface = Enum.SurfaceType.Weld
- o283.FrontSurface = Enum.SurfaceType.Weld
- o283.LeftSurface = Enum.SurfaceType.Weld
- o283.RightSurface = Enum.SurfaceType.Weld
- o283.TopSurface = Enum.SurfaceType.Weld
- o283.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o283.Position = Vector3.new(20.3302288, 14.1249123, 119.536232)
- o284.Parent = o283
- o284.MaxActivationDistance = 9.9999997781963e+21
- o285.Parent = o283
- o285.force = Vector3.new(0, 0, 0)
- o286.Parent = o283
- runDummyScript(function()
- local isOn = false
- function on()
- isOn = true
- script.Parent.BrickColor = BrickColor.new(29)
- script.Parent.BodyForce.force = Vector3.new(0, 110000, 0)
- end
- function off()
- isOn = false
- script.Parent.BrickColor = BrickColor.new(26)
- script.Parent.BodyForce.force = Vector3.new(0, 0, 0)
- end
- function onClicked()
- if isOn == true then off() else on() end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- off()
- end,o286)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- mess_handle.Text = "Resetting"
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- v:LoadCharacter()
- end
- wait(1)
- mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement