generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Why does this not work?

Previous Thread :: Next Thread 
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 May 2014 10:41 AM
http://wiki.roblox.com/index.php?title=UnbindButton_(Method)

http://wiki.roblox.com/index.php/Button_(Enum)

None of these work

Game:GetService("ControllerService").Instance:UnbindButton(32)

Game:GetService("ControllerService").Instance:UnbindButton("Jump")

Game:GetService("ControllerService").Instance:UnbindButton(Enum.Button.Jump)


But none of them give output either.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 May 2014 11:39 AM
Bump
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
16 May 2014 11:58 AM
Because ROBLOX and their security levels. Perhaps?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 May 2014 11:59 AM
It isn't locked though
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
16 May 2014 12:02 PM
Just to be sure, LocalScript?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 May 2014 12:03 PM
Yes
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
16 May 2014 12:05 PM
I'm starting to think the UnbindButton is poorly written.
>http://wiki.roblox.com/index.php?title=RBX.lua.ControllerService_(Service)

Try
game:GetService("ControllerService")[game:GetService("Players").LocalPlayer]:UnbindButton(32)
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
16 May 2014 12:08 PM
No, just tested that myself. :(
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 May 2014 12:09 PM
game:GetService("ControllerService")[game:GetService("Players").LocalPlayer]:UnbindButton(32)

game:GetService("ControllerService")[game:GetService("Playe:1: bad argument #2 to '?' (string expected, got userdata)





game:GetService("ControllerService")[game:GetService("Players").LocalPlayer.Name]:UnbindButton(32)
Player1 is not a valid member of ControllerService
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 May 2014 02:25 PM
Bump
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 May 2014 02:53 PM
Im going to write this to look a little better, but this works

wait(5)
local p = Game.Players.LocalPlayer
print("No jump " .. p.Name)
h = p.Character.Humanoid
function no()
h.Jump = false
end
h.Changed:connect(no)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image