As demonstrated in the attached video, when a player walks into the wind, a force will gradually be applied (Look in the properties).
But, when it reaches a certain amount, the force completely takes over. This is not the result i was hoping for, I was hoping it would bring the character to a full stop, by cancelling out the walking force.
I’ve tried using BodyVelocity but it result is the same as the VectorForce’s.
Does anyone have a solution?
4 Likes
Do you only want to know a good way to gradually slow down a player?
Yes, but no manipulating walkspeed.
1 Like
Just use TweenService
local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = player.Character.Humanoid
local TS = game:GetService("TweenService")
local TI = TweenInfo.new(10, Enum.EasingStyle.Linear) -- Change "10" to the number of seconds you want it to take to completely stop the player from being able to move.
local goal = {}
goal.WalkSpeed = 0
local Tween = TS:Create(humanoid, TI, goal)
Tween:Play()
1 Like
Not the result im looking for.
It most likely isn’t … I just gave you an example of how you can use it to gradually slow down a player.
You can edit the script in your own way.
1 Like
I requested no manipulating walkspeed, this uses walkspeed.
The reason I dont want to use walkspeed is that i still want my player to be able to move the opposite direction