Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Part0 = Instance.new("Part")
- Script1 = Instance.new("Script")
- ClickDetector2 = Instance.new("ClickDetector")
- SurfaceGui3 = Instance.new("SurfaceGui")
- TextLabel4 = Instance.new("TextLabel")
- Script5 = Instance.new("Script")
- Model6 = Instance.new("Model")
- Part7 = Instance.new("Part")
- Sound8 = Instance.new("Sound")
- Fire9 = Instance.new("Fire")
- Sound10 = Instance.new("Sound")
- BodyGyro11 = Instance.new("BodyGyro")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Motor6D14 = Instance.new("Motor6D")
- Sound15 = Instance.new("Sound")
- Fire16 = Instance.new("Fire")
- Script17 = Instance.new("Script")
- Motor6D18 = Instance.new("Motor6D")
- Motor6D19 = Instance.new("Motor6D")
- Motor6D20 = Instance.new("Motor6D")
- Motor6D21 = Instance.new("Motor6D")
- PointLight22 = Instance.new("PointLight")
- Motor6D23 = Instance.new("Motor6D")
- Motor6D24 = Instance.new("Motor6D")
- VehicleSeat25 = Instance.new("VehicleSeat")
- Motor6D26 = Instance.new("Motor6D")
- Script27 = Instance.new("Script")
- Script28 = Instance.new("Script")
- BodyAngularVelocity29 = Instance.new("BodyAngularVelocity")
- Script30 = Instance.new("Script")
- Part31 = Instance.new("Part")
- Motor6D32 = Instance.new("Motor6D")
- Part33 = Instance.new("Part")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- Motor6D37 = Instance.new("Motor6D")
- Sound38 = Instance.new("Sound")
- Fire39 = Instance.new("Fire")
- Script40 = Instance.new("Script")
- SpotLight41 = Instance.new("SpotLight")
- Motor6D42 = Instance.new("Motor6D")
- Motor6D43 = Instance.new("Motor6D")
- Motor6D44 = Instance.new("Motor6D")
- Motor6D45 = Instance.new("Motor6D")
- Part46 = Instance.new("Part")
- Part47 = Instance.new("Part")
- Sound48 = Instance.new("Sound")
- Script49 = Instance.new("Script")
- Sound50 = Instance.new("Sound")
- Sound51 = Instance.new("Sound")
- Script52 = Instance.new("Script")
- Fire53 = Instance.new("Fire")
- Script54 = Instance.new("Script")
- Script55 = Instance.new("Script")
- Script56 = Instance.new("Script")
- Humanoid57 = Instance.new("Humanoid")
- Script58 = Instance.new("Script")
- Script59 = Instance.new("Script")
- Script60 = Instance.new("Script")
- Script61 = Instance.new("Script")
- Script62 = Instance.new("Script")
- Script63 = Instance.new("Script")
- Script64 = Instance.new("Script")
- Script65 = Instance.new("Script")
- Script66 = Instance.new("Script")
- Script67 = Instance.new("Script")
- Script68 = Instance.new("Script")
- Script69 = Instance.new("Script")
- Part70 = Instance.new("Part")
- Sound71 = Instance.new("Sound")
- Script72 = Instance.new("Script")
- Script73 = Instance.new("Script")
- Sound74 = Instance.new("Sound")
- Fire75 = Instance.new("Fire")
- Script76 = Instance.new("Script")
- Part77 = Instance.new("Part")
- Sound78 = Instance.new("Sound")
- Script79 = Instance.new("Script")
- Motor6D80 = Instance.new("Motor6D")
- Sound81 = Instance.new("Sound")
- Fire82 = Instance.new("Fire")
- Script83 = Instance.new("Script")
- Motor6D84 = Instance.new("Motor6D")
- Part85 = Instance.new("Part")
- Script86 = Instance.new("Script")
- Sound87 = Instance.new("Sound")
- SpecialMesh88 = Instance.new("SpecialMesh")
- PointLight89 = Instance.new("PointLight")
- Script90 = Instance.new("Script")
- BodyForce91 = Instance.new("BodyForce")
- Script92 = Instance.new("Script")
- Script93 = Instance.new("Script")
- Script94 = Instance.new("Script")
- ClickDetector95 = Instance.new("ClickDetector")
- Sound96 = Instance.new("Sound")
- Part97 = Instance.new("Part")
- Sound98 = Instance.new("Sound")
- Script99 = Instance.new("Script")
- Fire100 = Instance.new("Fire")
- Fire101 = Instance.new("Fire")
- Part102 = Instance.new("Part")
- Sound103 = Instance.new("Sound")
- Script104 = Instance.new("Script")
- Fire105 = Instance.new("Fire")
- Fire106 = Instance.new("Fire")
- Part107 = Instance.new("Part")
- Sound108 = Instance.new("Sound")
- Script109 = Instance.new("Script")
- Fire110 = Instance.new("Fire")
- Fire111 = Instance.new("Fire")
- Part112 = Instance.new("Part")
- Sound113 = Instance.new("Sound")
- Script114 = Instance.new("Script")
- Fire115 = Instance.new("Fire")
- Fire116 = Instance.new("Fire")
- ForceField117 = Instance.new("ForceField")
- Script118 = Instance.new("Script")
- Part119 = Instance.new("Part")
- SpecialMesh120 = Instance.new("SpecialMesh")
- Part121 = Instance.new("Part")
- SpecialMesh122 = Instance.new("SpecialMesh")
- Part123 = Instance.new("Part")
- SpecialMesh124 = Instance.new("SpecialMesh")
- Part0.Name = "Rocket giver"
- Part0.Parent = mas
- Part0.Material = Enum.Material.DiamondPlate
- Part0.BrickColor = BrickColor.new("Dark stone grey")
- Part0.Rotation = Vector3.new(-180, 0, -180)
- Part0.Anchored = true
- Part0.Size = Vector3.new(12, 2, 12)
- Part0.CFrame = CFrame.new(29, 1.00001395, 117, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part0.Position = Vector3.new(29, 1.00001395, 117)
- Part0.Orientation = Vector3.new(0, 180, 0)
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script1.Name = "Dispense"
- Script1.Parent = Part0
- table.insert(cors,sandbox(Script1,function()
- function Activated()
- if game.ServerStorage:FindFirstChild("Demolition rocket") ~= nil then
- script.Parent.BrickColor = BrickColor.Red()
- script.Disabled = true
- script.Parent.SurfaceGui.TextLabel.Text = "Wait for cooldown"
- local Rocket = game.ServerStorage["Demolition rocket"]:Clone()
- Rocket.Parent = game.Workspace
- Rocket.Base.CFrame = script.Parent.CFrame * CFrame.new(0,1.5,0)
- Rocket.Base.Velocity = Rocket.Base.CFrame.lookVector * 50
- wait(2)
- script.Parent.SurfaceGui.TextLabel.Text = "18"
- for i = 1,18 do
- wait(1)
- script.Parent.SurfaceGui.TextLabel.Text = script.Parent.SurfaceGui.TextLabel.Text - 1
- end
- script.Parent.BrickColor = BrickColor.DarkGray()
- script.Disabled = false
- script.Parent.SurfaceGui.TextLabel.Text = "Click for demolition rocket"
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(Activated)
- end))
- ClickDetector2.Parent = Part0
- SurfaceGui3.Parent = Part0
- SurfaceGui3.Face = Enum.NormalId.Top
- SurfaceGui3.Adornee = Part0
- SurfaceGui3.CanvasSize = Vector2.new(200, 150)
- TextLabel4.Parent = SurfaceGui3
- TextLabel4.Transparency = 1
- TextLabel4.Size = UDim2.new(0, 200, 0, 50)
- TextLabel4.Text = "Click for demolition rocket"
- TextLabel4.Position = UDim2.new(0, 0, 0.300000012, 0)
- TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel4.BackgroundTransparency = 1
- TextLabel4.Font = Enum.Font.SciFi
- TextLabel4.FontSize = Enum.FontSize.Size14
- TextLabel4.TextColor3 = Color3.new(1, 0.5, 0)
- TextLabel4.TextScaled = true
- TextLabel4.TextWrapped = true
- Script5.Name = "Place rocket into ServerStorage"
- Script5.Parent = Part0
- table.insert(cors,sandbox(Script5,function()
- script.Parent["Demolition rocket"].Parent = game.ServerStorage
- script:Destroy()
- end))
- Model6.Name = "Demolition rocket"
- Model6.Parent = Part0
- Model6.PrimaryPart = Part7
- Part7.Name = "Base"
- Part7.Parent = Model6
- Part7.Material = Enum.Material.DiamondPlate
- Part7.BrickColor = BrickColor.new("Neon orange")
- Part7.Rotation = Vector3.new(0, -90, 0)
- Part7.Locked = true
- Part7.Size = Vector3.new(5, 1, 5)
- Part7.CFrame = CFrame.new(28.7875443, 2.50141859, 117.054611, -3.51667404e-06, -1.49710104e-07, -1.00000036, -8.16653483e-08, 1, -1.49244443e-07, 1.0000006, 8.14325176e-08, -3.51667404e-06)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part7.Position = Vector3.new(28.7875443, 2.50141859, 117.054611)
- Part7.Orientation = Vector3.new(0, -90, 0)
- Part7.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Sound8.Parent = Part7
- Sound8.Pitch = 1.2000000476837
- Sound8.SoundId = "http://www.roblox.com/asset/?id=66868084 "
- Sound8.Volume = 1
- Fire9.Parent = Part7
- Fire9.Size = 30
- Fire9.Enabled = false
- Fire9.Heat = 25
- Fire9.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Sound10.Name = "Sound2"
- Sound10.Parent = Part7
- Sound10.Pitch = 0.60000002384186
- Sound10.SoundId = "rbxassetid://138185473 "
- Sound10.Volume = 1
- Sound10.Looped = true
- BodyGyro11.Parent = Part7
- Motor6D12.Parent = Part7
- Motor6D12.C1 = CFrame.new(-0.000282287598, -1.6007148, -2.502388, 1.00000024, 4.09976928e-05, 6.86794519e-05, -4.09973436e-05, 1, -6.57816418e-06, -6.86794519e-05, 6.57560304e-06, 1.00000024)
- Motor6D12.Part0 = Part7
- Motor6D12.Part1 = Part77
- Motor6D13.Parent = Part7
- Motor6D13.C1 = CFrame.new(8.77380371e-05, -1.50140166, 2.50338745, 1.00000024, 1.6350532e-07, 3.4570694e-06, -1.63563527e-07, 1, 1.81607902e-08, -3.4570694e-06, -1.79279596e-08, 1.00000012)
- Motor6D13.Part0 = Part7
- Motor6D13.Part1 = Part36
- Motor6D14.Parent = Part7
- Motor6D14.C1 = CFrame.new(-5.7220459e-05, -1.0003432, 0.000267028809, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036)
- Motor6D14.Part0 = Part7
- Motor6D14.Part1 = VehicleSeat25
- Sound15.Name = "Sound3"
- Sound15.Parent = Part7
- Sound15.SoundId = "rbxassetid://191040613"
- Sound15.Volume = 1
- Fire16.Name = "Fire2"
- Fire16.Parent = Part7
- Fire16.Size = 10
- Fire16.Enabled = false
- Fire16.Heat = -5
- Fire16.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script17.Name = "On contact, thud"
- Script17.Parent = Part7
- table.insert(cors,sandbox(Script17,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Motor6D18.Parent = Part7
- Motor6D18.C1 = CFrame.new(-2.00016403, -1.00000238, -3.00017166, 1, 7.26722593e-09, 6.1614637e-11, -7.26722593e-09, 1, -1.65342851e-08, -6.16147619e-11, 1.65342868e-08, 1)
- Motor6D18.Part0 = Part7
- Motor6D18.Part1 = Part112
- Motor6D19.Parent = Part7
- Motor6D19.C1 = CFrame.new(-2.00019836, -1.99999905, -4.00024796, 1, 4.53808724e-09, 5.57033343e-11, -4.5380868e-09, 1, -1.02459534e-08, -5.57033829e-11, 1.02459552e-08, 1)
- Motor6D19.Part0 = Part7
- Motor6D19.Part1 = Part107
- Motor6D20.Parent = Part7
- Motor6D20.C1 = CFrame.new(2.00013351, -1.00000191, -3.00013924, 1, 1.42362522e-08, 8.59418925e-11, -1.42362531e-08, 1, -3.28385994e-08, -8.59423643e-11, 3.28385994e-08, 1)
- Motor6D20.Part0 = Part7
- Motor6D20.Part1 = Part102
- Motor6D21.Parent = Part7
- Motor6D21.C1 = CFrame.new(2.00014877, -2.00000048, -4.00019455, 1, 9.53187307e-09, 6.61617705e-11, -9.53187218e-09, 1, -2.1891708e-08, -6.61619787e-11, 2.1891708e-08, 1)
- Motor6D21.Part0 = Part7
- Motor6D21.Part1 = Part97
- PointLight22.Parent = Part7
- PointLight22.Color = Color3.new(1, 0.313726, 0.0196078)
- PointLight22.Enabled = false
- PointLight22.Brightness = 60
- PointLight22.Range = 60
- PointLight22.Shadows = true
- PointLight22.Color = Color3.new(1, 0.313726, 0.0196078)
- Motor6D23.Parent = Part7
- Motor6D23.C1 = CFrame.new(-1.99999762, -2.5, 4.76837158e-06, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036)
- Motor6D23.Part0 = Part7
- Motor6D23.Part1 = Part34
- Motor6D24.Parent = Part7
- Motor6D24.C1 = CFrame.new(2.00000238, -2.5, 4.76837158e-06, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036)
- Motor6D24.Part0 = Part7
- Motor6D24.Part1 = Part33
- VehicleSeat25.Name = "Car Seat"
- VehicleSeat25.Parent = Model6
- VehicleSeat25.Material = Enum.Material.Fabric
- VehicleSeat25.BrickColor = BrickColor.new("Black")
- VehicleSeat25.Rotation = Vector3.new(0, -90, 0)
- VehicleSeat25.Locked = true
- VehicleSeat25.Size = Vector3.new(3, 1, 3)
- VehicleSeat25.CFrame = CFrame.new(28.7878113, 3.50176191, 117.054672, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- VehicleSeat25.BottomSurface = Enum.SurfaceType.Smooth
- VehicleSeat25.TopSurface = Enum.SurfaceType.Smooth
- VehicleSeat25.MaxSpeed = 150
- VehicleSeat25.Torque = 12.5
- VehicleSeat25.TurnSpeed = 2.5999999046326
- VehicleSeat25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- VehicleSeat25.Position = Vector3.new(28.7878113, 3.50176191, 117.054672)
- VehicleSeat25.Orientation = Vector3.new(0, -90, 0)
- VehicleSeat25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Motor6D26.Parent = VehicleSeat25
- Motor6D26.C1 = CFrame.new(-0.00012588501, -1.50189567, -1.00107574, 1.00000012, 3.31259798e-07, 3.56137753e-06, -3.31318006e-07, 1, 1.97906047e-07, -3.56137753e-06, -1.97673216e-07, 1.00000012)
- Motor6D26.Part0 = VehicleSeat25
- Motor6D26.Part1 = Part46
- Script27.Name = "Flying"
- Script27.Parent = VehicleSeat25
- table.insert(cors,sandbox(Script27,function()
- while true do
- wait(0.05)
- if script.Parent.Occupant ~= nil then
- if script.Name == "Straight" then
- script.Parent.Velocity = script.Parent.CFrame.lookVector * 70
- else
- script.Parent.Velocity = script.Parent.CFrame.lookVector * 35
- end
- end
- end
- end))
- Script28.Name = "Controls"
- Script28.Parent = VehicleSeat25
- table.insert(cors,sandbox(Script28,function()
- local FlyingScript = script.Parent.Flying
- function control()
- if script.Parent.Occupant ~= nil then
- if script.Parent.Throttle == 1 then
- script.Parent.Velocity = Vector3.new(script.Parent.Velocity.X,65,script.Parent.Velocity.Z)
- FlyingScript.Name = "Up"
- elseif script.Parent.Throttle == -1 then
- script.Parent.Velocity = Vector3.new(script.Parent.Velocity.X,-65,script.Parent.Velocity.Z)
- FlyingScript.Name = "Down"
- else
- script.Parent.Velocity = Vector3.new(script.Parent.Velocity.X,7,script.Parent.Velocity.Z)
- FlyingScript.Name = "Straight"
- end
- if script.Parent.Steer == 1 then
- script.Parent.AngleChange.AngularVelocity = Vector3.new(0,-2000,0)
- elseif script.Parent.Steer == -1 then
- script.Parent.AngleChange.AngularVelocity = Vector3.new(0,2000,0)
- else
- script.Parent.AngleChange.AngularVelocity = Vector3.new(0,0,0)
- end
- end
- end
- script.Parent.Changed:connect(control)
- end))
- BodyAngularVelocity29.Name = "AngleChange"
- BodyAngularVelocity29.Parent = VehicleSeat25
- BodyAngularVelocity29.maxTorque = Vector3.new(40000, 40000, 40000)
- BodyAngularVelocity29.P = 1000000
- BodyAngularVelocity29.MaxTorque = Vector3.new(40000, 40000, 40000)
- BodyAngularVelocity29.AngularVelocity = Vector3.new(0, 0, 0)
- Script30.Name = "Cockpit doors"
- Script30.Parent = VehicleSeat25
- table.insert(cors,sandbox(Script30,function()
- function Changed(Occupant)
- if script.Parent.Occupant == nil then
- if script.Parent.CockpitL ~= nil then
- script.Parent.CockpitL.CanCollide = false
- script.Parent.CockpitL.Transparency = 0.5
- end
- if script.Parent.CockpitR ~= nil then
- script.Parent.CockpitR.CanCollide = false
- script.Parent.CockpitR.Transparency = 0.5
- end
- if script.Parent.CockpitB ~= nil then
- script.Parent.CockpitB.CanCollide = false
- script.Parent.CockpitB.Transparency = 0.5
- end
- if script.Parent.CockpitT ~= nil then
- script.Parent.CockpitT.CanCollide = false
- script.Parent.CockpitT.Transparency = 0.5
- end
- else
- if script.Parent.CockpitL ~= nil then
- script.Parent.CockpitL.CanCollide = true
- script.Parent.CockpitL.Transparency = 0
- end
- if script.Parent.CockpitR ~= nil then
- script.Parent.CockpitR.CanCollide = true
- script.Parent.CockpitR.Transparency = 0
- end
- if script.Parent.CockpitB ~= nil then
- script.Parent.CockpitB.CanCollide = true
- script.Parent.CockpitB.Transparency = 0
- end
- if script.Parent.CockpitT ~= nil then
- script.Parent.CockpitT.CanCollide = true
- script.Parent.CockpitT.Transparency = 0
- end
- end
- end
- script.Parent.Changed:connect(Changed)
- end))
- Part31.Name = "CockpitB"
- Part31.Parent = VehicleSeat25
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.BrickColor = BrickColor.new("Bright bluish green")
- Part31.Reflectance = 1
- Part31.Transparency = 0.5
- Part31.Rotation = Vector3.new(0, -90, 0)
- Part31.CanCollide = false
- Part31.Size = Vector3.new(3, 2, 1)
- Part31.CFrame = CFrame.new(26.7875481, 6.00141859, 117.054611, -2.61934474e-10, -7.21229299e-10, -1.00000119, -3.29353655e-10, 1, 7.21229299e-10, 1.00000167, -3.29353655e-10, 2.61934474e-10)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0, 0.560784, 0.611765)
- Part31.Position = Vector3.new(26.7875481, 6.00141859, 117.054611)
- Part31.Orientation = Vector3.new(0, -90, 0)
- Part31.Color = Color3.new(0, 0.560784, 0.611765)
- Motor6D32.Parent = Part31
- Motor6D32.C1 = CFrame.new(0, -0.5, 2.49999952, 1.00000167, -3.29353655e-10, 2.61934474e-10, -3.29353655e-10, 1, 7.21229299e-10, 2.61934474e-10, 7.21229299e-10, 1.00000119)
- Motor6D32.Part0 = Part31
- Motor6D32.Part1 = Part35
- Part33.Name = "CockpitL"
- Part33.Parent = VehicleSeat25
- Part33.Material = Enum.Material.SmoothPlastic
- Part33.BrickColor = BrickColor.new("Bright bluish green")
- Part33.Reflectance = 1
- Part33.Transparency = 0.5
- Part33.Rotation = Vector3.new(0, -90, 0)
- Part33.CanCollide = false
- Part33.Size = Vector3.new(1, 4, 3)
- Part33.CFrame = CFrame.new(28.7875481, 5.00141859, 115.054604, -6.82121026e-13, -4.65320227e-10, -1.00000072, -2.32355538e-10, 1, 4.65320227e-10, 1.00000119, -2.32355538e-10, 6.82121026e-13)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0, 0.560784, 0.611765)
- Part33.Position = Vector3.new(28.7875481, 5.00141859, 115.054604)
- Part33.Orientation = Vector3.new(0, -90, 0)
- Part33.Color = Color3.new(0, 0.560784, 0.611765)
- Part34.Name = "CockpitR"
- Part34.Parent = VehicleSeat25
- Part34.Material = Enum.Material.SmoothPlastic
- Part34.BrickColor = BrickColor.new("Reddish brown")
- Part34.Reflectance = 1
- Part34.Transparency = 0.5
- Part34.Rotation = Vector3.new(0, -90, 0)
- Part34.CanCollide = false
- Part34.Size = Vector3.new(1, 4, 3)
- Part34.CFrame = CFrame.new(28.7875481, 5.00141859, 119.054611, -6.82121026e-13, -4.65320227e-10, -1.00000072, -2.32355538e-10, 1, 4.65320227e-10, 1.00000119, -2.32355538e-10, 6.82121026e-13)
- Part34.BottomSurface = Enum.SurfaceType.Smooth
- Part34.TopSurface = Enum.SurfaceType.Smooth
- Part34.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part34.Position = Vector3.new(28.7875481, 5.00141859, 119.054611)
- Part34.Orientation = Vector3.new(0, -90, 0)
- Part34.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part35.Name = "CockpitT"
- Part35.Parent = VehicleSeat25
- Part35.Material = Enum.Material.SmoothPlastic
- Part35.BrickColor = BrickColor.new("Bright bluish green")
- Part35.Reflectance = 1
- Part35.Transparency = 0.5
- Part35.Rotation = Vector3.new(0, -90, 0)
- Part35.CanCollide = false
- Part35.Size = Vector3.new(3, 3, 4)
- Part35.CFrame = CFrame.new(29.2875538, 6.50141859, 117.054611, -5.23869725e-10, -1.44245949e-09, -1.00000238, -6.58707866e-10, 1, 1.44245949e-09, 1.00000334, -6.58707866e-10, 5.23869725e-10)
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.Color = Color3.new(0, 0.560784, 0.611765)
- Part35.Position = Vector3.new(29.2875538, 6.50141859, 117.054611)
- Part35.Orientation = Vector3.new(0, -90, 0)
- Part35.Color = Color3.new(0, 0.560784, 0.611765)
- Part36.Name = "Torso"
- Part36.Parent = Model6
- Part36.Material = Enum.Material.DiamondPlate
- Part36.BrickColor = BrickColor.new("Reddish brown")
- Part36.Rotation = Vector3.new(0, -90, 0)
- Part36.Locked = true
- Part36.Size = Vector3.new(5, 2, 2)
- Part36.CFrame = CFrame.new(31.2909317, 4.00282049, 117.054543, -6.97374526e-06, -1.67870326e-07, -1.00000048, 8.18394312e-08, 1, -1.67172132e-07, 1.00000083, -8.2131173e-08, -6.97374617e-06)
- Part36.BottomSurface = Enum.SurfaceType.Smooth
- Part36.TopSurface = Enum.SurfaceType.Smooth
- Part36.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part36.Position = Vector3.new(31.2909317, 4.00282049, 117.054543)
- Part36.Orientation = Vector3.new(0, -90, 0)
- Part36.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Motor6D37.Parent = Part36
- Motor6D37.C1 = CFrame.new(4.19616699e-05, -0.499773264, 2.00035858, 1.00000048, 3.84509331e-05, 1.63912773e-06, -3.84511077e-05, 1, -4.72180545e-06, -1.63912773e-06, 4.72227111e-06, 1.00000036)
- Motor6D37.Part0 = Part36
- Motor6D37.Part1 = Part47
- Sound38.Name = "Sound3"
- Sound38.Parent = Part36
- Sound38.SoundId = "rbxassetid://191040613"
- Sound38.Volume = 1
- Fire39.Name = "Fire2"
- Fire39.Parent = Part36
- Fire39.Size = 10
- Fire39.Enabled = false
- Fire39.Heat = -5
- Fire39.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script40.Name = "On contact, thud"
- Script40.Parent = Part36
- table.insert(cors,sandbox(Script40,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- SpotLight41.Parent = Part36
- SpotLight41.Color = Color3.new(0.54902, 0, 1)
- SpotLight41.Brightness = 60
- SpotLight41.Range = 60
- SpotLight41.Shadows = true
- SpotLight41.Color = Color3.new(0.54902, 0, 1)
- Motor6D42.Parent = Part36
- Motor6D42.C1 = CFrame.new(7.62939453e-06, -3.50000095, 0, 1.00000751, -6.78400909e-08, -6.97387986e-06, 6.52234746e-08, 1, -2.00237224e-07, 6.97387622e-06, 2.06525442e-07, 1.00000429)
- Motor6D42.Part0 = Part36
- Motor6D42.Part1 = Part85
- Motor6D43.Parent = Part36
- Motor6D43.C1 = CFrame.new(-0.21281004, 0.999049664, -7.2479248e-05, 6.53736424e-06, 0.342020363, 0.939693987, 2.30853379e-06, -0.939692557, 0.34202081, 1.0000025, -6.74716247e-08, -6.93268066e-06)
- Motor6D43.Part0 = Part36
- Motor6D43.Part1 = Part119
- Motor6D44.Parent = Part36
- Motor6D44.C1 = CFrame.new(0.141719818, 1.01158476, -7.2479248e-05, 6.93003403e-06, 8.04475562e-08, 1.00000048, -8.18400423e-08, -1, 7.97493129e-08, 1.00000083, -8.2131173e-08, -6.93003494e-06)
- Motor6D44.Part0 = Part36
- Motor6D44.Part1 = Part121
- Motor6D45.Parent = Part36
- Motor6D45.C1 = CFrame.new(0.479156494, 0.902107239, -7.2479248e-05, 6.48147443e-06, -0.342020065, 0.939693153, -2.46206582e-06, -0.939692676, -0.342020214, 1.00000083, -9.70813474e-08, -6.93267066e-06)
- Motor6D45.Part0 = Part36
- Motor6D45.Part1 = Part123
- Part46.Name = "Backrest"
- Part46.Parent = Model6
- Part46.Material = Enum.Material.Fabric
- Part46.BrickColor = BrickColor.new("Neon orange")
- Part46.Rotation = Vector3.new(0, -90, 0)
- Part46.Locked = true
- Part46.Size = Vector3.new(3, 2, 1)
- Part46.CFrame = CFrame.new(27.7867355, 5.00365734, 117.054794, -3.56137753e-06, -1.97906047e-07, -1.00000012, 3.31259798e-07, 1, -1.97673216e-07, 1.00000012, -3.31318006e-07, -3.56137753e-06)
- Part46.BottomSurface = Enum.SurfaceType.Smooth
- Part46.TopSurface = Enum.SurfaceType.Smooth
- Part46.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part46.Position = Vector3.new(27.7867355, 5.00365734, 117.054794)
- Part46.Orientation = Vector3.new(0, -90, 0)
- Part46.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part47.Name = "Head"
- Part47.Parent = Model6
- Part47.Material = Enum.Material.DiamondPlate
- Part47.BrickColor = BrickColor.new("Neon orange")
- Part47.Rotation = Vector3.new(0, -90, 0)
- Part47.Locked = true
- Part47.Size = Vector3.new(3, 3, 2)
- Part47.CFrame = CFrame.new(33.2912941, 4.50258446, 117.054497, -8.61288299e-06, 4.55420559e-06, -1.00000083, 3.8532773e-05, 1, 4.55509871e-06, 1.00000131, -3.85332387e-05, -8.61287754e-06)
- Part47.BottomSurface = Enum.SurfaceType.Smooth
- Part47.TopSurface = Enum.SurfaceType.Smooth
- Part47.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part47.Position = Vector3.new(33.2912941, 4.50258446, 117.054497)
- Part47.Orientation = Vector3.new(0, -90, 0)
- Part47.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Sound48.Parent = Part47
- Sound48.SoundId = "rbxassetid://356659053"
- Sound48.Volume = 1
- Script49.Name = "On contact, explode"
- Script49.Parent = Part47
- table.insert(cors,sandbox(Script49,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 1200 then
- local BANG = Instance.new("Explosion")
- BANG.Position = script.Parent.Position
- BANG.DestroyJointRadiusPercent = 0
- BANG.Parent = script.Parent
- script.Parent.Sound2:Play()
- print "# SUPREME SLAM #"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound50.Name = "Sound2"
- Sound50.Parent = Part47
- Sound50.SoundId = "rbxassetid://168485325"
- Sound50.Volume = 1
- Sound51.Name = "Sound3"
- Sound51.Parent = Part47
- Sound51.SoundId = "rbxassetid://191040613"
- Sound51.Volume = 1
- Script52.Name = "On contact, break stuff"
- Script52.Parent = Part47
- table.insert(cors,sandbox(Script52,function()
- function onTouched(hit)
- if hit.Parent == nil then return end
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 400 then hit:BreakJoints()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Fire53.Name = "Fire2"
- Fire53.Parent = Part47
- Fire53.Size = 10
- Fire53.Enabled = false
- Fire53.Heat = -5
- Fire53.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script54.Name = "On contact, thud"
- Script54.Parent = Part47
- table.insert(cors,sandbox(Script54,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script55.Name = "On contact, clang"
- Script55.Parent = Part47
- table.insert(cors,sandbox(Script55,function()
- function onTouched(hit)
- if hit == nil then return end
- if hit.CanCollide == false then return end
- if hit.ClassName == "Terrain" then return end
- script.Parent.Sound:Play()
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end
- script.Parent.Parent.Humanoid:TakeDamage((math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20)
- if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
- if script.Parent.Parent["Car Seat"].Occupant == nil then return end
- local Name = script.Parent.Parent["Car Seat"].Occupant.Parent.Name
- local Player = game.Players:FindFirstChild(Name)
- if Player == nil then return end
- local Attacker = Instance.new("ObjectValue",script.Parent.Parent["Car Seat"].Occupant)
- Attacker.Name = "creator"
- Attacker.Value = Player
- local Weapon = Instance.new("StringValue",Attacker)
- Weapon.Name = "weapon"
- Weapon.Value = "driving to crash"
- wait(5)
- Attacker:Destroy()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script56.Name = "On contact, damage"
- Script56.Parent = Part47
- table.insert(cors,sandbox(Script56,function()
- function onTouched(hit)
- if hit.Parent == nil then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower <= 150 then return end
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower)
- if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
- if script.Parent.Parent["Car Seat"].Occupant == nil then return end
- local Name = script.Parent.Parent["Car Seat"].Occupant.Parent.Name
- local Player = game.Players:FindFirstChild(Name)
- if Player == nil then return end
- if hit.Parent:FindFirstChild("Car Seat") then
- Attacker = Instance.new("ObjectValue",hit.Parent["Car Seat"].Occupant)
- else
- Attacker = Instance.new("ObjectValue",hit.Parent.Humanoid)
- end
- Attacker.Name = "creator"
- Attacker.Value = Player
- local Weapon = Instance.new("StringValue",Attacker)
- Weapon.Name = "weapon"
- Weapon.Value = "Bumper"
- wait(5)
- Attacker:Destroy()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Humanoid57.Parent = Model6
- Humanoid57.RightLeg = Part107
- Humanoid57.LeftLeg = Part97
- Humanoid57.Torso = Part36
- Humanoid57.Health = 1200
- Humanoid57.MaxHealth = 1200
- Script58.Name = "When demolished, name, disable bumper, destroy cannon and print to log"
- Script58.Parent = Humanoid57
- table.insert(cors,sandbox(Script58,function()
- function Die()
- print (script.Parent.Parent.Name.." GOT WRECKED!")
- if script.Parent.Parent:FindFirstChild("Head") == nil then return end
- script.Parent.Parent.Head["On contact, damage"].Disabled = true
- script.Parent.Parent.Head["On contact, explode"].Disabled = true
- script.Parent.Parent.Head["On contact, break stuff"].Disabled = true
- if script.Parent.Parent:FindFirstChild("FIRE!") == nil then return end
- script.Parent.Parent["FIRE!"].ClickDetector:Destroy()
- script.Parent.Parent.Name = script.Parent.Parent.Name.." (Demolished)"
- end
- script.Parent.Died:connect(Die)
- end))
- Script59.Name = "When demolished, wait 3 min then remove"
- Script59.Parent = Humanoid57
- table.insert(cors,sandbox(Script59,function()
- function Die()
- wait(180)
- script.Parent.Parent:remove()
- end
- script.Parent.Died:connect(Die)
- end))
- Script60.Name = "When demolished, sound"
- Script60.Parent = Humanoid57
- table.insert(cors,sandbox(Script60,function()
- function Die()
- wait(0.2)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- script.Parent.Parent.Base.Sound:Play()
- script.Parent.Parent.Base.Sound2:Play()
- end
- script.Parent.Died:connect(Die)
- end))
- Script61.Name = "When demolished, break the engine"
- Script61.Parent = Humanoid57
- table.insert(cors,sandbox(Script61,function()
- function Die()
- if script.Parent.Parent:FindFirstChild("Engine") == nil then return end
- script.Parent.Parent.Engine.Engine:Stop()
- end
- script.Parent.Died:connect(Die)
- end))
- Script62.Name = "When demolished, disable chair"
- Script62.Parent = Humanoid57
- table.insert(cors,sandbox(Script62,function()
- function Die()
- if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
- script.Parent.Parent["Car Seat"].Disabled = true
- end
- script.Parent.Died:connect(Die)
- end))
- Script63.Name = "When demolished, remove instantly if bumper gone."
- Script63.Parent = Humanoid57
- table.insert(cors,sandbox(Script63,function()
- function Die()
- wait(6)
- if script.Parent.Parent:FindFirstChild("Head") == nil then
- print ("Looks like "..script.Parent.Parent.Name.." got nil.")
- script.Parent.Parent:Destroy()
- elseif script.Parent.Parent:FindFirstChild("Head") ~= nil then return end
- end
- script.Parent.Died:connect(Die)
- end))
- Script64.Name = "When demolished, disable light"
- Script64.Parent = Humanoid57
- table.insert(cors,sandbox(Script64,function()
- function Die()
- if script.Parent.Parent:FindFirstChild("Torso") == nil then return end
- script.Parent.Parent.Torso.SpotLight.Enabled = false
- end
- script.Parent.Died:connect(Die)
- end))
- Script65.Name = "When demolished, ambient explosion"
- Script65.Parent = Humanoid57
- table.insert(cors,sandbox(Script65,function()
- function Die()
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- local l = script.Parent.Parent.Base.PointLight
- l.Enabled = true
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = false
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = true
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = false
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = true
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = false
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = true
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = false
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = true
- wait(0.02)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- l.Enabled = false
- end
- script.Parent.Died:connect(Die)
- end))
- Script66.Name = "When demolished, hollywood"
- Script66.Parent = Humanoid57
- table.insert(cors,sandbox(Script66,function()
- function Die()
- wait(0.2)
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- e = Instance.new("Explosion")
- e.Parent = script.Parent.Parent
- e.DestroyJointRadiusPercent = 1
- e.Position = script.Parent.Parent.Base.Position + Vector3.new(0,3.6,0)
- e.ExplosionType = "NoCraters"
- e.BlastRadius = 20
- e.BlastPressure = 1000000
- f = script.Parent.Parent.Base.Fire
- f.Enabled = true
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- wait(0.2)
- f.Size = f.Size - 1
- end
- script.Parent.Died:connect(Die)
- end))
- Script67.Name = "Auto heal"
- Script67.Parent = Humanoid57
- table.insert(cors,sandbox(Script67,function()
- while true do
- if script.Parent.Health >= script.Parent.MaxHealth then script.Parent.Health = script.Parent.MaxHealth return end
- if script.Parent.Health == 0 then return end
- script.Parent.Health = script.Parent.Health + 3
- wait(0.5)
- end
- end))
- Script68.Name = "Auto sit"
- Script68.Parent = Humanoid57
- table.insert(cors,sandbox(Script68,function()
- while true do
- wait(0.1)
- script.Parent.Sit = true
- end
- end))
- Script69.Name = "When demolished, make leaderboards compatible"
- Script69.Parent = Humanoid57
- table.insert(cors,sandbox(Script69,function()
- function Died()
- script.Parent.Health = script.Parent.Health + 0.01
- script.Disabled = true
- if script.Parent.Parent:FindFirstChild("Car Seat") ~= nil then
- if script.Parent.Parent["Car Seat"].Occupant ~= nil then
- if script.Parent.Parent["Car Seat"].Occupant.Parent ~= nil then
- if script.Parent:FindFirstChild("creator") ~= nil then
- local ClonedTag = script.Parent.creator:Clone()
- ClonedTag.Parent = script.Parent.Parent["Car Seat"].Occupant.Parent.Humanoid
- end
- end
- end
- end
- wait()
- script.Parent.Health = script.Parent.Health - 0.01
- end
- script.Parent.Died:connect(Died)
- end))
- Part70.Name = "Flag"
- Part70.Parent = Model6
- Part70.Material = Enum.Material.Fabric
- Part70.BrickColor = BrickColor.new("Neon orange")
- Part70.Rotation = Vector3.new(0, 90, 0)
- Part70.Locked = true
- Part70.Size = Vector3.new(1, 2, 3)
- Part70.CFrame = CFrame.new(24.7847404, 6.20233154, 117.05442, 7.54893554e-05, 6.63593391e-06, 1.00000107, -3.92723887e-05, 1, -6.63414949e-06, -1.00000131, -3.92724651e-05, 7.55042784e-05)
- Part70.BottomSurface = Enum.SurfaceType.Smooth
- Part70.TopSurface = Enum.SurfaceType.Smooth
- Part70.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part70.Position = Vector3.new(24.7847404, 6.20233154, 117.05442)
- Part70.Orientation = Vector3.new(0, 90, 0)
- Part70.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Sound71.Parent = Part70
- Sound71.Pitch = 1.5
- Sound71.SoundId = "rbxassetid://356659053"
- Sound71.Volume = 1
- Script72.Name = "On contact, sound"
- Script72.Parent = Part70
- table.insert(cors,sandbox(Script72,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- script.Parent.Sound:Play()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script73.Name = "On contact, heal"
- Script73.Parent = Part70
- table.insert(cors,sandbox(Script73,function()
- function onTouched()
- script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound74.Name = "Sound3"
- Sound74.Parent = Part70
- Sound74.SoundId = "rbxassetid://191040613"
- Sound74.Volume = 1
- Fire75.Name = "Fire2"
- Fire75.Parent = Part70
- Fire75.Size = 10
- Fire75.Enabled = false
- Fire75.Heat = -5
- Fire75.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script76.Name = "On contact, thud"
- Script76.Parent = Part70
- table.insert(cors,sandbox(Script76,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Part77.Name = "Engine"
- Part77.Parent = Model6
- Part77.Material = Enum.Material.CorrodedMetal
- Part77.BrickColor = BrickColor.new("Reddish brown")
- Part77.Rotation = Vector3.new(0, -90, 0)
- Part77.Locked = true
- Part77.Size = Vector3.new(3, 2.19999981, 2)
- Part77.CFrame = CFrame.new(26.2851639, 4.10214949, 117.054649, -7.21961551e-05, 6.4286005e-06, -1.0000006, 4.09160166e-05, 1, 6.42636405e-06, 1.00000083, -4.09159147e-05, -7.21961696e-05)
- Part77.BottomSurface = Enum.SurfaceType.Smooth
- Part77.TopSurface = Enum.SurfaceType.Smooth
- Part77.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part77.Position = Vector3.new(26.2851639, 4.10214949, 117.054649)
- Part77.Orientation = Vector3.new(0, -90, 0)
- Part77.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Sound78.Name = "Engine"
- Sound78.Parent = Part77
- Sound78.Pitch = 0
- Sound78.SoundId = "rbxassetid://130091914"
- Sound78.Volume = 0.69999998807907
- Sound78.Looped = true
- Script79.Name = "Sound when driving"
- Script79.Parent = Part77
- table.insert(cors,sandbox(Script79,function()
- while true do
- wait(0.01)
- if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
- script.Parent.Engine.PlaybackSpeed = (math.abs(script.Parent.Parent["Car Seat"].Velocity.X) + math.abs(script.Parent.Parent["Car Seat"].Velocity.Y) + math.abs(script.Parent.Parent["Car Seat"].Velocity.Z)) / 60
- end
- end))
- Motor6D80.Parent = Part77
- Motor6D80.C1 = CFrame.new(-3.05175781e-05, -2.10017252, 1.50043488, -1.00000048, 1.64366793e-06, -3.29315662e-06, 1.6434351e-06, 1, -2.07452103e-07, 3.30805779e-06, -2.07917765e-07, -1.00000048)
- Motor6D80.Part0 = Part77
- Motor6D80.Part1 = Part70
- Sound81.Name = "Sound3"
- Sound81.Parent = Part77
- Sound81.SoundId = "rbxassetid://191040613"
- Sound81.Volume = 1
- Fire82.Name = "Fire2"
- Fire82.Parent = Part77
- Fire82.Size = 10
- Fire82.Enabled = false
- Fire82.Heat = -5
- Fire82.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script83.Name = "On contact, thud"
- Script83.Parent = Part77
- table.insert(cors,sandbox(Script83,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Motor6D84.Parent = Part77
- Motor6D84.C1 = CFrame.new(3.86238098e-05, -1.8992691, 0.502384186, 1.00000083, -4.09159147e-05, -7.21961696e-05, 4.09160166e-05, 1, 6.42636405e-06, 7.21961551e-05, -6.4286005e-06, 1.0000006)
- Motor6D84.Part0 = Part77
- Motor6D84.Part1 = Part31
- Part85.Name = "FIRE!"
- Part85.Parent = Model6
- Part85.Material = Enum.Material.Neon
- Part85.BrickColor = BrickColor.new("Lime green")
- Part85.Transparency = 0.75
- Part85.Rotation = Vector3.new(0, -90, 0)
- Part85.CanCollide = false
- Part85.Locked = true
- Part85.Size = Vector3.new(3, 3, 2)
- Part85.CFrame = CFrame.new(31.2909317, 7.50282145, 117.054535, 8.5492502e-11, 3.23665432e-08, -1.00000477, 1.40011247e-08, 1, 3.93531678e-08, 1.00000834, -1.69062453e-08, 1.05956133e-10)
- Part85.BottomSurface = Enum.SurfaceType.Smooth
- Part85.TopSurface = Enum.SurfaceType.Smooth
- Part85.Color = Color3.new(0, 1, 0)
- Part85.Position = Vector3.new(31.2909317, 7.50282145, 117.054535)
- Part85.Orientation = Vector3.new(0, -90, 0)
- Part85.Color = Color3.new(0, 1, 0)
- Script86.Name = "Fire"
- Script86.Parent = Part85
- table.insert(cors,sandbox(Script86,function()
- local Colour = script.Parent.Parent.Base.BrickColor
- function Clicked()
- script.Parent.Sound3:Play()
- local Ammo = Instance.new("Part")
- Ammo.BrickColor = Colour
- Ammo.Material = "Neon"
- Ammo.Parent = script.Parent
- Ammo.Velocity = script.Parent.CFrame.lookVector * 1200
- Ammo.CFrame = script.Parent.CFrame * CFrame.new(0,7,-15)
- Ammo.Size = Vector3.new(20,20,20)
- Ammo.Shape = "Ball"
- Ammo.Name = script.Parent.Parent.Name.."'s cannonball"
- Ammo.TopSurface = "Smooth"
- Ammo.BottomSurface = "Smooth"
- Ammo.Velocity = Vector3.new(Ammo.Velocity.X,script.Parent.Velocity.Y * 7,Ammo.Velocity.Z)
- local Mesh = script.Mesh:Clone()
- Mesh.Parent = Ammo
- local float = script.BodyForce:Clone()
- float.Parent = Ammo
- local explosive = script["On contact, explode"]:Clone()
- explosive.Parent = Ammo
- explosive.Disabled = false
- local damager = script["Cause damage"]:Clone()
- damager.Parent = Ammo
- damager.Disabled = false
- local flash = script.PointLight:Clone()
- flash.Parent = Ammo
- local flasher = script["Flash ambient"]:Clone()
- flasher.Parent = Ammo
- flasher.Disabled = false
- local sound = script.Sound:Clone()
- sound.Parent = Ammo
- script.Parent.BrickColor = BrickColor.new("Really red")
- script.Disabled = true
- wait(1)
- script.Parent.BrickColor = BrickColor.new("New Yeller")
- wait(0.5)
- float:Destroy()
- wait(0.5)
- script.Parent.BrickColor = BrickColor.new("Lime green")
- script.Disabled = false
- end
- script.Parent.ClickDetector.MouseClick:connect(Clicked)
- end))
- Sound87.Parent = Script86
- Sound87.Pitch = 1.2000000476837
- Sound87.SoundId = "http://www.roblox.com/asset/?id=66868084 "
- Sound87.Volume = 1
- SpecialMesh88.Parent = Script86
- SpecialMesh88.MeshType = Enum.MeshType.Sphere
- PointLight89.Parent = Script86
- PointLight89.Color = Color3.new(1, 0.313726, 0.0196078)
- PointLight89.Enabled = false
- PointLight89.Brightness = 60
- PointLight89.Range = 60
- PointLight89.Shadows = true
- PointLight89.Color = Color3.new(1, 0.313726, 0.0196078)
- Script90.Name = "Flash ambient"
- Script90.Parent = Script86
- Script90.Disabled = true
- table.insert(cors,sandbox(Script90,function()
- function onTouched(hit)
- if hit == nil then return end
- if hit.CanCollide == false then return end
- script.Disabled = true
- for f = 1,5 do
- wait(0.02)
- script.Parent.PointLight.Enabled = true
- wait(0.02)
- script.Parent.PointLight.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- BodyForce91.Parent = Script86
- BodyForce91.force = Vector3.new(0, 622516.75, 0)
- Script92.Name = "On contact, explode"
- Script92.Parent = Script86
- Script92.Disabled = true
- table.insert(cors,sandbox(Script92,function()
- function onTouched(hit)
- if hit == nil then return end
- if hit.CanCollide == false then return end
- script.Parent.Anchored = true
- wait(0)
- local BOOM = Instance.new("Explosion")
- BOOM.Parent = script.Parent.Parent
- BOOM.Position = script.Parent.Position
- BOOM.BlastRadius = script.Parent.Size.Y * 2
- script.Parent.Sound:Play()
- script.Disabled = true
- script.Parent.CanCollide = false
- script.Parent.Position = script.Parent.Position
- script.Parent.Mesh.Scale = Vector3.new(4,4,4)
- script.Parent.BrickColor = BrickColor.new("Neon orange")
- script.Parent.Transparency = 0.3
- local HitScript = script["Explosion hit"]:Clone()
- HitScript.Parent = BOOM
- HitScript.Disabled = false
- wait(0.1)
- script.Parent.Transparency = 0.4
- wait(0.1)
- script.Parent.Transparency = 0.5
- script.Parent.BrickColor = BrickColor.new("Really red")
- wait(0.1)
- script.Parent.Transparency = 0.6
- wait(0.1)
- script.Parent.Transparency = 0.7
- script.Parent.BrickColor = BrickColor.new("Really black")
- wait(0.1)
- script.Parent.Transparency = 0.8
- wait(0.1)
- script.Parent.Transparency = 0.9
- wait(0.1)
- script.Parent.Transparency = 1
- wait(1.3)
- script.Parent:Destroy()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script93.Name = "Explosion hit"
- Script93.Parent = Script92
- Script93.Disabled = true
- table.insert(cors,sandbox(Script93,function()
- function HitPart(part)
- if part == nil then return end
- if part.Parent == nil then return end
- if script.Parent.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
- if script.Parent.Parent.Parent["Car Seat"].Occupant == nil then return end
- if part.Parent:FindFirstChild("Humanoid") then
- if part.Parent:FindFirstChild("Car Seat") then
- creator = Instance.new("ObjectValue",part.Parent["Car Seat"].Occupant)
- else
- creator = Instance.new("ObjectValue",part.Parent.Humanoid)
- end
- local weapon = Instance.new("StringValue",creator)
- creator.Name = "creator"
- weapon.Name = "weapon"
- creator.Value = game.Players:GetPlayerFromCharacter(script.Parent.Parent.Parent["Car Seat"].Occupant.Parent)
- weapon.Value = "radiation from blast"
- game:GetService("Debris"):AddItem(creator,2)
- end
- end
- script.Parent.Hit:connect(HitPart)
- end))
- Script94.Name = "Cause damage"
- Script94.Parent = Script86
- Script94.Disabled = true
- table.insert(cors,sandbox(Script94,function()
- function onTouched(hit)
- if hit == nil then return end
- if hit.CanCollide == false then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then script.Disabled = true return end
- local damage = math.random(500,5000)
- hit.Parent.Humanoid:TakeDamage(damage)
- script.Disabled = true
- if script.Parent.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
- if script.Parent.Parent.Parent["Car Seat"].Occupant == nil then return end
- local Name = script.Parent.Parent.Parent["Car Seat"].Occupant.Parent.Name
- local Player = game.Players:FindFirstChild(Name)
- if Player == nil then return end
- if hit.Parent:FindFirstChild("Car Seat") then
- Attacker = Instance.new("ObjectValue",hit.Parent["Car Seat"].Occupant)
- else
- Attacker = Instance.new("ObjectValue",hit.Parent.Humanoid)
- end
- Attacker.Name = "creator"
- Attacker.Value = Player
- local Weapon = Instance.new("StringValue",Attacker)
- Weapon.Name = "weapon"
- Weapon.Value = "Cannonball"
- wait(5)
- Attacker:Destroy()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ClickDetector95.Parent = Part85
- ClickDetector95.MaxActivationDistance = 4
- Sound96.Name = "Sound3"
- Sound96.Parent = Part85
- Sound96.SoundId = "rbxassetid://191040613"
- Sound96.Volume = 1
- Part97.Name = "Left Leg"
- Part97.Parent = Model6
- Part97.Material = Enum.Material.DiamondPlate
- Part97.BrickColor = BrickColor.new("Dark stone grey")
- Part97.Rotation = Vector3.new(0, -90, 0)
- Part97.Locked = true
- Part97.Size = Vector3.new(1, 1, 3)
- Part97.CFrame = CFrame.new(24.7873554, 4.50141859, 115.054451, -3.51674021e-06, -1.27818367e-07, -1.00000036, -7.21334743e-08, 1, -1.27352735e-07, 1.0000006, 7.19007218e-08, -3.51674021e-06)
- Part97.BottomSurface = Enum.SurfaceType.Smooth
- Part97.TopSurface = Enum.SurfaceType.Smooth
- Part97.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part97.Position = Vector3.new(24.7873554, 4.50141859, 115.054451)
- Part97.Orientation = Vector3.new(0, -90, 0)
- Part97.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound98.Name = "Sound3"
- Sound98.Parent = Part97
- Sound98.SoundId = "rbxassetid://191040613"
- Sound98.Volume = 1
- Script99.Name = "On contact, thud"
- Script99.Parent = Part97
- table.insert(cors,sandbox(Script99,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Fire100.Name = "Fire2"
- Fire100.Parent = Part97
- Fire100.Size = 10
- Fire100.Enabled = false
- Fire100.Heat = -5
- Fire100.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Fire101.Name = "FireEffect"
- Fire101.Parent = Part97
- Fire101.Color = Color3.new(0, 0.666667, 1)
- Fire101.Heat = 0
- Fire101.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
- Fire101.Color = Color3.new(0, 0.666667, 1)
- Part102.Name = "Left Arm"
- Part102.Parent = Model6
- Part102.Material = Enum.Material.DiamondPlate
- Part102.BrickColor = BrickColor.new("Dark stone grey")
- Part102.Rotation = Vector3.new(0, -90, 0)
- Part102.Locked = true
- Part102.Size = Vector3.new(1, 1, 3)
- Part102.CFrame = CFrame.new(25.7874107, 3.50142026, 115.054466, -3.51675999e-06, -1.16871433e-07, -1.00000036, -6.74290987e-08, 1, -1.16405843e-07, 1.0000006, 6.71963676e-08, -3.51675999e-06)
- Part102.BottomSurface = Enum.SurfaceType.Smooth
- Part102.TopSurface = Enum.SurfaceType.Smooth
- Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part102.Position = Vector3.new(25.7874107, 3.50142026, 115.054466)
- Part102.Orientation = Vector3.new(0, -90, 0)
- Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound103.Name = "Sound3"
- Sound103.Parent = Part102
- Sound103.SoundId = "rbxassetid://191040613"
- Sound103.Volume = 1
- Script104.Name = "On contact, thud"
- Script104.Parent = Part102
- table.insert(cors,sandbox(Script104,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Fire105.Name = "Fire2"
- Fire105.Parent = Part102
- Fire105.Size = 10
- Fire105.Enabled = false
- Fire105.Heat = -5
- Fire105.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Fire106.Name = "FireEffect"
- Fire106.Parent = Part102
- Fire106.Color = Color3.new(0, 0.666667, 1)
- Fire106.Heat = 0
- Fire106.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
- Fire106.Color = Color3.new(0, 0.666667, 1)
- Part107.Name = "Right Leg"
- Part107.Parent = Model6
- Part107.Material = Enum.Material.DiamondPlate
- Part107.BrickColor = BrickColor.new("Dark stone grey")
- Part107.Rotation = Vector3.new(0, -90, 0)
- Part107.Locked = true
- Part107.Size = Vector3.new(1, 1, 3)
- Part107.CFrame = CFrame.new(24.7872887, 4.50141716, 119.054794, -3.51672975e-06, -1.39464134e-07, -1.00000036, -7.7127261e-08, 1, -1.38998487e-07, 1.0000006, 7.68944659e-08, -3.51672975e-06)
- Part107.BottomSurface = Enum.SurfaceType.Smooth
- Part107.TopSurface = Enum.SurfaceType.Smooth
- Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part107.Position = Vector3.new(24.7872887, 4.50141716, 119.054794)
- Part107.Orientation = Vector3.new(0, -90, 0)
- Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound108.Name = "Sound3"
- Sound108.Parent = Part107
- Sound108.SoundId = "rbxassetid://191040613"
- Sound108.Volume = 1
- Script109.Name = "On contact, thud"
- Script109.Parent = Part107
- table.insert(cors,sandbox(Script109,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Fire110.Name = "Fire2"
- Fire110.Parent = Part107
- Fire110.Size = 10
- Fire110.Enabled = false
- Fire110.Heat = -5
- Fire110.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Fire111.Name = "FireEffect"
- Fire111.Parent = Part107
- Fire111.Color = Color3.new(0, 0.666667, 1)
- Fire111.Heat = 0
- Fire111.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
- Fire111.Color = Color3.new(0, 0.666667, 1)
- Part112.Name = "Right Arm"
- Part112.Parent = Model6
- Part112.Material = Enum.Material.DiamondPlate
- Part112.BrickColor = BrickColor.new("Dark stone grey")
- Part112.Rotation = Vector3.new(0, -90, 0)
- Part112.Locked = true
- Part112.Size = Vector3.new(1, 1, 3)
- Part112.CFrame = CFrame.new(25.787365, 3.5014205, 119.054764, -3.51673566e-06, -1.33175789e-07, -1.00000036, -7.43981232e-08, 1, -1.32710156e-07, 1.0000006, 7.41653423e-08, -3.51673566e-06)
- Part112.BottomSurface = Enum.SurfaceType.Smooth
- Part112.TopSurface = Enum.SurfaceType.Smooth
- Part112.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part112.Position = Vector3.new(25.787365, 3.5014205, 119.054764)
- Part112.Orientation = Vector3.new(0, -90, 0)
- Part112.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound113.Name = "Sound3"
- Sound113.Parent = Part112
- Sound113.SoundId = "rbxassetid://191040613"
- Sound113.Volume = 1
- Script114.Name = "On contact, thud"
- Script114.Parent = Part112
- table.insert(cors,sandbox(Script114,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
- if HitPower >= 600 then
- script.Parent.Fire2.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.2)
- script.Parent.Fire2.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Fire115.Name = "Fire2"
- Fire115.Parent = Part112
- Fire115.Size = 10
- Fire115.Enabled = false
- Fire115.Heat = -5
- Fire115.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Fire116.Name = "FireEffect"
- Fire116.Parent = Part112
- Fire116.Color = Color3.new(0, 0.666667, 1)
- Fire116.Heat = 0
- Fire116.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
- Fire116.Color = Color3.new(0, 0.666667, 1)
- ForceField117.Parent = Model6
- Script118.Name = "Wait 10 sec then remove"
- Script118.Parent = ForceField117
- table.insert(cors,sandbox(Script118,function()
- wait(10)
- script.Parent:Destroy()
- end))
- Part119.Name = "AirstrikeLaserSight"
- Part119.Parent = Model6
- Part119.Material = Enum.Material.Neon
- Part119.BrickColor = BrickColor.new("Really red")
- Part119.Transparency = 0.75
- Part119.Rotation = Vector3.new(0, 0, 160)
- Part119.CanCollide = false
- Part119.Shape = Enum.PartType.Cylinder
- Part119.Size = Vector3.new(1, 1, 1)
- Part119.CFrame = CFrame.new(31.4326515, 5.01440525, 117.054611, -0.939694524, -0.34202081, -4.10786924e-08, 0.342020214, -0.939692616, 1.43691716e-08, -4.39081305e-08, 5.4751581e-10, 1.00000334)
- Part119.BottomSurface = Enum.SurfaceType.Smooth
- Part119.TopSurface = Enum.SurfaceType.Smooth
- Part119.Color = Color3.new(1, 0, 0)
- Part119.Position = Vector3.new(31.4326515, 5.01440525, 117.054611)
- Part119.Orientation = Vector3.new(0, 0, 160)
- Part119.Color = Color3.new(1, 0, 0)
- SpecialMesh120.Parent = Part119
- SpecialMesh120.Offset = Vector3.new(-2505, -7, 0)
- SpecialMesh120.Scale = Vector3.new(5000, 1, 1)
- SpecialMesh120.MeshType = Enum.MeshType.Cylinder
- SpecialMesh120.Scale = Vector3.new(5000, 1, 1)
- Part121.Name = "ShotLaserSight"
- Part121.Parent = Model6
- Part121.Material = Enum.Material.Neon
- Part121.BrickColor = BrickColor.new("Neon orange")
- Part121.Transparency = 0.75
- Part121.Rotation = Vector3.new(0, 0, -180)
- Part121.CanCollide = false
- Part121.Shape = Enum.PartType.Cylinder
- Part121.Size = Vector3.new(1, 1, 1)
- Part121.CFrame = CFrame.new(31.4326515, 5.01440525, 117.054619, -1.00000095, 8.81215456e-08, -4.37130439e-08, -8.67240928e-08, -1, -2.9051217e-10, -4.37094059e-08, 2.90503482e-10, 1.00000167)
- Part121.BottomSurface = Enum.SurfaceType.Smooth
- Part121.TopSurface = Enum.SurfaceType.Smooth
- Part121.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part121.Position = Vector3.new(31.4326515, 5.01440525, 117.054619)
- Part121.Orientation = Vector3.new(0, 0, -180)
- Part121.Color = Color3.new(0.835294, 0.45098, 0.239216)
- SpecialMesh122.Parent = Part121
- SpecialMesh122.Offset = Vector3.new(-2507, -4.80000019, 0)
- SpecialMesh122.Scale = Vector3.new(5000, 1, 1)
- SpecialMesh122.MeshType = Enum.MeshType.Cylinder
- SpecialMesh122.Scale = Vector3.new(5000, 1, 1)
- Part123.Name = "UpwardsLaserSight"
- Part123.Parent = Model6
- Part123.Material = Enum.Material.Neon
- Part123.BrickColor = BrickColor.new("Really red")
- Part123.Transparency = 0.75
- Part123.Rotation = Vector3.new(0, 0, -160)
- Part123.CanCollide = false
- Part123.Shape = Enum.PartType.Cylinder
- Part123.Size = Vector3.new(1, 1, 1)
- Part123.CFrame = CFrame.new(31.4326534, 5.01440525, 117.054619, -0.93969357, 0.342020512, -4.10773282e-08, -0.342020214, -0.939692616, -1.52406869e-08, -4.36111804e-08, 2.72393663e-10, 1.00000167)
- Part123.BottomSurface = Enum.SurfaceType.Smooth
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.Color = Color3.new(1, 0, 0)
- Part123.Position = Vector3.new(31.4326534, 5.01440525, 117.054619)
- Part123.Orientation = Vector3.new(0, 0, -160)
- Part123.Color = Color3.new(1, 0, 0)
- SpecialMesh124.Parent = Part123
- SpecialMesh124.Offset = Vector3.new(-2508.25, -2, 0)
- SpecialMesh124.Scale = Vector3.new(5000, 1, 1)
- SpecialMesh124.MeshType = Enum.MeshType.Cylinder
- SpecialMesh124.Scale = Vector3.new(5000, 1, 1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement