|
| 21 Dec 2010 07:19 PM |
| Does anyone have a script that I can use that explodes someone? I'm making a model using the dialog script, and one of the choices I made gets you exploded. Will someone help me? |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2010 07:21 PM |
| I already have the script in the Choice, but I don't know the script itself to explode lol. |
|
|
| Report Abuse |
|
|
| |
|
ryry60100
|
  |
| Joined: 04 Sep 2009 |
| Total Posts: 1964 |
|
|
| 21 Dec 2010 07:33 PM |
local Dialog = script.Parent
Dialog.DialogChoiceSelected:connect(function(Player, Choice) if Choice.Name == "Choice6" then local exp = Instance.new("Explosion") exp.Parent = game.Workspace char = game.Workspace:FindFirstChild(""..Player.Name.."") if char ~= nil then exp.Position = char.Torso.Position end end end)
put this in the dialog, and change "Choice6" in the first if to the name of your choice to explode. :) |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2010 10:49 PM |
| Thank you so much! God Bless you and have a Merry Christmas!! :D |
|
|
| Report Abuse |
|
|