Hey Devforum, for some reason my proximity prompt script isn’t working. I tested Triggered and TriggerEnded, and neither worked. The script isn’t printing at all, so I decided to take to the devforum. Here is the script:
local Debounce = false
script.Parent.Triggered:Connect(function()
if Debounce == true then else return end
Debounce = true
local Types = "Door"
game.ReplicatedStorage.RemoteEvent:FireAllClients()
print('sent2')
wait(5)
Debounce = false
print('sent')
end)