So im trying to make it so when a player clicks the text button they cant walk or jump. it was a simple script but still it didn't work
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Parent.HidePlayers.Disabled = false game.StarterPlayer.CharacterJumpPower = "0" game.StarterPlayer.CharacterWalkSpeed = "0" end)