in my game I have a script inside a part and when you stand on it it teleports you to a specific coordinate and I'm wondering if there is a way to make a gui/ loading screen that shows up for a few seconds when you teleport here is the script that is inside the teleport pad:
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent.HumanoidRootPart.CFrame = CFrame.new(326.84, 1.57, 245.642)
end
end)
if someone knows how i could make either an animated loading screen or a gui that pops up for a few seconds when you touch the teleport pad that would be greatly appreciated.

2 comments
where should i put the script?
Inside the part which is supposed to teleport the character