Lee_everitt

DEAD RAILS SCRIPT NEW BUTTON

Apr 14th, 2025
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 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 = "DEAD RAILS TP"
  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 (Updated with Tesla Lab)
  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 = "DEAD RAILS 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. Name = "TESLA LAB TP",
  119. Script = [[loadstring(game:HttpGet('https://raw.githubusercontent.com/ringtaa/tptotesla.github.io/refs/heads/main/Tptotesla.lua'))()]],
  120. Color = Color3.fromRGB(255, 100, 0)
  121. }
  122. }
  123.  
  124. for i, scriptData in ipairs(teleportScripts) do
  125. local button = Instance.new("TextButton")
  126. button.Name = scriptData.Name
  127. button.Size = UDim2.new(1, 0, 0.16, 0)
  128. button.Position = UDim2.new(0, 0, 0.16 * (i-1), 0)
  129. button.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  130. button.BackgroundTransparency = 0.7
  131. button.Text = scriptData.Name
  132. button.TextColor3 = Color3.new(1, 1, 1)
  133. button.Font = Enum.Font.SciFi
  134. button.TextScaled = true
  135. button.Parent = teleportContent
  136.  
  137. -- Hover effects
  138. button.MouseEnter:Connect(function()
  139. button.BackgroundColor3 = scriptData.Color
  140. button.TextColor3 = Color3.new(0, 0, 0)
  141. end)
  142.  
  143. button.MouseLeave:Connect(function()
  144. button.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  145. button.TextColor3 = Color3.new(1, 1, 1)
  146. end)
  147.  
  148. -- Click to execute
  149. button.MouseButton1Click:Connect(function()
  150. local originalText = button.Text
  151. button.Text = "EXECUTING..."
  152.  
  153. local success, err = pcall(function()
  154. loadstring(scriptData.Script)()
  155. end)
  156.  
  157. if success then
  158. button.Text = "SUCCESS!"
  159. else
  160. button.Text = "ERROR!"
  161. warn(err)
  162. end
  163.  
  164. wait(1.5)
  165. button.Text = originalText
  166. end)
  167. end
  168.  
  169. -- HEROES BATTLEGROUNDS SECTION
  170. local hbButton = Instance.new("TextButton")
  171. hbButton.Name = "InfiniteDash"
  172. hbButton.Size = UDim2.new(1, 0, 0.3, 0)
  173. hbButton.Position = UDim2.new(0, 0, 0.2, 0)
  174. hbButton.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  175. hbButton.BackgroundTransparency = 0.7
  176. hbButton.Text = "INFINITE DASH\n(NO FRONT DASH COOLDOWN!)"
  177. hbButton.TextColor3 = Color3.new(1, 1, 1)
  178. hbButton.Font = Enum.Font.SciFi
  179. hbButton.TextScaled = true
  180. hbButton.Parent = hbContent
  181.  
  182. -- Hover effects
  183. hbButton.MouseEnter:Connect(function()
  184. hbButton.BackgroundColor3 = Color3.fromRGB(255, 100, 0)
  185. hbButton.TextColor3 = Color3.new(0, 0, 0)
  186. end)
  187.  
  188. hbButton.MouseLeave:Connect(function()
  189. hbButton.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  190. hbButton.TextColor3 = Color3.new(1, 1, 1)
  191. end)
  192.  
  193. -- Click to execute
  194. hbButton.MouseButton1Click:Connect(function()
  195. local originalText = hbButton.Text
  196. hbButton.Text = "EXECUTING..."
  197.  
  198. local success, err = pcall(function()
  199. loadstring(game:HttpGet('https://pastebin.com/raw/ryEnwvxQ'))()
  200. end)
  201.  
  202. if success then
  203. hbButton.Text = "SUCCESS!"
  204. else
  205. hbButton.Text = "ERROR!"
  206. warn(err)
  207. end
  208.  
  209. wait(1.5)
  210. hbButton.Text = originalText
  211. end)
  212.  
  213. -- Add some effects
  214. local scanLine = Instance.new("Frame")
  215. scanLine.Name = "ScanLine"
  216. scanLine.Size = UDim2.new(1, 0, 0.005, 0)
  217. scanLine.Position = UDim2.new(0, 0, 0, 0)
  218. scanLine.BackgroundColor3 = Color3.new(0, 1, 1)
  219. scanLine.BackgroundTransparency = 0.3
  220. scanLine.Parent = mainFrame
  221.  
  222. spawn(function()
  223. while true do
  224. for i = 0, 1, 0.01 do
  225. scanLine.Position = UDim2.new(0, 0, i, 0)
  226. wait(0.02)
  227. end
  228. end
  229. end)
Add Comment
Please, Sign In to add comment