|
| 01 Sep 2012 05:15 PM |
I made this for my RPG charater. It is suposed to make a shockwave evrey 20 seconds or so that damages humaniods. If you think it is broken, post the fixed in comments, if you think its correct, please post saying so.
local torso = script.Parent.Torso local waitt = 20 local waitt2 = 1 local waitt3 = 3 local dmgscript = script.Parent.Torso.dmgscript:Clone() while true do wait (waitt) script.Parent.Head.Reflectance = 1 wait (waitt3) script.Parent.Head.Reflectance = 0 local brick = InstnceNew:("Brick") brick.Color = ("Really Black") brick.Position = torso.Position brick.Size = 1,1,1 brick.Anchored = true brick.CanCollide = false brick.Transparency = 0.5 dmgscript.Parent = brick wait (waitt2) brick.Size = 3,1,3 wait (waitt2) brick.Size = 4,1,4 wait (waitt2) brick.Size = 5,1,5 brick:Remove() end
|
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:17 PM |
Skimming it, the sizes are off.
Vector3.new(0,0,0)
Is how you set a new size
(>•д•)> ¤ ¤ † KMXD 2.0 † ¤ ¤ [SHG Tier~ nil] (^•д•^) [KMXD Stole this sig] <(•д•<) |
|
|
| Report Abuse |
|
|
Stealthah
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 288 |
|
| |
|
|
| 01 Sep 2012 05:17 PM |
Maybe you should test it
~xXTheRobotXx, Cyborg of OT~ |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:18 PM |
Are you guys blind?? Big newbie mistake with sizes
(>•д•)> ¤ ¤ † KMXD 2.0 † ¤ ¤ [SHG Tier~ nil] (^•д•^) [KMXD Stole this sig] <(•д•<) |
|
|
| Report Abuse |
|
|
Stealthah
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 288 |
|
|
| 01 Sep 2012 05:21 PM |
No chop, same thing with color, he cant say color = ("colorname")
dont work like that bro. |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:28 PM |
Well then how do i get it to change color to Realy black? brick.Color = "Realy Black" ? |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:28 PM |
Heh, I forgot to look at that part >.<, I just focused on size...\
Take back the blind comment
(>•д•)> ¤ ¤ † KMXD 2.0 † ¤ ¤ [SHG Tier~ nil] (^•д•^) [KMXD Stole this sig] <(•д•<) |
|
|
| Report Abuse |
|
|
Stealthah
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 288 |
|
| |
|
|
| 01 Sep 2012 05:29 PM |
YOu need to use BrickColor.new()
brick.BrickColor = BrickColor.new("Really black") |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:29 PM |
To change a color you do
Brick.BrickColor = BrickColor.new("Color name")
(>•д•)> ¤ ¤ † KMXD 2.0 † ¤ ¤ [SHG Tier~ nil] (^•д•^) [KMXD Stole this sig] <(•д•<) |
|
|
| Report Abuse |
|
|
Stealthah
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 288 |
|
|
| 01 Sep 2012 05:29 PM |
i'm sorry but where did you learn that?
instncenew:
?!? |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:30 PM |
Ok OP, learn to spell, then come back at scripting.
(>•д•)> ¤ ¤ † KMXD 2.0 † ¤ ¤ [SHG Tier~ nil] (^•д•^) [KMXD Stole this sig] <(•д•<) |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:37 PM |
I learned InstenceNew:(ThingYouwant to insert) With a virus that made a unachored lavabrick apear over my base, my freind benokt had sent it to me. I did not save.
OK, ill try all of that. BTW your right, i can't spell. I make up for it by using gramer.
Can someone corect the hole thing and post in comments? I really need it. |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:40 PM |
Enjoy your crap....
local torso = script.Parent.Torso local waitt = 20 local waitt2 = 1 local waitt3 = 3 local dmgscript = script.Parent.Torso.dmgscript:Clone() while true do wait (waitt) script.Parent.Head.Reflectance = 1 wait (waitt3) script.Parent.Head.Reflectance = 0 local brick = Instance.new("Brick", Workspace) brick.BrickColor = BrickColor.Black() brick.Position = torso.Position brick.Size = Vector3.new(1,1,1) brick.Anchored = true brick.CanCollide = false brick.Transparency = 0.5 dmgscript.Parent = brick wait (waitt2) brick.Size = Vector3.new(3,1,3) wait (waitt2) brick.Size = Vector3.new(4,1,4) wait (waitt2) brick.Size = Vector3.new(5,1,5) brick:Destroy() end
"Is there an Omega Power script out there that can be used in, oh I don't know, Script Builder?" - Noob |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 05:41 PM |
| You made some grammar mistakes.. I'll* and I. |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 06:19 PM |
| His head changes Transparency but no brick apears. I did not chage the name of Workspace. |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 06:23 PM |
| Im sorry, his head changes Reflectance, not Transparency |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 06:24 PM |
brick.Position = game.Workspace.Player.Torso.Position
ehhhh
~xXTheRobotXx, Cyborg of OT~ |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 06:40 PM |
@Above brick.Poistion = game.Workspace.ethanstar99.Torso is the same as script.Parent.Torso It is in my charater. |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 06:41 PM |
Try using GetPlayerFromCharacter:
~xXTheRobotXx, Cyborg of OT~ |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2012 08:20 AM |
@Above I dont know how. Wasnt that important annyway. Oh well. |
|
|
| Report Abuse |
|
|