Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 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 ScreenGui = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='ScreenGui', Parent=game.CoreGui})
  10. local MainFrame = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.156863, 0.156863, 0.156863),BackgroundTransparency=0,BorderColor3=Color3.new(0.0784314, 0.0784314, 0.0784314),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.21532847, 0, 0.119284295, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 454, 0, 230),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'MainFrame',Parent = ScreenGui})
  11. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text=' RoBoxing Fitness Autofarm v2 made by ??#9268 and im hot l0l ',TextColor3=Color3.new(0.196078, 0.196078, 0.196078),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0.196078, 0.196078, 0.196078),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.0784314, 0.0784314, 0.0784314),BackgroundTransparency=0,BorderColor3=Color3.new(0.0784314, 0.0784314, 0.0784314),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0, 0, 0, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 454, 0, 17),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='TextLabel',Parent = MainFrame})
  12. local Frame = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.196078, 0.196078, 0.196078),BackgroundTransparency=0,BorderColor3=Color3.new(0.156863, 0.156863, 0.156863),BorderSizePixel=3,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0132158594, 0, 0.0934959054, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 442, 0, 200),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'Frame',Parent = MainFrame})
  13. local Button1 = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='click this noob for autofarm',TextColor3=Color3.new(0, 0, 0),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.0784314, 0.0784314, 0.0784314),BackgroundTransparency=0.5,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0203619916, 0, 0.0327777788, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 424, 0, 17),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Button1',Parent = Frame})
  14. local Button2 = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Click this also',TextColor3=Color3.new(0, 0, 0),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.0784314, 0.0784314, 0.0784314),BackgroundTransparency=0.5,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0203619916, 0, 0.148888901, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 424, 0, 17),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Button2',Parent = Frame})
  15. local Exit = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='X',TextColor3=Color3.new(0.196078, 0.196078, 0.196078),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.0784314, 0.0784314, 0.0784314),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.962555051, 0, 0, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 17, 0, 17),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Exit',Parent = MainFrame})
  16.  
  17. MainFrame.Active = true
  18. MainFrame.Draggable = true
  19.  
  20. Exit.MouseButton1Click:Connect(function()
  21. ScreenGui:Destroy()
  22. end)
  23.  
  24. Button1.MouseButton1Click:Connect(function()
  25. keepLooping = true
  26. while keepLooping do
  27. wait(.001)
  28. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-262.816437, -38.3791428, 86.6833115)
  29. end
  30. end)
  31.  
  32. Button2.MouseButton1Click:Connect(function()
  33. keepLooping = true
  34. while keepLooping do
  35. wait(.001)
  36. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-216.068024, -38.0501938, 89.0211945)
  37. end
  38. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement