How to get a specific player's character from their player?
Asked by
6 years ago Edited 6 years ago
I'm trying to make a script that will "holster" a fake version of a weapon, welding it to their body when they unequip it. I can't "get" the character to establish a weld. Does anyone have a solution for this?
05 | player = backpack.Parent |
09 | attachpoint = character:FindFirstChild( "LowerTorso" ) |
11 | fake.Parent = character |
12 | fake.Position = attachpoint.Position |
13 | fake.Orientation = attachpoint.Orientation |
15 | weld = Instance.new( "Weld" ) |
17 | weld.Part 0 = attachpoint |
Thank you in advance.