Ok, so I changed it to this
Yet it still has a issue with defining data
Change
local Player = game.Players.LocalPlayer.Data
to
local Player = Players.LocalPlayer:WaitForChild("Data")
local Players = game.Players.LocalPlayer
local Start = “What do you want?, You have”…Players.Data.CandyCounter.Value…“Candies”
remove data as you already put it in so now itll say player.data.data.candycounter… etc
You’re referencing the service.
Sorry forgot which one to use, haven’t used Players in a while
Is this a LocalScript? LocalPlayer only works for them.
It’s FindFirstChild(“Data”) I believe
normal scripts can also do this
No, its a server script.
That’s why. Server scripts can’t access the local player property, as the server doesn’t have a local player.
WaitForChild is like FindFirstChild except it waits for something to exist if it doesn’t at the moment.
ah, I see now. Ill make a local script work.
This is the second time i’ve seen someone call me a girl lol i’m a guy
I believe your avatar hair was originally for girls, but my bad.