Hello, I am making a combat system in my Roblox Simulator and I’m wondering if anyone knows what im doing wrong with this script- The script is supposed to raise the “Damage” - Intvalue with my Strength leaderstat.
–Heres the script im using any help?
local player = game.Players.LocalPlayer
if player then
local leaderstats = player:WaitForChild(“leaderstats”)
local Cereal = leaderstats.Cereal
local Damage = game.StarterPack.Combat.Damage
Cereal.Value = Cereal.Value + damage.Value
end
–Kykysurvivin