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

Unable to assign property MeshId. Script write access is restricted-Server-Script:7 how to fix it?

Asked by
kiref81 -24
3 years ago
game.ReplicatedStorage.Events.FemaleEvent.OnServerEvent:connect(function(player)
    local Button = game.StarterGui.Menu.Frame.Female
    local g = "http://www.roblox.com/asset/?id=82992952"

    local char = player.Character

    char.Head.MeshId = g  
end)

i want to make body part changer on female or male but i get this error Unable to assign property MeshId. Script write access is restricted - Server - Script:7 how to fix it?

Answer this question