|
| 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
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
| |
|
| |
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 07 Feb 2015 12:09 AM |
@Amanda Go look at Khols admin
It hurts |
|
|
| Report Abuse |
|
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
| |
|
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 |
|
|
|
| 07 Feb 2015 12:24 AM |
I will be the first to make correct lua indentation in an admin script
!!!!
-abs |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 07 Feb 2015 12:25 AM |
Sort relevant https://www.youtube.com/watch?v=OvseAKgAIig |
|
|
| Report Abuse |
|
|
| |
|
| |
|