|
| 20 May 2016 06:07 PM |
| what i mean is that is there a way to force a hat to stay on a players head, even when he presses =. |
|
|
| Report Abuse |
|
|
cgjnm
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
|
| 20 May 2016 06:08 PM |
Yes, aggressively type, like so:
YOU WILL WEAR THE HAT OR YOU WILL BE EXILED FROM MY GAME, YOU INCOMPETENT IMBECILE!!! |
|
|
| Report Abuse |
|
|
|
| 20 May 2016 06:10 PM |
I prefer the Hit and Hat method, developed by Harry and Henry in Hertfordshire, Holland.
Private Drive - Residents Only |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 May 2016 06:22 PM |
| Well my game already had a function that puts a specific hat on players, so I just simply bound UIS = to the same function. |
|
|
| Report Abuse |
|
|
cgjnm
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
|
| 20 May 2016 06:26 PM |
--server script-- workspace.ChildAdded:connect(function(thing) if thing:IsA'WhateverTheNewClassNameForHatsIs'then thing:Destroy() end end) ------
--local script-- game:GetService("UserInputService").InputBegan:connect(function(iO,gPE) if not gPE then if iO.KeyCode == Enum.KeyCode.Equal? then -- not sure if it's called equal or not --add hat end end end) ----- |
|
|
| Report Abuse |
|
|
|
| 20 May 2016 06:29 PM |
http://wiki.roblox.com/index.php?title=Prevent_hat_dropping
|
|
|
| Report Abuse |
|
|
|
| 20 May 2016 06:35 PM |
I mean that works I guess. I'm lazy so I'd just use ChildAdded and re-parent it to the player's character.
|
|
|
| Report Abuse |
|
|