You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? For my script to work
What is the issue? Error even though projected reason is false
What solutions have you tried so far? Copying the leaderstats name in player to script and checked for typos
Hello! I have made a script but it does not seem to work due to a false error [It’s supposed to change UI Text depending on the leaderstats number value]
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local StarterGUI = game:GetService("StarterGui")
local workspace = game:GetService("Workspace")
local stageText = StarterGUI.stageUpdate.stage
local stages = workspace.Checkpoints:GetChildren()
stageText.Text = (game.Players.LocalPlayer.leaderstats.Stage.Value)
You should probably either constantly update it or update it when the value changes. You are only changing it once and probably before the Stage value even changes from the leaderstats script.
oo yeah it changes the text value but for some reason the text still is invisible. I’m testing this in studio so idk if its only on studio haha, This has also happened on some tutorials i’ve followed