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
 

Re: Players Jump

Previous Thread :: Next Thread 
MrMcIPod is not online. MrMcIPod
Joined: 02 Jan 2013
Total Posts: 2
06 Mar 2013 01:48 PM
How do you make every player in the game jump after 15 seconds?
Report Abuse
As8D is not online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
06 Mar 2013 02:02 PM
Hm, normal script:

------------------------------------
wait(15)

for _,c in pairs(game:service("Players"):GetPlayers()) do
if c.Character then
for _,h in pairs(c.Character:GetChildren()) do
if h:IsA("Humanoid") then
h.Jump = true -- A script in the character will set this to false.
end
end
end
end

------------------------------------


That should do the trick, I haven't tested it, and I guess you just want them to jump once. Otherwise, put "while true do" in the beginning and "end" in the end of the script.



- As, I hit the post button too fast now!!!
Report Abuse
MrMcIPod is not online. MrMcIPod
Joined: 02 Jan 2013
Total Posts: 2
06 Mar 2013 02:05 PM
Ah, thank you.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
06 Mar 2013 02:16 PM
As8D, ROBLOX made it so you need a Localscript to use the humanoid properties (Jump, PlatformStand and Sit)
Report Abuse
As8D is not online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
06 Mar 2013 02:23 PM
Grawsh, that's evil!


- As, turned into a zombie after hearing this.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
06 Mar 2013 02:24 PM
I know, isn't it just? :c
Report Abuse
As8D is not online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
07 Mar 2013 02:49 AM
^ But wouldn't a lot of ROBLOX's tools and fall down billions of evil stair-bricks break then? (Ok, sit tools are probably made using LocalScripts.)


- As, ROBLOX.Health = 0
Report Abuse
velibor is not online. velibor
Joined: 24 Nov 2009
Total Posts: 1003
07 Mar 2013 04:39 AM
Why doesn't ROBLOX document that kind of stuff..
Instead of telling us that. They just think oh, let's update that and then see what we get as a respond. (And where do all the broken scripts go ? Exactly to the SH forums..)
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