|
| 25 Jul 2016 03:27 PM |
what's wrong with this paragraph of code
if input.consoleon then board:Destroy() board=misc.Leaderboard:Clone() board.Parent=pgui end
local main =wfc(board,"Main") local global =wfc(board,"Global")
local course =wfc(main,"Courses") local phantom =wfc(main,"Phantoms")
local coursedata =wfc(wfc(course,"DataFrame"),"Data") local phantomdata =wfc(wfc(phantom,"DataFrame"),"Data")
local spacing =input.consoleon and 30 or 25
because apparently "local course =wfc(main,"Courses")" is wrong????
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:28 PM |
b
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
sage296
|
  |
| Joined: 20 Feb 2009 |
| Total Posts: 17906 |
|
|
| 25 Jul 2016 03:28 PM |
You could go to the scripting subform tho
|
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:31 PM |
"You could go to the scripting subform tho"
the only game they play is "how inactive can you get"
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
sage296
|
  |
| Joined: 20 Feb 2009 |
| Total Posts: 17906 |
|
| |
|
|
| 25 Jul 2016 03:43 PM |
b2
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
redlo43
|
  |
| Joined: 16 Feb 2011 |
| Total Posts: 4722 |
|
| |
|
|
| 25 Jul 2016 03:45 PM |
"scope of wfc pls"
i don't know how 2 script but here's the main code
--leaderboard module --By litozinnamon print("Loading leaderboard module") do local wfc =game.WaitForChild local ffc =game.FindFirstChild local ud2 =UDim2.new local ceil =math.ceil local cf =CFrame.new local v3 =Vector3.new local color =Color3.new local dot =Vector3.new().Dot local workspace =workspace local ray =Ray.new local new =Instance.new local raycast =workspace.FindPartOnRayWithIgnoreList local infolder =function(l,e) for i=1,#l do if l[i].Name==e then return l[i] end end end local rtype =game.IsA local debris =game.Debris local player =game.Players.LocalPlayer local playertag =game.ReplicatedStorage.Character.PlayerTag local pgui =player.PlayerGui local misc =input.consoleon and game.ReplicatedStorage.XBOX or game.ReplicatedStorage.Misc
local playerstat =misc.Player
local board =wfc(pgui,"Leaderboard") if input.consoleon then board:Destroy() board=misc.Leaderboard:Clone() board.Parent=pgui end
local main =wfc(board,"Main") local global =wfc(board,"Global")
local course =wfc(main,"Courses") local phantom =wfc(main,"Phantoms")
local coursedata =wfc(wfc(course,"DataFrame"),"Data") local phantomdata =wfc(wfc(phantom,"DataFrame"),"Data")
local spacing =input.consoleon and 30 or 25
local function organize() ---check players in right teams local pp=game.Players:GetChildren() for i=1,#pp do local v=pp[i] local rightparent=v.TeamColor==game.Teams.Courses.TeamColor and coursedata or phantomdata local wrongparent=v.TeamColor~=game.Teams.Courses.TeamColor and coursedata or phantomdata local right=ffc(rightparent,v.Name) local wrong=ffc(wrongparent,v.Name) if not right and wrong then wrong.Parent=rightparent end end
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:46 PM |
HISTORYROCKS AYYYYYYYYYYYYYYYYY I REMEMBER YOU
also history does rock |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:47 PM |
@thesteammachinerd he joined 2 days ago what do you mean "remember"
meme | https://www.youtube.com/channel/UC3bK6kTOzzhvCMz_ahv5sUg |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:47 PM |
"HISTORYROCKS AYYYYYYYYYYYYYYYYY I REMEMBER YOU"
its me plzs help me w/ game tho
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:48 PM |
sector get out newbag historyrocks was the stuff back then he had like 7k posts and made awesome posts |
|
|
| Report Abuse |
|
|
redlo43
|
  |
| Joined: 16 Feb 2011 |
| Total Posts: 4722 |
|
|
| 25 Jul 2016 03:52 PM |
main is nil
btw I hate how this is scripted |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:53 PM |
"main is nil
btw I hate how this is scripted"
point out the part i need to fix
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
redlo43
|
  |
| Joined: 16 Feb 2011 |
| Total Posts: 4722 |
|
|
| 25 Jul 2016 03:54 PM |
the only thing I can think of is that this line local main=wfc(board,"Main") is returning nil. so When you look for children in nil, it's going to return an error. it could be a different error though, do you have the output? |
|
|
| Report Abuse |
|
|
AluminumX
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 17997 |
|
|
| 25 Jul 2016 03:56 PM |
"because apparently "local course =wfc(main,"Courses")" is wrong???? "
yes
it is wrong
it should be like this
because apparently "local course =wfc(main,"Courses")"
get it
cause i removed your input on it being wrong
hahaha im lonely
IT'S DESPERATION! | https://www.youtube.com/watch?v=uXXUd_vo8vk |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 03:57 PM |
"it could be a different error though, do you have the output?"
yes it says Script 'Players.historyrocks2016.PlayerScripts.Framework', Line 4674
it's in blue you can check out the game here: https://www.roblox.com/games/463039221/Phantom-Courses-early-alpha and press F9 on it
THANK YOU POSTER! BUT YOUR SIGNATURE IS IN ANOTHER CASTLE || +5.8k posts || R$0 || *really* cool oter/rter |
|
|
| Report Abuse |
|
|
redlo43
|
  |
| Joined: 16 Feb 2011 |
| Total Posts: 4722 |
|
|
| 25 Jul 2016 03:59 PM |
| boy don't complain to me about playerscripts, that's roblox's problem not mine or yours |
|
|
| Report Abuse |
|
|