Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[Q]This is roblox bug or my script problem sword cloning, coloring?

Hi, i'm c0nc3rt. I have another serious proplem that when you clone the sword and random the pos and pick it up it will back to black color.

It's really hard to explain just watch this video: here

And this is my script inside a serverscript:

local sword = game.ServerStorage.RareSword

while true do
	sword.Handle.Position = Vector3.new(math.random(-2.82,250.81),30,math.random(-49.54,283.46))
	sword.Handle.Mesh.VertexColor = Vector3.new(math.random(0,255),math.random(0,255),math.random(0,255))
	sword:Clone().Parent = workspace
	workspace.Value.Value = workspace.Value.Value + 1
	
	wait(5)
end

Help me please...

1 answer

You mean the sword is black in the picture in your inventory bar right? I might be wrong but i am pretty sure that what shows up in the inventory bar is an image called textureid. Click on your tool and go to properties and find textureid. Should have something like rbxasset://Textures/Sword128.png which is what will show up in the inventory slot. Just because you changed how the blade looks in the workspace doesnt mean you changed the image id that the original person set up.

2 comments

0

That's the thumbnail of the blade dude...

0

it didn't cause anything to the blade even when equiped or on the ground

This discussion is preserved as it was. New answers, comments, and votes are closed.