Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
c0nc3rt 61
4 years ago
Edited 4 years ago

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

Log in to vote
0
Answered by 4 years ago

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.

0
That's the thumbnail of the blade dude... c0nc3rt 61 — 4y
0
it didn't cause anything to the blade even when equiped or on the ground c0nc3rt 61 — 4y
Ad

Answer this question