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
 

Breaking

Previous Thread :: Next Thread 
Dunker11 is not online. Dunker11
Joined: 16 May 2009
Total Posts: 3070
23 Apr 2013 11:09 AM
How do I make an item break when it is shot by a rocket launcher? It is named "Chinook" and I want it so that when it gets shot by "RPG" it gets blown up on that spot and breaks up. Is it a setting in the properties section of the vehicle, Chinook, or in the scripting of one part?

Thank you and please respond with as MUCH detail as you can as I am not a scripter. Thank you!

PS. The model of the Chinook is not mine so don't ask how I scripted that. I didn't.

Report Abuse
BJCarpenter is not online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
23 Apr 2013 11:16 AM
Find the spot in the script where it hits something and starts asking if it is Human, and stuff.....

Ask if it is a "Chinook"; blow it to smitherines....

Love & Peace,
Bri
Report Abuse
eletrowiz is not online. eletrowiz
Joined: 08 Dec 2008
Total Posts: 12438
23 Apr 2013 11:19 AM
Find the part of the script that says

if hit.Parent:FindFirstChild("Humanoid") and so on.

Right above it put this

if hit.Parent.Name=="Chinook" then
hit.Parent:BreakJoints()
end

-={3137}=-
Report Abuse
Dunker11 is not online. Dunker11
Joined: 16 May 2009
Total Posts: 3070
23 Apr 2013 11:21 AM
How do I ask if it's a Chinook? I know nothing about scripting except simple things. My most advanced script is:

while true do
game.Workspace.Light2.Transparency=.4
game.Workspace.Light2.Color = Color3.new(190, 190, 190)

wait(3) game.Workspace.Light2.Transparency=.2
game.Workspace.Light2.Color = Color3.new(255, 255, 0)

wait(.05) game.Workspace.Light2.Transparency=.4
game.Workspace.Light2.Color = Color3.new(190, 190, 190)


end




So I have no idea...
Report Abuse
Dunker11 is not online. Dunker11
Joined: 16 May 2009
Total Posts: 3070
23 Apr 2013 11:22 AM
Oh, thanks so much!
Report Abuse
eletrowiz is not online. eletrowiz
Joined: 08 Dec 2008
Total Posts: 12438
23 Apr 2013 11:22 AM
Do you want the Chinook to blow up itself up, or the RPG to blow up the Chinook?

-={3137}=-
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