generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How do I remove the moon -HELP!-

Previous Thread :: Next Thread 
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
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
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
21 Aug 2013 06:06 PM
sky.CelestrialBodiesShow = false
Report Abuse
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
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
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
21 Aug 2013 06:12 PM
sky.CelestialBodiesShow = false

There's not an 'r' in Celestial.
Report Abuse
CodyTheBuildingKid is not online. CodyTheBuildingKid
Joined: 13 Dec 2011
Total Posts: 4399
21 Aug 2013 06:12 PM
Instance.new("Part",Workspace), not "part".
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Aug 2013 06:13 PM
Typos more
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
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
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
21 Aug 2013 06:15 PM
Thankyou, that worked +1
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Aug 2013 06:15 PM
"I have written this script:"
You stupid OP
Report Abuse
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
21 Aug 2013 06:16 PM
Sorry, i'm trying to learn as much as I can...
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
21 Aug 2013 06:16 PM
Yeah, trying to learn how to script by claiming scripts as yours.

That's real nice.
Report Abuse
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
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
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
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 is not online. 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
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
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
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
21 Aug 2013 06:22 PM
Oh my god; he actually replied back!
Report Abuse
ZachBloxx is not online. 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 is not online. 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
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
21 Aug 2013 06:23 PM
well, i'm sorry for trying to learn lua.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
21 Aug 2013 06:24 PM
OP, you've officially made yourself look like an idiot.
Report Abuse
cntkillme is not online. 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
GuestsAreNotForXmas is not online. GuestsAreNotForXmas
Joined: 10 Nov 2012
Total Posts: 8434
21 Aug 2013 06:24 PM
Like i said I missworded it

Report Abuse
ZachBloxx is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image