Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- local size,height = 8,3
- local terrain = game.Workspace.Terrain
- local material = Enum.CellMaterial.Grass
- local blocktype = Enum.CellBlock.Solid
- local orientation = Enum.CellOrientation.X
- for y = 1,height do
- for x = -size,size do
- for z = -size,size do
- terrain:SetCell(x,y-1,z,material,blocktype,orientation)
- end
- end
- end
- ]]
- local Username = "PrinceOfHeaven"
- local User = game.Players[Username]
- local char = User.Character
- local debounce = false
- local damage = 1000
- local size = 8
- local terrain = game.Workspace.Terrain
- local material = Enum.CellMaterial.Water
- local blocktype = Enum.CellBlock.Solid
- local orientation = Enum.CellOrientation.X
- for y = 1,1 do
- for x = -size,size do
- for z = -size,size do
- terrain:SetCell(x,y-1,z,material,blocktype,orientation)
- end
- end
- end
- for _,v in pairs(char:GetChildren()) do
- --[[if v.Name ~= "Torso" and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then]]
- if v.Name == "Torso" then
- local m = Instance.new("SpecialMesh", v)
- m.MeshType = "FileMesh"
- m.MeshId = "http://www.roblox.com/asset/?id=23257745"
- m.TextureId = "http://www.roblox.com/asset/?id=23257741"
- m.Scale = Vector3.new(3, 3, 8)
- v.Touched:connect(function(hit)
- local h = hit.Parent:findFirstChild("Humanoid")
- if h ~= nil and debounce == false then
- debounce = true
- h.Health = h.Health - damage
- wait(0.1)
- debounce = false
- end
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment