SirSaber

Blox Piece Script

Dec 2nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. --Made by rasi1 on vermillion, Chance#0315 on discord
  2. -- Instances:
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextButton = Instance.new("TextButton")
  6. local TextButton_2 = Instance.new("TextButton")
  7. local TextButton_3 = Instance.new("TextButton")
  8. local TextLabel = Instance.new("TextLabel")
  9. --Properties:
  10. ScreenGui.Parent = game.CoreGui
  11. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.BackgroundColor3 = Color3.new(0.262745, 0.262745, 0.262745)
  15. Frame.BackgroundTransparency = 0.5
  16. Frame.BorderColor3 = Color3.new(0, 0, 0)
  17. Frame.BorderSizePixel = 6
  18. Frame.Position = UDim2.new(0.0495169088, 0, 0.402277052, 0)
  19. Frame.Selectable = true
  20. Frame.Size = UDim2.new(0, 173, 0, 119)
  21. Frame.Active = true
  22. Frame.Draggable = true
  23.  
  24. TextButton.Parent = Frame
  25. TextButton.BackgroundColor3 = Color3.new(0.776471, 0.776471, 0.776471)
  26. TextButton.BackgroundTransparency = 0.30000001192093
  27. TextButton.Position = UDim2.new(-0.0026082024, 0, 0.118518516, 0)
  28. TextButton.Size = UDim2.new(0, 80, 0, 37)
  29. TextButton.Font = Enum.Font.SourceSans
  30. TextButton.Text = "FruitTP"
  31. TextButton.TextColor3 = Color3.new(0, 0, 0)
  32. TextButton.TextSize = 14
  33.  
  34. TextButton_2.Parent = Frame
  35. TextButton_2.BackgroundColor3 = Color3.new(0.776471, 0.776471, 0.776471)
  36. TextButton_2.BackgroundTransparency = 0.30000001192093
  37. TextButton_2.Position = UDim2.new(0.53289628, 0, 0.118518516, 0)
  38. TextButton_2.Size = UDim2.new(0, 80, 0, 37)
  39. TextButton_2.Font = Enum.Font.SourceSans
  40. TextButton_2.Text = "ChestFarm"
  41. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  42. TextButton_2.TextSize = 14
  43.  
  44. TextButton_3.Parent = Frame
  45. TextButton_3.BackgroundColor3 = Color3.new(0.776471, 0.776471, 0.776471)
  46. TextButton_3.BackgroundTransparency = 0.30000001192093
  47. TextButton_3.Position = UDim2.new(-0.0026082024, 0, 0.572300017, 0)
  48. TextButton_3.Size = UDim2.new(0, 80, 0, 37)
  49. TextButton_3.Font = Enum.Font.SourceSans
  50. TextButton_3.Text = "AutoFarm"
  51. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  52. TextButton_3.TextSize = 14
  53.  
  54. TextLabel.Parent = Frame
  55. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  56. TextLabel.BackgroundTransparency = 1
  57. TextLabel.Position = UDim2.new(0.00317215221, 0, 1, 0)
  58. TextLabel.Size = UDim2.new(0, 172, 0, 36)
  59. TextLabel.Font = Enum.Font.SourceSans
  60. TextLabel.Text = "Made By rasi1 / Chance#0315"
  61. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  62. TextLabel.TextSize = 18
  63. -- Scripts:
  64. function SCRIPT_DSUV85_FAKESCRIPT() -- TextButton.Script
  65. local script = Instance.new('Script')
  66. script.Parent = TextButton
  67. script.Parent.MouseButton1Click:connect(function()
  68. local a = game.Players.LocalPlayer.Character.HumanoidRootPart
  69. local b = a.CFrame
  70. for i,v in pairs(game.Workspace["_WorldOrigin"]:GetDescendants()) do
  71. if v.Name == "Fruit" and v.Parent:IsA("Model") and v.Parent.Name == "Model" then
  72. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  73. wait(0.1)
  74. end
  75. end
  76. a.CFrame = b
  77. end)
  78.  
  79. end
  80. coroutine.resume(coroutine.create(SCRIPT_DSUV85_FAKESCRIPT))
  81. function SCRIPT_IVYS74_FAKESCRIPT() -- TextButton_2.Script
  82. local script = Instance.new('Script')
  83. script.Parent = TextButton_2
  84. script.Parent.MouseButton1Click:connect(function()
  85. local OriginalPos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  86. local a = game.Workspace:GetChildren()
  87. for i=1,#a do
  88. if a[i].Name:lower():match("chest") then
  89. b = false
  90. repeat wait()
  91. if a[i].Parent~=game.Workspace then
  92. b = true
  93. else
  94. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a[i].CFrame
  95. end
  96. until b == true
  97. end
  98. end
  99. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = OriginalPos
  100. end)
  101.  
  102. end
  103. coroutine.resume(coroutine.create(SCRIPT_IVYS74_FAKESCRIPT))
  104. function SCRIPT_RSOP87_FAKESCRIPT() -- TextButton_3.Script
  105. local script = Instance.new('Script')
  106. script.Parent = TextButton_3
  107. script.Parent.MouseButton1Click:connect(function()
  108. _G.StopFarming = false
  109. _G.SwordName = "Katana"
  110.  
  111. function Slash()
  112. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  113. if v.Name == _G.SwordName and v:IsA("Tool") then
  114. require(v.Data).Cooldown = {Z = 0, X = 0}
  115. v.Parent = game.Players.LocalPlayer.Character
  116. end
  117. end
  118. wait()
  119. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  120. if v.Name == _G.SwordName and v:IsA("Tool") then
  121. require(v.Data).Cooldown = {Z = 0, X = 0}
  122. mouse1click()
  123. end
  124. end
  125. end
  126. repeat wait()
  127. local a = game.Workspace.Enemies:GetChildren()
  128. for i=1,#a do
  129. if a[i]:FindFirstChild("HumanoidRootPart") and a[i]:FindFirstChild("Humanoid") and a[i].Humanoid.Health > 0 then
  130. local Nilly = false
  131. repeat wait()
  132. if Nilly == false and _G.StopFarming == false then
  133. if a[i] and a[i]:FindFirstChild("HumanoidRootPart") and a[i]:FindFirstChild("Humanoid") and a[i].Humanoid.Health > 0 then
  134. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a[i].HumanoidRootPart.CFrame + a[i].HumanoidRootPart.CFrame.lookVector / 2.3
  135. Slash()
  136. else
  137. Nilly = true
  138. end
  139. end
  140. until Nilly == true or _G.StopFarming == true
  141. end
  142. end
  143. until _G.StopFarming == true
  144. end)
  145.  
  146. end
  147. coroutine.resume(coroutine.create(SCRIPT_RSOP87_FAKESCRIPT))
Add Comment
Please, Sign In to add comment