Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local _gui = {gui = Instance.new("ScreenGui") ,
- obj1 = Instance.new('Frame') ,
- obj2 = Instance.new('TextLabel') ,
- obj3 = Instance.new('TextButton') ,
- obj4 = Instance.new('LocalScript') ,
- obj5 = Instance.new('TextLabel') ,
- obj6 = Instance.new('TextButton') ,
- obj7 = Instance.new('TextBox') ,
- }
- _gui.gui.ResetOnSpawn = false
- _gui.gui.DisplayOrder = 0
- _gui.gui.Enabled = true
- _gui.gui.Name = 'ElementalMenu'
- if pcall(function ()
- _gui.gui.Parent = game.CoreGui
- end) then print("Placed to CoreGui") else
- _gui.gui.Parent = game.Players.LocalPlayer.PlayerGui
- print('Failed to place CoreGui') end
- _gui.obj1.Visible = true
- _gui.obj1.Active = false
- _gui.obj1.ZIndex = 1
- _gui.obj1.BorderSizePixel = 1
- _gui.obj1.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
- _gui.obj1.Selectable = false
- _gui.obj1.Name = 'Frame'
- _gui.obj1.AnchorPoint = Vector2.new(0, 0)
- _gui.obj1.Size = UDim2.new(0, 200, 0, 200)
- _gui.obj1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- _gui.obj1.LayoutOrder = 0
- _gui.obj1.Style = Enum.FrameStyle.Custom
- _gui.obj1.Position = UDim2.new(0, 0, 0, 0)
- _gui.obj1.BackgroundTransparency = 0
- spawn(function()
- _gui.obj1.Parent = _gui.gui
- end)_gui.obj2.TextWrapped = true
- _gui.obj2.TextStrokeTransparency = 0
- _gui.obj2.RichText = true
- _gui.obj2.TextScaled = true
- _gui.obj2.BackgroundColor3 = Color3.new(1, 1, 1)
- _gui.obj2.TextSize = 14
- _gui.obj2.Size = UDim2.new(0, 200, 0, 50)
- _gui.obj2.TextColor3 = Color3.new(0, 0.647059, 0.647059)
- _gui.obj2.Text = '<b>BY HACKER 99 1 SCRIPT</b>'
- _gui.obj2.Font = Enum.Font.SourceSans
- _gui.obj2.TextStrokeColor3 = Color3.new(0.666667, 1, 1)
- _gui.obj2.BackgroundTransparency = 1
- spawn(function()
- _gui.obj2.Parent = _gui.gui:WaitForChild('Frame')
- end)_gui.obj3.RichText = true
- _gui.obj3.BackgroundColor3 = Color3.new(1, 1, 1)
- _gui.obj3.TextSize = 24
- _gui.obj3.Size = UDim2.new(0, 200, 0, 50)
- _gui.obj3.TextColor3 = Color3.new(0, 0, 0)
- _gui.obj3.Text = 'Autofarm <font color="rgb(255,0,0)">OFF</font>'
- _gui.obj3.Font = Enum.Font.SourceSans
- _gui.obj3.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- _gui.obj3.Position = UDim2.new(0, 0, 0, 100)
- spawn(function()
- _gui.obj3.Parent = _gui.gui:WaitForChild('Frame')
- end)_gui.obj4.Name = 'LocalScript'
- task.spawn(function ()
- wait(3)
- local script = Instance.new("LocalScript"); script.Parent = _gui.gui:WaitForChild('Frame')
- script.Name = 'LocalScript'
- -- Script for this game: https://www.roblox.com/games/566399244/
- local channel = "https://youtube.com/channel/UCLFDib1y6RqR4z9NUWDYbnA"
- wait()
- local way = "Remote" --[[ Remote or Keyboard
- Remote is recommended ]]
- local UIS = game:GetService("UserInputService")
- local keys = {
- ["0"] = 0x30,
- ["1"] = 0x31,
- ["2"] = 0x32,
- ["3"] = 0x33,
- ["4"] = 0x34,
- ["5"] = 0x35,
- E = 0x45,
- F = 0x46,
- Q = 0x51
- }
- local keystep = 1
- local bot = false
- local player = game.Players.LocalPlayer
- function ClickMouse()
- mouse1press()
- wait(.1)
- mouse1release()
- end
- script.Parent.ChannelButton.MouseButton1Click:Connect(function()
- local func = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
- if func then
- func(channel)
- game.StarterGui:SetCore("SendNotification", {Title = "INSCREVA-SE :D", Text = "LINK DO CANAL COPIADO"})
- else
- script.Parent.TextBox.Visible = not script.Parent.TextBox.Visible
- script.Parent.TextBox.Text = channel
- script.Parent.TextBox.PlaceholderText = channel
- end
- end)
- function ToggleBot()
- if IsAlive(player) == "Allow" then
- bot = not bot
- if bot then
- script.Parent.TextButton.Text = 'Autofarm <font color="rgb(0,255,0)">ON</font>'
- script.Parent.ShowHide.Text = "<b>AUTO FARM:ON </b>"
- else
- workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
- script.Parent.TextButton.Text = 'Autofarm <font color="rgb(255,0,0)">OFF</font>'
- script.Parent.ShowHide.Text = "<b>AUTO FARM:OFF </b>"
- workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- end
- end
- end
- script.Parent.TextButton.MouseButton1Click:Connect(ToggleBot)
- player:GetMouse().KeyDown:Connect(function (key)
- if key == "z" or key == "Z" then
- if bot then
- UIS.MouseBehavior = 0
- ToggleBot()
- else
- script.Parent.Visible = not script.Parent.Visible
- end
- end
- end)
- game["Run Service"].RenderStepped:Connect(function()
- if bot then
- UIS.MouseBehavior = Enum.MouseBehavior.LockCenter
- end
- end)
- -- RemoteSpy: R2Sv2
- function FireTheSkill(n, targetpos,targetlookpos)
- if n == 1 then
- local A_1 = "Fire"
- local A_2 = "Consecutive Fire Bullets"
- local Event = game:GetService("ReplicatedStorage").Remotes.DoClientMagic
- Event:FireServer(A_1, A_2)
- wait(.3)
- A_1 = "Fire"
- A_2 = "Consecutive Fire Bullets"
- Event = game:GetService("ReplicatedStorage").Remotes.DoMagic
- Event:InvokeServer(A_1, A_2)
- elseif n == 2 then
- local A_1 = "Fire"
- local A_2 = "Great Fire Blast"
- local Event = game:GetService("ReplicatedStorage").Remotes.DoClientMagic
- Event:FireServer(A_1, A_2)
- wait(.5)
- A_1 = "Fire"
- A_2 = "Great Fire Blast"
- local A_3 = CFrame.new(targetpos, targetlookpos)
- Event = game:GetService("ReplicatedStorage").Remotes.DoMagic
- Event:InvokeServer(A_1, A_2, A_3)
- elseif n == 3 then
- local A_1 = "Fire"
- local A_2 = "Blaze Column"
- local A_3 = Vector3.new(targetpos)
- local Event = game:GetService("ReplicatedStorage").Remotes.DoClientMagic
- Event:FireServer(A_1, A_2, A_3)
- A_1 = "Fire"
- A_2 = "Blaze Column"
- A_3 = CFrame.new(targetpos, targetpos+Vector3.new(0,-1,0))
- Event = game:GetService("ReplicatedStorage").Remotes.DoMagic
- Event:InvokeServer(A_1, A_2, A_3)
- elseif n == 4 then
- local A_1 = "Grass"
- local A_2 = "Vine"
- local Event = game:GetService("ReplicatedStorage").Remotes.DoClientMagic
- Event:FireServer(A_1, A_2)
- A_1 = "Grass"
- A_2 = "Vine"
- local A_3 =
- {
- ["Origin"] = Vector3.new(targetpos)
- }
- Event = game:GetService("ReplicatedStorage").Remotes.DoMagic
- Event:InvokeServer(A_1, A_2, A_3)
- end
- end
- function IsAlive(tarPlayer)
- if tarPlayer == nil then return "Its not exist" end if typeof(tarPlayer) ~= "Instance" then return "Its not an Instance" end
- if tarPlayer:IsA("Player") == false then return "Its not a player" end if tarPlayer.Character == nil then return "Its dont have character" end
- if tarPlayer.Character:FindFirstChildOfClass("Humanoid") == nil then return "Its dont have Humanoid" end
- if tarPlayer.Character:FindFirstChild("HumanoidRootPart") == nil then return "Its dont have HumanoidRootPart" end
- if tarPlayer.Character:FindFirstChild("Head") == nil then return "Its dont have head" end
- if tarPlayer.Character:FindFirstChildOfClass("ForceField") ~= nil and tarPlayer~=player then return "Its have ForceField" end
- if tarPlayer.Character:FindFirstChildOfClass("Humanoid").Health <= 0 then return "Its died" end
- return "Allow"
- end
- function GetPlayers()
- local rList = {}
- for i,v in pairs(game.Players:GetPlayers()) do
- if IsAlive(v) and player ~= v then
- table.insert(rList ,v)
- end
- end
- return rList
- end
- function GetLowestPlayer()
- local list = GetPlayers()
- local low=100000
- local target=nil
- for i,v in pairs(list) do
- if IsAlive(v) == "Allow" and v.Character and v.Character:FindFirstChildOfClass("Humanoid") and v.Character:FindFirstChildOfClass("Humanoid").Health < low and v.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
- low = v.Character:FindFirstChildOfClass("Humanoid").Health
- target = v
- end
- end
- return target
- end
- function PunchPlayer(target)
- task.spawn(function ()
- wait()
- local A_1 = target
- local Event = game:GetService("ReplicatedStorage").Remotes.Combat
- Event:FireServer(A_1)
- end)
- end
- function Attack(tarPlayer)
- if IsAlive(player) == "Allow" and IsAlive(tarPlayer) == "Allow" then
- player.Character.HumanoidRootPart.CFrame = CFrame.new(tarPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,.1,.1), tarPlayer.Character.HumanoidRootPart.Position )
- for i,v in pairs(player.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Velocity = Vector3.new(0,0,0)
- v.RotVelocity = Vector3.new(0,0,0)
- end
- end
- if way == "Keyboard" then
- keypress(keys.Q)
- wait()
- keyrelease(keys.Q)
- elseif way == "Remote" then
- local bVel = Instance.new("BodyVelocity", player.Character.HumanoidRootPart)
- bVel.Velocity = tarPlayer.Character.Head.Velocity
- bVel.Velocity = Vector3.new(bVel.Velocity.X, 0, bVel.Velocity.Z)
- game.Debris:AddItem(bVel, .1)
- for i = 1,7 do PunchPlayer(tarPlayer.Character) end wait()
- end
- workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
- workspace.CurrentCamera.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position + Vector3.new(0,5,0),
- tarPlayer.Character.Head.Position
- )
- if way == "Keyboard" then
- if keys[tostring(keystep)] then
- keypress(keys[tostring(keystep)])
- wait()
- keyrelease(keys[tostring(keystep)])
- wait()
- ClickMouse()
- keystep = keystep + 1
- if keystep >= 5 then
- keystep = 1
- end
- else
- warn(tostring(keystep).." is an invalid key")
- end
- elseif way == "Remote" then
- FireTheSkill(keystep, player.Character.Head.Position, tarPlayer.Character.Head.Position - Vector3.new(0,.03,0))
- keystep = keystep + 1
- if keystep >= 3 then keystep = 1 end
- end
- else
- end
- end
- task.spawn(function ()
- while wait(50) do
- pcall(function ()
- player.Character.Head:Destroy() -- Some basic auto reset
- end)
- end
- end)
- while true do
- wait(.15)
- if bot and IsAlive(player)=="Allow" then
- local call,err = pcall(function()
- local startPos = player.Character.HumanoidRootPart.CFrame
- for i,v in pairs(workspace:WaitForChild(".Ignore"):WaitForChild(".ServerEffects"):GetChildren()) do
- if v:IsA("BasePart") and (v.Name == "Diamond" or v.Name == "Shard") then
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(.5)
- --[[
- v.CanCollide = false
- v.Anchored = true
- v.Position = player.Character.Head.Position
- v.Velocity = Vector3.new(0,0,0)
- v.RotVelocity = Vector3.new(0,0,0)
- --]]
- end
- player.Character.HumanoidRootPart.CFrame = startPos
- end
- if IsAlive(GetLowestPlayer()) and #game.Players:GetChildren() >= 2 then
- Attack(GetLowestPlayer())
- else
- local plrs = {}
- for i,v in pairs(game.Players:GetPlayers()) do
- if IsAlive(v) and v ~= player then table.insert(v, player) end
- end
- if #plrs > 1 then
- Attack(plrs[math.random(1,#plrs)])
- end
- end
- end)
- if not call then warn(err) end
- end
- end
- end)_gui.obj5.TextWrapped = true
- _gui.obj5.TextStrokeTransparency = 0
- _gui.obj5.RichText = true
- _gui.obj5.TextScaled = true
- _gui.obj5.BackgroundColor3 = Color3.new(1, 1, 1)
- _gui.obj5.Name = 'ShowHide'
- _gui.obj5.TextSize = 14
- _gui.obj5.Size = UDim2.new(0, 200, 0, 50)
- _gui.obj5.TextColor3 = Color3.new(0, 0.647059, 0.647059)
- _gui.obj5.Text = '<b>Show Hide: Z </b>'
- _gui.obj5.Font = Enum.Font.SourceSans
- _gui.obj5.Position = UDim2.new(0, 0, 0, 150)
- _gui.obj5.TextStrokeColor3 = Color3.new(0.666667, 1, 1)
- _gui.obj5.BackgroundTransparency = 1
- spawn(function()
- _gui.obj5.Parent = _gui.gui:WaitForChild('Frame')
- end)_gui.obj6.RichText = true
- _gui.obj6.BackgroundColor3 = Color3.new(1, 1, 1)
- _gui.obj6.Name = 'ChannelButton'
- _gui.obj6.TextSize = 24
- _gui.obj6.Size = UDim2.new(0, 200, 0, 50)
- _gui.obj6.TextColor3 = Color3.new(0, 0, 0)
- _gui.obj6.Text = 'MEU CANAL DO YOUTUBE'
- _gui.obj6.Font = Enum.Font.SourceSans
- _gui.obj6.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- _gui.obj6.Position = UDim2.new(0, 0, 0, 50)
- spawn(function()
- _gui.obj6.Parent = _gui.gui:WaitForChild('Frame')
- end)_gui.obj7.Visible = false
- _gui.obj7.TextWrapped = true
- _gui.obj7.TextScaled = true
- _gui.obj7.BackgroundColor3 = Color3.new(1, 1, 1)
- _gui.obj7.TextSize = 14
- _gui.obj7.Size = UDim2.new(0, 200, 0, 50)
- _gui.obj7.TextColor3 = Color3.new(0, 0, 0)
- _gui.obj7.MultiLine = true
- _gui.obj7.Font = Enum.Font.SourceSans
- _gui.obj7.ClearTextOnFocus = false
- spawn(function()
- _gui.obj7.Parent = _gui.gui:WaitForChild('Frame')
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement