Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

ILoading GUI isn't working?!?

This is currently in a localscript. I want the Frame to pop up and the ImageLabel rotating. But the GUI altogether isn't showing. Please help!

local Load = script.Parent.Load
local Picture = script.Parent.ImageLabel
local PicRot = script.Parent.ImageLabel.Rotation
		wait(5)
		Load.Visible = true
		Picture.Visible = true
		PicRot = 0
		repeat
			PicRot = PicRot + 30
		until PicRot == 1800
		Load.Visible = false
		Picture.Visible = false

1 answer

local Load = script.Parent:WaitForChild("Load") -- Just makes it delay until it spawns in.
local Picture = script.Parent.ImageLabel
local PicRot = script.Parent.ImageLabel -- can't have it as a number.
        wait(5)
        Load.Visible = true
        Picture.Visible = true
        PicRot.Roation = 0
	for i = 1,60 do -- this should loop 60 times
	i = i + 1
	PicRot.Rotation = PicRot.Rotation + 30
	end
        Load.Visible = false
        Picture.Visible = false

this SHOULD be fixed and working. If it doesn't tell me the error from the output.

This discussion is preserved as it was. New answers, comments, and votes are closed.