Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game:FindFirstChildOfClass("Players").Name = "Players"
- local Point1 = Vector3.new(-2500,-10,-2500)
- local Point2 = Vector3.new(2500,2500,2000)
- local Region = Region3.new(Point1,Point2)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
- Part:Remove()
- end
- local Base = Instance.new("Part",script)
- Base.Material = "ForceField"
- Base.BrickColor = BrickColor.new("Green")
- Base.Anchored = true
- Base.Position = Vector3.new(0,10,0)
- Base.Size = Vector3.new(30,1,30)
- Base.Name = "Base"
- for i,plr in pairs(game.Players:GetPlayers()) do
- plr:LoadCharacter()
- end
- function new()
- local NewPart = Instance.new("Part",script)
- NewPart.Material = "ForceField"
- NewPart.Position = Vector3.new(math.random(-128,128), math.random(-128,128), math.random(-128,128))
- NewPart.BrickColor = BrickColor.Random()
- NewPart.Anchored = false
- NewPart.CanCollide = false
- NewPart.Size = Vector3.new(math.random(8,38), math.random(8,38), math.random(8,38))
- NewPart.Name = "We"
- local Part = NewPart
- local Body = Instance.new("BodyPosition")
- Body.Parent = Part
- Body.Position = Vector3.new(math.random(-128,128), math.random(-128,128), math.random(-128,128))
- Body.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- Body.ReachedTarget:Connect(function()
- NewPart.Anchored = true
- NewPart.CanCollide = true
- end)
- game.Debris:AddItem(NewPart,60)
- end
- while1 = coroutine.create(function()
- while true do
- game.Workspace.Gravity = 25
- game.Lighting:SetMinutesAfterMidnight(0)
- for i,part in pairs(game.Workspace:GetChildren()) do
- if part.ClassName == "Part" then
- part:Remove()
- end
- end
- wait(0.1)
- end
- end)
- coroutine.resume(while1)
- while true do
- new()
- wait(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement