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

How to make tool follow players view?

Asked by 5 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

Hello, this is my first post on this forum. I was wondering how to make a tool follow the player's view. The player is in first person. I have tried many things and none have worked. An example is in Phantom Forces or Arsenal, the gun follows the player's view, so if they look up, the gun will go up. I am trying to make a similar thing, but with a tool

0
please add some scripting to this that shows you're trying. Just2Terrify 566 — 5y
0
I honestly am. I have tried many things, like I said in my post. None have worked JoRyJuKy 32 — 5y
0
What have you tried yet? Sonnenroboter 336 — 5y
0
Show us your scripting you've tried. Just2Terrify 566 — 5y
View all comments (7 more)
0
There's a lua button, if you put your scripts between those... we'll see the script in scripting form. Just2Terrify 566 — 5y
0
I have deleted the scripting i have tried. Sorry, it didnt work JoRyJuKy 32 — 5y
0
I will answer you, if you show us what you have tried yet. Sonnenroboter 336 — 5y
0
Can someone please read what I have said multiple times before commenting? Sorry but it is annoyin JoRyJuKy 32 — 5y
0
You said, that you tried "many things". We need to know WHAT EXACTLY you tried. Sonnenroboter 336 — 5y
0
Sorry, but we need to know and see what exactly you tried so we can help you fix it. Otherwise we're literally working woth nothing. (unfortunately we can't fix nothing) mbramblet 80 — 5y
0
Please provide more information such as what you are trying to do (visuals) as well as code so we can help you. The more details you provide the better it will be. BlackOrange3343 2676 — 5y

1 answer

Log in to vote
0
Answered by
Markdrg 15
4 years ago

Make the gun face the current position of the cursor.

Ad

Answer this question