generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
MilkTreatGolem is not online. MilkTreatGolem
Joined: 23 Aug 2011
Total Posts: 19441
20 Oct 2014 10:14 PM
[ Content Deleted ]
Report Abuse
builderman0621 is not online. builderman0621
Joined: 13 Jul 2010
Total Posts: 1612
20 Oct 2014 10:21 PM
u forgot kohl dll skidddie .true
Report Abuse
builderman0621 is not online. builderman0621
Joined: 13 Jul 2010
Total Posts: 1612
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
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
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
MilkTreatGolem is not online. MilkTreatGolem
Joined: 23 Aug 2011
Total Posts: 19441
21 Oct 2014 06:44 AM
[ Content Deleted ]
Report Abuse
builderman0621 is not online. builderman0621
Joined: 13 Jul 2010
Total Posts: 1612
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
MilkTreatGolem is not online. MilkTreatGolem
Joined: 23 Aug 2011
Total Posts: 19441
21 Oct 2014 02:13 PM
[ Content Deleted ]
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
21 Oct 2014 02:17 PM
remove the dot before the true
Report Abuse
mrdamel is not online. 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 is not online. 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
MilkTreatGolem is not online. MilkTreatGolem
Joined: 23 Aug 2011
Total Posts: 19441
21 Oct 2014 03:18 PM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image