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: Help me please

Previous Thread :: Next Thread 
JoeJoethe1 is not online. JoeJoethe1
Joined: 09 Apr 2010
Total Posts: 867
22 Jul 2013 01:32 AM
I have this script for a projectI'm working on for a light beam thing
But I want to have it where it does what its supposed to but stays in one posistion and doesnt move it's a daytime cycle tihing that affects a lgiht beam window thing I made but the problem is I can't have it like stay at start and like begin but like not change time of day or its posistion: local light = game.Lighting

while true do
wait(.05)

light:setMinutesAfterMidnight(light:getMinutesAfterMidnight() + 1)
end
Report Abuse
ember1465 is not online. ember1465
Joined: 09 Apr 2009
Total Posts: 398
22 Jul 2013 01:33 AM
You have a light.

You're changing the time of day.

That is all I understood.

~ Rainbow Dash is best pony ~
Report Abuse
JoeJoethe1 is not online. JoeJoethe1
Joined: 09 Apr 2010
Total Posts: 867
22 Jul 2013 01:34 AM
ya its a light beam and in order for it to work the time of day needs ot be changed cause it works based on suns posistion...
Report Abuse
ember1465 is not online. ember1465
Joined: 09 Apr 2009
Total Posts: 398
22 Jul 2013 01:36 AM
Yeah, and you have that... So what do you need?

~ Rainbow Dash is best pony ~
Report Abuse
JoeJoethe1 is not online. JoeJoethe1
Joined: 09 Apr 2010
Total Posts: 867
22 Jul 2013 01:37 AM
I want the light to work and all but I dont want the time of day to change... basically keep it at the same time but let the light still do its thing
Report Abuse
ember1465 is not online. ember1465
Joined: 09 Apr 2009
Total Posts: 398
22 Jul 2013 01:38 AM
So you don't want the time of day to change? Then don't change the time of day o.o

~ Rainbow Dash is best pony ~
Report Abuse
JoeJoethe1 is not online. JoeJoethe1
Joined: 09 Apr 2010
Total Posts: 867
22 Jul 2013 01:40 AM
No the light needs to be fooled and think the time of day is changing so it still works but I want to maintain the same time of day...
Report Abuse
ember1465 is not online. ember1465
Joined: 09 Apr 2009
Total Posts: 398
22 Jul 2013 01:41 AM
So don't change the time of day. Just have a set minutes variable in the script that you increment as if it were time of day, but it's NOT time of day.

If I knew what you wanted I could help you out, but all you've given me is that you have a light that does SOMETHING.

~ Rainbow Dash is best pony ~
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
22 Jul 2013 01:41 AM
So you want the time to keep changing and have the time not Affect the light. Correct?
Report Abuse
ember1465 is not online. ember1465
Joined: 09 Apr 2009
Total Posts: 398
22 Jul 2013 01:42 AM
He wants the exact opposite. He wants the light to be affected by time change, but not actually change the time.

~ Rainbow Dash is best pony ~
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
22 Jul 2013 01:44 AM
Hmm you could change the server lighting for the light and then use local lighting to make the user think its staying the same time.

Hax?
Report Abuse
JoeJoethe1 is not online. JoeJoethe1
Joined: 09 Apr 2010
Total Posts: 867
22 Jul 2013 01:45 AM
NO I WANT THE LIGHT TO BE MANIPULATED SO THAT IT IS TRICKED INTO THINKING THE TIME OF DAY IS CHANGING WHEN ITS REALLY NOT I NEED THIS BECAUSE THE LIGHT WORKS BASED ON TIME OF DAY AND I KNOW NOTHING ABOUT SCRIPTING AND OMG CAPS XD
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
22 Jul 2013 01:48 AM
And I just have you a solution.. I doubt anyone here is genorous enough to script it for you. So either you get lucky pay someone or lrn2Sc0rpT!!!
Report Abuse
JoeJoethe1 is not online. JoeJoethe1
Joined: 09 Apr 2010
Total Posts: 867
22 Jul 2013 01:49 AM
I have 60 ROBUX and I tried and it's too hard I've been trying ot learn for over a year and I can BARELY DO ANYTHING
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
22 Jul 2013 01:51 AM
It's not hard at All. Lua is a fairly easy programming language. I learnt all the basics in under. Month.
Report Abuse
JoeJoethe1 is not online. JoeJoethe1
Joined: 09 Apr 2010
Total Posts: 867
22 Jul 2013 03:45 PM
Is anyone willing to help
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Jul 2013 03:50 PM
on the top, add:
light = Game.Lighting
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
22 Jul 2013 03:51 PM
^ he has that at the top alreafy
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
22 Jul 2013 03:52 PM
Didn't read the comments but yo0ur changing the light not the daytime!
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