Hi, I'm trying to make a aura the player gets once they reach a certain lvl or rebirth. I have a ServerScript in StarterCharacterScripts to handle this, the output shows no errors or anything printed as told.
Here is the script:
game.Players.PlayerAdded:Connect(function(player) local Aura = game.ReplicatedStorage.Auras.Lightning player.CharacterAdded:Connect(function(Char) if player.leaderstats.Levels.Value >= 50 and player.leaderstats.Rebirths.Value >= 5 then Aura:Clone().Parent = Char.HumanoidRootPart print("Given") end end) end)
Try putting the script in ServerScriptService. If that doesn’t work then instead of making the aura on the HumanoidRootPart, put it on the torso