YOamp
|
  |
| Joined: 25 Nov 2009 |
| Total Posts: 358 |
|
|
| 18 Dec 2011 07:49 PM |
if Humaniod.touch parent then Humaniod health = 0 end
Whats wrong with this script? |
|
|
| Report Abuse |
|
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
| |
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 18 Dec 2011 07:51 PM |
| Everything (not even joking). Seriously, try learning how to script before you try to make scripts. |
|
|
| Report Abuse |
|
|
YOamp
|
  |
| Joined: 25 Nov 2009 |
| Total Posts: 358 |
|
|
| 18 Dec 2011 07:53 PM |
| Comon guys please help me...Can you give me a script? |
|
|
| Report Abuse |
|
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 18 Dec 2011 07:54 PM |
| First of all, is that your whole script? |
|
|
| Report Abuse |
|
|
YOamp
|
  |
| Joined: 25 Nov 2009 |
| Total Posts: 358 |
|
| |
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 18 Dec 2011 07:56 PM |
| It's all wrong. It fails. Learn scripting first. |
|
|
| Report Abuse |
|
|
YOamp
|
  |
| Joined: 25 Nov 2009 |
| Total Posts: 358 |
|
|
| 18 Dec 2011 07:56 PM |
| Can you make the correct script? |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 18 Dec 2011 07:57 PM |
We don't just *give* out scripts. Here's how it works around here:
1) You learn how to script enough to do a desired task 2) You make an honest attempt to do the desired task 3) In the event that it doesn't work, you bring it here in its entirety and we tell you what's wrong so you can fix it yourself |
|
|
| Report Abuse |
|
|
|
| 18 Dec 2011 07:59 PM |
function onTouched(hit) h.Parent = hit:findFirstChild("Humanoid") if h then -- put whatever you want to happen else print("Not human") end end
part.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
|
| 18 Dec 2011 08:00 PM |
Oops wtf D:
function onTouched(hit) h = hit.Parent:findFirstChild("Humanoid") if h then -- put whatever you want to happen else print("Not human") end end
part.Touched:connect(onTouched) Report Abuse |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 18 Dec 2011 08:01 PM |
@soccaboy Y U NO... !!!!!!!!!!!!!!!!!!!! |
|
|
| Report Abuse |
|
|
jdm281
|
  |
| Joined: 15 Jan 2010 |
| Total Posts: 177 |
|
|
| 18 Dec 2011 08:38 PM |
like my script?:
giveplayer:unlimited():Robux()
LOLOL |
|
|
| Report Abuse |
|
|
jdm281
|
  |
| Joined: 15 Jan 2010 |
| Total Posts: 177 |
|
|
| 18 Dec 2011 08:40 PM |
well I've seen worse fails check this out:
"boynedmaster's Ro-Pictionary Script" Players_Needed = 2 Instance.New("Message") wait(1) m.Text = mathrandom()playername "is the drawer!" if "playername" then "Playername"Position.SpawnLocation."Really Black"--Change the "really black"to the color of the drawer spawn.Don't forget to capatilize it and spell it right,or it won't work! Players_in_"Really Black"_SpawnLocation = 1 InTeam = true local tools Instance.New("Tool") ToolName = "Draw" Instance.New("Tool") ToolName = "Erase" local message wait(1) function squaretemplate message m.Text = "Draw This:"mathrandom()Words --Words "boat" "United States" or "usa" "Mario" "Builder's Club" or "BC" "Japan" "Alien" "Monster" "pie" "pi" "Spongebob Squarepants" or "Spongebob" "ROBLOX" "noob" "Grandma" "Gramdfather" "car" "Truck" "cab" "Train" "Limozine" or "Limo" "Money" "Battleship" "Ship" "Pirate" "Robloxia" "Wood" "David Baszucki" or "David" or "builderman" "Titanic" "Dictionary" "Batman" "Robin" "The Joker" "Jason" or "Friday the 13th" "Lady GaGa" if said the chosen word then Instance.New("Message") wait(1) m.Text = playername that said chosen word "chose the correct word!(The word was"chosenword")" --Don't Delete anything but words you don't want! end
|
|
|
| Report Abuse |
|
|
YOamp
|
  |
| Joined: 25 Nov 2009 |
| Total Posts: 358 |
|
|
| 19 Dec 2011 02:25 PM |
function onTouched(hit) h = hit.Parent:findFirstChild("Humanoid") if h then ("Humanoid").Health=0 end
Works thanks guy that ACTUALLY helped |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 19 Dec 2011 02:56 PM |
| You mean the guy that was foolish enough to just hand out the script. |
|
|
| Report Abuse |
|
|