Ok, I was trying to make a script that whenever a player joins the game, the new player is checked and if the new player is me, it gives me the tools I have in game.ReplicatedStorage Yet, it's not working and is dispensing no errors.
local rowe = game.Players:FindFirstChild("robertwoodsy5115") --nicknames robertwoodsy5115 in the code
local liljim = game.ReplicatedStorage:GetChildren() --Nicknames the children of game.ReplicatedStorage
if game.Players.PlayerAdded() then --Script gets notified if a new player joins
game.Players:FindFirstChild("robertwoodsy5115") --checks if the new player is robertwoodsy5115
if not robertwoodsy5115 then return end --Cancels everything if new player isn't robertwoodsy5115
else
liljim:Clone().rowe.StarterGear --Clones children of game.ReplicatedStorage into robertwoodsy5115's starter gear
liljim:Clone().rowe.Backpack --Does the same as the line before but with Backpack
end
end

1 comment
i say if you are only testing in studio, based on experience, PlayerAdded does not work for studio players.