|
| 03 Sep 2011 11:17 AM |
function showgui(part) if part.Parent:findFirstChild("Humanoid") then local player = game.Players:playerFromCharacter(part.Parent) if not player.PlayerGui:findFirstChild("checkpoint") then local g = script.Parent.checkpoint:Clone() g.Parent = player.PlayerGui gui = g.Window.Window2 gui:TweenPosition(UDim2.new(0.43,0,0,-10), Out, "Quad", 1, false) wait(5) for i = 0,1,.1 do gui.Title.TextTransparency = i wait(0.1) end gui.TweenPosition(UDim2.new(0.43,0,0,-110), Out, "Quad", 1, false) end end end script.Parent.Touched:connect(showgui)
Script "Workspace.Checkpoint.Head.Script", Line 14
|
|
|
| Report Abuse |
|
|
|
| 03 Sep 2011 11:40 AM |
| what is tween position? is it a global function? |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2011 11:42 AM |
if its what i think it is its this
gui-->.<--TweenPosition(UDim2.new(0.43,0,0,-110), Out, "Quad", 1, false) it should be a : instead of a . (five lines from bottom) |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2011 11:44 AM |
If it's a global function,
gui->:<-TweenPosition |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 03 Sep 2011 11:57 AM |
if part.Parent:findFirstChild("Humanoid") ~= nil then
instead of
if part.Parent:findFirstChild("Humanoid") then
Maybe? |
|
|
| Report Abuse |
|
|