Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ZeroTwo = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local BeautyA = Instance.new("Frame")
- local Name = Instance.new("TextLabel")
- local BeautyB = Instance.new("Frame")
- local Credits = Instance.new("TextLabel")
- local TixStealer = Instance.new("TextButton")
- local Aimbot = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- --Properties:
- ZeroTwo.Name = "Zero Two"
- ZeroTwo.Parent = game.CoreGui
- ZeroTwo.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = ZeroTwo
- OpenFrame.Active = true
- OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenFrame.BackgroundTransparency = 0.69999998807907
- OpenFrame.Position = UDim2.new(0.92817682, 0, 0.726044238, 0)
- OpenFrame.Size = UDim2.new(0, 91, 0, 33)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.BackgroundTransparency = 1
- Open.Size = UDim2.new(0, 91, 0, 33)
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextScaled = true
- Open.TextSize = 14
- Open.TextWrapped = true
- Open.MouseButton1Down:connect(function()
- Main.Visible = true
- OpenFrame.Visible = false
- end)
- Main.Name = "Main"
- Main.Parent = ZeroTwo
- Main.Active = true
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.BackgroundTransparency = 0.69999998807907
- Main.Position = UDim2.new(0.260457784, 0, 0.391891897, 0)
- Main.Size = UDim2.new(0, 242, 0, 123)
- Main.Draggable = true
- BeautyA.Name = "BeautyA"
- BeautyA.Parent = Main
- BeautyA.BackgroundColor3 = Color3.new(0, 0, 0)
- BeautyA.BackgroundTransparency = 0.69999998807907
- BeautyA.Position = UDim2.new(0, 0, -0.317073226, 0)
- BeautyA.Size = UDim2.new(0, 242, 0, 33)
- Name.Name = "Name"
- Name.Parent = BeautyA
- Name.BackgroundColor3 = Color3.new(1, 1, 1)
- Name.BackgroundTransparency = 11
- Name.Size = UDim2.new(0, 242, 0, 33)
- Name.Font = Enum.Font.SourceSans
- Name.Text = "Zero Two"
- Name.TextColor3 = Color3.new(0.333333, 1, 0)
- Name.TextScaled = true
- Name.TextSize = 14
- Name.TextStrokeTransparency = 15
- Name.TextTransparency = 0.30000001192093
- Name.TextWrapped = true
- BeautyB.Name = "BeautyB"
- BeautyB.Parent = Main
- BeautyB.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- BeautyB.BackgroundTransparency = 0.69999998807907
- BeautyB.Position = UDim2.new(0, 0, 1.04878044, 0)
- BeautyB.Size = UDim2.new(0, 242, 0, 32)
- Credits.Name = "Credits"
- Credits.Parent = BeautyB
- Credits.BackgroundColor3 = Color3.new(1, 1, 1)
- Credits.BackgroundTransparency = 1
- Credits.Size = UDim2.new(0, 242, 0, 33)
- Credits.Font = Enum.Font.SourceSans
- Credits.Text = "Credits: Smurf#8559"
- Credits.TextColor3 = Color3.new(0, 0, 0)
- Credits.TextScaled = true
- Credits.TextSize = 14
- Credits.TextStrokeColor3 = Color3.new(0.333333, 1, 0)
- Credits.TextStrokeTransparency = 33333
- Credits.TextTransparency = 0.30000001192093
- Credits.TextWrapped = true
- TixStealer.Name = "Tix Stealer"
- TixStealer.Parent = Main
- TixStealer.BackgroundColor3 = Color3.new(1, 1, 1)
- TixStealer.BackgroundTransparency = 0.89999997615814
- TixStealer.Position = UDim2.new(0.0828175023, 0, 0.591238737, 0)
- TixStealer.Size = UDim2.new(0, 200, 0, 50)
- TixStealer.Font = Enum.Font.SourceSans
- TixStealer.Text = "Tix Stealer"
- TixStealer.TextColor3 = Color3.new(0.333333, 1, 0)
- TixStealer.TextScaled = true
- TixStealer.TextSize = 14
- TixStealer.TextStrokeTransparency = 0
- TixStealer.TextTransparency = 0.40000000596046
- TixStealer.TextWrapped = true
- TixStealer.MouseButton1Down:connect(function()
- local owner = game:GetService("Players").LocalPlayer
- local ticket = "Summer Bash!"
- local deb = game.Workspace.Debris
- function movealltickets()
- local h = deb:GetDescendants()
- for index, g in pairs(h) do
- if g.Name == ticket then
- g.CFrame = owner.Character.HumanoidRootPart.CFrame
- wait()
- elseif g.Name ~= ticket then
- end
- end
- end
- while wait() do
- movealltickets()
- end
- end)
- Aimbot.Name = "Aimbot"
- Aimbot.Parent = Main
- Aimbot.BackgroundColor3 = Color3.new(1, 1, 1)
- Aimbot.BackgroundTransparency = 0.89999997615814
- Aimbot.Position = UDim2.new(0.0828175023, 0, 0.0903198123, 0)
- Aimbot.Size = UDim2.new(0, 200, 0, 50)
- Aimbot.Font = Enum.Font.SourceSans
- Aimbot.Text = "Aimbot"
- Aimbot.TextColor3 = Color3.new(0.333333, 1, 0)
- Aimbot.TextScaled = true
- Aimbot.TextSize = 14
- Aimbot.TextStrokeTransparency = 0
- Aimbot.TextTransparency = 0.40000000596046
- Aimbot.TextWrapped = true
- Aimbot.MouseButton1Down:connect(function()
- local IgnorePlayersNamed = {NAME=true} -- Name = true or false
- --[[
- [J] - To go down the list.
- [U] - To go up the list.
- [H] - To toggle that item in the list.
- [RMB] - To aim at your target using the current settings. (THIS UPDATES IN LIVE TIME SO YOU DON'T HAVE TO STOP AIMING FOR IT TO TAKE EFFECT)
- --]]
- local services = setmetatable({
- World = game:GetService('Workspace');
- Players = game:GetService('Players');
- Input = game:GetService('UserInputService');
- Run = game:GetService('RunService');
- UI = game:GetService('StarterGui');
- },{
- __index = function(tab,index)
- local serv
- local ran,err = pcall(function() serv=game:service(index) end)
- if ran then
- tab[index] = serv
- return serv
- end
- end
- })
- local cre = function(class,parent)
- local create = LoadLibrary('RbxUtility').Create
- return function(props)
- local inst = create(class)(props)
- inst.Parent = parent
- return inst
- end
- end
- local ResizeUI = function(ui,downscale,byclass)
- if not rawequal(ui['ClassName'],'ScrollingFrame') then print('This was mean\'t for scrolling frames.') return end
- local count = 0;
- for __, asset in next, (ui:GetChildren()) do
- if rawequal(asset['ClassName'],byclass) then
- count = count + 1
- end
- end
- ui['CanvasSize'] = UDim2.new(ui.CanvasSize.X.Scale,ui.CanvasSize.X.Offset,ui.CanvasSize.Y.Scale,downscale*count)
- end
- local wfc, ffc, ffoc, cast, ray = services.World.WaitForChild, services.World.FindFirstChild, services.World.FindFirstChildOfClass, services.World.FindPartOnRayWithIgnoreList, Ray.new
- local wfcoc = function(p,class)
- local obj
- repeat services.Run.RenderStepped:wait()
- obj = p:FindFirstChildOfClass(class)
- until obj
- return obj
- end
- local Client = services.Players.LocalPlayer
- local ClientUI = wfc(Client,'PlayerGui')
- local ClientMouse = Client:GetMouse()
- local ClientModel = Client.Character or Client.CharacterAdded:wait()
- local ClientCamera = services.World.CurrentCamera
- local ClientHumanoid = wfcoc(ClientModel,'Humanoid')
- local ClientActiveUI;
- local status = {
- Enabled = false,
- TeamCheck = false,
- HeadsOnly = false,
- RayCheck = true,
- AutoAim = false,
- }
- local function toggle(button)
- local option, val = button['Text']:match('(.*):%s*(.*)')
- status[option] = not status[option]
- if status[option] then
- button.TextColor3 = Color3.fromRGB(0,255,0)
- else
- button.TextColor3 = Color3.fromRGB(255,0,0)
- end
- button.Text = option .. ': ' .. tostring(status[option])
- end
- local selection = {}
- local select_pos = 1
- local current_pos = 0
- local __ = function()
- if ffc(game.CoreGui, '___') then return end
- local GUI = cre('ScreenGui',game:GetService('CoreGui')){
- Name = '___';
- }
- local Frame = cre('ScrollingFrame',GUI){
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Name = 'Options',
- Position = UDim2.new(.8,0,.915,0),
- Size = UDim2.new(.2,0,0,30),
- ZIndex = 10,
- ClipsDescendants = true,
- CanvasSize = UDim2.new(0,0,0,0),
- ScrollBarThickness = 0,
- ScrollingEnabled = false,
- }
- local UILL = cre('UIListLayout',Frame){
- Name = 'LayoutHandler',
- FillDirection = 'Vertical',
- HorizontalAlignment = 'Center',
- SortOrder = 'LayoutOrder',
- VerticalAlignment = 'Top'
- }
- local Template = cre('TextButton',nil){
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Name = 'Template',
- Size = UDim2.new(.9,0,0,30),
- Font = 'SciFi',
- Text = '',
- TextColor3 = Color3.fromRGB(255,255,255),
- TextScaled = true,
- TextWrapped = true,
- }
- local TSC = cre('UISizeConstraint',Template){
- Name = 'TemplateSizeConstraint',
- MaxSize = Vector2.new(math.huge,30),
- }
- Frame['ChildAdded']:connect(function()
- ResizeUI(Frame,30,'TextButton')
- end)
- local sel_pos = 0
- for option, val in next, status do
- local tp = Template:Clone()
- tp.Name = option
- tp.Text = option .. ': ' .. tostring(val)
- if status[option] then
- tp.TextColor3 = Color3.fromRGB(0,255,0)
- else
- tp.TextColor3 = Color3.fromRGB(255,0,0)
- end
- sel_pos = sel_pos + 1
- selection[sel_pos] = tp
- tp.Parent = Frame
- end
- Frame.CanvasPosition = Vector2.new(0, current_pos)
- return Frame
- end
- Client['CharacterAdded']:connect(function(c)
- ClientModel = c
- ClientHumanoid = wfcoc(ClientModel,'Humanoid')
- ClientActiveUI.Parent.Parent = nil
- ClientActiveUI = coroutine.wrap(__)()
- end)
- ClientActiveUI = coroutine.wrap(__)()
- local right_down, keylogs, inputlogs = nil, {}, {}
- services.Input.InputBegan:connect(function(input, procc)
- keylogs[input.KeyCode],inputlogs[input.UserInputType] = true, true;
- if not ClientActiveUI then return end
- if keylogs[Enum.KeyCode.U] and current_pos >= 30 then
- select_pos = select_pos - 1
- current_pos = current_pos - 30
- ClientActiveUI.CanvasPosition = Vector2.new(0,current_pos)
- elseif keylogs[Enum.KeyCode.J] and current_pos < ClientActiveUI.CanvasSize.Y.Offset - 30 then
- select_pos = select_pos + 1
- current_pos = current_pos + 30
- ClientActiveUI.CanvasPosition = Vector2.new(0,current_pos)
- elseif keylogs[Enum.KeyCode.H] then
- if selection[select_pos] then
- toggle(selection[select_pos])
- end
- end
- end)
- services.Input.InputEnded:connect(function(input, procc)
- keylogs[input.KeyCode],inputlogs[input.UserInputType] = false, false;
- end)
- local function GetPlayerFromCharacter(mod)
- if not mod:IsA('Model') then return end
- for __, client in next, services.Players:GetPlayers() do
- if rawequal(string.lower(client['Name']):sub(1,#mod['Name']),mod['Name']:lower()) then
- return client, client['Name']
- end
- end
- return nil, 'N/A'
- end
- local function Search()
- local t = {}
- for __, child in next, services.World:GetChildren() do
- local UserFromCharacter = GetPlayerFromCharacter(child)
- if UserFromCharacter then
- if child:IsA('Model') and not rawequal(UserFromCharacter,Client) then
- local h = ffoc(child,'Humanoid')
- if h and h.Health > 0 then
- table.insert(t, {child,UserFromCharacter})
- end
- end
- end
- end
- return t
- end
- local function cast_ray(p0,p1,blacklist)
- local Part
- local __=0
- repeat
- __=__+1
- local cond=(p1-p0).magnitude < 999
- Part,p0=cast(workspace,ray(p0,cond and p1-p0 or (p1-p0).unit*999),blacklist)
- if Part then
- if Part.CanCollide==false or Part.Transparency==1 then
- blacklist[#blacklist+1]=Part
- Part=nil
- end
- elseif cond or __ > 15 then
- break
- end
- until Part
- return Part,p0
- end
- services.Run.RenderStepped:connect(function()
- local Storage = {}
- if status['Enabled'] and (inputlogs[Enum.UserInputType.MouseButton2] or status['AutoAim']) then
- Storage = Search()
- local dot, face = -1
- for __, info in next, (Storage) do
- local h = ffc(info[1],'Humanoid')
- local skip;
- if not inputlogs[Enum.UserInputType.MouseButton2] and not status['AutoAim'] then return end
- if not info[1] or not info[2] or IgnorePlayersNamed[info[2]['Name']] or ffoc(info[1],'ForceField') then skip = true end
- if not ffc(info[1],'HumanoidRootPart') then skip = true end
- if h and h['Health'] > 0 then
- if status['TeamCheck'] then
- if Client['TeamColor'] == info[2]['TeamColor'] then
- skip = true
- end
- end
- if not skip then
- local cc = ClientCamera.CFrame
- local pos = status['HeadsOnly'] and info[1]['HumanoidRootPart'].CFrame.p + Vector3.new(0,1.5,0) or info[1]['HumanoidRootPart'].Position
- local HitPart=cast_ray(cc.p,pos,{ClientCamera,ClientModel})
- if not (status['RayCheck'] and HitPart) or info[1]:IsAncestorOf(HitPart) then
- local m = (pos-cc.p).unit:Dot(cc.lookVector)
- if rawequal(m,m) and m > dot then
- dot, face= m, pos
- end
- end
- end
- end
- end
- if face then
- ClientCamera.CFrame = CFrame.new(ClientCamera.CFrame.p,face) * CFrame.new(0,0,0.5)
- end
- end
- end)
- end)
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 1
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0.809917331, 0, -0.341463417, 0)
- Close.Size = UDim2.new(0, 46, 0, 36)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(0.333333, 1, 0)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextStrokeTransparency = 0
- Close.TextTransparency = 0.40000000596046
- Close.TextWrapped = true
- Close.MouseButton1Down:connect(function()
- OpenFrame.Visible = true
- Main.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement