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)

7 comments

0

me neither

0

fix lua brackets

0

Edit:- code block

0

what exactly is it doing now?

0

There looks to be no error in this script, can I get an error code?

1

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.

0

Also, you've not shown us the event listener on the server. What is the function being called OnServerEvent?