Okay, so basically, here's my problem: (I'm pretty new to coding.)
I'm trying to make it so when a player pulls out a gun (in this case its an item from a backpack) something else from the backpack orbits around it.
There is a shotty in the game called The Streets and I want soda cans to orbit it whenever you pull the gun out.
I've got the basics laid out (possibly...)
local player = game.Players.LocalPlayer
----
if game.Players.LocalPlayer.Backpack.Shotty == nil then
if game.Workspace.player.Shotty == true
then if game.Players.LocalPlayer.Backpack.Drink == true
then
I don't know how to finish it, and I'm almost positive I messed up the beginning.
Thanks in advance.

1 comment
what type of objects are Shotty and Drink?