Advertisement
oatmeal2009

equip all tools gui

Jun 9th, 2020
3,775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local PopCorn = Instance.new("TextButton")
  9.  
  10. --Properties:
  11.  
  12. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  14. ScreenGui.ResetOnSpawn = false
  15.  
  16. Frame.Parent = ScreenGui
  17. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  18. Frame.Position = UDim2.new(0.667636335, 0, 0.138297871, 0)
  19. Frame.Size = UDim2.new(0, 397, 0, 141)
  20.  
  21. PopCorn.Name = "PopCorn"
  22. PopCorn.Parent = Frame
  23. PopCorn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  24. PopCorn.Position = UDim2.new(0.277078092, 0, 0.316374421, 0)
  25. PopCorn.Size = UDim2.new(0, 200, 0, 50)
  26. PopCorn.Font = Enum.Font.SourceSans
  27. PopCorn.Text = "equip tools"
  28. PopCorn.TextColor3 = Color3.fromRGB(0, 0, 0)
  29. PopCorn.TextSize = 14.000
  30.  
  31. -- Scripts:
  32.  
  33. local function IXIQZO_fake_script() -- PopCorn.LocalScript
  34. local script = Instance.new('LocalScript', PopCorn)
  35.  
  36. script.Parent.MouseButton1Click:connect(function()
  37. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  38. if v:IsA("Tool") then
  39. v.Parent = game.Players.LocalPlayer.Character
  40. end
  41. end
  42. end)
  43. end
  44. coroutine.wrap(IXIQZO_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement