Speed boost effect when speed higher than 16

i have no idea how to do the speed effect(like in Minecraft)

Question is too vague, I don’t understand if you want speed to be higher when your speed is higher than 16. (makes no sense?)

Or you can use :GetPropertyChangedSignal() to see if humanoid’s walkspeed property changed

Question: How To Exactly Use GetPropertyChangedSignal() Code?

For example:

local Part = script.Parent

Part:GetPropertyChangedSignal("Transparency"):Connect(function()
 print("hi")
end)

This will print “hi” everytime Part’s transparency property is changed, it’s simple.

Also, you should make a new topic if you want to ask a fresh question instead of asking on another’s topic.

1 Like

Wow Nice. Alright Thank You!!:star2:

1 Like

No problem! :+1: :slightly_smiling_face:

If you want to add a speed boost to the player put this script in ServerScriptService:

game.Players.ChildAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(char)
			local h = char:WaitForChild("Humanoid")
			h.WalkSpeed = 50 --Change this number to change the player speed
		end)
   end)

Hope it helps!

If you want a run thing, then add this LocalScript in StarterCharacterScripts

script.Parent:WaitForChild("Humanoid")
while game:GetService("UserInputService"):IsKeyDown(Enum.Keycode.RShift) or game:GetService("UserInputService"):IsKeyDown(Enum.Keycode.LShift) do
    script.Parent.Humanoid.WalkSpeed = 20
end

This will increase player speed while they are holding down any of the shift keys.
Hope this helps, have a good day or night!

But what if he wants a speed boost when they press a certain key, like shift for example? And you don’t need a script for that, you can just adjust the properties of StarterPlayer.

1 Like