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

I have a Gui script. And it's canceling my Basic Admin Essentials 2.0. Help?




while true do
 
 script.Parent.Text = "Welcome to K Diamond hotels!"
 wait(5)
 script.Parent.Text = "?? In development! ??"
 wait(5)
 script.Parent.Text = "Discord server invite: https://discord.gg/VYh9Kau"
 wait(5)
script.Parent.Text = "Make sure to go apply!"
 wait(5)
end

&tc.

1 comment

0

p l e a s e u s e c o d e b l o c k s f o r y o u r s c r i p t

1 answer

Hello, the only reason I can think of that has to do with GUI ruining admin is lag. First of all, I don't know if this is a start GUI for when a player joins, but even if not its never a good idea to use while true do for it

while wait(20) do

 script.Parent.Text = "Welcome to K Diamond hotels!"
 wait(5)
 script.Parent.Text = "?? In development! ??"
 wait(5)
 script.Parent.Text = "Discord server invite: https://discord.gg/VYh9Kau"
 wait(5)
script.Parent.Text = "Make sure to go apply!"
 wait(5)
end

I changed it to while wait(20) do because otherwise, it would lag other scripts. This way it has the same effect as while true do. if this doesn't fix the admin, it has nothing to do with the GUI then. And also, putting discord invites is against Roblox rules unless it's in the social media category. It can get you banned. I had to find out the hard way

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