|
| 09 Jun 2012 06:30 PM |
i tried to make a transparancey script and it failed. the script is below
game.Workspace.light1.Transparancey=.1 wait(0.1) game.Workspace.light1.Transparancey=.2 wait(0.1) game.Workspace.light1.Transparancey=.3 wait(0.1) game.Workspace.light1.Transparancey=.4 wait(0.1) game.Workspace.light1.Transparancey=.3 wait(0.1) game.Workspace.light1.Transparancey=.2 wait(0.1) game.Workspace.light1.Transparancey=.1 end end
|
|
|
| Report Abuse |
|
|
1pie23
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 1865 |
|
| |
|
|
| 09 Jun 2012 06:35 PM |
Change all 'transparancey's to this:
Transparency
--
Case sensitive as well. You spelled it wrong. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2012 06:37 PM |
game.Workspace.light1.Transparancey=.1
for i = 1,10 do game.Workspace.light1.Transparency = i/10 wait(0.1) end |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2012 06:41 PM |
| ill try it out,thanks everyone! |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Jun 2012 08:03 PM |
| Why two ends when You have nothing that needs "end" ? |
|
|
| Report Abuse |
|
|
cadyfgg
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 151 |
|
|
| 09 Jun 2012 08:07 PM |
Hmm :/ Try this: game.Workspace.light1.Transparancey=.1
for i = 1,10 do game.Workspace.light1.Transparency = i/10 wait(0.1) end |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2012 03:52 PM |
| im also needing a windscript that shoots a brick out every 15 seconds |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2012 04:11 PM |
@cadyfgg
Where's you get your code from? Flappydavid. Wanna know how I know? It's the exact same. How do I know that? You spelled "Transparency" wrong just like him. Try this guy's.
game.Workspace.light1.Transparency=.1 for i = 1,10 do game.Workspace.light1.Transparency=i/10 wait(0.1) end
--Swordmasternoah ლ(ಠ_ಠლ) |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2012 10:04 PM |
| Shut up, Sword, I was thinking of how he spelled it wrong and then I spelled it right, that happens. No ones perfect. Not my fault you're arrogant, now is it? |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2012 10:07 PM |
| You guys must help this guy with the script that he did not use tables on which would make the script MUCH easier and shorter, but you don't help me?! Yes. I am selfish and I think I am what causes the world to spin. |
|
|
| Report Abuse |
|
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 10 Jun 2012 10:18 PM |
| Maybe I just suck at scripting, but you don't need ends. It's not a function. lolol |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2012 02:50 AM |
@intel, well what i think your refering to is something that happens to me.
1. they might not see your forum 2. they might not have the right script. 3.they might be busy at the moment.
and if you want i can help you a little. its just that was my first made transparancey script. ive made other scripts but not a transparancey intill that day. |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2012 03:06 AM |
Well, if you want the light to keep changing transparency, here's a simple script:
local l = game.Workspace.light1 while true do l.Transparency = .1 wait(0.1) l.Transparency = .2 wait(0.1) l.Transparency = .3 wait(0.1) l.Transparency = .4 wait(0.1) l.Transparency = .3 wait(0.1) l.Transparency = .2 wait(0.1) l.Transparency = .1 wait(0.1) end |
|
|
| Report Abuse |
|
|