Script: (Normal script)
My gui is being cloned more than once, as seen here:
local Settings = require(script.Parent.Parent)
game.Players.PlayerAdded:Connect(function(plr)
for _, v in next, Settings.Admins do
script.AdminRBXRBX:Clone().Parent = plr.PlayerGui
end
end)
Your script loops constantly, you have to break it
local Settings = require(script.Parent.Parent)
game.Players.PlayerAdded:Connect(function(plr)
for _, v in next, Settings.Admins do
script.AdminRBXRBX:Clone().Parent = plr.PlayerGui
break
end
end)
Also, if the gui is suppose to open for admins only, it won’t do that as there’s no checking
Oh! I thought you could only break while true do
Yeah I saw xddddddddd thanks again