1 local rp = game.ReplicatedStorage 2 local LeftArm = rp:WaitForChild('LeftArm') 3 local LeftLeg = rp:WaitForChild('LeftLeg')
local RightArm = rp:WaitForChild('RightArm') local RightLeg = rp:WaitForChild('RightLeg') local Torso = rp:WaitForChild('Torso')
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) char:WaitForChild('Torso').Transparency = 1 char:WaitForChild('Left Leg').Transparency = 1 char:WaitForChild('Left Arm').Transparency = 1 char:WaitForChild('Right Leg').Transparency = 1 char:WaitForChild('Right Arm').Transparency = 1
--// Left Arm local ClonedLA = LeftArm:Clone() ClonedLA.Parent = char ClonedLA.Main.CFrame = char:WaitForChild('Left Arm').CFra me local Weld = Instance.new('ManualWeld') Weld.Part0 = ClonedLA.Main Weld.Part1 = char:WaitForChild('Left Arm') Weld.C0 = ClonedLA.Main.CFrame:inverse?() * char:WaitForChild('Left Arm').CFrame Weld.Parent = char:WaitForChild('Left Arm') --// Left Leg local ClonedLL = LeftLeg:Clone() ClonedLL.Parent = char ClonedLL.Main.CFrame = char:WaitForChild('Left Leg').CFrame local Weld = Instance.new('ManualWeld') Weld.Part0 = ClonedLL.Main Weld.C0 = ClonedLL.Main.CFrame:inverse?() * char:WaitForChild('Left Leg').CFrame Weld.Parent = char:WaitForChild('Left Leg') --// Right Arm local ClonedRA = RightArm:Clone() ClonedRA.Parent = char ClonedRA.Main.CFrame = char:WaitForChild('Right Arm').CFrame local Weld = Instance.new('ManualWeld') Weld.Part0 = ClonedRA.Main Weld.Part1 = char:WaitForChild('Right Arm') Weld.C0 = ClonedRA.Main.CFrame:inverse?() * char:WaitForChild('Right Arm').CFrame Weld.Parent = char:WaitForChild('Right Arm') --// Right Leg local ClonedRL = RightLeg:Clone() ClonedRL.Parent = char ClonedRL.Main.CFrame = char:WaitForChild('Right Leg').CFrame local Weld = Instance.new('ManualWeld') Weld.Part0 = ClonedRL.Main Weld.Part1 = char:WaitForChild('Right Leg') Weld.C0 = ClonedRL.Main.CFrame:inverse?() * char:WaitForChild('Right Leg').CFrame Weld.Parent = char:WaitForChild('Right Leg') --// Torso local ClonedT = Torso:Clone() ClonedT.Parent = char ClonedT.Main.CFrame = char:WaitForChild('Torso').CFrame local Weld = Instance.new('ManualWeld') Weld.Part0 = ClonedT.Main Weld.Part1 = char:WaitForChild('Torso') Weld.C0 = ClonedT.Main.CFrame:inverse?() * char:WaitForChild('Torso').CFrame Weld.Parent = char:WaitForChild('Torso') end) end)
18:14:32.321 - ServerScriptService.Script:22: '=' expected near 'local'
Closed as Non-Descriptive by User#23365, User#21908, xPolarium, and aazkao
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?