local player = game.Players.LocalPlayer or game.Players.PlayerAdded:Wait()
local char = player.Character or player.CharacterAdded:Wait()
local button = script.Parent
local auraEvent = game.ReplicatedStorage.AuraEvent
local toggle = false
game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(KeyPressed)
if KeyPressed == "Q" then
elseif not toggle then
toggle = true
auraEvent:FireServer(char)
else
toggle = false
char.HumanoidRootPart.Effect:Destroy()
end
end)
this is the script , so whenever i hit Q it enables the aura but when i run or jump its disabled and when i hit Q again to disable it it does nothing
