Skythen
|
  |
| Joined: 31 May 2013 |
| Total Posts: 432 |
|
|
| 27 Jun 2013 06:17 PM |
plr = game.Players.LocalPlayer chil = script.Parent:GetChildren
repeat wait() until plr print("iHexSys loading for "..plr.Name..".") script.Parent:TweenPosition(UDim2.new(0.25, 0, 0.25, 0), "Out", "Quad", 3, false) wait(4) if chil.ClassName == "Frame" then for 0,1,0.1 do chil.Transparency = chil.Transparency + 0.1 end end
Error:\Players.Player1.PlayerGui.Start.iHexSys.Enter:4: function arguments expected near 'repeat' |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2013 06:23 PM |
Your
:GetChildren
doesn't have the () necessary to complete a method call's syntax. |
|
|
| Report Abuse |
|
|
Skythen
|
  |
| Joined: 31 May 2013 |
| Total Posts: 432 |
|
|
| 27 Jun 2013 06:28 PM |
Thanks but now I have another problem... No output
plr = game.Players.LocalPlayer chil = script.Parent:GetChildren()
repeat wait() until plr print("iHexSys loading for "..plr.Name..".") script.Parent:TweenPosition(UDim2.new(0.25, 0, 0.25, 0), "Out", "Quad", 3, false) wait(4) if chil.ClassName == "Frame" then for i = 0,1,0.1 do chil.Transparency = chil.Transparency + 0.1 end end |
|
|
| Report Abuse |
|
|
CokeCody
|
  |
| Joined: 31 Mar 2010 |
| Total Posts: 394 |
|
|
| 27 Jun 2013 06:31 PM |
plr = game.Players.LocalPlayer chil = script.Parent:GetChildren()
repeat wait() until plr print("iHexSys loading for "..plr.Name..".") script.Parent:TweenPosition(UDim2.new(0.25, 0, 0.25, 0), "Out", "Quad", 3, false) wait(4) for _, child in pairs(chil) do if child.ClassName == "Frame" then for i = 0,1,0.1 do child.Transparency = child.Transparency + 0.1 end end |
|
|
| Report Abuse |
|
|
CokeCody
|
  |
| Joined: 31 Mar 2010 |
| Total Posts: 394 |
|
|
| 27 Jun 2013 06:32 PM |
| sorry forgot to add an end. add the end at the bottom. |
|
|
| Report Abuse |
|
|
Skythen
|
  |
| Joined: 31 May 2013 |
| Total Posts: 432 |
|
|
| 27 Jun 2013 06:32 PM |
| Thanks! Missing an end though, lol. |
|
|
| Report Abuse |
|
|