Momoiko
|
  |
| Joined: 12 Dec 2015 |
| Total Posts: 629 |
|
|
| 10 Apr 2017 10:04 PM |
anyone have a script that changes a decal to another decal
ex. i wanted to make a dancing person and i uploaded a gif frame by frame i'd need a script to change the decals
refugeez' right hand goon |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2017 10:08 PM |
decal = yourdecal
while wait(0.5) do
decal.Id = blablabla wait(0.5)
decal.Id = blablabla wait(0.5)
decal.Id = blablabla wait(0.5)
decal.Id = blablabla wait(0.5)
decal.Id = blablabla wait(0.5) end
-- etc
end
#code -- This is a comment in Lua. -- |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2017 10:10 PM |
You could just use a sprite sheet
|
|
|
| Report Abuse |
|
|
|
| 10 Apr 2017 10:10 PM |
--Put this in a script inside your part
local decals = script:GetChildren() --Put the decals inside the script and name them in the order they should appear (e.g. 1, 2, 3, etc.)
local d = Instance.new("Decal", script.Parent)
while wait() do for i,v in pairs(decals) do d.Image = v.Image wait() end end |
|
|
| Report Abuse |
|
|
Momoiko
|
  |
| Joined: 12 Dec 2015 |
| Total Posts: 629 |
|
|
| 10 Apr 2017 10:33 PM |
neither seemed to work but then again it's likely i'm doing it wrong
refugeez' right hand goon |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2017 10:53 PM |
Lol are u srs ?
Just use transparency m9 XD |
|
|
| Report Abuse |
|
|