I am trying to re-create the fans you find in Fall guys, the player jumps above the fan, the player floats upwards to a certain spot, they jump off where the fan is, they return to normal, hopefully the video below helps explain.
What is the issue?
I have no idea where to begin. I have looked at LinearVelocity and LinearForce but not sure whether they will be any help to me or if they are, how I could implement them to create this, I have looked at their documentation but I can’t seem to find whether they’d help in this situation. The animations aren’t important in this case, just looking for the basic functionality.
Additional Information
If anyone knows how I could achieve this or what I can try, please let me know.
Here is a video I found that showcases the fan I am trying to recreate, I am trying to start with a straight-upwards one, but the video should give you an idea.
Not too sure how to implement it, I gave it a go here but nothing seemed to happen other than the force being changed as the script says, I probably did something wrong, could you give me a hand?
for _, fanParts in pairs(CS:GetTagged("FanPart")) do
fanParts.Touched:Connect(function(touched)
print(touched)
RS.RE.VectorForce:FireServer(player)
end)
end
for _, fanParts in pairs(CS:GetTagged("FanPart")) do
local db = false
fanParts.Touched:Connect(function(touched)
if db == false then
db = true
print(touched)
RS.RE.VectorForce:FireServer(player)
task.wait(0.5)
db = false
end
end)
end
is this what your asking or not, it still does nothing, there would now only be 2 scripts now?
i think from testing it works when the player jumps, only problem now is that I need the player to hover when they start touching the part like in the video, do you have any ideas on that ?