script.Parent.gamble.Triggered:Connect(function()
script.Parent.gamble.Enabled = false
local random = math.random(1, 4)
if random == 1 then
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(.7)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(.1)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.04)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.1)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.07)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1.3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
elseif random == 2 then
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(.7)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(.1)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.04)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.1)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.07)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1.3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
elseif random == 3 then
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(.7)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(.1)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.04)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.1)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.07)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1.3)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
else
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.8)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.5)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.3)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.7)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
end
end)
Intended solution: images change as per time, like a slot machine
What happens: none of the images appear
Which part of the code works:
script.Parent.gamble.Triggered:Connect(function()
script.Parent.gamble.Enabled = false
Everything else just doesn’t work. Why so?
2 Likes
Firstly, you should probably be using some sort of a table for this instead of manually doing this in code. Use a loop to set these images instead. Also, rename random to randomnum because random is already a reserved keyword.
1 Like
question. is setting the table required or preferred?
update: code still didn’t work. i’ll try setting a table. how do i set this “table”?
1 Like
It would just be a lot easier to read and to make modifications if needed. It’s also a lot easier to code. But to answer your question, no, it’s not necessary.
No, I am not suggesting to set a table, I am suggesting to use a loop to set the decals instead of writing it all by hand.
Is it returning any errors? It may be because you are never firing the bindable event.
Lemme see, one second. I’ll tell you in a sec
Absolutely nothing is being errored lol
Oh, where is this script located? Additionally, you never actually re-enabled your proximityprompt.
Script is located in “luck3” a Part with parts inside of it. “luck3” is a white little transparent part (see img below) which is supposed to show the image with 0 transparency.
Additionally, proximityprompt reenablation is not required. It uses different system than that lol
This is a slot machine, yea. There’s two more parts called “luck2” and “luck1” inside of “luck3” with the exact same scripts
CZXPEK
(czo)
June 10, 2023, 7:56pm
#12
try preloading the images before changing them with preloadasync
Do i store these preloads in a different script or? Where exactly?
Wait, to clarify, your script isint running at all, correct?
It disables the “gamble” ProximityPrompt, then does nothing else lol
try printing the value of “random”
Wait, can you provide the updated code after you tried to rename the variable?
bet
script.Parent.gamble.Triggered:Connect(function()
script.Parent.gamble.Enabled = false
local randomnum = math.random(1, 4)
if randomnum == 1 then
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(.7)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(.1)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.04)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.1)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.07)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1.3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
elseif randomnum == 2 then
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(.7)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(.1)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.04)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.1)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.07)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1.3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
elseif randomnum == 3 then
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(.7)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(.1)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.04)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.1)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.4)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(0.07)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1.3)
script.Parent.Decal.Texture = "rbxassetid://13712813459"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
else
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(2)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.8)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.5)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.3)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.09)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.05)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(.05)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(0.08)
script.Parent.Decal.Texture = "rbxassetid://13712869306"
wait(0.3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
wait(0.7)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(1)
script.Parent.Decal.Texture = "rbxassetid://13712885615"
wait(3)
script.Parent.Decal.Texture = "rbxassetid://13712860070"
end
end)
quakage
(quakage)
June 10, 2023, 8:04pm
#19
Try using this format instead:
script.Parent.Decal.Texture = "http://www.roblox.com/asset/?id=13712885579"
put that in place of just
script.Parent.Decal.Texture = "rbxassetid://13712885579"
Roblox uses rbxassetid:// for decals.