Hello! My name is Tony and I am the Creator and Head Developer of Become a Jedi Simulator. I am looking to make a force tool in which you could lift a player lets say hit e to push them. The current force tool I have only pushes the player when they are clicked. The only problem is, I have no idea how I could do so, any help is appreciated. Thanks in advance!
This post is a little vague with little to no information, however, if I understood correctly what you could attempt to do is:
Use UserInputService to detect when ‘E’ is clicked (or you can use ContextActionService:BindAction() to detect when E is held.). You can either check for magnitude and insert a BodyVelocity inside that specific player or
check when E is being held + if your Mouse.Target
= to the player, if so insert the BodyVelocity inside the specific player once again.
I have listed everything you need below
I’ve already got a local script getting the mouse and a normal script using the force thing, to lift a player up by holding down in the mouse should I add stuff to the main script?
1 Like