The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Wacky Wizards script pastebin roblox
By Wacky Wizards on 2024-09-21 08:00 am | Syntax: LUA | Views: 9



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("Wacky Wizards")
  3. local b = w:CreateFolder("Potions")
  4. local e = w:CreateFolder("Mix")
  5. local u = w:CreateFolder("Credits")
  6. SelectedItem = "Brain"
  7. Items = {}
  8. for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  9.     if v.ClassName == "TextLabel" then
  10.         if v.Text == "YOUR CAULDRON" then
  11.             for i,v1 in pairs(game:GetService("Workspace").Interactions[v.Parent.Parent.Parent.Name]:GetChildren()) do
  12.                 if v1.ClassName == "Model" then
  13.                     table.insert(Items,v1.Name)
  14.                 end
  15.             end
  16.         end
  17.     end
  18. end
  19.  
  20. b:Dropdown("Select Item",Items,true,function(mob)
  21.     SelectedItem = mob
  22. end)
  23.  
  24. b:Button("Put Into Cauldron",function()
  25.     for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  26.         if v.ClassName == "TextLabel" then
  27.             if v.Text == "YOUR CAULDRON" then
  28.                 local args = {
  29.                     [1] = "PickUpItem",
  30.                     [2] = workspace.Interactions[v.Parent.Parent.Parent.Name][SelectedItem],
  31.                 }
  32.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  33.                
  34.                 local args = {
  35.                     [1] = "FireAllClients",
  36.                     [2] = "WeldItemToHand",
  37.                     [3] = workspace.Interactions[v.Parent.Parent.Parent.Name][SelectedItem].Main.GripAttachment,
  38.                     [4] = workspace[game.Players.LocalPlayer.Name].RightHand.RightGripAttachment,
  39.                 }
  40.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  41.                
  42.                 local args = {
  43.                     [1] = "FireAllClients",
  44.                     [2] = "UnweldItemFromHand",
  45.                     [3] = workspace.Interactions[v.Parent.Parent.Parent.Name][SelectedItem].Main,
  46.                 }
  47.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  48.                
  49.                 local args = {
  50.                     [1] = "AddIngredientToCauldron",
  51.                     [2] = workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron,
  52.                     [3] = workspace.Interactions[v.Parent.Parent.Parent.Name][SelectedItem],
  53.                 }
  54.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  55.                
  56.                 local args = {
  57.                     [1] = "FireAllClients",
  58.                     [2] = "EmitParticles",
  59.                     [3] = workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron.Contents.ItemAdded,
  60.                     [4] = {
  61.                         ["Duration"] = 0.8,
  62.                     },
  63.                 }
  64.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  65.             end
  66.         end
  67.     end
  68. end)
  69.  
  70. b:Button("Spawn Potion",function()
  71.     for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  72.         if v.ClassName == "TextLabel" then
  73.             if v.Text == "YOUR CAULDRON" then
  74.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer("AttemptBottlePotion",workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron)
  75.             end
  76.         end
  77.     end
  78. end)
  79.  
  80. b:Button("Drain Cauldron",function()
  81.     for i,v in pairs(workspace.Interactions:GetChildren()) do
  82.         local args = {
  83.             [1] = "PickUpPotion",
  84.             [2] = v,
  85.         }
  86.        
  87.         game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  88.     end
  89.     for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  90.         if v.ClassName == "TextLabel" then
  91.             if v.Text == "YOUR CAULDRON" then
  92.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer("AttemptDrainCauldron",workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron)
  93.             end
  94.         end
  95.     end
  96. end)
  97.  
  98. b:Button("Reset Character",function()
  99.     game:GetService("ReplicatedStorage").RemoteEvent:FireServer("AttemptResetPlayer")
  100. end)
  101.  
  102. e:Toggle("AntiAfk",function(bool)
  103.     shared.toggle = bool
  104.     AntiAfk = bool
  105. end)
  106.  
  107. e:Toggle("Potion Randomizer",function(bool)
  108.     shared.toggle = bool
  109.     PotionRandomizer = bool
  110. end)
  111.  
  112. --Credits
  113. u:Button("maxgat5#8395",function()
  114.     setclipboard("maxgat5#8395")
  115. end)
  116.  
  117. u:Button("Discord Server",function()
  118.     setclipboard("https://discord.gg/K4txdRSVfq")
  119. end)
  120.  
  121. while wait() do
  122.     pcall(function()
  123.         if PotionRandomizer == true then
  124.             Items = {}
  125.             for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  126.                 if v.ClassName == "TextLabel" then
  127.                     if v.Text == "YOUR CAULDRON" then
  128.                         for i,v1 in pairs(game:GetService("Workspace").Interactions[v.Parent.Parent.Parent.Name]:GetChildren()) do
  129.                             if v1.ClassName == "Model" then
  130.                                 table.insert(Items,v1.Name)
  131.                             end
  132.                         end
  133.                     end
  134.                 end
  135.             end
  136.            
  137.             for i,v1 in pairs(Items) do
  138.                 local randomnumber = math.random(1,i)
  139.                 for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  140.                     if v.ClassName == "TextLabel" then
  141.                         if v.Text == "YOUR CAULDRON" then
  142.                             local args = {
  143.                                 [1] = "PickUpItem",
  144.                                 [2] = workspace.Interactions[v.Parent.Parent.Parent.Name][Items[randomnumber]],
  145.                             }
  146.                             game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  147.                            
  148.                             local args = {
  149.                                 [1] = "FireAllClients",
  150.                                 [2] = "WeldItemToHand",
  151.                                 [3] = workspace.Interactions[v.Parent.Parent.Parent.Name][Items[randomnumber]].Main.GripAttachment,
  152.                                 [4] = workspace[game.Players.LocalPlayer.Name].RightHand.RightGripAttachment,
  153.                             }
  154.                             game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  155.                            
  156.                             local args = {
  157.                                 [1] = "FireAllClients",
  158.                                 [2] = "UnweldItemFromHand",
  159.                                 [3] = workspace.Interactions[v.Parent.Parent.Parent.Name][Items[randomnumber]].Main,
  160.                             }
  161.                             game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  162.                            
  163.                             local args = {
  164.                                 [1] = "AddIngredientToCauldron",
  165.                                 [2] = workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron,
  166.                                 [3] = workspace.Interactions[v.Parent.Parent.Parent.Name][Items[randomnumber]],
  167.                             }
  168.                             game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  169.                            
  170.                             local args = {
  171.                                 [1] = "FireAllClients",
  172.                                 [2] = "EmitParticles",
  173.                                 [3] = workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron.Contents.ItemAdded,
  174.                                     [4] = {
  175.                                     ["Duration"] = 0.8,
  176.                                 },
  177.                             }
  178.                             game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  179.                         end
  180.                     end
  181.                 end
  182.             end
  183.             wait(3)
  184.             for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  185.                 if v.ClassName == "TextLabel" then
  186.                     if v.Text == "YOUR CAULDRON" then
  187.                         game:GetService("ReplicatedStorage").RemoteEvent:FireServer("AttemptBottlePotion",workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron)
  188.                     end
  189.                 end
  190.             end
  191.             wait(3)
  192.             for i,v in pairs(workspace.Interactions:GetChildren()) do
  193.                 local args = {
  194.                     [1] = "PickUpPotion",
  195.                     [2] = v,
  196.                 }
  197.                
  198.                 game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
  199.             end
  200.             for i,v in pairs(game:GetService("Workspace").PlayerCauldrons:GetDescendants()) do
  201.                 if v.ClassName == "TextLabel" then
  202.                     if v.Text == "YOUR CAULDRON" then
  203.                         game:GetService("ReplicatedStorage").RemoteEvent:FireServer("AttemptDrainCauldron",workspace.PlayerCauldrons[v.Parent.Parent.Parent.Name].CauldronSet.Cauldron)
  204.                     end
  205.                 end
  206.             end
  207.         end
  208.     end)
  209.    
  210.     spawn(function()
  211.         if AntiAfk == true then
  212.             local bb=game:service'VirtualUser'
  213.             bb:CaptureController()
  214.             bb:ClickButton2(Vector2.new())
  215.         end
  216.     end)
  217. end