Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- mouse = player:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- Instance.new("ForceField", mouse.Target)
- end
- if key == "x" then
- local ex = Instance.new("Explosion")
- ex.Position = mouse.hit.p
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement