Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make tool that knocks down the player, allowing the caster to carry him?

Asked by 5 years ago

I'd like to include some code but I legit have no idea where to start since I'm a beginner. The idea is to make a tool that knocks down the player that gets hit by it, disabling his commands for a short amount of time, while the caster\owner of the tool can carry the player around by holding them while pressing CTRL (or any other key assigned). I've done some researches and maybe the enum HumanoidStateType.Ragdoll and Change State could do the trick? Hope it makes sense and doesn't sound too much like a request. What I'd like to know is the logic behind a script like the one I just described. Thank you so much!

1 answer

Log in to vote
0
Answered by 5 years ago

It sounds like ur trying to copy Flee The Facility

Check if if a part touches it and check if its a character So when the tool Touches something you want to check if the Parent has a Humanoid Knock the player I think you hve to play some animation or some sort of Enum|Enum/HumanoidStateType i don't really know.. Drag the Player Wait how do you want to drag the player? Pick it up? (Comment)

0
I'm not trying to copy Flee The Facility, never played that. Btw, yes, I want to pick it up. skinny01legend 0 — 5y
Ad

Answer this question