2DWorlds Forums
TRYING TO MAKE DEEATH BOMBS - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: TRYING TO MAKE DEEATH BOMBS (/showthread.php?tid=7472)



TRYING TO MAKE DEEATH BOMBS - charlie1023 - 07-31-2011

I MADE ONE USEING THE SCRIPT:
Code:
function normalizeVector(vec)
local m = math.sqrt(vec.x * vec.x + vec.y * vec.y)
return Vec2D(vec.x / m, vec.y / m)
end
[..]
body = character.Body
local v = normalizeVector(Vec2D(mousepos.x - body.Position.x + 0.1, mousepos.y - body.Position.y - 1.5))
bullet.Position = Vec2D(body.Position.x - 0.1 + v.x * 7, body.Position.y + 1.5 + v.y * 7)

AND IT CANT WORK SO PLEASE ADMINS OR SOMEONE PLEASE FIX THIS!


RE: TRYING TO MAKE DEEATH BOMBS - Duck - 07-31-2011

Well could you tell us the error or something?



RE: TRYING TO MAKE DEEATH BOMBS - Paradox - 07-31-2011

I think you forgot the link([Something],[Something]) at the end.


RE: TRYING TO MAKE DEEATH BOMBS - Assassin - 08-01-2011

Em just one question .. you can take other ppls models?


RE: TRYING TO MAKE DEEATH BOMBS - Duck - 08-01-2011

@Assassin

http://buildism.net/forum/Forum-Help


RE: TRYING TO MAKE DEEATH BOMBS - charlie1023 - 08-14-2011

(07-31-2011, 12:16 PM)Duck Wrote: Well could you tell us the error or something?

NO IM A HALF CILD THAT DOES NOT SCRIPT AND FINDING ROBLOX SCRIPTS FOR THE DEATH BOMB GEAR SO YEAH IM NOT GOOD AT SCRIPTING


RE: TRYING TO MAKE DEEATH BOMBS - akiake - 08-14-2011

link(bomb.Collided, function()
--derp
end)


RE: TRYING TO MAKE DEEATH BOMBS - hopperkk - 08-26-2011

I kinda need this script, too.