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

how can i make a part go on a players back as gear? [closed]

Asked by 10 years ago

how wood I do that??

Closed as Not Constructive by AmericanStripes

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 10 years ago

Hope this works! (sorry if this didn't help) First get a part out and name it handle. Second type tool in basic objects put a tool on your workspace. Third cut the part then paste the part into the tool. Fourth drag the tool in the starter pack. Fifth make the tool royal puple for this script. Here is a basic script for your tool.

wait(1)
tool = script.Parent
handle = tool.Handle

function onClicked()
if handle.BrickColor == BrickColor.new("Royal purple") then
handle.BrickColor = BrickColor.new("Bright red")
else
handle.BrickColor = BrickColor.new("Royal purple")
end
end

function onEquipped(mouse)
mouse.Button1Down:connect(onClicked)
end

tool.Equipped:connect(onEquipped)
Ad