local Debounce = false
script.Parent.Activated:Connect(function()
if Debounce == false then
Debounce = true
game.ReplicatedStorage.KIMoves.Kamehameha.Start:FireServer()
end
end)
script.Parent.Deactivated:Connect(function()
if Debounce == true then
game.ReplicatedStorage.KIMoves.Kamehameha.End:FireServer()
wait(2)
Debounce = false
end
end)
COMMUNITY QUESTION
i cant see the error in this can anyone else?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

7 comments
me neither
fix lua brackets
Edit:- code block
what exactly is it doing now?
There looks to be no error in this script, can I get an error code?
We would appreciate it if you posted some sort of explanation or context. Is the script erroring? If so, what is the error? Is it just not working? If so, please provide the intended functionality. We can't read your mind. We're not geniuses.
Also, you've not shown us the event listener on the server. What is the function being called OnServerEvent?