Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gear Insert Script by SYKOxXVenomXx
- -- Converted to GUI and then Lua by AmazingExploits
- local ScreenGui = Instance.new("ScreenGui")
- local OPEN = Instance.new("Frame")
- local OpenButton = Instance.new("TextButton")
- local MAIN = Instance.new("Frame")
- local Label = Instance.new("TextLabel")
- local GearID = Instance.new("TextBox")
- local Insert = Instance.new("TextButton")
- local CloseButton = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- OPEN.Name = "OPEN"
- OPEN.Parent = ScreenGui
- OPEN.BackgroundColor3 = Color3.new(0, 0, 0)
- OPEN.BackgroundTransparency = 0.30000001192093
- OPEN.Position = UDim2.new(0, 0, 0, 464)
- OPEN.Size = UDim2.new(0, 100, 0, 49)
- OpenButton.Name = "OpenButton"
- OpenButton.Parent = OPEN
- OpenButton.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenButton.BackgroundTransparency = 1
- OpenButton.Size = UDim2.new(0, 100, 0, 50)
- OpenButton.Font = Enum.Font.Cartoon
- OpenButton.FontSize = Enum.FontSize.Size14
- OpenButton.Text = "Open"
- OpenButton.TextColor3 = Color3.new(1, 0, 0)
- OpenButton.TextScaled = true
- OpenButton.TextSize = 14
- OpenButton.TextWrapped = true
- OpenButton.MouseButton1Click:connect(function()
- MAIN.Visible = true
- end)
- MAIN.Name = "MAIN"
- MAIN.Parent = ScreenGui
- MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
- MAIN.BackgroundTransparency = 0.30000001192093
- MAIN.Draggable = true
- MAIN.Position = UDim2.new(0, 638, 0, 267)
- MAIN.Size = UDim2.new(0, 390, 0, 228)
- MAIN.Visible = false
- Label.Name = "Label"
- Label.Parent = MAIN
- Label.BackgroundColor3 = Color3.new(1, 1, 1)
- Label.BackgroundTransparency = 1
- Label.Size = UDim2.new(0, 351, 0, 50)
- Label.Font = Enum.Font.Cartoon
- Label.FontSize = Enum.FontSize.Size14
- Label.Text = "High School Life Gear Inserter (GUI by Amazing Exploits)"
- Label.TextColor3 = Color3.new(1, 0, 0)
- Label.TextScaled = true
- Label.TextSize = 14
- Label.TextWrapped = true
- GearID.Name = "Gear ID"
- GearID.Parent = MAIN
- GearID.BackgroundColor3 = Color3.new(1, 0, 0)
- GearID.BackgroundTransparency = 0.69999998807907
- GearID.Position = UDim2.new(0, 95, 0, 89)
- GearID.Size = UDim2.new(0, 200, 0, 50)
- GearID.Font = Enum.Font.SourceSans
- GearID.FontSize = Enum.FontSize.Size14
- GearID.Text = "Gear ID"
- GearID.TextColor3 = Color3.new(1, 0, 0)
- GearID.TextScaled = true
- GearID.TextSize = 14
- GearID.TextWrapped = true
- Insert.Name = "Insert"
- Insert.Parent = MAIN
- Insert.BackgroundColor3 = Color3.new(1, 0, 0)
- Insert.BackgroundTransparency = 0.69999998807907
- Insert.Position = UDim2.new(0, 58, 0, 152)
- Insert.Size = UDim2.new(0, 275, 0, 59)
- Insert.Font = Enum.Font.Cartoon
- Insert.FontSize = Enum.FontSize.Size14
- Insert.Text = "Insert Gear"
- Insert.TextColor3 = Color3.new(1, 0, 0)
- Insert.TextScaled = true
- Insert.TextSize = 14
- Insert.TextWrapped = true
- Insert.MouseButton1Click:connect(function()
- game.ReplicatedStorage.Events.EquipGear:FireServer(GearID.Text)
- local GetBackpack = game.Players.LocalPlayer.Backpack:GetChildren()
- for i=1, #GetBackpack do
- if GetBackpack[i].ClassName == "Tool" then
- GetBackpack[i].CanBeDropped = true
- end
- end
- wait(1)
- local GetBackpack = game.Players.LocalPlayer.Backpack:GetChildren()
- for i=1, #GetBackpack do
- if GetBackpack[i].ClassName == "Tool" then
- GetBackpack[i].CanBeDropped = true
- end
- end
- end)
- CloseButton.Name = "CloseButton"
- CloseButton.Parent = MAIN
- CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
- CloseButton.Position = UDim2.new(0, 354, 0, 0)
- CloseButton.Size = UDim2.new(0, 36, 0, 34)
- CloseButton.Font = Enum.Font.Cartoon
- CloseButton.FontSize = Enum.FontSize.Size14
- CloseButton.Text = "X"
- CloseButton.TextColor3 = Color3.new(1, 1, 1)
- CloseButton.TextScaled = true
- CloseButton.TextSize = 14
- CloseButton.TextWrapped = true
- CloseButton.MouseButton1Click:connect(function()
- MAIN.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement