ihaveafrozenfever

dead rails tp to end

Mar 22nd, 2025
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local noclipEnabled = false
  3. local ownerUserId = 4539739448
  4. local RunService = game:GetService("RunService")
  5. local VirtualInputManager = game:GetService("VirtualInputManager")
  6.  
  7. local function sendNotification(title, text, duration)
  8. pcall(function()
  9. game.StarterGui:SetCore("SendNotification", {
  10. Title = title,
  11. Text = text,
  12. Duration = duration or 4
  13. })
  14. end)
  15. end
  16.  
  17. if player.UserId == ownerUserId then
  18. sendNotification("Welcome Owner", "Welcome " .. player.Name, 5)
  19. end
  20.  
  21. local function toggleNoclip(state)
  22. noclipEnabled = state or not noclipEnabled
  23. for _, part in pairs(player.Character:GetDescendants()) do
  24. if part:IsA("BasePart") then
  25. part.CanCollide = not noclipEnabled
  26. end
  27. end
  28. end
  29.  
  30. RunService.Stepped:Connect(function()
  31. if noclipEnabled and player.Character then
  32. for _, part in pairs(player.Character:GetDescendants()) do
  33. if part:IsA("BasePart") then
  34. part.CanCollide = false
  35. end
  36. end
  37. end
  38. end)
  39.  
  40. local success, library = pcall(function()
  41. return loadstring(game:HttpGet("https://raw.githubusercontent.com/liebertsx/Tora-Library/main/src/librarynew", true))()
  42. end)
  43.  
  44. if not success or not library then
  45. sendNotification("Error", "Failed to load Tora Library", 5)
  46. return
  47. end
  48.  
  49. local window = library:CreateWindow("DEAD RAILS")
  50.  
  51. window:AddButton({
  52. text = "Bypass To End",
  53. callback = function()
  54. sendNotification("Spam Button If Not Teleported", "Keep clicking if teleport fails", 4)
  55. wait(1)
  56. player.Character:PivotTo(CFrame.new(-346, -69, -49060))
  57. end
  58. })
  59.  
  60. window:AddButton({
  61. text = "Toggle NoClip",
  62. callback = function()
  63. toggleNoclip()
  64. sendNotification("NoClip Status", "NoClip is now " .. (noclipEnabled and "Enabled" or "Disabled"), 4)
  65. end
  66. })
  67.  
  68. window:AddLabel({ text = "Credits: Dora & Shidou & Play", type = "label" })
  69. library:Init()
  70.  
  71. local function createTimerUI()
  72. local screenGui = Instance.new("ScreenGui", player.PlayerGui)
  73.  
  74. local timerFrame = Instance.new("Frame", screenGui)
  75. timerFrame.Size = UDim2.new(0, 220, 0, 60)
  76. timerFrame.Position = UDim2.new(0.5, -110, 0, 10)
  77. timerFrame.AnchorPoint = Vector2.new(0.5, 0)
  78. timerFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  79. timerFrame.BorderSizePixel = 2
  80. timerFrame.BorderColor3 = Color3.fromRGB(255, 85, 85)
  81.  
  82. local timerLabel = Instance.new("TextLabel", timerFrame)
  83. timerLabel.Size = UDim2.new(1, 0, 1, 0)
  84. timerLabel.Text = "10:00"
  85. timerLabel.TextColor3 = Color3.fromRGB(255, 85, 85)
  86. timerLabel.Font = Enum.Font.GothamBlack
  87. timerLabel.TextSize = 32
  88. timerLabel.BackgroundTransparency = 1
  89.  
  90. return timerLabel
  91. end
  92.  
  93. local timerLabel = createTimerUI()
  94.  
  95. local function startTimer(duration)
  96. local endTime = tick() + duration
  97. while tick() < endTime do
  98. local remaining = endTime - tick()
  99. timerLabel.Text = string.format("%02d:%02d", math.floor(remaining / 60), math.floor(remaining % 60))
  100. wait(0.1)
  101. end
  102. timerLabel.Text = "00:00"
  103. end
  104.  
  105. startTimer(600)
  106.  
  107. local function handleCommand(command)
  108. local args = {}
  109. for arg in command:gmatch("%S+") do table.insert(args, arg) end
  110.  
  111. if player.UserId == ownerUserId then
  112. if args[1] == "!kick" and args[2] then
  113. local targetPlayer = game.Players:FindFirstChild(args[2])
  114. if targetPlayer then
  115. targetPlayer:Kick("Kicked by Owner")
  116. else
  117. sendNotification("Error", "Player not found: " .. args[2], 5)
  118. end
  119. elseif args[1] == "!notify" then
  120. local message = table.concat(args, " ", 2)
  121. for _, plr in pairs(game.Players:GetPlayers()) do
  122. sendNotification("Notification", message, 5)
  123. end
  124. elseif args[1] == "!say" then
  125. local message = table.concat(args, " ", 2)
  126. VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Slash, false, game)
  127. wait(0.1)
  128. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All")
  129. end
  130. end
  131. end
  132.  
  133. player.Chatted:Connect(handleCommand)
Add Comment
Please, Sign In to add comment