Advertisement
Guest User

Untitled

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