Ball Texture won't set by script?

Hi, I have a script to modify the texture of a ball, however when i modify it:

game.Workspace.Ball.Mesh.TextureId = "http://www.roblox.com/asset/?id=" .. 17548576212

image

However, when i set it manually:

image
image
And its the exact same thing i set in the script…

Any help would be appriciated, thanks!

1 Like

tried only setting it to “rbxassetid://17548576212”?

1 Like

yea, and it doesn’t load either

and in your explorer when you look at the textureID, it is blank?

no, its the value i set it to in the script

interesting so it’s setting just not loading then, are you doing this on the client or the server?

on the client, i also tried on the server and the same results

try just quickly pasting this in your code

--debug
while true do
  game.Workspace.Ball.Mesh.TextureId = "rbxassetid://17548576212" 
  task.wait(2)
end

let me know if it updates after a few loops, and have you made sure there’s nothing that could be overriding the textureId of the special mesh such as a mesh part’s texture or such

the texture id is still not loading, and theres nothing overriding it

there seems to be an error in your texture, you are applying “17548576212” while your texture is “17548576162”

(differing in the last 4 digits)

may you see if this is your issue?

1 Like

it is not different, and when i tried making it the same it still wont load

image
image

“6212”
“6162”

it is different, anyhow what script type are you currently using local or server and where is it parented to so we can check ensuring that it’s executing off the list

oh yea i noticed that too, tysm bro

1 Like

have fun keep hussling n improving og>!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.