Hi, sorry for the interruption but how can I activate a fading gui in my Teleport Portal.
Picture of my portal :
This is my teleporting script:
local pad1 = workspace.Stage1
local pad2 = workspace.Stage2
local cooldown = 1
pad1.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
if hit.Parent:FindFirstChild("HumanoidRootPart") then
print("touched")
local hrp = hit.Parent.HumanoidRootPart
wait(cooldown)
hrp.CFrame = pad2.CFrame + Vector3.new(0,2,0)
wait (cooldown)
script.Disabled = true
wait(cooldown)
script.Disabled = false
end
end
end)
I wanted to create a portal that when you enter your screen fades (when I step on the part it
instantly teleports me to the other pad), I just wanted to create some kind of transition to make it look smoother.