Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- ReplicatedStorage.Remotes.AddStrength.OnServerEvent:Connect(function(player,add)
- local leaderstats = player:WaitForChild("leaderstats")
- local strength = leaderstats:WaitForChild("Strength")
- strength.Value += add
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement