|
| 27 Oct 2013 11:36 AM |
Doesn't give off an output.
function onTouched(hit) local human = hit.Parent:FindFirstChild("Humanoid") if human ~= nil then local x = script.Parent.ScreenGui:Clone() local p = game.Players:GetPlayerFromCharacter(hit.Parent) if p ~= nil then x.Parent = p.PlayerGui wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Parent = game.Debris end end end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 27 Oct 2013 07:03 PM |
| Too many waits. Use generic for. |
|
|
| Report Abuse |
|
|
CrniOrao
|
  |
| Joined: 12 Oct 2008 |
| Total Posts: 2274 |
|
|
| 27 Oct 2013 07:08 PM |
function onTouched(hit) local human = hit.Parent:FindFirstChild("Humanoid") if human ~= nil then local x = script.Parent.ScreenGui:Clone() local p = game.Players:GetPlayerFromCharacter(hit.Parent) if p ~= nil then x.Parent = p.PlayerGui wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Frame.Visible = false wait(0.25) x.Frame.Visible = true wait(0.25) x.Parent = game.Debris end end end
script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 27 Oct 2013 07:12 PM |
No connection line. And use :clone() not :Clone() Hope this helps.
~ Make the simple, amazing ~ |
|
|
| Report Abuse |
|
|