Advertisement
Sungmingamerpro13

EndScript Type B

Nov 19th, 2024 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.40 KB | None | 0 0
  1. local TeleportService = game:GetService("TeleportService")
  2. local EndingEvent = game.ReplicatedStorage.EndEvent
  3.  
  4. local player = game.Players.LocalPlayer
  5. local EndFrame = player.PlayerGui:WaitForChild("DialogueGui").Ending
  6.  
  7. local function Teleport()
  8.     TeleportService:Teleport(113095351077605)
  9. end
  10.  
  11. EndingEvent.OnClientEvent:Connect(function(Text)
  12.     EndFrame.Visible = true
  13.     wait(5)
  14.     Teleport()
  15. end)
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement