Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(math.pi/4)
- print(""..script.Parent.Name.." loaded")
- p = game.Players.LocalPlayer
- char = p.Character
- h = char.Humanoid
- mouse = p:GetMouse()
- enabled = false
- bin = script.Parent
- --keys
- actionKey = "q"
- function action()
- --
- end
- function onKeyDown(key)
- if bin.Active == true then
- if key == actionKey then
- action()
- end
- end
- end
- mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement