So as the title states, my goal here is when the player unequips their boombox, it will weld to their box. Here’s my unequip code:
local player = tool.Parent.Parent.Character
local boomclone = tool.Handle:Clone()
boomclone.Parent = player.Torso
local weld = Instance.new("Weld")
weld.Parent = player.Torso
weld.Part0 = boomclone
weld.Part1 = player.Torso
I’m not sure how I would go about it. Maybe with the welds C0 and C1 properties? Idk, but any help would be appreciated!
ADDED INFO: This is kinda what I want it to look like
You can turn your Boombox into a backAccessory, and then just attach it like any other backAccessory.
How does it work?
The tool “BoomBox” and backAccessory “BoomBox” is not gonna be the same, it is only gonna look the same. Think of it like a key laying on the floor in Piggy/Granny. When you pick it up, it’s not actually the key on the floor you get, but instead just a tool that looks like it. When you then loose that key, a model of the key will be placed on the ground again.
Thanks! Adding the accessory worked. However… It’s attached to the players head instead of their back even though I made it into a back accessory
Find a backAccessory from the catalog, import it into your game, have a look at how the properties are, and replicate them. You will quickly figure out how come the BoomBox is how it is.
Thank you so much! I got the result I wanted. This is awesome!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.