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 » Scripters
Home Search
 

Re: Someone help?

Previous Thread :: Next Thread 
HeIIoISteaIUsernames is not online. HeIIoISteaIUsernames
Joined: 26 Oct 2012
Total Posts: 2906
04 Jul 2016 05:12 PM
I've been trying to debug this for 2 days straight and I still don't know what the problem is.


The Problem:

After one round, when you're in a map, the game ends really quick. During the two days when I was fixing the MainScript, I didn't knew what I was doing so today I figured it out: It was the values.

You see the values (Around 7 which are bool values) after they're done for 1 round, they're set to true. That was causing the problem so how do I fix it? (sorry if the paragraph is kinda confusing)

Main Script (Part of it:)

function GameTime()
gt.Value = "Round"
print("Round is starting..")
wait(0.1)
for i = gametime, 1, -1 do
GT.Value = i
wait(1)
if game.Workspace.AllGeneratorsActivated.Value == true then
if game.Workspace.Generator1Activated.Value == true then
if game.Workspace.Generator2Activated.Value == true then
if game.Workspace.Generator3Activated.Value == true then
if game.Workspace.GameEnd.Value == true then
if game.Workspace.NoGeneratorsActivated.Value == false then
if game.Workspace.VerifyingGenerators.Value == true then
GameEnd()
end
end
end
end
end
end
end
end
end

function GameEnd()
print("Game has ended..")
gt.Value = "Game end"
for i = 10, 1, -1 do
GT.Value = i
wait(1)
end
gt.Value = " "
GT.Value = " "
randommap:Destroy()
if game.Workspace.AllGeneratorsActivated.Value == true then
if game.Workspace.Generator1Activated.Value == true then
if game.Workspace.Generator2Activated.Value == true then
if game.Workspace.Generator3Activated.Value == true then
if game.Workspace.GameEnd.Value == true then
if game.Workspace.NoGeneratorsActivated.Value == false then
if game.Workspace.VerifyingGenerators.Value == true then
CheckingForSurvivors()
end
end
end
end
end
end
end
end


Can someone help?
Report Abuse
HeIIoISteaIUsernames is not online. HeIIoISteaIUsernames
Joined: 26 Oct 2012
Total Posts: 2906
04 Jul 2016 05:13 PM
I want the bool values to be set to false after they're done with a round.
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:20 PM
This code is so bad it's not worth fixing, tell us what you're trying to do.


Report Abuse
HeIIoISteaIUsernames is not online. HeIIoISteaIUsernames
Joined: 26 Oct 2012
Total Posts: 2906
04 Jul 2016 05:20 PM
b
Report Abuse
HeIIoISteaIUsernames is not online. HeIIoISteaIUsernames
Joined: 26 Oct 2012
Total Posts: 2906
04 Jul 2016 05:22 PM
@Dev


"I want the bool values to be set to false after they're done with a round."


"After one round, when you're in a map, the game ends really quick. During the two days when I was fixing the MainScript, I didn't knew what I was doing so today I figured it out: It was the values.

You see the values (Around 7 which are bool values) after they're done for 1 round, they're set to true. That was causing the problem so how do I fix it? (sorry if the paragraph is kinda confusing)"
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:23 PM
I didn't ask what the code is trying to do I asked what are you trying to do.


Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:25 PM
So you're trying to make a round system to change out maps and teleport players in right?


Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:27 PM
"This code is so bad it's not worth fixing, tell us what you're trying to do."

get out if you're not going to help him

this is a forum for scripting help mainly

and don't even try to quote the sticky, it's entirely inaccurate with the posts that are here


Add 13,000 posts
Report Abuse
HeIIoISteaIUsernames is not online. HeIIoISteaIUsernames
Joined: 26 Oct 2012
Total Posts: 2906
04 Jul 2016 05:29 PM
@Dev


oml



This bug only happens when a round ends, I already scripted the round system, can't you read?
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:30 PM
Nar if you had half a brain you would know i'm trying to show him a better way not fix this ugly mess, idiot.


Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:31 PM
"Nar if you had half a brain you would know i'm trying to show him a better way not fix this ugly mess, idiot."

if you had any sort of intelligence you would realize his code is perfectly fine the way it is

you probably can't read it because you're a dimwitted idiot
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:31 PM
Love how you post and not help hypocritical moron.


Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:32 PM
"Love how you post and not help hypocritical moron."

i'm not the one being negative to op

being neutal> being an arse hole
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:34 PM
in your game end script, after all the value checking, wouldn't you set them all to false after that

so like, after the GeneratorVerified thingy in the game end script you would now set them all to false
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:35 PM
If you had a brain you would know i'm not being negative to him in any way you ignorant buffoon. I'm simply trying to ask him what he's trying to do then re-make his code so it doesn't require all of those values. If you knew anything about coding you would know it's always better to be more efficient, sorry that you're that dumb and you have to troll and flame people for knowing more then you.


Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:36 PM
"If you had a brain you would know i'm not being negative to him in any way you ignorant buffoon. I'm simply trying to ask him what he's trying to do then re-make his code so it doesn't require all of those values. If you knew anything about coding you would know it's always better to be more efficient, sorry that you're that dumb and you have to troll and flame people for knowing more then you."

look at your first post

you insulted his code for absolutely no reason when it's fine

you're the one at fault here
lol
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:36 PM
That's like telling someone to use duct tape to repair a leak instead of getting a new line. LOL


Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:38 PM
Once again sir brain dead, nothing negative about pointing out facts, sorry you're such and ignorant brat.


Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:38 PM
"That's like telling someone to use duct tape to repair a leak instead of getting a new line. LOL"

how

his code is fine??

if he can use it and have a 100% working game then why do you need to insult his code

you should really take "Dev" out of your name

you bring shame to all developers with your attitude
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:39 PM
"This code is so bad it's not worth fixing, tell us what you're trying to do.
"

you called it bad

bad:

"failing to reach an acceptable standard "

the code is obviously reaching an acceptable standard if it runs perfectly fine

also, calling it worth not fixing is just being an ass

do you not get it yet
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:40 PM
Trying to change the topic just shows how ignorant you are.
Just because something works, doesn't mean it's good as is and is also a bad habit to pick up coding like that. You're just an idiot troll with little knowledge of coding so if you're not here to help go to OT.


Report Abuse
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
04 Jul 2016 05:40 PM
if you seriously say this code is bad and not worth fixing take that dev out of your name
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:41 PM
"Trying to change the topic just shows how ignorant you are.
Just because something works, doesn't mean it's good as is and is also a bad habit to pick up coding like that. You're just an idiot troll with little knowledge of coding so if you're not here to help go to OT.
"

if something works it means it was coded with zero errors

that's a very acceptable standard

"idiot troll"

i help people all day here and they appreciate it a lot

is op appreciating you

i don't think so

quote op to you:

"Can you not read?"
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
04 Jul 2016 05:44 PM
Theses kids thinks because it works it's good. xD

if game.Workspace.AllGeneratorsActivated.Value == true then
if game.Workspace.Generator1Activated.Value == true then
if game.Workspace.Generator2Activated.Value == true then
if game.Workspace.Generator3Activated.Value == true then
if game.Workspace.GameEnd.Value == true then
if game.Workspace.NoGeneratorsActivated.Value == false then
if game.Workspace.VerifyingGenerators.Value == true then
GameEnd()
end
end
end
end
end
end
end


suree...

Low IQ and ignorance mixed...

What needs to be done is the whole script needs re-making because there's no reason for most of the values in it and there is a lot that can be improved, just because you learned coding yesterday doesn't mean you know everything. "It works so it's perfect." LOL


Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
04 Jul 2016 05:46 PM
"Theses kids thinks because it works it's good. xD"

this guy thinks having an ego balloon ready to pop because of all the air in it is an astounding quality

did you think, maybe, for a second

that no one likes people that have an overconfident sense of arrogance


Add 13,000 posts
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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