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: Setting a player's speed to 0?

Previous Thread :: Next Thread 
LVFATBOY is not online. LVFATBOY
Joined: 15 Sep 2006
Total Posts: 2619
06 Sep 2013 09:18 PM
How would I basically freeze a player?
Report Abuse
LVFATBOY is not online. LVFATBOY
Joined: 15 Sep 2006
Total Posts: 2619
06 Sep 2013 09:19 PM
Ah, could anchoring their torso work?
Report Abuse
canada1232111 is not online. canada1232111
Joined: 16 Jan 2013
Total Posts: 863
06 Sep 2013 09:19 PM
Yes.
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
06 Sep 2013 09:22 PM
Anchoring there torso will leave them in the air if they were jumping, I would do walkspeed


Report Abuse
LVFATBOY is not online. LVFATBOY
Joined: 15 Sep 2006
Total Posts: 2619
06 Sep 2013 09:22 PM
Alright, and since I'm new at this... How would I locate the player's torso?
Report Abuse
Zerkonian is not online. Zerkonian
Joined: 16 Aug 2013
Total Posts: 1668
06 Sep 2013 09:23 PM
game.Players.Torso.Anchored = True ... Jk dont listen to me im new
Report Abuse
LVFATBOY is not online. LVFATBOY
Joined: 15 Sep 2006
Total Posts: 2619
06 Sep 2013 09:26 PM
... Okay??....
Report Abuse
canada1232111 is not online. canada1232111
Joined: 16 Jan 2013
Total Posts: 863
06 Sep 2013 09:26 PM
Close;

game.Players.Playername.Character.Torso.Anchored == true

But if you want all players do something like

Sweg = game.Players
for i, v in pairs(Sweg) do
v.Character.Torso.Anchored == true
end
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
06 Sep 2013 09:26 PM
player.Character.Humanoid.WalkSpeed = 0
Report Abuse
LVFATBOY is not online. LVFATBOY
Joined: 15 Sep 2006
Total Posts: 2619
06 Sep 2013 09:26 PM
How would I change their walkspeed?
Report Abuse
canada1232111 is not online. canada1232111
Joined: 16 Jan 2013
Total Posts: 863
06 Sep 2013 09:28 PM
Sweg = game.Players
for i, v in pairs(Sweg) do
v.Character:FindFirstChild("Humanoid").WalkSpeed = ??
end
Report Abuse
LVFATBOY is not online. LVFATBOY
Joined: 15 Sep 2006
Total Posts: 2619
06 Sep 2013 09:28 PM
Got it working, what was a player's default walkspeed though, 18?
Report Abuse
canada1232111 is not online. canada1232111
Joined: 16 Jan 2013
Total Posts: 863
06 Sep 2013 09:29 PM
16 :P

Odd number eh?
Report Abuse
LVFATBOY is not online. LVFATBOY
Joined: 15 Sep 2006
Total Posts: 2619
06 Sep 2013 09:30 PM
Y U No Make things simple Roblox?
Report Abuse
canada1232111 is not online. canada1232111
Joined: 16 Jan 2013
Total Posts: 863
06 Sep 2013 09:31 PM
Ikr, ROBLOX just likes to see us suffer
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
06 Sep 2013 09:32 PM
Use a local script

Plyr = game.Players.LocalPlayer

Plyr.Character.Humanoid.WalkSpeed = 0
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