Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
- main.Name = ("DeathX")
- tab = Instance.new("Frame",main)
- frame = Instance.new("Frame",tab)
- close = Instance.new("TextButton",tab)
- min = Instance.new("TextButton",tab)
- blabel = Instance.new("TextLabel",tab)
- btn1 = Instance.new("TextButton",frame)
- btn2 = Instance.new("TextButton",frame)
- btn3 = Instance.new("TextButton",frame)
- --Appearance
- tab.AnchorPoint = Vector2.new(0.5,0.5)
- tab.Position = UDim2.new(0.5,0,0.5,0)
- tab.Size = UDim2.new(0,400,0,25)
- tab.BorderSizePixel = 0
- tab.BackgroundColor3 = Color3.new(117, 122, 117)
- tab.Draggable = true
- tab.Active = true
- frame.Position = UDim2.new(0,0,0,25)
- frame.Size = UDim2.new(0,400,0,95)
- frame.BorderSizePixel = 0
- frame.BackgroundColor3 = Color3.new(0.290196, 0.635294, 1)
- close.Position = UDim2.new(1,-20,0,0)
- close.Size = UDim2.new(0,20,0,20)
- close.BorderSizePixel = 0
- close.BackgroundColor3 = Color3.new(1,1,1)
- close.Text = ("X")
- close.Font = ("Arial")
- close.TextSize = 15
- close.TextColor3 = Color3.new(26/255,26/255,26/255)
- min.Position = UDim2.new(1,-40,0,0)
- min.Size = UDim2.new(0,20,0,20)
- min.BorderSizePixel = 0
- min.BackgroundColor3 = Color3.new(1,1,1)
- min.Text = ("_")
- min.Font = ("Arial")
- min.TextSize = 15
- min.TextColor3 = Color3.new(26/255,26/255,26/255)
- blabel.Position = UDim2.new(0,75,0,8)
- blabel.BackgroundTransparency = 1
- blabel.Text = ("DeathX Gui By Klepto")
- blabel.TextSize = 10
- blabel.TextColor3 = Color3.new(0,0,0)
- btn1.Position = UDim2.new(0,5,0,5)
- btn1.Size = UDim2.new(0,126,0,80)
- btn1.BorderSizePixel = 0
- btn1.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
- btn1.Text = ("Spam Traps")
- btn1.Font = ("Arial")
- btn1.TextSize = 20
- btn1.TextColor3 = Color3.new(0,0,0)
- btn2.Position = UDim2.new(0,136,0,5)
- btn2.Size = UDim2.new(0,126,0,80)
- btn2.BorderSizePixel = 0
- btn2.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
- btn2.Text = ("Auto Win")
- btn2.Font = ("Arial")
- btn2.TextSize = 20
- btn2.TextColor3 = Color3.new(0,0,0)
- btn3.Position = UDim2.new(0,267,0,5)
- btn3.Size = UDim2.new(0,128,0,80)
- btn3.BorderSizePixel = 0
- btn3.BackgroundColor3 = Color3.new(0.258824, 0.192157, 1)
- btn3.Text = ("Walkspeed")
- btn3.Font = ("Arial")
- btn3.TextSize = 20
- btn3.TextColor3 = Color3.new(0,0,0)
- game.StarterGui:SetCore("SendNotification", {
- Title = "DeathX";
- Text = "Welcome To DeathX. A ROBLOX Deathrun Made By Klepto.";
- })
- -- Traps
- btn1.MouseButton1Down:connect(function()
- game.StarterGui:SetCore("SendNotification", {
- Title = "DeathX";
- Text = "Traps Spam Has Been Enabled. Press Q To Trigger The Traps.";
- })
- local event = game:GetService('ReplicatedStorage').Network.Deathrun.Traps.ActivateTrapRequest;
- local mouse = game:GetService('Players').LocalPlayer:GetMouse()
- local enabled;
- mouse.KeyDown:connect(function(k)
- if k == 'q' then
- enabled = not enabled;
- warn(enabled)
- end
- end);
- while wait(2) do
- if enabled then
- if workspace:FindFirstChild('CurrentMap') then
- for i,v in next, workspace.CurrentMap.Traps:GetChildren() do
- if v:FindFirstChild('TrapButton') then
- event:FireServer(v, v.TrapButton.Button)
- end
- end
- end
- end
- end
- end)
- -- Auto Win
- btn2.MouseButton1Down:connect(function()
- if workspace.ViewModels:findFirstChild("Coin") then
- local pickup = workspace.ViewModels:getChildren()
- for i=1,#pickup do
- wait(0.2)
- game.Players.LocalPlayer.Character:MoveTo(pickup[i].Position)
- end
- end
- if workspace.workspace.ViewModels:findFirstChild("Collectible") then
- local pickup = workspace.ViewModels:getChildren()
- for i=1,#pickup do
- wait(0.2)
- game.Players.LocalPlayer.Character:MoveTo(pickup[i].Position)
- end
- end
- )
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement