Advertisement
Duycf22

Untitled

Feb 26th, 2020
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.63 KB | None | 0 0
  1. local kingpiecenew = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local smoky = Instance.new("TextButton")
  4. local buggy = Instance.new("TextButton")
  5. local marine = Instance.new("TextButton")
  6. local tashi = Instance.new("TextButton")
  7. local theclown = Instance.new("TextButton")
  8. local offall = Instance.new("TextButton")
  9. local makegui = Instance.new("TextLabel")
  10. local autofruitoff = Instance.new("TextButton")
  11. local autofruiton = Instance.new("TextButton")
  12. local close = Instance.new("TextButton")
  13. local open = Instance.new("TextButton")
  14.  
  15. --Properties:
  16.  
  17. kingpiecenew.Name = "kingpiecenew"
  18. kingpiecenew.Parent = game.CoreGui
  19. kingpiecenew.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. Frame.Parent = kingpiecenew
  22. Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  23. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  24. Frame.Position = UDim2.new(0.480246544, 0, 0.367782563, 0)
  25. Frame.Size = UDim2.new(0, 563, 0, 335)
  26. Frame.Visible = false
  27. Frame.Draggable = true
  28. Frame.Active =true
  29.  
  30. smoky.Name = "smoky"
  31. smoky.Parent = Frame
  32. smoky.BackgroundColor3 = Color3.fromRGB(0, 85, 127)
  33. smoky.BorderSizePixel = 5
  34. smoky.Position = UDim2.new(0.680751741, 0, 0.596090913, 0)
  35. smoky.Size = UDim2.new(0, 126, 0, 50)
  36. smoky.Font = Enum.Font.SourceSans
  37. smoky.Text = "Smoky/lv20"
  38. smoky.TextColor3 = Color3.fromRGB(0, 0, 0)
  39. smoky.TextSize = 18.000
  40. smoky.MouseButton1Down:connect(function()
  41. _G.farma = true
  42. while _G.farma do
  43. wait()
  44. local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  45. for i,v in pairs(game.Workspace:GetChildren())do
  46. if v.Name == "Smoky [Lv. 20]" then
  47. if v:FindFirstChild("Head") then
  48. v.HumanoidRootPart.Size = Vector3.new(30,50,30)
  49. v.HumanoidRootPart.Transparency = 0.5
  50. v.HumanoidRootPart.CanCollide = false
  51. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  52. repeat wait(.1)
  53. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(tool)
  54. tool:Activate()
  55. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  56. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame*CFrame.new(0,20,0)
  57. until v.Humanoid.Health <= 0 or v == nil or v.HumanoidRootPart == nil or v.Head == nil or game.Players.LocalPlayer.Character.Humanoid.Health <= 0
  58. end
  59. end
  60. end
  61. end
  62. end)
  63.  
  64. buggy.Name = "buggy"
  65. buggy.Parent = Frame
  66. buggy.BackgroundColor3 = Color3.fromRGB(0, 85, 127)
  67. buggy.BorderSizePixel = 5
  68. buggy.Position = UDim2.new(0.68210566, 0, 0.345344663, 0)
  69. buggy.Size = UDim2.new(0, 126, 0, 50)
  70. buggy.Font = Enum.Font.SourceSans
  71. buggy.Text = "Buggy/lv10"
  72. buggy.TextColor3 = Color3.fromRGB(0, 0, 0)
  73. buggy.TextSize = 18.000
  74. buggy.MouseButton1Down:connect(function()
  75. _G.farmb = true
  76. while _G.farmb do
  77. wait()
  78. local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  79. for i,v in pairs(game.Workspace:GetChildren())do
  80. if v.Name == "Buggy Pirate [Lv. 10]" then
  81. if v:FindFirstChild("Head") then
  82. v.HumanoidRootPart.Size = Vector3.new(30,50,30)
  83. v.HumanoidRootPart.Transparency = 0.5
  84. v.HumanoidRootPart.CanCollide = false
  85. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  86. repeat wait(.1)
  87. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(tool)
  88. tool:Activate()
  89. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  90. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame*CFrame.new(0,20,0)
  91. until v.Humanoid.Health <= 0 or v == nil or v.HumanoidRootPart == nil or v.Head == nil or game.Players.LocalPlayer.Character.Humanoid.Health <= 0
  92. end
  93. end
  94. end
  95. end
  96. end)
  97.  
  98. marine.Name = "marine"
  99. marine.Parent = Frame
  100. marine.BackgroundColor3 = Color3.fromRGB(0, 85, 127)
  101. marine.BorderSizePixel = 5
  102. marine.Position = UDim2.new(0.0733371526, 0, 0.345344692, 0)
  103. marine.Size = UDim2.new(0, 126, 0, 50)
  104. marine.Font = Enum.Font.SourceSans
  105. marine.Text = "Marine/lv1"
  106. marine.TextColor3 = Color3.fromRGB(0, 0, 0)
  107. marine.TextSize = 18.000
  108. marine.MouseButton1Down:connect(function()
  109. _G.farmc = true
  110. while _G.farmc do
  111. wait()
  112. local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  113. for i,v in pairs(game.Workspace:GetChildren())do
  114. if v.Name == "Marine [Lv. 1]" then
  115. if v:FindFirstChild("Head") then
  116. v.HumanoidRootPart.Size = Vector3.new(30,50,30)
  117. v.HumanoidRootPart.Transparency = 0.5
  118. v.HumanoidRootPart.CanCollide = false
  119. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  120. repeat wait(.1)
  121. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(tool)
  122. tool:Activate()
  123. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  124. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame*CFrame.new(0,20,0)
  125. until v.Humanoid.Health <= 0 or v == nil or v.HumanoidRootPart == nil or v.Head == nil or game.Players.LocalPlayer.Character.Humanoid.Health <= 0
  126. end
  127. end
  128. end
  129. end
  130. end)
  131.  
  132. tashi.Name = "tashi"
  133. tashi.Parent = Frame
  134. tashi.BackgroundColor3 = Color3.fromRGB(0, 85, 127)
  135. tashi.BorderColor3 = Color3.fromRGB(0, 85, 127)
  136. tashi.BorderSizePixel = 5
  137. tashi.Position = UDim2.new(0.375245601, 0, 0.598329723, 0)
  138. tashi.Size = UDim2.new(0, 126, 0, 50)
  139. tashi.Font = Enum.Font.SourceSans
  140. tashi.Text = "Tashi/lv30"
  141. tashi.TextColor3 = Color3.fromRGB(0, 0, 0)
  142. tashi.TextSize = 18.000
  143. tashi.MouseButton1Down:connect(function()
  144. _G.farmd = true
  145. while _G.farmd do
  146. wait()
  147. local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  148. for i,v in pairs(game.Workspace:GetChildren())do
  149. if v.Name == "Tashi [Lv. 30]" then
  150. if v:FindFirstChild("Head") then
  151. v.HumanoidRootPart.Size = Vector3.new(30,50,30)
  152. v.HumanoidRootPart.Transparency = 0.5
  153. v.HumanoidRootPart.CanCollide = false
  154. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  155. repeat wait(.1)
  156. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(tool)
  157. tool:Activate()
  158. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  159. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame*CFrame.new(0,20,0)
  160. until v.Humanoid.Health <= 0 or v == nil or v.HumanoidRootPart == nil or v.Head == nil or game.Players.LocalPlayer.Character.Humanoid.Health <= 0
  161. end
  162. end
  163. end
  164. end
  165. end)
  166.  
  167. theclown.Name = "theclown"
  168. theclown.Parent = Frame
  169. theclown.BackgroundColor3 = Color3.fromRGB(0, 85, 127)
  170. theclown.BorderSizePixel = 5
  171. theclown.Position = UDim2.new(0.0733371526, 0, 0.598329723, 0)
  172. theclown.Size = UDim2.new(0, 126, 0, 50)
  173. theclown.Font = Enum.Font.SourceSans
  174. theclown.Text = "The Clown/lv25"
  175. theclown.TextColor3 = Color3.fromRGB(0, 0, 0)
  176. theclown.TextSize = 18.000
  177. theclown.MouseButton1Down:connect(function()
  178. _G.farm = true
  179. while _G.farm do
  180. wait()
  181. local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  182. for i,v in pairs(game.Workspace:GetChildren())do
  183. if v.Name == "The Clown [Lv. 25]" then
  184. if v:FindFirstChild("Head") then
  185. v.HumanoidRootPart.Size = Vector3.new(30,50,30)
  186. v.HumanoidRootPart.Transparency = 0.5
  187. v.HumanoidRootPart.CanCollide = false
  188. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  189. repeat wait(.1)
  190. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(tool)
  191. tool:Activate()
  192. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  193. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame*CFrame.new(0,20,0)
  194. until v.Humanoid.Health <= 0 or v == nil or v.HumanoidRootPart == nil or v.Head == nil or game.Players.LocalPlayer.Character.Humanoid.Health <= 0
  195. end
  196. end
  197. end
  198. end
  199. end)
  200.  
  201. offall.Name = "offall"
  202. offall.Parent = Frame
  203. offall.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
  204. offall.BorderSizePixel = 5
  205. offall.Position = UDim2.new(0.375245601, 0, 0.151273921, 0)
  206. offall.Size = UDim2.new(0, 126, 0, 50)
  207. offall.Font = Enum.Font.SourceSans
  208. offall.Text = "OFF ALL(Die)"
  209. offall.TextColor3 = Color3.fromRGB(0, 0, 0)
  210. offall.TextSize = 18.000
  211. offall.MouseButton1Down:connect(function()
  212. game.Players.LocalPlayer.Character.Head:Destroy()
  213. end)
  214.  
  215. makegui.Name = "make gui"
  216. makegui.Parent = Frame
  217. makegui.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  218. makegui.BorderSizePixel = 0
  219. makegui.Size = UDim2.new(0, 563, 0, 40)
  220. makegui.Font = Enum.Font.SourceSans
  221. makegui.Text = "King Piece Auto Farm/Kietprofe40"
  222. makegui.TextColor3 = Color3.fromRGB(255, 255, 255)
  223. makegui.TextSize = 30.000
  224.  
  225. autofruitoff.Name = "autofruitoff"
  226. autofruitoff.Parent = Frame
  227. autofruitoff.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
  228. autofruitoff.BorderSizePixel = 5
  229. autofruitoff.Position = UDim2.new(0.309058607, 0, 0.346268684, 0)
  230. autofruitoff.Size = UDim2.new(0, 200, 0, 50)
  231. autofruitoff.Visible = false
  232. autofruitoff.Font = Enum.Font.SourceSans
  233. autofruitoff.Text = "Auto Fruit"
  234. autofruitoff.TextColor3 = Color3.fromRGB(0, 0, 0)
  235. autofruitoff.TextSize = 14.000
  236. autofruitoff.MouseButton1Down:connect(function()
  237. _G.autofruit = false
  238. autofruitoff.Visible = false
  239. autofruiton.Visible = true
  240. end)
  241.  
  242. autofruiton.Name = "autofruiton"
  243. autofruiton.Parent = Frame
  244. autofruiton.BackgroundColor3 = Color3.fromRGB(126, 50, 34)
  245. autofruiton.BorderSizePixel = 5
  246. autofruiton.Position = UDim2.new(0.309058607, 0, 0.343283564, 0)
  247. autofruiton.Size = UDim2.new(0, 200, 0, 50)
  248. autofruiton.Font = Enum.Font.SourceSans
  249. autofruiton.Text = "Auto Fruit"
  250. autofruiton.TextColor3 = Color3.fromRGB(0, 0, 0)
  251. autofruiton.TextSize = 18.000
  252. autofruiton.MouseButton1Down:connect(function()
  253. autofruitoff.Visible = true
  254. autofruiton.Visible = false
  255. _G.autofruit = true
  256. while _G.autofruit do
  257. wait(0.5)
  258. local plr = game.Players.LocalPlayer
  259. for i,v in pairs(game.Workspace.AllspawnDF:GetDescendants()) do
  260. if v.ClassName == "TouchTransmitter" then
  261. v.Parent.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,0,0)
  262. end
  263. end
  264. end
  265. end)
  266.  
  267. close.Name = "close"
  268. close.Parent = Frame
  269. close.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
  270. close.BorderColor3 = Color3.fromRGB(170, 0, 0)
  271. close.Position = UDim2.new(0.92717582, 0, 0, 0)
  272. close.Size = UDim2.new(0, 41, 0, 40)
  273. close.Font = Enum.Font.SourceSans
  274. close.Text = " X"
  275. close.TextColor3 = Color3.fromRGB(0, 0, 0)
  276. close.TextSize = 30.000
  277. close.MouseButton1Down:connect(function()
  278. kingpiecenew.Frame.Visible = false
  279. open.Visible = true
  280. end)
  281.  
  282. open.Name = "open"
  283. open.Parent = kingpiecenew
  284. open.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  285. open.BorderSizePixel = 5
  286. open.Position = UDim2.new(0.0254980084, 0, 0.603194118, 0)
  287. open.Size = UDim2.new(0, 111, 0, 69)
  288. open.Font = Enum.Font.SourceSans
  289. open.Text = "OPEN"
  290. open.TextColor3 = Color3.fromRGB(255, 255, 255)
  291. open.TextSize = 25.000
  292. open.MouseButton1Down:connect(function()
  293. open.Visible = false
  294. kingpiecenew.Frame.Visible = true
  295. end)
  296.  
  297. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  298.  
  299. counter = 0
  300.  
  301. while wait(0.1)do
  302. open.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  303. buggy.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  304. offall.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  305. autofruiton.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  306. autofruitoff.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  307. tashi.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  308. theclown.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  309. smoky.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  310. marine.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  311. makegui.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  312.  
  313. counter = counter + 0.01
  314. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement