|
| 08 Oct 2015 03:25 PM |
MoneyEarn = Game.StarterGui.MoneyEarn.TextLabel function Touched(hit) MoneyEarn.Visible = true wait(2) MoneyEarn.TextTransparency = .2 wait(.5) MoneyEarn.TextTransparency = .5 wait(.5) MoneyEarn.TextTransparency = .8 wait(.5) MoneyEarn.Visible = false end script.Parent.Touched:connect(Touched)
--{ Any unnecessary var. will be used in the future, this is only testing a part of a script.
Yes, this is in a part. Yes, the GUI is showing up on my screen in studio. Yes, the GUI's visibility is set to false before script is ran. |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2015 03:31 PM |
function Touched(hit) plr = game.Players:GetPlayerFromCharacter(hit.Paren) if not plr then return end
MoneyEarn = plr.PlayerGui.MoneyEarn.TextLabel MoneyEarn.TextTransparency = 0 MoneyEarn.Visible = true wait(2) for i = 1, 100 do MoneyEarn.TextTransparency = MoneyEarn.TextTransparency + 0.001 wait() end MoneyEarn.Visible = false end script.Parent.Touched:connect(Touched)
[http://www.roblox.com/Naruto-Shippuuden-Sasuke-Theme-1-item?id=159498348 http://www.roblox.com/Akatsuki-Theme-item?id=149318510] |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2015 03:37 PM |
| Thanks Glacier, but do mind explaining how that works? I'm trying to learn because I don't want to come on here and ask for everything. |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Oct 2015 03:42 PM |
| Gah sorry for the spam I found an error :) Paren should have been Parent. Thanks anyway |
|
|
| Report Abuse |
|
|