|
| 29 Aug 2014 08:28 PM |
mouse = game.Players.LocalPlayer mouse.keyDown:connect(function(key) if key == "=" then checkhat = script.Parent.Parent.Character.Hat if hat then hat = script.Parent.Parent.Character.Hat:clone() hat.Parent = script.Parent.Parent.Character end end)
Why no work ^^^^^^ U normally drop hats when u press + so I tried to make it so that when u press + it duplicates the hat and places it on your head again :/ |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Aug 2014 08:29 PM |
mouse = game.Players.LocalPlayer * mouse.keyDown:connect(function(key) if key == "=" then checkhat = script.Parent.Parent.Character.Hat if checkhat then hat = script.Parent.Parent.Character.Hat:clone() hat.Parent = script.Parent.Parent.Character end end) |
|
|
| Report Abuse |
|
|