|
| 24 Aug 2014 12:51 PM |
I am making an rpg, and I need to know how to script my enemy. Now read this next part VERY carfuly or you might give me the wrong script (idk how to script lol, don't tell me to learn, I get that a lot),I have created my enemy base, I have inserted a humanoid into the torso, I need a script to make him follow and attack you for 5 dmg. I need to know where to insert it. step by step preferably. do not do one of those things where I insert things like dmg and speed and health. he will have 50 health 15 walkspeed and 5 dmg. |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2014 06:47 PM |
| y u no help, fine ima take some scripts I find somewhere |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2014 07:11 PM |
"you might give me the wrong script"
lol were not giving you any script |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2014 07:12 PM |
| You realize that nobody saw this thread the first time, or they couldn't help, right? Bump before giving up, at least once. |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2014 07:12 PM |
no
i like making people feel bad when they log on to check their thread |
|
|
| Report Abuse |
|
|
|
| 13 Oct 2014 08:05 PM |
| do you even know what I just said? |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 13 Oct 2014 08:07 PM |
ok here
1) learn lua 2) do something 3) ??? 4) profit |
|
|
| Report Abuse |
|
|
charcle
|
  |
| Joined: 23 Oct 2008 |
| Total Posts: 94 |
|
|
| 13 Oct 2014 08:11 PM |
Have a script inside the enemy that says this[[
while true do
local dist = (plrs[i].Character.Torso.Position - script.Parent.Torso.Position).magnitude
local plrs = game.Players:GetChildren() script.Parent.Humanoid:MoveTo(plrs[i].Character.Torso.Position) if dist < 5 then plrs[1].Character.Humanoid.Health = plrs[1].Character.Humanoid.Health - 5 end wait(7) end
]]
this is extremely basic and only targets 1 guy on the server srry this is all I'm giving you
(learn to script plz, you'll like it) |
|
|
| Report Abuse |
|
|
lowvillan
|
  |
| Joined: 14 Sep 2010 |
| Total Posts: 725 |
|
|
| 13 Oct 2014 08:14 PM |
"I have inserted a humanoid into the torso" oh my god i am dying of laughter
Anyway.. Either learn to script, or just take free models like most people.
|
|
|
| Report Abuse |
|
|