|
| 04 May 2014 06:08 PM |
function onTouch(part) game.workspace.killingthing.sharp.part1.Anchored = false
end
script.Parent.Touched:connect(onTouch)
Supposed to when the part let's call it button is pressed, then part1 is unanchored
game.workspace.killingthing.sharp -- this is needed because it's for locating |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 May 2014 06:10 PM |
| When button (the part name) is pressed then part1 is unanchored |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 06:19 PM |
script.Parent.Touched:connect(function(part) if part.Parent:findFirstChild("Humanoid") then game.Workspace:findFirstChild("killingthing").sharp.part.Anchored = false end end) |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 06:20 PM |
| part1* Fix it in the script. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 04 May 2014 06:51 PM |
"game.Workspace:findFirstChild("killingthing")"
Why are you using FindFirstChild? |
|
|
| Report Abuse |
|
|