Okey, so i feel really stupid for not knowing this but here we go... ;-;
I'm working on a Star Wars themed game and after coding lightsabers, force abilities and crouch buttons I realized that the mobile version would be full of buttons (sigh) and now, i've been sitting here for allmost an hour to try and make the lightsabers work with a mouseclick instead... AND IT DOSEN'T WORK!
So, i could use some help... XD. Here's the code...
mouse.KeyDown:connect(function(key)
--Toggling
local saber = character:FindFirstChild(ls)
if key == "q" and enabled then
if active == false and activating == false and not blocking and not attacking then
activating = true
active = true
pose:Play()
wait(0.2)
saber.Aura.Glow.Enabled = true
//Thank you! :D

2 comments
You should not be using the mouse key events. You should be using https://developer.roblox.com/api-reference/class/ContextActionService or https://developer.roblox.com/api-reference/class/UserInputService
Well, that made me even more confused X_X