see, It does not get transferred
I think you need to put the other bits in StarterPack
. StarterCharacterScripts
(well… it’s in the name) is only really for scripts.
Oh, alright, Its just before when I put parts it got sent to character model, but I think putting it in starter pack makes more sense. Thank you for the help
it still doesnt work, maybe parenting the script to the right arm forcefully might help
local weld = game.StarterPack:WaitForChild("HandleWeld")
game.Players.PlayerAdded:Connect(function(player)
script.Parent = player.Character:WaitForChild("Right Arm")
weld.Part1 = player.character:WaitForChild("Right Arm")
weld.Part0 = sword
end)`` I have this so far but for some reason doesnt work, please help
player added doesnt print whenever I do that so I think it might be player added event
I’m pretty sure the parts of the character have no spaces. So, it would just be “RightArm”. Also, the character might not have loaded yet, so it would error. Try this, a Script
in ServerScriptService
:
local players = game:GetService("Players")
local starterPack = game:GetService("StarterPack")
local weld = starterPack:WaitForChild("HandleWeld")
local function onAdded(player)
local char = player.Character or player.CharacterAdded:Wait()
local clonedWeld = weld:Clone()
clonedWeld.Part0 = char:WaitForChild("RightArm")
clonedWeld.Part1 = sword --idk where "sword" is defined
print("nice it worked")
end
players.PlayerAdded:Connect(onAdded)