nuttanun734

a

Sep 6th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.24 KB | None | 0 0
  1. --[[
  2. A Universal Time v1.0
  3. By Jexytd or QuadSquad (@v3rmillion)
  4. ]]
  5.  
  6. -- Destroy GUI already exist --
  7. if game:service'CoreGui':FindFirstChild("FinityUI") then game:service'CoreGui':FindFirstChild("FinityUI"):Destroy() end
  8.  
  9. -- Send a notifications if player on the game --
  10. if game.PlaceId == 5130598377 then
  11. game:service'StarterGui':SetCore("SendNotification", {
  12. Title = "Discord Server";
  13. Text = "> https://discord.gg/K4waTHQ <";
  14. })
  15. game:service'StarterGui':SetCore("SendNotification", {
  16. Title = "Notification";
  17. Text = "> GUI Loaded! <";
  18. })
  19. else
  20. game:service'StarterGui':SetCore("SendNotification", {
  21. Title = "Notification";
  22. Text = "GUI not loaded! you are on wrong game lmao";
  23. })
  24. return
  25. end
  26.  
  27. -- Remove seat chair lol --
  28. for _,gay in pairs(workspace:GetDescendants()) do
  29. if gay:IsA("Model") and gay:FindFirstChildOfClass("Seat") then
  30. gay:Destroy()
  31. end
  32. end
  33.  
  34. -- Global Variable --
  35. TpAllItem = false
  36. AntiTS = false
  37. SellArrow = false
  38. SellRoka = false
  39. SellReqArrow = false
  40. SellGodGifts = false
  41. wSpeed = false
  42. jPower = false
  43. CollectMoney = false
  44. tweenSpeed = 70 -- Recommended Time
  45. tweenSpeed2 = 70 -- Recommended Time
  46. ArrowTp = false
  47. RokaTp = false
  48. MoneyTp = false
  49. DioDiaryTp = false
  50. HolyDiaryTp = false
  51. WatchTp = false
  52. TPCertainItems = false
  53.  
  54. -- Local Variable --
  55. local Players = game:service'Players'
  56. local LocalP = Players.LocalPlayer
  57.  
  58. -- FinityUI Lib --
  59. local Finity = loadstring(game:HttpGet("http://finity.vip/scripts/finity_lib.lua"))()
  60. local FinityWindow = Finity.new(true) -- 'true' dark 'false' white
  61. FinityWindow.ChangeToggleKey(Enum.KeyCode.Insert)
  62.  
  63. -- Categories --
  64. local c1 = FinityWindow:Category("Main")
  65. local c2 = FinityWindow:Category("Items")
  66. local c999 = FinityWindow:Category("Credits")
  67.  
  68. -- Credits Sector --
  69. local s1 = c999:Sector("Finity Library Creator")
  70. local s2 = c999:Sector("Script Creator")
  71.  
  72. -- Credits --
  73. s1:Cheat("Label", "detourious (v3rmillion)")
  74. s1:Cheat("Label", "deto#7612 (discord)")
  75. s2:Cheat("Label", "QuadSquad (v3rmillion)")
  76. s2:Cheat("Label", "Jexytd#3339 (discord)")
  77. s2:Cheat("Label", "Discord Server (https://discord.gg/K4waTHQ)")
  78.  
  79. -- Main Sector --
  80. local s1 = c1:Sector("AutoFarm")
  81. local s2 = c1:Sector("Misc")
  82. local s3 = c1:Sector("Local")
  83.  
  84. -- Items Dropdown --
  85. local items = s1:Cheat("Dropdown", "Item", function(currentOption)
  86. ItemsSelect = currentOption
  87. wait()
  88. updateItemList()
  89. end, {options = {}, default = ""})
  90.  
  91. -- Remove value duplicated in table/array --
  92. function removeDuplicates(arr)
  93. local newArray = {}
  94. local checkerTbl = {}
  95. for _, element in ipairs(arr) do
  96. if not checkerTbl[element] then -- if there is not yet a value at the index of element, then it will be nil, which will operate like false in an if statement
  97. checkerTbl[element] = true
  98. table.insert(newArray, element)
  99. end
  100. end
  101. return newArray
  102. end
  103.  
  104. -- Get Mobs and then insert to table/array --
  105. itemA = {}
  106. for _,tool in pairs(workspace.Items:GetChildren()) do
  107. if tool:IsA("Tool") then
  108. table.insert(itemA, tool.Name)
  109. end
  110. end
  111.  
  112. itemB = removeDuplicates(itemA)
  113. for i = 1, #itemB do
  114. items:AddOption(itemB[i])
  115. end
  116.  
  117. function updateItemList()
  118. for i = 1, #itemB do
  119. items:RemoveOption(itemB[i])
  120. end
  121. wait()
  122. itemA = {}
  123. for _,tool in pairs(workspace.Items:GetChildren()) do
  124. if tool:IsA("Tool") then
  125. table.insert(itemA, tool.Name)
  126. end
  127. end
  128.  
  129. itemB = removeDuplicates(itemA)
  130. for i2 = 1, #itemB do
  131. items:AddOption(itemB[i2])
  132. end
  133. end
  134.  
  135. -- TP Speed Textbox --
  136. local tpspeed = s1:Cheat("Textbox", "Speed TP", function(value)
  137. tweenSpeed = tonumber(value)
  138. end, {placeholder = "Value"})
  139.  
  140. -- Teleport Button --
  141. local teleport = s1:Cheat("Button", "Teleport", function()
  142. local Char = LocalP.Character
  143. for i,v in pairs(workspace.Items:GetChildren()) do
  144. if v:IsA("Tool") and v.Name == ItemsSelect then
  145. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed, Enum.EasingStyle.Linear)
  146. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  147. Tween:Play()
  148. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  149. end
  150. end
  151. wait()
  152. end, {text = "Teleport"})
  153.  
  154. -- Teleport All Item Checkbox --
  155. local tpallitems = s1:Cheat("Checkbox", "Tp All Items", function(state)
  156. local Char = LocalP.Character
  157. TpAllItem = state
  158. while TpAllItem do
  159. for i,v in pairs(workspace.Items:GetChildren()) do
  160. if v:IsA("Tool") and v:FindFirstChild("Handle") then
  161. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  162. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  163. Tween:Play()
  164. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  165. end
  166. end
  167. wait()
  168. end
  169. end)
  170.  
  171. -- Collect Money Checkbox --
  172. local collectmoney = s1:Cheat("Checkbox", "Collect Money", function(state)
  173. local Char = LocalP.Character
  174. CollectMoney = state
  175. while CollectMoney and wait() do
  176. if Char and Char:FindFirstChildOfClass("Tool") then
  177. local tool = Char:FindFirstChildOfClass("Tool")
  178. if tool.Name == "Money" and tool.Equipped then
  179. tool:Activate()
  180. end
  181. elseif LocalP:FindFirstChild("Backpack"):FindFirstChild("Money") then
  182. local tool = LocalP:WaitForChild("Backpack"):FindFirstChild("Money")
  183. LocalP.Character.Humanoid:EquipTool(tool)
  184. tool:Activate()
  185. end
  186. end
  187. end)
  188.  
  189. -- Destroy Gui Button
  190. local disabled = s2:Cheat("Button", "Destroy Gui", function()
  191. if game:service'CoreGui':FindFirstChild("FinityUI") then game:service'CoreGui':FindFirstChild("FinityUI"):Destroy() end
  192. return
  193. end, {text = "Destroy Gui"})
  194.  
  195. --[[
  196. Sector 3 / Local Sector
  197. ]]
  198.  
  199. -- Walkspeed value slider --
  200. local wsVal = s3:Cheat("Slider", "Walkspeed Value", function(Value)
  201. speedVal = Value
  202. end, {min = 16, max = 200, suffix = ""})
  203.  
  204. -- Jumppower value slider --
  205. local jpVal = s3:Cheat("Slider", "JumpPower Value", function(Value)
  206. jpValue = Value
  207. end, {min = 16, max = 200, suffix = ""})
  208.  
  209. -- WalkSpeed Checkbox --
  210. local ws = s3:Cheat("Checkbox", "Walkspeed", function(state)
  211. wSpeed = state
  212. if wSpeed then
  213. if speedVal == nil then speedVal = 30 end
  214. LocalP.Character.Humanoid.WalkSpeed = speedVal
  215. else
  216. LocalP.Character.Humanoid.WalkSpeed = 16
  217. end
  218. end)
  219.  
  220. -- JumpPower Checkbox --
  221. local ws = s3:Cheat("Checkbox", "JumpPower", function(state)
  222. jPower = state
  223. if jPower then
  224. if jpValue == nil then jpValue = 30 end
  225. LocalP.Character.Humanoid.JumpPower = jpValue
  226. else
  227. LocalP.Character.Humanoid.JumpPower = 50
  228. end
  229. end)
  230.  
  231. -- Anti TS Checkbox --
  232. local antits = s3:Cheat("Checkbox", "Anti-TS", function(state)
  233. AntiTS = state
  234. while AntiTS and wait() do
  235. if game:service'Lighting':FindFirstChild("TSing").Changed then
  236. game:service'Lighting':FindFirstChild("TSing").Value = false
  237. end
  238. end
  239. end)
  240.  
  241. --[[
  242. Category 2 / Items Sector
  243. ]]
  244.  
  245. -- Main Sector --
  246. local s1 = c2:Sector("Teleport")
  247. local s2 = c2:Sector("Sell")
  248.  
  249. -- TP Speed Textbox --
  250. local tpspeed2 = s1:Cheat("Textbox", "Speed TP", function(value)
  251. tweenSpeed2 = tonumber(value)
  252. end, {placeholder = "Value"})
  253.  
  254. local itemname = s1:Cheat("Textbox", "Item Name", function(value)
  255. NameItems = tostring(value)
  256. end, {placeholder = "Name"})
  257.  
  258. -- Teleport Arrow Checkbox --
  259. local tpcertainitems = s1:Cheat("Checkbox", "Teleport", function(state)
  260. local Char = LocalP.Character
  261. TPCertainItems = state
  262. while TPCertainItems do
  263. for i,v in pairs(workspace.Items:GetChildren()) do
  264. if v:IsA("Tool") and v:FindFirstChild("Handle") and string.find(v.Name, NameItems) then
  265. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  266. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  267. Tween:Play()
  268. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  269. end
  270. end
  271. wait()
  272. end
  273. end)
  274.  
  275. -- Teleport Arrow Checkbox --
  276. local tparrow = s1:Cheat("Checkbox", "Tp Arrow", function(state)
  277. local Char = LocalP.Character
  278. ArrowTp = state
  279. while ArrowTp do
  280. for i,v in pairs(workspace.Items:GetChildren()) do
  281. if v:IsA("Tool") and v:FindFirstChild("Handle") and v.Name == "Arrow" then
  282. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  283. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  284. Tween:Play()
  285. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  286. end
  287. end
  288. wait()
  289. end
  290. end)
  291.  
  292. -- Teleport Roka Checkbox --
  293. local rokatp = s1:Cheat("Checkbox", "Tp Rokakaka Fruit", function(state)
  294. local Char = LocalP.Character
  295. RokaTp = state
  296. while RokaTp do
  297. for i,v in pairs(workspace.Items:GetChildren()) do
  298. if v:IsA("Tool") and v:FindFirstChild("Handle") and v.Name == "Rokakaka Fruit" then
  299. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  300. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  301. Tween:Play()
  302. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  303. end
  304. end
  305. wait()
  306. end
  307. end)
  308.  
  309. -- Teleport Money Checkbox --
  310. local moneytp = s1:Cheat("Checkbox", "Tp Money", function(state)
  311. local Char = LocalP.Character
  312. MoneyTp = state
  313. while MoneyTp do
  314. for i,v in pairs(workspace.Items:GetChildren()) do
  315. if v:IsA("Tool") and v:FindFirstChild("Handle") and v.Name == "Money" then
  316. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  317. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  318. Tween:Play()
  319. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  320. end
  321. end
  322. wait()
  323. end
  324. end)
  325.  
  326. -- Teleport Dio's Diary Checkbox --
  327. local diodiarytp = s1:Cheat("Checkbox", "Tp Dio's Diary", function(state)
  328. local Char = LocalP.Character
  329. DioDiaryTp = state
  330. while DioDiaryTp do
  331. for i,v in pairs(workspace.Items:GetChildren()) do
  332. if v:IsA("Tool") and v:FindFirstChild("Handle") and string.find(v.Name, "DIO") then
  333. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  334. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  335. Tween:Play()
  336. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  337. end
  338. end
  339. wait()
  340. end
  341. end)
  342.  
  343. -- Teleport Holy Diary Checkbox --
  344. local holydiarytp = s1:Cheat("Checkbox", "Tp Holy Diary", function(state)
  345. local Char = LocalP.Character
  346. HolyDiaryTp = state
  347. while HolyDiaryTp do
  348. for i,v in pairs(workspace.Items:GetChildren()) do
  349. if v:IsA("Tool") and v:FindFirstChild("Handle") and string.find(v.Name, "Holy Diary") then
  350. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  351. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  352. Tween:Play()
  353. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  354. end
  355. end
  356. wait()
  357. end
  358. end)
  359.  
  360. -- Teleport Holy Diary Checkbox --
  361. local watchtp = s1:Cheat("Checkbox", "Tp Watch", function(state)
  362. local Char = LocalP.Character
  363. WatchTp = state
  364. while WatchTp do
  365. for i,v in pairs(workspace.Items:GetChildren()) do
  366. if v:IsA("Tool") and v:FindFirstChild("Handle") and v.Name == "Watch" then
  367. local tInfo = TweenInfo.new((Char.HumanoidRootPart.Position - v.Handle.Position).Magnitude / tweenSpeed2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  368. local Tween = game:service'TweenService':Create(Char.HumanoidRootPart, tInfo, {CFrame = v.Handle.CFrame})
  369. Tween:Play()
  370. Tween.Completed:Wait(LocalP:DistanceFromCharacter(v.Handle.Position))
  371. end
  372. end
  373. wait()
  374. end
  375. end)
  376.  
  377. --[[
  378. Sector 2 / Sell Sector
  379. ]]
  380.  
  381. -- AutoSellArrow Checkbox --
  382. local asellarrow = s2:Cheat("Checkbox", "Auto-Sell Arrow", function(state)
  383. local Char = LocalP.Character
  384. SellArrow = state
  385. while SellArrow and wait(.1) do
  386. if LocalP:FindFirstChild("Backpack").ChildAdded and LocalP.Backpack:FindFirstChild("Arrow") then
  387. game:GetService("ReplicatedStorage").newremotes.SellItem:FireServer("Arrow")
  388. end
  389. end
  390. end)
  391.  
  392. -- AutoSellRokaka Checkbox --
  393. local asellroka = s2:Cheat("Checkbox", "Auto-Sell Rokaka", function(state)
  394. local Char = LocalP.Character
  395. SellRoka = state
  396. while SellRoka and wait(.1) do
  397. if LocalP:FindFirstChild("Backpack").ChildAdded and LocalP.Backpack:FindFirstChild("Rokakaka Fruit") then
  398. game:GetService("ReplicatedStorage").newremotes.SellItem:FireServer("Rokakaka Fruit")
  399. end
  400. end
  401. end)
  402.  
  403. -- AutoSellReqArrow Checkbox --
  404. local asellreqarrow = s2:Cheat("Checkbox", "Auto-Sell ReqArrow", function(state)
  405. local Char = LocalP.Character
  406. SellReqArrow = state
  407. while SellReqArrow and wait(.1) do
  408. if LocalP:FindFirstChild("Backpack").ChildAdded and LocalP.Backpack:FindFirstChild("Requiem Arrow") then
  409. game:GetService("ReplicatedStorage").newremotes.SellItem:FireServer("Requiem Arrow")
  410. end
  411. end
  412. end)
  413.  
  414. -- AutoSellGifGods Checkbox --
  415. local asellgodgifts = s2:Cheat("Checkbox", "Auto-Sell God Gifts", function(state)
  416. local Char = LocalP.Character
  417. SellGodGifts = state
  418. while SellGodGifts and wait(.1) do
  419. if LocalP:FindFirstChild("Backpack").ChildAdded and LocalP.Backpack:FindFirstChild("Gift From The Gods") then
  420. game:GetService("ReplicatedStorage").newremotes.SellItem:FireServer("Gift From The Gods")
  421. end
  422. end
  423. end)
  424.  
  425. -- AutoSellDioDiary Checkbox --
  426. local asellreqarrow = s2:Cheat("Checkbox", "Auto-Sell Dio Diary", function(state)
  427. local Char = LocalP.Character
  428. SellReqArrow = state
  429. while SellReqArrow and wait(.1) do
  430. if LocalP:FindFirstChild("Backpack").ChildAdded and LocalP.Backpack:FindFirstChild(string.find(LocalP.Backpack:FindFirstChildOfClass("Tool").Name, "Dio")) then
  431. game:GetService("ReplicatedStorage").newremotes.SellItem:FireServer("Requiem Arrow")
  432. end
  433. end
  434. end)
  435.  
  436. -- AutoSellHolyDiary Checkbox --
  437. local asellgodgifts = s2:Cheat("Checkbox", "Auto-Sell Holy Diary", function(state)
  438. local Char = LocalP.Character
  439. SellGodGifts = state
  440. while SellGodGifts and wait(.1) do
  441. if LocalP:FindFirstChild("Backpack").ChildAdded and LocalP.Backpack:FindFirstChild("Holy Diary") then
  442. game:GetService("ReplicatedStorage").newremotes.SellItem:FireServer("Gift From The Gods")
  443. end
  444. end
  445. end)
  446.  
  447. -- yeet
  448. while true and wait() do
  449. if not game:service'CoreGui':FindFirstChild("FinityUI") then
  450. return
  451. end
  452. end
Add Comment
Please, Sign In to add comment