Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can somebody help me add a debounce to this so it only functions once? [closed]

Asked by
F1shCat -10
3 years ago
Edited 3 years ago

game.Workspace.test.Touched:Connect(function(hit)

local plr = game.Players:GetPlayerFromCharacter(hit.Parent)

if plr then
    game.ReplicatedStorage.Cutscene:FireClient(plr)
    end

end)

Closed as Not Constructive by Leamir

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?