Attempt to index nil with "Clone" in a normal script inside of Workspace

Ok so for some reason char was nil but it did print out the name of the char?
i changed the script from
local char = game.Workspace:FindFirstChild(win1)
to
to local char = game.Workspace:WaitForChild(win1)

delete and
use this: image waits until character is loaded (XD)
https://developer.roblox.com/en-us/api-reference/event/Player/CharacterAppearanceLoaded

2 Likes