View previous topic :: View next topic |
Author |
Message |
Justgoaway1 Beginner Poster
Joined: 06 Feb 2008 Posts: 12 Location: On the forums
|
Posted: Sat Jul 12, 2008 7:26 pm Post subject: Sidewinder Missile |
|
|
Hey, I'm trying to make a new weapon for Stealth Pilot's V3 plane. It basically fires a normal rocket, but if you get close to the object, it immediately locks on and adds rocket propulsion to the rocket, removes the script, and makes the rocket follow the target. I have all the scripts for it set up and working EXCEPT the one that creates the explosive rocket propulsion. Here's the detect script(UNBROKEN):
player = game.Players:findFirstChild("Player")
bin = script.Parent
ct = bin.CurrentTarget
locked = false
while true do
wait()
if player~=nil and locked == false then
if (player.Character.PrimaryPart.Position - bin.Position).magnitude <= 150 then
locked = true
if bin:findFirstChild("RocketScript")~=nil then
bin.RocketScript.Parent = nil
if player.Character:findFirstChild("Plane")~=nil then
ct.Value = player.Character.Plane
print("Sidewinders Locked")
local a = script.SideWinder:clone()
a.Parent = bin
a.Disabled = false
print("Your fate is sealed " .. player.Name .. "!")
end
end
end
end
end
Now I need one for the missile itself. If anyone could make it for me, that would be great. All the script's i've tried for this subject have failed. |
|
Back to top |
|
|
megamaxmax Master Poster
Joined: 21 May 2008 Posts: 289 Location: i dont know help me!!
|
Posted: Sun Jul 13, 2008 2:33 am Post subject: |
|
|
did someone take justgoaway or are you the guy that went nuts at a mini games place on roblox and saying i hate you all over and over again? _________________ my avatar means omega
sssoapshop.com hurry before they close! |
|
Back to top |
|
|
Nasadaws Delta Corp Moderator
Joined: 27 Mar 2008 Posts: 484 Location: Under you bed Where else?
|
Posted: Sun Jul 13, 2008 2:24 pm Post subject: |
|
|
Mega, that is an extremely horrible thing to do.
He asked a Question, Not for another one which goes staright off topic.
I would also like to add.
Justgoaway, you don't have to say yes or no to him. _________________ Nasadaws Attack Spammer: Hits 100 Damage with his Ban Hama.
Spammer: Flees.
I R NOE WELDIN ME BAN HAMAR. |
|
Back to top |
|
|
|