Howdy. My goal is make a Talk Button whenever I click it but nothing seems to be working properly. I’m new at scripting. This is the script:
local LastNext = tick()
script.Parent.ClickDetector.MouseClick:connect(function(Player)
if (not Player.Team or Player.Team.Name == 'Admissions' or Player.Name == "iCarlos98") and tick()-LastNext > 3 then
workspace:WaitForChild('BoothSFX').Present:Play()
game:GetService("Chat"):Chat(Player.Character,'PAPERS, PLEASE')
LastNext = tick()
end
end)