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

decal changing script not working and inconsistent?

Asked by
huskees -14
5 years ago
Edited 5 years ago

Here's my script:

while true do 
script.Parent.Texture = "http://www.roblox.com/asset/?id=73866498" 
wait(0)
script.Parent.Texture = "http://www.roblox.com/asset/?id=73866498" 
wait(7)
script.Parent.Texture = "http://www.roblox.com/asset/?id=1940693447" 
wait(10)

Here's my problem: The decals aren't changing consistently and the script seems like it isn't even working. If there is an alternative I'd greatly appreciate it!

0
It will take time for the textures to load in first time. User#5423 17 — 5y

2 answers

Log in to vote
0
Answered by
SCP774 191
5 years ago

Simple, use rbxassetid:// instead of http://www.roblox.com/asset/?id=

0
thanks. huskees -14 — 5y
Ad
Log in to vote
0
Answered by
huskees -14
5 years ago

Ugh. I don't know if I'm doing this right, some wait() times work and other times I feel its just randomly spewing out the decals. Here's my updated script, which is located inside the part inside a decal:

while true do --Loop
script.Parent.Texture = "rbxassetid://73866498"
wait(10)
script.Parent.Texture = "rbxassetid://72070188"
wait(7)
script.Parent.Texture = "rbxassetid://21446331"
wait(7)
script.Parent.Texture = "rbxassetid://72070188"
wait(1)
script.Parent.Texture = "rbxassetid://72070188"
wait(10)
script.Parent.Texture = "rbxassetid://72070188"
wait(10)
script.Parent.Texture = "rbxassetid://72070188"
wait(10)
script.Parent.Texture = "rbxassetid://72070188"
wait(10)
script.Parent.Texture = "rbxassetid://72070188"
end

Answer this question