|
| 05 Nov 2011 08:13 PM |
script.Parent.Touched:connect(function(hit) local hum = hit.Parent:findFirstChild("Humanoid") if not hum then return nil else local fold = hit.Parent.Character:findFirstChild("PlayerGui") local holder = fold:findFirstChild("Loader") local gui = holder.Frame for i = 0, 1, .1 do gui.BackgroundTransparency = i wait(.1) end wait(2.5) for v = 1, 0, -.1 do gui.BackgroundTransparency = v wait(.1) end end) |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 08:14 PM |
script.Parent.Touched:connect(function(hit) local hum = hit.Parent:findFirstChild("Humanoid") if not hum then return end local fold = hit.Parent:findFirstChild("PlayerGui") local holder = fold:findFirstChild("Loader") local gui = holder.Frame for i = 0, 1, .1 do gui.BackgroundTransparency = i wait(.1) end wait(2.5) for v = 1, 0, -.1 do gui.BackgroundTransparency = v wait(.1) end end) |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 08:18 PM |
@Cach
It's giving me this in the OutPut:
Sat Nov 05 21:16:45 2011 - Running Script "Workspace.Part.Script" Sat Nov 05 21:16:45 2011 - Workspace.Part.Script:15: unexpected symbol near ')'
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 05 Nov 2011 08:47 PM |
script.Parent.Touched:connect(function(hit) local hum = hit.Parent:findFirstChild("Humanoid") if not hum then return end local fold = hit.Parent:findFirstChild("PlayerGui") local holder = fold:findFirstChild("Loader") local gui = holder.Frame for i = 0, 1, .1 do gui.BackgroundTransparency = i wait(.1) end wait(2.5) for v = 1, 0, -.1 do gui.BackgroundTransparency = v wait(.1) end end |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 08:48 PM |
oops script.Parent.Touched:connect(function(hit) local hum = hit.Parent:findFirstChild("Humanoid") if not hum then return end local fold = hit.Parent:findFirstChild("PlayerGui") local holder = fold:findFirstChild("Loader") local gui = holder.Frame for i = 0, 1, .1 do gui.BackgroundTransparency = i wait(.1) end wait(2.5) for v = 1, 0, -.1 do gui.BackgroundTransparency = v wait(.1) end end end) |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 08:50 PM |
@Level
Where the hell did you get that third end towards end of the script? |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 08:50 PM |
oops script.Parent.Touched:connect(function(hit) local hum = hit.Parent:findFirstChild("Humanoid") if hum then local fold = hit.Parent:findFirstChild("PlayerGui") local holder = fold:findFirstChild("Loader") local gui = holder.Frame for i = 0, 1, .1 do gui.BackgroundTransparency = i wait(.1) end wait(2.5) for v = 1, 0, -.1 do gui.BackgroundTransparency = v wait(.1) end end end) |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 08:51 PM |
db = false oops script.Parent.Touched:connect(function(hit) local hum = hit.Parent:findFirstChild("Humanoid") if not db and hum then db = true local fold = hit.Parent:findFirstChild("PlayerGui") local holder = fold:findFirstChild("Loader") local gui = holder.Frame for i = 0, 1, .1 do gui.BackgroundTransparency = i wait(.1) end wait(2.5) db = false for v = 1, 0, -.1 do gui.BackgroundTransparency = v wait(.1) end end end) |
|
|
| Report Abuse |
|
|