Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 02 Aug 2011 11:40 PM |
| I want to script something cool, like scraps, and is in moderate-intermediate difficulty range, I like coding guis, and just about anything. Thanks! |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2011 11:42 PM |
Make a shop. If you know your math, make a shape-making function.
MakeShape( Int sides, Vector3 position [, Float radius = 10] ) |
|
|
| Report Abuse |
|
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 02 Aug 2011 11:48 PM |
| Making shapes through scripts don't quite amuse me, and as for the shop, I've made literally 20 different shop guis, and bricks, and now it's boring. :/ |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2011 11:49 PM |
| how about make a self destruct button for a car :D (it could be a GUI button) it could have a 10 second count down, then BOOM!! |
|
|
| Report Abuse |
|
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 03 Aug 2011 12:00 AM |
_Player=script.Parent.Parent.Parent.Parent.Parent --Or something like that script.Parent.Mouse1ButtonDown:connect(function(click) if _Player.Character:FindFirstChild("Car")~=nil then for _CountDown=10,-1 do script.Parent.Text="Car Explodes In: "..(_CountDown).." Seconds!" end _Explosion=Instance.new("Explosion", _Player.Character.Car.Part1) --_Explosion.Parent=_Player.Character.Car.Part1 _Explosion.Position=_Player.Character.Car.Part1.Position _Explosion.BlastRadius=10 _Explosion.BlastPressure=1000000 end end)
Just wondering, at "_Explosion=Instance.new("Explosion", _Player.Character.Car.Part1)", would that be (Instance), and (Instances position)É
(É = question mark, I hate when my computer glitches) |
|
|
| Report Abuse |
|
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 03 Aug 2011 12:01 AM |
Or would it be
_Explosion=Instance.new,Position("Explosion", _Player.Character.Car.Part1)
I've never actually tried that :/ |
|
|
| Report Abuse |
|
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 03 Aug 2011 12:02 AM |
| That question was towards AgentFirefox. |
|
|
| Report Abuse |
|
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
| |
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 03 Aug 2011 12:12 AM |
| I actually made a few mistakes, let me fix :/. |
|
|
| Report Abuse |
|
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 03 Aug 2011 12:16 AM |
_Player=script.Parent.Parent.Parent.Parent --Or something like that script.Parent.MouseButton1Down:connect(function(click) if _Player.Character:FindFirstChild("Car")~=nil then for _CountDown=10,1,-1 do script.Parent.Text="Car Explodes In: "..(_CountDown).." Seconds!" wait(1) end _Explosion=Instance.new("Explosion",_Player.Character.Car.Part1) --_Explosion.Parent=_Player.Character.Car.Part1 _Explosion.Position=_Player.Character.Car.Part1.Position _Explosion.BlastRadius=10 _Explosion.BlastPressure=1000000 script.Parent.Text="Your Car Has Exploded" end end)
|
|
|
| Report Abuse |
|
|
Aetas
|
  |
| Joined: 10 Oct 2010 |
| Total Posts: 366 |
|
|
| 03 Aug 2011 12:18 AM |
| wolfcrazy101, you wanted to actually use the script, there is a model in my models. Scripting Helpers is really dead, and I just spammed my own post. Any more things that I can do? |
|
|
| Report Abuse |
|
|