Walkspeed Changing

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want the walkspeed to be turned too 8 in a script
  2. What is the issue? Include screenshots / videos if possible!
    It wont change down
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Ive tried doing it normaly and it doesent work
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local HRP = Plr.Character:FindFirstChild("HumanoidRootPart")

HRP.CFrame = workspace.Logs.Log1.CFrame

		HRP.CFrame *= CFrame.Angles(0, math.rad(180), 0)
		
		Plr.Character:FindFirstChild("Humanoid").JumpPower = 0
	
		local Char = Plr.Character

		local Att1 = workspace.Logs.Log1.Attachment1

		local Att2 = Char.HumanoidRootPart.RootAttachment
		
		local RC = Instance.new("RopeConstraint")
		RC.Name = "RC"
		RC.Parent = workspace.Logs.Log1
		RC.Attachment0 = Att2
		RC.Attachment1 = Att1
		RC.Length = 1
		
		Char:FindFirstChildWhichIsA("Humanoid").WalkSpeed = 8

So this picks up a log, Whenever it picks up the log it sets walkspeed to 16 and wont let me change it

1 Like

are you getting any erros in the console?

1 Like

No… Character limmet is stupid

1 Like

can you add print after setting the speed? just to make sure that the code runs

1 Like

Move the walkspeed changing line up, if an error occurs in that script, the whole thing will halt.

i tested the walkSpeed change script that you made and it worked fine i think that your code isnot completing to the end you can use print() to check for that

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(Char)
		local Humanoid :Humanoid = Char:FindFirstChildWhichIsA("Humanoid")
		Humanoid.WalkSpeed = 2
	end)
end)

It does and it says it sets the speed but it dont work

Ive done that too… ive tried alota thingss

If you have no errors, then you likely have another script changing the walk speed which interferes with this script.

i used the same WalkSpeed changer line that u made and it worked
you can check if there is any other script that is changing the walkspeed

That could be a possibillity… Ill check

I dont think it is… Could my problem be that im doing this server side?

K i did it on local and server and it worked (I have 0 clue why)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.