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

loading gui is replaying on death, any way to fix?

Load = 0

while wait() do
	Load = Load + 0.5
	script.Parent.Size = UDim2.new(Load/100, 0, 0.1, 0)
	script.Parent.Parent.LoadingLabel.Text = ("Loading...   " ..math.floor(Load*2).. "%")
	if Load == 50 then 	
		script.Parent.Parent:remove()
	end
end

i thought if i removed it that it wouldnt replay if theres another way to get around this then please tell me

1 answer

✓ Accepted answer

GUIs that are inside StarterGui always "replay". Try placing the GUI inside player's PlayerGui

To do this you would need PlayerAdded event. Then clone the GUI and place it inside player's PlayerGui :)

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