|
| 26 Nov 2016 11:29 PM |
I don't know how to do this. It's totally out of my league, and I need it for my project. Anybody mind helping?
|
|
|
| Report Abuse |
|
|
|
| 26 Nov 2016 11:32 PM |
Project link: https://www.roblox.com/games/200937524/Adventure-Orb-3-WIP
|
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Nov 2016 12:08 AM |
Go to the scripting sub-forum or look it up on the scriptinghelpers website.
|
|
|
| Report Abuse |
|
|
|
| 27 Nov 2016 12:09 AM |
wait(0.1) function destroy(hit) Boom = Instance.new("Explosion") Boom.Parent = game.Workspace Boom.Position = hit.Position wait(1) Boom:Remove() end
script.Parent.Touched:connect(destroy)
|
|
|
| Report Abuse |
|
|
|
| 27 Nov 2016 12:10 AM |
Pretty sure there is a free model out there somewhere that you can use... but finding it is the hard part... Just make sure you edit the script a little and do some editing of the brick so nobody knows it's free models. Advice from a guy with a free modelled game with 44k+ visits |
|
|
| Report Abuse |
|
|
|
| 27 Nov 2016 12:10 AM |
You're welcome.
Explodes the player when they touch a part, put the script into the part.
|
|
|
| Report Abuse |
|
|
|
| 27 Nov 2016 12:11 AM |
You could also use this:
function onTouched(hit) local e = Instance.new("Explosion") e.BlastRadius = 15 --You may change this to whatever you'd prefer
e.BlastPressure = 100000 --You may change this to whatever you'd prefer
e.Parent = game.Workspace
e.Position = script.Parent.Position end
script.Parent.Touched:connect(onTouched)
|
|
|
| Report Abuse |
|
|
|
| 27 Nov 2016 12:12 AM |
| That would not only destroy players, but unanchored parts too, you should set it to only destroy humanoids |
|
|
| Report Abuse |
|
|
|
| 27 Nov 2016 12:14 AM |
It was just destroy a player, not the part
|
|
|
| Report Abuse |
|
|
|
| 27 Nov 2016 12:14 AM |
The part should be anchored, yes.
|
|
|
| Report Abuse |
|
|
jack190
|
  |
| Joined: 22 Dec 2007 |
| Total Posts: 931 |
|
|
| 27 Nov 2016 12:16 AM |
go to the scripting sub forum
they know alot more
|
|
|
| Report Abuse |
|
|