Advertisement
hjgjgjkgjgk

Untitled

Sep 20th, 2017
2,066
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1.  
  2. -- Gear Insert Script by SYKOxXVenomXx
  3. -- Converted to GUI and then Lua by AmazingExploits
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local OPEN = Instance.new("Frame")
  7. local OpenButton = Instance.new("TextButton")
  8. local MAIN = Instance.new("Frame")
  9. local Label = Instance.new("TextLabel")
  10. local GearID = Instance.new("TextBox")
  11. local Insert = Instance.new("TextButton")
  12. local CloseButton = Instance.new("TextButton")
  13.  
  14.  
  15. ScreenGui.Parent = game.CoreGui
  16.  
  17. OPEN.Name = "OPEN"
  18. OPEN.Parent = ScreenGui
  19. OPEN.BackgroundColor3 = Color3.new(0, 0, 0)
  20. OPEN.BackgroundTransparency = 0.30000001192093
  21. OPEN.Position = UDim2.new(0, 0, 0, 464)
  22. OPEN.Size = UDim2.new(0, 100, 0, 49)
  23.  
  24. OpenButton.Name = "OpenButton"
  25. OpenButton.Parent = OPEN
  26. OpenButton.BackgroundColor3 = Color3.new(1, 1, 1)
  27. OpenButton.BackgroundTransparency = 1
  28. OpenButton.Size = UDim2.new(0, 100, 0, 50)
  29. OpenButton.Font = Enum.Font.Cartoon
  30. OpenButton.FontSize = Enum.FontSize.Size14
  31. OpenButton.Text = "Open"
  32. OpenButton.TextColor3 = Color3.new(1, 0, 0)
  33. OpenButton.TextScaled = true
  34. OpenButton.TextSize = 14
  35. OpenButton.TextWrapped = true
  36. OpenButton.MouseButton1Click:connect(function()
  37. MAIN.Visible = true
  38. end)
  39.  
  40. MAIN.Name = "MAIN"
  41. MAIN.Parent = ScreenGui
  42. MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
  43. MAIN.BackgroundTransparency = 0.30000001192093
  44. MAIN.Draggable = true
  45. MAIN.Position = UDim2.new(0, 638, 0, 267)
  46. MAIN.Size = UDim2.new(0, 390, 0, 228)
  47. MAIN.Visible = false
  48.  
  49. Label.Name = "Label"
  50. Label.Parent = MAIN
  51. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Label.BackgroundTransparency = 1
  53. Label.Size = UDim2.new(0, 351, 0, 50)
  54. Label.Font = Enum.Font.Cartoon
  55. Label.FontSize = Enum.FontSize.Size14
  56. Label.Text = "High School Life Gear Inserter (GUI by Amazing Exploits)"
  57. Label.TextColor3 = Color3.new(1, 0, 0)
  58. Label.TextScaled = true
  59. Label.TextSize = 14
  60. Label.TextWrapped = true
  61.  
  62. GearID.Name = "Gear ID"
  63. GearID.Parent = MAIN
  64. GearID.BackgroundColor3 = Color3.new(1, 0, 0)
  65. GearID.BackgroundTransparency = 0.69999998807907
  66. GearID.Position = UDim2.new(0, 95, 0, 89)
  67. GearID.Size = UDim2.new(0, 200, 0, 50)
  68. GearID.Font = Enum.Font.SourceSans
  69. GearID.FontSize = Enum.FontSize.Size14
  70. GearID.Text = "Gear ID"
  71. GearID.TextColor3 = Color3.new(1, 0, 0)
  72. GearID.TextScaled = true
  73. GearID.TextSize = 14
  74. GearID.TextWrapped = true
  75.  
  76. Insert.Name = "Insert"
  77. Insert.Parent = MAIN
  78. Insert.BackgroundColor3 = Color3.new(1, 0, 0)
  79. Insert.BackgroundTransparency = 0.69999998807907
  80. Insert.Position = UDim2.new(0, 58, 0, 152)
  81. Insert.Size = UDim2.new(0, 275, 0, 59)
  82. Insert.Font = Enum.Font.Cartoon
  83. Insert.FontSize = Enum.FontSize.Size14
  84. Insert.Text = "Insert Gear"
  85. Insert.TextColor3 = Color3.new(1, 0, 0)
  86. Insert.TextScaled = true
  87. Insert.TextSize = 14
  88. Insert.TextWrapped = true
  89. Insert.MouseButton1Click:connect(function()
  90. game.ReplicatedStorage.Events.EquipGear:FireServer(GearID.Text)
  91.  
  92. local GetBackpack = game.Players.LocalPlayer.Backpack:GetChildren()
  93. for i=1, #GetBackpack do
  94. if GetBackpack[i].ClassName == "Tool" then
  95. GetBackpack[i].CanBeDropped = true
  96. end
  97. end
  98.  
  99. wait(1)
  100.  
  101. local GetBackpack = game.Players.LocalPlayer.Backpack:GetChildren()
  102. for i=1, #GetBackpack do
  103. if GetBackpack[i].ClassName == "Tool" then
  104. GetBackpack[i].CanBeDropped = true
  105. end
  106. end
  107. end)
  108.  
  109. CloseButton.Name = "CloseButton"
  110. CloseButton.Parent = MAIN
  111. CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
  112. CloseButton.Position = UDim2.new(0, 354, 0, 0)
  113. CloseButton.Size = UDim2.new(0, 36, 0, 34)
  114. CloseButton.Font = Enum.Font.Cartoon
  115. CloseButton.FontSize = Enum.FontSize.Size14
  116. CloseButton.Text = "X"
  117. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  118. CloseButton.TextScaled = true
  119. CloseButton.TextSize = 14
  120. CloseButton.TextWrapped = true
  121. CloseButton.MouseButton1Click:connect(function()
  122. MAIN.Visible = false
  123. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement