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

why won't my script work anymore?

my script was working a week ago but now it just stopped working whenever I join the game now it doesn't work... i've tried changing it from a regular script to a local script but still nothing happens

heres my script :

game.Players.PlayerAdded:connect(function(plr)
plr:WaitForChild("PlayerGui")
local s = game.ServerStorage.Load:Clone()
s.Parent = plr.PlayerGui
end)

its suppose to clone the gui from the serverstorage into the players playergui but nothing happens.... help?

2 comments

0

Are you testing this in PlaySolo? If so, the PlayerAdded event will not fire. Start a server instead.

1

oh okay thank you so much :D

1 answer

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