Im trying to make a part generate that kills you at where you cursor is whenever you press R but I dont know how, can someone help?
I’m pretty sure you can get the Player’s Mouse Position by doing Mouse.Hit.p
? Of course, you’d need to get the Player Mouse as well by doing local Mouse = Player:GetMouse()
We’d also need to get the UserInputService
as well, which finds what type Input every player uses
You can also refer to these API’s: