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

Called be only on a backend server wtf?

Asked by 6 years ago
--By stommmdDev



--Variables
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
local char = plr.Character
--Cards

for i,v in pairs(script.Parent.Cards:GetChildren()) do
    if v.Name == "CARD" then
    v.TextLabel.Text = v.Nam.Value
    v.Image = v.Img.Value
    v.MouseButton1Down:Connect(function()
    game.Players.LocalPlayer.CharacterAppearanceId = v.charid.Value
    game.Players.LocalPlayer.CanLoadCharacterAppearance = true
    v.Item.Value:Clone().Parent = plr.StarterGear
        plr:LoadCharacter(true)

    end)
    end
end









--Animations







0
i think the error is on #19 greatneil80 2647 — 6y
1
You cant use loadcharacter in local script hiimgoodpack 2009 — 6y

Answer this question