im having a problem where my value is setting to true but my code doesnt run,
local SuperSpeed = script:WaitForChild("SuperSpeed")
local Fast = script:WaitForChild("Fast")
local Intermediate = script:WaitForChild("Intermediate")
local Slow = script:WaitForChild("Slow")
local CharacterSpeed = script:WaitForChild("CharacterSpeed")
if SuperSpeed.Value == true then
print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 157
CharacterSpeed.Value = 157
i have a separate GUI to set the SuperSpeed Value to True, and it is setting it. but none of the code for the Value being true is being run,

5 comments
Is it possible it is not being set until after it checks if the variable is true? Maybe you need to wait
you need to provide more code or finish your script, because you're missing an "end" at the end and what you
provided is a bit confusing
i only provided that part of the script because everything else is just the same coding but for the other Values (Fast,Intermediate etc etc.)
Is script in the GUI a localscript? If then it explains why it may not work because localscripts only affect “The client” not the server . To affect the server you need to use “Remote Events”. Watch a tutorial on “Remote Events” to better understand how it works.