|
| 04 Jan 2013 12:50 PM |
i just made a script, im a little noob and dont know much and remembers. is this wrong?
Workspace;Lighting;Fog FogEnd = 100 end
|
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 12:50 PM |
| well, for one... it isn't javascript, you don't use semicolons... |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 12:52 PM |
A little add on
Workspace;Lighting;Fog FogEnd = 100 end
OnTouch "Dance" FogEnd = 200 end
I totally frogot on what to do if you touch the Dance again, i want the FogEnd to be 100 again if touched when the FogEnd was 200 |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 12:53 PM |
| I Know xD Im Bad A Scripts Now xD i dont remembers anything D: i didnt really script for a while now D: |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 04 Jan 2013 12:55 PM |
| Can you help me fix it and tell me whats wrong with it? |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 12:59 PM |
There is so much to fix... :/ give me some time, I'll try fixing it |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jan 2013 01:02 PM |
Workspace.Lighting.FogEnd --no such thing as fog in lighting FogEnd = 100 end
function player.onTouch("Dance") --I'm not quite sure what you're doing here... but I suppose that is a model name script.Parent.Parent.Touched:connect(onTouch) then Workspace.Lighting.FogEnd FogEnd = 200 end
--tell me what the output is, that probably won't work, but it's pretty close |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 01:06 PM |
| game.Lighting.FogEnd = 100 |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 01:09 PM |
Opps, wasn't looking that well lol
Game.Lighting.FogEnd --no such thing as fog in lighting FogEnd = 100 end
function player.onTouch("Dance") --I'm not quite sure what you're doing here... but I suppose that is a model name script.Parent.Parent.Touched:connect(onTouch) then Game.Lighting.FogEnd FogEnd = 200 end |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 01:19 PM |
| So which one is the correct and what is an output? |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 01:20 PM |
| Is "dance" the model name? |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jan 2013 01:23 PM |
Game.Lighting.FogEnd --no such thing as fog in lighting FogEnd = 100 end
function player.onTouch("Dance") --I'm not quite sure what you're doing here... but I suppose that is a model name script.Parent.Parent.Touched:connect(onTouch) then Game.Lighting.FogEnd FogEnd = 200 end
--tell me if it works |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jan 2013 01:29 PM |
where am i supposed to pu the script?
|
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jan 2013 01:34 PM |
| im gonna play a game, ill work on this later *yawn* |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jan 2013 01:50 PM |
@pie
Why don't you go learn to script. |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2013 02:10 PM |
game.Lighting.FogEnd = 100 game.Workspace.Dance.Touched:connect(function() game.Lighting.FogEnd = 200 end)
That would work, although I'm not sure exactly what "Dance" is. I'm not sure if it's a Part in Model, if it's a tool, or what.
Tactical Rainboom Inbound |
|
|
| Report Abuse |
|
|