gamepass = 258497411 game.Players.PlayerAdded:connect(function(v) if game:GetService("GamePassService"):PlayerHasPass(player, gamepass) then local gui = game.Lighting.RegenGui gui.Parent = v.Startergui end
COMMUNITY QUESTION
is this VIP gui Script good? (fix it if it's broken)
1 answer
local gamepass = 258497411
game.Players.PlayerAdded:connect(function(player)
if game:GetService("GamePassService"):PlayerHasPass(player, gamepass) then
local gui = game.Lighting.RegenGui:clone()
gui.Parent = player.PlayerGui
end
end)
In future please test the scripts yourself instead of relying on others to do everything for you.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You would have a parenthesis on that last end to show the end of the connection line.
Oh yeah I forgot about that sorry.