You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want my script to paste a decal onto my part. (Aura2) -
What is the issue? Include screenshots / videos if possible!
Aura2 isn’t getting auradecal Y/X onto it but aura is. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried to change up my code.
local aura = Instance.new("Part") -- Creates part
local auradecalY = Instance.new("Decal") -- Creates an image holder
local auradecalX = Instance.new("Decal") -- Creates an image holder
auradecalY.Texture = ("http://www.roblox.com/asset/?id=3733610821") -- Gives an image to holder
auradecalX.Texture = ("http://www.roblox.com/asset/?id=3733610821") -- Gives an image to holder
aura.Name = ("Aura") -- Renames aura
aura.Transparency = 1 -- Makes part invisable
aura.Anchored = true -- Make sure it doesnt fall into the void
aura.CanCollide = false -- Make sure you can move through it
aura.Size = Vector3.new(7, 8, 0.2) -- Changes the size of part
aura.Parent = workspace -- Adds it into workspace
local Aura2 = game.Workspace.Aura:Clone() -- Clones part
Aura2.Parent = workspace
Aura2.Rotation = Vector3.new(0, -90, 0)
function auradecal(Parent) -- Stops half the work of giving the image a parent and face
auradecalX.Parent = Parent
auradecalY.Parent = Parent
auradecalX.Face = Enum.NormalId.Front
auradecalY.Face = Enum.NormalId.Back
end
auradecal(Aura2) -- Adds parent to one of the parts
auradecal(aura) -- Adds parent to one of the parts
``
