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: This line of code wont work tell me why??

Previous Thread :: Next Thread 
Tobycon is not online. Tobycon
Joined: 22 May 2013
Total Posts: 1527
29 May 2016 07:29 AM
game.Workspace.Player1.Name = "Uber pwnzorer"


In studio I'm using the command bar to change my character's name to "Uber pwnzorer" but it wont work and the output bar says "stack end" which I don't know what it means.

I tried puting my username where it says "Player1" but that does not work since my username is not in workspace and "Player" is in workspace instead.

Anyone know how to fix this??

I'm trying to learn lua but I have tried everything to make this work.
Report Abuse
Tobycon is not online. Tobycon
Joined: 22 May 2013
Total Posts: 1527
29 May 2016 07:29 AM
Bump
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
29 May 2016 07:32 AM
game:GetService("Players").LocalPlayer.Character.Head.Parent.Name = "Uber pwnzorer"
You won't see your name change, but others will in-game.


-=[ RAP: 281,866 || DurstAuric; the narb of ROBLOX ]=-
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
29 May 2016 07:33 AM
Also, you cannot change your leaderstats name unless it's a custom leaderstats. :)


-=[ RAP: 281,866 || DurstAuric; the narb of ROBLOX ]=-
Report Abuse
Tobycon is not online. Tobycon
Joined: 22 May 2013
Total Posts: 1527
29 May 2016 07:33 AM
I need help
Report Abuse
Tobycon is not online. Tobycon
Joined: 22 May 2013
Total Posts: 1527
29 May 2016 07:34 AM
Ok thanks durst I'm using an old Lua guide so some things are outdated
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
29 May 2016 07:35 AM
Well, theoretically your line of code will work. However, because you're not able to change your name in the leaderstats, it won't work.


-=[ RAP: 281,867 || DurstAuric; the narb of ROBLOX ]=-
Report Abuse
Skellobit is not online. Skellobit
Joined: 13 Apr 2016
Total Posts: 12758
29 May 2016 07:42 AM
"Character.Head.Parent.Name"
is that necessary
what's wrong with Character.Name

Formerly ToxicDominator - add 17,509 posts | :(){:|:&};:
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
29 May 2016 08:47 AM
@Skellobit
That works? Oh, I've always been doing it like that..


-=[ RAP: 281,998 || DurstAuric; the narb of ROBLOX ]=-
Report Abuse
Void_Optics is not online. Void_Optics
Joined: 21 Mar 2016
Total Posts: 286
29 May 2016 08:49 AM
Well then it's time to change it! :^)

Also, you would need to make the original head of the character transparent, then create another model with a head and humanoid inside the character, weld the fake head to the original head, then have a humanoid that constantly updates to the health of the humanoid in the original character.
Report Abuse
AmbientOcclusion is online. AmbientOcclusion
Joined: 10 Feb 2009
Total Posts: 1323
29 May 2016 10:35 AM
it wouldn't work anyway as technically naming characters is "robloxlocked" and so is player renaming.
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