#I dont know why this simple simple script isnt working im dumb
8 messages · Page 1 of 1 (latest)
Any errors?
no errors
Is this a server script
no
its a local
i tried to change it to
local player = game.Players.LocalPlayer
local label = script.Parent
local prompt = game.Workspace.Rig.ProximityPrompt
wait(0.000001)
local number = player:WaitForChild("NumberCode"):WaitForChild("Number").Value
prompt.Triggered:Connect(function()
label.Text = number
end)