Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can i give gear made by ROBLOX in my game right when a player joins?

Asked by 7 years ago

I want to give gear to the players right when they join the game. I want the gear to be ROBLOX gear which has the gear id instead of the toolbox gear. Is there a way to do that?

1 answer

Log in to vote
1
Answered by 7 years ago
Edited 7 years ago

With InsertService, you can insert anything from the catalog that is created by ROBLOX or you.

1local AssetId = 82353 -- paste the gear ID here
2 
3local Model = game:GetService("InsertService"):LoadAsset(AssetId)
4 
5local Tool = Model:GetChildren()
6Tool.Parent = game.StarterPack
Ad

Answer this question