Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().autodropper = false
- getgenv().autocollect = false
- getgenv().autodeletekill = false
- local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
- local window = library:CreateWindow("2 player wizard tycoon")
- local buying = window:CreateFolder("buying")
- local interacting = window:CreateFolder("interacting")
- local deletion = window:CreateFolder("deletion")
- local guns = window:CreateFolder("guns")
- buying:Button("yellow tycoon buttons",function()
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]["Cool yellow"].YellowSecond:GetDescendants()) do
- if v.Name == "TouchInterest" and v.Parent.Name == "Head" then
- firetouchinterest(player, v.Parent, 0)
- wait()
- firetouchinterest(player, v.Parent, 1)
- end
- end
- wait(.1)
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]["Cool yellow"].YellowFirst.Buttons:GetDescendants()) do
- if v.Name == "TouchInterest" and v.Parent.Name == "Head" then
- firetouchinterest(player, v.Parent, 0)
- wait()
- firetouchinterest(player, v.Parent, 1)
- end
- end
- end)
- buying:Button("red tycoon buttons",function()
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]["Medium red"].RedFirst.Buttons:GetDescendants()) do
- if v.Name == "TouchInterest" and v.Parent.Name == "Head" then
- firetouchinterest(player, v.Parent, 0)
- wait()
- firetouchinterest(player, v.Parent, 1)
- end
- end
- wait()
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]["Medium red"].RedSecond.Buttons:GetDescendants()) do
- if v.Name == "TouchInterest" and v.Parent.Name == "Head" then
- firetouchinterest(player, v.Parent, 0)
- wait()
- firetouchinterest(player, v.Parent, 1)
- end
- end
- end)
- interacting:Button("dropper button",function()
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]:GetDescendants()) do
- if v.Name == "ClickDetector" and v.Parent.Name == "Button" and v.Parent.Parent.Name == "Mine" then
- fireclickdetector(v)
- wait()
- fireclickdetector(v)
- end
- end
- end)
- interacting:Toggle("auto dropper button (lags a little bit)",function(bool)
- getgenv().autodropper = bool
- print(on)
- if bool then
- dropper()
- end
- end)
- interacting:Toggle("auto collect (buggy)",function(bool)
- getgenv().autocollect = bool
- print(on)
- if bool then
- collect()
- end
- end)
- function collect()
- spawn(function()
- while getgenv().autocollect == true do
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]:GetDescendants()) do
- if v.Name == "TouchInterest" and v.Parent.Name == "Giver" and v.Parent.Parent.Name == "Essentials" then
- v.Parent.Transparency = ".9"
- v.Parent.CanCollide = false
- v.Parent.CFrame = CFrame.new(player)
- wait()
- end
- end
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]:GetDescendants()) do
- if v.Name == "TouchInterest" and v.Parent.Name == "Giver2" and v.Parent.Parent.Name == "Essentials" then
- v.Parent.Transparency = ".9"
- v.Parent.CanCollide = false
- v.Parent.CFrame = CFrame.new(player)
- wait()
- end
- end
- end
- end)
- end
- function dropper()
- spawn(function()
- while getgenv().autodropper == true do
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i, v in pairs(game:GetService("Workspace")["berezaa's Tycoon Kit"]:GetDescendants()) do
- if v.Name == "ClickDetector" and v.Parent.Name == "Button" and v.Parent.Parent.Name == "Mine" then
- fireclickdetector(v)
- wait()
- fireclickdetector(v)
- end
- end
- end
- end)
- end
Add Comment
Please, Sign In to add comment