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: How to completely freeze player

Previous Thread :: Next Thread 
Kilometerz is not online. Kilometerz
Joined: 20 Sep 2012
Total Posts: 2666
29 Jul 2014 11:53 PM
code plz
Report Abuse
tifpoo is not online. tifpoo
Joined: 09 Dec 2008
Total Posts: 16
29 Jul 2014 11:55 PM
Don't feel like typing on but really you just anchor the torso
Report Abuse
Kilometerz is not online. Kilometerz
Joined: 20 Sep 2012
Total Posts: 2666
29 Jul 2014 11:56 PM
o ok
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
29 Jul 2014 11:58 PM
function changeProp(o, p, c)
for _, v in pairs (o:GetChildren()) do
pcall(function() v[p] = c end)
changeProp(v, p, c)
end
end


changeProp(Game.Players.Player1.Character, "Anchored", true)
Report Abuse
Kilometerz is not online. Kilometerz
Joined: 20 Sep 2012
Total Posts: 2666
29 Jul 2014 11:59 PM
Way to make it more difficult when I did it with one line
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
30 Jul 2014 12:00 AM
Mine will anchor every part in them, and every part inside those parts (Hats and such) and every part in those and in those and so on

Also can be used for other things than anchoring


function changeProp(o, p, c)
for _, v in pairs (o:GetChildren()) do
pcall(function() v[p] = c ebd)
changeProp(v, p, c)
end
end


changeProp(Workspace, "BrickColor", BrickColor.new("Bright blue"))

Now the whole workspace is blue.
Report Abuse
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
30 Jul 2014 12:10 AM
player.Character.Anchored = true

Caaaactus. Prov 3:5: Trust in the LORD with all your heart and lean not on your own understanding.
Report Abuse
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
30 Jul 2014 12:11 AM
oops, hold on.

player.Character.Torso.Anchored = true

Caaaactus. Prov 3:5: Trust in the LORD with all your heart and lean not on your own understanding.
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