Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

This script works in studio but not in real game? its like the Instances never loads.

Asked by 8 years ago
Edited by OldPalHappy 8 years ago

This works in test studio but not in real game script:

01game.Players.PlayerAdded:connect(function(plr)
02 
03 
04_G.leader = Instance.new("IntValue", plr)
05_G.leader.Name = "leaderstats"
06 
07_G.Melexp = Instance.new("IntValue", leader)
08_G.Melexp.Value = 1000
09_G.Melee = Instance.new("IntValue", leader)
10_G.Melee.Name = "Melee"
11 
12While true do
13_G.Melee.Value = Melexp.Value / 1000
14wait(3)
15end
View all 23 lines...

So this would display 1 in test studio mode but in real game IT would Say that Melee = nil. Like IT never loaded in, but IT shuld load in before the Textlabel loads. I got 5 other scripts like this With stamina, staminaexp and more

0
Line 12: you have 'while' uppercase. :P TheeDeathCaster 2368 — 8y

Answer this question