|
| 21 Aug 2013 06:02 PM |
I have written this script:
local button = Insance.new("part", Workspace) local sky = Instance.new("Sky", game.Lighting)
button.Position = Vector3.new()
function onTouched(hit) if not game.Players:GetPlayerFromCharacter(hit.Parent) then return end
sky.CelestrialBodiesShow = not sky.CelestialBodiesShown end
button.Touched:connect(onTouched)
-------------------------------------------------------------------------------------- Where would I put the false if I didn't want the moon to show? |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:06 PM |
| sky.CelestrialBodiesShow = false |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:10 PM |
| Hi thankyou for your help, I have done what you have said but it still doesn't seem to be working. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:12 PM |
sky.CelestialBodiesShow = false
There's not an 'r' in Celestial. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:12 PM |
| Instance.new("Part",Workspace), not "part". |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 21 Aug 2013 06:14 PM |
Wait just a burger flippin' second. You got this script from: http://wiki.roblox.com/index.php/CelestialBodiesShown_(Property)
Please send us scripts that you made and did not edit to make yourself look smart. |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 21 Aug 2013 06:15 PM |
"I have written this script:" You stupid OP |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:16 PM |
| Sorry, i'm trying to learn as much as I can... |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:16 PM |
Yeah, trying to learn how to script by claiming scripts as yours.
That's real nice. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:17 PM |
| When writing this i didn't word it right in future I will take more care when writing posts. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:18 PM |
You obviously just copied and pasted it in the textbox and made a few tweaks. Just admit it. |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 21 Aug 2013 06:19 PM |
| Wait so, you copied a working script off of the the wiki. And you broke it and asked us to fix it? |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:21 PM |
I didn't copy and paste it.
I wrote it by hand but I was looking at the wiki... |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:22 PM |
| Oh my god; he actually replied back! |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 21 Aug 2013 06:22 PM |
...
You should have just copied and pasted it. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 21 Aug 2013 06:22 PM |
"I wrote it by hand but I was looking at the wiki..." Same thing as copying.
Oh I created Roblox Battle, I didn't copy it! I just wrote every line while looking at games's version |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:23 PM |
| well, i'm sorry for trying to learn lua. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:24 PM |
| OP, you've officially made yourself look like an idiot. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 21 Aug 2013 06:24 PM |
| It's fine if you want to learn Lua* but don't take credit for scripts that you used sources off. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 06:24 PM |
Like i said I missworded it
|
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 21 Aug 2013 06:25 PM |
| @cnt, I know that was just an example. But if someone really did that that they would have to write over 20k lines going back and forth reading each line. |
|
|
| Report Abuse |
|
|