local defWalkSpeed = 23
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character
Player.CharacterAdded:Connect(function(NewCharacter)
Character = NewCharacter
end)
local Gui = Player.PlayerGui.LoadingScreen
Gui:GetPropertyChangedSignal("Enabled"):Connect(function()
local Humanoid = Character and Character:WaitForChild("Humanoid")
if Gui.Enabled and Humanoid then
Humanoid.WalkSpeed = 0
elseif Humanoid then
Humanoid.WalkSpeed = defWalkSpeed
end
end)
tysm <3
char limit blah blah blah
1 Like