Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players.LocalPlayer
- Char = Player.Character
- Mouse = Player:GetMouse()
- function EarthKick(key)
- key = key:lower()
- if key == "v" then
- local ChatService = game:GetService("Chat")
- ChatService:Chat(Char.Head, "Earth Kick!", "Red")
- for i = 1, 100, 3 do
- wait()
- Char.Torso.Anchored = true
- local EarthBlock = Instance.new("Part");
- EarthBlock.Parent = game.Workspace
- EarthBlock.Size = Vector3.new(math.random(4,6),math.random(4,6),math.random(4,6))
- EarthBlock.Anchored = true
- EarthBlock.TopSurface = 0
- EarthBlock.BottomSurface = 0
- EarthBlock.BrickColor = BrickColor.new("Brown");
- EarthBlock.CFrame = CFrame.new(Char.Torso.Position.x,5,Char.Torso.Position.z) * CFrame.new(0,0,-i) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
- Char.Torso.Anchored = false
- end
- end
- end
- Mouse.KeyDown:connect(EarthKick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement