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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: This really should work

Previous Thread :: Next Thread 
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 12:07 AM
According to CrowClaws, I had to use a localscript:


UIS = game:GetService("UserInputService")

player = game.Players.LocalPlayer

UIS.InputBegan:connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard and input.UserInputState == Enum.UserInputState.Begin then
if input.KeyCode == Enum.KeyCode.Space and player.Character.Humanoid.PlatformStand == true then
player.Character.Humanoid.Jump = true
end
end
end)


No errors, not working

Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 12:23 AM
b
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 12:35 AM
b
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 12:40 AM
b
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 12:53 AM
b
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 01:08 AM
b

25 views, no help
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 01:31 AM
b
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 01:40 AM
b

still no help
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 01:47 AM
b
Report Abuse
lego555444 is not online. lego555444
Joined: 21 Sep 2008
Total Posts: 1383
09 Aug 2015 01:55 AM
print random stuff
Report Abuse
NetherZero is not online. NetherZero
Joined: 25 Apr 2010
Total Posts: 316
09 Aug 2015 02:01 AM
You can't jump when in platform stand.
Set platformstand to false, and then set jump to true:

player.Character.Humanoid.PlatformStand = false
player.Character.Humanoid.Jump = true
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 02:45 AM
^

didn't work
Report Abuse
Ultraw is not online. Ultraw
Joined: 20 Nov 2010
Total Posts: 6575
09 Aug 2015 02:47 AM
Print something between every line and see where it gets to
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 02:48 AM
UIS = game:GetService("UserInputService")

player = game.Players.LocalPlayer

UIS.InputBegan:connect(function(input)
print("in1")
if input.UserInputType == Enum.UserInputType.Keyboard and input.UserInputState == Enum.UserInputState.Begin then
print("in2")
if input.KeyCode == Enum.KeyCode.Space and player.Character.Humanoid.PlatformStand == true then
player.Character.Humanoid.PlatformStand = false
print("in3")
player.Character.Humanoid.Jump = true
end
end
end)


I added prints and it doesn't even get inside the function, CrowClaws says I had to use a localscript so i did
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
09 Aug 2015 04:17 AM
b
Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
09 Aug 2015 06:41 AM
check if script is disabled or is there anything else in script ??

add print to first line
Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
09 Aug 2015 06:42 AM
also btw local sript has to be in startergui or or staterpack or inside of players character
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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