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: Will this script work:?

Previous Thread :: Next Thread 
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:02 PM
-- I don't know how to test it, and I didn't make it. Will it work and how do I test it?


skych = game:service("Lighting").Sky
while true do
skych.SkyboxBk = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxDn = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxFt = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxLf = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxRt = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxUp = "http://www.roblox.com/asset/?id=44848507"
wait(300)
skych.SkyboxBk = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxDn = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxFt = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxLf = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxRt = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxUp = "http://www.roblox.com/asset/?id=45379631"
wait(300)
skych.SkyboxBk = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxDn = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxFt = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxLf = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxRt = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxUp = "http://www.roblox.com/asset/?id=44960835"
wait(300)
end
Report Abuse
dennisvdz is not online. dennisvdz
Joined: 14 Dec 2008
Total Posts: 3710
26 Dec 2011 04:05 PM
skych = game.Lighting
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:06 PM
What?
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:07 PM
So would it be:?

skych = game.Lighting
while true do
skych.SkyboxBk = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxDn = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxFt = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxLf = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxRt = "http://www.roblox.com/asset/?id=44848507"
skych.SkyboxUp = "http://www.roblox.com/asset/?id=44848507"
wait(300)
skych.SkyboxBk = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxDn = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxFt = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxLf = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxRt = "http://www.roblox.com/asset/?id=45379631"
skych.SkyboxUp = "http://www.roblox.com/asset/?id=45379631"
wait(300)
skych.SkyboxBk = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxDn = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxFt = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxLf = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxRt = "http://www.roblox.com/asset/?id=44960835"
skych.SkyboxUp = "http://www.roblox.com/asset/?id=44960835"
wait(300)
end
Report Abuse
dennisvdz is not online. dennisvdz
Joined: 14 Dec 2008
Total Posts: 3710
26 Dec 2011 04:08 PM
Probably. Why not just try it...?
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:09 PM
But when I try it either way nothing happens. :(
Report Abuse
dennisvdz is not online. dennisvdz
Joined: 14 Dec 2008
Total Posts: 3710
26 Dec 2011 04:16 PM
View -> Output.
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:19 PM
What will that do?
Report Abuse
Stickerface101 is not online. Stickerface101
Joined: 14 Feb 2009
Total Posts: 341
26 Dec 2011 04:20 PM
It will show you if there is an error in the script.
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:21 PM
OK.
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
26 Dec 2011 04:21 PM
skych = game:GetService("Lighting").Sky

^^^
That would work.
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:22 PM
OK, I just tried it.

It said, "Sky is not a valid member of lighting."

Any way I can fix this?
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
26 Dec 2011 04:23 PM
Insert the Sky if your in roblox studio.
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:26 PM
But it's supposed to do everything.
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:27 PM
It still says: "Sky is not a valid member of lighting."
Report Abuse
dennisvdz is not online. dennisvdz
Joined: 14 Dec 2008
Total Posts: 3710
26 Dec 2011 04:28 PM
In my edit there isn't any Sky?
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:29 PM
Me neither.

I don't know why.

What's wrong with this script??? :(
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
26 Dec 2011 04:31 PM
Is there a Sky in the lighting?
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:31 PM
No, there isn't supposed to be.

Because you can only put one sky in Lighting at a time, and you're just simply not supposed to.
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
26 Dec 2011 04:41 PM
If there's no sky in the lighting then that script won't work.
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:51 PM
THERE ISN'T SUPPOSED TO BE ONE IN THE FIRST PLACE, LIKE I SAID! -.-
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 04:54 PM
If nothing works for me then how the crap does TheFurryFox do it?
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
26 Dec 2011 04:56 PM
You're a noob.. *facepalm*
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
26 Dec 2011 05:00 PM
No you.
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
26 Dec 2011 05:06 PM
local Sky = Instance.new('Sky', game.Lighting)

while wait() do
  for i, v in pairs({44848507, 45379631, 44960835}) do
    for _, x in pairs({'Bk', 'Dn', 'Ft', 'Lf', 'Rt', 'Up'}) do
      Sky['Skybox' .. x] = 'http://www.roblox.com/asset/?id=' .. v
    end
    wait(300)
  end
end

Try that.
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