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

attempt to index nil with ´shirt´?

Asked by 4 years ago
game.Players.PlayerAdded:Connect(function(player)

    player.CharacterAdded:Connect(function(character)
    wait(3.5)
    local demon = character:WaitForChild("Demon")
    local Zenitsu = player:WaitForChild("zenitsuclothes"):WaitForChild("Value")
        if Zenitsu.Value == true and demon.Value == false then
            player.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=3945014046"
            player.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=3134038602"
    end
    end)
    end)

what im doing wrong?

0
you forgot to have a braincell. value ain't a part of shirt :V iuclds 720 — 4y
0
bro did you really read the script? idiot Nishikima 9 — 4y

Answer this question