Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local screengui = Instance.new("ScreenGui")
- local frame = Instance.new("Frame")
- local tbkTbutton = Instance.new("TextBox")
- local title = Instance.new("TextLabel")
- local tcButton = Instance.new("TextButton")
- local auButton = Instance.new("TextButton")
- local keybindTEXT = Instance.new("TextLabel")
- local enButton = Instance.new("TextButton")
- screengui.Name = "screengui"
- screengui.Parent = game.CoreGui
- screengui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- frame.Name = "frame"
- frame.Parent = screengui
- frame.BackgroundColor3 = Color3.fromRGB(48, 48, 48)
- frame.BorderSizePixel = 0
- frame.Position = UDim2.new(0.33564356, 0, 0.376146823, 0)
- frame.Size = UDim2.new(0, 200, 0, 100)
- frame.Active = true
- frame.Draggable = true
- tbkTbutton.Name = "tbkTbutton"
- tbkTbutton.Parent = frame
- tbkTbutton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- tbkTbutton.BackgroundTransparency = 1.000
- tbkTbutton.BorderSizePixel = 0
- tbkTbutton.Position = UDim2.new(0.86500001, 0, 0, 0)
- tbkTbutton.Size = UDim2.new(0, 27, 0, 28)
- tbkTbutton.Font = Enum.Font.Code
- tbkTbutton.Text = "m1"
- tbkTbutton.TextColor3 = Color3.fromRGB(255, 255, 255)
- tbkTbutton.TextScaled = true
- tbkTbutton.TextSize = 30.000
- tbkTbutton.TextStrokeTransparency = 0.000
- tbkTbutton.TextWrapped = true
- title.Name = "title"
- title.Parent = frame
- title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- title.BackgroundTransparency = 1.000
- title.Position = UDim2.new(0.00499999989, 0, 0, 0)
- title.Size = UDim2.new(0, 68, 0, 12)
- title.Font = Enum.Font.SourceSans
- title.Text = "Feens#7908"
- title.TextColor3 = Color3.fromRGB(255, 255, 255)
- title.TextSize = 14.000
- tcButton.Name = "tcButton"
- tcButton.Parent = frame
- tcButton.BackgroundColor3 = Color3.fromRGB(48, 48, 48)
- tcButton.BorderSizePixel = 0
- tcButton.Position = UDim2.new(0.00499999989, 0, 0.829999983, 0)
- tcButton.Size = UDim2.new(0, 199, 0, 17)
- tcButton.Font = Enum.Font.SourceSans
- tcButton.Text = "Team Check OFF"
- tcButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- tcButton.TextScaled = true
- tcButton.TextSize = 14.000
- tcButton.TextWrapped = true
- auButton.Name = "auButton"
- auButton.Parent = frame
- auButton.BackgroundColor3 = Color3.fromRGB(48, 48, 48)
- auButton.BorderSizePixel = 0
- auButton.Position = UDim2.new(0.00499999989, 0, 0.579999983, 0)
- auButton.Size = UDim2.new(0, 199, 0, 17)
- auButton.Font = Enum.Font.SourceSans
- auButton.Text = "Auto Shoot OFF"
- auButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- auButton.TextScaled = true
- auButton.TextSize = 14.000
- auButton.TextWrapped = true
- keybindTEXT.Name = "keybindTEXT"
- keybindTEXT.Parent = frame
- keybindTEXT.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- keybindTEXT.BackgroundTransparency = 1.000
- keybindTEXT.BorderSizePixel = 0
- keybindTEXT.Position = UDim2.new(99999, 0, 99999, 0)
- keybindTEXT.Size = UDim2.new(0, 184, 0, 33)
- keybindTEXT.Font = Enum.Font.SourceSans
- keybindTEXT.Text = "m1 = Mouse 1, m2 = Mouse 2 KeyBind"
- keybindTEXT.TextColor3 = Color3.fromRGB(255, 255, 255)
- keybindTEXT.TextSize = 14.000
- keybindTEXT.TextWrapped = true
- enButton.Name = "enButton"
- enButton.Parent = frame
- enButton.BackgroundColor3 = Color3.fromRGB(48, 48, 48)
- enButton.BorderSizePixel = 0
- enButton.Position = UDim2.new(0.00499999989, 0, 0.349999964, 0)
- enButton.Size = UDim2.new(0, 199, 0, 17)
- enButton.Font = Enum.Font.SourceSans
- enButton.Text = "Disabled"
- enButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- enButton.TextScaled = true
- enButton.TextSize = 14.000
- enButton.TextWrapped = true
- local Players = game:GetService("Players")
- local lp = Players.LocalPlayer
- local mouse = lp:GetMouse()
- local rservice = game:GetService("RunService")
- local enabled = false
- local teamcheck = false
- local autos = false
- local tf = false
- mouse.Button1Down:Connect(function()
- if tbkTbutton.Text == "m1" then
- tf = true
- end
- end)
- mouse.Button1Up:Connect(function()
- if tbkTbutton.Text == "m1" then
- tf = false
- end
- end)
- mouse.Button2Down:Connect(function()
- if tbkTbutton.Text == "m2" then
- tf = true
- end
- end)
- mouse.Button2Up:Connect(function()
- if tbkTbutton.Text == "m2" then
- tf = false
- end
- end)
- mouse.KeyDown:Connect(function(key)
- if tbkTbutton.Text ~= "m1" and "m2" then
- if key == tbkTbutton.Text then
- tf = true
- end
- end
- end)
- mouse.KeyUp:Connect(function(key)
- if tbkTbutton.Text ~= "m1" and "m2" then
- if key == tbkTbutton.Text then
- tf = false
- end
- end
- end)
- tbkTbutton.MouseEnter:Connect(function()
- keybindTEXT.Position = tbkTbutton.Position + UDim2.new(0, 10, 0, 30)
- end)
- tbkTbutton.MouseLeave:Connect(function()
- keybindTEXT.Position = UDim2.new(9999,9999,9999,9999)
- end)
- enButton.MouseButton1Click:Connect(function()
- if enButton.Text == "Disabled" then
- enButton.Text = "Enabled"
- enabled = true
- else
- enButton.Text = "Disabled"
- enabled = false
- end
- end)
- tcButton.MouseButton1Click:Connect(function()
- if tcButton.Text == "Team Check OFF" then
- tcButton.Text = "Team Check ON"
- teamcheck = true
- else
- tcButton.Text = "Team Check OFF"
- teamcheck = false
- end
- end)
- auButton.MouseButton1Click:Connect(function()
- if auButton.Text == "Auto Shoot OFF" then
- auButton.Text = "Auto Shoot ON"
- autos = true
- else
- auButton.Text = "Auto Shoot OFF"
- autos = false
- end
- end)
- rservice.Stepped:Connect(function()
- pcall(function()
- if enButton.Text == "Enabled" then
- if mouse.Target and Players:FindFirstChild(mouse.Target.Parent.Name) then
- local HitPlayer = Players:FindFirstChild(mouse.Target.Parent.Name)
- if HitPlayer.Team ~= lp.Team or not teamcheck then
- if autos == false and tf == true then
- mouse1press(); wait(); mouse1release()
- elseif autos == true then
- mouse1press(); wait(); mouse1release()
- end
- end
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement