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

CharacterAppearance applying in Roblox Studio, the server test service, but not in an actual game?

Asked by 6 years ago
Edited 6 years ago
script.LoadChar.OnServerEvent:connect(function(player)
    player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261"
    player:LoadCharacter()
    local Hammer = game.ReplicatedStorage.Weapons.BanHammer
    Hammer:Clone().Parent = player.Backpack
end)

I have a hunch that I am setting up my remote events incorrectly. Does this kind of action have to be placed inside a remote event? Character is loaded, banhammer is given, but the avatar will not change inside a ROBLOX Game server. Thank you so very much for your help!

0
You are using Remote Event events, I think you meant a remote event saSlol2436 716 — 6y
1
not a remote event, if it is a remote function, you got it wrong saSlol2436 716 — 6y
0
It needs an int value (the ID, not a string), not a roblox asset url. http://wiki.roblox.com/index.php?title=API:Class/Player/CharacterAppearanceId hiimgoodpack 2009 — 6y

Answer this question