|
| 11 Aug 2017 09:56 AM |
Tool = script.Parent
function fire(v)
Tool.Handle.Fire:Play()
"The LORD is my shepherd, I lack nothing." Psalm 23:1 |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 09:58 AM |
bump
"The LORD is my shepherd, I lack nothing." Psalm 23:1 |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 09:59 AM |
| you havent called the function |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 10:00 AM |
how do i do that?
"The LORD is my shepherd, I lack nothing." Psalm 23:1 |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 10:01 AM |
| well when do you want to use the function? |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 10:02 AM |
when the player firesthe gun
"The LORD is my shepherd, I lack nothing." Psalm 23:1 |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 10:03 AM |
"when the player firesthe gun" so call the function when the player fires the gun, which im assuming is by clicking the screen |
|
|
| Report Abuse |
|
|
LeafDoode
|
  |
| Joined: 29 May 2017 |
| Total Posts: 3094 |
|
|
| 11 Aug 2017 10:11 AM |
function lmao() print("yay") end
Tool.Activated:connect(lmao) |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 10:14 AM |
i did
script.Parent.Activated:connect(onActivated)
"The LORD is my shepherd, I lack nothing." Psalm 23:1 |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2017 10:17 AM |
you have the idea down
Tool = script.Parent
function fire() Tool.Handle.Fire:Play() end
Tool.Activated:connect(fire) |
|
|
| Report Abuse |
|
|