I'm really confused...

It gave me this error. 11:33:43.131 - HungerGui is not a valid member of PlayerGui 11:33:43.131 - Stack Begin 11:33:43.132 - Script 'Players.DeterminedTorres_RBX.PlayerGui.Intro.LocalScript', Line 6 11:33:43.132 - Stack End

Then... I checked in PlayerGui, and noticed that HungerGui is there. What's going on?

Anything wrong with the code? (I put in a excerpt of it)

local ContentProvider = game:GetService("ContentProvider")
script.Parent.Frame:TweenPosition(UDim2.new(0, 0,1, 0), "Out", "Quad", .5)
script.Parent.Frame2:TweenPosition(UDim2.new(0, 0,-1, 0), "Out", "Quad", .5)
--script.Parent.LoadingBar:TweenPosition(UDim2.new(0, 0,0.3, 0), "In", "Quad", .5)
wait(2)
game.Players.LocalPlayer.PlayerGui.HungerGui.BlueFrame:TweenPosition(UDim2.new(0.603, 0,1.5, 0), "Out", "Quad", .5)
game:GetService("StarterGui"):SetCoreGuiEnabled("All", false)

3 comments

0

Are you sure its all spelled right?

0

Yes it is.

0

It could be the case of that the script fired before it loaded; to fix this, simply use WaitForChild. :D http://wiki.roblox.com/index.php?title=WaitForChild