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"
- o2 = Instance.new("Part")
- o4 = Instance.new("Model")
- o5 = Instance.new("Script")
- o6 = Instance.new("Model")
- o7 = Instance.new("Model")
- o8 = Instance.new("Model")
- o9 = Instance.new("Model")
- o10 = Instance.new("Model")
- o11 = Instance.new("Part")
- o12 = Instance.new("Part")
- o13 = Instance.new("SpecialMesh")
- o14 = Instance.new("Weld")
- o15 = Instance.new("CFrameValue")
- o16 = Instance.new("Part")
- o17 = Instance.new("SpecialMesh")
- o18 = Instance.new("Weld")
- o19 = Instance.new("CFrameValue")
- o20 = Instance.new("Part")
- o21 = Instance.new("Weld")
- o22 = Instance.new("CFrameValue")
- o23 = Instance.new("Part")
- o24 = Instance.new("Weld")
- o25 = Instance.new("CFrameValue")
- o26 = Instance.new("Part")
- o27 = Instance.new("SpecialMesh")
- o28 = Instance.new("Weld")
- o29 = Instance.new("CFrameValue")
- o30 = Instance.new("Part")
- o31 = Instance.new("SpecialMesh")
- o32 = Instance.new("Weld")
- o33 = Instance.new("CFrameValue")
- o34 = Instance.new("Part")
- o35 = Instance.new("SpecialMesh")
- o36 = Instance.new("Weld")
- o37 = Instance.new("CFrameValue")
- o38 = Instance.new("Part")
- o39 = Instance.new("Weld")
- o40 = Instance.new("CFrameValue")
- o41 = Instance.new("Part")
- o42 = Instance.new("SpecialMesh")
- o43 = Instance.new("Weld")
- o44 = Instance.new("CFrameValue")
- o45 = Instance.new("Part")
- o46 = Instance.new("Weld")
- o47 = Instance.new("CFrameValue")
- o48 = Instance.new("Part")
- o49 = Instance.new("Weld")
- o50 = Instance.new("CFrameValue")
- o51 = Instance.new("Script")
- o52 = Instance.new("Model")
- o53 = Instance.new("Model")
- o54 = Instance.new("Model")
- o55 = Instance.new("Part")
- o56 = Instance.new("ClickDetector")
- o57 = Instance.new("Script")
- o58 = Instance.new("Script")
- o59 = Instance.new("Sound")
- o60 = Instance.new("Model")
- o61 = Instance.new("Part")
- o62 = Instance.new("Model")
- o63 = Instance.new("Part")
- o64 = Instance.new("Part")
- o65 = Instance.new("SpecialMesh")
- o66 = Instance.new("Part")
- o67 = Instance.new("Part")
- o68 = Instance.new("Part")
- o69 = Instance.new("Part")
- o70 = Instance.new("Part")
- o71 = Instance.new("SpecialMesh")
- o72 = Instance.new("Part")
- o73 = Instance.new("SpecialMesh")
- o74 = Instance.new("Part")
- o75 = Instance.new("SpecialMesh")
- o76 = Instance.new("Model")
- o77 = Instance.new("Part")
- o78 = Instance.new("ClickDetector")
- o79 = Instance.new("Script")
- o80 = Instance.new("Script")
- o81 = Instance.new("Sound")
- o82 = Instance.new("Model")
- o83 = Instance.new("Part")
- o84 = Instance.new("Model")
- o85 = Instance.new("Part")
- o86 = Instance.new("Part")
- o87 = Instance.new("SpecialMesh")
- o88 = Instance.new("Part")
- o89 = Instance.new("Part")
- o90 = Instance.new("Part")
- o91 = Instance.new("Part")
- o92 = Instance.new("Part")
- o93 = Instance.new("SpecialMesh")
- o94 = Instance.new("Part")
- o95 = Instance.new("SpecialMesh")
- o96 = Instance.new("Part")
- o97 = Instance.new("SpecialMesh")
- o98 = Instance.new("Model")
- o99 = Instance.new("Model")
- o100 = Instance.new("Part")
- o101 = Instance.new("SpecialMesh")
- o102 = Instance.new("Part")
- o103 = Instance.new("Part")
- o104 = Instance.new("SpecialMesh")
- o105 = Instance.new("Part")
- o106 = Instance.new("SpecialMesh")
- o107 = Instance.new("Part")
- o108 = Instance.new("ClickDetector")
- o109 = Instance.new("Part")
- o110 = Instance.new("ClickDetector")
- o111 = Instance.new("Script")
- o112 = Instance.new("VehicleSeat")
- o113 = Instance.new("Weld")
- o114 = Instance.new("Model")
- o115 = Instance.new("Part")
- o116 = Instance.new("Script")
- o117 = Instance.new("ClickDetector")
- o118 = Instance.new("Part")
- o119 = Instance.new("Fire")
- o120 = Instance.new("Part")
- o121 = Instance.new("Fire")
- o122 = Instance.new("Part")
- o123 = Instance.new("Part")
- o124 = Instance.new("Part")
- o125 = Instance.new("Sound")
- o126 = Instance.new("Model")
- o127 = Instance.new("Model")
- o128 = Instance.new("Part")
- o129 = Instance.new("ClickDetector")
- o130 = Instance.new("Part")
- o131 = Instance.new("Script")
- o132 = Instance.new("Sound")
- o133 = Instance.new("Part")
- o134 = Instance.new("PointLight")
- o135 = Instance.new("Part")
- o136 = Instance.new("SpecialMesh")
- o137 = Instance.new("Part")
- o138 = Instance.new("Part")
- o139 = Instance.new("SpecialMesh")
- o140 = Instance.new("Part")
- o141 = Instance.new("SpecialMesh")
- o142 = Instance.new("Part")
- o143 = Instance.new("Part")
- o144 = Instance.new("Part")
- o145 = Instance.new("SpecialMesh")
- o146 = Instance.new("Part")
- o147 = Instance.new("SpecialMesh")
- o148 = Instance.new("Part")
- o149 = Instance.new("Part")
- o150 = Instance.new("Part")
- o151 = Instance.new("SpecialMesh")
- o152 = Instance.new("Part")
- o153 = Instance.new("SpecialMesh")
- o154 = Instance.new("Part")
- o155 = Instance.new("Part")
- o156 = Instance.new("Part")
- o157 = Instance.new("SpecialMesh")
- o158 = Instance.new("Part")
- o159 = Instance.new("Part")
- o160 = Instance.new("SpecialMesh")
- o161 = Instance.new("Part")
- o162 = Instance.new("SpecialMesh")
- o163 = Instance.new("Part")
- o164 = Instance.new("SpecialMesh")
- o165 = Instance.new("Part")
- o166 = Instance.new("Part")
- o167 = Instance.new("Part")
- o168 = Instance.new("Part")
- o169 = Instance.new("SpecialMesh")
- o170 = Instance.new("Part")
- 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("Part")
- o179 = Instance.new("SpecialMesh")
- o180 = Instance.new("Part")
- o181 = Instance.new("Part")
- o182 = Instance.new("Part")
- o183 = Instance.new("SpecialMesh")
- o184 = Instance.new("Part")
- o185 = Instance.new("SpecialMesh")
- o186 = Instance.new("Part")
- o187 = Instance.new("SpecialMesh")
- o188 = Instance.new("Part")
- o189 = Instance.new("Part")
- o190 = Instance.new("Model")
- o191 = Instance.new("Part")
- o192 = Instance.new("Part")
- o193 = Instance.new("SpecialMesh")
- o194 = Instance.new("Part")
- o195 = Instance.new("Part")
- o196 = Instance.new("Part")
- o197 = Instance.new("Part")
- o198 = Instance.new("Part")
- o199 = Instance.new("Part")
- o200 = Instance.new("Part")
- o201 = Instance.new("Part")
- o202 = Instance.new("Part")
- o203 = Instance.new("Part")
- o204 = Instance.new("SpecialMesh")
- o205 = Instance.new("Part")
- o206 = Instance.new("ClickDetector")
- o207 = Instance.new("Script")
- o208 = Instance.new("Decal")
- o209 = Instance.new("Script")
- o210 = Instance.new("Model")
- o211 = Instance.new("Part")
- o212 = Instance.new("SpecialMesh")
- o217 = Instance.new("Sound")
- o218 = Instance.new("RemoteEvent")
- o219 = Instance.new("Sound")
- o220 = Instance.new("RemoteEvent")
- o221 = Instance.new("Sound")
- o222 = Instance.new("RemoteEvent")
- o223 = Instance.new("Sound")
- o224 = Instance.new("RemoteEvent")
- o225 = Instance.new("Sound")
- o226 = Instance.new("RemoteEvent")
- o227 = Instance.new("Sound")
- o228 = Instance.new("RemoteEvent")
- o229 = Instance.new("Sound")
- o230 = Instance.new("RemoteEvent")
- o231 = Instance.new("Sound")
- o232 = Instance.new("RemoteEvent")
- o233 = Instance.new("Sound")
- o234 = Instance.new("RemoteEvent")
- o235 = Instance.new("Decal")
- o236 = Instance.new("Part")
- o237 = Instance.new("Decal")
- o246 = Instance.new("Motor6D")
- o247 = Instance.new("Motor6D")
- o248 = Instance.new("Motor6D")
- o249 = Instance.new("Motor6D")
- o250 = Instance.new("Motor6D")
- o251 = Instance.new("Part")
- o254 = Instance.new("Part")
- o257 = Instance.new("Part")
- o259 = Instance.new("Part")
- o261 = Instance.new("Humanoid")
- o264 = Instance.new("Part")
- o266 = Instance.new("Motor6D")
- o267 = Instance.new("Script")
- o268 = Instance.new("LocalScript")
- o269 = Instance.new("Script")
- o270 = Instance.new("LocalScript")
- o271 = Instance.new("StringValue")
- o272 = Instance.new("Animation")
- o273 = Instance.new("NumberValue")
- o274 = Instance.new("Animation")
- o275 = Instance.new("NumberValue")
- o276 = Instance.new("StringValue")
- o277 = Instance.new("Animation")
- o278 = Instance.new("StringValue")
- o279 = Instance.new("Animation")
- o280 = Instance.new("StringValue")
- o281 = Instance.new("Animation")
- o282 = Instance.new("StringValue")
- o283 = Instance.new("Animation")
- o284 = Instance.new("StringValue")
- o285 = Instance.new("Animation")
- o286 = Instance.new("StringValue")
- o287 = Instance.new("Animation")
- o288 = Instance.new("StringValue")
- o289 = Instance.new("Animation")
- o290 = Instance.new("NumberValue")
- o291 = Instance.new("BodyColors")
- o292 = Instance.new("Pants")
- o293 = Instance.new("Shirt")
- o295 = Instance.new("Part")
- o296 = Instance.new("SpecialMesh")
- o298 = Instance.new("Vector3Value")
- o299 = Instance.new("Weld")
- o2.Name = "Baseplate"
- o2.Parent = mas
- o2.BrickColor = BrickColor.new("Dark stone grey")
- o2.Position = Vector3.new(0, -10, 0)
- o2.Anchored = true
- o2.Locked = true
- o2.FormFactor = Enum.FormFactor.Symmetric
- o2.Size = Vector3.new(512, 20, 512)
- o2.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o2.Position = Vector3.new(0, -10, 0)
- o4.Name = "Compiled scripts"
- o4.Parent = mas
- o5.Name = "CScript1"
- o5.Parent = o4
- o5.Disabled = true
- runDummyScript(function()
- --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
- 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"
- o2 = Instance.new("Part")
- o4 = Instance.new("Model")
- o5 = Instance.new("Model")
- o6 = Instance.new("Model")
- o7 = Instance.new("Part")
- o8 = Instance.new("Part")
- o9 = Instance.new("SpecialMesh")
- o10 = Instance.new("Part")
- o11 = Instance.new("SpecialMesh")
- o12 = Instance.new("Part")
- o13 = Instance.new("Part")
- o14 = Instance.new("Part")
- o15 = Instance.new("SpecialMesh")
- o16 = Instance.new("Part")
- o17 = Instance.new("SpecialMesh")
- o18 = Instance.new("Part")
- o19 = Instance.new("SpecialMesh")
- o20 = Instance.new("Part")
- o21 = Instance.new("Part")
- o22 = Instance.new("SpecialMesh")
- o23 = Instance.new("Part")
- o24 = Instance.new("Part")
- o25 = Instance.new("Script")
- o26 = Instance.new("Model")
- o27 = Instance.new("Model")
- o28 = Instance.new("Model")
- o29 = Instance.new("Part")
- o30 = Instance.new("ClickDetector")
- o31 = Instance.new("Script")
- o32 = Instance.new("Script")
- o33 = Instance.new("Sound")
- o34 = Instance.new("Model")
- o35 = Instance.new("Part")
- o36 = Instance.new("Model")
- o37 = Instance.new("Part")
- o38 = Instance.new("Part")
- o39 = Instance.new("SpecialMesh")
- o40 = Instance.new("Part")
- o41 = Instance.new("Part")
- o42 = Instance.new("Part")
- o43 = Instance.new("Part")
- o44 = Instance.new("Part")
- o45 = Instance.new("SpecialMesh")
- o46 = Instance.new("Part")
- o47 = Instance.new("SpecialMesh")
- o48 = Instance.new("Part")
- o49 = Instance.new("SpecialMesh")
- o50 = Instance.new("Model")
- o51 = Instance.new("Part")
- o52 = Instance.new("ClickDetector")
- o53 = Instance.new("Script")
- o54 = Instance.new("Script")
- o55 = Instance.new("Sound")
- o56 = Instance.new("Model")
- o57 = Instance.new("Part")
- o58 = Instance.new("Model")
- o59 = Instance.new("Part")
- o60 = Instance.new("Part")
- o61 = Instance.new("SpecialMesh")
- o62 = Instance.new("Part")
- o63 = Instance.new("Part")
- o64 = Instance.new("Part")
- o65 = Instance.new("Part")
- o66 = Instance.new("Part")
- o67 = Instance.new("SpecialMesh")
- o68 = Instance.new("Part")
- o69 = Instance.new("SpecialMesh")
- o70 = Instance.new("Part")
- o71 = Instance.new("SpecialMesh")
- o72 = Instance.new("Model")
- o73 = Instance.new("Model")
- o74 = Instance.new("Part")
- o75 = Instance.new("SpecialMesh")
- o76 = Instance.new("Part")
- o77 = Instance.new("Part")
- o78 = Instance.new("SpecialMesh")
- o79 = Instance.new("Part")
- o80 = Instance.new("SpecialMesh")
- o81 = Instance.new("Part")
- o82 = Instance.new("ClickDetector")
- o83 = Instance.new("Part")
- o84 = Instance.new("ClickDetector")
- o85 = Instance.new("Script")
- o86 = Instance.new("VehicleSeat")
- o87 = Instance.new("Model")
- o88 = Instance.new("Part")
- o89 = Instance.new("Script")
- o90 = Instance.new("ClickDetector")
- o91 = Instance.new("Part")
- o92 = Instance.new("Fire")
- o93 = Instance.new("Part")
- o94 = Instance.new("Fire")
- o95 = Instance.new("Part")
- o96 = Instance.new("Part")
- o97 = Instance.new("Part")
- o98 = Instance.new("Sound")
- o99 = Instance.new("Model")
- o100 = Instance.new("Model")
- o101 = Instance.new("Part")
- o102 = Instance.new("ClickDetector")
- o103 = Instance.new("Part")
- o104 = Instance.new("Script")
- o105 = Instance.new("Sound")
- o106 = Instance.new("Part")
- o107 = Instance.new("PointLight")
- o108 = Instance.new("Part")
- o109 = Instance.new("SpecialMesh")
- o110 = Instance.new("Part")
- o111 = Instance.new("Part")
- o112 = Instance.new("SpecialMesh")
- o113 = Instance.new("Part")
- o114 = Instance.new("SpecialMesh")
- o115 = Instance.new("Part")
- o116 = Instance.new("Part")
- o117 = Instance.new("Part")
- o118 = Instance.new("SpecialMesh")
- o119 = Instance.new("Part")
- o120 = Instance.new("SpecialMesh")
- o121 = Instance.new("Part")
- o122 = Instance.new("Part")
- o123 = Instance.new("Part")
- o124 = Instance.new("SpecialMesh")
- o125 = Instance.new("Part")
- o126 = Instance.new("SpecialMesh")
- o127 = Instance.new("Part")
- o128 = Instance.new("Part")
- o129 = Instance.new("Part")
- o130 = Instance.new("SpecialMesh")
- o131 = Instance.new("Part")
- o132 = Instance.new("Part")
- o133 = Instance.new("SpecialMesh")
- o134 = Instance.new("Part")
- o135 = Instance.new("SpecialMesh")
- o136 = Instance.new("Part")
- o137 = Instance.new("SpecialMesh")
- o138 = Instance.new("Part")
- o139 = Instance.new("Part")
- o140 = Instance.new("Part")
- o141 = Instance.new("Part")
- o142 = Instance.new("SpecialMesh")
- o143 = Instance.new("Part")
- o144 = Instance.new("Part")
- o145 = Instance.new("SpecialMesh")
- o146 = Instance.new("Part")
- o147 = Instance.new("Part")
- o148 = Instance.new("SpecialMesh")
- o149 = Instance.new("Part")
- o150 = Instance.new("SpecialMesh")
- o151 = Instance.new("Part")
- o152 = Instance.new("SpecialMesh")
- o153 = Instance.new("Part")
- o154 = Instance.new("Part")
- o155 = Instance.new("Part")
- o156 = Instance.new("SpecialMesh")
- o157 = Instance.new("Part")
- o158 = Instance.new("SpecialMesh")
- o159 = Instance.new("Part")
- o160 = Instance.new("SpecialMesh")
- o161 = Instance.new("Part")
- o162 = Instance.new("Part")
- o163 = Instance.new("Model")
- o164 = Instance.new("Part")
- o165 = Instance.new("Part")
- o166 = Instance.new("SpecialMesh")
- o167 = Instance.new("Part")
- o168 = Instance.new("Part")
- o169 = Instance.new("Part")
- o170 = Instance.new("Part")
- o171 = Instance.new("Part")
- o172 = Instance.new("Part")
- o173 = Instance.new("Part")
- o174 = Instance.new("Part")
- o175 = Instance.new("Part")
- o176 = Instance.new("Part")
- o177 = Instance.new("SpecialMesh")
- o178 = Instance.new("Part")
- o179 = Instance.new("ClickDetector")
- o180 = Instance.new("Script")
- o181 = Instance.new("Decal")
- o182 = Instance.new("Script")
- o2.Name = "Baseplate"
- o2.Parent = mas
- o2.BrickColor = BrickColor.new("Dark stone grey")
- o2.Position = Vector3.new(0, -10, 0)
- o2.Anchored = true
- o2.Locked = true
- o2.FormFactor = Enum.FormFactor.Symmetric
- o2.Size = Vector3.new(512, 20, 512)
- o2.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o2.Position = Vector3.new(0, -10, 0)
- o4.Name = "Mech"
- o4.Parent = mas
- o5.Name = "Mech"
- o5.Parent = o4
- o6.Parent = o5
- o7.Parent = o6
- o7.Material = Enum.Material.Glass
- o7.BrickColor = BrickColor.new("Baby blue")
- o7.Transparency = 0.60000002384186
- o7.Position = Vector3.new(-136.339142, 12.6800861, -85.0720215)
- o7.Rotation = Vector3.new(-180, 0, -0.219999999)
- o7.FormFactor = Enum.FormFactor.Symmetric
- o7.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
- o7.CFrame = CFrame.new(-136.339142, 12.6800861, -85.0720215, 0.999992549, 0.00385993393, 3.07300411e-07, 0.00385993393, -0.999992549, 1.3162661e-09, 3.07303196e-07, -1.30095962e-10, -1)
- o7.BottomSurface = Enum.SurfaceType.Weld
- o7.TopSurface = Enum.SurfaceType.Weld
- o7.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o7.Position = Vector3.new(-136.339142, 12.6800861, -85.0720215)
- o8.Parent = o6
- o8.Material = Enum.Material.Glass
- o8.BrickColor = BrickColor.new("Baby blue")
- o8.Transparency = 0.60000002384186
- o8.Position = Vector3.new(-136.339188, 12.6800413, -84.4719849)
- o8.Rotation = Vector3.new(-180, 0, -0.219999999)
- o8.FormFactor = Enum.FormFactor.Symmetric
- o8.Size = Vector3.new(7, 0.999999583, 0.200000033)
- o8.CFrame = CFrame.new(-136.339188, 12.6800413, -84.4719849, 0.999992549, 0.00385993393, 3.07300411e-07, 0.00385993393, -0.999992549, 1.31626565e-09, 3.07303196e-07, -1.3009635e-10, -1)
- o8.BottomSurface = Enum.SurfaceType.Weld
- o8.TopSurface = Enum.SurfaceType.Weld
- o8.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o8.Position = Vector3.new(-136.339188, 12.6800413, -84.4719849)
- o9.Parent = o8
- o9.MeshType = Enum.MeshType.Wedge
- o10.Parent = o6
- o10.Material = Enum.Material.Glass
- o10.BrickColor = BrickColor.new("Baby blue")
- o10.Transparency = 0.60000002384186
- o10.Position = Vector3.new(-136.39032, 10.4789, -86.5623779)
- o10.Rotation = Vector3.new(-180, 0, -0.219999999)
- o10.FormFactor = Enum.FormFactor.Symmetric
- o10.Size = Vector3.new(7, 1, 2)
- o10.CFrame = CFrame.new(-136.39032, 10.4789, -86.5623779, 0.999993324, 0.00384845538, 3.08445607e-07, 0.00386406179, -0.999993801, 1.30656197e-09, 3.10643316e-07, -1.2310275e-10, -1)
- o10.BottomSurface = Enum.SurfaceType.Weld
- o10.TopSurface = Enum.SurfaceType.Weld
- o10.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o10.Position = Vector3.new(-136.39032, 10.4789, -86.5623779)
- o11.Parent = o10
- o11.MeshType = Enum.MeshType.Wedge
- o12.Parent = o6
- o12.Material = Enum.Material.Glass
- o12.BrickColor = BrickColor.new("Baby blue")
- o12.Transparency = 0.60000002384186
- o12.Position = Vector3.new(-139.396454, 12.0671377, -86.562439)
- o12.Rotation = Vector3.new(-180, 0, -0.219999999)
- o12.FormFactor = Enum.FormFactor.Symmetric
- o12.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o12.CFrame = CFrame.new(-139.396454, 12.0671377, -86.562439, 0.999992967, 0.00389632559, 3.15096173e-07, 0.00390458689, -0.999993384, 1.33485067e-09, 3.16261094e-07, -1.08941828e-10, -1)
- o12.BottomSurface = Enum.SurfaceType.Weld
- o12.TopSurface = Enum.SurfaceType.Weld
- o12.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o12.Position = Vector3.new(-139.396454, 12.0671377, -86.562439)
- o13.Parent = o6
- o13.Material = Enum.Material.Glass
- o13.BrickColor = BrickColor.new("Baby blue")
- o13.Transparency = 0.60000002384186
- o13.Position = Vector3.new(-133.396484, 12.0906963, -86.562439)
- o13.Rotation = Vector3.new(-180, 0, -0.219999999)
- o13.FormFactor = Enum.FormFactor.Symmetric
- o13.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o13.CFrame = CFrame.new(-133.396484, 12.0906963, -86.562439, 0.999992907, 0.00389358099, 3.05802615e-07, 0.00390184228, -0.999993324, 1.28412669e-09, 3.06967394e-07, -9.53482571e-11, -1)
- o13.BottomSurface = Enum.SurfaceType.Weld
- o13.TopSurface = Enum.SurfaceType.Weld
- o13.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o13.Position = Vector3.new(-133.396484, 12.0906963, -86.562439)
- o14.Parent = o6
- o14.Material = Enum.Material.Glass
- o14.BrickColor = BrickColor.new("Baby blue")
- o14.Transparency = 0.60000002384186
- o14.Position = Vector3.new(-136.334839, 11.5801001, -85.0720215)
- o14.Rotation = Vector3.new(-180, 0, -0.219999999)
- o14.FormFactor = Enum.FormFactor.Symmetric
- o14.Size = Vector3.new(7, 1.19999957, 1)
- o14.CFrame = CFrame.new(-136.334839, 11.5801001, -85.0720215, 0.999992549, 0.00385993393, 3.07300411e-07, 0.00385993393, -0.999992549, 1.31626621e-09, 3.07303196e-07, -1.30095892e-10, -1)
- o14.BottomSurface = Enum.SurfaceType.Weld
- o14.TopSurface = Enum.SurfaceType.Weld
- o14.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o14.Position = Vector3.new(-136.334839, 11.5801001, -85.0720215)
- o15.Parent = o14
- o15.MeshType = Enum.MeshType.Wedge
- o16.Parent = o6
- o16.Material = Enum.Material.Glass
- o16.BrickColor = BrickColor.new("Baby blue")
- o16.Transparency = 0.60000002384186
- o16.Position = Vector3.new(-136.411072, 15.8787508, -86.5623779)
- o16.Rotation = Vector3.new(-180, 0, 179.769989)
- o16.FormFactor = Enum.FormFactor.Symmetric
- o16.Size = Vector3.new(7, 1, 2)
- o16.CFrame = CFrame.new(-136.411072, 15.8787508, -86.5623779, -0.999992847, -0.00392798288, 3.19402545e-07, -0.00393624417, 0.999993265, 1.35199452e-09, -3.20567466e-07, 9.9122717e-11, -1)
- o16.BottomSurface = Enum.SurfaceType.Weld
- o16.TopSurface = Enum.SurfaceType.Weld
- o16.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o16.Position = Vector3.new(-136.411072, 15.8787508, -86.5623779)
- o17.Parent = o16
- o17.MeshType = Enum.MeshType.Wedge
- o18.Parent = o6
- o18.Material = Enum.Material.Glass
- o18.BrickColor = BrickColor.new("Baby blue")
- o18.Transparency = 0.60000002384186
- o18.Position = Vector3.new(-136.347229, 14.7799797, -85.0720215)
- o18.Rotation = Vector3.new(-180, 0, 179.779999)
- o18.FormFactor = Enum.FormFactor.Symmetric
- o18.Size = Vector3.new(7, 1.19999957, 1)
- o18.CFrame = CFrame.new(-136.347229, 14.7799797, -85.0720215, -0.999992549, -0.00385993393, 3.07300411e-07, -0.00385993393, 0.999992549, 1.31626554e-09, -3.07303196e-07, 1.3009642e-10, -1)
- o18.BottomSurface = Enum.SurfaceType.Weld
- o18.TopSurface = Enum.SurfaceType.Weld
- o18.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o18.Position = Vector3.new(-136.347229, 14.7799797, -85.0720215)
- o19.Parent = o18
- o19.MeshType = Enum.MeshType.Wedge
- o20.Parent = o6
- o20.Material = Enum.Material.Glass
- o20.BrickColor = BrickColor.new("Baby blue")
- o20.Transparency = 0.60000002384186
- o20.Position = Vector3.new(-136.342911, 13.6800365, -85.0720215)
- o20.Rotation = Vector3.new(-180, 0, 179.779999)
- o20.FormFactor = Enum.FormFactor.Symmetric
- o20.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
- o20.CFrame = CFrame.new(-136.342911, 13.6800365, -85.0720215, -0.999992549, -0.00385993393, 3.07300411e-07, -0.00385993393, 0.999992549, 1.31626587e-09, -3.07303196e-07, 1.30096101e-10, -1)
- o20.BottomSurface = Enum.SurfaceType.Weld
- o20.TopSurface = Enum.SurfaceType.Weld
- o20.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o20.Position = Vector3.new(-136.342911, 13.6800365, -85.0720215)
- o21.Parent = o6
- o21.Material = Enum.Material.Glass
- o21.BrickColor = BrickColor.new("Baby blue")
- o21.Transparency = 0.60000002384186
- o21.Position = Vector3.new(-136.342957, 13.6799936, -84.4719849)
- o21.Rotation = Vector3.new(-180, 0, 179.779999)
- o21.FormFactor = Enum.FormFactor.Symmetric
- o21.Size = Vector3.new(7, 0.999999583, 0.200000033)
- o21.CFrame = CFrame.new(-136.342957, 13.6799936, -84.4719849, -0.999992549, -0.00385993393, 3.07300411e-07, -0.00385993393, 0.999992549, 1.31626554e-09, -3.07303196e-07, 1.3009642e-10, -1)
- o21.BottomSurface = Enum.SurfaceType.Weld
- o21.TopSurface = Enum.SurfaceType.Weld
- o21.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o21.Position = Vector3.new(-136.342957, 13.6799936, -84.4719849)
- o22.Parent = o21
- o22.MeshType = Enum.MeshType.Wedge
- o23.Parent = o6
- o23.Material = Enum.Material.Glass
- o23.BrickColor = BrickColor.new("Baby blue")
- o23.Transparency = 0.60000002384186
- o23.Position = Vector3.new(-133.404877, 14.2906885, -86.562439)
- o23.Rotation = Vector3.new(-180, 0, 179.769989)
- o23.FormFactor = Enum.FormFactor.Symmetric
- o23.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o23.CFrame = CFrame.new(-133.404877, 14.2906885, -86.562439, -0.999992788, -0.0039332537, 3.11400868e-07, -0.00394151499, 0.999993205, 1.30587974e-09, -3.12565675e-07, 8.28571725e-11, -1)
- o23.BottomSurface = Enum.SurfaceType.Weld
- o23.TopSurface = Enum.SurfaceType.Weld
- o23.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o23.Position = Vector3.new(-133.404877, 14.2906885, -86.562439)
- o24.Parent = o6
- o24.Material = Enum.Material.Glass
- o24.BrickColor = BrickColor.new("Baby blue")
- o24.Transparency = 0.60000002384186
- o24.Position = Vector3.new(-139.404953, 14.2668896, -86.562439)
- o24.Rotation = Vector3.new(-180, 0, 179.779999)
- o24.FormFactor = Enum.FormFactor.Symmetric
- o24.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o24.CFrame = CFrame.new(-139.404953, 14.2668896, -86.562439, -0.999992847, -0.00392685411, 3.1940354e-07, -0.00393511541, 0.999993265, 1.35894773e-09, -3.20568518e-07, 1.06433674e-10, -1)
- o24.BottomSurface = Enum.SurfaceType.Weld
- o24.TopSurface = Enum.SurfaceType.Weld
- o24.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o24.Position = Vector3.new(-139.404953, 14.2668896, -86.562439)
- o25.Name = "qPerfectionWeld"
- o25.Parent = o6
- runDummyScript(function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end,o25)
- o26.Parent = o5
- o27.Parent = o26
- o28.Parent = o27
- o29.Name = "Switch"
- o29.Parent = o28
- o29.Material = Enum.Material.Neon
- o29.BrickColor = BrickColor.new("Sea green")
- o29.Position = Vector3.new(-136.016968, 11.5627031, -85.5962524)
- o29.Rotation = Vector3.new(-90, -0.219999999, 180)
- o29.CanCollide = false
- o29.FormFactor = Enum.FormFactor.Plate
- o29.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
- o29.CFrame = CFrame.new(-136.016968, 11.5627031, -85.5962524, -0.999992549, -3.07300411e-07, -0.00385993393, -0.00385993393, -1.31626632e-09, 0.999992549, -3.07303196e-07, 1, 1.30095823e-10)
- o29.BottomSurface = Enum.SurfaceType.Weld
- o29.TopSurface = Enum.SurfaceType.Weld
- o29.Color = Color3.new(0.203922, 0.556863, 0.25098)
- o29.Position = Vector3.new(-136.016968, 11.5627031, -85.5962524)
- o30.Parent = o29
- o30.MaxActivationDistance = 10
- o31.Name = "CannonBall"
- o31.Parent = o29
- o31.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 = 10
- explosion.BlastPressure = 50 -- 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,o31)
- o32.Name = "FireGun"
- o32.Parent = o29
- 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,o32)
- o33.Name = "GunSound"
- o33.Parent = o29
- o33.SoundId = "rbxassetid://1486537732"
- o34.Name = "GunBarrel"
- o34.Parent = o28
- o35.Name = "One"
- o35.Parent = o34
- o35.Material = Enum.Material.SmoothPlastic
- o35.Position = Vector3.new(-131.892059, 10.7562933, -84.5623779)
- o35.Rotation = Vector3.new(90, 0.209999993, 90)
- o35.FormFactor = Enum.FormFactor.Symmetric
- o35.Shape = Enum.PartType.Cylinder
- o35.Size = Vector3.new(2, 2, 2)
- o35.CFrame = CFrame.new(-131.892059, 10.7562933, -84.5623779, -2.84912375e-07, -0.999993563, 0.00372171379, -1.19563204e-09, -0.00372997462, -0.99999398, 1, -2.86076983e-07, -1.37532138e-10)
- o35.BottomSurface = Enum.SurfaceType.Smooth
- o35.LeftSurface = Enum.SurfaceType.Weld
- o35.RightSurface = Enum.SurfaceType.Weld
- o35.TopSurface = Enum.SurfaceType.Smooth
- o35.Position = Vector3.new(-131.892059, 10.7562933, -84.5623779)
- o36.Parent = o28
- o37.Parent = o36
- o37.Material = Enum.Material.Neon
- o37.BrickColor = BrickColor.new("Crimson")
- o37.Position = Vector3.new(-130.867264, 10.7601748, -90.2623901)
- o37.Rotation = Vector3.new(0, 0, 0.209999993)
- o37.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
- o37.CFrame = CFrame.new(-130.867264, 10.7601748, -90.2623901, 0.999993682, -0.00373263354, -2.91385135e-07, 0.00375039922, 0.999994099, -1.23178634e-09, 2.93890167e-07, 1.48657697e-10, 1)
- o37.BackSurface = Enum.SurfaceType.Weld
- o37.BottomSurface = Enum.SurfaceType.Weld
- o37.FrontSurface = Enum.SurfaceType.Weld
- o37.LeftSurface = Enum.SurfaceType.Weld
- o37.RightSurface = Enum.SurfaceType.Weld
- o37.TopSurface = Enum.SurfaceType.Smooth
- o37.Color = Color3.new(0.592157, 0, 0)
- o37.Position = Vector3.new(-130.867264, 10.7601748, -90.2623901)
- o38.Name = "DO NOT USE"
- o38.Parent = o36
- o38.Material = Enum.Material.SmoothPlastic
- o38.Position = Vector3.new(-131.897064, 11.9565048, -91.8624268)
- o38.Rotation = Vector3.new(90, 0.219999999, -180)
- o38.FormFactor = Enum.FormFactor.Symmetric
- o38.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o38.CFrame = CFrame.new(-131.897064, 11.9565048, -91.8624268, -0.999993205, 2.9455768e-07, 0.00381699344, -0.00382525474, 1.23375876e-09, -0.999993622, -2.95722344e-07, -1, -1.11505499e-10)
- o38.BackSurface = Enum.SurfaceType.Weld
- o38.BottomSurface = Enum.SurfaceType.Weld
- o38.TopSurface = Enum.SurfaceType.Weld
- o38.Position = Vector3.new(-131.897064, 11.9565048, -91.8624268)
- o39.Parent = o38
- o39.MeshType = Enum.MeshType.Wedge
- o40.Parent = o36
- o40.Material = Enum.Material.SmoothPlastic
- o40.Position = Vector3.new(-131.892334, 10.7563906, -90.062439)
- o40.Rotation = Vector3.new(0, 0, 0.219999999)
- o40.FormFactor = Enum.FormFactor.Symmetric
- o40.Size = Vector3.new(2, 2.80000019, 3)
- o40.CFrame = CFrame.new(-131.892334, 10.7563906, -90.062439, 0.999993503, -0.00375429052, -2.94774054e-07, 0.00376255182, 0.99999392, -1.24696342e-09, 2.95938776e-07, 1.42438686e-10, 1)
- o40.BackSurface = Enum.SurfaceType.Weld
- o40.BottomSurface = Enum.SurfaceType.Smooth
- o40.TopSurface = Enum.SurfaceType.Smooth
- o40.Position = Vector3.new(-131.892334, 10.7563906, -90.062439)
- o41.Parent = o36
- o41.Material = Enum.Material.SmoothPlastic
- o41.Position = Vector3.new(-131.892044, 10.7562933, -87.0623779)
- o41.Rotation = Vector3.new(0, 0, 0.209999993)
- o41.FormFactor = Enum.FormFactor.Symmetric
- o41.Size = Vector3.new(2, 2, 3)
- o41.CFrame = CFrame.new(-131.892044, 10.7562933, -87.0623779, 0.999993622, -0.00372101949, -2.89744406e-07, 0.00372928078, 0.99999404, -1.21667476e-09, 2.90909014e-07, 1.40753548e-10, 1)
- o41.BackSurface = Enum.SurfaceType.Weld
- o41.BottomSurface = Enum.SurfaceType.Smooth
- o41.TopSurface = Enum.SurfaceType.Smooth
- o41.Position = Vector3.new(-131.892044, 10.7562933, -87.0623779)
- o42.Parent = o36
- o42.Material = Enum.Material.SmoothPlastic
- o42.Position = Vector3.new(-130.818085, 10.7603464, -90.2623901)
- o42.Rotation = Vector3.new(0, 0, 0.209999993)
- o42.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
- o42.CFrame = CFrame.new(-130.818085, 10.7603464, -90.2623901, 0.999993622, -0.00375047419, -2.94005588e-07, 0.0037682401, 0.99999404, -1.24424337e-09, 2.96510649e-07, 1.45996853e-10, 1)
- o42.BackSurface = Enum.SurfaceType.Weld
- o42.BottomSurface = Enum.SurfaceType.Weld
- o42.FrontSurface = Enum.SurfaceType.Weld
- o42.LeftSurface = Enum.SurfaceType.Weld
- o42.RightSurface = Enum.SurfaceType.Weld
- o42.TopSurface = Enum.SurfaceType.Smooth
- o42.Position = Vector3.new(-130.818085, 10.7603464, -90.2623901)
- o43.Parent = o36
- o43.Material = Enum.Material.SmoothPlastic
- o43.Position = Vector3.new(-131.892593, 10.7564564, -91.8623657)
- o43.Rotation = Vector3.new(0, 0, 0.209999993)
- o43.FormFactor = Enum.FormFactor.Symmetric
- o43.Size = Vector3.new(2, 2, 0.599999726)
- o43.CFrame = CFrame.new(-131.892593, 10.7564564, -91.8623657, 0.999993742, -0.00369270612, -2.86096508e-07, 0.00370096741, 0.999994159, -1.20372268e-09, 2.87261116e-07, 1.49538854e-10, 1)
- o43.BackSurface = Enum.SurfaceType.Weld
- o43.BottomSurface = Enum.SurfaceType.Smooth
- o43.TopSurface = Enum.SurfaceType.Smooth
- o43.Position = Vector3.new(-131.892593, 10.7564564, -91.8623657)
- o44.Name = "DO NOT USE"
- o44.Parent = o36
- o44.Material = Enum.Material.SmoothPlastic
- o44.Position = Vector3.new(-131.896683, 11.9563589, -87.0623779)
- o44.Rotation = Vector3.new(-180, 0, 179.779999)
- o44.FormFactor = Enum.FormFactor.Symmetric
- o44.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o44.CFrame = CFrame.new(-131.896683, 11.9563589, -87.0623779, -0.999993622, -0.00377303059, 2.88351117e-07, -0.0037868002, 0.999994159, 1.19326271e-09, -2.9029033e-07, 1.08920276e-10, -1)
- o44.BackSurface = Enum.SurfaceType.Weld
- o44.BottomSurface = Enum.SurfaceType.Weld
- o44.TopSurface = Enum.SurfaceType.Weld
- o44.Position = Vector3.new(-131.896683, 11.9563589, -87.0623779)
- o45.Parent = o44
- o45.MeshType = Enum.MeshType.Wedge
- o46.Name = "DO NOT USE"
- o46.Parent = o36
- o46.Material = Enum.Material.SmoothPlastic
- o46.Position = Vector3.new(-131.887589, 9.55611038, -87.0623779)
- o46.Rotation = Vector3.new(-180, 0, -0.219999999)
- o46.FormFactor = Enum.FormFactor.Symmetric
- o46.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o46.CFrame = CFrame.new(-131.887589, 9.55611038, -87.0623779, 0.999993384, 0.00379234646, 3.00829385e-07, 0.00380060775, -0.999993801, 1.255962e-09, 3.01994106e-07, -1.17161031e-10, -1)
- o46.BackSurface = Enum.SurfaceType.Weld
- o46.BottomSurface = Enum.SurfaceType.Weld
- o46.TopSurface = Enum.SurfaceType.Weld
- o46.Position = Vector3.new(-131.887589, 9.55611038, -87.0623779)
- o47.Parent = o46
- o47.MeshType = Enum.MeshType.Wedge
- o48.Name = "DO NOT USE"
- o48.Parent = o36
- o48.Material = Enum.Material.SmoothPlastic
- o48.Position = Vector3.new(-131.888062, 9.55651474, -91.8624268)
- o48.Rotation = Vector3.new(-90, -0.219999999, 0)
- o48.FormFactor = Enum.FormFactor.Symmetric
- o48.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o48.CFrame = CFrame.new(-131.888062, 9.55651474, -91.8624268, 0.999993682, 2.96458779e-07, -0.00376647292, 0.00378024252, 1.23183452e-09, 0.999994218, 2.98398163e-07, -1, 1.18759322e-10)
- o48.BackSurface = Enum.SurfaceType.Weld
- o48.BottomSurface = Enum.SurfaceType.Weld
- o48.TopSurface = Enum.SurfaceType.Weld
- o48.Position = Vector3.new(-131.888062, 9.55651474, -91.8624268)
- o49.Parent = o48
- o49.MeshType = Enum.MeshType.Wedge
- o50.Parent = o27
- o51.Name = "Switch"
- o51.Parent = o50
- o51.Material = Enum.Material.Neon
- o51.BrickColor = BrickColor.new("Sea green")
- o51.Position = Vector3.new(-136.764816, 11.5598211, -85.5962524)
- o51.Rotation = Vector3.new(-90, -0.219999999, 180)
- o51.CanCollide = false
- o51.FormFactor = Enum.FormFactor.Plate
- o51.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
- o51.CFrame = CFrame.new(-136.764816, 11.5598211, -85.5962524, -0.999992549, -3.07300411e-07, -0.00385993393, -0.00385993393, -1.31626632e-09, 0.999992549, -3.07303196e-07, 1, 1.30095823e-10)
- o51.BottomSurface = Enum.SurfaceType.Weld
- o51.TopSurface = Enum.SurfaceType.Weld
- o51.Color = Color3.new(0.203922, 0.556863, 0.25098)
- o51.Position = Vector3.new(-136.764816, 11.5598211, -85.5962524)
- o52.Parent = o51
- o52.MaxActivationDistance = 10
- o53.Name = "CannonBall"
- o53.Parent = o51
- o53.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 = 10
- explosion.BlastPressure = 50 -- 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,o53)
- o54.Name = "FireGun"
- o54.Parent = o51
- 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,o54)
- o55.Name = "GunSound"
- o55.Parent = o51
- o55.SoundId = "rbxassetid://1486537732"
- o56.Name = "GunBarrel"
- o56.Parent = o50
- o57.Name = "One"
- o57.Parent = o56
- o57.Material = Enum.Material.SmoothPlastic
- o57.Position = Vector3.new(-140.890884, 10.721858, -84.562439)
- o57.Rotation = Vector3.new(-90, -0.219999999, -90)
- o57.FormFactor = Enum.FormFactor.Symmetric
- o57.Shape = Enum.PartType.Cylinder
- o57.Size = Vector3.new(2, 2, 2)
- o57.CFrame = CFrame.new(-140.890884, 10.721858, -84.562439, -2.95752727e-07, 0.999993503, -0.00377585017, -1.24351618e-09, 0.00379099115, 0.99999404, 1, 2.97885634e-07, 1.3055583e-10)
- o57.BottomSurface = Enum.SurfaceType.Smooth
- o57.LeftSurface = Enum.SurfaceType.Weld
- o57.RightSurface = Enum.SurfaceType.Weld
- o57.TopSurface = Enum.SurfaceType.Smooth
- o57.Position = Vector3.new(-140.890884, 10.721858, -84.562439)
- o58.Parent = o50
- o59.Parent = o58
- o59.Material = Enum.Material.Neon
- o59.BrickColor = BrickColor.new("Crimson")
- o59.Position = Vector3.new(-141.915802, 10.7179079, -90.2624512)
- o59.Rotation = Vector3.new(0, 0, -179.779999)
- o59.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
- o59.CFrame = CFrame.new(-141.915802, 10.7179079, -90.2624512, -0.999993503, 0.00375412614, -2.94714738e-07, -0.00376238744, -0.99999392, -1.24058108e-09, -2.95879431e-07, -1.36328338e-10, 1)
- o59.BackSurface = Enum.SurfaceType.Weld
- o59.BottomSurface = Enum.SurfaceType.Weld
- o59.FrontSurface = Enum.SurfaceType.Weld
- o59.LeftSurface = Enum.SurfaceType.Weld
- o59.RightSurface = Enum.SurfaceType.Weld
- o59.TopSurface = Enum.SurfaceType.Smooth
- o59.Color = Color3.new(0.592157, 0, 0)
- o59.Position = Vector3.new(-141.915802, 10.7179079, -90.2624512)
- o60.Name = "DO NOT USE"
- o60.Parent = o58
- o60.Material = Enum.Material.SmoothPlastic
- o60.Position = Vector3.new(-140.885895, 9.52162075, -91.8624268)
- o60.Rotation = Vector3.new(-90, -0.219999999, 0)
- o60.FormFactor = Enum.FormFactor.Symmetric
- o60.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o60.CFrame = CFrame.new(-140.885895, 9.52162075, -91.8624268, 0.999992967, 3.13872761e-07, -0.00388568477, 0.00389394606, 1.31488187e-09, 0.999993384, 3.15037596e-07, -1, 9.7102458e-11)
- o60.BackSurface = Enum.SurfaceType.Weld
- o60.BottomSurface = Enum.SurfaceType.Weld
- o60.TopSurface = Enum.SurfaceType.Weld
- o60.Position = Vector3.new(-140.885895, 9.52162075, -91.8624268)
- o61.Parent = o60
- o61.MeshType = Enum.MeshType.Wedge
- o62.Parent = o58
- o62.Material = Enum.Material.SmoothPlastic
- o62.Position = Vector3.new(-140.890686, 10.7216673, -90.062439)
- o62.Rotation = Vector3.new(0, 0, -179.779999)
- o62.FormFactor = Enum.FormFactor.Symmetric
- o62.Size = Vector3.new(2, 2.80000019, 3)
- o62.CFrame = CFrame.new(-140.890686, 10.7216673, -90.062439, -0.999993205, 0.00382624869, -3.02243791e-07, -0.00383450999, -0.999993622, -1.27088662e-09, -3.03408541e-07, -1.16423732e-10, 1)
- o62.BackSurface = Enum.SurfaceType.Weld
- o62.BottomSurface = Enum.SurfaceType.Smooth
- o62.TopSurface = Enum.SurfaceType.Smooth
- o62.Position = Vector3.new(-140.890686, 10.7216673, -90.062439)
- o63.Parent = o58
- o63.Material = Enum.Material.SmoothPlastic
- o63.Position = Vector3.new(-140.890732, 10.7217884, -87.062439)
- o63.Rotation = Vector3.new(0, 0, -179.779999)
- o63.FormFactor = Enum.FormFactor.Symmetric
- o63.Size = Vector3.new(2, 2, 3)
- o63.CFrame = CFrame.new(-140.890732, 10.7217884, -87.062439, -0.999993265, 0.0038126146, -3.03568811e-07, -0.00382087589, -0.999993682, -1.27363797e-09, -3.04733561e-07, -1.1824898e-10, 1)
- o63.BackSurface = Enum.SurfaceType.Weld
- o63.BottomSurface = Enum.SurfaceType.Smooth
- o63.TopSurface = Enum.SurfaceType.Smooth
- o63.Position = Vector3.new(-140.890732, 10.7217884, -87.062439)
- o64.Parent = o58
- o64.Material = Enum.Material.SmoothPlastic
- o64.Position = Vector3.new(-141.964813, 10.7179632, -90.2624512)
- o64.Rotation = Vector3.new(0, 0, -179.779999)
- o64.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
- o64.CFrame = CFrame.new(-141.964813, 10.7179632, -90.2624512, -0.999993503, 0.00377198169, -2.97335305e-07, -0.00378851756, -0.999994099, -1.25310917e-09, -2.99666851e-07, -1.35643885e-10, 1)
- o64.BackSurface = Enum.SurfaceType.Weld
- o64.BottomSurface = Enum.SurfaceType.Weld
- o64.FrontSurface = Enum.SurfaceType.Weld
- o64.LeftSurface = Enum.SurfaceType.Weld
- o64.RightSurface = Enum.SurfaceType.Weld
- o64.TopSurface = Enum.SurfaceType.Smooth
- o64.Position = Vector3.new(-141.964813, 10.7179632, -90.2624512)
- o65.Parent = o58
- o65.Material = Enum.Material.SmoothPlastic
- o65.Position = Vector3.new(-140.890411, 10.7215996, -91.8623657)
- o65.Rotation = Vector3.new(0, 0, -179.779999)
- o65.FormFactor = Enum.FormFactor.Symmetric
- o65.Size = Vector3.new(2, 2, 0.599999726)
- o65.CFrame = CFrame.new(-140.890411, 10.7215996, -91.8623657, -0.999993265, 0.00380971096, -2.99915087e-07, -0.00381797226, -0.999993682, -1.26539568e-09, -3.01079837e-07, -1.24841387e-10, 1)
- o65.BackSurface = Enum.SurfaceType.Weld
- o65.BottomSurface = Enum.SurfaceType.Smooth
- o65.TopSurface = Enum.SurfaceType.Smooth
- o65.Position = Vector3.new(-140.890411, 10.7215996, -91.8623657)
- o66.Name = "DO NOT USE"
- o66.Parent = o58
- o66.Material = Enum.Material.SmoothPlastic
- o66.Position = Vector3.new(-140.886505, 9.52201939, -87.0623779)
- o66.Rotation = Vector3.new(-180, 0, -0.219999999)
- o66.FormFactor = Enum.FormFactor.Symmetric
- o66.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o66.CFrame = CFrame.new(-140.886505, 9.52201939, -87.0623779, 0.999993086, 0.00386341359, 3.11154054e-07, 0.00387167488, -0.999993503, 1.30752298e-09, 3.12318861e-07, -1.07286027e-10, -1)
- o66.BackSurface = Enum.SurfaceType.Weld
- o66.BottomSurface = Enum.SurfaceType.Weld
- o66.TopSurface = Enum.SurfaceType.Weld
- o66.Position = Vector3.new(-140.886505, 9.52201939, -87.0623779)
- o67.Parent = o66
- o67.MeshType = Enum.MeshType.Wedge
- o68.Name = "DO NOT USE"
- o68.Parent = o58
- o68.Material = Enum.Material.SmoothPlastic
- o68.Position = Vector3.new(-140.895538, 11.9220219, -87.062439)
- o68.Rotation = Vector3.new(-180, 0, 179.769989)
- o68.FormFactor = Enum.FormFactor.Symmetric
- o68.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o68.CFrame = CFrame.new(-140.895538, 11.9220219, -87.062439, -0.999992847, -0.00394329149, 3.12261761e-07, -0.00395706017, 0.999993443, 1.30908795e-09, -3.14201259e-07, 8.07290138e-11, -1)
- o68.BackSurface = Enum.SurfaceType.Weld
- o68.BottomSurface = Enum.SurfaceType.Weld
- o68.TopSurface = Enum.SurfaceType.Weld
- o68.Position = Vector3.new(-140.895538, 11.9220219, -87.062439)
- o69.Parent = o68
- o69.MeshType = Enum.MeshType.Wedge
- o70.Name = "DO NOT USE"
- o70.Parent = o58
- o70.Material = Enum.Material.SmoothPlastic
- o70.Position = Vector3.new(-140.894974, 11.921752, -91.8623657)
- o70.Rotation = Vector3.new(90, 0.219999999, -180)
- o70.FormFactor = Enum.FormFactor.Symmetric
- o70.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o70.CFrame = CFrame.new(-140.894974, 11.921752, -91.8623657, -0.999993026, 3.12164985e-07, 0.00389460544, -0.00390837528, 1.31396238e-09, -0.999993622, -3.14104454e-07, -1, -1.0127877e-10)
- o70.BackSurface = Enum.SurfaceType.Weld
- o70.BottomSurface = Enum.SurfaceType.Weld
- o70.TopSurface = Enum.SurfaceType.Weld
- o70.Position = Vector3.new(-140.894974, 11.921752, -91.8623657)
- o71.Parent = o70
- o71.MeshType = Enum.MeshType.Wedge
- o72.Parent = o26
- o73.Name = "Door"
- o73.Parent = o5
- o74.Name = "D3"
- o74.Parent = o73
- o74.Material = Enum.Material.SmoothPlastic
- o74.BrickColor = BrickColor.new("Quill grey")
- o74.Position = Vector3.new(-136.390915, 10.6388702, -93.6623535)
- o74.Rotation = Vector3.new(0, 0, -179.779999)
- o74.CanCollide = false
- o74.FormFactor = Enum.FormFactor.Symmetric
- o74.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
- o74.CFrame = CFrame.new(-136.390915, 10.6388702, -93.6623535, -0.999993443, 0.00384708634, -3.08254585e-07, -0.00386085548, -0.999994159, -1.30551348e-09, -3.1019411e-07, -1.22802851e-10, 1)
- o74.BackSurface = Enum.SurfaceType.Weld
- o74.BottomSurface = Enum.SurfaceType.Weld
- o74.TopSurface = Enum.SurfaceType.Weld
- o74.Color = Color3.new(0.87451, 0.87451, 0.870588)
- o74.Position = Vector3.new(-136.390915, 10.6388702, -93.6623535)
- o75.Parent = o74
- o75.MeshType = Enum.MeshType.Wedge
- o76.Name = "D2"
- o76.Parent = o73
- o76.Material = Enum.Material.SmoothPlastic
- o76.BrickColor = BrickColor.new("Quill grey")
- o76.Position = Vector3.new(-136.398056, 12.5389881, -93.6624146)
- o76.Rotation = Vector3.new(-180, 0, -0.219999999)
- o76.CanCollide = false
- o76.Size = Vector3.new(4.99999666, 2.00000024, 1.39999938)
- o76.CFrame = CFrame.new(-136.398056, 12.5389881, -93.6624146, 0.999992967, 0.00388663309, 3.11172357e-07, 0.00389489438, -0.999993384, 1.32698508e-09, 3.12337249e-07, -1.19424637e-10, -1)
- o76.BackSurface = Enum.SurfaceType.Weld
- o76.BottomSurface = Enum.SurfaceType.Weld
- o76.FrontSurface = Enum.SurfaceType.Weld
- o76.LeftSurface = Enum.SurfaceType.Weld
- o76.RightSurface = Enum.SurfaceType.Weld
- o76.TopSurface = Enum.SurfaceType.Smooth
- o76.Color = Color3.new(0.87451, 0.87451, 0.870588)
- o76.Position = Vector3.new(-136.398056, 12.5389881, -93.6624146)
- o77.Name = "D4"
- o77.Parent = o73
- o77.Material = Enum.Material.SmoothPlastic
- o77.BrickColor = BrickColor.new("Quill grey")
- o77.Position = Vector3.new(-136.40538, 14.4388809, -93.6624146)
- o77.Rotation = Vector3.new(0, 0, 0.219999999)
- o77.CanCollide = false
- o77.FormFactor = Enum.FormFactor.Symmetric
- o77.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
- o77.CFrame = CFrame.new(-136.40538, 14.4388809, -93.6624146, 0.999992967, -0.00388559909, -3.13348892e-07, 0.00389386038, 0.999993384, -1.33431799e-09, 3.14513812e-07, 1.18605264e-10, 1)
- o77.BackSurface = Enum.SurfaceType.Weld
- o77.BottomSurface = Enum.SurfaceType.Weld
- o77.TopSurface = Enum.SurfaceType.Weld
- o77.Color = Color3.new(0.87451, 0.87451, 0.870588)
- o77.Position = Vector3.new(-136.40538, 14.4388809, -93.6624146)
- o78.Parent = o77
- o78.MeshType = Enum.MeshType.Wedge
- o79.Name = "D1"
- o79.Parent = o73
- o79.Material = Enum.Material.SmoothPlastic
- o79.BrickColor = BrickColor.new("Mid gray")
- o79.Position = Vector3.new(-136.411758, 16.1388741, -92.0623856)
- o79.Rotation = Vector3.new(0, 0, 0.219999999)
- o79.CanCollide = false
- o79.FormFactor = Enum.FormFactor.Symmetric
- o79.Size = Vector3.new(4.99999857, 1.5999999, 1.79999995)
- o79.CFrame = CFrame.new(-136.411758, 16.1388741, -92.0623856, 0.999993205, -0.00383650349, -3.06582081e-07, 0.00384476478, 0.999993622, -1.29516609e-09, 3.07746916e-07, 1.20911767e-10, 1)
- o79.BackSurface = Enum.SurfaceType.Weld
- o79.BottomSurface = Enum.SurfaceType.Weld
- o79.TopSurface = Enum.SurfaceType.Weld
- o79.Color = Color3.new(0.803922, 0.803922, 0.803922)
- o79.Position = Vector3.new(-136.411758, 16.1388741, -92.0623856)
- o80.Parent = o79
- o80.MeshType = Enum.MeshType.Wedge
- o81.Name = "Open"
- o81.Parent = o73
- o81.Material = Enum.Material.Neon
- o81.BrickColor = BrickColor.new("Lime green")
- o81.Position = Vector3.new(-134.234482, 11.4997835, -85.6711426)
- o81.Rotation = Vector3.new(0, 0, 0.219999999)
- o81.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
- o81.CFrame = CFrame.new(-134.234482, 11.4997835, -85.6711426, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31626632e-09, 3.07303196e-07, 1.30095823e-10, 1)
- o81.BackSurface = Enum.SurfaceType.Weld
- o81.BottomSurface = Enum.SurfaceType.Smooth
- o81.TopSurface = Enum.SurfaceType.Smooth
- o81.Color = Color3.new(0, 1, 0)
- o81.Position = Vector3.new(-134.234482, 11.4997835, -85.6711426)
- o82.Parent = o81
- o83.Name = "Close"
- o83.Parent = o73
- o83.Material = Enum.Material.Neon
- o83.BrickColor = BrickColor.new("Really red")
- o83.Position = Vector3.new(-134.834457, 11.497468, -85.6712646)
- o83.Rotation = Vector3.new(0, 0, 0.219999999)
- o83.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
- o83.CFrame = CFrame.new(-134.834457, 11.497468, -85.6712646, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31626632e-09, 3.07303196e-07, 1.30095823e-10, 1)
- o83.BackSurface = Enum.SurfaceType.Weld
- o83.BottomSurface = Enum.SurfaceType.Smooth
- o83.TopSurface = Enum.SurfaceType.Smooth
- o83.Color = Color3.new(1, 0, 0)
- o83.Position = Vector3.new(-134.834457, 11.497468, -85.6712646)
- o84.Parent = o83
- o85.Name = "DoorScript"
- o85.Parent = o73
- runDummyScript(function()
- local D1 = script.Parent.D1
- local D2 = script.Parent.D2
- local D3 = script.Parent.D3
- local D4 = script.Parent.D4
- function Open(opens)
- D1.CanCollide = false
- D2.CanCollide = false
- D3.CanCollide = false
- D4.CanCollide = false
- end
- script.Parent.Open.ClickDetector.MouseClick:connect(Open)
- function Close(closes)
- D1.CanCollide = true
- D2.CanCollide = true
- D3.CanCollide = true
- D4.CanCollide = true
- end
- script.Parent.Close.ClickDetector.MouseClick:connect(Close)
- end,o85)
- o86.Parent = o5
- o86.Material = Enum.Material.SmoothPlastic
- o86.BrickColor = BrickColor.new("Black")
- o86.Position = Vector3.new(-136.312637, 12.4150658, -91.9942627)
- o86.Rotation = Vector3.new(-90, -0.219999999, 180)
- o86.CanCollide = false
- o86.Size = Vector3.new(1.34999979, 0.379999965, 2)
- o86.CFrame = CFrame.new(-136.312637, 12.4150658, -91.9942627, -0.999992549, -3.08399422e-07, -0.00386700151, -0.00386700127, -1.30889932e-09, 0.999992609, -3.08402207e-07, 1, 1.16308664e-10)
- o86.BottomSurface = Enum.SurfaceType.Weld
- o86.TopSurface = Enum.SurfaceType.Smooth
- o86.MaxSpeed = 18
- o86.TurnSpeed = 50
- o86.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o86.Position = Vector3.new(-136.312637, 12.4150658, -91.9942627)
- o87.Name = "BoosterSystem"
- o87.Parent = o5
- o88.Name = "BoosterButton"
- o88.Parent = o87
- o88.Material = Enum.Material.Neon
- o88.BrickColor = BrickColor.new("New Yeller")
- o88.Position = Vector3.new(-137.686157, 11.9248848, -85.6220093)
- o88.Rotation = Vector3.new(-90, -0.219999999, 0)
- o88.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
- o88.CFrame = CFrame.new(-137.686157, 11.9248848, -85.6220093, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
- o88.BackSurface = Enum.SurfaceType.Weld
- o88.BottomSurface = Enum.SurfaceType.Weld
- o88.FrontSurface = Enum.SurfaceType.Weld
- o88.LeftSurface = Enum.SurfaceType.Weld
- o88.RightSurface = Enum.SurfaceType.Weld
- o88.TopSurface = Enum.SurfaceType.Smooth
- o88.Color = Color3.new(1, 1, 0)
- o88.Position = Vector3.new(-137.686157, 11.9248848, -85.6220093)
- o89.Name = "BoosterScript"
- o89.Parent = o88
- runDummyScript(function()
- -- This Script activates "Booster Mode"--
- local MainSeat = script.Parent.Parent.Parent.VehicleSeat
- local Boost1 = script.Parent.Parent.Booster1.Fire
- local Boost2 = script.Parent.Parent.Booster2.Fire2
- local F1 = script.Parent.Parent.F1
- local F2 = script.Parent.Parent.F2
- local F3 = script.Parent.Parent.F3
- local Sound = script.Parent.Parent.Sound
- BoostersCanBeUsed = true
- function Boosting(Boosts)
- if BoostersCanBeUsed == true then
- Sound:Play()
- BoostersCanBeUsed = false
- print(BoostersCanBeUsed)
- MainSeat.MaxSpeed = 50
- Boost1.Enabled = true
- Boost2.Enabled = true
- wait(4)
- F1.BrickColor = BrickColor.Black()
- wait(4)
- F2.BrickColor = BrickColor.Black()
- wait(4)
- F3.BrickColor = BrickColor.Black()
- MainSeat.MaxSpeed = 18
- Boost1.Enabled = false
- Boost2.Enabled = false
- Sound:Stop()
- wait(1)
- F1.BrickColor = BrickColor.new("Forest green")
- wait(1)
- F2.BrickColor = BrickColor.new("Forest green")
- wait(1)
- F3.BrickColor = BrickColor.new("Forest green")
- wait(3)
- BoostersCanBeUsed = true
- print(BoostersCanBeUsed)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(Boosting)
- end,o89)
- o90.Parent = o88
- o91.Name = "Booster1"
- o91.Parent = o87
- o91.Material = Enum.Material.SmoothPlastic
- o91.BrickColor = BrickColor.new("Really black")
- o91.Position = Vector3.new(-131.306717, 14.7583027, -92.8624191)
- o91.Rotation = Vector3.new(90.0099945, -89.8099976, -179.98999)
- o91.Size = Vector3.new(2, 0.200000003, 2)
- o91.CFrame = CFrame.new(-131.306717, 14.7583027, -92.8624191, -0.0034064427, 3.15561152e-07, -0.999994695, 0.999995172, 1.34493883e-09, -0.003414704, 2.72373846e-10, -1, -3.16726016e-07)
- o91.BackSurface = Enum.SurfaceType.Weld
- o91.BottomSurface = Enum.SurfaceType.Weld
- o91.FrontSurface = Enum.SurfaceType.Weld
- o91.LeftSurface = Enum.SurfaceType.Weld
- o91.RightSurface = Enum.SurfaceType.Weld
- o91.TopSurface = Enum.SurfaceType.Smooth
- o91.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o91.Position = Vector3.new(-131.306717, 14.7583027, -92.8624191)
- o92.Parent = o91
- o92.Size = 6
- o92.Color = Color3.new(0.666667, 1, 0)
- o92.Enabled = false
- o92.Heat = 25
- o93.Name = "Booster2"
- o93.Parent = o87
- o93.Material = Enum.Material.SmoothPlastic
- o93.BrickColor = BrickColor.new("Really black")
- o93.Position = Vector3.new(-141.506607, 14.719121, -92.8624191)
- o93.Rotation = Vector3.new(90.0099945, -89.8199997, -179.98999)
- o93.Size = Vector3.new(2, 0.200000003, 2)
- o93.CFrame = CFrame.new(-141.506607, 14.719121, -92.8624191, -0.00344607001, 3.19569352e-07, -0.999995291, 0.999996185, 1.35752398e-09, -0.00346259167, 2.60857808e-10, -1, -3.2189638e-07)
- o93.BackSurface = Enum.SurfaceType.Weld
- o93.BottomSurface = Enum.SurfaceType.Weld
- o93.FrontSurface = Enum.SurfaceType.Weld
- o93.LeftSurface = Enum.SurfaceType.Weld
- o93.RightSurface = Enum.SurfaceType.Weld
- o93.TopSurface = Enum.SurfaceType.Smooth
- o93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o93.Position = Vector3.new(-141.506607, 14.719121, -92.8624191)
- o94.Name = "Fire2"
- o94.Parent = o93
- o94.Size = 6
- o94.Color = Color3.new(0.666667, 1, 0)
- o94.Enabled = false
- o94.Heat = 25
- o95.Name = "F3"
- o95.Parent = o87
- o95.Material = Enum.Material.SmoothPlastic
- o95.BrickColor = BrickColor.new("Forest green")
- o95.Position = Vector3.new(-137.324097, 11.3746824, -85.5960693)
- o95.Rotation = Vector3.new(-90, -0.219999999, 0)
- o95.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
- o95.CFrame = CFrame.new(-137.324097, 11.3746824, -85.5960693, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
- o95.BackSurface = Enum.SurfaceType.Weld
- o95.BottomSurface = Enum.SurfaceType.Weld
- o95.FrontSurface = Enum.SurfaceType.Weld
- o95.LeftSurface = Enum.SurfaceType.Weld
- o95.RightSurface = Enum.SurfaceType.Weld
- o95.TopSurface = Enum.SurfaceType.Smooth
- o95.Color = Color3.new(0.121569, 0.501961, 0.113725)
- o95.Position = Vector3.new(-137.324097, 11.3746824, -85.5960693)
- o96.Name = "F2"
- o96.Parent = o87
- o96.Material = Enum.Material.SmoothPlastic
- o96.BrickColor = BrickColor.new("Forest green")
- o96.Position = Vector3.new(-137.684647, 11.373291, -85.5960693)
- o96.Rotation = Vector3.new(-90, -0.219999999, 0)
- o96.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
- o96.CFrame = CFrame.new(-137.684647, 11.373291, -85.5960693, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
- 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.Smooth
- o96.Color = Color3.new(0.121569, 0.501961, 0.113725)
- o96.Position = Vector3.new(-137.684647, 11.373291, -85.5960693)
- o97.Name = "F1"
- o97.Parent = o87
- o97.Material = Enum.Material.SmoothPlastic
- o97.BrickColor = BrickColor.new("Forest green")
- o97.Position = Vector3.new(-138.03064, 11.3719559, -85.5960693)
- o97.Rotation = Vector3.new(-90, -0.219999999, 0)
- o97.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
- o97.CFrame = CFrame.new(-138.03064, 11.3719559, -85.5960693, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
- o97.BackSurface = Enum.SurfaceType.Weld
- o97.BottomSurface = Enum.SurfaceType.Weld
- o97.FrontSurface = Enum.SurfaceType.Weld
- o97.LeftSurface = Enum.SurfaceType.Weld
- o97.RightSurface = Enum.SurfaceType.Weld
- o97.TopSurface = Enum.SurfaceType.Smooth
- o97.Color = Color3.new(0.121569, 0.501961, 0.113725)
- o97.Position = Vector3.new(-138.03064, 11.3719559, -85.5960693)
- o98.Parent = o87
- o98.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
- o98.Looped = true
- o99.Parent = o5
- o100.Name = "Self-Destruct System"
- o100.Parent = o99
- o101.Name = "ExplosionButton"
- o101.Parent = o100
- o101.Material = Enum.Material.Neon
- o101.BrickColor = BrickColor.new("Really red")
- o101.Position = Vector3.new(-138.542694, 11.9215803, -85.6213379)
- o101.Rotation = Vector3.new(-90, -0.219999999, 0)
- o101.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
- o101.CFrame = CFrame.new(-138.542694, 11.9215803, -85.6213379, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
- o101.BackSurface = Enum.SurfaceType.Weld
- o101.BottomSurface = Enum.SurfaceType.Weld
- o101.FrontSurface = Enum.SurfaceType.Weld
- o101.LeftSurface = Enum.SurfaceType.Weld
- o101.RightSurface = Enum.SurfaceType.Weld
- o101.TopSurface = Enum.SurfaceType.Smooth
- o101.Color = Color3.new(1, 0, 0)
- o101.Position = Vector3.new(-138.542694, 11.9215803, -85.6213379)
- o102.Parent = o101
- o103.Name = "Core"
- o103.Parent = o100
- o103.Material = Enum.Material.SmoothPlastic
- o103.Transparency = 1
- o103.Position = Vector3.new(-136.338455, 12.6336546, -92.5733643)
- o103.Rotation = Vector3.new(0, 0, 0.219999999)
- o103.CanCollide = false
- o103.Size = Vector3.new(1.399997, 1.60000014, 0.780000091)
- o103.CFrame = CFrame.new(-136.338455, 12.6336546, -92.5733643, 0.999992549, -0.00387441297, -3.09448865e-07, 0.00387441274, 0.999992609, -1.31453959e-09, 3.0945165e-07, 1.15597289e-10, 1)
- o103.BackSurface = Enum.SurfaceType.Weld
- o103.BottomSurface = Enum.SurfaceType.Weld
- o103.FrontSurface = Enum.SurfaceType.Weld
- o103.LeftSurface = Enum.SurfaceType.Weld
- o103.RightSurface = Enum.SurfaceType.Weld
- o103.TopSurface = Enum.SurfaceType.Smooth
- o103.Position = Vector3.new(-136.338455, 12.6336546, -92.5733643)
- o104.Name = "MechExplosionScript"
- o104.Parent = o103
- runDummyScript(function()
- local x = 1
- local ExplosionSound = script.Parent.Sound
- local Alarm = script.Parent.Parent.Light.PointLight
- function Explosion(Explodes)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- wait(2)
- ExplosionSound:Play()
- local Boom = Instance.new("Explosion")
- Boom.Parent = game.Workspace
- Boom.Position = script.Parent.Parent.Core.Position
- Boom.BlastRadius = 75
- end
- script.Parent.Parent.ExplosionButton.ClickDetector.MouseClick:connect(Explosion)
- end,o104)
- o105.Parent = o103
- o105.SoundId = "rbxassetid://144699494"
- o105.Volume = 1.5
- o106.Name = "Light"
- o106.Parent = o100
- o106.Material = Enum.Material.Neon
- o106.BrickColor = BrickColor.new("Really red")
- o106.Position = Vector3.new(-136.398834, 15.3139372, -90.0123901)
- o106.Rotation = Vector3.new(0, 0, 0.219999999)
- o106.Size = Vector3.new(1, 0.0500000007, 1)
- o106.CFrame = CFrame.new(-136.398834, 15.3139372, -90.0123901, 0.999993026, -0.00388078252, -3.13499214e-07, 0.00388904405, 0.999993443, -1.3262369e-09, 3.14664106e-07, 1.1145445e-10, 1)
- o106.BackSurface = Enum.SurfaceType.Weld
- o106.BottomSurface = Enum.SurfaceType.Weld
- o106.FrontSurface = Enum.SurfaceType.Weld
- o106.LeftSurface = Enum.SurfaceType.Weld
- o106.RightSurface = Enum.SurfaceType.Weld
- o106.TopSurface = Enum.SurfaceType.Smooth
- o106.Color = Color3.new(1, 0, 0)
- o106.Position = Vector3.new(-136.398834, 15.3139372, -90.0123901)
- o107.Parent = o106
- o107.Color = Color3.new(1, 0, 0)
- o107.Enabled = false
- o107.Brightness = 10
- o108.Parent = o99
- o108.Material = Enum.Material.SmoothPlastic
- o108.Position = Vector3.new(-139.391022, 10.6272221, -93.6623535)
- o108.Rotation = Vector3.new(0, 0, -179.779999)
- o108.FormFactor = Enum.FormFactor.Symmetric
- o108.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o108.CFrame = CFrame.new(-139.391022, 10.6272221, -93.6623535, -0.999992907, 0.00390883349, -3.16962655e-07, -0.00391709479, -0.999993324, -1.35288869e-09, -3.18127604e-07, -1.15712787e-10, 1)
- o108.BackSurface = Enum.SurfaceType.Weld
- o108.BottomSurface = Enum.SurfaceType.Weld
- o108.TopSurface = Enum.SurfaceType.Weld
- o108.Position = Vector3.new(-139.391022, 10.6272221, -93.6623535)
- o109.Parent = o108
- o109.MeshType = Enum.MeshType.Wedge
- o110.Parent = o99
- o110.Material = Enum.Material.SmoothPlastic
- o110.Position = Vector3.new(-136.38559, 9.23888493, -89.062439)
- o110.Rotation = Vector3.new(-180, 0, 179.769989)
- o110.FormFactor = Enum.FormFactor.Symmetric
- o110.Size = Vector3.new(7, 1, 3)
- o110.CFrame = CFrame.new(-136.38559, 9.23888493, -89.062439, -0.999992788, -0.00394192152, 3.21631603e-07, -0.00395018281, 0.999993205, 1.35352307e-09, -3.22796524e-07, 8.73777509e-11, -1)
- o110.BottomSurface = Enum.SurfaceType.Smooth
- o110.TopSurface = Enum.SurfaceType.Weld
- o110.Position = Vector3.new(-136.38559, 9.23888493, -89.062439)
- o111.Parent = o99
- o111.Material = Enum.Material.SmoothPlastic
- o111.Position = Vector3.new(-134.295563, 11.8470898, -90.2623901)
- o111.Rotation = Vector3.new(-90, 89.7900009, 90)
- o111.FormFactor = Enum.FormFactor.Symmetric
- o111.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o111.CFrame = CFrame.new(-134.295563, 11.8470898, -90.2623901, 2.96365215e-07, -0.00382916396, 0.999993205, 1.25075272e-09, 0.999993622, 0.00383742526, -1, 1.17963972e-10, 2.97529937e-07)
- o111.BackSurface = Enum.SurfaceType.Weld
- o111.BottomSurface = Enum.SurfaceType.Weld
- o111.TopSurface = Enum.SurfaceType.Weld
- o111.Position = Vector3.new(-134.295563, 11.8470898, -90.2623901)
- o112.Parent = o111
- o112.MeshType = Enum.MeshType.Wedge
- o113.Parent = o99
- o113.Material = Enum.Material.SmoothPlastic
- o113.Position = Vector3.new(-139.411987, 16.1272125, -92.062439)
- o113.Rotation = Vector3.new(0, 0, 0.219999999)
- o113.FormFactor = Enum.FormFactor.Symmetric
- o113.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
- o113.CFrame = CFrame.new(-139.411987, 16.1272125, -92.062439, 0.999992907, -0.00390964467, -3.17070402e-07, 0.00391790597, 0.999993324, -1.33432276e-09, 3.18235294e-07, 9.64668206e-11, 1)
- o113.BackSurface = Enum.SurfaceType.Weld
- o113.BottomSurface = Enum.SurfaceType.Weld
- o113.TopSurface = Enum.SurfaceType.Weld
- o113.Position = Vector3.new(-139.411987, 16.1272125, -92.062439)
- o114.Parent = o113
- o114.MeshType = Enum.MeshType.Wedge
- o115.Parent = o99
- o115.Material = Enum.Material.Neon
- o115.BrickColor = BrickColor.new("Electric blue")
- o115.Position = Vector3.new(-133.924484, 13.0484543, -90.2623901)
- o115.Rotation = Vector3.new(0, 0, 0.219999999)
- o115.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
- o115.CFrame = CFrame.new(-133.924484, 13.0484543, -90.2623901, 0.999993086, -0.00385521143, -3.09167092e-07, 0.00386347272, 0.999993503, -1.30257616e-09, 3.10331899e-07, 1.12577392e-10, 1)
- 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.Smooth
- o115.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- o115.Position = Vector3.new(-133.924484, 13.0484543, -90.2623901)
- o116.Parent = o99
- o116.Material = Enum.Material.SmoothPlastic
- o116.Position = Vector3.new(-133.400177, 13.0506907, -90.2623901)
- o116.Rotation = Vector3.new(0, 0, 0.219999999)
- o116.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
- o116.CFrame = CFrame.new(-133.400177, 13.0506907, -90.2623901, 0.999993026, -0.00386912725, -3.02358785e-07, 0.00387738855, 0.999993443, -1.26520761e-09, 3.03523507e-07, 9.72889616e-11, 1)
- o116.BackSurface = Enum.SurfaceType.Weld
- o116.BottomSurface = Enum.SurfaceType.Weld
- o116.FrontSurface = Enum.SurfaceType.Weld
- o116.LeftSurface = Enum.SurfaceType.Weld
- o116.RightSurface = Enum.SurfaceType.Weld
- o116.TopSurface = Enum.SurfaceType.Smooth
- o116.Position = Vector3.new(-133.400177, 13.0506907, -90.2623901)
- o117.Parent = o99
- o117.Material = Enum.Material.SmoothPlastic
- o117.Position = Vector3.new(-138.5047, 14.2307224, -90.2623901)
- o117.Rotation = Vector3.new(90, -89.7900009, -90)
- o117.FormFactor = Enum.FormFactor.Symmetric
- o117.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o117.CFrame = CFrame.new(-138.5047, 14.2307224, -90.2623901, 2.92243811e-07, 0.00382190244, -0.999993265, 1.21178967e-09, -0.999993682, -0.00383016351, -1, -9.6947457e-11, -2.93408419e-07)
- o117.BackSurface = Enum.SurfaceType.Weld
- o117.BottomSurface = Enum.SurfaceType.Weld
- o117.TopSurface = Enum.SurfaceType.Weld
- o117.Position = Vector3.new(-138.5047, 14.2307224, -90.2623901)
- o118.Parent = o117
- o118.MeshType = Enum.MeshType.Wedge
- o119.Parent = o99
- o119.Material = Enum.Material.SmoothPlastic
- o119.Position = Vector3.new(-134.304718, 14.2471066, -90.2623901)
- o119.Rotation = Vector3.new(-90, 89.7900009, -90)
- o119.FormFactor = Enum.FormFactor.Symmetric
- o119.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o119.CFrame = CFrame.new(-134.304718, 14.2471066, -90.2623901, -3.10727444e-07, 0.00386843714, 0.999993026, -1.31857103e-09, -0.999993443, 0.00387669844, 1, -1.18418705e-10, 3.11892308e-07)
- o119.BackSurface = Enum.SurfaceType.Weld
- o119.BottomSurface = Enum.SurfaceType.Weld
- o119.TopSurface = Enum.SurfaceType.Weld
- o119.Position = Vector3.new(-134.304718, 14.2471066, -90.2623901)
- o120.Parent = o119
- o120.MeshType = Enum.MeshType.Wedge
- o121.Parent = o99
- o121.Material = Enum.Material.SmoothPlastic
- o121.Position = Vector3.new(-139.400116, 13.0271254, -90.2623901)
- o121.Rotation = Vector3.new(0, 0, 0.219999999)
- o121.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
- o121.CFrame = CFrame.new(-139.400116, 13.0271254, -90.2623901, 0.999993026, -0.00387678109, -3.12344838e-07, 0.00388504239, 0.999993443, -1.31730349e-09, 3.13509702e-07, 1.08265084e-10, 1)
- 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.Smooth
- o121.Position = Vector3.new(-139.400116, 13.0271254, -90.2623901)
- o122.Parent = o99
- o122.Material = Enum.Material.Neon
- o122.BrickColor = BrickColor.new("Electric blue")
- o122.Position = Vector3.new(-138.875092, 13.0293636, -90.2623901)
- o122.Rotation = Vector3.new(0, 0, 0.219999999)
- o122.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
- o122.CFrame = CFrame.new(-138.875092, 13.0293636, -90.2623901, 0.999992967, -0.00388980261, -3.14229197e-07, 0.00389806391, 0.999993384, -1.33473788e-09, 3.15394118e-07, 1.14271606e-10, 1)
- o122.BackSurface = Enum.SurfaceType.Weld
- o122.BottomSurface = Enum.SurfaceType.Weld
- o122.FrontSurface = Enum.SurfaceType.Weld
- o122.LeftSurface = Enum.SurfaceType.Weld
- o122.RightSurface = Enum.SurfaceType.Weld
- o122.TopSurface = Enum.SurfaceType.Smooth
- o122.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- o122.Position = Vector3.new(-138.875092, 13.0293636, -90.2623901)
- o123.Parent = o99
- o123.Material = Enum.Material.SmoothPlastic
- o123.Position = Vector3.new(-133.391006, 10.6505375, -93.6623535)
- o123.Rotation = Vector3.new(0, 0, -179.779999)
- o123.FormFactor = Enum.FormFactor.Symmetric
- o123.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o123.CFrame = CFrame.new(-133.391006, 10.6505375, -93.6623535, -0.999993026, 0.00386983855, -3.11498411e-07, -0.00387809984, -0.999993443, -1.31491795e-09, -3.12663275e-07, -1.1133864e-10, 1)
- o123.BackSurface = Enum.SurfaceType.Weld
- o123.BottomSurface = Enum.SurfaceType.Weld
- o123.TopSurface = Enum.SurfaceType.Weld
- o123.Position = Vector3.new(-133.391006, 10.6505375, -93.6623535)
- o124.Parent = o123
- o124.MeshType = Enum.MeshType.Wedge
- o125.Parent = o99
- o125.Material = Enum.Material.SmoothPlastic
- o125.Position = Vector3.new(-136.413895, 16.6389523, -88.4624023)
- o125.Rotation = Vector3.new(-180, 0, 179.779999)
- o125.FormFactor = Enum.FormFactor.Symmetric
- o125.Size = Vector3.new(7.00000143, 0.599999845, 1.79999995)
- o125.CFrame = CFrame.new(-136.413895, 16.6389523, -88.4624023, -0.999993086, -0.00386519334, 3.10375526e-07, -0.00387345464, 0.999993503, 1.32054589e-09, -3.11540418e-07, 1.22768462e-10, -1)
- o125.BackSurface = Enum.SurfaceType.Weld
- o125.BottomSurface = Enum.SurfaceType.Weld
- o125.TopSurface = Enum.SurfaceType.Weld
- o125.Position = Vector3.new(-136.413895, 16.6389523, -88.4624023)
- o126.Parent = o125
- o126.MeshType = Enum.MeshType.Wedge
- o127.Parent = o99
- o127.Material = Enum.Material.SmoothPlastic
- o127.Position = Vector3.new(-136.411896, 16.1388988, -90.2623901)
- o127.Rotation = Vector3.new(0, 0, 0.219999999)
- o127.Size = Vector3.new(6.99999809, 1.60000014, 1.79999948)
- o127.CFrame = CFrame.new(-136.411896, 16.1388988, -90.2623901, 0.999993324, -0.00380041846, -3.01489166e-07, 0.00380867976, 0.999993742, -1.27796096e-09, 3.02653973e-07, 1.3420913e-10, 1)
- 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.Smooth
- o127.Position = Vector3.new(-136.411896, 16.1388988, -90.2623901)
- o128.Parent = o99
- o128.Material = Enum.Material.SmoothPlastic
- o128.Position = Vector3.new(-136.385925, 9.23890209, -91.7622681)
- o128.Rotation = Vector3.new(0, 0, 0.219999999)
- o128.Size = Vector3.new(6.99999475, 1, 2.39999962)
- o128.CFrame = CFrame.new(-136.385925, 9.23890209, -91.7622681, 0.999993026, -0.00387544348, -3.1225099e-07, 0.00388370478, 0.999993443, -1.31166134e-09, 3.13415825e-07, 1.03406866e-10, 1)
- o128.BackSurface = Enum.SurfaceType.Weld
- o128.BottomSurface = Enum.SurfaceType.Weld
- o128.FrontSurface = Enum.SurfaceType.Weld
- o128.LeftSurface = Enum.SurfaceType.Weld
- o128.RightSurface = Enum.SurfaceType.Weld
- o128.TopSurface = Enum.SurfaceType.Smooth
- o128.Position = Vector3.new(-136.385925, 9.23890209, -91.7622681)
- o129.Parent = o99
- o129.Material = Enum.Material.SmoothPlastic
- o129.Position = Vector3.new(-138.495468, 11.8308277, -90.2623901)
- o129.Rotation = Vector3.new(90, -89.7900009, 90)
- o129.FormFactor = Enum.FormFactor.Symmetric
- o129.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o129.CFrame = CFrame.new(-138.495468, 11.8308277, -90.2623901, -3.0446526e-07, -0.00383994402, -0.999993145, -1.29226485e-09, 0.999993563, -0.00384820532, 1, 1.25097793e-10, -3.05630067e-07)
- o129.BackSurface = Enum.SurfaceType.Weld
- o129.BottomSurface = Enum.SurfaceType.Weld
- o129.TopSurface = Enum.SurfaceType.Weld
- o129.Position = Vector3.new(-138.495468, 11.8308277, -90.2623901)
- o130.Parent = o129
- o130.MeshType = Enum.MeshType.Wedge
- o131.Parent = o99
- o131.Material = Enum.Material.SmoothPlastic
- o131.Position = Vector3.new(-136.410919, 15.8387823, -88.4624023)
- o131.Rotation = Vector3.new(0, 0, 0.219999999)
- o131.Size = Vector3.new(6.99999714, 1, 1.79999948)
- o131.CFrame = CFrame.new(-136.410919, 15.8387823, -88.4624023, 0.999993086, -0.00386062055, -3.09907676e-07, 0.00386888185, 0.999993503, -1.32185107e-09, 3.11072569e-07, 1.27308303e-10, 1)
- 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.Smooth
- o131.Position = Vector3.new(-136.410919, 15.8387823, -88.4624023)
- o132.Parent = o99
- o132.Material = Enum.Material.SmoothPlastic
- o132.Position = Vector3.new(-133.405502, 14.450489, -93.6624146)
- o132.Rotation = Vector3.new(0, 0, 0.219999999)
- o132.FormFactor = Enum.FormFactor.Symmetric
- o132.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o132.CFrame = CFrame.new(-133.405502, 14.450489, -93.6624146, 0.999993086, -0.00385521119, -3.09167092e-07, 0.00386347249, 0.999993503, -1.30241862e-09, 3.10331899e-07, 1.124199e-10, 1)
- o132.BackSurface = Enum.SurfaceType.Weld
- o132.BottomSurface = Enum.SurfaceType.Weld
- o132.TopSurface = Enum.SurfaceType.Weld
- o132.Position = Vector3.new(-133.405502, 14.450489, -93.6624146)
- o133.Parent = o132
- o133.MeshType = Enum.MeshType.Wedge
- o134.Parent = o99
- o134.Material = Enum.Material.SmoothPlastic
- o134.Position = Vector3.new(-139.405502, 14.4273129, -93.6624146)
- o134.Rotation = Vector3.new(0, 0, 0.219999999)
- o134.FormFactor = Enum.FormFactor.Symmetric
- o134.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o134.CFrame = CFrame.new(-139.405502, 14.4273129, -93.6624146, 0.999993026, -0.00386988674, -3.11471069e-07, 0.00387814804, 0.999993443, -1.32307132e-09, 3.12635962e-07, 1.19582927e-10, 1)
- o134.BackSurface = Enum.SurfaceType.Weld
- o134.BottomSurface = Enum.SurfaceType.Weld
- o134.TopSurface = Enum.SurfaceType.Weld
- o134.Position = Vector3.new(-139.405502, 14.4273129, -93.6624146)
- o135.Parent = o134
- o135.MeshType = Enum.MeshType.Wedge
- o136.Parent = o99
- o136.Material = Enum.Material.SmoothPlastic
- o136.Position = Vector3.new(-133.412018, 16.1504898, -92.062439)
- o136.Rotation = Vector3.new(0, 0, 0.219999999)
- o136.FormFactor = Enum.FormFactor.Symmetric
- o136.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
- o136.CFrame = CFrame.new(-133.412018, 16.1504898, -92.062439, 0.999993026, -0.00386218843, -3.10255103e-07, 0.00387044973, 0.999993443, -1.31351019e-09, 3.11419967e-07, 1.17134913e-10, 1)
- o136.BackSurface = Enum.SurfaceType.Weld
- o136.BottomSurface = Enum.SurfaceType.Weld
- o136.TopSurface = Enum.SurfaceType.Weld
- o136.Position = Vector3.new(-133.412018, 16.1504898, -92.062439)
- o137.Parent = o136
- o137.MeshType = Enum.MeshType.Wedge
- o138.Parent = o99
- o138.Material = Enum.Material.SmoothPlastic
- o138.Position = Vector3.new(-139.398224, 12.5273781, -93.6623535)
- o138.Rotation = Vector3.new(-180, 0, -0.219999999)
- o138.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
- o138.CFrame = CFrame.new(-139.398224, 12.5273781, -93.6623535, 0.999993086, 0.00386747089, 3.11133306e-07, 0.00387573219, -0.999993503, 1.321103e-09, 3.12298198e-07, -1.1967892e-10, -1)
- 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.Smooth
- o138.Position = Vector3.new(-139.398224, 12.5273781, -93.6623535)
- o139.Parent = o99
- o139.Material = Enum.Material.SmoothPlastic
- o139.Position = Vector3.new(-136.389435, 10.2388763, -90.2623901)
- o139.Rotation = Vector3.new(0, 0, 0.219999999)
- o139.Size = Vector3.new(6.99999714, 1, 5.39999914)
- o139.CFrame = CFrame.new(-136.389435, 10.2388763, -90.2623901, 0.999993145, -0.00384431263, -3.07862365e-07, 0.00385257392, 0.999993563, -1.30337707e-09, 3.090272e-07, 1.21787094e-10, 1)
- o139.BackSurface = Enum.SurfaceType.Weld
- o139.BottomSurface = Enum.SurfaceType.Weld
- o139.FrontSurface = Enum.SurfaceType.Weld
- o139.LeftSurface = Enum.SurfaceType.Weld
- o139.RightSurface = Enum.SurfaceType.Weld
- o139.TopSurface = Enum.SurfaceType.Smooth
- o139.Position = Vector3.new(-136.389435, 10.2388763, -90.2623901)
- o140.Parent = o99
- o140.Material = Enum.Material.SmoothPlastic
- o140.Position = Vector3.new(-133.398224, 12.550457, -93.6623535)
- o140.Rotation = Vector3.new(-180, 0, -0.219999999)
- o140.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
- o140.CFrame = CFrame.new(-133.398224, 12.550457, -93.6623535, 0.999993145, 0.00384168327, 3.07266504e-07, 0.00384994457, -0.999993563, 1.29936928e-09, 3.08431339e-07, -1.20885815e-10, -1)
- 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.Smooth
- o140.Position = Vector3.new(-133.398224, 12.550457, -93.6623535)
- o141.Name = "DO NOT USE"
- o141.Parent = o99
- o141.Material = Enum.Material.SmoothPlastic
- o141.Position = Vector3.new(-144.803925, 14.0059633, -90.4624023)
- o141.Rotation = Vector3.new(-90, 89.7900009, 90)
- o141.FormFactor = Enum.FormFactor.Symmetric
- o141.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
- o141.CFrame = CFrame.new(-144.803925, 14.0059633, -90.4624023, 2.83083523e-07, -0.00377638242, 0.999993443, 1.20261534e-09, 0.999993861, 0.00378464372, -1, 1.35797429e-10, 2.84248188e-07)
- o141.BackSurface = Enum.SurfaceType.Weld
- o141.BottomSurface = Enum.SurfaceType.Weld
- o141.TopSurface = Enum.SurfaceType.Weld
- o141.Position = Vector3.new(-144.803925, 14.0059633, -90.4624023)
- o142.Parent = o141
- o142.MeshType = Enum.MeshType.Wedge
- o143.Parent = o99
- o143.Material = Enum.Material.SmoothPlastic
- o143.Position = Vector3.new(-142.303955, 14.0159149, -90.4624023)
- o143.Rotation = Vector3.new(0, 0, 0.219999999)
- o143.Size = Vector3.new(4.79999781, 1, 2.59999967)
- o143.CFrame = CFrame.new(-142.303955, 14.0159149, -90.4624023, 0.999992907, -0.00391045352, -3.17577928e-07, 0.00391871482, 0.999993324, -1.34255496e-09, 3.18742849e-07, 1.0245263e-10, 1)
- o143.BackSurface = Enum.SurfaceType.Weld
- o143.BottomSurface = Enum.SurfaceType.Weld
- o143.FrontSurface = Enum.SurfaceType.Weld
- o143.LeftSurface = Enum.SurfaceType.Weld
- o143.RightSurface = Enum.SurfaceType.Weld
- o143.TopSurface = Enum.SurfaceType.Smooth
- o143.Position = Vector3.new(-142.303955, 14.0159149, -90.4624023)
- o144.Name = "DO NOT USE"
- o144.Parent = o99
- o144.Material = Enum.Material.SmoothPlastic
- o144.Position = Vector3.new(-144.407684, 15.0075855, -90.4624023)
- o144.Rotation = Vector3.new(-90, 89.7999954, 90)
- o144.FormFactor = Enum.FormFactor.Symmetric
- o144.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
- o144.CFrame = CFrame.new(-144.407684, 15.0075855, -90.4624023, 2.90487719e-07, -0.00380556798, 0.999993861, 1.23564725e-09, 0.999994695, 0.00382209057, -1, 1.34412495e-10, 2.92814576e-07)
- o144.BackSurface = Enum.SurfaceType.Weld
- o144.BottomSurface = Enum.SurfaceType.Weld
- o144.TopSurface = Enum.SurfaceType.Weld
- o144.Position = Vector3.new(-144.407684, 15.0075855, -90.4624023)
- o145.Parent = o144
- o145.MeshType = Enum.MeshType.Wedge
- o146.Parent = o99
- o146.Material = Enum.Material.SmoothPlastic
- o146.Position = Vector3.new(-142.007721, 15.0170469, -90.4624023)
- o146.Rotation = Vector3.new(0, 0, 0.219999999)
- o146.Size = Vector3.new(4.19999838, 1, 2.59999967)
- o146.CFrame = CFrame.new(-142.007721, 15.0170469, -90.4624023, 0.999992967, -0.00389168435, -3.14000346e-07, 0.00389994564, 0.999993384, -1.33123124e-09, 3.15165238e-07, 1.11064012e-10, 1)
- o146.BackSurface = Enum.SurfaceType.Weld
- o146.BottomSurface = Enum.SurfaceType.Weld
- o146.FrontSurface = Enum.SurfaceType.Weld
- o146.LeftSurface = Enum.SurfaceType.Weld
- o146.RightSurface = Enum.SurfaceType.Weld
- o146.TopSurface = Enum.SurfaceType.Smooth
- o146.Position = Vector3.new(-142.007721, 15.0170469, -90.4624023)
- o147.Name = "DO NOT USE"
- o147.Parent = o99
- o147.Material = Enum.Material.SmoothPlastic
- o147.Position = Vector3.new(-142.011841, 16.1170216, -90.4624023)
- o147.Rotation = Vector3.new(-90, 89.7900009, 90)
- o147.FormFactor = Enum.FormFactor.Symmetric
- o147.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
- o147.CFrame = CFrame.new(-142.011841, 16.1170216, -90.4624023, 3.05965557e-07, -0.00383760035, 0.999993205, 1.29385258e-09, 0.999993622, 0.00384586165, -1, 1.21631788e-10, 3.07130392e-07)
- o147.BackSurface = Enum.SurfaceType.Weld
- o147.BottomSurface = Enum.SurfaceType.Weld
- o147.TopSurface = Enum.SurfaceType.Weld
- o147.Position = Vector3.new(-142.011841, 16.1170216, -90.4624023)
- o148.Parent = o147
- o148.MeshType = Enum.MeshType.Wedge
- o149.Name = "DO NOT USE"
- o149.Parent = o99
- o149.Material = Enum.Material.SmoothPlastic
- o149.Position = Vector3.new(-128.004333, 14.0709505, -90.4624023)
- o149.Rotation = Vector3.new(90, -89.7799988, 90)
- o149.FormFactor = Enum.FormFactor.Symmetric
- o149.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
- o149.CFrame = CFrame.new(-128.004333, 14.0709505, -90.4624023, -2.99518319e-07, -0.00391799491, -0.999992907, -1.26896382e-09, 0.999993324, -0.00392625621, 1, 9.73650258e-11, -3.0068307e-07)
- o149.BackSurface = Enum.SurfaceType.Weld
- o149.BottomSurface = Enum.SurfaceType.Weld
- o149.TopSurface = Enum.SurfaceType.Weld
- o149.Position = Vector3.new(-128.004333, 14.0709505, -90.4624023)
- o150.Parent = o149
- o150.MeshType = Enum.MeshType.Wedge
- o151.Name = "DO NOT USE"
- o151.Parent = o99
- o151.Material = Enum.Material.SmoothPlastic
- o151.Position = Vector3.new(-142.400482, 13.1153612, -90.4624023)
- o151.Rotation = Vector3.new(-90, 89.7900009, -90)
- o151.FormFactor = Enum.FormFactor.Symmetric
- o151.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
- o151.CFrame = CFrame.new(-142.400482, 13.1153612, -90.4624023, -3.04496041e-07, 0.00386756659, 0.999993086, -1.27038935e-10, -0.999993503, 0.00387582788, 1, 1.04868003e-09, 3.05656357e-07)
- o151.BackSurface = Enum.SurfaceType.Weld
- o151.BottomSurface = Enum.SurfaceType.Weld
- o151.TopSurface = Enum.SurfaceType.Weld
- o151.Position = Vector3.new(-142.400482, 13.1153612, -90.4624023)
- o152.Parent = o151
- o152.MeshType = Enum.MeshType.Wedge
- o153.Parent = o99
- o153.Material = Enum.Material.SmoothPlastic
- o153.Position = Vector3.new(-141.506607, 14.719121, -92.2623901)
- o153.Rotation = Vector3.new(90.0099945, -89.8099976, -179.98999)
- o153.Size = Vector3.new(2, 1, 2)
- o153.CFrame = CFrame.new(-141.506607, 14.719121, -92.2623901, -0.00358736608, 3.19708022e-07, -0.999994755, 0.99999553, 1.3538386e-09, -0.00360388844, 2.11189677e-10, -1, -3.22035049e-07)
- o153.BackSurface = Enum.SurfaceType.Weld
- o153.BottomSurface = Enum.SurfaceType.Weld
- o153.FrontSurface = Enum.SurfaceType.Weld
- o153.LeftSurface = Enum.SurfaceType.Weld
- o153.RightSurface = Enum.SurfaceType.Weld
- o153.TopSurface = Enum.SurfaceType.Smooth
- o153.Position = Vector3.new(-141.506607, 14.719121, -92.2623901)
- o154.Parent = o99
- o154.Material = Enum.Material.SmoothPlastic
- o154.Position = Vector3.new(-130.503998, 14.0612335, -90.4624023)
- o154.Rotation = Vector3.new(-180, 0, 179.779999)
- o154.Size = Vector3.new(4.79999781, 1, 2.59999967)
- o154.CFrame = CFrame.new(-130.503998, 14.0612335, -90.4624023, -0.999993205, -0.00381849753, 3.10876118e-07, -0.00382675882, 0.999993622, 1.31891498e-09, -3.12040981e-07, 1.33769565e-10, -1)
- o154.BackSurface = Enum.SurfaceType.Weld
- o154.BottomSurface = Enum.SurfaceType.Weld
- o154.FrontSurface = Enum.SurfaceType.Weld
- o154.LeftSurface = Enum.SurfaceType.Weld
- o154.RightSurface = Enum.SurfaceType.Weld
- o154.TopSurface = Enum.SurfaceType.Smooth
- o154.Position = Vector3.new(-130.503998, 14.0612335, -90.4624023)
- o155.Name = "DO NOT USE"
- o155.Parent = o99
- o155.Material = Enum.Material.SmoothPlastic
- o155.Position = Vector3.new(-130.400864, 13.1614475, -90.4624023)
- o155.Rotation = Vector3.new(90, -89.7999954, -90)
- o155.FormFactor = Enum.FormFactor.Symmetric
- o155.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
- o155.CFrame = CFrame.new(-130.400864, 13.1614475, -90.4624023, 2.90840177e-07, 0.00371806533, -0.999993622, 1.24092747e-09, -0.99999404, -0.00372632663, -1, -1.61782171e-10, -2.9200487e-07)
- o155.BackSurface = Enum.SurfaceType.Weld
- o155.BottomSurface = Enum.SurfaceType.Weld
- o155.TopSurface = Enum.SurfaceType.Weld
- o155.Position = Vector3.new(-130.400864, 13.1614475, -90.4624023)
- o156.Parent = o155
- o156.MeshType = Enum.MeshType.Wedge
- o157.Name = "DO NOT USE"
- o157.Parent = o99
- o157.Material = Enum.Material.SmoothPlastic
- o157.Position = Vector3.new(-130.812561, 16.1606331, -90.4624023)
- o157.Rotation = Vector3.new(90, -89.7999954, 90)
- o157.FormFactor = Enum.FormFactor.Symmetric
- o157.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
- o157.CFrame = CFrame.new(-130.812561, 16.1606331, -90.4624023, -2.90960116e-07, -0.00377950794, -0.99999398, -1.23688126e-09, 0.999994814, -0.0037960303, 1, 1.41503434e-10, -2.93286973e-07)
- o157.BackSurface = Enum.SurfaceType.Weld
- o157.BottomSurface = Enum.SurfaceType.Weld
- o157.TopSurface = Enum.SurfaceType.Weld
- o157.Position = Vector3.new(-130.812561, 16.1606331, -90.4624023)
- o158.Parent = o157
- o158.MeshType = Enum.MeshType.Wedge
- o159.Name = "DO NOT USE"
- o159.Parent = o99
- o159.Material = Enum.Material.SmoothPlastic
- o159.Position = Vector3.new(-128.408279, 15.0694637, -90.4624023)
- o159.Rotation = Vector3.new(90, -89.7900009, 90)
- o159.FormFactor = Enum.FormFactor.Symmetric
- o159.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
- o159.CFrame = CFrame.new(-128.408279, 15.0694637, -90.4624023, -3.00085901e-07, -0.00387570681, -0.999992967, -1.27756172e-09, 0.999993384, -0.00388396811, 1, 1.1647372e-10, -3.0125068e-07)
- o159.BackSurface = Enum.SurfaceType.Weld
- o159.BottomSurface = Enum.SurfaceType.Weld
- o159.TopSurface = Enum.SurfaceType.Weld
- o159.Position = Vector3.new(-128.408279, 15.0694637, -90.4624023)
- o160.Parent = o159
- o160.MeshType = Enum.MeshType.Wedge
- o161.Parent = o99
- o161.Material = Enum.Material.SmoothPlastic
- o161.Position = Vector3.new(-131.306686, 14.758049, -92.2623901)
- o161.Rotation = Vector3.new(90.0099945, -89.8099976, -179.98999)
- o161.Size = Vector3.new(2, 1, 2)
- o161.CFrame = CFrame.new(-131.306686, 14.758049, -92.2623901, -0.00349863991, 3.19982433e-07, -0.999994397, 0.999994874, 1.35548894e-09, -0.00350690121, 2.38217612e-10, -1, -3.21147326e-07)
- o161.BackSurface = Enum.SurfaceType.Weld
- o161.BottomSurface = Enum.SurfaceType.Weld
- o161.FrontSurface = Enum.SurfaceType.Weld
- o161.LeftSurface = Enum.SurfaceType.Weld
- o161.RightSurface = Enum.SurfaceType.Weld
- o161.TopSurface = Enum.SurfaceType.Smooth
- o161.Position = Vector3.new(-131.306686, 14.758049, -92.2623901)
- o162.Parent = o99
- o162.Material = Enum.Material.SmoothPlastic
- o162.Position = Vector3.new(-130.808151, 15.0603971, -90.4624023)
- o162.Rotation = Vector3.new(-180, 0, 179.779999)
- o162.Size = Vector3.new(4.19999838, 1, 2.59999967)
- o162.CFrame = CFrame.new(-130.808151, 15.0603971, -90.4624023, -0.999992847, -0.0039136149, 3.15646645e-07, -0.0039218762, 0.999993265, 1.3318262e-09, -3.16811509e-07, 9.82906118e-11, -1)
- o162.BackSurface = Enum.SurfaceType.Weld
- o162.BottomSurface = Enum.SurfaceType.Weld
- o162.FrontSurface = Enum.SurfaceType.Weld
- o162.LeftSurface = Enum.SurfaceType.Weld
- o162.RightSurface = Enum.SurfaceType.Weld
- o162.TopSurface = Enum.SurfaceType.Smooth
- o162.Position = Vector3.new(-130.808151, 15.0603971, -90.4624023)
- o163.Name = "Moving System"
- o163.Parent = o5
- o164.Parent = o163
- o164.Material = Enum.Material.SmoothPlastic
- o164.Position = Vector3.new(-138.521545, 5.73096275, -90.2623901)
- o164.Rotation = Vector3.new(-180, 0, -0.219999999)
- o164.Size = Vector3.new(2.299999, 6, 3.39999914)
- o164.CFrame = CFrame.new(-138.521545, 5.73096275, -90.2623901, 0.999992967, 0.0038911188, 3.14492894e-07, 0.0038993801, -0.999993384, 1.32939981e-09, 3.15657758e-07, -1.07490281e-10, -1)
- o164.BackSurface = Enum.SurfaceType.Weld
- o164.BottomSurface = Enum.SurfaceType.Weld
- o164.FrontSurface = Enum.SurfaceType.Weld
- o164.LeftSurface = Enum.SurfaceType.Weld
- o164.RightSurface = Enum.SurfaceType.Weld
- o164.TopSurface = Enum.SurfaceType.Smooth
- o164.Position = Vector3.new(-138.521545, 5.73096275, -90.2623901)
- o165.Parent = o163
- o165.Material = Enum.Material.SmoothPlastic
- o165.Position = Vector3.new(-134.214966, 4.04814529, -87.2636566)
- o165.Rotation = Vector3.new(-180, 0, 179.779999)
- o165.FormFactor = Enum.FormFactor.Symmetric
- o165.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
- o165.CFrame = CFrame.new(-134.214966, 4.04814529, -87.2636566, -0.999992967, -0.00389078679, 3.12099758e-07, -0.00389904808, 0.999993384, 1.32453093e-09, -3.1326465e-07, 1.12057155e-10, -1)
- o165.BackSurface = Enum.SurfaceType.Weld
- o165.BottomSurface = Enum.SurfaceType.Weld
- o165.TopSurface = Enum.SurfaceType.Weld
- o165.Position = Vector3.new(-134.214966, 4.04814529, -87.2636566)
- o166.Parent = o165
- o166.MeshType = Enum.MeshType.Wedge
- o167.Parent = o163
- o167.Material = Enum.Material.SmoothPlastic
- o167.BrickColor = BrickColor.new("Really black")
- o167.Transparency = 1
- o167.Position = Vector3.new(-142.647491, 4.07124376, -95.2306442)
- o167.Rotation = Vector3.new(0, 0, -179.779999)
- o167.Shape = Enum.PartType.Cylinder
- o167.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o167.CFrame = CFrame.new(-142.647491, 4.07124376, -95.2306442, -0.999992549, 0.00385993393, -3.07300411e-07, -0.00385993393, -0.999992549, -1.31639344e-09, -3.07303196e-07, -1.30224317e-10, 1)
- o167.BottomSurface = Enum.SurfaceType.Smooth
- o167.LeftSurface = Enum.SurfaceType.Hinge
- o167.TopSurface = Enum.SurfaceType.Smooth
- o167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o167.Position = Vector3.new(-142.647491, 4.07124376, -95.2306442)
- o168.Parent = o163
- o168.Material = Enum.Material.SmoothPlastic
- o168.Transparency = 1
- o168.Position = Vector3.new(-136.384689, 3.91467047, -84.7323685)
- o168.Rotation = Vector3.new(-180, 0, -0.229999989)
- o168.CanCollide = false
- o168.Size = Vector3.new(10.96, 0.849999785, 1.97999585)
- o168.CFrame = CFrame.new(-136.384689, 3.91467047, -84.7323685, 0.999992847, 0.00398938265, 3.25984956e-07, 0.00400315272, -0.999993384, 1.38233425e-09, 3.27924539e-07, -8.45658057e-11, -1)
- o168.BackSurface = Enum.SurfaceType.Weld
- o168.BottomSurface = Enum.SurfaceType.Weld
- o168.FrontSurface = Enum.SurfaceType.Weld
- o168.LeftSurface = Enum.SurfaceType.Weld
- o168.RightSurface = Enum.SurfaceType.Weld
- o168.TopSurface = Enum.SurfaceType.Smooth
- o168.Position = Vector3.new(-136.384689, 3.91467047, -84.7323685)
- o169.Parent = o163
- o169.Material = Enum.Material.SmoothPlastic
- o169.Transparency = 1
- o169.Position = Vector3.new(-136.268646, 4.83975267, -88.1625443)
- o169.Rotation = Vector3.new(0, 0, 0.229999989)
- o169.CanCollide = false
- o169.Size = Vector3.new(0.999996722, 1, 7.59999657)
- o169.CFrame = CFrame.new(-136.268646, 4.83975267, -88.1625443, 0.999992728, -0.00396504533, -3.22563608e-07, 0.00397330662, 0.999993145, -1.3718785e-09, 3.23728614e-07, 9.45654111e-11, 1)
- o169.BackSurface = Enum.SurfaceType.Weld
- o169.BottomSurface = Enum.SurfaceType.Weld
- o169.FrontSurface = Enum.SurfaceType.Weld
- o169.LeftSurface = Enum.SurfaceType.Weld
- o169.RightSurface = Enum.SurfaceType.Weld
- o169.TopSurface = Enum.SurfaceType.Smooth
- o169.Position = Vector3.new(-136.268646, 4.83975267, -88.1625443)
- o170.Parent = o163
- o170.Material = Enum.Material.SmoothPlastic
- o170.Transparency = 1
- o170.Position = Vector3.new(-136.168671, 4.84014845, -93.2624512)
- o170.Rotation = Vector3.new(0, 0, 0.229999989)
- o170.CanCollide = false
- o170.Size = Vector3.new(4.39999723, 1, 2.59999967)
- o170.CFrame = CFrame.new(-136.168671, 4.84014845, -93.2624512, 0.999992847, -0.00392923504, -3.17528446e-07, 0.00393749634, 0.999993265, -1.3420729e-09, 3.18693367e-07, 9.61788982e-11, 1)
- o170.BackSurface = Enum.SurfaceType.Weld
- o170.BottomSurface = Enum.SurfaceType.Weld
- o170.FrontSurface = Enum.SurfaceType.Weld
- o170.LeftSurface = Enum.SurfaceType.Weld
- o170.RightSurface = Enum.SurfaceType.Weld
- o170.TopSurface = Enum.SurfaceType.Smooth
- o170.Position = Vector3.new(-136.168671, 4.84014845, -93.2624512)
- o171.Parent = o163
- o171.Material = Enum.Material.SmoothPlastic
- o171.Position = Vector3.new(-134.222305, 5.74772453, -90.2624512)
- o171.Rotation = Vector3.new(-180, 0, -0.219999999)
- o171.Size = Vector3.new(2.299999, 6, 3.39999914)
- o171.CFrame = CFrame.new(-134.222305, 5.74772453, -90.2624512, 0.999992967, 0.00389173534, 3.14567473e-07, 0.00389999663, -0.999993384, 1.33255895e-09, 3.15732365e-07, -1.10163899e-10, -1)
- o171.BackSurface = Enum.SurfaceType.Weld
- o171.BottomSurface = Enum.SurfaceType.Weld
- o171.FrontSurface = Enum.SurfaceType.Weld
- o171.LeftSurface = Enum.SurfaceType.Weld
- o171.RightSurface = Enum.SurfaceType.Weld
- o171.TopSurface = Enum.SurfaceType.Smooth
- o171.Position = Vector3.new(-134.222305, 5.74772453, -90.2624512)
- o172.Parent = o163
- o172.Material = Enum.Material.SmoothPlastic
- o172.BrickColor = BrickColor.new("Really black")
- o172.Transparency = 1
- o172.Position = Vector3.new(-142.648193, 4.07123184, -85.0601196)
- o172.Rotation = Vector3.new(0, 0, -179.779999)
- o172.Shape = Enum.PartType.Cylinder
- o172.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o172.CFrame = CFrame.new(-142.648193, 4.07123184, -85.0601196, -0.999992549, 0.00385993393, -3.07300411e-07, -0.00385993393, -0.999992549, -1.31639344e-09, -3.07303196e-07, -1.30224317e-10, 1)
- o172.BottomSurface = Enum.SurfaceType.Smooth
- o172.LeftSurface = Enum.SurfaceType.Hinge
- o172.TopSurface = Enum.SurfaceType.Smooth
- o172.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o172.Position = Vector3.new(-142.648193, 4.07123184, -85.0601196)
- o173.Parent = o163
- o173.Material = Enum.Material.SmoothPlastic
- o173.BrickColor = BrickColor.new("Really black")
- o173.Transparency = 1
- o173.Position = Vector3.new(-130.083282, 4.11973286, -85.0601196)
- o173.Rotation = Vector3.new(0, 0, 0.219999999)
- o173.Shape = Enum.PartType.Cylinder
- o173.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o173.CFrame = CFrame.new(-130.083282, 4.11973286, -85.0601196, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31639344e-09, 3.07303196e-07, 1.30224317e-10, 1)
- o173.BottomSurface = Enum.SurfaceType.Smooth
- o173.LeftSurface = Enum.SurfaceType.Hinge
- o173.TopSurface = Enum.SurfaceType.Smooth
- o173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o173.Position = Vector3.new(-130.083282, 4.11973286, -85.0601196)
- o174.Parent = o163
- o174.Material = Enum.Material.SmoothPlastic
- o174.Transparency = 1
- o174.Position = Vector3.new(-136.359726, 3.91479111, -95.1522827)
- o174.Rotation = Vector3.new(-180, 0, -0.229999989)
- o174.CanCollide = false
- o174.Size = Vector3.new(11.0300007, 0.849999785, 2.81999588)
- o174.CFrame = CFrame.new(-136.359726, 3.91479111, -95.1522827, 0.999992788, 0.00394393038, 3.19595671e-07, 0.00395219168, -0.999993205, 1.34944e-09, 3.20760591e-07, -9.06926895e-11, -1)
- o174.BackSurface = Enum.SurfaceType.Weld
- o174.BottomSurface = Enum.SurfaceType.Weld
- o174.FrontSurface = Enum.SurfaceType.Weld
- o174.LeftSurface = Enum.SurfaceType.Weld
- o174.RightSurface = Enum.SurfaceType.Weld
- o174.TopSurface = Enum.SurfaceType.Smooth
- o174.Position = Vector3.new(-136.359726, 3.91479111, -95.1522827)
- o175.Parent = o163
- o175.Material = Enum.Material.SmoothPlastic
- o175.BrickColor = BrickColor.new("Really black")
- o175.Transparency = 1
- o175.Position = Vector3.new(-130.083801, 4.11974192, -95.2306442)
- o175.Rotation = Vector3.new(0, 0, 0.219999999)
- o175.Shape = Enum.PartType.Cylinder
- o175.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o175.CFrame = CFrame.new(-130.083801, 4.11974192, -95.2306442, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31639344e-09, 3.07303196e-07, 1.30224317e-10, 1)
- o175.BottomSurface = Enum.SurfaceType.Smooth
- o175.LeftSurface = Enum.SurfaceType.Hinge
- o175.TopSurface = Enum.SurfaceType.Smooth
- o175.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o175.Position = Vector3.new(-130.083801, 4.11974192, -95.2306442)
- o176.Parent = o163
- o176.Material = Enum.Material.SmoothPlastic
- o176.Position = Vector3.new(-138.514114, 4.03173637, -87.2634277)
- o176.Rotation = Vector3.new(-180, 0, 179.779999)
- o176.FormFactor = Enum.FormFactor.Symmetric
- o176.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
- o176.CFrame = CFrame.new(-138.514114, 4.03173637, -87.2634277, -0.999992847, -0.0039152652, 3.15564876e-07, -0.0039235265, 0.999993265, 1.33613254e-09, -3.16729768e-07, 1.02394863e-10, -1)
- o176.BackSurface = Enum.SurfaceType.Weld
- o176.BottomSurface = Enum.SurfaceType.Weld
- o176.TopSurface = Enum.SurfaceType.Weld
- o176.Position = Vector3.new(-138.514114, 4.03173637, -87.2634277)
- o177.Parent = o176
- o177.MeshType = Enum.MeshType.Wedge
- o178.Parent = o4
- o178.BrickColor = BrickColor.new("Bright violet")
- o178.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
- o178.Rotation = Vector3.new(0, 0, 0.219999999)
- o178.Anchored = true
- o178.FormFactor = Enum.FormFactor.Custom
- o178.Size = Vector3.new(3, 0.200000003, 3)
- o178.CFrame = CFrame.new(-136.279083, 0.105795003, -96.7843628, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31626554e-09, 3.07303196e-07, 1.3009642e-10, 1)
- o178.BottomSurface = Enum.SurfaceType.Smooth
- o178.TopSurface = Enum.SurfaceType.Smooth
- o178.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o178.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
- o179.Parent = o178
- o179.MaxActivationDistance = 16
- o180.Name = "Regen"
- o180.Parent = o178
- runDummyScript(function()
- ------------------------------------------------------------------------------------
- local WaitTime = 10 -- Change this to the amount of time it takes for the button to re-enable.
- local modelname = "Model" -- If your model is not named this, then make the purple words the same name as the model!
- ------------------------------------------------------------------------------------
- -- To make this work, simply group it with the model you want!
- local modelbackup = script.Parent.Parent:FindFirstChild(modelname):clone()
- local trigger = script.Parent
- enabled = true
- function onClick()
- if enabled == true then
- enabled = false
- trigger.BrickColor = BrickColor.new("Really black")
- if script.Parent.Parent:FindFirstChild(modelname) ~= nil then
- script.Parent.Parent:FindFirstChild(modelname):Destroy()
- end
- local modelclone = modelbackup:clone()
- modelclone.Parent = script.Parent.Parent
- modelclone:MakeJoints()
- wait(WaitTime)
- enabled = true
- trigger.BrickColor = BrickColor.new("Bright violet")
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClick)
- end,o180)
- o181.Parent = o178
- o181.Texture = "http://www.roblox.com/asset/?id=43556891"
- o181.Face = Enum.NormalId.Top
- o182.Parent = o4
- runDummyScript(function()
- --Przystosowany do terenu rownego--
- --Uzywanie na terenie gorzystym nie wskazane--
- --Autor Markill7890--
- end,o182)
- 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()
- end,o5)
- o6.Parent = mas
- o7.Parent = o6
- o8.Name = "Mech"
- o8.Parent = o7
- o9.Name = "Mech"
- o9.Parent = o8
- o10.Parent = o9
- o11.Parent = o10
- o11.Material = Enum.Material.Glass
- o11.BrickColor = BrickColor.new("Baby blue")
- o11.Transparency = 0.60000002384186
- o11.Position = Vector3.new(-134.761093, 4.25621462, -79.7586746)
- o11.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
- o11.RotVelocity = Vector3.new(3.90261303e-05, -3.95103916e-06, 3.25310684e-05)
- o11.Velocity = Vector3.new(-0.000144835372, -0.000286154507, 0.000160360927)
- o11.Locked = true
- o11.FormFactor = Enum.FormFactor.Symmetric
- o11.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
- o11.CFrame = CFrame.new(-134.761093, 4.25621462, -79.7586746, -0.839388669, -3.00633492e-05, 0.543531656, 4.12695117e-05, 1, 0.000119044598, -0.543531656, 0.000122355967, -0.839388669)
- o11.BottomSurface = Enum.SurfaceType.Weld
- o11.TopSurface = Enum.SurfaceType.Weld
- o11.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o11.Position = Vector3.new(-134.761093, 4.25621462, -79.7586746)
- o11.velocity = Vector3.new(-0.000144835372, -0.000286154507, 0.000160360927)
- o12.Parent = o10
- o12.Material = Enum.Material.Glass
- o12.BrickColor = BrickColor.new("Baby blue")
- o12.Transparency = 0.60000002384186
- o12.Position = Vector3.new(-135.087189, 4.25618696, -79.254982)
- o12.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
- o12.RotVelocity = Vector3.new(3.90261303e-05, -3.95103916e-06, 3.25310684e-05)
- o12.Velocity = Vector3.new(-0.000146824575, -0.00031641993, 0.000159071438)
- o12.Locked = true
- o12.FormFactor = Enum.FormFactor.Symmetric
- o12.Size = Vector3.new(7, 0.999999583, 0.200000033)
- o12.CFrame = CFrame.new(-135.087189, 4.25618696, -79.254982, -0.839388669, -3.00633492e-05, 0.543531656, 4.12695117e-05, 1, 0.000119044598, -0.543531656, 0.000122355967, -0.839388669)
- o12.BottomSurface = Enum.SurfaceType.Weld
- o12.TopSurface = Enum.SurfaceType.Weld
- o12.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o12.Position = Vector3.new(-135.087189, 4.25618696, -79.254982)
- o12.velocity = Vector3.new(-0.000146824575, -0.00031641993, 0.000159071438)
- o13.Parent = o12
- o13.MeshType = Enum.MeshType.Wedge
- o14.Name = "qCFrameWeldThingy"
- o14.Parent = o12
- o14.C1 = CFrame.new(4.57763672e-05, -4.38690186e-05, 0.600036621, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o14.Part0 = o11
- o14.Part1 = o12
- o15.Name = "qRelativeCFrameWeldValue"
- o15.Parent = o12
- o15.Value = CFrame.new(4.57763672e-05, -4.38690186e-05, 0.600036621, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o16.Parent = o10
- o16.Material = Enum.Material.Glass
- o16.BrickColor = BrickColor.new("Baby blue")
- o16.Transparency = 0.60000002384186
- o16.Position = Vector3.new(-133.901184, 6.45733404, -80.9770966)
- o16.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
- o16.RotVelocity = Vector3.new(3.9044091e-05, -3.96620999e-06, 3.2492735e-05)
- o16.Velocity = Vector3.new(-0.00021153994, -0.000210080587, 0.000249554927)
- o16.Locked = true
- o16.FormFactor = Enum.FormFactor.Symmetric
- o16.Size = Vector3.new(7, 1, 2)
- o16.CFrame = CFrame.new(-133.901184, 6.45733404, -80.9770966, -0.839388669, -3.01914642e-05, 0.543531656, 4.1191106e-05, 1, 0.000119159216, -0.543531656, 0.000122409561, -0.839388669)
- o16.BottomSurface = Enum.SurfaceType.Weld
- o16.TopSurface = Enum.SurfaceType.Weld
- o16.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o16.Position = Vector3.new(-133.901184, 6.45733404, -80.9770966)
- o16.velocity = Vector3.new(-0.00021153994, -0.000210080587, 0.000249554927)
- o17.Parent = o16
- o17.MeshType = Enum.MeshType.Wedge
- o18.Name = "qCFrameWeldThingy"
- o18.Parent = o16
- o18.C1 = CFrame.new(0.059753418, -2.20100784, -1.49037933, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o18.Part0 = o11
- o18.Part1 = o16
- o19.Name = "qRelativeCFrameWeldValue"
- o19.Parent = o16
- o19.Value = CFrame.new(0.059753418, -2.20100784, -1.49037933, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o20.Parent = o10
- o20.Material = Enum.Material.Glass
- o20.BrickColor = BrickColor.new("Baby blue")
- o20.Transparency = 0.60000002384186
- o20.Position = Vector3.new(-131.383072, 4.85758924, -79.3467865)
- o20.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
- o20.RotVelocity = Vector3.new(5.8111269e-05, -6.7687356e-06, 5.31719961e-05)
- o20.Velocity = Vector3.new(-0.000234656472, -0.000265085197, 0.000286188093)
- o20.Locked = true
- o20.FormFactor = Enum.FormFactor.Symmetric
- o20.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o20.CFrame = CFrame.new(-131.383072, 4.85758924, -79.3467865, -0.839388549, -3.06548063e-05, 0.543531895, 4.15992581e-05, 1, 0.000120641947, -0.543531895, 0.000123875987, -0.839388549)
- o20.BottomSurface = Enum.SurfaceType.Weld
- o20.TopSurface = Enum.SurfaceType.Weld
- o20.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o20.Position = Vector3.new(-131.383072, 4.85758924, -79.3467865)
- o20.velocity = Vector3.new(-0.000234656472, -0.000265085197, 0.000286188093)
- o21.Name = "qCFrameWeldThingy"
- o21.Parent = o20
- o21.C1 = CFrame.new(3.05967712, -0.601211548, -1.49042511, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o21.Part0 = o11
- o21.Part1 = o20
- o22.Name = "qRelativeCFrameWeldValue"
- o22.Parent = o20
- o22.Value = CFrame.new(3.05967712, -0.601211548, -1.49042511, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o23.Parent = o10
- o23.Material = Enum.Material.Glass
- o23.BrickColor = BrickColor.new("Baby blue")
- o23.Transparency = 0.60000002384186
- o23.Position = Vector3.new(-136.419373, 4.85694885, -82.6080017)
- o23.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
- o23.RotVelocity = Vector3.new(4.23351266e-05, 1.99952183e-06, 2.59429198e-05)
- o23.Velocity = Vector3.new(-0.000156789043, -0.000225815587, 0.000192068401)
- o23.Locked = true
- o23.FormFactor = Enum.FormFactor.Symmetric
- o23.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o23.CFrame = CFrame.new(-136.419373, 4.85694885, -82.6080017, -0.83938849, -3.07049304e-05, 0.543531954, 4.17399569e-05, 1, 0.00012095143, -0.543531954, 0.000124212238, -0.83938843)
- o23.BottomSurface = Enum.SurfaceType.Weld
- o23.TopSurface = Enum.SurfaceType.Weld
- o23.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o23.Position = Vector3.new(-136.419373, 4.85694885, -82.6080017)
- o23.velocity = Vector3.new(-0.000156789043, -0.000225815587, 0.000192068401)
- o24.Name = "qCFrameWeldThingy"
- o24.Parent = o23
- o24.C1 = CFrame.new(-2.94032288, -0.600700378, -1.49046326, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o24.Part0 = o11
- o24.Part1 = o23
- o25.Name = "qRelativeCFrameWeldValue"
- o25.Parent = o23
- o25.Value = CFrame.new(-2.94032288, -0.600700378, -1.49046326, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o26.Parent = o10
- o26.Material = Enum.Material.Glass
- o26.BrickColor = BrickColor.new("Baby blue")
- o26.Transparency = 0.60000002384186
- o26.Position = Vector3.new(-134.7612, 5.35620213, -79.7585602)
- o26.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
- o26.RotVelocity = Vector3.new(4.04571183e-05, -2.26218945e-05, 4.85484488e-05)
- o26.Velocity = Vector3.new(-0.000301569729, -0.00031548331, 0.000141995959)
- o26.Locked = true
- o26.FormFactor = Enum.FormFactor.Symmetric
- o26.Size = Vector3.new(7, 1.19999957, 1)
- o26.CFrame = CFrame.new(-134.7612, 5.35620213, -79.7585602, -0.839388311, -3.12989869e-05, 0.543532193, 4.16081675e-05, 1, 0.0001218408, -0.543532193, 0.000124887127, -0.839388311)
- o26.BottomSurface = Enum.SurfaceType.Weld
- o26.TopSurface = Enum.SurfaceType.Weld
- o26.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o26.Position = Vector3.new(-134.7612, 5.35620213, -79.7585602)
- o26.velocity = Vector3.new(-0.000301569729, -0.00031548331, 0.000141995959)
- o27.Parent = o26
- o27.MeshType = Enum.MeshType.Wedge
- o28.Name = "qCFrameWeldThingy"
- o28.Parent = o26
- o28.C1 = CFrame.new(-3.05175781e-05, -1.10000038, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o28.Part0 = o11
- o28.Part1 = o26
- o29.Name = "qRelativeCFrameWeldValue"
- o29.Parent = o26
- o29.Value = CFrame.new(-3.05175781e-05, -1.10000038, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o30.Parent = o10
- o30.Material = Enum.Material.Glass
- o30.BrickColor = BrickColor.new("Baby blue")
- o30.Transparency = 0.60000002384186
- o30.Position = Vector3.new(-133.901337, 1.05767488, -80.9779205)
- o30.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
- o30.RotVelocity = Vector3.new(1.83541561e-05, 8.46071816e-06, 2.24203104e-05)
- o30.Velocity = Vector3.new(1.46074062e-05, -9.82347919e-05, 6.95735143e-05)
- o30.Locked = true
- o30.FormFactor = Enum.FormFactor.Symmetric
- o30.Size = Vector3.new(7, 1, 2)
- o30.CFrame = CFrame.new(-133.901337, 1.05767488, -80.9779205, 0.839388251, 3.37418533e-05, 0.543532252, -4.09046152e-05, -1, 0.000125248698, 0.543532252, -0.00012736526, -0.839388251)
- o30.BottomSurface = Enum.SurfaceType.Weld
- o30.TopSurface = Enum.SurfaceType.Weld
- o30.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o30.Position = Vector3.new(-133.901337, 1.05767488, -80.9779205)
- o30.velocity = Vector3.new(1.46074062e-05, -9.82347919e-05, 6.95735143e-05)
- o31.Parent = o30
- o31.MeshType = Enum.MeshType.Wedge
- o32.Name = "qCFrameWeldThingy"
- o32.Parent = o30
- o32.C1 = CFrame.new(-0.0591125488, -3.198699, -1.49035645, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o32.Part0 = o11
- o32.Part1 = o30
- o33.Name = "qRelativeCFrameWeldValue"
- o33.Parent = o30
- o33.Value = CFrame.new(-0.0591125488, -3.198699, -1.49035645, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o34.Parent = o10
- o34.Material = Enum.Material.Glass
- o34.BrickColor = BrickColor.new("Baby blue")
- o34.Transparency = 0.60000002384186
- o34.Position = Vector3.new(-134.761078, 2.1562767, -79.758934)
- o34.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
- o34.RotVelocity = Vector3.new(7.89805708e-05, 1.16060055e-05, 9.71406625e-05)
- o34.Velocity = Vector3.new(-0.000182544056, -0.000598396, 0.000337185134)
- o34.Locked = true
- o34.FormFactor = Enum.FormFactor.Symmetric
- o34.Size = Vector3.new(7, 1.19999957, 1)
- o34.CFrame = CFrame.new(-134.761078, 2.1562767, -79.758934, 0.839388251, 3.40997503e-05, 0.543532312, -4.07714797e-05, -1, 0.000125701554, 0.543532312, -0.000127673018, -0.839388251)
- o34.BottomSurface = Enum.SurfaceType.Weld
- o34.TopSurface = Enum.SurfaceType.Weld
- o34.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o34.Position = Vector3.new(-134.761078, 2.1562767, -79.758934)
- o34.velocity = Vector3.new(-0.000182544056, -0.000598396, 0.000337185134)
- o35.Parent = o34
- o35.MeshType = Enum.MeshType.Wedge
- o36.Name = "qCFrameWeldThingy"
- o36.Parent = o34
- o36.C1 = CFrame.new(3.05175781e-05, -2.09991074, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o36.Part0 = o11
- o36.Part1 = o34
- o37.Name = "qRelativeCFrameWeldValue"
- o37.Parent = o34
- o37.Value = CFrame.new(3.05175781e-05, -2.09991074, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o38.Parent = o10
- o38.Material = Enum.Material.Glass
- o38.BrickColor = BrickColor.new("Baby blue")
- o38.Transparency = 0.60000002384186
- o38.Position = Vector3.new(-134.760483, 3.25620365, -79.7583923)
- o38.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
- o38.RotVelocity = Vector3.new(4.37739072e-05, -5.04958734e-06, 4.34000976e-05)
- o38.Velocity = Vector3.new(-0.000184756485, -0.000331445044, 0.000124789542)
- o38.Locked = true
- o38.FormFactor = Enum.FormFactor.Symmetric
- o38.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
- o38.CFrame = CFrame.new(-134.760483, 3.25620365, -79.7583923, 0.839388907, 4.69470906e-05, 0.543531299, -2.64125865e-05, -1, 0.000127163832, 0.543531299, -0.000121095974, -0.839388907)
- o38.BottomSurface = Enum.SurfaceType.Weld
- o38.TopSurface = Enum.SurfaceType.Weld
- o38.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o38.Position = Vector3.new(-134.760483, 3.25620365, -79.7583923)
- o38.velocity = Vector3.new(-0.000184756485, -0.000331445044, 0.000124789542)
- o39.Name = "qCFrameWeldThingy"
- o39.Parent = o38
- o39.C1 = CFrame.new(0.000106811523, -0.999958992, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o39.Part0 = o11
- o39.Part1 = o38
- o40.Name = "qRelativeCFrameWeldValue"
- o40.Parent = o38
- o40.Value = CFrame.new(0.000106811523, -0.999958992, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o41.Parent = o10
- o41.Material = Enum.Material.Glass
- o41.BrickColor = BrickColor.new("Baby blue")
- o41.Transparency = 0.60000002384186
- o41.Position = Vector3.new(-135.086578, 3.25617075, -79.2547073)
- o41.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
- o41.RotVelocity = Vector3.new(4.68335347e-05, -1.95340317e-06, 5.06040524e-05)
- o41.Velocity = Vector3.new(-0.000186856705, -0.00039435862, 0.000177572161)
- o41.Locked = true
- o41.FormFactor = Enum.FormFactor.Symmetric
- o41.Size = Vector3.new(7, 0.999999583, 0.200000033)
- o41.CFrame = CFrame.new(-135.086578, 3.25617075, -79.2547073, 0.839388907, 4.7143767e-05, 0.543531299, -2.6328511e-05, -1, 0.000127395833, 0.543531299, -0.000121245022, -0.839388907)
- o41.BottomSurface = Enum.SurfaceType.Weld
- o41.TopSurface = Enum.SurfaceType.Weld
- o41.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o41.Position = Vector3.new(-135.086578, 3.25617075, -79.2547073)
- o41.velocity = Vector3.new(-0.000186856705, -0.00039435862, 0.000177572161)
- o42.Parent = o41
- o42.MeshType = Enum.MeshType.Wedge
- o43.Name = "qCFrameWeldThingy"
- o43.Parent = o41
- o43.C1 = CFrame.new(6.10351563e-05, -0.999916077, 0.600036621, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o43.Part0 = o11
- o43.Part1 = o41
- o44.Name = "qRelativeCFrameWeldValue"
- o44.Parent = o41
- o44.Value = CFrame.new(6.10351563e-05, -0.999916077, 0.600036621, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o45.Parent = o10
- o45.Material = Enum.Material.Glass
- o45.BrickColor = BrickColor.new("Baby blue")
- o45.Transparency = 0.60000002384186
- o45.Position = Vector3.new(-136.418793, 2.65689683, -82.6079407)
- o45.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
- o45.RotVelocity = Vector3.new(6.42748782e-05, 4.59465781e-07, 6.68352004e-05)
- o45.Velocity = Vector3.new(-0.000127623789, -0.00043633621, 0.000254629616)
- o45.Locked = true
- o45.FormFactor = Enum.FormFactor.Symmetric
- o45.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o45.CFrame = CFrame.new(-136.418793, 2.65689683, -82.6079407, 0.839388907, 4.75843699e-05, 0.543531299, -2.6187101e-05, -1, 0.000127988096, 0.543531299, -0.000121665289, -0.839388907)
- o45.BottomSurface = Enum.SurfaceType.Weld
- o45.TopSurface = Enum.SurfaceType.Weld
- o45.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o45.Position = Vector3.new(-136.418793, 2.65689683, -82.6079407)
- o45.velocity = Vector3.new(-0.000127623789, -0.00043633621, 0.000254629616)
- o46.Name = "qCFrameWeldThingy"
- o46.Parent = o45
- o46.C1 = CFrame.new(2.94075012, -1.59919357, -1.49047089, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o46.Part0 = o11
- o46.Part1 = o45
- o47.Name = "qRelativeCFrameWeldValue"
- o47.Parent = o45
- o47.Value = CFrame.new(2.94075012, -1.59919357, -1.49047089, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o48.Parent = o10
- o48.Material = Enum.Material.Glass
- o48.BrickColor = BrickColor.new("Baby blue")
- o48.Transparency = 0.60000002384186
- o48.Position = Vector3.new(-131.38237, 2.65789247, -79.3466492)
- o48.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
- o48.RotVelocity = Vector3.new(4.1716994e-05, 3.71215197e-06, 4.59582661e-05)
- o48.Velocity = Vector3.new(-9.79014876e-05, -0.000195126791, 0.000166350161)
- o48.Locked = true
- o48.FormFactor = Enum.FormFactor.Symmetric
- o48.Size = Vector3.new(1, 2.19999981, 1.99999952)
- o48.CFrame = CFrame.new(-131.38237, 2.65789247, -79.3466492, 0.839388907, 4.77782087e-05, 0.543531299, -2.61489258e-05, -1, 0.000128285756, 0.543531299, -0.000121894402, -0.839388907)
- o48.BottomSurface = Enum.SurfaceType.Weld
- o48.TopSurface = Enum.SurfaceType.Weld
- o48.Color = Color3.new(0.596078, 0.760784, 0.858824)
- o48.Position = Vector3.new(-131.38237, 2.65789247, -79.3466492)
- o48.velocity = Vector3.new(-9.79014876e-05, -0.000195126791, 0.000166350161)
- o49.Name = "qCFrameWeldThingy"
- o49.Parent = o48
- o49.C1 = CFrame.new(-3.05940247, -1.59862709, -1.49042511, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o49.Part0 = o11
- o49.Part1 = o48
- o50.Name = "qRelativeCFrameWeldValue"
- o50.Parent = o48
- o50.Value = CFrame.new(-3.05940247, -1.59862709, -1.49042511, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o51.Name = "qPerfectionWeld"
- o51.Parent = o10
- runDummyScript(function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end,o51)
- o52.Parent = o9
- o53.Parent = o52
- o54.Parent = o53
- o55.Name = "Switch"
- o55.Parent = o54
- o55.Material = Enum.Material.Neon
- o55.BrickColor = BrickColor.new("Sea green")
- o55.Position = Vector3.new(-134.747589, 5.37502146, -80.3742371)
- o55.Rotation = Vector3.new(90.0099945, 0, 32.9099998)
- o55.RotVelocity = Vector3.new(4.68434882e-05, 4.87918351e-06, 4.8134345e-05)
- o55.Velocity = Vector3.new(-0.000229852987, -0.00033406858, 0.000370678754)
- o55.CanCollide = false
- o55.Locked = true
- o55.FormFactor = Enum.FormFactor.Plate
- o55.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
- o55.CFrame = CFrame.new(-134.747589, 5.37502146, -80.3742371, 0.839496434, -0.54336518, -5.36396437e-05, -0.000151003653, -0.000134582384, -1, 0.54336518, 0.839496434, -0.000195031549)
- o55.BottomSurface = Enum.SurfaceType.Weld
- o55.TopSurface = Enum.SurfaceType.Weld
- o55.Color = Color3.new(0.203922, 0.556863, 0.25098)
- o55.Position = Vector3.new(-134.747589, 5.37502146, -80.3742371)
- o55.velocity = Vector3.new(-0.000229852987, -0.00033406858, 0.000370678754)
- o56.Parent = o55
- o56.MaxActivationDistance = 10
- o57.Name = "CannonBall"
- o57.Parent = o55
- o57.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 = 10
- explosion.BlastPressure = 50 -- 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,o57)
- o58.Name = "FireGun"
- o58.Parent = o55
- 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,o58)
- o59.Name = "GunSound"
- o59.Parent = o55
- o59.SoundId = "rbxassetid://1486537732"
- o60.Name = "GunBarrel"
- o60.Parent = o54
- o61.Name = "One"
- o61.Parent = o60
- o61.Material = Enum.Material.SmoothPlastic
- o61.Position = Vector3.new(-138.769699, 6.19756079, -81.7459564)
- o61.Rotation = Vector3.new(-89.9899979, 0, -122.909996)
- o61.RotVelocity = Vector3.new(0.000176681351, -2.78354055e-05, 0.000105514657)
- o61.Velocity = Vector3.new(-0.000943721097, -0.0010127686, 0.000806128199)
- o61.Locked = true
- o61.FormFactor = Enum.FormFactor.Symmetric
- o61.Shape = Enum.PartType.Cylinder
- o61.Size = Vector3.new(2, 2, 2)
- o61.CFrame = CFrame.new(-138.769699, 6.19756079, -81.7459564, -0.54336524, 0.839496374, 5.29533027e-05, -0.000135818729, -0.000150986336, 1, 0.839496374, 0.54336524, 0.000196060064)
- o61.BottomSurface = Enum.SurfaceType.Smooth
- o61.LeftSurface = Enum.SurfaceType.Weld
- o61.RightSurface = Enum.SurfaceType.Weld
- o61.TopSurface = Enum.SurfaceType.Smooth
- o61.Position = Vector3.new(-138.769699, 6.19756079, -81.7459564)
- o61.velocity = Vector3.new(-0.000943721097, -0.0010127686, 0.000806128199)
- o62.Parent = o54
- o63.Parent = o62
- o63.Material = Enum.Material.Neon
- o63.BrickColor = BrickColor.new("Crimson")
- o63.Position = Vector3.new(-136.532822, 6.198524, -87.0879211)
- o63.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
- o63.RotVelocity = Vector3.new(4.3072112e-05, 5.30277748e-06, 3.47937457e-05)
- o63.Velocity = Vector3.new(-0.000230005055, -5.67220122e-05, 0.000283503003)
- o63.Locked = true
- o63.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
- o63.CFrame = CFrame.new(-136.532822, 6.198524, -87.0879211, -0.839496315, -5.25036339e-05, -0.543365359, 0.000150931577, -1, -0.000136561634, -0.543365359, -0.000196653986, 0.839496315)
- o63.BackSurface = Enum.SurfaceType.Weld
- o63.BottomSurface = Enum.SurfaceType.Weld
- o63.FrontSurface = Enum.SurfaceType.Weld
- o63.LeftSurface = Enum.SurfaceType.Weld
- o63.RightSurface = Enum.SurfaceType.Weld
- o63.TopSurface = Enum.SurfaceType.Smooth
- o63.Color = Color3.new(0.592157, 0, 0)
- o63.Position = Vector3.new(-136.532822, 6.198524, -87.0879211)
- o63.velocity = Vector3.new(-0.000230005055, -5.67220122e-05, 0.000283503003)
- o64.Name = "DO NOT USE"
- o64.Parent = o62
- o64.Material = Enum.Material.SmoothPlastic
- o64.Position = Vector3.new(-134.802933, 4.99836493, -87.8744125)
- o64.Rotation = Vector3.new(-89.9899979, 0, -32.9099998)
- o64.RotVelocity = Vector3.new(4.3072112e-05, 5.30277748e-06, 3.47937457e-05)
- o64.Velocity = Vector3.new(-0.000192417618, 3.73431576e-05, 0.000222636401)
- o64.Locked = true
- o64.FormFactor = Enum.FormFactor.Symmetric
- o64.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o64.CFrame = CFrame.new(-134.802933, 4.99836493, -87.8744125, 0.839496315, 0.543365359, 5.25036339e-05, -0.000150931577, 0.000136561634, 1, 0.543365359, -0.839496315, 0.000196653986)
- o64.BackSurface = Enum.SurfaceType.Weld
- o64.BottomSurface = Enum.SurfaceType.Weld
- o64.TopSurface = Enum.SurfaceType.Weld
- o64.Position = Vector3.new(-134.802933, 4.99836493, -87.8744125)
- o64.velocity = Vector3.new(-0.000192417618, 3.73431576e-05, 0.000222636401)
- o65.Parent = o64
- o65.MeshType = Enum.MeshType.Wedge
- o66.Parent = o62
- o66.Material = Enum.Material.SmoothPlastic
- o66.Position = Vector3.new(-135.780914, 6.19827843, -86.36306)
- o66.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
- o66.RotVelocity = Vector3.new(0.00023470851, -3.03909183e-05, 0.000225432508)
- o66.Velocity = Vector3.new(-0.00132918626, 0.000129914406, 0.00142454414)
- o66.Locked = true
- o66.FormFactor = Enum.FormFactor.Symmetric
- o66.Size = Vector3.new(2, 2.80000019, 3)
- o66.CFrame = CFrame.new(-135.780914, 6.19827843, -86.36306, -0.839496195, -5.16029722e-05, -0.543365598, 0.000150717431, -1, -0.000137888259, -0.543365598, -0.00019765133, 0.839496195)
- o66.BackSurface = Enum.SurfaceType.Weld
- o66.BottomSurface = Enum.SurfaceType.Smooth
- o66.TopSurface = Enum.SurfaceType.Smooth
- o66.Position = Vector3.new(-135.780914, 6.19827843, -86.36306)
- o66.velocity = Vector3.new(-0.00132918626, 0.000129914406, 0.00142454414)
- o67.Parent = o62
- o67.Material = Enum.Material.SmoothPlastic
- o67.Position = Vector3.new(-137.411301, 6.19789553, -83.844696)
- o67.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
- o67.RotVelocity = Vector3.new(0.00023470851, -3.03909183e-05, 0.000225432508)
- o67.Velocity = Vector3.new(-0.00140563527, -0.000828709104, 0.00137490535)
- o67.Locked = true
- o67.FormFactor = Enum.FormFactor.Symmetric
- o67.Size = Vector3.new(2, 2, 3)
- o67.CFrame = CFrame.new(-137.411301, 6.19789553, -83.844696, -0.839496195, -5.16029722e-05, -0.543365598, 0.000150717431, -1, -0.000137888259, -0.543365598, -0.00019765133, 0.839496195)
- o67.BackSurface = Enum.SurfaceType.Weld
- o67.BottomSurface = Enum.SurfaceType.Smooth
- o67.TopSurface = Enum.SurfaceType.Smooth
- o67.Position = Vector3.new(-137.411301, 6.19789553, -83.844696)
- o67.velocity = Vector3.new(-0.00140563527, -0.000828709104, 0.00137490535)
- o68.Parent = o62
- o68.Material = Enum.Material.SmoothPlastic
- o68.Position = Vector3.new(-136.574097, 6.19855595, -87.1146317)
- o68.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
- o68.RotVelocity = Vector3.new(0.000253090257, -7.43256351e-06, 0.00022682859)
- o68.Velocity = Vector3.new(-0.00155005627, 0.000266091432, 0.0016028129)
- o68.Locked = true
- o68.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
- o68.CFrame = CFrame.new(-136.574097, 6.19855595, -87.1146317, -0.839496136, -5.05635653e-05, -0.543365598, 0.000150427426, -1, -0.000139353113, -0.543365598, -0.000198723486, 0.839496136)
- o68.BackSurface = Enum.SurfaceType.Weld
- o68.BottomSurface = Enum.SurfaceType.Weld
- o68.FrontSurface = Enum.SurfaceType.Weld
- o68.LeftSurface = Enum.SurfaceType.Weld
- o68.RightSurface = Enum.SurfaceType.Weld
- o68.TopSurface = Enum.SurfaceType.Smooth
- o68.Position = Vector3.new(-136.574097, 6.19855595, -87.1146317)
- o68.velocity = Vector3.new(-0.00155005627, 0.000266091432, 0.0016028129)
- o69.Parent = o62
- o69.Material = Enum.Material.SmoothPlastic
- o69.Position = Vector3.new(-134.802643, 6.19834709, -87.8739319)
- o69.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
- o69.RotVelocity = Vector3.new(0.000253090257, -7.43256351e-06, 0.00022682859)
- o69.Velocity = Vector3.new(-0.00154436531, 0.000860079308, 0.00161592662)
- o69.Locked = true
- o69.FormFactor = Enum.FormFactor.Symmetric
- o69.Size = Vector3.new(2, 2, 0.599999726)
- o69.CFrame = CFrame.new(-134.802643, 6.19834709, -87.8739319, -0.839496136, -5.05635653e-05, -0.543365598, 0.000150427426, -1, -0.000139353113, -0.543365598, -0.000198723486, 0.839496136)
- o69.BackSurface = Enum.SurfaceType.Weld
- o69.BottomSurface = Enum.SurfaceType.Smooth
- o69.TopSurface = Enum.SurfaceType.Smooth
- o69.Position = Vector3.new(-134.802643, 6.19834709, -87.8739319)
- o69.velocity = Vector3.new(-0.00154436531, 0.000860079308, 0.00161592662)
- o70.Name = "DO NOT USE"
- o70.Parent = o62
- o70.Material = Enum.Material.SmoothPlastic
- o70.Position = Vector3.new(-137.411392, 4.99786854, -83.8449402)
- o70.Rotation = Vector3.new(-179.98999, 32.9099998, 0)
- o70.RotVelocity = Vector3.new(0.000253090257, -7.43256351e-06, 0.00022682859)
- o70.Velocity = Vector3.new(-0.00130200817, -0.000751358108, 0.00129270751)
- o70.Locked = true
- o70.FormFactor = Enum.FormFactor.Symmetric
- o70.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o70.CFrame = CFrame.new(-137.411392, 4.99786854, -83.8449402, 0.839496136, -5.05635653e-05, 0.543365598, -0.000150427426, -1, 0.000139353113, 0.543365598, -0.000198723486, -0.839496136)
- o70.BackSurface = Enum.SurfaceType.Weld
- o70.BottomSurface = Enum.SurfaceType.Weld
- o70.TopSurface = Enum.SurfaceType.Weld
- o70.Position = Vector3.new(-137.411392, 4.99786854, -83.8449402)
- o70.velocity = Vector3.new(-0.00130200817, -0.000751358108, 0.00129270751)
- o71.Parent = o70
- o71.MeshType = Enum.MeshType.Wedge
- o72.Name = "DO NOT USE"
- o72.Parent = o62
- o72.Material = Enum.Material.SmoothPlastic
- o72.Position = Vector3.new(-137.418991, 7.39900208, -83.8490753)
- o72.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o72.RotVelocity = Vector3.new(7.77078967e-05, -1.51620579e-05, 4.29849788e-05)
- o72.Velocity = Vector3.new(-0.000357829325, -0.000151855042, 0.000459625851)
- o72.Locked = true
- o72.FormFactor = Enum.FormFactor.Symmetric
- o72.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o72.CFrame = CFrame.new(-137.418991, 7.39900208, -83.8490753, -0.839526951, 0.000180549046, 0.543318033, 0.00030415511, 0.99999994, 0.000137667739, -0.543318033, 0.000280828739, -0.839526951)
- o72.BackSurface = Enum.SurfaceType.Weld
- o72.BottomSurface = Enum.SurfaceType.Weld
- o72.TopSurface = Enum.SurfaceType.Weld
- o72.Position = Vector3.new(-137.418991, 7.39900208, -83.8490753)
- o72.velocity = Vector3.new(-0.000357829325, -0.000151855042, 0.000459625851)
- o73.Parent = o72
- o73.MeshType = Enum.MeshType.Wedge
- o74.Name = "DO NOT USE"
- o74.Parent = o62
- o74.Material = Enum.Material.SmoothPlastic
- o74.Position = Vector3.new(-134.810562, 7.39936543, -87.8785324)
- o74.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
- o74.RotVelocity = Vector3.new(0.000111503665, -9.20676212e-06, 7.29097737e-05)
- o74.Velocity = Vector3.new(-0.000516644155, 0.00033287509, 0.000744206132)
- o74.Locked = true
- o74.FormFactor = Enum.FormFactor.Symmetric
- o74.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o74.CFrame = CFrame.new(-134.810562, 7.39936543, -87.8785324, -0.839526832, 0.543318152, -0.000180225616, 0.000304189627, 0.000138316303, -0.99999994, -0.543318093, -0.839526832, -0.000281392015)
- o74.BackSurface = Enum.SurfaceType.Weld
- o74.BottomSurface = Enum.SurfaceType.Weld
- o74.TopSurface = Enum.SurfaceType.Weld
- o74.Position = Vector3.new(-134.810562, 7.39936543, -87.8785324)
- o74.velocity = Vector3.new(-0.000516644155, 0.00033287509, 0.000744206132)
- o75.Parent = o74
- o75.MeshType = Enum.MeshType.Wedge
- o76.Parent = o53
- o77.Name = "Switch"
- o77.Parent = o76
- o77.Material = Enum.Material.Neon
- o77.BrickColor = BrickColor.new("Sea green")
- o77.Position = Vector3.new(-134.12767, 5.37499142, -79.9729156)
- o77.Rotation = Vector3.new(90.0199966, -0.00999999978, 32.9099998)
- o77.RotVelocity = Vector3.new(6.4323991e-05, -1.52255034e-05, 3.63236832e-05)
- o77.Velocity = Vector3.new(-0.000397734955, -0.000277286745, 0.000357224868)
- o77.CanCollide = false
- o77.Locked = true
- o77.FormFactor = Enum.FormFactor.Plate
- o77.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
- o77.CFrame = CFrame.new(-134.12767, 5.37499142, -79.9729156, 0.839526832, -0.543318212, -0.00018005837, -0.000304217712, -0.000138667485, -0.99999994, 0.543318152, 0.839526832, -0.000281702087)
- o77.BottomSurface = Enum.SurfaceType.Weld
- o77.TopSurface = Enum.SurfaceType.Weld
- o77.Color = Color3.new(0.203922, 0.556863, 0.25098)
- o77.Position = Vector3.new(-134.12767, 5.37499142, -79.9729156)
- o77.velocity = Vector3.new(-0.000397734955, -0.000277286745, 0.000357224868)
- o78.Parent = o77
- o78.MaxActivationDistance = 10
- o79.Name = "CannonBall"
- o79.Parent = o77
- o79.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 = 10
- explosion.BlastPressure = 50 -- 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,o79)
- o80.Name = "FireGun"
- o80.Parent = o77
- 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,o80)
- o81.Name = "GunSound"
- o81.Parent = o77
- o81.SoundId = "rbxassetid://1486537732"
- o82.Name = "GunBarrel"
- o82.Parent = o76
- o83.Name = "One"
- o83.Parent = o82
- o83.Material = Enum.Material.SmoothPlastic
- o83.Position = Vector3.new(-131.222809, 6.19571638, -76.8614578)
- o83.Rotation = Vector3.new(90.0199966, -0.00999999978, 122.909996)
- o83.RotVelocity = Vector3.new(6.36389668e-05, -5.95260644e-07, 4.39999349e-05)
- o83.Velocity = Vector3.new(-0.000281260407, -0.000352448929, 0.000396464719)
- o83.Locked = true
- o83.FormFactor = Enum.FormFactor.Symmetric
- o83.Shape = Enum.PartType.Cylinder
- o83.Size = Vector3.new(2, 2, 2)
- o83.CFrame = CFrame.new(-131.222809, 6.19571638, -76.8614578, -0.543318272, -0.839526772, -0.000179545503, -0.000139566066, 0.000304188376, -0.99999994, 0.839526772, -0.543318212, -0.000282440538)
- o83.BottomSurface = Enum.SurfaceType.Smooth
- o83.LeftSurface = Enum.SurfaceType.Weld
- o83.RightSurface = Enum.SurfaceType.Weld
- o83.TopSurface = Enum.SurfaceType.Smooth
- o83.Position = Vector3.new(-131.222809, 6.19571638, -76.8614578)
- o83.velocity = Vector3.new(-0.000281260407, -0.000352448929, 0.000396464719)
- o84.Parent = o76
- o85.Parent = o84
- o85.Material = Enum.Material.Neon
- o85.BrickColor = BrickColor.new("Crimson")
- o85.Position = Vector3.new(-127.265427, 6.19620752, -81.0899048)
- o85.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o85.RotVelocity = Vector3.new(6.5815635e-05, -1.32384743e-08, 4.54630353e-05)
- o85.Velocity = Vector3.new(-0.000303327746, 9.12678952e-05, 0.000401923055)
- o85.Locked = true
- o85.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
- o85.CFrame = CFrame.new(-127.265427, 6.19620752, -81.0899048, 0.839526713, 0.000179400187, -0.543318391, -0.000304231653, 0.99999994, -0.000139900323, 0.543318331, 0.000282744702, 0.839526713)
- o85.BackSurface = Enum.SurfaceType.Weld
- o85.BottomSurface = Enum.SurfaceType.Weld
- o85.FrontSurface = Enum.SurfaceType.Weld
- o85.LeftSurface = Enum.SurfaceType.Weld
- o85.RightSurface = Enum.SurfaceType.Weld
- o85.TopSurface = Enum.SurfaceType.Smooth
- o85.Color = Color3.new(0.592157, 0, 0)
- o85.Position = Vector3.new(-127.265427, 6.19620752, -81.0899048)
- o85.velocity = Vector3.new(-0.000303327746, 9.12678952e-05, 0.000401923055)
- o86.Name = "DO NOT USE"
- o86.Parent = o84
- o86.Material = Enum.Material.SmoothPlastic
- o86.Position = Vector3.new(-127.256676, 7.39675236, -82.9898453)
- o86.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
- o86.RotVelocity = Vector3.new(6.5815635e-05, -1.32384743e-08, 4.54630353e-05)
- o86.Velocity = Vector3.new(-0.000357882993, 0.000216711516, 0.000480937771)
- o86.Locked = true
- o86.FormFactor = Enum.FormFactor.Symmetric
- o86.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o86.CFrame = CFrame.new(-127.256676, 7.39675236, -82.9898453, -0.839526713, 0.543318391, -0.000179400187, 0.000304231653, 0.000139900323, -0.99999994, -0.543318331, -0.839526713, -0.000282744702)
- o86.BackSurface = Enum.SurfaceType.Weld
- o86.BottomSurface = Enum.SurfaceType.Weld
- o86.TopSurface = Enum.SurfaceType.Weld
- o86.Position = Vector3.new(-127.256676, 7.39675236, -82.9898453)
- o86.velocity = Vector3.new(-0.000357882993, 0.000216711516, 0.000480937771)
- o87.Parent = o86
- o87.MeshType = Enum.MeshType.Wedge
- o88.Parent = o84
- o88.Material = Enum.Material.SmoothPlastic
- o88.Position = Vector3.new(-128.234726, 6.19665432, -81.4789658)
- o88.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o88.RotVelocity = Vector3.new(6.58062054e-05, 7.83107794e-07, 4.43295576e-05)
- o88.Velocity = Vector3.new(-0.000298792089, 6.65106709e-05, 0.000390618428)
- o88.Locked = true
- o88.FormFactor = Enum.FormFactor.Symmetric
- o88.Size = Vector3.new(2, 2.80000019, 3)
- o88.CFrame = CFrame.new(-128.234726, 6.19665432, -81.4789658, 0.839526713, 0.000179035444, -0.543318391, -0.000304220681, 0.99999994, -0.000140554708, 0.543318331, 0.000283288129, 0.839526713)
- o88.BackSurface = Enum.SurfaceType.Weld
- o88.BottomSurface = Enum.SurfaceType.Smooth
- o88.TopSurface = Enum.SurfaceType.Smooth
- o88.Position = Vector3.new(-128.234726, 6.19665432, -81.4789658)
- o88.velocity = Vector3.new(-0.000298792089, 6.65106709e-05, 0.000390618428)
- o89.Parent = o84
- o89.Material = Enum.Material.SmoothPlastic
- o89.Position = Vector3.new(-129.864639, 6.19613409, -78.9603577)
- o89.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o89.RotVelocity = Vector3.new(6.58062054e-05, 7.83107794e-07, 4.43295576e-05)
- o89.Velocity = Vector3.new(-0.000296796701, -0.000171482738, 0.000391860609)
- o89.Locked = true
- o89.FormFactor = Enum.FormFactor.Symmetric
- o89.Size = Vector3.new(2, 2, 3)
- o89.CFrame = CFrame.new(-129.864639, 6.19613409, -78.9603577, 0.839526713, 0.000179035444, -0.543318391, -0.000304220681, 0.99999994, -0.000140554708, 0.543318331, 0.000283288129, 0.839526713)
- o89.BackSurface = Enum.SurfaceType.Weld
- o89.BottomSurface = Enum.SurfaceType.Smooth
- o89.TopSurface = Enum.SurfaceType.Smooth
- o89.Position = Vector3.new(-129.864639, 6.19613409, -78.9603577)
- o89.velocity = Vector3.new(-0.000296796701, -0.000171482738, 0.000391860609)
- o90.Parent = o84
- o90.Material = Enum.Material.SmoothPlastic
- o90.Position = Vector3.new(-127.224304, 6.19594479, -81.0632782)
- o90.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o90.RotVelocity = Vector3.new(6.67982385e-05, -6.89868571e-08, 4.6183588e-05)
- o90.Velocity = Vector3.new(-0.000295986392, 8.90148949e-05, 0.0004076474)
- o90.Locked = true
- o90.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
- o90.CFrame = CFrame.new(-127.224304, 6.19594479, -81.0632782, 0.839526772, 0.000178883667, -0.543318331, -0.000304247107, 0.99999994, -0.000140874952, 0.543318272, 0.000283571339, 0.839526772)
- o90.BackSurface = Enum.SurfaceType.Weld
- o90.BottomSurface = Enum.SurfaceType.Weld
- o90.FrontSurface = Enum.SurfaceType.Weld
- o90.LeftSurface = Enum.SurfaceType.Weld
- o90.RightSurface = Enum.SurfaceType.Weld
- o90.TopSurface = Enum.SurfaceType.Smooth
- o90.Position = Vector3.new(-127.224304, 6.19594479, -81.0632782)
- o90.velocity = Vector3.new(-0.000295986392, 8.90148949e-05, 0.0004076474)
- o91.Parent = o84
- o91.Material = Enum.Material.SmoothPlastic
- o91.Position = Vector3.new(-127.25705, 6.19698238, -82.9902115)
- o91.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o91.RotVelocity = Vector3.new(6.67982385e-05, -6.89868571e-08, 4.6183588e-05)
- o91.Velocity = Vector3.new(-0.00029590138, 0.000216218352, 0.000407714484)
- o91.Locked = true
- o91.FormFactor = Enum.FormFactor.Symmetric
- o91.Size = Vector3.new(2, 2, 0.599999726)
- o91.CFrame = CFrame.new(-127.25705, 6.19698238, -82.9902115, 0.839526772, 0.000178883667, -0.543318331, -0.000304247107, 0.99999994, -0.000140874952, 0.543318272, 0.000283571339, 0.839526772)
- o91.BackSurface = Enum.SurfaceType.Weld
- o91.BottomSurface = Enum.SurfaceType.Smooth
- o91.TopSurface = Enum.SurfaceType.Smooth
- o91.Position = Vector3.new(-127.25705, 6.19698238, -82.9902115)
- o91.velocity = Vector3.new(-0.00029590138, 0.000216218352, 0.000407714484)
- o92.Name = "DO NOT USE"
- o92.Parent = o84
- o92.Material = Enum.Material.SmoothPlastic
- o92.Position = Vector3.new(-129.86412, 7.39586782, -78.9597397)
- o92.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o92.RotVelocity = Vector3.new(6.67982385e-05, -6.89868571e-08, 4.6183588e-05)
- o92.Velocity = Vector3.new(-0.000351548253, -0.000173413951, 0.000487618061)
- o92.Locked = true
- o92.FormFactor = Enum.FormFactor.Symmetric
- o92.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o92.CFrame = CFrame.new(-129.86412, 7.39586782, -78.9597397, -0.839526772, 0.000178883667, 0.543318331, 0.000304247107, 0.99999994, 0.000140874952, -0.543318272, 0.000283571339, -0.839526772)
- o92.BackSurface = Enum.SurfaceType.Weld
- o92.BottomSurface = Enum.SurfaceType.Weld
- o92.TopSurface = Enum.SurfaceType.Weld
- o92.Position = Vector3.new(-129.86412, 7.39586782, -78.9597397)
- o92.velocity = Vector3.new(-0.000351548253, -0.000173413951, 0.000487618061)
- o93.Parent = o92
- o93.MeshType = Enum.MeshType.Wedge
- o94.Name = "DO NOT USE"
- o94.Parent = o84
- o94.Material = Enum.Material.SmoothPlastic
- o94.Position = Vector3.new(-129.864761, 4.99577713, -78.9606018)
- o94.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
- o94.RotVelocity = Vector3.new(6.34384924e-05, 8.13685006e-07, 4.27854829e-05)
- o94.Velocity = Vector3.new(-0.000236398671, -0.000166608253, 0.00030058081)
- o94.Locked = true
- o94.FormFactor = Enum.FormFactor.Symmetric
- o94.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
- o94.CFrame = CFrame.new(-129.864761, 4.99577713, -78.9606018, 0.839526713, -0.000178759699, 0.543318391, -0.00030428046, -0.99999994, 0.000141154611, 0.543318331, -0.000283824251, -0.839526713)
- o94.BackSurface = Enum.SurfaceType.Weld
- o94.BottomSurface = Enum.SurfaceType.Weld
- o94.TopSurface = Enum.SurfaceType.Weld
- o94.Position = Vector3.new(-129.864761, 4.99577713, -78.9606018)
- o94.velocity = Vector3.new(-0.000236398671, -0.000166608253, 0.00030058081)
- o95.Parent = o94
- o95.MeshType = Enum.MeshType.Wedge
- o96.Name = "DO NOT USE"
- o96.Parent = o84
- o96.Material = Enum.Material.SmoothPlastic
- o96.Position = Vector3.new(-127.257317, 4.99676943, -82.9905853)
- o96.Rotation = Vector3.new(-89.9799957, 0.00999999978, -32.9099998)
- o96.RotVelocity = Vector3.new(7.00316159e-05, 4.55531563e-07, 5.11435792e-05)
- o96.Velocity = Vector3.new(-0.000278955296, 0.00024227993, 0.00033147147)
- o96.Locked = true
- o96.FormFactor = Enum.FormFactor.Symmetric
- o96.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
- o96.CFrame = CFrame.new(-127.257317, 4.99676943, -82.9905853, 0.839526772, 0.543318331, 0.000178277958, -0.000304155576, 0.000141848315, 0.99999994, 0.543318272, -0.839526772, 0.000284338748)
- o96.BackSurface = Enum.SurfaceType.Weld
- o96.BottomSurface = Enum.SurfaceType.Weld
- o96.TopSurface = Enum.SurfaceType.Weld
- o96.Position = Vector3.new(-127.257317, 4.99676943, -82.9905853)
- o96.velocity = Vector3.new(-0.000278955296, 0.00024227993, 0.00033147147)
- o97.Parent = o96
- o97.MeshType = Enum.MeshType.Wedge
- o98.Parent = o52
- o99.Name = "Door"
- o99.Parent = o9
- o100.Name = "D3"
- o100.Parent = o99
- o100.Material = Enum.Material.SmoothPlastic
- o100.BrickColor = BrickColor.new("Quill grey")
- o100.Position = Vector3.new(-130.056168, 6.29858971, -86.9457626)
- o100.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o100.RotVelocity = Vector3.new(7.842372e-05, -3.49509037e-07, 4.2656131e-05)
- o100.Velocity = Vector3.new(-0.0003163605, 0.000268471456, 0.000490197039)
- o100.CanCollide = false
- o100.Locked = true
- o100.FormFactor = Enum.FormFactor.Symmetric
- o100.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
- o100.CFrame = CFrame.new(-130.056168, 6.29858971, -86.9457626, 0.839526713, 0.000178092872, -0.543318391, -0.000304223999, 0.99999994, -0.000142294695, 0.543318331, 0.000284750713, 0.839526713)
- o100.BackSurface = Enum.SurfaceType.Weld
- o100.BottomSurface = Enum.SurfaceType.Weld
- o100.TopSurface = Enum.SurfaceType.Weld
- o100.Color = Color3.new(0.87451, 0.87451, 0.870588)
- o100.Position = Vector3.new(-130.056168, 6.29858971, -86.9457626)
- o100.velocity = Vector3.new(-0.0003163605, 0.000268471456, 0.000490197039)
- o101.Parent = o100
- o101.MeshType = Enum.MeshType.Wedge
- o102.Name = "D2"
- o102.Parent = o99
- o102.Material = Enum.Material.SmoothPlastic
- o102.BrickColor = BrickColor.new("Quill grey")
- o102.Position = Vector3.new(-130.056641, 4.39847565, -86.9464569)
- o102.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o102.RotVelocity = Vector3.new(4.65711855e-05, 1.20647428e-06, 2.28948611e-05)
- o102.Velocity = Vector3.new(-0.000165928985, 0.000154269001, 0.000205332792)
- o102.CanCollide = false
- o102.Locked = true
- o102.Size = Vector3.new(4.99999666, 2.00000024, 1.39999938)
- o102.CFrame = CFrame.new(-130.056641, 4.39847565, -86.9464569, -0.839526713, 0.000177997616, 0.543318391, 0.000304242363, 0.99999994, 0.000142498378, -0.543318331, 0.000284931652, -0.839526713)
- o102.BackSurface = Enum.SurfaceType.Weld
- o102.BottomSurface = Enum.SurfaceType.Weld
- o102.FrontSurface = Enum.SurfaceType.Weld
- o102.LeftSurface = Enum.SurfaceType.Weld
- o102.RightSurface = Enum.SurfaceType.Weld
- o102.TopSurface = Enum.SurfaceType.Smooth
- o102.Color = Color3.new(0.87451, 0.87451, 0.870588)
- o102.Position = Vector3.new(-130.056641, 4.39847565, -86.9464569)
- o102.velocity = Vector3.new(-0.000165928985, 0.000154269001, 0.000205332792)
- o103.Name = "D4"
- o103.Parent = o99
- o103.Material = Enum.Material.SmoothPlastic
- o103.BrickColor = BrickColor.new("Quill grey")
- o103.Position = Vector3.new(-130.057053, 2.49848461, -86.9470444)
- o103.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o103.RotVelocity = Vector3.new(4.65711855e-05, 1.20647428e-06, 2.28948611e-05)
- o103.Velocity = Vector3.new(-0.000122429657, 0.000154286914, 0.00011684843)
- o103.CanCollide = false
- o103.Locked = true
- o103.FormFactor = Enum.FormFactor.Symmetric
- o103.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
- o103.CFrame = CFrame.new(-130.057053, 2.49848461, -86.9470444, -0.839526713, -0.000177997616, -0.543318391, 0.000304242363, -0.99999994, -0.000142498378, -0.543318331, -0.000284931652, 0.839526713)
- o103.BackSurface = Enum.SurfaceType.Weld
- o103.BottomSurface = Enum.SurfaceType.Weld
- o103.TopSurface = Enum.SurfaceType.Weld
- o103.Color = Color3.new(0.87451, 0.87451, 0.870588)
- o103.Position = Vector3.new(-130.057053, 2.49848461, -86.9470444)
- o103.velocity = Vector3.new(-0.000122429657, 0.000154286914, 0.00011684843)
- o104.Parent = o103
- o104.MeshType = Enum.MeshType.Wedge
- o105.Name = "D1"
- o105.Parent = o99
- o105.Material = Enum.Material.SmoothPlastic
- o105.BrickColor = BrickColor.new("Mid gray")
- o105.Position = Vector3.new(-130.926834, 0.798098683, -85.6043549)
- o105.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o105.RotVelocity = Vector3.new(7.62427226e-06, 8.19331035e-07, 1.93913002e-06)
- o105.Velocity = Vector3.new(1.98668681e-06, 1.04402261e-06, -5.61885781e-06)
- o105.CanCollide = false
- o105.Locked = true
- o105.FormFactor = Enum.FormFactor.Symmetric
- o105.Size = Vector3.new(4.99999857, 1.5999999, 1.79999995)
- o105.CFrame = CFrame.new(-130.926834, 0.798098683, -85.6043549, -0.839526713, -0.000177618524, -0.543318391, 0.000304265268, -0.99999994, -0.000143231518, -0.543318331, -0.000285559596, 0.839526713)
- o105.BackSurface = Enum.SurfaceType.Weld
- o105.BottomSurface = Enum.SurfaceType.Weld
- o105.TopSurface = Enum.SurfaceType.Weld
- o105.Color = Color3.new(0.803922, 0.803922, 0.803922)
- o105.Position = Vector3.new(-130.926834, 0.798098683, -85.6043549)
- o105.velocity = Vector3.new(1.98668681e-06, 1.04402261e-06, -5.61885781e-06)
- o106.Parent = o105
- o106.MeshType = Enum.MeshType.Wedge
- o107.Name = "Open"
- o107.Parent = o99
- o107.Material = Enum.Material.Neon
- o107.BrickColor = BrickColor.new("Lime green")
- o107.Position = Vector3.new(-136.211014, 5.44555807, -81.4104233)
- o107.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o107.RotVelocity = Vector3.new(4.82775213e-05, 6.05248658e-07, 3.781337e-05)
- o107.Velocity = Vector3.new(-0.000223412149, -0.000331139105, 0.00027367947)
- o107.Locked = true
- o107.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
- o107.CFrame = CFrame.new(-136.211014, 5.44555807, -81.4104233, -0.839526653, -0.000177426846, -0.54331845, 0.000304212561, -0.99999994, -0.000143502795, -0.543318391, -0.000285758724, 0.839526653)
- o107.BackSurface = Enum.SurfaceType.Weld
- o107.BottomSurface = Enum.SurfaceType.Smooth
- o107.TopSurface = Enum.SurfaceType.Smooth
- o107.Color = Color3.new(0, 1, 0)
- o107.Position = Vector3.new(-136.211014, 5.44555807, -81.4104233)
- o107.velocity = Vector3.new(-0.000223412149, -0.000331139105, 0.00027367947)
- o108.Parent = o107
- o109.Name = "Close"
- o109.Parent = o99
- o109.Material = Enum.Material.Neon
- o109.BrickColor = BrickColor.new("Really red")
- o109.Position = Vector3.new(-135.707245, 5.44537306, -81.0845337)
- o109.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o109.RotVelocity = Vector3.new(7.93370418e-05, -7.43454257e-06, 9.14918783e-05)
- o109.Velocity = Vector3.new(-0.00051198795, -0.000648339046, 0.000594409707)
- o109.Locked = true
- o109.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
- o109.CFrame = CFrame.new(-135.707245, 5.44537306, -81.0845337, -0.839526713, -0.000177078255, -0.543318391, 0.000304103218, -0.99999994, -0.000143975456, -0.543318331, -0.000286096096, 0.839526713)
- o109.BackSurface = Enum.SurfaceType.Weld
- o109.BottomSurface = Enum.SurfaceType.Smooth
- o109.TopSurface = Enum.SurfaceType.Smooth
- o109.Color = Color3.new(1, 0, 0)
- o109.Position = Vector3.new(-135.707245, 5.44537306, -81.0845337)
- o109.velocity = Vector3.new(-0.00051198795, -0.000648339046, 0.000594409707)
- o110.Parent = o109
- o111.Name = "DoorScript"
- o111.Parent = o99
- runDummyScript(function()
- local D1 = script.Parent.D1
- local D2 = script.Parent.D2
- local D3 = script.Parent.D3
- local D4 = script.Parent.D4
- function Open(opens)
- D1.CanCollide = false
- D2.CanCollide = false
- D3.CanCollide = false
- D4.CanCollide = false
- end
- script.Parent.Open.ClickDetector.MouseClick:connect(Open)
- function Close(closes)
- D1.CanCollide = true
- D2.CanCollide = true
- D3.CanCollide = true
- D4.CanCollide = true
- end
- script.Parent.Close.ClickDetector.MouseClick:connect(Close)
- end,o111)
- o112.Parent = o9
- o112.Material = Enum.Material.SmoothPlastic
- o112.BrickColor = BrickColor.new("Black")
- o112.Position = Vector3.new(-131.034271, 4.52256012, -85.5920944)
- o112.Rotation = Vector3.new(90.0199966, -0.00999999978, 32.9099998)
- o112.RotVelocity = Vector3.new(0.000224098578, -0.000102745602, 0.000182343341)
- o112.Velocity = Vector3.new(-0.000784634787, 0.000739232521, 0.00139328232)
- o112.CanCollide = false
- o112.Locked = true
- o112.Size = Vector3.new(1.34999979, 0.379999965, 2)
- o112.CFrame = CFrame.new(-131.034271, 4.52256012, -85.5920944, 0.839526474, -0.543318748, -0.000176255257, -0.000303984649, -0.00014530684, -0.99999994, 0.543318689, 0.839526474, -0.000287149509)
- o112.BottomSurface = Enum.SurfaceType.Weld
- o112.TopSurface = Enum.SurfaceType.Smooth
- o112.MaxSpeed = 18
- o112.TurnSpeed = 50
- o112.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o112.Position = Vector3.new(-131.034271, 4.52256012, -85.5920944)
- o112.velocity = Vector3.new(-0.000784634787, 0.000739232521, 0.00139328232)
- o113.Name = "SeatWeld"
- o113.Archivable = false
- o113.C0 = CFrame.new(0, 0.189999983, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
- o113.C1 = CFrame.new(0, -1.5, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
- o113.Part0 = o112
- o113.Part1 = o264
- o114.Name = "BoosterSystem"
- o114.Parent = o9
- o115.Name = "BoosterButton"
- o115.Parent = o114
- o115.Material = Enum.Material.Neon
- o115.BrickColor = BrickColor.new("New Yeller")
- o115.Position = Vector3.new(-133.341415, 5.006073, -79.4948273)
- o115.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
- o115.RotVelocity = Vector3.new(-1.5480442e-05, 2.25517215e-05, -2.45845276e-05)
- o115.Velocity = Vector3.new(0.000333778822, 0.000166822792, -4.98162844e-05)
- o115.Locked = true
- o115.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
- o115.CFrame = CFrame.new(-133.341415, 5.006073, -79.4948273, -0.839526474, 0.543318748, -0.000176335976, 0.000304058398, 0.000145272192, -0.99999994, -0.543318689, -0.839526474, -0.000287160481)
- 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.Smooth
- o115.Color = Color3.new(1, 1, 0)
- o115.Position = Vector3.new(-133.341415, 5.006073, -79.4948273)
- o115.velocity = Vector3.new(0.000333778822, 0.000166822792, -4.98162844e-05)
- o116.Name = "BoosterScript"
- o116.Parent = o115
- runDummyScript(function()
- -- This Script activates "Booster Mode"--
- local MainSeat = script.Parent.Parent.Parent.VehicleSeat
- local Boost1 = script.Parent.Parent.Booster1.Fire
- local Boost2 = script.Parent.Parent.Booster2.Fire2
- local F1 = script.Parent.Parent.F1
- local F2 = script.Parent.Parent.F2
- local F3 = script.Parent.Parent.F3
- local Sound = script.Parent.Parent.Sound
- BoostersCanBeUsed = true
- function Boosting(Boosts)
- if BoostersCanBeUsed == true then
- Sound:Play()
- BoostersCanBeUsed = false
- print(BoostersCanBeUsed)
- MainSeat.MaxSpeed = 50
- Boost1.Enabled = true
- Boost2.Enabled = true
- wait(4)
- F1.BrickColor = BrickColor.Black()
- wait(4)
- F2.BrickColor = BrickColor.Black()
- wait(4)
- F3.BrickColor = BrickColor.Black()
- MainSeat.MaxSpeed = 18
- Boost1.Enabled = false
- Boost2.Enabled = false
- Sound:Stop()
- wait(1)
- F1.BrickColor = BrickColor.new("Forest green")
- wait(1)
- F2.BrickColor = BrickColor.new("Forest green")
- wait(1)
- F3.BrickColor = BrickColor.new("Forest green")
- wait(3)
- BoostersCanBeUsed = true
- print(BoostersCanBeUsed)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(Boosting)
- end,o116)
- o117.Parent = o115
- o118.Name = "Booster1"
- o118.Parent = o114
- o118.Material = Enum.Material.SmoothPlastic
- o118.BrickColor = BrickColor.new("Really black")
- o118.Position = Vector3.new(-134.772552, 2.20018554, -89.0456848)
- o118.Rotation = Vector3.new(0.0299999993, 57.0900002, -90.0199966)
- o118.RotVelocity = Vector3.new(-1.07288297e-05, 4.67086875e-06, -2.2177539e-05)
- o118.Velocity = Vector3.new(5.94646699e-05, 2.62823887e-05, -4.45051592e-05)
- o118.Locked = true
- o118.Size = Vector3.new(2, 0.200000003, 2)
- o118.CFrame = CFrame.new(-134.772552, 2.20018554, -89.0456848, -0.000171297928, 0.543313742, 0.839529693, -0.99999994, 0.000143080499, -0.000296636921, -0.000281287241, -0.839529753, 0.543313682)
- o118.BackSurface = Enum.SurfaceType.Weld
- o118.BottomSurface = Enum.SurfaceType.Weld
- o118.FrontSurface = Enum.SurfaceType.Weld
- o118.LeftSurface = Enum.SurfaceType.Weld
- o118.RightSurface = Enum.SurfaceType.Weld
- o118.TopSurface = Enum.SurfaceType.Smooth
- o118.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o118.Position = Vector3.new(-134.772552, 2.20018554, -89.0456848)
- o118.velocity = Vector3.new(5.94646699e-05, 2.62823887e-05, -4.45051592e-05)
- o119.Parent = o118
- o119.Size = 6
- o119.Color = Color3.new(0.666667, 1, 0)
- o119.Enabled = false
- o119.Heat = 25
- o120.Name = "Booster2"
- o120.Parent = o114
- o120.Material = Enum.Material.SmoothPlastic
- o120.BrickColor = BrickColor.new("Really black")
- o120.Position = Vector3.new(-126.209709, 2.19700527, -83.5041122)
- o120.Rotation = Vector3.new(0.0599999987, 57.0900002, -90.0400009)
- o120.RotVelocity = Vector3.new(2.76695882e-05, -5.70255054e-07, 1.13329161e-05)
- o120.Velocity = Vector3.new(-3.30214607e-05, 5.52579513e-06, 4.31852895e-05)
- o120.Locked = true
- o120.Size = Vector3.new(2, 0.200000003, 2)
- o120.CFrame = CFrame.new(-126.209709, 2.19700527, -83.5041122, -0.000390289613, 0.543309331, 0.839532495, -0.999999881, 0.000148512525, -0.000561020279, -0.000429514825, -0.839532614, 0.543309152)
- o120.BackSurface = Enum.SurfaceType.Weld
- o120.BottomSurface = Enum.SurfaceType.Weld
- o120.FrontSurface = Enum.SurfaceType.Weld
- o120.LeftSurface = Enum.SurfaceType.Weld
- o120.RightSurface = Enum.SurfaceType.Weld
- o120.TopSurface = Enum.SurfaceType.Smooth
- o120.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o120.Position = Vector3.new(-126.209709, 2.19700527, -83.5041122)
- o120.velocity = Vector3.new(-3.30214607e-05, 5.52579513e-06, 4.31852895e-05)
- o121.Name = "Fire2"
- o121.Parent = o120
- o121.Size = 6
- o121.Color = Color3.new(0.666667, 1, 0)
- o121.Enabled = false
- o121.Heat = 25
- o122.Name = "F3"
- o122.Parent = o114
- o122.Material = Enum.Material.SmoothPlastic
- o122.BrickColor = BrickColor.new("Forest green")
- o122.Position = Vector3.new(-133.657227, 5.55779171, -79.668045)
- o122.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
- o122.RotVelocity = Vector3.new(2.76695882e-05, -5.70255054e-07, 1.13329161e-05)
- o122.Velocity = Vector3.new(-7.32965054e-05, -0.000185018696, 0.000131929904)
- o122.Locked = true
- o122.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
- o122.CFrame = CFrame.new(-133.657227, 5.55779171, -79.668045, -0.839529693, 0.543313742, -0.000171278836, 0.00029673407, 0.000143265745, -0.99999994, -0.543313682, -0.839529753, -0.000281495566)
- o122.BackSurface = Enum.SurfaceType.Weld
- o122.BottomSurface = Enum.SurfaceType.Weld
- o122.FrontSurface = Enum.SurfaceType.Weld
- o122.LeftSurface = Enum.SurfaceType.Weld
- o122.RightSurface = Enum.SurfaceType.Weld
- o122.TopSurface = Enum.SurfaceType.Smooth
- o122.Color = Color3.new(0.121569, 0.501961, 0.113725)
- o122.Position = Vector3.new(-133.657227, 5.55779171, -79.668045)
- o122.velocity = Vector3.new(-7.32965054e-05, -0.000185018696, 0.000131929904)
- o123.Name = "F2"
- o123.Parent = o114
- o123.Material = Enum.Material.SmoothPlastic
- o123.BrickColor = BrickColor.new("Forest green")
- o123.Position = Vector3.new(-133.354538, 5.55768442, -79.4721527)
- o123.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
- o123.RotVelocity = Vector3.new(1.83875654e-05, 1.89404807e-06, 4.29194142e-06)
- o123.Velocity = Vector3.new(-4.06406571e-06, -0.00012475792, 8.57082705e-05)
- o123.Locked = true
- o123.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
- o123.CFrame = CFrame.new(-133.354538, 5.55768442, -79.4721527, -0.839529753, 0.543313742, -0.000171255626, 0.000296754413, 0.000143339887, -0.99999994, -0.543313682, -0.839529753, -0.000281568849)
- 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.Smooth
- o123.Color = Color3.new(0.121569, 0.501961, 0.113725)
- o123.Position = Vector3.new(-133.354538, 5.55768442, -79.4721527)
- o123.velocity = Vector3.new(-4.06406571e-06, -0.00012475792, 8.57082705e-05)
- o124.Name = "F1"
- o124.Parent = o114
- o124.Material = Enum.Material.SmoothPlastic
- o124.BrickColor = BrickColor.new("Forest green")
- o124.Position = Vector3.new(-133.064072, 5.55758095, -79.2841644)
- o124.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
- o124.RotVelocity = Vector3.new(1.83875654e-05, 1.89404807e-06, 4.29194142e-06)
- o124.Velocity = Vector3.new(-3.70756266e-06, -0.000126967905, 8.51562072e-05)
- o124.Locked = true
- o124.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
- o124.CFrame = CFrame.new(-133.064072, 5.55758095, -79.2841644, -0.839529753, 0.543313742, -0.000171255626, 0.000296754413, 0.000143339887, -0.99999994, -0.543313682, -0.839529753, -0.000281568849)
- o124.BackSurface = Enum.SurfaceType.Weld
- o124.BottomSurface = Enum.SurfaceType.Weld
- o124.FrontSurface = Enum.SurfaceType.Weld
- o124.LeftSurface = Enum.SurfaceType.Weld
- o124.RightSurface = Enum.SurfaceType.Weld
- o124.TopSurface = Enum.SurfaceType.Smooth
- o124.Color = Color3.new(0.121569, 0.501961, 0.113725)
- o124.Position = Vector3.new(-133.064072, 5.55758095, -79.2841644)
- o124.velocity = Vector3.new(-3.70756266e-06, -0.000126967905, 8.51562072e-05)
- o125.Parent = o114
- o125.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
- o125.Looped = true
- o126.Parent = o9
- o127.Name = "Self-Destruct System"
- o127.Parent = o126
- o128.Name = "ExplosionButton"
- o128.Parent = o127
- o128.Material = Enum.Material.Neon
- o128.BrickColor = BrickColor.new("Really red")
- o128.Position = Vector3.new(-132.622406, 5.00584555, -79.028389)
- o128.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
- o128.RotVelocity = Vector3.new(1.83749708e-05, 1.10597794e-05, 2.17241927e-06)
- o128.Velocity = Vector3.new(0.000107332657, -0.000117441115, 3.54802542e-05)
- o128.Locked = true
- o128.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
- o128.CFrame = CFrame.new(-132.622406, 5.00584555, -79.028389, -0.839529872, 0.543313503, -0.000172009444, 0.000296562619, 0.00014165623, -0.99999994, -0.543313444, -0.839529872, -0.000280051114)
- o128.BackSurface = Enum.SurfaceType.Weld
- o128.BottomSurface = Enum.SurfaceType.Weld
- o128.FrontSurface = Enum.SurfaceType.Weld
- o128.LeftSurface = Enum.SurfaceType.Weld
- o128.RightSurface = Enum.SurfaceType.Weld
- o128.TopSurface = Enum.SurfaceType.Smooth
- o128.Color = Color3.new(1, 0, 0)
- o128.Position = Vector3.new(-132.622406, 5.00584555, -79.028389)
- o128.velocity = Vector3.new(0.000107332657, -0.000117441115, 3.54802542e-05)
- o129.Parent = o128
- o130.Name = "Core"
- o130.Parent = o127
- o130.Material = Enum.Material.SmoothPlastic
- o130.Transparency = 1
- o130.Position = Vector3.new(-130.698471, 4.30392122, -86.06427)
- o130.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o130.RotVelocity = Vector3.new(3.54853801e-05, -1.66920756e-06, 1.65230322e-05)
- o130.Velocity = Vector3.new(-8.38706692e-05, 2.84689468e-05, 0.000126656902)
- o130.CanCollide = false
- o130.Locked = true
- o130.Size = Vector3.new(1.399997, 1.60000014, 0.780000091)
- o130.CFrame = CFrame.new(-130.698471, 4.30392122, -86.06427, -0.839529812, -0.000171813081, -0.543313563, 0.000296469545, -0.99999994, -0.000141873781, -0.543313503, -0.000280183216, 0.839529812)
- o130.BackSurface = Enum.SurfaceType.Weld
- o130.BottomSurface = Enum.SurfaceType.Weld
- o130.FrontSurface = Enum.SurfaceType.Weld
- o130.LeftSurface = Enum.SurfaceType.Weld
- o130.RightSurface = Enum.SurfaceType.Weld
- o130.TopSurface = Enum.SurfaceType.Smooth
- o130.Position = Vector3.new(-130.698471, 4.30392122, -86.06427)
- o130.velocity = Vector3.new(-8.38706692e-05, 2.84689468e-05, 0.000126656902)
- o131.Name = "MechExplosionScript"
- o131.Parent = o130
- runDummyScript(function()
- local x = 1
- local ExplosionSound = script.Parent.Sound
- local Alarm = script.Parent.Parent.Light.PointLight
- function Explosion(Explodes)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- Alarm.Enabled = true
- wait(0.5)
- Alarm.Enabled = false
- wait(0.5)
- wait(2)
- ExplosionSound:Play()
- local Boom = Instance.new("Explosion")
- Boom.Parent = game.Workspace
- Boom.Position = script.Parent.Parent.Core.Position
- Boom.BlastRadius = 75
- end
- script.Parent.Parent.ExplosionButton.ClickDetector.MouseClick:connect(Explosion)
- end,o131)
- o132.Parent = o130
- o132.SoundId = "rbxassetid://144699494"
- o132.Volume = 1.5
- o133.Name = "Light"
- o133.Parent = o127
- o133.Material = Enum.Material.Neon
- o133.BrickColor = BrickColor.new("Really red")
- o133.Position = Vector3.new(-132.048386, 1.6227771, -83.887886)
- o133.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o133.RotVelocity = Vector3.new(4.39295582e-05, -1.40282674e-08, 1.17879836e-05)
- o133.Velocity = Vector3.new(-0.000126810191, -4.85857709e-05, -9.76269075e-06)
- o133.Locked = true
- o133.Size = Vector3.new(1, 0.0500000007, 1)
- o133.CFrame = CFrame.new(-132.048386, 1.6227771, -83.887886, -0.839529872, -0.000171792519, -0.543313563, 0.000296656275, -0.99999994, -0.000142200166, -0.543313503, -0.000280558656, 0.839529872)
- o133.BackSurface = Enum.SurfaceType.Weld
- o133.BottomSurface = Enum.SurfaceType.Weld
- o133.FrontSurface = Enum.SurfaceType.Weld
- o133.LeftSurface = Enum.SurfaceType.Weld
- o133.RightSurface = Enum.SurfaceType.Weld
- o133.TopSurface = Enum.SurfaceType.Smooth
- o133.Color = Color3.new(1, 0, 0)
- o133.Position = Vector3.new(-132.048386, 1.6227771, -83.887886)
- o133.velocity = Vector3.new(-0.000126810191, -4.85857709e-05, -9.76269075e-06)
- o134.Parent = o133
- o134.Color = Color3.new(1, 0, 0)
- o134.Enabled = false
- o134.Brightness = 10
- o135.Parent = o126
- o135.Material = Enum.Material.SmoothPlastic
- o135.Position = Vector3.new(-127.537231, 6.29784203, -85.3152618)
- o135.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o135.RotVelocity = Vector3.new(5.55385413e-05, -6.02450291e-06, 3.48735775e-05)
- o135.Velocity = Vector3.new(-0.000230261925, 0.000164049707, 0.00041909868)
- o135.Locked = true
- o135.FormFactor = Enum.FormFactor.Symmetric
- o135.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o135.CFrame = CFrame.new(-127.537231, 6.29784203, -85.3152618, 0.839529812, 0.000171646621, -0.543313563, -0.000296657498, 0.99999994, -0.000142470599, 0.543313503, 0.000280786364, 0.839529812)
- o135.BackSurface = Enum.SurfaceType.Weld
- o135.BottomSurface = Enum.SurfaceType.Weld
- o135.TopSurface = Enum.SurfaceType.Weld
- o135.Position = Vector3.new(-127.537231, 6.29784203, -85.3152618)
- o135.velocity = Vector3.new(-0.000230261925, 0.000164049707, 0.00041909868)
- o136.Parent = o135
- o136.MeshType = Enum.MeshType.Wedge
- o137.Parent = o126
- o137.Material = Enum.Material.SmoothPlastic
- o137.Position = Vector3.new(-132.55481, 7.69792414, -83.0830688)
- o137.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
- o137.RotVelocity = Vector3.new(1.56004407e-05, 5.03327868e-08, 2.07463768e-06)
- o137.Velocity = Vector3.new(-1.39513759e-06, -4.79651535e-05, 0.000107509848)
- o137.Locked = true
- o137.FormFactor = Enum.FormFactor.Symmetric
- o137.Size = Vector3.new(7, 1, 3)
- o137.CFrame = CFrame.new(-132.55481, 7.69792414, -83.0830688, 0.839529753, -0.000171176885, 0.543313682, -0.0002966623, -0.99999994, 0.00014334255, 0.543313622, -0.000281521003, -0.839529753)
- o137.BottomSurface = Enum.SurfaceType.Smooth
- o137.TopSurface = Enum.SurfaceType.Weld
- o137.Position = Vector3.new(-132.55481, 7.69792414, -83.0830688)
- o137.velocity = Vector3.new(-1.39513759e-06, -4.79651535e-05, 0.000107509848)
- o138.Parent = o126
- o138.Material = Enum.Material.SmoothPlastic
- o138.Position = Vector3.new(-133.666306, 5.09850407, -85.2321548)
- o138.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
- o138.RotVelocity = Vector3.new(1.56004407e-05, 5.03327868e-08, 2.07463768e-06)
- o138.Velocity = Vector3.new(3.88954777e-06, -1.67444159e-05, 6.70136942e-05)
- o138.Locked = true
- o138.FormFactor = Enum.FormFactor.Symmetric
- o138.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o138.CFrame = CFrame.new(-133.666306, 5.09850407, -85.2321548, 0.543313682, -0.000171176885, -0.839529753, 0.00014334255, -0.99999994, 0.0002966623, -0.839529753, -0.000281521003, -0.543313622)
- o138.BackSurface = Enum.SurfaceType.Weld
- o138.BottomSurface = Enum.SurfaceType.Weld
- o138.TopSurface = Enum.SurfaceType.Weld
- o138.Position = Vector3.new(-133.666306, 5.09850407, -85.2321548)
- o138.velocity = Vector3.new(3.88954777e-06, -1.67444159e-05, 6.70136942e-05)
- o139.Parent = o138
- o139.MeshType = Enum.MeshType.Wedge
- o140.Parent = o126
- o140.Material = Enum.Material.SmoothPlastic
- o140.Position = Vector3.new(-128.40773, 0.797608137, -83.9738083)
- o140.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o140.RotVelocity = Vector3.new(4.96545545e-05, 1.06319851e-06, 2.3037057e-05)
- o140.Velocity = Vector3.new(-9.43110135e-05, 5.20150206e-06, -1.91005529e-06)
- o140.Locked = true
- o140.FormFactor = Enum.FormFactor.Symmetric
- o140.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
- o140.CFrame = CFrame.new(-128.40773, 0.797608137, -83.9738083, -0.839529753, -0.000171058986, -0.543313682, 0.000296672923, -0.99999994, -0.000143575962, -0.543313622, -0.000281722751, 0.839529753)
- o140.BackSurface = Enum.SurfaceType.Weld
- o140.BottomSurface = Enum.SurfaceType.Weld
- o140.TopSurface = Enum.SurfaceType.Weld
- o140.Position = Vector3.new(-128.40773, 0.797608137, -83.9738083)
- o140.velocity = Vector3.new(-9.43110135e-05, 5.20150206e-06, -1.91005529e-06)
- o141.Parent = o140
- o141.MeshType = Enum.MeshType.Wedge
- o142.Parent = o126
- o142.Material = Enum.Material.Neon
- o142.BrickColor = BrickColor.new("Electric blue")
- o142.Position = Vector3.new(-133.98204, 3.8987205, -85.4366837)
- o142.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o142.RotVelocity = Vector3.new(0.000174127985, 5.73546504e-06, 8.59596767e-05)
- o142.Velocity = Vector3.new(-0.000596677361, 7.66799785e-05, 0.000470931293)
- o142.Locked = true
- o142.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
- o142.CFrame = CFrame.new(-133.98204, 3.8987205, -85.4366837, -0.839529753, -0.000170715342, -0.543313682, 0.000296772254, -0.99999994, -0.000144361926, -0.543313622, -0.000282436551, 0.839529753)
- o142.BackSurface = Enum.SurfaceType.Weld
- o142.BottomSurface = Enum.SurfaceType.Weld
- o142.FrontSurface = Enum.SurfaceType.Weld
- o142.LeftSurface = Enum.SurfaceType.Weld
- o142.RightSurface = Enum.SurfaceType.Weld
- o142.TopSurface = Enum.SurfaceType.Smooth
- o142.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- o142.Position = Vector3.new(-133.98204, 3.8987205, -85.4366837)
- o142.velocity = Vector3.new(-0.000596677361, 7.66799785e-05, 0.000470931293)
- o143.Parent = o126
- o143.Material = Enum.Material.SmoothPlastic
- o143.Position = Vector3.new(-134.422195, 3.8984623, -85.7215576)
- o143.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o143.RotVelocity = Vector3.new(0.000174127985, 5.73546504e-06, 8.59596767e-05)
- o143.Velocity = Vector3.new(-0.000598289073, 8.84489273e-05, 0.000473410822)
- o143.Locked = true
- o143.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
- o143.CFrame = CFrame.new(-134.422195, 3.8984623, -85.7215576, -0.839529753, -0.000170715342, -0.543313682, 0.000296772254, -0.99999994, -0.000144361926, -0.543313622, -0.000282436551, 0.839529753)
- o143.BackSurface = Enum.SurfaceType.Weld
- o143.BottomSurface = Enum.SurfaceType.Weld
- o143.FrontSurface = Enum.SurfaceType.Weld
- o143.LeftSurface = Enum.SurfaceType.Weld
- o143.RightSurface = Enum.SurfaceType.Weld
- o143.TopSurface = Enum.SurfaceType.Smooth
- o143.Position = Vector3.new(-134.422195, 3.8984623, -85.7215576)
- o143.velocity = Vector3.new(-0.000598289073, 8.84489273e-05, 0.000473410822)
- o144.Parent = o126
- o144.Material = Enum.Material.SmoothPlastic
- o144.Position = Vector3.new(-130.1409, 2.69750142, -82.9510269)
- o144.Rotation = Vector3.new(0.0299999993, 57.0900002, -0.0199999996)
- o144.RotVelocity = Vector3.new(0.000174127985, 5.73546504e-06, 8.59596767e-05)
- o144.Velocity = Vector3.new(-0.000479164592, -2.5959198e-05, 0.000239734683)
- o144.Locked = true
- o144.FormFactor = Enum.FormFactor.Symmetric
- o144.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o144.CFrame = CFrame.new(-130.1409, 2.69750142, -82.9510269, 0.543313682, 0.000170715342, 0.839529753, 0.000144361926, 0.99999994, -0.000296772254, -0.839529753, 0.000282436551, 0.543313622)
- o144.BackSurface = Enum.SurfaceType.Weld
- o144.BottomSurface = Enum.SurfaceType.Weld
- o144.TopSurface = Enum.SurfaceType.Weld
- o144.Position = Vector3.new(-130.1409, 2.69750142, -82.9510269)
- o144.velocity = Vector3.new(-0.000479164592, -2.5959198e-05, 0.000239734683)
- o145.Parent = o144
- o145.MeshType = Enum.MeshType.Wedge
- o146.Parent = o126
- o146.Material = Enum.Material.SmoothPlastic
- o146.Position = Vector3.new(-133.666199, 2.69942713, -85.2326965)
- o146.Rotation = Vector3.new(-179.970001, -57.0900002, -179.979996)
- o146.Locked = true
- o146.FormFactor = Enum.FormFactor.Symmetric
- o146.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o146.CFrame = CFrame.new(-133.666199, 2.69942713, -85.2326965, -0.543354809, 0.000168354891, -0.839503169, -0.000153422297, 1, 0.000299841166, 0.839503169, 0.000291718636, -0.54335475)
- o146.BackSurface = Enum.SurfaceType.Weld
- o146.BottomSurface = Enum.SurfaceType.Weld
- o146.TopSurface = Enum.SurfaceType.Weld
- o146.Position = Vector3.new(-133.666199, 2.69942713, -85.2326965)
- o147.Parent = o146
- o147.MeshType = Enum.MeshType.Wedge
- o148.Parent = o126
- o148.Material = Enum.Material.SmoothPlastic
- o148.Position = Vector3.new(-129.384491, 3.8985033, -82.4611893)
- o148.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o148.Locked = true
- o148.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
- o148.CFrame = CFrame.new(-129.384491, 3.8985033, -82.4611893, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
- o148.BackSurface = Enum.SurfaceType.Weld
- o148.BottomSurface = Enum.SurfaceType.Weld
- o148.FrontSurface = Enum.SurfaceType.Weld
- o148.LeftSurface = Enum.SurfaceType.Weld
- o148.RightSurface = Enum.SurfaceType.Weld
- o148.TopSurface = Enum.SurfaceType.Smooth
- o148.Position = Vector3.new(-129.384491, 3.8985033, -82.4611893)
- o149.Parent = o126
- o149.Material = Enum.Material.Neon
- o149.BrickColor = BrickColor.new("Electric blue")
- o149.Position = Vector3.new(-129.825195, 3.89833355, -82.7464294)
- o149.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o149.Locked = true
- o149.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
- o149.CFrame = CFrame.new(-129.825195, 3.89833355, -82.7464294, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
- o149.BackSurface = Enum.SurfaceType.Weld
- o149.BottomSurface = Enum.SurfaceType.Weld
- o149.FrontSurface = Enum.SurfaceType.Weld
- o149.LeftSurface = Enum.SurfaceType.Weld
- o149.RightSurface = Enum.SurfaceType.Weld
- o149.TopSurface = Enum.SurfaceType.Smooth
- o149.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- o149.Position = Vector3.new(-129.825195, 3.89833355, -82.7464294)
- o150.Parent = o126
- o150.Material = Enum.Material.SmoothPlastic
- o150.Position = Vector3.new(-132.573532, 6.30030155, -88.5747833)
- o150.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
- o150.Locked = true
- o150.FormFactor = Enum.FormFactor.Symmetric
- o150.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o150.CFrame = CFrame.new(-132.573532, 6.30030155, -88.5747833, 0.839503169, 0.000168354891, -0.543354809, -0.000299841166, 1, -0.000153422297, 0.54335475, 0.000291718636, 0.839503169)
- o150.BackSurface = Enum.SurfaceType.Weld
- o150.BottomSurface = Enum.SurfaceType.Weld
- o150.TopSurface = Enum.SurfaceType.Weld
- o150.Position = Vector3.new(-132.573532, 6.30030155, -88.5747833)
- o151.Parent = o150
- o151.MeshType = Enum.MeshType.Wedge
- o152.Parent = o126
- o152.Material = Enum.Material.SmoothPlastic
- o152.Position = Vector3.new(-132.881653, 0.298665285, -82.5812073)
- o152.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
- o152.Locked = true
- o152.FormFactor = Enum.FormFactor.Symmetric
- o152.Size = Vector3.new(7.00000143, 0.599999845, 1.79999995)
- o152.CFrame = CFrame.new(-132.881653, 0.298665285, -82.5812073, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
- o152.BackSurface = Enum.SurfaceType.Weld
- o152.BottomSurface = Enum.SurfaceType.Weld
- o152.TopSurface = Enum.SurfaceType.Weld
- o152.Position = Vector3.new(-132.881653, 0.298665285, -82.5812073)
- o153.Parent = o152
- o153.MeshType = Enum.MeshType.Wedge
- o154.Parent = o126
- o154.Material = Enum.Material.SmoothPlastic
- o154.Position = Vector3.new(-131.903671, 0.798732281, -84.0922623)
- o154.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o154.Locked = true
- o154.Size = Vector3.new(6.99999809, 1.60000014, 1.79999948)
- o154.CFrame = CFrame.new(-131.903671, 0.798732281, -84.0922623, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
- o154.BackSurface = Enum.SurfaceType.Weld
- o154.BottomSurface = Enum.SurfaceType.Weld
- o154.FrontSurface = Enum.SurfaceType.Weld
- o154.LeftSurface = Enum.SurfaceType.Weld
- o154.RightSurface = Enum.SurfaceType.Weld
- o154.TopSurface = Enum.SurfaceType.Smooth
- o154.Position = Vector3.new(-131.903671, 0.798732281, -84.0922623)
- o155.Parent = o126
- o155.Material = Enum.Material.SmoothPlastic
- o155.Position = Vector3.new(-131.086929, 7.69924927, -85.348999)
- o155.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o155.Locked = true
- o155.Size = Vector3.new(6.99999475, 1, 2.39999962)
- o155.CFrame = CFrame.new(-131.086929, 7.69924927, -85.348999, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
- o155.BackSurface = Enum.SurfaceType.Weld
- o155.BottomSurface = Enum.SurfaceType.Weld
- o155.FrontSurface = Enum.SurfaceType.Weld
- o155.LeftSurface = Enum.SurfaceType.Weld
- o155.RightSurface = Enum.SurfaceType.Weld
- o155.TopSurface = Enum.SurfaceType.Smooth
- o155.Position = Vector3.new(-131.086929, 7.69924927, -85.348999)
- o156.Parent = o126
- o156.Material = Enum.Material.SmoothPlastic
- o156.Position = Vector3.new(-130.139801, 5.09841585, -82.9498062)
- o156.Rotation = Vector3.new(0.0299999993, 57.0900002, 179.979996)
- o156.Locked = true
- o156.FormFactor = Enum.FormFactor.Symmetric
- o156.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
- o156.CFrame = CFrame.new(-130.139801, 5.09841585, -82.9498062, -0.543354809, -0.000168354891, 0.839503169, -0.000153422297, -1, -0.000299841166, 0.839503169, -0.000291718636, 0.54335475)
- o156.BackSurface = Enum.SurfaceType.Weld
- o156.BottomSurface = Enum.SurfaceType.Weld
- o156.TopSurface = Enum.SurfaceType.Weld
- o156.Position = Vector3.new(-130.139801, 5.09841585, -82.9498062)
- o157.Parent = o156
- o157.MeshType = Enum.MeshType.Wedge
- o158.Parent = o126
- o158.Material = Enum.Material.SmoothPlastic
- o158.Position = Vector3.new(-132.881592, 1.09904718, -82.5810242)
- o158.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o158.Locked = true
- o158.Size = Vector3.new(6.99999714, 1, 1.79999948)
- o158.CFrame = CFrame.new(-132.881592, 1.09904718, -82.5810242, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
- o158.BackSurface = Enum.SurfaceType.Weld
- o158.BottomSurface = Enum.SurfaceType.Weld
- o158.FrontSurface = Enum.SurfaceType.Weld
- o158.LeftSurface = Enum.SurfaceType.Weld
- o158.RightSurface = Enum.SurfaceType.Weld
- o158.TopSurface = Enum.SurfaceType.Smooth
- o158.Position = Vector3.new(-132.881592, 1.09904718, -82.5810242)
- o159.Parent = o126
- o159.Material = Enum.Material.SmoothPlastic
- o159.Position = Vector3.new(-132.574341, 2.50034523, -88.5760727)
- o159.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o159.Locked = true
- o159.FormFactor = Enum.FormFactor.Symmetric
- o159.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o159.CFrame = CFrame.new(-132.574341, 2.50034523, -88.5760727, -0.839503169, -0.000168412924, -0.54335475, 0.000299841166, -1.00000012, -0.000153422356, -0.54335475, -0.000291824341, 0.839503348)
- o159.BackSurface = Enum.SurfaceType.Weld
- o159.BottomSurface = Enum.SurfaceType.Weld
- o159.TopSurface = Enum.SurfaceType.Weld
- o159.Position = Vector3.new(-132.574341, 2.50034523, -88.5760727)
- o160.Parent = o159
- o160.MeshType = Enum.MeshType.Wedge
- o161.Parent = o126
- o161.Material = Enum.Material.SmoothPlastic
- o161.Position = Vector3.new(-127.537056, 2.49832463, -85.3162613)
- o161.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o161.RotVelocity = Vector3.new(0.000229432975, -8.61115495e-06, 0.000212374391)
- o161.Velocity = Vector3.new(-0.000680157158, 0.0016985843, 0.000683011953)
- o161.Locked = true
- o161.FormFactor = Enum.FormFactor.Symmetric
- o161.Size = Vector3.new(1, 1.79999995, 1.39999986)
- o161.CFrame = CFrame.new(-127.537056, 2.49832463, -85.3162613, -0.839507103, -0.000166108177, -0.54334867, 0.000291326316, -0.99999994, -0.00014440513, -0.54334861, -0.0002795209, 0.839507103)
- o161.BackSurface = Enum.SurfaceType.Weld
- o161.BottomSurface = Enum.SurfaceType.Weld
- o161.TopSurface = Enum.SurfaceType.Weld
- o161.Position = Vector3.new(-127.537056, 2.49832463, -85.3162613)
- o161.velocity = Vector3.new(-0.000680157158, 0.0016985843, 0.000683011953)
- o162.Parent = o161
- o162.MeshType = Enum.MeshType.Wedge
- o163.Parent = o126
- o163.Material = Enum.Material.SmoothPlastic
- o163.Position = Vector3.new(-133.443802, 0.799670219, -87.2337036)
- o163.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o163.RotVelocity = Vector3.new(0.000229432975, -8.61115495e-06, 0.000212374391)
- o163.Velocity = Vector3.new(-0.00030289503, 0.000884067267, 0.000242420647)
- o163.Locked = true
- o163.FormFactor = Enum.FormFactor.Symmetric
- o163.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
- o163.CFrame = CFrame.new(-133.443802, 0.799670219, -87.2337036, -0.839507103, -0.000166108177, -0.54334867, 0.000291326316, -0.99999994, -0.00014440513, -0.54334861, -0.0002795209, 0.839507103)
- o163.BackSurface = Enum.SurfaceType.Weld
- o163.BottomSurface = Enum.SurfaceType.Weld
- o163.TopSurface = Enum.SurfaceType.Weld
- o163.Position = Vector3.new(-133.443802, 0.799670219, -87.2337036)
- o163.velocity = Vector3.new(-0.00030289503, 0.000884067267, 0.000242420647)
- o164.Parent = o163
- o164.MeshType = Enum.MeshType.Wedge
- o165.Parent = o126
- o165.Material = Enum.Material.SmoothPlastic
- o165.Position = Vector3.new(-127.536705, 4.39825821, -85.3156357)
- o165.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o165.RotVelocity = Vector3.new(7.80092087e-05, -8.8542638e-06, 6.3925283e-05)
- o165.Velocity = Vector3.new(-0.000201919509, 0.000448492297, 0.00034243305)
- o165.Locked = true
- o165.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
- o165.CFrame = CFrame.new(-127.536705, 4.39825821, -85.3156357, -0.839506984, 0.000165653211, 0.543348908, 0.000291182077, 0.99999994, 0.000145019512, -0.543348849, 0.000279958331, -0.839506984)
- o165.BackSurface = Enum.SurfaceType.Weld
- o165.BottomSurface = Enum.SurfaceType.Weld
- o165.FrontSurface = Enum.SurfaceType.Weld
- o165.LeftSurface = Enum.SurfaceType.Weld
- o165.RightSurface = Enum.SurfaceType.Weld
- o165.TopSurface = Enum.SurfaceType.Smooth
- o165.Position = Vector3.new(-127.536705, 4.39825821, -85.3156357)
- o165.velocity = Vector3.new(-0.000201919509, 0.000448492297, 0.00034243305)
- o166.Parent = o126
- o166.Material = Enum.Material.SmoothPlastic
- o166.Position = Vector3.new(-131.90213, 6.69865561, -84.0907059)
- o166.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o166.RotVelocity = Vector3.new(7.80092087e-05, -8.8542638e-06, 6.3925283e-05)
- o166.Velocity = Vector3.new(-0.000359818921, 7.38754461e-05, 0.000483232609)
- o166.Locked = true
- o166.Size = Vector3.new(6.99999714, 1, 5.39999914)
- o166.CFrame = CFrame.new(-131.90213, 6.69865561, -84.0907059, -0.839506984, -0.000165653211, -0.543348908, 0.000291182077, -0.99999994, -0.000145019512, -0.543348849, -0.000279958331, 0.839506984)
- o166.BackSurface = Enum.SurfaceType.Weld
- o166.BottomSurface = Enum.SurfaceType.Weld
- o166.FrontSurface = Enum.SurfaceType.Weld
- o166.LeftSurface = Enum.SurfaceType.Weld
- o166.RightSurface = Enum.SurfaceType.Weld
- o166.TopSurface = Enum.SurfaceType.Smooth
- o166.Position = Vector3.new(-131.90213, 6.69865561, -84.0907059)
- o166.velocity = Vector3.new(-0.000359818921, 7.38754461e-05, 0.000483232609)
- o167.Parent = o126
- o167.Material = Enum.Material.SmoothPlastic
- o167.Position = Vector3.new(-132.574005, 4.40036631, -88.5754471)
- o167.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o167.Locked = true
- o167.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
- o167.CFrame = CFrame.new(-132.574005, 4.40036631, -88.5754471, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
- o167.BackSurface = Enum.SurfaceType.Weld
- o167.BottomSurface = Enum.SurfaceType.Weld
- o167.FrontSurface = Enum.SurfaceType.Weld
- o167.LeftSurface = Enum.SurfaceType.Weld
- o167.RightSurface = Enum.SurfaceType.Weld
- o167.TopSurface = Enum.SurfaceType.Smooth
- o167.Position = Vector3.new(-132.574005, 4.40036631, -88.5754471)
- o168.Name = "DO NOT USE"
- o168.Parent = o126
- o168.Material = Enum.Material.SmoothPlastic
- o168.Position = Vector3.new(-124.742569, 2.89709711, -79.6951981)
- o168.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
- o168.Locked = true
- o168.FormFactor = Enum.FormFactor.Symmetric
- o168.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
- o168.CFrame = CFrame.new(-124.742569, 2.89709711, -79.6951981, 0.543354809, -0.000168354891, -0.839503169, 0.000153422297, -1, 0.000299841166, -0.839503169, -0.000291718636, -0.54335475)
- o168.BackSurface = Enum.SurfaceType.Weld
- o168.BottomSurface = Enum.SurfaceType.Weld
- o168.TopSurface = Enum.SurfaceType.Weld
- o168.Position = Vector3.new(-124.742569, 2.89709711, -79.6951981)
- o169.Parent = o168
- o169.MeshType = Enum.MeshType.Wedge
- o170.Parent = o126
- o170.Material = Enum.Material.SmoothPlastic
- o170.Position = Vector3.new(-126.841431, 2.89742756, -81.0536575)
- o170.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o170.Locked = true
- o170.Size = Vector3.new(4.79999781, 1, 2.59999967)
- o170.CFrame = CFrame.new(-126.841431, 2.89742756, -81.0536575, -0.839503169, -0.000168412924, -0.54335475, 0.000299841166, -1.00000012, -0.000153422356, -0.54335475, -0.000291824341, 0.839503348)
- o170.BackSurface = Enum.SurfaceType.Weld
- o170.BottomSurface = Enum.SurfaceType.Weld
- o170.FrontSurface = Enum.SurfaceType.Weld
- o170.LeftSurface = Enum.SurfaceType.Weld
- o170.RightSurface = Enum.SurfaceType.Weld
- o170.TopSurface = Enum.SurfaceType.Smooth
- o170.Position = Vector3.new(-126.841431, 2.89742756, -81.0536575)
- o171.Name = "DO NOT USE"
- o171.Parent = o126
- o171.Material = Enum.Material.SmoothPlastic
- o171.Position = Vector3.new(-125.07869, 1.89716589, -79.9129257)
- o171.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
- o171.Locked = true
- o171.FormFactor = Enum.FormFactor.Symmetric
- o171.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
- o171.CFrame = CFrame.new(-125.07869, 1.89716589, -79.9129257, 0.54335475, -0.000168412924, -0.839503169, 0.000153422356, -1.00000012, 0.000299841166, -0.839503348, -0.000291824341, -0.54335475)
- o171.BackSurface = Enum.SurfaceType.Weld
- o171.BottomSurface = Enum.SurfaceType.Weld
- o171.TopSurface = Enum.SurfaceType.Weld
- o171.Position = Vector3.new(-125.07869, 1.89716589, -79.9129257)
- o172.Parent = o171
- o172.MeshType = Enum.MeshType.Wedge
- o173.Parent = o126
- o173.Material = Enum.Material.SmoothPlastic
- o173.Position = Vector3.new(-127.093285, 1.89727068, -81.2173767)
- o173.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o173.RotVelocity = Vector3.new(4.68351063e-05, -1.34809561e-05, 2.67140567e-05)
- o173.Velocity = Vector3.new(-0.000207591918, 4.93132211e-05, 0.000137373412)
- o173.Locked = true
- o173.Size = Vector3.new(4.19999838, 1, 2.59999967)
- o173.CFrame = CFrame.new(-127.093285, 1.89727068, -81.2173767, -0.839506984, -0.000166727914, -0.543348849, 0.00029164998, -0.99999994, -0.000143764541, -0.543348789, -0.000279159023, 0.839507043)
- o173.BackSurface = Enum.SurfaceType.Weld
- o173.BottomSurface = Enum.SurfaceType.Weld
- o173.FrontSurface = Enum.SurfaceType.Weld
- o173.LeftSurface = Enum.SurfaceType.Weld
- o173.RightSurface = Enum.SurfaceType.Weld
- o173.TopSurface = Enum.SurfaceType.Smooth
- o173.Position = Vector3.new(-127.093285, 1.89727068, -81.2173767)
- o173.velocity = Vector3.new(-0.000207591918, 4.93132211e-05, 0.000137373412)
- o174.Name = "DO NOT USE"
- o174.Parent = o126
- o174.Material = Enum.Material.SmoothPlastic
- o174.Position = Vector3.new(-127.093468, 0.797230721, -81.2176819)
- o174.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
- o174.RotVelocity = Vector3.new(4.68351063e-05, -1.34809561e-05, 2.67140567e-05)
- o174.Velocity = Vector3.new(-0.000178201284, 4.93226216e-05, 8.585045e-05)
- o174.Locked = true
- o174.FormFactor = Enum.FormFactor.Symmetric
- o174.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
- o174.CFrame = CFrame.new(-127.093468, 0.797230721, -81.2176819, 0.543348849, -0.000166727914, -0.839506984, 0.000143764541, -0.99999994, 0.00029164998, -0.839507043, -0.000279159023, -0.543348789)
- o174.BackSurface = Enum.SurfaceType.Weld
- o174.BottomSurface = Enum.SurfaceType.Weld
- o174.TopSurface = Enum.SurfaceType.Weld
- o174.Position = Vector3.new(-127.093468, 0.797230721, -81.2176819)
- o174.velocity = Vector3.new(-0.000178201284, 4.93226216e-05, 8.585045e-05)
- o175.Parent = o174
- o175.MeshType = Enum.MeshType.Wedge
- o176.Name = "DO NOT USE"
- o176.Parent = o126
- o176.Material = Enum.Material.SmoothPlastic
- o176.Position = Vector3.new(-138.845718, 2.90050554, -88.8236465)
- o176.Rotation = Vector3.new(0.0299999993, 57.0900002, 179.979996)
- o176.RotVelocity = Vector3.new(9.32224357e-05, -6.20633864e-06, 6.29555434e-05)
- o176.Velocity = Vector3.new(-0.000144318998, 9.06895002e-05, 0.000167499646)
- o176.Locked = true
- o176.FormFactor = Enum.FormFactor.Symmetric
- o176.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
- o176.CFrame = CFrame.new(-138.845718, 2.90050554, -88.8236465, -0.543348789, -0.000166357873, 0.839507043, -0.000144287929, -0.99999994, -0.000291547942, 0.839507043, -0.000279542961, 0.54334873)
- o176.BackSurface = Enum.SurfaceType.Weld
- o176.BottomSurface = Enum.SurfaceType.Weld
- o176.TopSurface = Enum.SurfaceType.Weld
- o176.Position = Vector3.new(-138.845718, 2.90050554, -88.8236465)
- o176.velocity = Vector3.new(-0.000144318998, 9.06895002e-05, 0.000167499646)
- o177.Parent = o176
- o177.MeshType = Enum.MeshType.Wedge
- o178.Name = "DO NOT USE"
- o178.Parent = o126
- o178.Material = Enum.Material.SmoothPlastic
- o178.Position = Vector3.new(-126.757019, 3.79734969, -80.9994125)
- o178.Rotation = Vector3.new(-179.970001, -57.0900002, -179.979996)
- o178.RotVelocity = Vector3.new(9.32224357e-05, -6.20633864e-06, 6.29555434e-05)
- o178.Velocity = Vector3.new(-0.00024934017, 0.000122345984, 0.000326132198)
- o178.Locked = true
- o178.FormFactor = Enum.FormFactor.Symmetric
- o178.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
- o178.CFrame = CFrame.new(-126.757019, 3.79734969, -80.9994125, -0.543348789, 0.000166357902, -0.839507043, -0.000144287944, 1, 0.000291547942, 0.839507043, 0.00027954299, -0.54334873)
- o178.BackSurface = Enum.SurfaceType.Weld
- o178.BottomSurface = Enum.SurfaceType.Weld
- o178.TopSurface = Enum.SurfaceType.Weld
- o178.Position = Vector3.new(-126.757019, 3.79734969, -80.9994125)
- o178.velocity = Vector3.new(-0.00024934017, 0.000122345984, 0.000326132198)
- o179.Parent = o178
- o179.MeshType = Enum.MeshType.Wedge
- o180.Parent = o126
- o180.Material = Enum.Material.SmoothPlastic
- o180.Position = Vector3.new(-126.534874, 2.19749713, -82.9999924)
- o180.Rotation = Vector3.new(0.0599999987, 57.0900002, -90.0400009)
- o180.RotVelocity = Vector3.new(9.32224357e-05, -6.20633864e-06, 6.29555434e-05)
- o180.Velocity = Vector3.new(-0.000136204282, 0.000322830194, 0.000178368733)
- o180.Locked = true
- o180.Size = Vector3.new(2, 1, 2)
- o180.CFrame = CFrame.new(-126.534874, 2.19749713, -82.9999924, -0.000385362509, 0.543344378, 0.839509845, -0.99999994, 0.000149534695, -0.000555834209, -0.000427571387, -0.839509904, 0.5433442)
- o180.BackSurface = Enum.SurfaceType.Weld
- o180.BottomSurface = Enum.SurfaceType.Weld
- o180.FrontSurface = Enum.SurfaceType.Weld
- o180.LeftSurface = Enum.SurfaceType.Weld
- o180.RightSurface = Enum.SurfaceType.Weld
- o180.TopSurface = Enum.SurfaceType.Smooth
- o180.Position = Vector3.new(-126.534874, 2.19749713, -82.9999924)
- o180.velocity = Vector3.new(-0.000136204282, 0.000322830194, 0.000178368733)
- o181.Parent = o126
- o181.Material = Enum.Material.SmoothPlastic
- o181.Position = Vector3.new(-136.747498, 2.90108633, -87.4652176)
- o181.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
- o181.Locked = true
- o181.Size = Vector3.new(4.79999781, 1, 2.59999967)
- o181.CFrame = CFrame.new(-136.747498, 2.90108633, -87.4652176, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
- o181.BackSurface = Enum.SurfaceType.Weld
- o181.BottomSurface = Enum.SurfaceType.Weld
- o181.FrontSurface = Enum.SurfaceType.Weld
- o181.LeftSurface = Enum.SurfaceType.Weld
- o181.RightSurface = Enum.SurfaceType.Weld
- o181.TopSurface = Enum.SurfaceType.Smooth
- o181.Position = Vector3.new(-136.747498, 2.90108633, -87.4652176)
- o182.Name = "DO NOT USE"
- o182.Parent = o126
- o182.Material = Enum.Material.SmoothPlastic
- o182.Position = Vector3.new(-136.831039, 3.80100989, -87.5191193)
- o182.Rotation = Vector3.new(0.0299999993, 57.0900002, -0.0199999996)
- o182.Locked = true
- o182.FormFactor = Enum.FormFactor.Symmetric
- o182.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
- o182.CFrame = CFrame.new(-136.831039, 3.80100989, -87.5191193, 0.543354809, 0.000168354891, 0.839503169, 0.000153422297, 1, -0.000299841166, -0.839503169, 0.000291718636, 0.54335475)
- o182.BackSurface = Enum.SurfaceType.Weld
- o182.BottomSurface = Enum.SurfaceType.Weld
- o182.TopSurface = Enum.SurfaceType.Weld
- o182.Position = Vector3.new(-136.831039, 3.80100989, -87.5191193)
- o183.Parent = o182
- o183.MeshType = Enum.MeshType.Wedge
- o184.Name = "DO NOT USE"
- o184.Parent = o126
- o184.Material = Enum.Material.SmoothPlastic
- o184.Position = Vector3.new(-136.49559, 0.800646842, -87.3025436)
- o184.Rotation = Vector3.new(0.0399999991, 57.0900002, 179.970001)
- o184.Locked = true
- o184.FormFactor = Enum.FormFactor.Symmetric
- o184.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
- o184.CFrame = CFrame.new(-136.49559, 0.800646842, -87.3025436, -0.543354809, -0.000240822497, 0.839503169, -0.000153422297, -1, -0.000386163185, 0.839503169, -0.000338622107, 0.54335475)
- o184.BackSurface = Enum.SurfaceType.Weld
- o184.BottomSurface = Enum.SurfaceType.Weld
- o184.TopSurface = Enum.SurfaceType.Weld
- o184.Position = Vector3.new(-136.49559, 0.800646842, -87.3025436)
- o185.Parent = o184
- o185.MeshType = Enum.MeshType.Wedge
- o186.Name = "DO NOT USE"
- o186.Parent = o126
- o186.Material = Enum.Material.SmoothPlastic
- o186.Position = Vector3.new(-138.510239, 1.90143979, -88.6062698)
- o186.Rotation = Vector3.new(0.0299999993, 57.0900002, 179.979996)
- o186.Locked = true
- o186.FormFactor = Enum.FormFactor.Symmetric
- o186.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
- o186.CFrame = CFrame.new(-138.510239, 1.90143979, -88.6062698, -0.543354809, -0.000168354891, 0.839503169, -0.000153422297, -1, -0.000299841166, 0.839503169, -0.000291718636, 0.54335475)
- o186.BackSurface = Enum.SurfaceType.Weld
- o186.BottomSurface = Enum.SurfaceType.Weld
- o186.TopSurface = Enum.SurfaceType.Weld
- o186.Position = Vector3.new(-138.510239, 1.90143979, -88.6062698)
- o187.Parent = o186
- o187.MeshType = Enum.MeshType.Wedge
- o188.Parent = o126
- o188.Material = Enum.Material.SmoothPlastic
- o188.Position = Vector3.new(-135.097748, 2.20132542, -88.5416336)
- o188.Rotation = Vector3.new(0.0299999993, 57.0900002, -90.0199966)
- o188.Locked = true
- o188.Size = Vector3.new(2, 1, 2)
- o188.CFrame = CFrame.new(-135.097748, 2.20132542, -88.5416336, -0.000168354891, 0.543354809, 0.839503169, -1, 0.000153422297, -0.000299841166, -0.000291718636, -0.839503169, 0.54335475)
- o188.BackSurface = Enum.SurfaceType.Weld
- o188.BottomSurface = Enum.SurfaceType.Weld
- o188.FrontSurface = Enum.SurfaceType.Weld
- o188.LeftSurface = Enum.SurfaceType.Weld
- o188.RightSurface = Enum.SurfaceType.Weld
- o188.TopSurface = Enum.SurfaceType.Smooth
- o188.Position = Vector3.new(-135.097748, 2.20132542, -88.5416336)
- o189.Parent = o126
- o189.Material = Enum.Material.SmoothPlastic
- o189.Position = Vector3.new(-136.495712, 1.90087795, -87.3024292)
- o189.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
- o189.Locked = true
- o189.Size = Vector3.new(4.19999838, 1, 2.59999967)
- o189.CFrame = CFrame.new(-136.495712, 1.90087795, -87.3024292, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
- o189.BackSurface = Enum.SurfaceType.Weld
- o189.BottomSurface = Enum.SurfaceType.Weld
- o189.FrontSurface = Enum.SurfaceType.Weld
- o189.LeftSurface = Enum.SurfaceType.Weld
- o189.RightSurface = Enum.SurfaceType.Weld
- o189.TopSurface = Enum.SurfaceType.Smooth
- o189.Position = Vector3.new(-136.495712, 1.90087795, -87.3024292)
- o190.Name = "Moving System"
- o190.Parent = o9
- o191.Parent = o190
- o191.Material = Enum.Material.SmoothPlastic
- o191.Position = Vector3.new(-130.09697, 11.1979723, -82.9209976)
- o191.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o191.Locked = true
- o191.Size = Vector3.new(2.299999, 6, 3.39999914)
- o191.CFrame = CFrame.new(-130.09697, 11.1979723, -82.9209976, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
- o191.BackSurface = Enum.SurfaceType.Weld
- o191.BottomSurface = Enum.SurfaceType.Weld
- o191.FrontSurface = Enum.SurfaceType.Weld
- o191.LeftSurface = Enum.SurfaceType.Weld
- o191.RightSurface = Enum.SurfaceType.Weld
- o191.TopSurface = Enum.SurfaceType.Smooth
- o191.Position = Vector3.new(-130.09697, 11.1979723, -82.9209976)
- o192.Parent = o190
- o192.Material = Enum.Material.SmoothPlastic
- o192.Position = Vector3.new(-135.336105, 12.898284, -82.7395782)
- o192.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
- o192.Locked = true
- o192.FormFactor = Enum.FormFactor.Symmetric
- o192.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
- o192.CFrame = CFrame.new(-135.336105, 12.898284, -82.7395782, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
- o192.BackSurface = Enum.SurfaceType.Weld
- o192.BottomSurface = Enum.SurfaceType.Weld
- o192.TopSurface = Enum.SurfaceType.Weld
- o192.Position = Vector3.new(-135.336105, 12.898284, -82.7395782)
- o193.Parent = o192
- o193.MeshType = Enum.MeshType.Wedge
- o194.Parent = o190
- o194.Material = Enum.Material.SmoothPlastic
- o194.BrickColor = BrickColor.new("Really black")
- o194.Transparency = 1
- o194.Position = Vector3.new(-123.931572, 12.8419943, -84.8508987)
- o194.Rotation = Vector3.new(-112.629997, 14, -30.0999985)
- o194.RotVelocity = Vector3.new(3.49417351e-05, 7.67568054e-06, 3.2254713e-05)
- o194.Velocity = Vector3.new(-0.000353009644, 0.000291585922, 0.00039635913)
- o194.Locked = true
- o194.Shape = Enum.PartType.Cylinder
- o194.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o194.CFrame = CFrame.new(-123.931572, 12.8419943, -84.8508987, 0.839493573, 0.486573607, 0.241860956, -0.000237090571, -0.444785088, 0.895637333, 0.543369591, -0.751939118, -0.373278826)
- o194.BottomSurface = Enum.SurfaceType.Smooth
- o194.LeftSurface = Enum.SurfaceType.Hinge
- o194.TopSurface = Enum.SurfaceType.Smooth
- o194.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o194.Position = Vector3.new(-123.931572, 12.8419943, -84.8508987)
- o194.velocity = Vector3.new(-0.000353009644, 0.000291585922, 0.00039635913)
- o195.Parent = o190
- o195.Material = Enum.Material.SmoothPlastic
- o195.Transparency = 1
- o195.Position = Vector3.new(-134.889496, 13.0223255, -79.435257)
- o195.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o195.CanCollide = false
- o195.Locked = true
- o195.Size = Vector3.new(10.96, 0.849999785, 1.97999585)
- o195.CFrame = CFrame.new(-134.889496, 13.0223255, -79.435257, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
- o195.BackSurface = Enum.SurfaceType.Weld
- o195.BottomSurface = Enum.SurfaceType.Weld
- o195.FrontSurface = Enum.SurfaceType.Weld
- o195.LeftSurface = Enum.SurfaceType.Weld
- o195.RightSurface = Enum.SurfaceType.Weld
- o195.TopSurface = Enum.SurfaceType.Smooth
- o195.Position = Vector3.new(-134.889496, 13.0223255, -79.435257)
- o196.Parent = o190
- o196.Material = Enum.Material.SmoothPlastic
- o196.Transparency = 1
- o196.Position = Vector3.new(-133.126358, 12.0982723, -82.3802185)
- o196.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o196.CanCollide = false
- o196.Locked = true
- o196.Size = Vector3.new(0.999996722, 1, 7.59999657)
- o196.CFrame = CFrame.new(-133.126358, 12.0982723, -82.3802185, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
- o196.BackSurface = Enum.SurfaceType.Weld
- o196.BottomSurface = Enum.SurfaceType.Weld
- o196.FrontSurface = Enum.SurfaceType.Weld
- o196.LeftSurface = Enum.SurfaceType.Weld
- o196.RightSurface = Enum.SurfaceType.Weld
- o196.TopSurface = Enum.SurfaceType.Smooth
- o196.Position = Vector3.new(-133.126358, 12.0982723, -82.3802185)
- o197.Parent = o190
- o197.Material = Enum.Material.SmoothPlastic
- o197.Transparency = 1
- o197.Position = Vector3.new(-130.439209, 12.0990849, -86.7159195)
- o197.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
- o197.CanCollide = false
- o197.Locked = true
- o197.Size = Vector3.new(4.39999723, 1, 2.59999967)
- o197.CFrame = CFrame.new(-130.439209, 12.0990849, -86.7159195, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
- o197.BackSurface = Enum.SurfaceType.Weld
- o197.BottomSurface = Enum.SurfaceType.Weld
- o197.FrontSurface = Enum.SurfaceType.Weld
- o197.LeftSurface = Enum.SurfaceType.Weld
- o197.RightSurface = Enum.SurfaceType.Weld
- o197.TopSurface = Enum.SurfaceType.Smooth
- o197.Position = Vector3.new(-130.439209, 12.0990849, -86.7159195)
- o198.Parent = o190
- o198.Material = Enum.Material.SmoothPlastic
- o198.Position = Vector3.new(-133.706161, 11.1992302, -85.2570648)
- o198.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o198.Locked = true
- o198.Size = Vector3.new(2.299999, 6, 3.39999914)
- o198.CFrame = CFrame.new(-133.706161, 11.1992302, -85.2570648, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
- o198.BackSurface = Enum.SurfaceType.Weld
- o198.BottomSurface = Enum.SurfaceType.Weld
- o198.FrontSurface = Enum.SurfaceType.Weld
- o198.LeftSurface = Enum.SurfaceType.Weld
- o198.RightSurface = Enum.SurfaceType.Weld
- o198.TopSurface = Enum.SurfaceType.Smooth
- o198.Position = Vector3.new(-133.706161, 11.1992302, -85.2570648)
- o199.Parent = o190
- o199.Material = Enum.Material.SmoothPlastic
- o199.BrickColor = BrickColor.new("Really black")
- o199.Transparency = 1
- o199.Position = Vector3.new(-129.451187, 12.8400421, -76.3097534)
- o199.Rotation = Vector3.new(68.6500015, -13.2699995, 30.3999996)
- o199.Locked = true
- o199.Shape = Enum.PartType.Cylinder
- o199.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o199.CFrame = CFrame.new(-129.451187, 12.8400421, -76.3097534, 0.83953619, -0.492457539, -0.229487568, -0.000160707234, 0.422167629, -0.906517863, 0.543303788, 0.761091352, 0.354345858)
- o199.BottomSurface = Enum.SurfaceType.Smooth
- o199.LeftSurface = Enum.SurfaceType.Hinge
- o199.TopSurface = Enum.SurfaceType.Smooth
- o199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o199.Position = Vector3.new(-129.451187, 12.8400421, -76.3097534)
- o200.Parent = o190
- o200.Material = Enum.Material.SmoothPlastic
- o200.BrickColor = BrickColor.new("Really black")
- o200.Transparency = 1
- o200.Position = Vector3.new(-124.540977, 0.753917873, -90.2416229)
- o200.Rotation = Vector3.new(0.399999976, -62.0200005, -89.3199997)
- o200.Locked = true
- o200.Shape = Enum.PartType.Cylinder
- o200.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o200.CFrame = CFrame.new(-124.540977, 0.753917873, -90.2416229, 0.00554412603, 0.469119459, -0.883117318, -0.9999789, 0.00560701918, -0.00329927448, 0.00340390205, 0.883116901, 0.469140619)
- o200.BottomSurface = Enum.SurfaceType.Smooth
- o200.LeftSurface = Enum.SurfaceType.Hinge
- o200.TopSurface = Enum.SurfaceType.Smooth
- o200.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o200.Position = Vector3.new(-124.540977, 0.753917873, -90.2416229)
- o201.Parent = o190
- o201.Material = Enum.Material.SmoothPlastic
- o201.Transparency = 1
- o201.Position = Vector3.new(-129.248779, 13.0238943, -88.1964035)
- o201.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
- o201.CanCollide = false
- o201.Locked = true
- o201.Size = Vector3.new(11.0300007, 0.849999785, 2.81999588)
- o201.CFrame = CFrame.new(-129.248779, 13.0238943, -88.1964035, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
- o201.BackSurface = Enum.SurfaceType.Weld
- o201.BottomSurface = Enum.SurfaceType.Weld
- o201.FrontSurface = Enum.SurfaceType.Weld
- o201.LeftSurface = Enum.SurfaceType.Weld
- o201.RightSurface = Enum.SurfaceType.Weld
- o201.TopSurface = Enum.SurfaceType.Smooth
- o201.Position = Vector3.new(-129.248779, 13.0238943, -88.1964035)
- o202.Parent = o190
- o202.Material = Enum.Material.SmoothPlastic
- o202.BrickColor = BrickColor.new("Really black")
- o202.Transparency = 1
- o202.Position = Vector3.new(-134.470795, 12.8439465, -91.6732712)
- o202.Rotation = Vector3.new(-68.9300003, -13.0799999, 149.529999)
- o202.RotVelocity = Vector3.new(3.56056153e-05, -1.03823368e-05, 3.01497494e-05)
- o202.Velocity = Vector3.new(-0.000253697392, 0.000205934048, 0.000430147047)
- o202.Locked = true
- o202.Shape = Enum.PartType.Cylinder
- o202.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
- o202.CFrame = CFrame.new(-134.470795, 12.8439465, -91.6732712, -0.839503646, -0.493947357, -0.226383954, 0.000256849511, -0.417002439, 0.908905387, -0.543353975, 0.762971282, 0.350201905)
- o202.BottomSurface = Enum.SurfaceType.Smooth
- o202.LeftSurface = Enum.SurfaceType.Hinge
- o202.TopSurface = Enum.SurfaceType.Smooth
- o202.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o202.Position = Vector3.new(-134.470795, 12.8439465, -91.6732712)
- o202.velocity = Vector3.new(-0.000253697392, 0.000205934048, 0.000430147047)
- o203.Parent = o190
- o203.Material = Enum.Material.SmoothPlastic
- o203.Position = Vector3.new(-131.72702, 12.8967981, -80.4033737)
- o203.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
- o203.Locked = true
- o203.FormFactor = Enum.FormFactor.Symmetric
- o203.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
- o203.CFrame = CFrame.new(-131.72702, 12.8967981, -80.4033737, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
- o203.BackSurface = Enum.SurfaceType.Weld
- o203.BottomSurface = Enum.SurfaceType.Weld
- o203.TopSurface = Enum.SurfaceType.Weld
- o203.Position = Vector3.new(-131.72702, 12.8967981, -80.4033737)
- o204.Parent = o203
- o204.MeshType = Enum.MeshType.Wedge
- o205.Parent = o8
- o205.BrickColor = BrickColor.new("Bright violet")
- o205.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
- o205.Rotation = Vector3.new(0, 0, 0.219999999)
- o205.Anchored = true
- o205.Locked = true
- o205.FormFactor = Enum.FormFactor.Custom
- o205.Size = Vector3.new(3, 0.200000003, 3)
- o205.CFrame = CFrame.new(-136.279083, 0.105795003, -96.7843628, 0.99999243, -0.00388448406, 0, 0.00388448406, 0.99999243, 0, 0, 0, 1)
- o205.BottomSurface = Enum.SurfaceType.Smooth
- o205.TopSurface = Enum.SurfaceType.Smooth
- o205.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o205.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
- o206.Parent = o205
- o206.MaxActivationDistance = 16
- o207.Name = "Regen"
- o207.Parent = o205
- runDummyScript(function()
- ------------------------------------------------------------------------------------
- local WaitTime = 10 -- Change this to the amount of time it takes for the button to re-enable.
- local modelname = "Model" -- If your model is not named this, then make the purple words the same name as the model!
- ------------------------------------------------------------------------------------
- -- To make this work, simply group it with the model you want!
- local modelbackup = script.Parent.Parent:FindFirstChild(modelname):clone()
- local trigger = script.Parent
- enabled = true
- function onClick()
- if enabled == true then
- enabled = false
- trigger.BrickColor = BrickColor.new("Really black")
- if script.Parent.Parent:FindFirstChild(modelname) ~= nil then
- script.Parent.Parent:FindFirstChild(modelname):Destroy()
- end
- local modelclone = modelbackup:clone()
- modelclone.Parent = script.Parent.Parent
- modelclone:MakeJoints()
- wait(WaitTime)
- enabled = true
- trigger.BrickColor = BrickColor.new("Bright violet")
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClick)
- end,o207)
- o208.Parent = o205
- o208.Texture = "http://www.roblox.com/asset/?id=43556891"
- o208.Face = Enum.NormalId.Top
- o209.Parent = o8
- runDummyScript(function()
- --Przystosowany do terenu rownego--
- --Uzywanie na terenie gorzystym nie wskazane--
- --Autor Markill7890--
- end,o209)
- o210.Name = "timetodie23232223"
- o210.Parent = mas
- o210.Archivable = false
- o210.PrimaryPart = o211
- o211.Name = "Head"
- o211.Parent = o210
- o211.BrickColor = BrickColor.new("Pastel brown")
- o211.Position = Vector3.new(-134.708496, 5.45760536, -81.6200562)
- o211.Rotation = Vector3.new(-1.52999997, 70.4799957, 1.44999993)
- o211.RotVelocity = Vector3.new(-0.0142660849, 0.000513764971, -0.00504780654)
- o211.Velocity = Vector3.new(0.0330019481, 0.0780156255, -0.0763950199)
- o211.Locked = true
- o211.FormFactor = Enum.FormFactor.Symmetric
- o211.Size = Vector3.new(2, 1, 1)
- o211.CFrame = CFrame.new(-134.708496, 5.45760536, -81.6200562, 0.334031224, -0.0084268041, 0.942524314, 0.000106555439, 0.999960363, 0.00890254602, -0.942561984, -0.00287327636, 0.334018886)
- o211.TopSurface = Enum.SurfaceType.Smooth
- o211.Color = Color3.new(1, 0.8, 0.6)
- o211.Position = Vector3.new(-134.708496, 5.45760536, -81.6200562)
- o211.velocity = Vector3.new(0.0330019481, 0.0780156255, -0.0763950199)
- o212.Parent = o211
- o212.Scale = Vector3.new(1.25, 1.25, 1.25)
- o217.Name = "GettingUp"
- o217.Parent = o211
- o217.Archivable = false
- o217.SoundId = "rbxasset://sounds/action_get_up.mp3"
- o217.Volume = 0.64999997615814
- o218.Name = "CharacterSoundEvent"
- o218.Parent = o217
- o219.Name = "Died"
- o219.Parent = o211
- o219.Archivable = false
- o219.SoundId = "rbxasset://sounds/uuhhh.mp3"
- o219.Volume = 0.64999997615814
- o220.Name = "CharacterSoundEvent"
- o220.Parent = o219
- o221.Name = "FreeFalling"
- o221.Parent = o211
- o221.Archivable = false
- o221.SoundId = "rbxasset://sounds/action_falling.mp3"
- o221.TimePosition = 0.36257086044679
- o221.Volume = 0
- o221.Looped = true
- o222.Name = "CharacterSoundEvent"
- o222.Parent = o221
- o223.Name = "Jumping"
- o223.Parent = o211
- o223.Archivable = false
- o223.SoundId = "rbxasset://sounds/action_jump.mp3"
- o223.Volume = 0.64999997615814
- o224.Name = "CharacterSoundEvent"
- o224.Parent = o223
- o225.Name = "Landing"
- o225.Parent = o211
- o225.Archivable = false
- o225.SoundId = "rbxasset://sounds/action_jump_land.mp3"
- o225.Volume = 1
- o226.Name = "CharacterSoundEvent"
- o226.Parent = o225
- o227.Name = "Splash"
- o227.Parent = o211
- o227.Archivable = false
- o227.SoundId = "rbxasset://sounds/impact_water.mp3"
- o227.Volume = 0.64999997615814
- o228.Name = "CharacterSoundEvent"
- o228.Parent = o227
- o229.Name = "Running"
- o229.Parent = o211
- o229.Archivable = false
- o229.Pitch = 1.8500000238419
- o229.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- o229.TimePosition = 2.3937276261113
- o229.Volume = 0.64999997615814
- o229.Looped = true
- o230.Name = "CharacterSoundEvent"
- o230.Parent = o229
- o231.Name = "Swimming"
- o231.Parent = o211
- o231.Archivable = false
- o231.Pitch = 1.6000000238419
- o231.SoundId = "rbxasset://sounds/action_swim.mp3"
- o231.Volume = 0.64999997615814
- o231.Looped = true
- o232.Name = "CharacterSoundEvent"
- o232.Parent = o231
- o233.Name = "Climbing"
- o233.Parent = o211
- o233.Archivable = false
- o233.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- o233.TimePosition = 0.24132753558115
- o233.Volume = 0.64999997615814
- o233.Looped = true
- o234.Name = "CharacterSoundEvent"
- o234.Parent = o233
- o235.Name = "face"
- o235.Parent = o211
- o235.Texture = "http://www.roblox.com/asset/?id=13038247"
- o236.Name = "Torso"
- o236.Parent = o210
- o236.BrickColor = BrickColor.new("Pastel brown")
- o236.Position = Vector3.new(-134.774414, 3.90877676, -81.083374)
- o236.Rotation = Vector3.new(178.580002, 39.5499992, -178.959991)
- o236.RotVelocity = Vector3.new(-0.00200243201, -0.00275177089, 0.00201310473)
- o236.Velocity = Vector3.new(-0.0281608012, -4.11867523, 0.012097585)
- o236.CanCollide = false
- o236.Locked = true
- o236.FormFactor = Enum.FormFactor.Symmetric
- o236.Size = Vector3.new(2, 2, 1)
- o236.CFrame = CFrame.new(-134.774414, 3.90877676, -81.083374, -0.77090621, 0.014031739, 0.63679409, 0.00237763417, 0.999813735, -0.0191524904, -0.636944234, -0.0132507104, -0.770796001)
- o236.LeftSurface = Enum.SurfaceType.Weld
- o236.RightSurface = Enum.SurfaceType.Weld
- o236.Color = Color3.new(1, 0.8, 0.6)
- o236.Position = Vector3.new(-134.774414, 3.90877676, -81.083374)
- o236.velocity = Vector3.new(-0.0281608012, -4.11867523, 0.012097585)
- o237.Name = "roblox"
- o237.Parent = o236
- o246.Name = "Right Shoulder"
- o246.Parent = o236
- o246.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o246.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o246.Part0 = o236
- o246.Part1 = o254
- o246.CurrentAngle = 0.38380664587021
- o246.MaxVelocity = 0.10000000149012
- o247.Name = "Left Shoulder"
- o247.Parent = o236
- o247.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o247.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o247.Part0 = o236
- o247.Part1 = o251
- o247.CurrentAngle = -0.57920372486115
- o247.MaxVelocity = 0.10000000149012
- o248.Name = "Right Hip"
- o248.Parent = o236
- o248.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o248.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o248.Part0 = o236
- o248.Part1 = o259
- o248.CurrentAngle = 0.44040873646736
- o248.MaxVelocity = 0.10000000149012
- o249.Name = "Left Hip"
- o249.Parent = o236
- o249.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o249.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o249.Part0 = o236
- o249.Part1 = o257
- o249.CurrentAngle = 0.75340574979782
- o249.MaxVelocity = 0.10000000149012
- o250.Name = "Neck"
- o250.Parent = o236
- o250.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o250.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o250.Part0 = o236
- o250.Part1 = o211
- o250.CurrentAngle = 0.0087012434378266
- o250.MaxVelocity = 0.10000000149012
- o251.Name = "Left Arm"
- o251.Parent = o210
- o251.BrickColor = BrickColor.new("Pastel brown")
- o251.Position = Vector3.new(-134.477386, 3.43139434, -80.1958389)
- o251.Rotation = Vector3.new(140.270004, 43.8499985, -151.569992)
- o251.RotVelocity = Vector3.new(0.0220086351, 2.61361146, 0.010123943)
- o251.Velocity = Vector3.new(1.89497316, 3.0572834, -0.439359784)
- o251.CanCollide = false
- o251.Locked = true
- o251.FormFactor = Enum.FormFactor.Symmetric
- o251.Size = Vector3.new(1, 2, 1)
- o251.CFrame = CFrame.new(-134.477386, 3.43139434, -80.1958389, -0.634130776, 0.343352139, 0.69281131, -0.0232825018, 0.887116194, -0.460958689, -0.772875071, -0.30843842, -0.554553449)
- o251.Color = Color3.new(1, 0.8, 0.6)
- o251.Position = Vector3.new(-134.477386, 3.43139434, -80.1958389)
- o251.velocity = Vector3.new(1.89497316, 3.0572834, -0.439359784)
- o254.Name = "Right Arm"
- o254.Parent = o210
- o254.BrickColor = BrickColor.new("Pastel brown")
- o254.Position = Vector3.new(-136.331833, 3.45107508, -82.5887146)
- o254.Rotation = Vector3.new(148.160004, 43.6100006, -155.089996)
- o254.RotVelocity = Vector3.new(0.0220086351, 2.61361146, 0.010123943)
- o254.Velocity = Vector3.new(-4.35927343, 3.09117293, 4.40787601)
- o254.CanCollide = false
- o254.Locked = true
- o254.FormFactor = Enum.FormFactor.Symmetric
- o254.Size = Vector3.new(1, 2, 1)
- o254.CFrame = CFrame.new(-136.331833, 3.45107508, -82.5887146, -0.656700611, 0.305039018, 0.689706802, 0.0279389005, 0.92375952, -0.381952435, -0.753633499, -0.231558755, -0.615155876)
- o254.Color = Color3.new(1, 0.8, 0.6)
- o254.Position = Vector3.new(-136.331833, 3.45107508, -82.5887146)
- o254.velocity = Vector3.new(-4.35927343, 3.09117293, 4.40787601)
- o257.Name = "Left Leg"
- o257.Parent = o210
- o257.BrickColor = BrickColor.new("Pastel brown")
- o257.Position = Vector3.new(-134.572861, 1.6627214, -81.6355438)
- o257.Rotation = Vector3.new(-130.259995, 27.75, 151.149994)
- o257.RotVelocity = Vector3.new(-0.380968004, 1.67426908, -0.313094229)
- o257.Velocity = Vector3.new(-1.92168236, -3.07662797, -0.006249547)
- o257.CanCollide = false
- o257.Locked = true
- o257.FormFactor = Enum.FormFactor.Symmetric
- o257.Size = Vector3.new(1, 2, 1)
- o257.CFrame = CFrame.new(-134.572861, 1.6627214, -81.6355438, -0.77518481, -0.426969975, 0.465601832, -0.000550748024, 0.737477899, 0.675370991, -0.631734192, 0.523280919, -0.571916878)
- o257.BottomSurface = Enum.SurfaceType.Smooth
- o257.Color = Color3.new(1, 0.8, 0.6)
- o257.Position = Vector3.new(-134.572861, 1.6627214, -81.6355438)
- o257.velocity = Vector3.new(-1.92168236, -3.07662797, -0.006249547)
- o259.Name = "Right Leg"
- o259.Parent = o210
- o259.BrickColor = BrickColor.new("Pastel brown")
- o259.Position = Vector3.new(-136.084061, 1.52391493, -81.3071671)
- o259.Rotation = Vector3.new(139.209991, 30.1700001, -156.62999)
- o259.RotVelocity = Vector3.new(-0.380968004, 1.67426908, -0.313094229)
- o259.Velocity = Vector3.new(-1.41535079, -2.47837901, 2.57678676)
- o259.CanCollide = false
- o259.Locked = true
- o259.FormFactor = Enum.FormFactor.Symmetric
- o259.Size = Vector3.new(1, 2, 1)
- o259.CFrame = CFrame.new(-136.084061, 1.52391493, -81.3071671, -0.793631971, 0.342981011, 0.502506018, -0.00095527654, 0.825245798, -0.564772964, -0.608397365, -0.448701859, -0.654613793)
- o259.BottomSurface = Enum.SurfaceType.Smooth
- o259.Color = Color3.new(1, 0.8, 0.6)
- o259.Position = Vector3.new(-136.084061, 1.52391493, -81.3071671)
- o259.velocity = Vector3.new(-1.41535079, -2.47837901, 2.57678676)
- o261.Parent = o210
- o261.RightLeg = o259
- o261.LeftLeg = o257
- o261.Torso = o264
- o261.MoveDirection = Vector3.new(-0.789321065, 0, 0.61398077)
- o264.Name = "HumanoidRootPart"
- o264.Parent = o210
- o264.Transparency = 1
- o264.Position = Vector3.new(-135.200027, 2.9119339, -81.3349457)
- o264.Rotation = Vector3.new(-179.649994, 32.6599998, 179.809998)
- o264.RotVelocity = Vector3.new(0.0729566291, 10.394618, 0.331068307)
- o264.Velocity = Vector3.new(8.7417984, 0.309015095, 11.3179569)
- o264.CanCollide = false
- o264.Locked = true
- o264.FormFactor = Enum.FormFactor.Symmetric
- o264.Size = Vector3.new(2, 2, 1)
- o264.CFrame = CFrame.new(-135.200027, 2.9119339, -81.3349457, -0.841883421, -0.00273759221, 0.539652467, 5.11222352e-05, 0.999986649, 0.00515256496, -0.539659381, 0.00436544791, -0.841872156)
- o264.BottomSurface = Enum.SurfaceType.Smooth
- o264.TopSurface = Enum.SurfaceType.Smooth
- o264.Position = Vector3.new(-135.200027, 2.9119339, -81.3349457)
- o264.velocity = Vector3.new(8.7417984, 0.309015095, 11.3179569)
- o266.Name = "RootJoint"
- o266.Parent = o264
- o266.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o266.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o266.Part0 = o264
- o266.Part1 = o236
- o266.MaxVelocity = 0.10000000149012
- o267.Name = "Sound"
- o267.Parent = o210
- 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,o267)
- o268.Name = "LocalSound"
- o268.Parent = o267
- 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,o268)
- o269.Name = "Health"
- o269.Parent = o210
- 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,o269)
- o270.Name = "Animate"
- o270.Parent = o210
- 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,o270)
- o271.Name = "idle"
- o271.Parent = o270
- o272.Name = "Animation1"
- o272.Parent = o271
- o272.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- o273.Name = "Weight"
- o273.Parent = o272
- o273.Value = 9
- o274.Name = "Animation2"
- o274.Parent = o271
- o274.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- o275.Name = "Weight"
- o275.Parent = o274
- o275.Value = 1
- o276.Name = "walk"
- o276.Parent = o270
- o277.Name = "WalkAnim"
- o277.Parent = o276
- o277.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- o278.Name = "run"
- o278.Parent = o270
- o279.Name = "RunAnim"
- o279.Parent = o278
- o279.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- o280.Name = "jump"
- o280.Parent = o270
- o281.Name = "JumpAnim"
- o281.Parent = o280
- o281.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- o282.Name = "climb"
- o282.Parent = o270
- o283.Name = "ClimbAnim"
- o283.Parent = o282
- o283.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- o284.Name = "toolnone"
- o284.Parent = o270
- o285.Name = "ToolNoneAnim"
- o285.Parent = o284
- o285.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- o286.Name = "fall"
- o286.Parent = o270
- o287.Name = "FallAnim"
- o287.Parent = o286
- o287.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- o288.Name = "sit"
- o288.Parent = o270
- o289.Name = "SitAnim"
- o289.Parent = o288
- o289.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- o290.Name = "ScaleDampeningPercent"
- o290.Parent = o270
- o290.Value = 0.39999997615814
- o291.Parent = o210
- o291.HeadColor = BrickColor.new("Pastel brown")
- o291.LeftArmColor = BrickColor.new("Pastel brown")
- o291.LeftLegColor = BrickColor.new("Pastel brown")
- o291.RightArmColor = BrickColor.new("Pastel brown")
- o291.RightLegColor = BrickColor.new("Pastel brown")
- o291.TorsoColor = BrickColor.new("Pastel brown")
- o292.Name = "Pants"
- o292.Parent = o210
- o292.PantsTemplate = "http://www.roblox.com/asset/?id=1439542143"
- o293.Name = "Shirt"
- o293.Parent = o210
- o293.ShirtTemplate = "http://www.roblox.com/asset/?id=1439532842"
- o295.Name = "Handle"
- o295.Parent = mas
- o295.Position = Vector3.new(-131.292542, 5.68167734, -83.5719223)
- o295.Rotation = Vector3.new(173.449997, -78.7200012, 174.259995)
- o295.RotVelocity = Vector3.new(-0.157909945, -13.3231859, 0.72331506)
- o295.Velocity = Vector3.new(4.78767586, 4.59244108, 4.46026325)
- o295.CanCollide = false
- o295.Locked = true
- o295.FormFactor = Enum.FormFactor.Custom
- o295.Size = Vector3.new(1.45002651, 2.35999823, 1.24000001)
- o295.CFrame = CFrame.new(-131.292542, 5.68167734, -83.5719223, -0.194612935, -0.0195740163, -0.980684698, 0.0119131906, 0.999679983, -0.0223172773, 0.980807722, -0.0160263143, -0.194317445)
- o295.BottomSurface = Enum.SurfaceType.Smooth
- o295.TopSurface = Enum.SurfaceType.Smooth
- o295.Position = Vector3.new(-131.292542, 5.68167734, -83.5719223)
- o295.velocity = Vector3.new(4.78767586, 4.59244108, 4.46026325)
- o296.Parent = o295
- o296.MeshId = "http://www.roblox.com/asset/?id=188565062 "
- o296.TextureId = "http://www.roblox.com/asset/?id=188565095 "
- o296.MeshType = Enum.MeshType.FileMesh
- o298.Name = "OriginalSize"
- o298.Parent = o295
- o298.Value = Vector3.new(1.45002651, 2.35999823, 1.24000001)
- o299.Name = "AccessoryWeld"
- o299.Parent = o295
- o299.C0 = CFrame.new(8.65748007e-09, 0.199999809, -0.0252722446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o299.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o299.Part0 = o295
- o299.Part1 = o211
- 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