My script is not updating the text. Why?
local player = game.Players:WaitForChild("LocalPlayer")
local leaderstats = player.leaderstats
local ki = leaderstats.Ki
local kitext = script.Parent.Ki
local strength = leaderstats.Strength
local strengthtext = script.Parent.Strength
ki.Changed:connect(function()
kitext.Text = "Ki: " ..ki.Value
end)
player.leaderstats.Strength.Changed:connect(function()
strengthtext.Text = "Strength: " ..strength
end)
-MajinBluee

3 comments
"LocalPlayer" is not a child of Players. hiimgoodpack is now exploding...
local player = game.Players.LocalPlayer
LocalPlayer is a property, not an object found in Players which WaitForChild is expecting.