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: Weird output error?

Previous Thread :: Next Thread 
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
30 Jul 2015 10:25 PM
I get kicked from game for robbing a bank I'm working on, here is output everytime:

23:24:25.759 - httpGet &disconnect=true failed. Trying again. Error: &disconnect=true: Trust check failed, The operation completed successfully.
. Elapsed time: 0
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
30 Jul 2015 10:39 PM
Script:

wait()
local amnt1 = script.Parent
local amnt = 1875
local bnk = game.Lighting.BankGui
local plr = game.Players.LocalPlayer
local statz = plr:FindFirstChild("leaderstats")
local Money = statz.Money
local cntdown = bnk.Countdown.Text
local countdownamnt = 10

amnt1.MouseButton1Down:connect(function()
local plrg = plr:WaitForChild("PlayerGui")
local ba = plrg.BankGuiSelect
ba:Destroy()
print("destroyed")
wait(0.05)
bnk:Clone().Parent = plr.PlayerGui
local cntdowng = plrg.BankGui
local bankcount = cntdowng.Countdown
for i = countdownamnt,0,-1 do
wait(1)
bankcount.Text = i
if bankcount.Text == "0" then
Money.Value = Money.Value + amnt
cntdowng:Destroy()
end
end
end)


When I move around after clicking the amount (gui before this to show up this and run it) and move around with this running, it counts down a bit then crashes me with that error.
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
30 Jul 2015 10:46 PM
Bump..

Sorry for asking a lot of questions, this is my last.
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
30 Jul 2015 11:58 PM
Bump2...
Report Abuse
JDLENL is not online. JDLENL
Joined: 23 Dec 2009
Total Posts: 1109
31 Jul 2015 12:00 AM
"local bnk = game.Lighting.BankGui"
people still do this?
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
31 Jul 2015 12:02 AM
What?

I assume you mean store things in Lighting? Heh. Some say do, some day don't.
Report Abuse
someonedie is online. someonedie
Joined: 19 Mar 2011
Total Posts: 1710
31 Jul 2015 12:08 AM
The process performance is running way to extremely high.
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
31 Jul 2015 12:16 AM
What do you mean by that? I don't understand how to change it or what not to fix it and make it run more efficiently.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
31 Jul 2015 12:18 AM
if bankcount.Text == "0" then
Money.Value = Money.Value + amnt
cntdowng:Destroy()
end

dont need this



-----------

for i = 1, 100 do
print(i)
wait()
end
print('i == 100')

The for loop will finish after the max number is reached, so don't need the 'if numba == 0'
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
31 Jul 2015 12:26 AM
wait()
local amnt1 = script.Parent
local amnt = 1875
local bnk = game.Lighting.BankGui
local plr = game.Players.LocalPlayer
local statz = plr:FindFirstChild("leaderstats")
local Money = statz.Money
local cntdown = bnk.Countdown.Text
local countdownamnt = 10

amnt1.MouseButton1Down:connect(function()
local plrg = plr:WaitForChild("PlayerGui")
local ba = plrg.BankGuiSelect
ba:Destroy()
print("destroyed")
wait(0.05)
bnk:Clone().Parent = plr.PlayerGui
local cntdowng = plrg.BankGui
local bankcount = cntdowng.Countdown
for i = countdownamnt,0,-1 do
bankcount.Text = i
wait(10)
Money.Value = Money.Value + amnt
cntdowng:Destroy()

end
end)

Doesn't crash, which is good but doesn't countdown.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
31 Jul 2015 12:27 AM
...

for i = countdownamnt,0,-1 do
wait(1)
bankcount.Text = i
end
Money.Value = Money.Value + amnt
cntdowng:Destroy()
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
31 Jul 2015 12:40 AM
Alright, thank you.
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