Local script:
script.Parent.ClickDetector.MouseClick:Connect(function()
game.ReplicatedStorage.GasEvent:FireServer()
wait()
script.Parent.ClickDetector.MaxActivationDistance = 0
wait(300)
script.Parent.ClickDetector.MaxActivationDistance = 32
end)
not working.