Alright, so all I am trying to do is make a person's WalkSpeed 0 when they click on an ImageButton. The rest of the script is to make their WalkSpeed 16 again once my "countdown" reaches 0. If I need to explain anything with my "countdown" then I can, though I do not think the problem lies with the countdown. When I run the script, the output tells me, 11:11:21.331 - Players.Player.PlayerGui.PumpkinCarver.MainFrame.PC - Pumpkin Carver.OnClick:3: '=' expected near ''
function onClick()
script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 0
local NumberValue = script.Parent.Parent.Parent.ImageLabel.TimeLeft.Value
if NumberValue.Value == 0 then
script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 16
end
end
script.Parent.MouseButton1Click:connect(onClick)
Any thoughts? Thank you. :)

3 comments
Hmm. Perhaps I implemented the code wrong. It does make the WalkSpeed 0 when the Value is not equal to 0, but when the Value equals zero, nothing happens.
I got it to work now. Idk what I did wrong before, but it works now. Tyvm. :)
No probs!