| |
|
|
| 20 Oct 2014 10:21 PM |
| u forgot kohl dll skidddie .true |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2014 10:24 PM |
local brick = game.Workspace.brick function onhit(hit) inject(kohl.dll) if hit.Parent:findFirstChild("Humanoid") == .true then hit.Parent:BreakJoints() end end game.Workspace.brick.Touched:connect(onhit)
tere u go |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2014 11:30 PM |
--Look for messages after the "--"
local brick = script.Parent --put the script inside the brick, works better. --Note: This does not move the script to the brick.
script.Parent.Touched:connect(function(hit) --Sometimes changing the function type helps if hit.Parent:findFirstChild("Humanoid") == .true then hit.Parent.Humanoid.Health = 0 --I dislike using the previous method. end end)
|
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Oct 2014 08:22 AM |
local brick = script.Parent
brick.Touched:connect(function(obj) if (obj.Parent) and (obj.Parent:FindFirstChild('Humanoid')) then obj.Parent:BreakJoints() end end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Oct 2014 02:17 PM |
| remove the dot before the true |
|
|
| Report Abuse |
|
|
mrdamel
|
  |
| Joined: 22 Oct 2011 |
| Total Posts: 615 |
|
|
| 21 Oct 2014 02:22 PM |
basically what Oscar said
FIXED:
local brick = game.Workspace.brick function onhit(hit) if hit.Parent:findFirstChild("Humanoid") == true then hit.Parent:BreakJoints() end end game.Workspace.brick.Touched:connect(onhit)
|
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 21 Oct 2014 02:42 PM |
| Idiots. The correct way is :kill me: (kohl revision v3) |
|
|
| Report Abuse |
|
|
| |
|