so i made a code that should print out "What" but it does not and what error prints out? attempt to index nil with 'FindFirstChild' so it means that the "FindFirstChild" has a problem
NOTE: just to clarify i rewrote my whole script and i did not notice but i wrote "Crowns" but i was supposed to write "Coins" but even if i correct the code and i try it in a new fresh game it still does not work.
here is my code:
print("gygfg") local Newfolder = game.Players:FindFirstChild("Coins") print("uhm") game.Players.PlayerAdded:Connect(function(plr) print("if") if Newfolder:FindFirstChild("Coins") then print("What") else print("No Coins Value Found") end end)
Thanks!