Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ DICK-OFF GUI MADE BY @DANPAN#7344
- Leave credit if reposting. If you post a video with no credit, don't be surprised if it will be taken down soon.
- ]]--
- -- Instances:
- local dickoff = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local hax = Instance.new("Frame")
- local apply = Instance.new("TextButton")
- local name = Instance.new("TextBox")
- local speed = Instance.new("TextBox")
- local guide = Instance.new("TextLabel")
- local info = Instance.new("TextButton")
- local cspeed = Instance.new("TextLabel")
- local info_2 = Instance.new("ScrollingFrame")
- local howto = Instance.new("TextLabel")
- local errornote = Instance.new("TextLabel")
- local tut = Instance.new("TextLabel")
- local back = Instance.new("TextButton")
- --Properties:
- dickoff.Name = "dickoff"
- dickoff.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- dickoff.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- main.Parent = dickoff
- main.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.458824)
- main.BorderColor3 = Color3.new(0, 0, 0)
- main.BorderSizePixel = 10
- main.Position = UDim2.new(0.422314048, 0, 0.280098289, 0)
- main.Size = UDim2.new(0, 188, 0, 358)
- main.Active = true
- main.Draggable = true
- local toggle = false
- function onKeyPress(actionName, userInputState, inputObject)
- if userInputState == Enum.UserInputState.Begin then
- if toggle == false then
- toggle = true
- main.Visible = true
- else
- toggle = false
- main.Visible = false
- end
- end
- end
- game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.Q)
- hax.Name = "hax"
- hax.Parent = main
- hax.BackgroundColor3 = Color3.new(1, 1, 1)
- hax.BackgroundTransparency = 1
- hax.BorderSizePixel = 0
- hax.Size = UDim2.new(0, 100, 0, 100)
- name.Name = "name"
- name.Parent = hax
- name.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
- name.BorderSizePixel = 5
- name.Position = UDim2.new(0.107411638, 0, 0.0972874165, 0)
- name.Size = UDim2.new(0, 166, 0, 50)
- name.Font = Enum.Font.GothamSemibold
- name.PlaceholderText = "Username"
- name.Text = game.Players.LocalPlayer.Name
- name.TextColor3 = Color3.new(0, 0, 0)
- name.TextSize = 25
- name.TextWrapped = true
- speed.Name = "speed"
- speed.Parent = hax
- speed.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
- speed.BorderSizePixel = 5
- speed.Position = UDim2.new(0.107411638, 0, 1.02779019, 0)
- speed.Size = UDim2.new(0, 166, 0, 50)
- speed.Font = Enum.Font.GothamSemibold
- speed.PlaceholderText = "Speed"
- speed.Text = "Speed"
- speed.TextColor3 = Color3.new(0, 0, 0)
- speed.TextSize = 25
- speed.TextWrapped = true
- guide.Name = "guide"
- guide.Parent = hax
- guide.BackgroundColor3 = Color3.new(1, 1, 1)
- guide.BackgroundTransparency = 1
- guide.BorderSizePixel = 0
- guide.Position = UDim2.new(0, 11, 0, 67)
- guide.Size = UDim2.new(0, 165, 0, 27)
- guide.Font = Enum.Font.GothamSemibold
- guide.Text = "Q to toggle GUI"
- guide.TextColor3 = Color3.new(1, 0, 0)
- guide.TextSize = 17
- guide.TextStrokeTransparency = 0
- info.Name = "info"
- info.Parent = hax
- info.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
- info.BorderSizePixel = 5
- info.Position = UDim2.new(0, 10, 0, 295)
- info.Size = UDim2.new(0, 165, 0, 50)
- info.Font = Enum.Font.GothamSemibold
- info.Text = "Info"
- info.TextColor3 = Color3.new(0, 0, 0)
- info.TextSize = 25
- info.MouseButton1Click:Connect(function()
- if info_2.Visible == false then
- hax.Visible = false
- info_2.Visible = true else
- hax.Visible = true
- info_2.Visible = false
- end
- end)
- cspeed.Name = "cspeed"
- cspeed.Parent = hax
- cspeed.BackgroundColor3 = Color3.new(1, 1, 1)
- cspeed.BackgroundTransparency = 1
- cspeed.BorderSizePixel = 0
- cspeed.Position = UDim2.new(0.103191495, 0, 2.36921787, 0)
- cspeed.Size = UDim2.new(0, 166, 0, 50)
- cspeed.Font = Enum.Font.GothamSemibold
- cspeed.Text = "Current speed:"
- cspeed.TextColor3 = Color3.new(0, 0, 0)
- cspeed.TextSize = 16
- if game.PlaceId == 318978013 then
- cspeed.Text = 'Current speed: ' .. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
- else
- cspeed.Text = "Currently not in Kick Off."
- end
- info_2.Name = "info_2"
- info_2.Parent = main
- info_2.BackgroundColor3 = Color3.new(1, 1, 1)
- info_2.BackgroundTransparency = 1
- info_2.Size = UDim2.new(0, 188, 0, 358)
- info_2.Visible = false
- howto.Name = "howto"
- howto.Parent = info_2
- howto.BackgroundColor3 = Color3.new(1, 1, 1)
- howto.BackgroundTransparency = 1
- howto.BorderSizePixel = 0
- howto.Position = UDim2.new(0, 0, 0.139664799, 0)
- howto.Size = UDim2.new(0, 171, 0, 50)
- howto.Font = Enum.Font.GothamSemibold
- howto.Text = "How to use GUI?"
- howto.TextColor3 = Color3.new(0, 0, 0)
- howto.TextSize = 25
- howto.TextWrapped = true
- errornote.Name = "errornote"
- errornote.Parent = info_2
- errornote.BackgroundColor3 = Color3.new(1, 1, 1)
- errornote.BackgroundTransparency = 1
- errornote.BorderSizePixel = 0
- errornote.Position = UDim2.new(0, 0, 0.219273746, 0)
- errornote.Size = UDim2.new(0, 174, 0, 115)
- errornote.Font = Enum.Font.Gotham
- errornote.Text = "If you get an error, then you probably didn't put your EXACT USERNAME into the box. You need to capitalize all the specified letters in your username."
- errornote.TextColor3 = Color3.new(0, 0, 0)
- errornote.TextSize = 15
- errornote.TextWrapped = true
- tut.Name = "tut"
- tut.Parent = info_2
- tut.BackgroundColor3 = Color3.new(1, 1, 1)
- tut.BackgroundTransparency = 1
- tut.BorderSizePixel = 0
- tut.Position = UDim2.new(0.0053191483, 0, 0.379888266, 0)
- tut.Size = UDim2.new(0, 168, 0, 115)
- tut.Font = Enum.Font.Gotham
- tut.Text = "After you make sure you typed in your username and speed value, click on the button that says \"Apply all\", and watch how all the magic happens."
- tut.TextColor3 = Color3.new(0, 0, 0)
- tut.TextSize = 15
- tut.TextWrapped = true
- back.Name = "back"
- back.Parent = info_2
- back.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
- back.BorderSizePixel = 5
- back.Position = UDim2.new(0, 12, 0, 396)
- back.Size = UDim2.new(0, 150, 0, 40)
- back.Font = Enum.Font.GothamSemibold
- back.Text = "Return"
- back.TextColor3 = Color3.new(0, 0, 0)
- back.TextSize = 25
- back.Visible = true
- back.MouseButton1Click:Connect(function()
- if info_2.Visible == true then
- info_2.Visible = false
- hax.Visible = true
- else
- info_2.Visible = true
- hax.Visible = false
- end
- end)
- print("GUI LOADED!")
- warn("Made by @DanPan#7344")
- apply.Name = "apply"
- apply.Parent = hax
- apply.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
- apply.BorderSizePixel = 5
- apply.Position = UDim2.new(0, 10, 0, 175)
- apply.Size = UDim2.new(0, 165, 0, 50)
- apply.Font = Enum.Font.GothamSemibold
- apply.Text = "Apply all"
- apply.TextColor3 = Color3.new(0, 0, 0)
- apply.TextSize = 25
- apply.MouseButton1Click:Connect(function()
- local userspeed = speed.Text
- local username = name.Text
- game.Workspace[username].AntiSpeedHack.Disabled = true
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = userspeed
- cspeed.Text = 'Current speed: ' .. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
- end)
- function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
- counter = 0
- while wait(0.1)do
- apply.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
- counter = counter + 0.01
- end
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Q then
- if main.Visible == true then
- main.Visible = false
- else
- main.Visible = true
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement