Lee_everitt

DEAD RAILS UPDATE SCRIPT

Apr 14th, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.03 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local UserInputService = game:GetService("UserInputService")
  3.  
  4. -- Create main GUI
  5. local gui = Instance.new("ScreenGui")
  6. gui.Name = "UltimateTeleportGUI"
  7. gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  8. gui.ResetOnSpawn = false
  9. gui.Parent = player:WaitForChild("PlayerGui")
  10.  
  11. -- Main frame with effects
  12. local mainFrame = Instance.new("Frame")
  13. mainFrame.Name = "MainFrame"
  14. mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  15. mainFrame.Size = UDim2.new(0.5, 0, 0.7, 0)
  16. mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  17. mainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  18. mainFrame.BackgroundTransparency = 0.7
  19. mainFrame.BorderSizePixel = 0
  20. mainFrame.Visible = false
  21. mainFrame.Parent = gui
  22.  
  23. -- Toggle with P key
  24. local function toggleGUI()
  25. mainFrame.Visible = not mainFrame.Visible
  26. end
  27.  
  28. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  29. if not gameProcessed and input.KeyCode == Enum.KeyCode.P then
  30. toggleGUI()
  31. end
  32. end)
  33.  
  34. -- Create tab buttons
  35. local teleportTab = Instance.new("TextButton")
  36. teleportTab.Name = "TeleportTab"
  37. teleportTab.Size = UDim2.new(0.3, 0, 0.08, 0)
  38. teleportTab.Position = UDim2.new(0.1, 0, 0.15, 0)
  39. teleportTab.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
  40. teleportTab.Text = "TELEPORTS"
  41. teleportTab.TextColor3 = Color3.new(1, 1, 1)
  42. teleportTab.Font = Enum.Font.SciFi
  43. teleportTab.TextScaled = true
  44. teleportTab.Parent = mainFrame
  45.  
  46. local hbTab = Instance.new("TextButton")
  47. hbTab.Name = "HBTab"
  48. hbTab.Size = UDim2.new(0.3, 0, 0.08, 0)
  49. hbTab.Position = UDim2.new(0.6, 0, 0.15, 0)
  50. hbTab.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
  51. hbTab.Text = "HEROES BATTLEGROUNDS"
  52. hbTab.TextColor3 = Color3.new(1, 1, 1)
  53. hbTab.Font = Enum.Font.SciFi
  54. hbTab.TextScaled = true
  55. hbTab.Parent = mainFrame
  56.  
  57. -- Create content frames
  58. local teleportContent = Instance.new("Frame")
  59. teleportContent.Name = "TeleportContent"
  60. teleportContent.Size = UDim2.new(0.8, 0, 0.6, 0)
  61. teleportContent.Position = UDim2.new(0.1, 0, 0.25, 0)
  62. teleportContent.BackgroundTransparency = 1
  63. teleportContent.Visible = true
  64. teleportContent.Parent = mainFrame
  65.  
  66. local hbContent = Instance.new("Frame")
  67. hbContent.Name = "HBContent"
  68. hbContent.Size = UDim2.new(0.8, 0, 0.6, 0)
  69. hbContent.Position = UDim2.new(0.1, 0, 0.25, 0)
  70. hbContent.BackgroundTransparency = 1
  71. hbContent.Visible = false
  72. hbContent.Parent = mainFrame
  73.  
  74. -- Function to switch tabs
  75. local function showTab(tabName)
  76. teleportContent.Visible = (tabName == "teleports")
  77. hbContent.Visible = (tabName == "hb")
  78.  
  79. teleportTab.BackgroundColor3 = (tabName == "teleports") and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(0, 150, 255)
  80. hbTab.BackgroundColor3 = (tabName == "hb") and Color3.fromRGB(255, 0, 0) or Color3.fromRGB(150, 0, 0)
  81. end
  82.  
  83. teleportTab.MouseButton1Click:Connect(function()
  84. showTab("teleports")
  85. end)
  86.  
  87. hbTab.MouseButton1Click:Connect(function()
  88. showTab("hb")
  89. end)
  90.  
  91. -- TELEPORT SCRIPTS SECTION
  92. local teleportScripts = {
  93. {
  94. Name = "CASTLE TP",
  95. Script = [[loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/castletpfast.github.io/refs/heads/main/FASTCASTLE.lua"))()]],
  96. Color = Color3.fromRGB(0, 255, 255)
  97. },
  98. {
  99. Name = "FORT TP",
  100. Script = [[loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/Tpfort.github.io/refs/heads/main/Tpfort.lua"))()]],
  101. Color = Color3.fromRGB(255, 0, 255)
  102. },
  103. {
  104. Name = "THE END TP",
  105. Script = [[loadstring(game:HttpGet("https://raw.githubusercontent.com/gumanba/Scripts/refs/heads/main/DeadRails"))()]],
  106. Color = Color3.fromRGB(255, 255, 0)
  107. },
  108. {
  109. Name = "THE END V2 TP",
  110. Script = [[
  111. _G['EndGameOnlyMode'] = true;
  112. script_key="NqUxLbGADaoMsDEkApIugMaRMbuEZnik";
  113. loadstring(game:HttpGet("https://raw.githubusercontent.com/NebulaHubOfc/Public/refs/heads/main/Loader.lua"))()
  114. ]],
  115. Color = Color3.fromRGB(0, 255, 0)
  116. }
  117. }
  118.  
  119. for i, scriptData in ipairs(teleportScripts) do
  120. local button = Instance.new("TextButton")
  121. button.Name = scriptData.Name
  122. button.Size = UDim2.new(1, 0, 0.2, 0)
  123. button.Position = UDim2.new(0, 0, 0.2 * (i-1), 0)
  124. button.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  125. button.BackgroundTransparency = 0.7
  126. button.Text = scriptData.Name
  127. button.TextColor3 = Color3.new(1, 1, 1)
  128. button.Font = Enum.Font.SciFi
  129. button.TextScaled = true
  130. button.Parent = teleportContent
  131.  
  132. -- Hover effects
  133. button.MouseEnter:Connect(function()
  134. button.BackgroundColor3 = scriptData.Color
  135. button.TextColor3 = Color3.new(0, 0, 0)
  136. end)
  137.  
  138. button.MouseLeave:Connect(function()
  139. button.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  140. button.TextColor3 = Color3.new(1, 1, 1)
  141. end)
  142.  
  143. -- Click to execute
  144. button.MouseButton1Click:Connect(function()
  145. local originalText = button.Text
  146. button.Text = "EXECUTING..."
  147.  
  148. local success, err = pcall(function()
  149. loadstring(scriptData.Script)()
  150. end)
  151.  
  152. if success then
  153. button.Text = "SUCCESS!"
  154. else
  155. button.Text = "ERROR!"
  156. warn(err)
  157. end
  158.  
  159. wait(1.5)
  160. button.Text = originalText
  161. end)
  162. end
  163.  
  164. -- HEROES BATTLEGROUNDS SECTION
  165. local hbButton = Instance.new("TextButton")
  166. hbButton.Name = "InfiniteDash"
  167. hbButton.Size = UDim2.new(1, 0, 0.3, 0)
  168. hbButton.Position = UDim2.new(0, 0, 0.2, 0)
  169. hbButton.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  170. hbButton.BackgroundTransparency = 0.7
  171. hbButton.Text = "INFINITE DASH\n(NO FRONT DASH COOLDOWN!)"
  172. hbButton.TextColor3 = Color3.new(1, 1, 1)
  173. hbButton.Font = Enum.Font.SciFi
  174. hbButton.TextScaled = true
  175. hbButton.Parent = hbContent
  176.  
  177. -- Hover effects
  178. hbButton.MouseEnter:Connect(function()
  179. hbButton.BackgroundColor3 = Color3.fromRGB(255, 100, 0)
  180. hbButton.TextColor3 = Color3.new(0, 0, 0)
  181. end)
  182.  
  183. hbButton.MouseLeave:Connect(function()
  184. hbButton.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  185. hbButton.TextColor3 = Color3.new(1, 1, 1)
  186. end)
  187.  
  188. -- Click to execute
  189. hbButton.MouseButton1Click:Connect(function()
  190. local originalText = hbButton.Text
  191. hbButton.Text = "EXECUTING..."
  192.  
  193. local success, err = pcall(function()
  194. loadstring(game:HttpGet('https://pastebin.com/raw/ryEnwvxQ'))()
  195. end)
  196.  
  197. if success then
  198. hbButton.Text = "SUCCESS!"
  199. else
  200. hbButton.Text = "ERROR!"
  201. warn(err)
  202. end
  203.  
  204. wait(1.5)
  205. hbButton.Text = originalText
  206. end)
  207.  
  208. -- Add some effects
  209. local scanLine = Instance.new("Frame")
  210. scanLine.Name = "ScanLine"
  211. scanLine.Size = UDim2.new(1, 0, 0.005, 0)
  212. scanLine.Position = UDim2.new(0, 0, 0, 0)
  213. scanLine.BackgroundColor3 = Color3.new(0, 1, 1)
  214. scanLine.BackgroundTransparency = 0.3
  215. scanLine.Parent = mainFrame
  216.  
  217. spawn(function()
  218. while true do
  219. for i = 0, 1, 0.01 do
  220. scanLine.Position = UDim2.new(0, 0, i, 0)
  221. wait(0.02)
  222. end
  223. end
  224. end)
Add Comment
Please, Sign In to add comment