This Code gives me this error: 12:55:04.012 - TextureId is not a valid member of LocalScript so im not sure whats wrong so i hope someone will help! Thanks for Reading & Helping me out! it really means alot.
1 | function Clicked() |
2 | local plr = game:GetService( "Players" ).LocalPlayer.PlayerGui |
3 | plr.LocalScript.TextureId = "rbxasset://textures/SwordTexture.png" |
4 | end |
5 | script.Parent.MouseButton 1 Down:connect(Clicked) |
LocalScript does not have a TextureId Property. Maybe you can put what you are trying to locate, into a variable.
Like this:
1 | LocalScript = (Insert Instance Location) |