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

Blink script not printing any errors whilist not changing the face?

Asked by 3 years ago

Code:

game.Players.PlayerAdded:Connect(function(p)

    print("bruh")

    local head = p:FindFirstChild("Head")

    local face = Instance.new("Decal", head)

    face.Texture = "7071149315"

    wait(3)

    face.Texture = "7071149800"

    print("work again")

end)

Why doesnt it work?

1 answer

Log in to vote
0
Answered by 3 years ago

Because the textures are of the "Content" type, you have to type face.Texture = "rbxassetid://7071149315" instead of what you wrote. This ensures that the ID is from Roblox's servers, and not anywhere else.

TL:DR; just copy the code below because i know ur lazy

game.Players.PlayerAdded:Connect(function(p)
    print("bruh")
    local head = p:FindFirstChild("Head")
    local face = Instance.new("Decal", head)
    face.Texture = "rbxassetid://7071149315"
    wait(3)
    face.Texture = "rbxassetid://7071149800"
    print("work again")
end)

also i think u got the ids wrong way around, it starts out with eyes open, waits 3 seconds, then permanently shuts them

0
It still didnt print any errors, and didnt work. Ponytails2017 83 — 3y
0
it must have printed something User#30567 0 — 3y
Ad

Answer this question