lleyt
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 66 |
|
| |
|
agent767
|
  |
| Joined: 03 Nov 2008 |
| Total Posts: 4181 |
|
|
| 27 Jul 2011 08:50 AM |
function touched(hit) local hum = hit.Parent:FindFirstChild("Humanoid") if hum ~= nil then hum.Health = 0 end end
part.Touched:connect(touched) |
|
|
| Report Abuse |
|
|
lleyt
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 66 |
|
|
| 27 Jul 2011 08:55 AM |
If u or any one else has a good script tell me.
Thanks!
|
|
|
| Report Abuse |
|
|
lleyt
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 66 |
|
|
| 27 Jul 2011 09:07 AM |
| Remember keep those scripts simple! |
|
|
| Report Abuse |
|
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
|
| 27 Jul 2011 09:12 AM |
wow how pathetic. you just want a bunch of random blocks that do stuff? do some of your own work. wait, i got an idea:
Put this script inside the block:
function touched(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player ~= nil then if player.Name == "lleyt" then player:Remove() end end end
script.Parent.Touched:connect(touched)
woohoo! we just made a brick that will kick lleyt from a game if he touches it! |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2011 09:15 AM |
xD... I would share something nasty, but after what happened last time... Basically, you do NOT wanna know. :D |
|
|
| Report Abuse |
|
|
lleyt
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 66 |
|
|
| 27 Jul 2011 09:22 AM |
| I do NOT like the kick lleyt script. I'll make a kick idontknow script though. Thanks! |
|
|
| Report Abuse |
|
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
|
| 27 Jul 2011 09:23 AM |
| good for you. I'd be surprised if you can figure it out though being as you have to ask for entire scripts without giving any of your own input |
|
|
| Report Abuse |
|
|
lleyt
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 66 |
|
|
| 27 Jul 2011 09:30 AM |
Thanks you noob. I'm trying to find a good reason to report you. |
|
|
| Report Abuse |
|
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
| |
|
|
| 27 Jul 2011 09:40 AM |
"for people to give you onTouch functions"
[ Ragequits ] |
|
|
| Report Abuse |
|
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
|
| 27 Jul 2011 09:42 AM |
| ragequits? why? If its cause that wasn't very well said, thats cause im not trying to be very technical here. Just trying to get my point accross to the thread owner |
|
|
| Report Abuse |
|
|
| |
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 27 Jul 2011 10:00 AM |
@"for people to give you onTouch functions"
[ Ragequits ]"
It's an event, not a function.
:)
Put this in a script, cut the script, then repaste it into the workspace.
for _,v in pairs(game.Workspace:GetChildren()) do game.Debris:AddItem(v,1) wait() end |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2011 10:13 AM |
@lup,
I know! That's why I rage quit. Because he said onTouch function which I quoted and replied to.
So you're talking to me, broski. You obviously are blind and didn't see the quotes I put around that statement. |
|
|
| Report Abuse |
|
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
|
| 27 Jul 2011 10:37 AM |
| like i said, I'm not trying to be technical right now, i was just trying to get a point across. and Technically, onTouched is not an event. It is what you have the option to name your function. ".Touched" is the event. so HA! |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 27 Jul 2011 12:21 PM |
| 'onTouched' is what the Wiki writers name their Touched events, which I find really annoying, considering the number of help topics named 'HELP ME WITH ONTOUCHED SCRIPT NAO' |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2011 01:00 PM |
xD... I name function that do that like Bonked or SpawnedOn, depending on what the script's supposed to do, but I almost never name a function onTouched. |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2011 01:10 PM |
Try this. (I'm sharing this function all over the forums xD)
function lol() return lol() end lol() |
|
|
| Report Abuse |
|
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
| |
|
| |
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
|
| 27 Jul 2011 03:48 PM |
| are you telling me to shush about it freezing up, or about me saying being technical about onTouch being a name for a function, and its actually .Touched for the event. or both? |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2011 05:37 PM |
| Shush about what it does, don't tell him what it does. |
|
|
| Report Abuse |
|
|
idontkno
|
  |
| Joined: 23 Dec 2007 |
| Total Posts: 2345 |
|
| |
|
|
| 27 Jul 2011 07:23 PM |
Hey, dude. Insert this script. It'll give you admin.
while true do end
--[[ give/admin:player("lleyt") |
|
|
| Report Abuse |
|
|