QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 06:09 PM |
local xp = script.Parent.Parent.Parent.Parent.Parent.MainStats.XP local gold = script.Parent.Parent.Parent.Parent.Parent.MainStats.Gold local level = script.Parent.Parent.Parent.Parent.Parent.MainStats.Level
function erase() script.Parent.TextTransparency = 0.1 script.Parent.Parent.No.TextTransparency = 0.1 script.Parent.Parent.ButtonLabel.TextTransparency = 0.1 wait(0.1) script.Parent.TextTransparency = 0.2 script.Parent.Parent.No.TextTransparency = 0.2 script.Parent.Parent.ButtonLabel.TextTransparency = 0.2 wait(0.1) script.Parent.TextTransparency = 0.3 script.Parent.Parent.No.TextTransparency = 0.3 script.Parent.Parent.ButtonLabel.TextTransparency = 0.3 wait(0.1) script.Parent.TextTransparency = 0.4 script.Parent.Parent.No.TextTransparency = 0.4 script.Parent.Parent.ButtonLabel.TextTransparency = 0.4 wait(0.1) script.Parent.TextTransparency = 0.5 script.Parent.Parent.No.TextTransparency = 0.5 script.Parent.Parent.ButtonLabel.TextTransparency = 0.5 wait(0.1) script.Parent.TextTransparency = 0.6 script.Parent.Parent.No.TextTransparency = 0.6 script.Parent.Parent.ButtonLabel.TextTransparency = 0.6 wait(0.1) script.Parent.TextTransparency = 0.7 script.Parent.Parent.No.TextTransparency = 0.7 script.Parent.Parent.ButtonLabel.TextTransparency = 0.7 wait(0.1) script.Parent.TextTransparency = 0.8 script.Parent.Parent.No.TextTransparency = 0.8 script.Parent.Parent.ButtonLabel.TextTransparency = 0.8 wait(0.1) script.Parent.TextTransparency = 0.9 script.Parent.Parent.No.TextTransparency = 0.9 script.Parent.Parent.ButtonLabel.TextTransparency = 0.9 wait(0.1) script.Parent.Visible = false script.Parent.Parent.No.Visible = false script.Parent.Parent.ButtonLabel.Visible = false wait(1) script.Parent.Parent.Warn.Text = "Erasing XP, Level and Gold..." wait(2) xp.Value = 0 lvl.Value = 0 gold.Value = 0 wait(0.5) script.Parent.Parent.Warn.Text = "Clearing StarterGear..." wait(2) script.Parent.Parent.Parent.Parent.Parent.StarterGear:ClearAllChildren() wait(1) script.Parent.Parent.Warn.Text = "Data erased. Killing player..." wait(3) script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0 end
script.Parent.MouseButton1Click:connect(erase)
Won't work after Erasing XP, Level, and Gold. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 06:10 PM |
I have a headache, so many problems.
I don't even want to fix them. |
|
|
| Report Abuse |
|
|
Taniss99
|
  |
| Joined: 15 Dec 2007 |
| Total Posts: 1707 |
|
|
| 29 Oct 2012 06:13 PM |
| Just make a for loop instead of having sixteen bijillion lines of code D: |
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 06:13 PM |
Don't post if not going to help.
|
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 06:14 PM |
| The transparency isn't the problem. |
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 06:15 PM |
| No answers. Inactive SH. Bump. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:09 PM |
Why are you not using a for loop? I am seriously doubting you know the Lua syntax gametastic100...
~thedestroyer115, check out my sets!~ |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:11 PM |
Stop F5ing too pl0x.
~thedestroyer115, check out my sets!~ |
|
|
| Report Abuse |
|
|
RoScripts
|
  |
| Joined: 27 Oct 2012 |
| Total Posts: 1824 |
|
| |
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 07:13 PM |
the destroyer, if I wanted to do this, " for i = 1/10 do script.Parent.BackGroundTransparency = i/10 wait(0.5) end"
I would have. Stop saying, "I am seriously doubting you know the lua syntax..."
I know the fugging syntax. Stop trying to say I free model. If I did I wouldn't even know how to even write the code. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:13 PM |
| Lol and this is the guy who accused my of fail scripts and fail games. :3 |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:15 PM |
| Change it into a localscript and then come back. I can't even read it with so many parents. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:16 PM |
That is not how you do a for loop... you don't know the syntax.
for i = 1, 10, 1 do script.Parent.BackGroundTransparency = i/10 wait(0.5) end
Thats how you do it.
~thedestroyer115, check out my sets!~ |
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 07:19 PM |
| thedestroyer, stop trying to be cocky. You just looked like a idiot. First that's the same as my script except that it might make the transparency fade smoother. Second, stop stalking my threads. Third, I know the syntax if I can script my own leaderboard,y own playerlist, and my own AI. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:19 PM |
Whoops!
for i = 1, 10, 1 do script.Parent.BackGroundTransparency = i wait(0.5) end
|
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 07:22 PM |
| Plus I need to make all of them fade at the same time. If you weren't acting so ignorant you would have known that. I need corountines for this to run them at the same time. I bet you can't even do those yet to, so please, get off my threads insulting me. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:22 PM |
@Quan I am done with you. I tested your code: fail. That would also have no difference in how fast or smoothly it comes in, because... 1 = transparent. 0 = visible.
for i = 0, 1, 0.1 do script.Parent.BackGroundTransparency = i wait(0.5) end
That makes it fade... and you say you can make a custom leaderboard? But you don't know simple Gui properties? Am I alone or does this guy look like a lier?
~thedestroyer115, check out my sets!~ |
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 07:23 PM |
| Dude. This is exactly why no one likes you but the buttkissers that play your game. |
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 07:23 PM |
| Acting like you're the king of scripting just because I didn't use a for loop inside a corountine. Leave. Me. Be. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:26 PM |
Why would you ever need coroutines? Just make a simple for loop...
for i = 0, 1, 0.1 do script.Parent.TextTransparency = i script.Parent.Parent.No.TextTransparency = i script.Parent.Parent.ButtonLabel.TextTransparency = i wait(0.5) end
~thedestroyer115, check out my sets!~ |
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 07:36 PM |
Idiot. Proved you wrong and say," oh. but yu didn't do it dat wey lololululul."
I did it exactly as I did in this forum. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:37 PM |
Quan, you saw you showed me up on a script builder. Yet you changed the code that you posted. >:3
for i = 1/10 do script.Parent.BackGroundTransparency = i/10 wait(0.5) end"
You posted this, yet you changed it in the script builder. |
|
|
| Report Abuse |
|
|
QuanW
|
  |
| Joined: 09 Feb 2012 |
| Total Posts: 162 |
|
|
| 29 Oct 2012 07:39 PM |
| Are you a idiot? Read that post where I posted that for loop for you really cearly. And just because it's in quotations doesn't mean it's a part of the script. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:40 PM |
Heres your code Quan:
http://www.roblox.com/Forum/ShowPost.aspx?PostID=81109852 |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 07:41 PM |
OMG QUAN!
"the destroyer, if I wanted to do this, " for i = 1/10 do script.Parent.BackGroundTransparency = i/10 wait(0.5) end"
I would have. Stop saying, "I am seriously doubting you know the lua syntax..."
I know the fugging syntax. Stop trying to say I free model. If I did I wouldn't even know how to even write the code."
|
|
|
| Report Abuse |
|
|