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.

01wait(1)
02tool = script.Parent
03handle = tool.Handle
04 
05function onClicked()
06if handle.BrickColor == BrickColor.new("Royal purple") then
07handle.BrickColor = BrickColor.new("Bright red")
08else
09handle.BrickColor = BrickColor.new("Royal purple")
10end
11end
12 
13function onEquipped(mouse)
14mouse.Button1Down:connect(onClicked)
15end
16 
17tool.Equipped:connect(onEquipped)
Ad