|
| 16 Jul 2012 05:08 PM |
| im making an RPG game and i want a certain emamy to attack you when you hit the enamy. what a part of a script would do that? |
|
|
| Report Abuse |
|
|
moryo7
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 5028 |
|
|
| 16 Jul 2012 05:10 PM |
"Enamy"
Lol'd.
-> This Siggy is My Little Pony based. <- |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2012 05:13 PM |
idc, also can some one fix this?:
------------------------------------------------------------------------------------------
local Humanoid = script.Parent.Enemy function PwntX_X() local tag = Humanoid:findFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then local Leaderstats = tag.Value:findFirstChild("leaderstats") if Leaderstats ~= nil then Leaderstats.Gold.Value = Leaderstats.Gold.Value + wait(0.1) script:remove() end end end end Humanoid.Died:connect(PwntX_X)
local Humanoid = script.Parent.Enemy function PwntX_X() local tag = Humanoid:findFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then local Leaderstats = tag.Value:findFirstChild("leaderstats") if Leaderstats ~= nil then Leaderstats.EXP.Value = Leaderstats.EXP.Value random + (10- 15) wait(0.1) --* script:remove() end end end end Humanoid.Died:connect(PwntX_X) |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2012 05:16 PM |
FIXED* I forgot something.
------------------------------------------------------------------------------------------
local Humanoid = script.Parent.Enemy function PwntX_X() local tag = Humanoid:findFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then local Leaderstats = tag.Value:findFirstChild("leaderstats") if Leaderstats ~= nil then Leaderstats.Gold.Value = Leaderstats.Gold.Value random + (10 - 15) wait(0.1) script:remove() end end end end Humanoid.Died:connect(PwntX_X)
local Humanoid = script.Parent.Enemy function PwntX_X() local tag = Humanoid:findFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then local Leaderstats = tag.Value:findFirstChild("leaderstats") if Leaderstats ~= nil then Leaderstats.EXP.Value = Leaderstats.EXP.Value random + (20 - 25) wait(0.1) --* script:remove() end end end end Humanoid.Died:connect(PwntX_X) |
|
|
| Report Abuse |
|
|
moryo7
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 5028 |
|
|
| 16 Jul 2012 05:17 PM |
...Enamy. Lolololol
-> This Siggy is My Little Pony based. <- |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
cbass25
|
  |
| Joined: 03 Jul 2009 |
| Total Posts: 2957 |
|
| |
|
| |
|
yyyfa
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 380 |
|
|
| 16 Jul 2012 07:12 PM |
| Enamy! Lololololo. (plus a little extra Lolololo, with a side of Lolololo dipped in deep-fried Lololololo to go.) |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2012 07:13 PM |
Man, you combo-breakers are such buzzkillers. Time to start a new chain! :D
Cheese
(include this entire post) |
|
|
| Report Abuse |
|
|
yyyfa
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 380 |
|
|
| 16 Jul 2012 07:14 PM |
Man, you combo-breakers are such buzzkillers. Time to start a new chain! :D
Cheese
(include this entire post) |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2012 07:33 PM |
s no one is going to help?
|
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Jul 2012 07:34 PM |
HERE! JEEZ!
im making an RPG game and i want a certain emamy to attack you when you hit the enemy. what a part of a script would do that? |
|
|
| Report Abuse |
|
|
cbass25
|
  |
| Joined: 03 Jul 2009 |
| Total Posts: 2957 |
|
| |
|
Techwiz19
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 462 |
|
|
| 17 Jul 2012 10:05 AM |
Come on guys lay off with the enamy. The first time he uses the word it says "emamy".. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2012 04:25 PM |
| for my post before this one. i just copied and pasted it the sentence. so can anyone help me? |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jul 2012 04:35 PM |
| but i do need a script for the thing 2 posts above |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2012 04:37 PM |
| You were closer to spelling "enemy" then the second time. |
|
|
| Report Abuse |
|
|
cbass25
|
  |
| Joined: 03 Jul 2009 |
| Total Posts: 2957 |
|
| |
|
cbass25
|
  |
| Joined: 03 Jul 2009 |
| Total Posts: 2957 |
|
|
| 18 Jul 2012 06:37 PM |
| ok im done. so what is your question? |
|
|
| Report Abuse |
|
|
moryo7
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 5028 |
|
|
| 18 Jul 2012 06:40 PM |
Listen, We're not just going to give you hard scripted "Emamies" for free. Plus, requests aren't accepted here. Read the rules.
-> This Siggy is My Little Pony based. <- |
|
|
| Report Abuse |
|
|