Hey there! I've recently been trying to make a fighting game, and we have our models done. I know how to make a combat system with tools, but we would rather not use them. I'm trying to figure out how to make the object appear in the players right hand (we are using R6). Here is my rough idea of how it could be done.
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAppearanceLoaded:Connect(function(char)
local ham = game.ReplicatedStorage.Weapons.Hammer:Clone()
ham.Parent = char
ham:MoveTo(char["Right Arm"].Position)
local weld = Instance.new("WeldConstraint",char["Right Arm"])
weld.Part0 = ham.Rod
weld.Part1=char["Right Arm"]
end)
end)
This doesn't work and the hammer appears over the players arm. Thanks for reading!
