Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local character = player.Character
- local mouse = player:GetMouse()
- game.Workspace.Terrain.WaterTransparency = 0.5
- game.Workspace.Terrain.WaterReflectance = 1
- while true do
- wait(0.01)
- game.Workspace.Terrain:Clear()
- for i,w in pairs(game.Workspace:getChildren()) do
- if w.ClassName == ("Model") then
- for i,v in pairs(w:GetChildren()) do
- if v.ClassName == ("Part") then
- v.Transparency = 1
- if v:FindFirstChild("face") ~= nil then
- v.face:Destroy()
- end
- game.Workspace.Terrain:FillBlock(CFrame.new(v.Position.X, v.Position.Y, v.Position.Z), Vector3.new(v.Size.X * 3, v.Size.Y * 3, v.Size.Z * 3), ("Water"))
- end
- if v.ClassName == ("Accessory") then
- v:Destroy()
- end
- end
- end
- if w.ClassName == ("Part") then
- if w.Size.X < 100 and w.Size.Y < 100 and w.Size.Z < 100 then
- game.Workspace.Terrain:FillBlock(CFrame.new(w.Position.X, w.Position.Y, w.Position.Z), Vector3.new(w.Size.X * 1, w.Size.Y * 1, w.Size.Z * 1), ("Slate"))
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement