My bullet keeps respawning
#1
[lua]t = script.Parent

function FIREINTHEHOLE()
if game.World:getChild("Bullet") ~= nil then
game.World:getChild("Bullet"):remove()
end
script.Parent.Texture = "http://desmond.imageshack.us/Himg217/scaled.php?server=217&filename=guntexture0002.png&res=gal"
local e = t.Bullet:clone()
local R = t:getAngle()
e.Rotation = R - 90
e.Parent = game.World
sleep(0.3)
script.Parent.Texture = "http://desmond.imageshack.us/Himg59/scaled.php?server=59&filename=guntexture0001.png&res=gal"
sleep(4.7)
e:remove()
end

link(t.MouseDown, FIREINTHEHOLE)[/lua]


The bullet just keeps respawning every 5 seconds and it doesn't disappear when I MouseDown
Reply


Messages In This Thread
My bullet keeps respawning - by Duck - 07-07-2011, 05:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)