I want functions to happen when i press a key some of the functions include respawning characters. So i need the mouse.Target but that only works on everything but me... I've tried the script below it works on everything but my own character.
plr = game.Players.LocalPlayer
mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key:lower()=="r"then
mouse.Target:Destroy()
end
end)
