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: Freeze Script

Previous Thread :: Next Thread 
TheApertureCoder is not online. TheApertureCoder
Joined: 20 Apr 2012
Total Posts: 825
12 Sep 2015 03:55 AM
game.Workspace[""..game.workspace.PlayerName.Value..""].Torso.Anchored = true
This line returns this error, and the error doesn't give me much detail either:

09:53:50.762 - is not a valid member of Workspace
09:53:50.762 - Script 'Workspace.SwordHandleBase.MainSwordAdd', Line 4



Java my tea please!
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
12 Sep 2015 03:57 AM
PlauerName.Value is obviously "" or something. Use FindFirstChild
Report Abuse
H1M is not online. H1M
Joined: 11 Apr 2009
Total Posts: 218
12 Sep 2015 03:59 AM
game.Workspace[game.Workspace.PlayerName.Value].Torso.Anchored = true

Remember to set the Value to an Actual players name

eg.

PlayerName.Value = "H1M"

would mean

game.Workspace.H1M.Torso.Anchored == true.
Report Abuse
TheApertureCoder is not online. TheApertureCoder
Joined: 20 Apr 2012
Total Posts: 825
14 Sep 2015 10:52 AM
PlayerName is a StringValue, which the value is set via another script.

Java my tea please!
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