generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Help!

Previous Thread :: Next Thread 
Skythen is not online. 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
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
27 Jun 2013 06:23 PM
Your

:GetChildren

doesn't have the () necessary to complete a method call's syntax.
Report Abuse
Skythen is not online. 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 is not online. 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 is not online. 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 is not online. Skythen
Joined: 31 May 2013
Total Posts: 432
27 Jun 2013 06:32 PM
Thanks! Missing an end though, lol.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image