I have a script here:
It plays like, 50 times when touching it.
Can it be done without using Region3 or Rays?
part.Teleport1Part.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local thing = game.Players.LocalPlayer.PlayerGui.ScreenGui.TeleportBlackScreen
thing.Visible = true
repeat
wait(0.1)
thing.BackgroundTransparency = thing.BackgroundTransparency - 0.1
until thing.BackgroundTransparency <= 0
hit.Parent.Head.CFrame = part.Teleport1Position.CFrame
repeat
wait(1)
thing.BackgroundTransparency = thing.BackgroundTransparency + 0.1
until thing.BackgroundTransparency >= 1
thing.Visible = false
end
end
end)

2 comments
This does indeed work, thank you a lot! I never had a clue such a thing was possible. Not only will this fix my problem, it will also fix a broken huge part of my game.
no problem!