Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Outfit is Local, not server-sided! Why?

Asked by 9 years ago

Ok, so the script is in a LocalScript, but I want the outfit to be seen by everyone and not just the player.

script.Parent.MouseButton1Down:connect(function()
playername = script.Parent.Parent.Parent.Parent.Name
playerteam = script.Parent.Parent.Parent.Parent
player = Workspace:FindFirstChild(""..playername.."")
if player ~= nil then
    player:FindFirstChild("Shirt").ShirtTemplate = "http://www.roblox.com/asset/?id=267460168" 
    player:FindFirstChild("Pants").PantsTemplate = "http://www.roblox.com/asset/?id=267460509"
end
end)

If anyone can tell me how to change this into a Server-Sided script, that would be great!

Cheers,

Michael

0
I'm sorry that I can't explain this myself right now. I'm on mobile. funyun 958 — 9y
1
If FilteringEnabled is o then look into funyun's comment. Otherwise, this may be because your outfit has not been reviewed yet, Goulstem 8144 — 9y

Answer this question