generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Crossbow making problem

Previous Thread :: Next Thread 
kosmo200 is not online. kosmo200
Joined: 23 Apr 2010
Total Posts: 215
21 Jun 2013 06:33 AM
Hi guys, im maked some crossbows like this -(http://www.roblox.com/Crossbow-Style-C-item?id=119849335 ) But always when im test my place with my creation ermmm explodes .... (link to game place
http://www.roblox.com/Rifle-Testing-place?id=118255669)




Welding Scripts :

Bolt Welding Script

w2 = Instance.new("Weld")
w2.Name = "BoltWeld"
w2.Parent = script.Parent.Handle
w2.Part0 = script.Parent.Handle
w2.Part1 = script.Parent.Bolt
w2.C1 = CFrame.new(0,-.35,-1.6)


Part Welding Script

local prev
local parts = script.Parent:GetChildren()
for i = 1,#parts do
if (parts[i].className == "Part") then
if (prev ~= nil)then
local weld = Instance.new("Weld")
weld.Part0 = prev
weld.Part1 = parts[i]
weld.C0 = prev.CFrame:inverse()
weld.C1 = parts[i].CFrame:inverse()
weld.Parent = prev
end
prev = parts[i]
end
end
for i = 1,#parts do
if (parts[i].className == "Part") then
parts[i].Anchored = false
end
end
Report Abuse
kosmo200 is not online. kosmo200
Joined: 23 Apr 2010
Total Posts: 215
21 Jun 2013 06:38 AM
TEH BUMP
Report Abuse
kosmo200 is not online. kosmo200
Joined: 23 Apr 2010
Total Posts: 215
21 Jun 2013 06:41 AM
Halpppppppppppppppppppppppppppppppppp
Report Abuse
kosmo200 is not online. kosmo200
Joined: 23 Apr 2010
Total Posts: 215
21 Jun 2013 06:43 AM
Wah....
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image