I tried to make a script that changes the value of a decal texture but when i run the game nothing happens. Can somone help me with this?
ProjectDecal = game.Workspace.DecalBrick.Decal.Texture ProjectDecal = 3620710
ProjectDecal = game.Workspace.DecalBrick.Decal.Texture ProjectDecal = "3620710"
ProjectDecal
is not a reference, it's a value. So you need to create a reference to change something that quick.
Reference is the variable which keeps full name of an object(Like game.Workspace.etc) to reach it, but if you equal a variable to a property of an object, it does not count as a reference, just takes its value to use later on.
Also you need to use rbxassetid://
For short, here's the code you need to use
ProjectDecal = game.Workspace.DecalBrick.Decal ProjectDecal.Texture = "rbxassetid://3620710"