LordBH
|
  |
| Joined: 14 Apr 2011 |
| Total Posts: 108 |
|
|
| 20 Aug 2013 05:59 PM |
I'm a total newbie to scripting, I started like yesterday, and I want to do a script that once you click the tool (HopperBin) You get fire on your torso and a ball Starts growing around you more and more, can somone tell me an error with my script, I can't understand how to use Output properly yet , if you can help me with that also, please thanks
player = game.Players.LocalPlayer.Character Instance.new("Fire") Parent = player.Torso function onButton1Down(mouse) Instance.new("Part") Part.Anchored = true end Part.CFrame = player.Torso.CFrame - Vector3.new(0,0,0)
Part.Transperancy = 0.5 Part.Shape = ball Part.Size = 0,0,0 wait(1) Part.Size = 1,1,1 wait(1) Part.Size = 2,2,2 wait(1) Part.Size = 3,3,3 wait(1) Part.Size = 4,4,4 wait(1) Part.Size = 5,5,5 wait(1) Part.Size = 6,6,6 wait(1) Part.Size = 7,7,7 wait(1) Part.Size = 8,8,8 wait(1) Part.Size = 9,9,9 wait(1) Part.Size = 10,10,10 wait(1) Part.Size = 11,11,11 wait(1) Part.Size = 12,12,12 wait(1) Part.Size = 13,13,13 wait(1) Part.Size = 14,14,14 wait(1) Part.Size = 15,15,15 wait(1) Part.Size = 16,16,16 wait(1) Part.Size = 17,17,17 wait(1) Part.Size = 18,18,18 wait(1) Part.Size = 19,19,19 wait(1) Part.Size = 20,20,20 wait(5) player.Torso.Fire:remove() game.Workspace.Part:remove() |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Aug 2013 06:01 PM |
.Size = Vector3.new(x,y,z)
Learn to for loop inefficient poop |
|
|
| Report Abuse |
|
|
LordBH
|
  |
| Joined: 14 Apr 2011 |
| Total Posts: 108 |
|
|
| 20 Aug 2013 06:14 PM |
| Thanks! That was alot of help, now it does damage too, thanks , c: |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2013 06:19 PM |
I know you're a newbie, but replace the size-setting with this:
for i = 0, 20 do Part.Size = Vector3.new(i, i, i) wait(1) end wait(5) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Aug 2013 06:20 PM |
| Not sure if you are the slowest typer ever, or floodchecked, but the thread is done. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2013 06:44 PM |
I can type 70 words per minute, so it can't be that I am a slow typist, and I don't recall floodcheck... I do, recall, however, seeing your reply prior to my own. Perhaps it's because I would like the script to be a bit more efficient than it is now.
And, while a thread may have no need any longer, it doesn't necessarily mean that the script can't be improved.
Everything I have done has a reason; if it didn't, I wouldn't have done it. Stop butting heads with me, and help the community. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Aug 2013 06:48 PM |
" Stop butting heads with me, and help the community." You are stupid. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2013 06:49 PM |
Thank you for the words of encouragement. See, the more you are wasting your time arguing with me, the less you're helping. |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 20 Aug 2013 06:49 PM |
No he isn't.
he's been helping people all day, and when they insult him, he bites.
If I recall correctly, most of what you've done today is insult people. Hmmmmm.
now leave the poor man alone and give him food for what he works for. D: |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Aug 2013 06:50 PM |
Nope, but for you maybe. ever heard of tabs on browsers? |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2013 06:55 PM |
Every keystroke takes time. Every page being loaded takes time. Every movement of mouse, and every click, takes time. Therefore, you *are* wasting time. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Aug 2013 06:56 PM |
"Every keystroke takes time. Every page being loaded takes time. Every movement of mouse, and every click, takes time. Therefore, you *are* wasting time."
True, but floodcheck will go away, so I'm not __actually__ wasting time. |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 20 Aug 2013 06:58 PM |
children, children, please
i'm trying to help people, and i can't because you're gibbering on.
cntkillme, please go into your room and don't come out
willscriptforfood, please do his and your chores
plz n thnx |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2013 06:59 PM |
You're right, it will, but until it does, you *are*. I also wasn't typing specifically about floodcheck. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2013 07:00 PM |
Try this:
TROLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLO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LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLO |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Aug 2013 07:00 PM |
"cntkillme, please go into your room and don't come out" You're stupid, I am in my room right now |
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 20 Aug 2013 07:17 PM |
| @Will I can probably type like 40-60 wpm |
|
|
| Report Abuse |
|
|
Kasumo
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 2467 |
|
|
| 20 Aug 2013 07:23 PM |
I will make it way shorter for you. :]
local debris = game:GetService("Debris") local player = game.Players.LocalPlayer.Character script.Parent.Activated:connect(function() fire = Instance.new("Fire",player.Torso) part = Instance.new("Part") part.Anchored = true part.CFrame = player.Torso.CFrame - Vector3.new(0,0,0) part.Transperancy = 0.5 part.Shape = "Ball" for i = 1,20 do part.Size = part.Size + Vector3.new(1,1,1) wait(1) end debris:AddItem(part, 21) debris:AddItem(fire, 21) |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2013 07:24 PM |
| I have come to defend anyone cnt is insulting, because he is an idiot. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Aug 2013 07:25 PM |
That thing is so mad. He calls me an idiot when in reality, he is. |
|
|
| Report Abuse |
|
|