GIGI777
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 2935 |
|
|
| 20 Oct 2013 12:51 PM |
while true do script.Parent.Decal.Texture = "http://www.roblox.com/zombie-item?id=90226630" wait(10)-- script.Parent.Decal.Texture = "http://www.roblox.com/Zombies-eat-flesh-item?id=2730004" wait(5) end
^^^^
I made it for a TV I'm working on, but every time I put it in, it shows the picture for half a second then goes all black, what am I doing wrong?
(Warning, I do and only understand simple scripts.)
|
|
|
| Report Abuse |
|
|
Bassics
|
  |
| Joined: 24 Apr 2012 |
| Total Posts: 415 |
|
|
| 20 Oct 2013 12:55 PM |
| 10 seconds seems like a long time. You might want to test it at 1 second. |
|
|
| Report Abuse |
|
|
GIGI777
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 2935 |
|
| |
|
GIGI777
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 2935 |
|
| |
|
|
| 20 Oct 2013 01:21 PM |
What are the two minus operators beside the wait(10) line?
PS: I'm a newb at Lua. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 20 Oct 2013 01:22 PM |
| Note that you're not getting the images at all; you're getting their item pages. |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 01:23 PM |
Wait!
Try this:
while true do script.Parent.Decal.Texture = "http://www.roblox.com/zombie-item?id=90226629" wait(10)-- script.Parent.Decal.Texture = "http://www.roblox.com/Zombies-eat-flesh-item?id=2730003" wait(5) end
Like Blocco said, you're not actually getting the images. |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 01:26 PM |
while true do script.Parent.Decal.Texture = "http://www.roblox.com/asset/id?=90226629" wait(10) then script.Parent.Decal.Texture = "http://www.roblox.com/asset/id?=2730003" wait(5) end
--Done |
|
|
| Report Abuse |
|
|
Bassics
|
  |
| Joined: 24 Apr 2012 |
| Total Posts: 415 |
|
|
| 20 Oct 2013 01:26 PM |
| @breezy You need the asset link. |
|
|
| Report Abuse |
|
|
| |
|
Bassics
|
  |
| Joined: 24 Apr 2012 |
| Total Posts: 415 |
|
|
| 20 Oct 2013 01:32 PM |
@TheRobloxian909 Thank you, mister.
game.Players.TheRobloxian909.Pro.Value = game.Players.TheRobloxian909.Pro.Value + math.huge |
|
|
| Report Abuse |
|
|
GIGI777
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 2935 |
|
|
| 20 Oct 2013 02:53 PM |
Same results.
What am I doing wrong .3. |
|
|
| Report Abuse |
|
|
GIGI777
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 2935 |
|
|
| 20 Oct 2013 03:14 PM |
Now I tried this:
M = script.Parent.Main
while true do M.Texture = "http://www.roblox.com/asset/?id=90226630" wait(3) M.Texture = "http://www.roblox.com/asset/?id=2730004" wait(3) M.Texture = "http://www.roblox.com/asset/?id=133148960" wait(3) end
And it shows me SOMETHING, but not what I want. It looks like white and black diamonds, and they're blurred in a checkered form.
Well? |
|
|
| Report Abuse |
|
|
GIGI777
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 2935 |
|
| |
|
Sieora
|
  |
| Joined: 12 Aug 2013 |
| Total Posts: 298 |
|
|
| 20 Oct 2013 07:15 PM |
That's why you get the 'Assest ID' which is the id of your decal, but minus the last digit.
Ex: my asset id is 1234 I change the "4" to a "3"
◙ℐᾔᾔ◎√α⊥℮◙ |
|
|
| Report Abuse |
|
|
| |
|
Sieora
|
  |
| Joined: 12 Aug 2013 |
| Total Posts: 298 |
|
|
| 20 Oct 2013 07:17 PM |
^I'm assuming TheElite's is right.
◙ℐᾔᾔ◎√α⊥℮◙ |
|
|
| Report Abuse |
|
|
GIGI777
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 2935 |
|
|
| 20 Oct 2013 07:18 PM |
God bless.
Thank you so much! |
|
|
| Report Abuse |
|
|