Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Raining Giant Cubes (Spam Version)
- -- Made By Clyclop12345
- -- This will lag and this was made for script builder
- -- If you die it'll stop
- while true do
- local Part = Instance.new("Part")
- Part.Parent = game.Workspace
- Part.Position = Vector3.new ((math.random(-500, 500)),200,(math.random(-500,500)))
- Part.Size = Vector3.new( 50, 50, 50 )--The size
- Part.BrickColor = BrickColor:Random()
- Part.Shape = 1 -- 0 = Ball; 1= Brck; 2=Cylinder
- Part.Material = "Neon"
- Part.Locked = true
- Part.Anchored = false
- Part.CanCollide = true
- wait()
- function onTouched(Part)
- local h = Part.Parent:FindFirstChild("Humanoid")
- if h~= nil then
- h.Health = 0
- end
- end
- script.Parent.Touched:connect(onTouched)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement