Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = "kaemi"
- plr = game.Players:FindFirstChild(name)
- char = plr.Character
- sg = Instance.new("ScreenGui", plr.PlayerGui)
- tt = Instance.new("TextBox", sg)
- tt.Size = UDim2.new(0, 175, 0, 50)
- tt.BackgroundColor3 = Color3.new(0, 0, 0)
- tt.BorderColor3 = Color3.new(1, 1, 1)
- tt.BackgroundTransparency = 0.4
- tt.TextColor3 = Color3.new(1, 1, 1)
- tt.FontSize = Enum.FontSize.Size12
- tt.Position = UDim2.new(0, 0, 0, 200)
- tt.Text = "Enter Gear ID Here!"
- tt.FocusLost:connect(function(enterPressed)
- if enterPressed == true then
- id = tonumber(tt.Text)
- tt.Text = "Enter Gear ID Here!"
- local obj = game:service("InsertService"):LoadAsset(id)
- for a,g in pairs(obj:children()) do
- if g:IsA("Tool") or g:IsA("HopperBin") then
- g.Parent = plr.Backpack
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement