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: Character Creation!

Previous Thread :: Next Thread 
MisterImagination is not online. MisterImagination
Joined: 05 Jul 2010
Total Posts: 416
06 Feb 2015 11:21 PM
Can someone tell me what to do, I have no clue where to put this script in. Also tell me if I have to add more to get to the point when you get to choose what your character looks like, through GUI's

----------------- Rookie Scripter Don't Judge!-------------

script.Parent.MouseButton1Down:connect(function()
char = workspace.Characters.TestBody:clone()
char.Parent = workspace
game.Players.LocalPlayer.Character = char
workspace.CurrentCamera.CameraSubject = char.Humanoid
end)

--------- Not alot but tell me what I can do to improve this.---------------
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
06 Feb 2015 11:26 PM
Please indent your code.
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
06 Feb 2015 11:30 PM
^


-abs
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
06 Feb 2015 11:30 PM
if script.Parent has an event that fires when you click on it, it has to be a textbutton!
128, don't get picky, now. That feature is still if-y
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
06 Feb 2015 11:43 PM
I'm not picky, and its not if-y
For some people it never shows up, for others it always does (Assuming they indented it to start with)
For me it does show up, so he just didn't indent it and that is bad practice.

I had nothing else to say, if he wants to know if it works or not he could test it and tell us if it doesn't and if there is output
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
06 Feb 2015 11:44 PM
It's like half-and-half for me
idek
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
06 Feb 2015 11:45 PM
Are you sure its not just that some people don't indent it?
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
07 Feb 2015 12:07 AM
I no longer read code that is not indented.

If I care an oddly amount, I will copy and paste the code into my code editor and indent it myself and repost it in a reply, and then not help with the actual post because I've done enough for everyone else wanting to help.

It's just annoying when people don't indent in actual Studio.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Feb 2015 12:09 AM
@Amanda
Go look at Khols admin

It hurts
Report Abuse
MisterImagination is not online. MisterImagination
Joined: 05 Jul 2010
Total Posts: 416
07 Feb 2015 12:16 AM
Loving the fights LOL
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Feb 2015 12:22 AM
No one is fighting...?
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
07 Feb 2015 12:23 AM
I looked at several old admin scripts. It hurts so bad.

Is there any thing that will take Lua syntax and indent it at all the right places?

That would be useful.

like inserting that admin code into a box, and then pressing something, and then out the other end comes a beautifully indented code?
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
07 Feb 2015 12:24 AM
I will be the first to make correct lua indentation in an admin script

!!!!


-abs
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Feb 2015 12:24 AM
'Is there any thing that will take Lua syntax and indent it at all the right places?'

Yeah someone made a plugin for it (But it doesn't fully work) and you can probably find auto indenters online
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Feb 2015 12:25 AM
'I will be the first to make correct lua indentation in an admin script'

I use correct indentation in mine
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Feb 2015 12:25 AM
Sort relevant
https://www.youtube.com/watch?v=OvseAKgAIig
Report Abuse
MisterImagination is not online. MisterImagination
Joined: 05 Jul 2010
Total Posts: 416
07 Feb 2015 11:39 AM
bump
Report Abuse
MisterImagination is not online. MisterImagination
Joined: 05 Jul 2010
Total Posts: 416
08 Feb 2015 12:12 AM
bump2
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