YANIS_EXPLOITS

Roblox Deathrun GUI

Aug 17th, 2019
8,244
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. wait(0.1)
  2.  
  3. main = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  4. main.Name = ("DeathX")
  5. tab = Instance.new("Frame",main)
  6. frame = Instance.new("Frame",tab)
  7. close = Instance.new("TextButton",tab)
  8. min = Instance.new("TextButton",tab)
  9. blabel = Instance.new("TextLabel",tab)
  10. btn1 = Instance.new("TextButton",frame)
  11. btn2 = Instance.new("TextButton",frame)
  12. btn3 = Instance.new("TextButton",frame)
  13.  
  14.  
  15. --Appearance
  16.  
  17. tab.AnchorPoint = Vector2.new(0.5,0.5)
  18. tab.Position = UDim2.new(0.5,0,0.5,0)
  19. tab.Size = UDim2.new(0,400,0,25)
  20. tab.BorderSizePixel = 0
  21. tab.BackgroundColor3 = Color3.new(117, 122, 117)
  22. tab.Draggable = true
  23. tab.Active = true
  24.  
  25. frame.Position = UDim2.new(0,0,0,25)
  26. frame.Size = UDim2.new(0,400,0,95)
  27. frame.BorderSizePixel = 0
  28. frame.BackgroundColor3 = Color3.new(0.290196, 0.635294, 1)
  29.  
  30. close.Position = UDim2.new(1,-20,0,0)
  31. close.Size = UDim2.new(0,20,0,20)
  32. close.BorderSizePixel = 0
  33. close.BackgroundColor3 = Color3.new(1,1,1)
  34. close.Text = ("X")
  35. close.Font = ("Arial")
  36. close.TextSize = 15
  37. close.TextColor3 = Color3.new(26/255,26/255,26/255)
  38.  
  39. min.Position = UDim2.new(1,-40,0,0)
  40. min.Size = UDim2.new(0,20,0,20)
  41. min.BorderSizePixel = 0
  42. min.BackgroundColor3 = Color3.new(1,1,1)
  43. min.Text = ("_")
  44. min.Font = ("Arial")
  45. min.TextSize = 15
  46. min.TextColor3 = Color3.new(26/255,26/255,26/255)
  47.  
  48. blabel.Position = UDim2.new(0,75,0,8)
  49. blabel.BackgroundTransparency = 1
  50. blabel.Text = ("DeathX Gui By Yanis#5565")
  51. blabel.TextSize = 10
  52. blabel.TextColor3 = Color3.new(0,0,0)
  53.  
  54.  
  55. btn1.Position = UDim2.new(0,5,0,5)
  56. btn1.Size = UDim2.new(0,126,0,80)
  57. btn1.BorderSizePixel = 0
  58. btn1.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
  59. btn1.Text = ("Spam Traps")
  60. btn1.Font = ("Arial")
  61. btn1.TextSize = 20
  62. btn1.TextColor3 = Color3.new(0,0,0)
  63.  
  64. btn2.Position = UDim2.new(0,136,0,5)
  65. btn2.Size = UDim2.new(0,126,0,80)
  66. btn2.BorderSizePixel = 0
  67. btn2.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
  68. btn2.Text = ("Auto Win")
  69. btn2.Font = ("Arial")
  70. btn2.TextSize = 20
  71. btn2.TextColor3 = Color3.new(0,0,0)
  72.  
  73. btn3.Position = UDim2.new(0,267,0,5)
  74. btn3.Size = UDim2.new(0,128,0,80)
  75. btn3.BorderSizePixel = 0
  76. btn3.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
  77. btn3.Text = ("Walkspeed")
  78. btn3.Font = ("Arial")
  79. btn3.TextSize = 20
  80. btn3.TextColor3 = Color3.new(0,0,0)
  81.  
  82. game.StarterGui:SetCore("SendNotification", {
  83. Title = "DeathX";
  84. Text = "Welcome To DeathX. A ROBLOX Deathrun Made By Yanis#5565.";
  85. })
  86.  
  87. -- Traps
  88. btn1.MouseButton1Down:connect(function()
  89.  
  90. game.StarterGui:SetCore("SendNotification", {
  91. Title = "DeathX";
  92. Text = "Traps Spam Has Been Enabled. Press Q To Trigger The Traps.";
  93. })
  94.  
  95. local event = game:GetService('ReplicatedStorage').Network.Deathrun.Traps.ActivateTrapRequest;
  96. local mouse = game:GetService('Players').LocalPlayer:GetMouse()
  97. local enabled;
  98.  
  99. mouse.KeyDown:connect(function(k)
  100. if k == 'q' then
  101. enabled = not enabled;
  102. warn(enabled)
  103. end
  104. end);
  105.  
  106. while wait(2) do
  107. if enabled then
  108. if workspace:FindFirstChild('CurrentMap') then
  109. for i,v in next, workspace.CurrentMap.Traps:GetChildren() do
  110. if v:FindFirstChild('TrapButton') then
  111. event:FireServer(v, v.TrapButton.Button)
  112. end
  113. end
  114. end
  115. end
  116. end
  117.  
  118.  
  119. end)
  120.  
  121. -- Auto Win
  122. btn2.MouseButton1Down:connect(function()
  123. if workspace.CurrentMap.Game:findFirstChild("Pickups") then
  124. local pickup = workspace.CurrentMap.Game.Pickups:getChildren()
  125. for i=1,#pickup do
  126. wait(0.2)
  127. game.Players.LocalPlayer.Character:MoveTo(pickup[i].Position)
  128. end
  129. end
  130.  
  131. if workspace.CurrentMap.Game:findFirstChild("CoinPickups") then
  132. local pickup = workspace.CurrentMap.Game.CoinPickups:getChildren()
  133. for i=1,#pickup do
  134. wait(0.2)
  135. game.Players.LocalPlayer.Character:MoveTo(pickup[i].Position)
  136. end
  137. end
  138.  
  139.  
  140. local checkpoint = workspace.CurrentMap.Game.CheckPointsModel:getChildren()
  141. for i=1,#checkpoint do
  142. wait(0.2)
  143. game.Players.LocalPlayer.Character:MoveTo(checkpoint[i].Button.Base.Position)
  144. end
  145.  
  146. wait(0.5)
  147.  
  148. if workspace.CurrentMap.Map:findFirstChild("EndingTeleporter") then
  149. game.Players.LocalPlayer.Character:MoveTo(workspace.CurrentMap.Map.EndingTeleporter.Base.Position)
  150. end
  151.  
  152. if workspace.CurrentMap.Map:findFirstChild("EndingTeleporterModel") then
  153. game.Players.LocalPlayer.Character:MoveTo(workspace.CurrentMap.Map.EndingTeleporterModel.Base.Position)
  154. end
  155. end)
  156.  
  157. -- Walkspeed
  158. btn3.MouseButton1Down:connect(function()
  159. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 150
  160.  
  161. game.StarterGui:SetCore("SendNotification", {
  162. Title = "DeathX";
  163. Text = "Walkspeed Set To 150.";
  164. })
  165. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment