script.Parent.Part.Touched:connect(function(p)
if p.Parent:FindFirstChild('Humanoid') and not p.Parent['Right Leg']:FindFirstChild("Shoe") then
sp = p.Parent
LeftShoe= script.Parent.LeftShoe:Clone()
RightShoe= script.Parent.RightShoe:Clone()
if sp:FindFirstChild('Left Leg') then
weld=Instance.new("Weld")
weld.Name="leftShoeWeld"
weld.Part0=sp['Left Leg']
weld.Part1=LeftShoe
weld.C0=CFrame.new(Vector3.new(0,-.575,-.4))*CFrame.Angles(0,0,0)
weld.Parent=sp['Left Leg']
LeftShoe.Parent = sp['Left Leg']
end
if sp:FindFirstChild('Right Leg') then
weld=Instance.new("Weld")
weld.Name="rightShoeWeld"
weld.Part0=sp['Right Leg']
weld.Part1=RightShoe
weld.C0=CFrame.new(Vector3.new(0,-.575,-.4))*CFrame.Angles(0,0,0)
weld.Parent=sp['Right Leg']
RightShoe.Parent = sp['Right Leg']
end
end
end)
COMMUNITY QUESTION
made a script years ago before the new roblox updates and now it is broken, any ideas on how to fix?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Elaborate. What is it supposed to do and what is it or isn't it doing. Provide any errors outputted.