TRYING TO MAKE DEEATH BOMBS
#1
Bug 
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!


Attached Files
.bsmodel   DEATH BOMBS.bsmodel (Size: 806 bytes / Downloads: 7)
Reply
#2
Well could you tell us the error or something?
Reply
#3
I think you forgot the link([Something],[Something]) at the end.
Reply
#4
Em just one question .. you can take other ppls models?
[Image: bhep1v.jpg]
Reply
#5
@Assassin

http://buildism.net/forum/Forum-Help
Reply
#6
(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
:gun_bandana: Roblox
YAY FOR BUILDISM!
Reply
#7
link(bomb.Collided, function()
--derp
end)
Reply
#8
I kinda need this script, too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)