|
| 11 Jun 2015 06:53 PM |
no errors and it is in a local script in a tool with a handle in the tool.
local Tool = script.Parent
function equip()
script.Parent.Handle.CanCollide = true end
Tool.Equipped:connect(equip)
|
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 06:56 PM |
| Why don't you just keep CanCollide on so you don't have to set it in the script? |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 06:58 PM |
| What do you mean? if you mean by why not leave the brick inside cancollide true, it makes the cancollide false when I equip it, I don't want that. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 06:59 PM |
No it doesn't... Or does it...
local tool = script.Parent
tool.Equipped:connect(function() tool.Handle.CanCollide = true end) |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 07:02 PM |
| nvm with this forum, I just set it to CanCollide when I was in test mode and I realized that it didn't do what I needed it to do.but I have one question, is there a way to disable the rag doll? like make it so the character can't fall over? |
|
|
| Report Abuse |
|
|