HHLExploits

suber

Oct 3rd, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.82 KB | None | 0 0
  1. local function CreateInstance(cls,props)
  2. local inst = Instance.new(cls)
  3. for i,v in pairs(props) do
  4. inst[i] = v
  5. end
  6. return inst
  7. end
  8.  
  9. local SaBerGUI = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='SaBerGUI', Parent=game.CoreGui})
  10. local MainFrm = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(1, 1, 1),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.526693225, 0, 0.457391292, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 212, 0, 182),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'MainFrm',Parent = SaBerGUI})
  11. local Title = CreateInstance('TextLabel',{Font=Enum.Font.Code,FontSize=Enum.FontSize.Size18,Text='SABER SIMULATOR GUI',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=18,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(1, 1, 1),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0, 0, 0, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 212, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Title',Parent = MainFrm})
  12. local AutoFarm = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Auto Farm [OFF]',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(1, 1, 1),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0359079614, 0, 0.238316819, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 195, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='AutoFarm',Parent = MainFrm})
  13. local RemoteBuy = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Remote Buy',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(1, 1, 1),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0359079614, 0, 0.426258743, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 195, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='RemoteBuy',Parent = MainFrm})
  14. local AutoCoin = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Auto Coin [OFF]',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(1, 1, 1),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0359079614, 0, 0.615395606, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 195, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='AutoCoin',Parent = MainFrm})
  15. local Reload = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Destroy GUI',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(1, 1, 1),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0359079614, 0, 0.802082896, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 195, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Reload',Parent = MainFrm})
  16.  
  17. -- Some var
  18. local newvar = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  19. local hum = game.Players.LocalPlayer.Character.HumanoidRootPart
  20.  
  21. -- Draggable Form:
  22. MainFrm.Active = true
  23. MainFrm.Draggable = true
  24.  
  25. -- Loaded message
  26. game:GetService("StarterGui"):SetCore("SendNotification", {
  27. Title = "SaBerGUI Loaded";
  28. Text = "Enjoy this shitty GUI :DDDD";
  29. Duration = 5;
  30. })
  31.  
  32. -- AutoFarm Function
  33. function AutoFarmXYZ()
  34. while AutoFarm.Text == "Auto Farm [ON]" do
  35. local Event = game:GetService("ReplicatedStorage").Events.Clicked
  36. Event:FireServer()
  37. wait(0.5)
  38. hum.CFrame = CFrame.new(-55,9999,47)
  39. wait(0.5)
  40. hum.CFrame = CFrame.new(-36,3,46)
  41. end
  42. end
  43.  
  44. -- AutoFarm Button
  45. AutoFarm.MouseButton1Click:Connect(function()
  46. if AutoFarm.Text == "Auto Farm [OFF]" then
  47. AutoFarm.Text = "Auto Farm [ON]"
  48. AutoFarmXYZ()
  49. else
  50. AutoFarm.Text = "Auto Farm [OFF]"
  51. AutoFarmXYZ:Destroy()
  52. end
  53. end)
  54.  
  55. -- RemoteBuy Button
  56. RemoteBuy.MouseButton1Click:Connect(function()
  57. hum.CFrame = CFrame.new(-6,2,11)
  58. wait(0,5)
  59. hum.CFrame = CFrame.new(newvar)
  60. end)
  61.  
  62. -- AutoCoin Button
  63. AutoCoin.MouseButton1Click:Connect(function()
  64. if AutoCoin.Text == "Auto Coin [OFF]" then
  65. AutoCoin.Text = "Auto Coin [ON]"
  66. AutoCoinXYZ()
  67. else
  68. AutoCoin.Text = "Auto Coin [OFF]"
  69. AutoCoinXYZ:Destroy()
  70. end
  71. end)
  72.  
  73. -- AutoCoin function
  74. function AutoCoinXYZ()
  75. while AutoCoin.Text == "Auto Coin [ON]" do
  76. while wait(2) do
  77. local plr = game.Players.LocalPlayer
  78. for i,v in pairs(game.Workspace.CoinsHolder:GetChildren()) do
  79. if v and plr.Character:FindFirstChild("HumanoidRootPart") and AutoCoin.Text == "Auto Coin [ON]" and v:IsA("MeshPart") then --may want to change meshpart to part if it's a part
  80. wait(0.2) --adjust this to whatever
  81. plr.Character.HumanoidRootPart.CFrame = v.CFrame * CFrame.new(0,1,0)
  82. end
  83. end
  84. end
  85. end
  86. end
  87.  
  88. -- Destroy button.
  89. Reload.MouseButton1Click:Connect(function()
  90. SaBerGUI:Destroy()
  91. game:GetService("StarterGui"):SetCore("SendNotification", {
  92. Title = "SaBerGUI Destroyed.";
  93. Text = "Execute this script again to run SaBerGUI.";
  94. Duration = 5;
  95. })
  96. end)
Add Comment
Please, Sign In to add comment