PapaEunit
|
  |
| Joined: 16 Mar 2012 |
| Total Posts: 32 |
|
|
| 03 Jun 2012 01:55 PM |
Alright so I have a script from free models that allows me to create quests. For such a quest, the player must kill an enemy NPC and it will drop an Item. That item is what the quest requires. I'm almost completely new to scripting, so I looked at examples and made this patchwork abomination of a script. Please help me fix it.
if parent.Humanoid.Health = 0 game.Lighting:FindFirstChild("RaiderHead"):Clone() |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 01:56 PM |
| Where did you learn to script? |
|
|
| Report Abuse |
|
|
PapaEunit
|
  |
| Joined: 16 Mar 2012 |
| Total Posts: 32 |
|
|
| 03 Jun 2012 01:57 PM |
| I didn't learn. I'm learning. I was told to look at scripts, and see what I can do. Now i'm trying. Can you help me out? |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 02:00 PM |
| Clearly you're REALLY new to scripting. That script will do nothing. Go to wiki.roblox.com and start learning the basics before you move on. |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 02:00 PM |
| Try LuaLearners also, if you find the wiki hard. |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 02:01 PM |
Hum=[Path to hum]
function Died() local Obj = game.Lighting:FindFirstChild("RaiderHead"):Clone() Obj.Parent=Workspace Obj.CFrame=Hum.Parent.Torso.CFrame end
Hum.Died:connect(Died)
|
|
|
| Report Abuse |
|
|
PapaEunit
|
  |
| Joined: 16 Mar 2012 |
| Total Posts: 32 |
|
|
| 03 Jun 2012 02:02 PM |
| Alright, I'll check it out. But will I get any help? |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 02:03 PM |
LuaLearners has a website where there is a forum and tutorials. They also have a Roblox group.
Search "LuaLearners" on Google. |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 02:04 PM |
How advanced does LuaLearners site go?
I know how to script, but I can't find any good tutorials on advanced scripting :| |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 02:05 PM |
It has tutorials from Beginner to Expert
And they have separate, stand alone tutorials for certain things to. |
|
|
| Report Abuse |
|
|
PapaEunit
|
  |
| Joined: 16 Mar 2012 |
| Total Posts: 32 |
|
|
| 03 Jun 2012 02:08 PM |
| Thanks grenday, I'm on their website now. And Trapper, thanks, you've helped immensley. When I finish the game, expect to be credited in the description. |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2012 02:10 PM |
Wow... Thanks.
Oh and a suggestion, when your reading the tutorials, mark down everything you learn somewhere. So you have it for future reference. |
|
|
| Report Abuse |
|
|