Remote Event Fires Without Me Clicking a UI [SOLVED]

it still doesn’t work idk what will fix this issue

nvm i fixed it here is the code:

local player = game.ReplicatedStorage.Events.Tsunami
local tsunami = game.Workspace.Tsunami

function tsunami()
game.Workspace.Tsunami.Tweener7.Disabled = false
	print("it works")
end



player.OnServerEvent:Connect(tsunami)
``` ---SERVER SCRIPT

so what was the issue? other people with similar problems may want to know.

i forgot to add function tsunami()

Well that answer is exactly similar to:

1 Like

that person didn’t say where to put it

yes he didn’t tell. He showed you dude…