debounce=true
timeDelay=5 --put your time in seconds!
message="Type your message here! ~ Test subject"
if script:FindFirstChild("IDgiver") then script:FindFirstChild("IDgiver")
estroy() end
ID=Instance.new("IntValue") ID.Name="IDgiver" ID.Parent=script ID.Value=1
script.Parent.Touched:connect(function(hit)
if debounce and hit.Parent:findFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(hit.Parent)and hit.Parent:findFirstChild("IDsum") and hit.Parent:findFirstChild("IDsum").Value==ID.Value then
debounce=false
local sg=Instance.new("ScreenGui")
local fr=Instance.new("TextLabel")
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
hit.Parent.IDsum.Value=hit.Parent.IDsum.Value+1
fr.Parent=sg
fr.BackgroundColor3=Color3.new(0,0,0)
fr.BackgroundTransparency=0.4
fr.Size=UDim2.new(0.65,0,0,-110)
fr.FontSize="Size24"
fr.Font="SourceSans"
fr.TextWrapped=true
fr.Position=UDim2.new(0.175,0,1,110)
fr.TextColor3=Color3.new(1,1,1)
fr.Text=message
fr.TextStrokeTransparency=0
sg.Parent=player.PlayerGui
fr:TweenPosition(UDim2.new(0.175,0,1,0),"Out","Quad",0.35)
game:GetService("Debris"):AddItem(sg,timeDelay)
wait(timeDelay-(0.35/2))
fr:TweenPosition(UDim2.new(0.175,0,1,110),"Out","Quad",0.35/2)
debounce=true
end
end)