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"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Sound2 = Instance.new("Sound")
- Fire3 = Instance.new("Fire")
- Sound4 = Instance.new("Sound")
- BodyGyro5 = Instance.new("BodyGyro")
- Motor6D6 = Instance.new("Motor6D")
- Motor6D7 = Instance.new("Motor6D")
- Motor6D8 = Instance.new("Motor6D")
- Sound9 = Instance.new("Sound")
- Fire10 = Instance.new("Fire")
- Script11 = Instance.new("Script")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Motor6D14 = Instance.new("Motor6D")
- Motor6D15 = Instance.new("Motor6D")
- VehicleSeat16 = Instance.new("VehicleSeat")
- Motor6D17 = Instance.new("Motor6D")
- Part18 = Instance.new("Part")
- ClickDetector19 = Instance.new("ClickDetector")
- Script20 = Instance.new("Script")
- BoolValue21 = Instance.new("BoolValue")
- Motor6D22 = Instance.new("Motor6D")
- Sound23 = Instance.new("Sound")
- Fire24 = Instance.new("Fire")
- Script25 = Instance.new("Script")
- SpotLight26 = Instance.new("SpotLight")
- Motor6D27 = Instance.new("Motor6D")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Script30 = Instance.new("Script")
- Sound31 = Instance.new("Sound")
- Script32 = Instance.new("Script")
- Script33 = Instance.new("Script")
- Sound34 = Instance.new("Sound")
- Model35 = Instance.new("Model")
- Script36 = Instance.new("Script")
- Script37 = Instance.new("Script")
- Script38 = Instance.new("Script")
- Script39 = Instance.new("Script")
- Script40 = Instance.new("Script")
- Sound41 = Instance.new("Sound")
- Script42 = Instance.new("Script")
- Fire43 = Instance.new("Fire")
- Script44 = Instance.new("Script")
- Humanoid45 = Instance.new("Humanoid")
- Script46 = Instance.new("Script")
- Script47 = Instance.new("Script")
- Script48 = Instance.new("Script")
- Script49 = Instance.new("Script")
- Script50 = Instance.new("Script")
- Script51 = Instance.new("Script")
- Script52 = Instance.new("Script")
- Script53 = Instance.new("Script")
- Script54 = Instance.new("Script")
- Script55 = Instance.new("Script")
- Script56 = Instance.new("Script")
- Part57 = Instance.new("Part")
- Sound58 = Instance.new("Sound")
- Script59 = Instance.new("Script")
- Script60 = Instance.new("Script")
- Sound61 = Instance.new("Sound")
- Fire62 = Instance.new("Fire")
- Script63 = Instance.new("Script")
- Part64 = Instance.new("Part")
- Sound65 = Instance.new("Sound")
- Script66 = Instance.new("Script")
- Configuration67 = Instance.new("Configuration")
- NumberValue68 = Instance.new("NumberValue")
- NumberValue69 = Instance.new("NumberValue")
- NumberValue70 = Instance.new("NumberValue")
- Configuration71 = Instance.new("Configuration")
- NumberValue72 = Instance.new("NumberValue")
- Motor6D73 = Instance.new("Motor6D")
- Sound74 = Instance.new("Sound")
- Fire75 = Instance.new("Fire")
- Script76 = Instance.new("Script")
- ForceField77 = Instance.new("ForceField")
- Script78 = Instance.new("Script")
- Part79 = Instance.new("Part")
- Sound80 = Instance.new("Sound")
- Fire81 = Instance.new("Fire")
- Script82 = Instance.new("Script")
- Part83 = Instance.new("Part")
- Sound84 = Instance.new("Sound")
- Fire85 = Instance.new("Fire")
- Script86 = Instance.new("Script")
- Part87 = Instance.new("Part")
- Sound88 = Instance.new("Sound")
- Fire89 = Instance.new("Fire")
- Script90 = Instance.new("Script")
- Part91 = Instance.new("Part")
- Sound92 = Instance.new("Sound")
- Fire93 = Instance.new("Fire")
- Script94 = Instance.new("Script")
- Part95 = Instance.new("Part")
- Script96 = Instance.new("Script")
- Script97 = Instance.new("Script")
- Sound98 = Instance.new("Sound")
- ClickDetector99 = Instance.new("ClickDetector")
- Sound100 = Instance.new("Sound")
- Part101 = Instance.new("Part")
- Sound102 = Instance.new("Sound")
- Script103 = Instance.new("Script")
- ParticleEmitter104 = Instance.new("ParticleEmitter")
- Fire105 = Instance.new("Fire")
- Part106 = Instance.new("Part")
- Sound107 = Instance.new("Sound")
- Script108 = Instance.new("Script")
- ParticleEmitter109 = Instance.new("ParticleEmitter")
- Fire110 = Instance.new("Fire")
- Part111 = Instance.new("Part")
- Sound112 = Instance.new("Sound")
- Script113 = Instance.new("Script")
- ParticleEmitter114 = Instance.new("ParticleEmitter")
- Fire115 = Instance.new("Fire")
- Part116 = Instance.new("Part")
- Sound117 = Instance.new("Sound")
- Script118 = Instance.new("Script")
- ParticleEmitter119 = Instance.new("ParticleEmitter")
- Fire120 = Instance.new("Fire")
- Model0.Name = "JJK83's Car"
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Base"
- Part1.Parent = Model0
- Part1.Material = Enum.Material.DiamondPlate
- Part1.BrickColor = BrickColor.new("Bright bluish green")
- Part1.Locked = true
- Part1.Size = Vector3.new(5, 1, 5)
- Part1.CFrame = CFrame.new(20.287981, 1.01002681, 15.0551071, 1.0000006, 9.68861329e-08, -3.5167684e-06, -9.71190985e-08, 1, -1.85104113e-07, 3.5167684e-06, 1.85569817e-07, 1.00000036)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0, 0.560784, 0.611765)
- Part1.Position = Vector3.new(20.287981, 1.01002681, 15.0551071)
- Part1.Color = Color3.new(0, 0.560784, 0.611765)
- Sound2.Parent = Part1
- Sound2.Pitch = 1.2000000476837
- Sound2.SoundId = "http://www.roblox.com/asset/?id=66868084 "
- Sound2.Volume = 1
- Fire3.Parent = Part1
- Fire3.Size = 30
- Fire3.Enabled = false
- Fire3.Heat = 25
- Fire3.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Sound4.Name = "Sound2"
- Sound4.Parent = Part1
- Sound4.Pitch = 0.60000002384186
- Sound4.SoundId = "rbxassetid://138185473 "
- Sound4.Volume = 1
- Sound4.Looped = true
- BodyGyro5.Parent = Part1
- BodyGyro5.maxTorque = Vector3.new(0, 0, 0)
- BodyGyro5.MaxTorque = Vector3.new(0, 0, 0)
- Motor6D6.Parent = Part1
- Motor6D6.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)
- Motor6D6.Part0 = Part1
- Motor6D6.Part1 = Part64
- Motor6D7.Parent = Part1
- Motor6D7.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)
- Motor6D7.Part0 = Part1
- Motor6D7.Part1 = Part18
- Motor6D8.Parent = Part1
- Motor6D8.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)
- Motor6D8.Part0 = Part1
- Motor6D8.Part1 = VehicleSeat16
- Sound9.Name = "Sound3"
- Sound9.Parent = Part1
- Sound9.SoundId = "rbxassetid://191040613"
- Sound9.Volume = 1
- Fire10.Name = "Fire2"
- Fire10.Parent = Part1
- Fire10.Size = 10
- Fire10.Enabled = false
- Fire10.Heat = -5
- Fire10.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script11.Name = "On contact, thud"
- Script11.Parent = Part1
- table.insert(cors,sandbox(Script11,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))
- Motor6D12.Parent = Part1
- Motor6D12.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)
- Motor6D12.Part0 = Part1
- Motor6D12.Part1 = Part116
- Motor6D13.Parent = Part1
- Motor6D13.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)
- Motor6D13.Part0 = Part1
- Motor6D13.Part1 = Part111
- Motor6D14.Parent = Part1
- Motor6D14.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)
- Motor6D14.Part0 = Part1
- Motor6D14.Part1 = Part106
- Motor6D15.Parent = Part1
- Motor6D15.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)
- Motor6D15.Part0 = Part1
- Motor6D15.Part1 = Part101
- VehicleSeat16.Name = "Car Seat"
- VehicleSeat16.Parent = Model0
- VehicleSeat16.Material = Enum.Material.Fabric
- VehicleSeat16.BrickColor = BrickColor.new("Black")
- VehicleSeat16.Locked = true
- VehicleSeat16.Size = Vector3.new(3, 1, 3)
- VehicleSeat16.CFrame = CFrame.new(20.2880383, 2.01037002, 15.0548401, 1, 1.54536153e-08, -9.43553222e-11, -1.54536135e-08, 1, -3.58597134e-08, 9.43547671e-11, 3.58597134e-08, 1)
- VehicleSeat16.BottomSurface = Enum.SurfaceType.Smooth
- VehicleSeat16.TopSurface = Enum.SurfaceType.Smooth
- VehicleSeat16.MaxSpeed = 150
- VehicleSeat16.Torque = 12.5
- VehicleSeat16.TurnSpeed = 2.5999999046326
- VehicleSeat16.Color = Color3.new(0.105882, 0.164706, 0.207843)
- VehicleSeat16.Position = Vector3.new(20.2880383, 2.01037002, 15.0548401)
- VehicleSeat16.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Motor6D17.Parent = VehicleSeat16
- Motor6D17.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)
- Motor6D17.Part0 = VehicleSeat16
- Motor6D17.Part1 = Part28
- Part18.Name = "Torso"
- Part18.Parent = Model0
- Part18.Material = Enum.Material.DiamondPlate
- Part18.BrickColor = BrickColor.new("Royal purple")
- Part18.Locked = true
- Part18.Size = Vector3.new(5, 2, 2)
- Part18.CFrame = CFrame.new(20.2879105, 2.51142883, 12.5517187, 1.00000083, -6.66775577e-08, -6.9738403e-06, 6.63855602e-08, 1, -2.0303176e-07, 6.97383985e-06, 2.03730053e-07, 1.00000048)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.Color = Color3.new(0.384314, 0.145098, 0.819608)
- Part18.Position = Vector3.new(20.2879105, 2.51142883, 12.5517187)
- Part18.Color = Color3.new(0.384314, 0.145098, 0.819608)
- ClickDetector19.Parent = Part18
- ClickDetector19.MaxActivationDistance = 4
- Script20.Name = "Flip when clicked"
- Script20.Parent = Part18
- table.insert(cors,sandbox(Script20,function()
- debounce = false
- function onClicked()
- if script.Value.Value == false then
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(400000,0,400000)
- script.Value.Value = true
- script.Parent.Material = "Neon"
- elseif script.Value.Value == true then
- if script.Parent.Parent:FindFirstChild("Base") == nil then return end
- script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(0,0,0)
- script.Value.Value = false
- script.Parent.Material = "DiamondPlate"
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- BoolValue21.Parent = Script20
- Motor6D22.Parent = Part18
- Motor6D22.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)
- Motor6D22.Part0 = Part18
- Motor6D22.Part1 = Part29
- Sound23.Name = "Sound3"
- Sound23.Parent = Part18
- Sound23.SoundId = "rbxassetid://191040613"
- Sound23.Volume = 1
- Fire24.Name = "Fire2"
- Fire24.Parent = Part18
- Fire24.Size = 10
- Fire24.Enabled = false
- Fire24.Heat = -5
- Fire24.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script25.Name = "On contact, thud"
- Script25.Parent = Part18
- table.insert(cors,sandbox(Script25,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))
- SpotLight26.Parent = Part18
- SpotLight26.Color = Color3.new(0.54902, 0, 1)
- SpotLight26.Brightness = 60
- SpotLight26.Range = 60
- SpotLight26.Shadows = true
- SpotLight26.Color = Color3.new(0.54902, 0, 1)
- Motor6D27.Parent = Part18
- Motor6D27.C1 = CFrame.new(7.62939453e-06, -3.49520397, 0.183175087, 1.00000417, -8.03884319e-08, -6.97378073e-06, 4.43805504e-07, 0.99862951, 0.0523359105, 6.96008874e-06, -0.0523357838, 0.998631895)
- Motor6D27.Part0 = Part18
- Motor6D27.Part1 = Part95
- Part28.Name = "Backrest"
- Part28.Parent = Model0
- Part28.Material = Enum.Material.Fabric
- Part28.BrickColor = BrickColor.new("Bright bluish green")
- Part28.Locked = true
- Part28.Size = Vector3.new(3, 2, 1)
- Part28.CFrame = CFrame.new(20.2881603, 3.51226544, 16.0559158, 1.00000012, -3.15864384e-07, -3.56147189e-06, 3.15806062e-07, 1, -2.33532873e-07, 3.56147189e-06, 2.33765761e-07, 1.00000012)
- Part28.BottomSurface = Enum.SurfaceType.Smooth
- Part28.TopSurface = Enum.SurfaceType.Smooth
- Part28.Color = Color3.new(0, 0.560784, 0.611765)
- Part28.Position = Vector3.new(20.2881603, 3.51226544, 16.0559158)
- Part28.Color = Color3.new(0, 0.560784, 0.611765)
- Part29.Name = "Head"
- Part29.Parent = Model0
- Part29.Material = Enum.Material.CorrodedMetal
- Part29.BrickColor = BrickColor.new("Bright bluish green")
- Part29.Locked = true
- Part29.Size = Vector3.new(3, 3, 2)
- Part29.CFrame = CFrame.new(20.2878666, 3.01119304, 10.5513563, 1.00000131, -3.85177846e-05, -8.61297212e-06, 3.85173189e-05, 1, 4.51923916e-06, 8.6129794e-06, -4.51834603e-06, 1.00000083)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0, 0.560784, 0.611765)
- Part29.Position = Vector3.new(20.2878666, 3.01119304, 10.5513563)
- Part29.Color = Color3.new(0, 0.560784, 0.611765)
- Script30.Name = "On contact, damage"
- Script30.Parent = Part29
- table.insert(cors,sandbox(Script30,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)
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound31.Parent = Part29
- Sound31.SoundId = "rbxassetid://356659053"
- Sound31.Volume = 1
- Script32.Name = "On contact, clang"
- Script32.Parent = Part29
- table.insert(cors,sandbox(Script32,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- script.Parent.Sound:Play()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script33.Name = "On contact, explode"
- Script33.Parent = Part29
- table.insert(cors,sandbox(Script33,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))
- Sound34.Name = "Sound2"
- Sound34.Parent = Part29
- Sound34.SoundId = "rbxassetid://168485325"
- Sound34.Volume = 1
- Model35.Name = "Bunch of scripts"
- Model35.Parent = Part29
- Script36.Name = "On contact, hint 151-299 dmg"
- Script36.Parent = Model35
- table.insert(cors,sandbox(Script36,function()
- function onTouched(hit)
- if hit.Parent == nil then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then return end
- if hit.Parent.Humanoid.Health == 0 then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
- if HitPower >= 151 and HitPower <= 299 then
- local hint = Instance.new("Hint")
- hint.Parent = script
- hint.Text = script.Parent.Parent.Parent.Name.." dealt less than 300 damage to "..hit.Parent.Name.."."
- wait(2)
- hint:Destroy()
- else return end
- end
- script.Parent.Parent.Touched:connect(onTouched)
- end))
- Script37.Name = "On contact, hint 300-599 dmg"
- Script37.Parent = Model35
- table.insert(cors,sandbox(Script37,function()
- function onTouched(hit)
- if hit.Parent == nil then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then return end
- if hit.Parent.Humanoid.Health == 0 then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
- if HitPower >= 300 and HitPower <= 599 then
- local hint = Instance.new("Hint")
- hint.Parent = script
- hint.Text = script.Parent.Parent.Parent.Name.." dealt about 450 damage to "..hit.Parent.Name.."."
- wait(2)
- hint:Destroy()
- else return end
- end
- script.Parent.Parent.Touched:connect(onTouched)
- end))
- Script38.Name = "On contact, hint 600-899 dmg"
- Script38.Parent = Model35
- table.insert(cors,sandbox(Script38,function()
- function onTouched(hit)
- if hit.Parent == nil then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then return end
- if hit.Parent.Humanoid.Health == 0 then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
- if HitPower >= 600 and HitPower <= 899 then
- local hint = Instance.new("Hint")
- hint.Parent = script
- hint.Text = script.Parent.Parent.Parent.Name.." dealt about 750 damage to "..hit.Parent.Name.."."
- wait(2)
- hint:Destroy()
- else return end
- end
- script.Parent.Parent.Touched:connect(onTouched)
- end))
- Script39.Name = "On contact, hint 900-1199 dmg"
- Script39.Parent = Model35
- table.insert(cors,sandbox(Script39,function()
- function onTouched(hit)
- if hit.Parent == nil then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then return end
- if hit.Parent.Humanoid.Health == 0 then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
- if HitPower >= 900 and HitPower <= 1199 then
- local hint = Instance.new("Hint")
- hint.Parent = script
- hint.Text = script.Parent.Parent.Parent.Name.." dealt about 1050 damage to "..hit.Parent.Name.."."
- wait(2)
- hint:Destroy()
- else return end
- end
- script.Parent.Parent.Touched:connect(onTouched)
- end))
- Script40.Name = "On contact, hint 1200 or greater dmg"
- Script40.Parent = Model35
- table.insert(cors,sandbox(Script40,function()
- function onTouched(hit)
- if hit.Parent == nil then return end
- if hit.Parent:FindFirstChild("Humanoid") == nil then return end
- if hit.Parent.Humanoid.Health == 0 then return end
- local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
- if HitPower >= 1200 then
- local hint = Instance.new("Hint")
- hint.Parent = script
- hint.Text = script.Parent.Parent.Parent.Name.." dealt a MASSIVE 1200 or greater damage to "..hit.Parent.Name.."!!"
- wait(2)
- hint:Destroy()
- else return end
- end
- script.Parent.Parent.Touched:connect(onTouched)
- end))
- Sound41.Name = "Sound3"
- Sound41.Parent = Part29
- Sound41.SoundId = "rbxassetid://191040613"
- Sound41.Volume = 1
- Script42.Name = "On contact, break stuff"
- Script42.Parent = Part29
- table.insert(cors,sandbox(Script42,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))
- Fire43.Name = "Fire2"
- Fire43.Parent = Part29
- Fire43.Size = 10
- Fire43.Enabled = false
- Fire43.Heat = -5
- Fire43.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script44.Name = "On contact, thud"
- Script44.Parent = Part29
- table.insert(cors,sandbox(Script44,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))
- Humanoid45.Parent = Model0
- Humanoid45.RightLeg = Part111
- Humanoid45.LeftLeg = Part101
- Humanoid45.Torso = Part18
- Humanoid45.Health = 1200
- Humanoid45.MaxHealth = 1200
- Script46.Name = "Auto sit"
- Script46.Parent = Humanoid45
- table.insert(cors,sandbox(Script46,function()
- while true do
- wait(0.1)
- script.Parent.Sit = true
- end
- end))
- Script47.Name = "When demolished, name, disable bumper, destroy cannon and print to log"
- Script47.Parent = Humanoid45
- table.insert(cors,sandbox(Script47,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
- script.Parent.Parent.Head["Bunch of scripts"]:Destroy()
- script.Parent.Parent["FIRE!"]:Destroy()
- wait(4)
- script.Parent.Parent.Name = "> WRECKED < "..script.Parent.Parent.Name.." > WRECKED <"
- end
- script.Parent.Died:connect(Die)
- end))
- Script48.Name = "When demolished, wait 3 min then remove"
- Script48.Parent = Humanoid45
- table.insert(cors,sandbox(Script48,function()
- function Die()
- wait(180)
- script.Parent.Parent:remove()
- end
- script.Parent.Died:connect(Die)
- end))
- Script49.Name = "When demolished, sound"
- Script49.Parent = Humanoid45
- table.insert(cors,sandbox(Script49,function()
- function Die()
- 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))
- Script50.Name = "Auto heal"
- Script50.Parent = Humanoid45
- table.insert(cors,sandbox(Script50,function()
- while true do
- if script.Parent.Health == script.Parent.MaxHealth then return end
- if script.Parent.Health == 0 then return end
- script.Parent.Health = script.Parent.Health + 3
- wait(0.5)
- end
- end))
- Script51.Name = "When demolished, hollywood"
- Script51.Parent = Humanoid45
- table.insert(cors,sandbox(Script51,function()
- function Die()
- 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
- e.ExplosionType = "NoCraters"
- e.BlastRadius = 2.6
- 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))
- Script52.Name = "When demolished, remove the engine"
- Script52.Parent = Humanoid45
- table.insert(cors,sandbox(Script52,function()
- function Die()
- if script.Parent.Parent:FindFirstChild("Engine") == nil then return end
- script.Parent.Parent.Engine:Destroy()
- end
- script.Parent.Died:connect(Die)
- end))
- Script53.Name = "When demolished, disable chair"
- Script53.Parent = Humanoid45
- table.insert(cors,sandbox(Script53,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))
- Script54.Name = "When demolished, hint"
- Script54.Parent = Humanoid45
- table.insert(cors,sandbox(Script54,function()
- function Die()
- wait(2)
- local hint = Instance.new("Hint")
- hint.Parent = script.Parent.Parent
- hint.Text = script.Parent.Parent.Name.." has been wrecked!"
- wait(1)
- hint:Destroy()
- end
- script.Parent.Died:connect(Die)
- end))
- Script55.Name = "When demolished, remove instantly if bumper gone."
- Script55.Parent = Humanoid45
- table.insert(cors,sandbox(Script55,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))
- Script56.Name = "When demolished, disable light"
- Script56.Parent = Humanoid45
- table.insert(cors,sandbox(Script56,function()
- function Die()
- if script.Parent.Parent:FindFirstChild("Torso") == nil then return end
- script.Parent.Parent.Torso.SurfaceLight.Enabled = false
- end
- script.Parent.Died:connect(Die)
- end))
- Part57.Name = "Neon Flag"
- Part57.Parent = Model0
- Part57.Material = Enum.Material.Neon
- Part57.BrickColor = BrickColor.new("Bright bluish green")
- Part57.Rotation = Vector3.new(180, 0, 180)
- Part57.Locked = true
- Part57.Size = Vector3.new(1, 2, 3)
- Part57.CFrame = CFrame.new(20.2877903, 4.71093988, 19.0579109, -1.00000131, -3.92570109e-05, 7.55043729e-05, -3.92569345e-05, 1, -6.59829129e-06, -7.548945e-05, -6.60007436e-06, -1.00000107)
- Part57.BottomSurface = Enum.SurfaceType.Smooth
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.Color = Color3.new(0, 0.560784, 0.611765)
- Part57.Position = Vector3.new(20.2877903, 4.71093988, 19.0579109)
- Part57.Orientation = Vector3.new(0, 180, 0)
- Part57.Color = Color3.new(0, 0.560784, 0.611765)
- Sound58.Parent = Part57
- Sound58.Pitch = 1.5
- Sound58.SoundId = "rbxassetid://356659053"
- Sound58.Volume = 1
- Script59.Name = "On contact, sound"
- Script59.Parent = Part57
- table.insert(cors,sandbox(Script59,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- script.Parent.Sound:Play()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script60.Name = "On contact, heal"
- Script60.Parent = Part57
- table.insert(cors,sandbox(Script60,function()
- function onTouched()
- script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound61.Name = "Sound3"
- Sound61.Parent = Part57
- Sound61.SoundId = "rbxassetid://191040613"
- Sound61.Volume = 1
- Fire62.Name = "Fire2"
- Fire62.Parent = Part57
- Fire62.Size = 10
- Fire62.Enabled = false
- Fire62.Heat = -5
- Fire62.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Script63.Name = "On contact, thud"
- Script63.Parent = Part57
- table.insert(cors,sandbox(Script63,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))
- Part64.Name = "Engine"
- Part64.Parent = Model0
- Part64.Material = Enum.Material.CorrodedMetal
- Part64.BrickColor = BrickColor.new("Royal purple")
- Part64.Locked = true
- Part64.Size = Vector3.new(3, 2.19999981, 2)
- Part64.CFrame = CFrame.new(20.2880173, 2.61075759, 17.5574875, 1.00000083, -4.09004606e-05, -7.21962642e-05, 4.09005625e-05, 1, 6.39050586e-06, 7.21962497e-05, -6.39274094e-06, 1.0000006)
- Part64.BottomSurface = Enum.SurfaceType.Smooth
- Part64.TopSurface = Enum.SurfaceType.Smooth
- Part64.Color = Color3.new(0.384314, 0.145098, 0.819608)
- Part64.Position = Vector3.new(20.2880173, 2.61075759, 17.5574875)
- Part64.Color = Color3.new(0.384314, 0.145098, 0.819608)
- Sound65.Name = "Engine"
- Sound65.Parent = Part64
- Sound65.Pitch = 0.76000678539276
- Sound65.SoundId = "rbxassetid://130091914"
- Sound65.Volume = 0.69999998807907
- Sound65.Looped = true
- Script66.Name = "SoundScript"
- Script66.Parent = Part64
- table.insert(cors,sandbox(Script66,function()
- v = script.Parent.Parent["Car Seat"]
- e = script.Parent.Engine
- maxrevs = script.Parent.Advanced.MaxRevs.Value
- minrevs = script.Parent.Advanced.MinRevs.Value
- mod = v.MaxSpeed/130
- e:Play()
- while true do
- wait(0.1)
- mod = v.MaxSpeed/150
- if v.Throttle == 1 and e.Pitch < maxrevs then
- e.Pitch = e.Pitch + (0.09/mod)
- end
- if v.Throttle == 0 and e.Pitch > minrevs then
- e.Pitch = e.Pitch - (0.17/mod)
- end
- if v.Throttle == -1 and e.Pitch > minrevs then
- e.Pitch = e.Pitch - (0.22/mod)
- end
- end
- end))
- Configuration67.Name = "Advanced"
- Configuration67.Parent = Part64
- NumberValue68.Name = "EngineVolume"
- NumberValue68.Parent = Configuration67
- NumberValue68.Value = 0.7
- NumberValue69.Name = "MaxRevs"
- NumberValue69.Parent = Configuration67
- NumberValue69.Value = 1.79
- NumberValue70.Name = "MinRevs"
- NumberValue70.Parent = Configuration67
- NumberValue70.Value = 0.9
- Configuration71.Parent = Part64
- NumberValue72.Name = "MaxSpeed"
- NumberValue72.Parent = Configuration71
- NumberValue72.Value = 150
- Motor6D73.Parent = Part64
- Motor6D73.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)
- Motor6D73.Part0 = Part64
- Motor6D73.Part1 = Part57
- Sound74.Name = "Sound3"
- Sound74.Parent = Part64
- Sound74.SoundId = "rbxassetid://191040613"
- Sound74.Volume = 1
- Fire75.Name = "Fire2"
- Fire75.Parent = Part64
- 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 = Part64
- 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))
- ForceField77.Parent = Model0
- Script78.Name = "Wait 10 sec then remove"
- Script78.Parent = ForceField77
- table.insert(cors,sandbox(Script78,function()
- wait(10)
- script.Parent:Destroy()
- end))
- Part79.Name = "Wheel"
- Part79.Parent = Model0
- Part79.Material = Enum.Material.Concrete
- Part79.BrickColor = BrickColor.new("Dark stone grey")
- Part79.Locked = true
- Part79.Shape = Enum.PartType.Cylinder
- Part79.Size = Vector3.new(2, 3, 3)
- Part79.CFrame = CFrame.new(23.7879944, 1.51001799, 12.5550385, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part79.BottomSurface = Enum.SurfaceType.Smooth
- Part79.LeftSurface = Enum.SurfaceType.Hinge
- Part79.TopSurface = Enum.SurfaceType.Smooth
- Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part79.Position = Vector3.new(23.7879944, 1.51001799, 12.5550385)
- Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound80.Name = "Sound3"
- Sound80.Parent = Part79
- Sound80.SoundId = "rbxassetid://262353320"
- Sound80.Volume = 1
- Fire81.Parent = Part79
- Fire81.Color = Color3.new(1, 1, 1)
- Fire81.Enabled = false
- Fire81.Heat = -3
- Fire81.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
- Fire81.Color = Color3.new(1, 1, 1)
- Script82.Name = "On contact, screech"
- Script82.Parent = Part79
- table.insert(cors,sandbox(Script82,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
- if HitPower >= 4075 then
- script.Parent.Fire.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.1)
- script.Parent.Fire.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Part83.Name = "Wheel"
- Part83.Parent = Model0
- Part83.Material = Enum.Material.Concrete
- Part83.BrickColor = BrickColor.new("Dark stone grey")
- Part83.Locked = true
- Part83.Shape = Enum.PartType.Cylinder
- Part83.Size = Vector3.new(2, 3, 3)
- Part83.CFrame = CFrame.new(16.7879753, 1.51001799, 17.5550232, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part83.BottomSurface = Enum.SurfaceType.Smooth
- Part83.RightSurface = Enum.SurfaceType.Hinge
- Part83.TopSurface = Enum.SurfaceType.Smooth
- Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part83.Position = Vector3.new(16.7879753, 1.51001799, 17.5550232)
- Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound84.Name = "Sound3"
- Sound84.Parent = Part83
- Sound84.SoundId = "rbxassetid://262353320"
- Sound84.Volume = 1
- Fire85.Parent = Part83
- Fire85.Color = Color3.new(1, 1, 1)
- Fire85.Enabled = false
- Fire85.Heat = -3
- Fire85.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
- Fire85.Color = Color3.new(1, 1, 1)
- Script86.Name = "On contact, screech"
- Script86.Parent = Part83
- table.insert(cors,sandbox(Script86,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
- if HitPower >= 4075 then
- script.Parent.Fire.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.1)
- script.Parent.Fire.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Part87.Name = "Wheel"
- Part87.Parent = Model0
- Part87.Material = Enum.Material.Concrete
- Part87.BrickColor = BrickColor.new("Dark stone grey")
- Part87.Locked = true
- Part87.Shape = Enum.PartType.Cylinder
- Part87.Size = Vector3.new(2, 3, 3)
- Part87.CFrame = CFrame.new(23.7879791, 1.51001799, 17.5550385, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part87.BottomSurface = Enum.SurfaceType.Smooth
- Part87.LeftSurface = Enum.SurfaceType.Hinge
- Part87.TopSurface = Enum.SurfaceType.Smooth
- Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part87.Position = Vector3.new(23.7879791, 1.51001799, 17.5550385)
- Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound88.Name = "Sound3"
- Sound88.Parent = Part87
- Sound88.SoundId = "rbxassetid://262353320"
- Sound88.Volume = 1
- Fire89.Parent = Part87
- Fire89.Color = Color3.new(1, 1, 1)
- Fire89.Enabled = false
- Fire89.Heat = -3
- Fire89.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
- Fire89.Color = Color3.new(1, 1, 1)
- Script90.Name = "On contact, screech"
- Script90.Parent = Part87
- table.insert(cors,sandbox(Script90,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
- if HitPower >= 4075 then
- script.Parent.Fire.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.1)
- script.Parent.Fire.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Part91.Name = "Wheel"
- Part91.Parent = Model0
- Part91.Material = Enum.Material.Concrete
- Part91.BrickColor = BrickColor.new("Dark stone grey")
- Part91.Locked = true
- Part91.Shape = Enum.PartType.Cylinder
- Part91.Size = Vector3.new(2, 3, 3)
- Part91.CFrame = CFrame.new(16.7879925, 1.51001799, 12.5550222, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part91.BottomSurface = Enum.SurfaceType.Smooth
- Part91.RightSurface = Enum.SurfaceType.Hinge
- Part91.TopSurface = Enum.SurfaceType.Smooth
- Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part91.Position = Vector3.new(16.7879925, 1.51001799, 12.5550222)
- Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound92.Name = "Sound3"
- Sound92.Parent = Part91
- Sound92.SoundId = "rbxassetid://262353320"
- Sound92.Volume = 1
- Fire93.Parent = Part91
- Fire93.Color = Color3.new(1, 1, 1)
- Fire93.Enabled = false
- Fire93.Heat = -3
- Fire93.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
- Fire93.Color = Color3.new(1, 1, 1)
- Script94.Name = "On contact, screech"
- Script94.Parent = Part91
- table.insert(cors,sandbox(Script94,function()
- function onTouched(hit)
- if hit.CanCollide == false then return end
- local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
- if HitPower >= 4075 then
- script.Parent.Fire.Enabled = true
- script.Parent.Sound3:Play()
- wait(0.1)
- script.Parent.Fire.Enabled = false
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Part95.Name = "FIRE!"
- Part95.Parent = Model0
- Part95.Material = Enum.Material.DiamondPlate
- Part95.BrickColor = BrickColor.new("Lime green")
- Part95.Rotation = Vector3.new(3, 0, 0)
- Part95.Size = Vector3.new(1, 1, 2)
- Part95.CFrame = CFrame.new(20.2879028, 6.01142931, 12.5517197, 1.00000501, 1.22374217e-08, -7.14862836e-10, -1.40011789e-08, 0.99862951, -0.052335985, 8.50377546e-11, 0.0523361415, 0.998632371)
- Part95.BottomSurface = Enum.SurfaceType.Smooth
- Part95.TopSurface = Enum.SurfaceType.Smooth
- Part95.Color = Color3.new(0, 1, 0)
- Part95.Position = Vector3.new(20.2879028, 6.01142931, 12.5517197)
- Part95.Orientation = Vector3.new(3, 0, 0)
- Part95.Color = Color3.new(0, 1, 0)
- Script96.Name = "Fire"
- Script96.Parent = Part95
- table.insert(cors,sandbox(Script96,function()
- function Clicked()
- script.Parent.Sound3:Play()
- local Ammo = Instance.new("Part")
- Ammo.BrickColor = BrickColor.new("Really red")
- Ammo.Material = "Neon"
- Ammo.Parent = game.Workspace
- Ammo.Velocity = script.Parent.CFrame.lookVector * 600
- Ammo.Position = script.Parent.CFrame * Vector3.new(0,-3,-6)
- Ammo.Size = Vector3.new(3,3,3)
- Ammo.Shape = "Ball"
- Ammo.Name = "Flaming Cannonball"
- local explosive = script["On contact, explode"]:Clone()
- explosive.Parent = Ammo
- explosive.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(1)
- script.Parent.BrickColor = BrickColor.new("Lime green")
- script.Disabled = false
- end
- script.Parent.ClickDetector.MouseClick:connect(Clicked)
- end))
- Script97.Name = "On contact, explode"
- Script97.Parent = Script96
- Script97.Disabled = true
- table.insert(cors,sandbox(Script97,function()
- function onTouched(hit)
- if hit == nil then return end
- if hit.CanCollide == false then return end
- local BOOM = Instance.new("Explosion")
- BOOM.Parent = game.Workspace
- BOOM.Position = script.Parent.Position
- script.Parent.Sound:Play()
- script.Disabled = true
- script.Parent.Anchored = true
- script.Parent.CanCollide = false
- script.Parent.Transparency = 1
- wait(2)
- script.Parent:Destroy()
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound98.Parent = Script96
- Sound98.Pitch = 1.2000000476837
- Sound98.SoundId = "http://www.roblox.com/asset/?id=66868084 "
- Sound98.Volume = 1
- ClickDetector99.Parent = Part95
- ClickDetector99.MaxActivationDistance = 4
- Sound100.Name = "Sound3"
- Sound100.Parent = Part95
- Sound100.SoundId = "rbxassetid://191040613"
- Sound100.Volume = 1
- Part101.Name = "Left Leg"
- Part101.Parent = Model0
- Part101.Material = Enum.Material.DiamondPlate
- Part101.BrickColor = BrickColor.new("Dark stone grey")
- Part101.Locked = true
- Part101.Size = Vector3.new(1, 1, 3)
- Part101.CFrame = CFrame.new(18.287817, 3.01002693, 19.0552959, 1.0000006, 8.735433e-08, -3.51683457e-06, -8.75872246e-08, 1, -1.63212405e-07, 3.51683457e-06, 1.63678067e-07, 1.00000036)
- Part101.BottomSurface = Enum.SurfaceType.Smooth
- Part101.TopSurface = Enum.SurfaceType.Smooth
- Part101.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part101.Position = Vector3.new(18.287817, 3.01002693, 19.0552959)
- Part101.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound102.Name = "Sound3"
- Sound102.Parent = Part101
- Sound102.SoundId = "rbxassetid://191040613"
- Sound102.Volume = 1
- Script103.Name = "On contact, thud"
- Script103.Parent = Part101
- table.insert(cors,sandbox(Script103,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))
- ParticleEmitter104.Parent = Part101
- ParticleEmitter104.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter104.Size = NumberSequence.new(0,1.9999998807907)
- ParticleEmitter104.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- ParticleEmitter104.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter104.Lifetime = NumberRange.new(0.5, 2.5)
- ParticleEmitter104.Rate = 10
- ParticleEmitter104.RotSpeed = NumberRange.new(0, 30)
- ParticleEmitter104.Speed = NumberRange.new(-3, -3)
- ParticleEmitter104.VelocitySpread = 5
- ParticleEmitter104.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- Fire105.Name = "Fire2"
- Fire105.Parent = Part101
- Fire105.Size = 10
- Fire105.Enabled = false
- Fire105.Heat = -5
- Fire105.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Part106.Name = "Left Arm"
- Part106.Parent = Model0
- Part106.Material = Enum.Material.DiamondPlate
- Part106.BrickColor = BrickColor.new("Dark stone grey")
- Part106.Locked = true
- Part106.Size = Vector3.new(1, 1, 3)
- Part106.CFrame = CFrame.new(18.2878361, 2.01002836, 18.0552406, 1.0000006, 8.26499829e-08, -3.51685435e-06, -8.2882849e-08, 1, -1.52265514e-07, 3.51685435e-06, 1.52731147e-07, 1.00000036)
- Part106.BottomSurface = Enum.SurfaceType.Smooth
- Part106.TopSurface = Enum.SurfaceType.Smooth
- Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part106.Position = Vector3.new(18.2878361, 2.01002836, 18.0552406)
- Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound107.Name = "Sound3"
- Sound107.Parent = Part106
- Sound107.SoundId = "rbxassetid://191040613"
- Sound107.Volume = 1
- Script108.Name = "On contact, thud"
- Script108.Parent = Part106
- table.insert(cors,sandbox(Script108,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))
- ParticleEmitter109.Parent = Part106
- ParticleEmitter109.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter109.Size = NumberSequence.new(0,1.9999998807907)
- ParticleEmitter109.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- ParticleEmitter109.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter109.Lifetime = NumberRange.new(0.5, 2.5)
- ParticleEmitter109.Rate = 10
- ParticleEmitter109.RotSpeed = NumberRange.new(0, 30)
- ParticleEmitter109.Speed = NumberRange.new(-3, -3)
- ParticleEmitter109.VelocitySpread = 5
- ParticleEmitter109.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- Fire110.Name = "Fire2"
- Fire110.Parent = Part106
- Fire110.Size = 10
- Fire110.Enabled = false
- Fire110.Heat = -5
- Fire110.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Part111.Name = "Right Leg"
- Part111.Parent = Model0
- Part111.Material = Enum.Material.DiamondPlate
- Part111.BrickColor = BrickColor.new("Dark stone grey")
- Part111.Locked = true
- Part111.Size = Vector3.new(1, 1, 3)
- Part111.CFrame = CFrame.new(22.288166, 3.01002502, 19.0553646, 1.0000006, 9.23480812e-08, -3.51682411e-06, -9.25810113e-08, 1, -1.74858158e-07, 3.51682411e-06, 1.75323848e-07, 1.00000036)
- Part111.BottomSurface = Enum.SurfaceType.Smooth
- Part111.TopSurface = Enum.SurfaceType.Smooth
- Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part111.Position = Vector3.new(22.288166, 3.01002502, 19.0553646)
- Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound112.Name = "Sound3"
- Sound112.Parent = Part111
- Sound112.SoundId = "rbxassetid://191040613"
- Sound112.Volume = 1
- Script113.Name = "On contact, thud"
- Script113.Parent = Part111
- table.insert(cors,sandbox(Script113,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))
- ParticleEmitter114.Parent = Part111
- ParticleEmitter114.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter114.Size = NumberSequence.new(0,1.9999998807907)
- ParticleEmitter114.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- ParticleEmitter114.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter114.Lifetime = NumberRange.new(0.5, 2.5)
- ParticleEmitter114.Rate = 10
- ParticleEmitter114.RotSpeed = NumberRange.new(0, 30)
- ParticleEmitter114.Speed = NumberRange.new(-3, -3)
- ParticleEmitter114.VelocitySpread = 5
- ParticleEmitter114.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- Fire115.Name = "Fire2"
- Fire115.Parent = Part111
- Fire115.Size = 10
- Fire115.Enabled = false
- Fire115.Heat = -5
- Fire115.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- Part116.Name = "Right Arm"
- Part116.Parent = Model0
- Part116.Material = Enum.Material.DiamondPlate
- Part116.BrickColor = BrickColor.new("Dark stone grey")
- Part116.Locked = true
- Part116.Size = Vector3.new(1, 1, 3)
- Part116.CFrame = CFrame.new(22.2881355, 2.01002836, 18.0552864, 1.0000006, 8.96189576e-08, -3.51683002e-06, -8.98518735e-08, 1, -1.68569827e-07, 3.51683002e-06, 1.69035502e-07, 1.00000036)
- Part116.BottomSurface = Enum.SurfaceType.Smooth
- Part116.TopSurface = Enum.SurfaceType.Smooth
- Part116.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part116.Position = Vector3.new(22.2881355, 2.01002836, 18.0552864)
- Part116.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound117.Name = "Sound3"
- Sound117.Parent = Part116
- Sound117.SoundId = "rbxassetid://191040613"
- Sound117.Volume = 1
- Script118.Name = "On contact, thud"
- Script118.Parent = Part116
- table.insert(cors,sandbox(Script118,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))
- ParticleEmitter119.Parent = Part116
- ParticleEmitter119.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter119.Size = NumberSequence.new(0,1.9999998807907)
- ParticleEmitter119.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- ParticleEmitter119.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter119.Lifetime = NumberRange.new(0.5, 2.5)
- ParticleEmitter119.Rate = 10
- ParticleEmitter119.RotSpeed = NumberRange.new(0, 30)
- ParticleEmitter119.Speed = NumberRange.new(-3, -3)
- ParticleEmitter119.VelocitySpread = 5
- ParticleEmitter119.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
- Fire120.Name = "Fire2"
- Fire120.Parent = Part116
- Fire120.Size = 10
- Fire120.Enabled = false
- Fire120.Heat = -5
- Fire120.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- 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