How To Make Touch Event Fire Once

Hello! Now I know this might sound like a dumb question to some, but I am trying to make the Touch event in my script fire only once so that not all the body parts are touching it creating multiple fires. Can you help with this? I can give more detail if you need. Thanks!

1 Like
local connect = part.Touch:Connect(function()
      -- ur thing
      connect:Disconnect()
end)

no idea working or not

You can put a debounce.

1 Like

Hmmm, didn’t work. Here is the script, I just need it for that bottom part

image

local connect; connect = workspace.Win.Touched:Connect(function()
    wipeouts.Value += 1
    connect:Disconnect()
end)
2 Likes