Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago
Edited 4 years ago



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.

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 User#32819 0 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

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

Ad

Answer this question