So basically, I spent a good lot of time making this GUI for a guy, runs smoothly in Solo test but when I apply it to multiplayer it doesn't work! I am really confused here, does anybody see a problem?
.
script.Parent.MouseButton1Down:connect(function()
playername = script.Parent.Parent.Parent.Parent.Name
player = Workspace:FindFirstChild(""..playername.."")
if player ~= nil then
player:FindFirstChild("Pants").PantsTemplate = "http://www.roblox.com/asset/?id=160490493"
player:FindFirstChild("Shirt").ShirtTemplate = "http://www.roblox.com/asset/?id=160490464"
end
end)

1 comment
Thanks!