I am adding snoop dog dance after one of the song, but this script isn't working for some reason. This is the script I made. I want it to work like other gifs of snoop dog dance:
local snoop = Instance.new("Part")
local decal = Instance.new("Decal", snoop)
function snoop()
snoop.Name = ("Snoop Dog")
snoop.Position = Vector3.new(17.9, 6.2, -6)
snoop.Size = Vector3.new(8.2, 12.4, 2)
snoop.Shape = ("Block")
snoop.FormFactor = ("Custom")
snoop.CanCollide = false
snoop.Archivable = false
snoop.Anchored = false
end
function decal()
decal.Shiny = 20
decal.Texture = ("http://www.roblox.com/asset/?id=131396192")
--put this script inside the decal you want to change
--to find the decal texture, insert the decal you want on a brick. Look into the brick and click the decal. Scroll Down and it says texture.
--copy the url into the "insert texture here" spot
while true do --Loop
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395838" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395847"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395855"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395860"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395868" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395884" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395884"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395891"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395897"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395901" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395946" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395957"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395966"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395972"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395979" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395986" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395989"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395993"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131395997"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396003" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396007" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396012"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396016"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396019"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396024" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396029" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396037"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396042"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396044"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396046" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396054" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396063"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396068"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396072"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396078" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396091" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396098"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396102"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396108"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396110" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396113" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396116"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396121"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396125"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396133" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396137" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396142"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396146"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396156"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396162" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396164" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396169"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396173"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396176"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396181" --Insert decal's first texture
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396185" --second texture
wait(0.05) --wait 1 second, you can change this and make it different for every one
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396188"
wait(0.05)
script.Parent.Texture = "http://www.roblox.com/asset/?id=131396192"
wait(0.05)
end
--want to add more decals? just copy the following 2 lines before the END line and delete the "--" lines
--script.Parent.Texture = "insert texture here"
--wait(1)
end

6 comments
What does "not working" mean? Is there an error? What happens instead of it "working"? What precisely isn't "working"?
It didn't come at all.
Is there an error?
From looking at the code, you are NOT calling the function anywhere in the code!
-66 Reputation within an hour? How did that happen all of a sudden? Last time checking, he only had -15?
TheAlphaStigma, Someone probably trolled him and found all his questions then deducted a point