Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help with gear summonning With script localplayer inside backpack? local player?

So i have made a GUI to instance a gear into a player backpack by ID but it's only summoning it to (0,0,0) condinates And i can't find a way to make it that the parent will be a localplayer

EoLocalPlayer = game:GetService'Players'.LocalPlayer game:service("InsertService"):LoadAsset(16641274).Parent = Workspace.LocalPlayer

5 comments

0

oml that ^^ isn't how u even do it, you didn't even put it in the players backpack, after .Parent = -- you should put game:GetService("Players").LocalPlayer.BackPack omg

0

Backpack* if BackPack won't work :P

0

Heh k.

0

I did what you said and its not giving the item to me and not even spawns

0

Workspace.LocalPlayer? That doesn't make sense

1 answer

You have to parent it to the LocalPlayer's Backpack bin.

local plr = game.Players.LocalPlayer 
EoLocalPlayer = plr

game:service("InsertService"):LoadAsset(16641274).Parent = plr:WaitForChild("Backpack")

This discussion is preserved as it was. New answers, comments, and votes are closed.