|
| 22 May 2014 12:21 PM |
--It's a lightsaber. I made the blade come out after one second with this, but what's the command for when a tool is put away? Is it just unEquipped?
function onEquipped() wait(1) UnsheathSound:play() script.Parent.Blade.Transparency = 0.2 script.Parent.Blade.PointLight.Enabled = true end
script.Parent.Equipped:connect(onEquipped) |
|
|
| Report Abuse |
|
|
| |
|
Waffloid
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1606 |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 22 May 2014 01:24 PM |
look it up
"roblox events"
or "roblox tool" then click events |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 02:27 PM |
Here's the wiki page
http://wiki.roblox.com/index.php?title=RBX.lua.Tool_(Object) |
|
|
| Report Abuse |
|
|