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")
- SpecialMesh1 = Instance.new("SpecialMesh")
- Script2 = Instance.new("Script")
- Sound3 = Instance.new("Sound")
- Part0.Name = "NUKE"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(0, 2475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.Position = Vector3.new(0, 2475, 0)
- Part0.Size = Vector3.new(5, 12, 5)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Weld
- Part0.CanCollide = false
- SpecialMesh1.Parent = Part0
- SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=31601976"
- SpecialMesh1.Scale = Vector3.new(5, 6.5, 5)
- SpecialMesh1.VertexColor = Vector3.new(0, 1, 0)
- SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=47236382"
- SpecialMesh1.MeshType = Enum.MeshType.FileMesh
- Script2.Parent = Part0
- Sound3:Play()
- table.insert(cors,sandbox(Script2,function()
- wait(4)
- script.Parent.Anchored = false
- script.Parent.Touched:Connect(function()
- print("HIT")
- script.Parent.Anchored = true
- local Radiation = Instance.new("Part",workspace)
- Radiation.CFrame = script.Parent.CFrame
- Radiation.Anchored = true
- Radiation.Shape = "Ball"
- Radiation.BrickColor = BrickColor.new("Deep orange")
- Radiation.Material = Enum.Material.Glass
- Radiation.Transparency = 0.4
- for i = 1,1500,5 do
- wait(0.01)
- Radiation.Size = Vector3.new(i,i,i)
- Radiation.Touched:Connect(function(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if {h ~= nil} then
- h.Health = 0
- else
- end
- end)
- end
- for i = 0.4,1,0.1 do
- wait(0.1)
- Radiation.Transparency = i
- end
- Radiation:Destroy()
- end)
- end))
- Sound3.Parent = mas
- Sound3.SoundId = "rbxassetid://317987498"
- Sound3.Parent = Part0
- 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