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 » Scripters
Home Search
 

Re: is this a thing

Previous Thread :: Next Thread 
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
22 Jan 2017 12:51 PM
plr = game.Players.LocalPlayer

plr.Humanoid.Jumping:connect(function()
print("sdfgfdsas")
end)


Report Abuse
Real_Spooky is not online. Real_Spooky
Joined: 23 Oct 2013
Total Posts: 3149
22 Jan 2017 12:52 PM
uhhhh no

jumping isnt an event
Report Abuse
qqtt991 is online. qqtt991
Joined: 14 Dec 2007
Total Posts: 1387
22 Jan 2017 12:54 PM
Use the wiki. It's not that hard.
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
22 Jan 2017 01:00 PM
why doesnt this work

plr = game.Players.LocalPlayer

while wait() do
jumped()
end


function jumped()
if plr.Humanoid.Jump == true then
print("blah")
end
end


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
22 Jan 2017 01:07 PM
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/Jumping

It is, as is UserInputService.JumpRequest


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx
Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
22 Jan 2017 01:07 PM
@pelicans;
define the function BEFORE the loop..


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
22 Jan 2017 01:10 PM
it dont matter if the loop is b4 it


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
22 Jan 2017 01:12 PM
ok then have fun debugging


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx
Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
22 Jan 2017 01:14 PM
and Humanoid isn't a property of player, it's a property of player.Character


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx
Report Abuse
qqtt991 is online. qqtt991
Joined: 14 Dec 2007
Total Posts: 1387
23 Jan 2017 12:14 AM
Humanoid isn't a property... It's an instance...


Report Abuse
tbnj123 is online. tbnj123
Joined: 29 Oct 2010
Total Posts: 443
23 Jan 2017 02:14 AM
i see u
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
23 Jan 2017 02:57 AM
local Player = game.Players.LocalPlayer
local Character; repeat wait(); Character = Player.Character; until Character;
local hum = Character:WaitForChild('Humanoid')

http://wiki.roblox.com/index.php?title=API:Enum/HumanoidStateType
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/Jumping
http://wiki.roblox.com/index.php?title=API:Class/Instance/Changed
Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
23 Jan 2017 05:24 AM
yes, child, my bad - the point is it's not in the player like he tried to get with his code


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx
Report Abuse
Informable is not online. Informable
Joined: 10 Aug 2016
Total Posts: 1778
23 Jan 2017 06:44 AM
gosh this forum can be rude. Jumping is an actual event inside Humanoid
your only problem is that the Humanoid is in the Character, not the Player

http://wiki.roblox.com/index.php?title=API:Class/Humanoid/Jumping

plr = game.Players.LocalPlayer
plr.Character.Humanoid.Jumping:connect(function()
print("sdfgfdsas")
end)


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