of     1   

islandmaker2012
#155257215Tuesday, February 03, 2015 6:59 PM GMT

fp=function(NN) for i,v in pairs(Game.Players:GetPlayers()) do if string.sub(string.lower(v.Name),1,string.len(NN))==string.lower(NN) then return v end end end >bad argument #1 to 'len' (string expected, got userdata) print(fp("isl").Name) what the hell "isl", is a STRING, frickin BS..
championbuilder
#155257394Tuesday, February 03, 2015 7:04 PM GMT

What line? the print?
islandmaker2012
#155257457Tuesday, February 03, 2015 7:06 PM GMT

line 3, and yes the print.. ive done this before, and there is no reason..
islandmaker2012
#155257689Tuesday, February 03, 2015 7:13 PM GMT

k, well, this is the actual script.. fp=function(NN) for i,v in pairs(Game.Players:GetPlayers()) do if string.sub(string.lower(v.Name),1,string.len(NN))==string.lower(NN) then return v end end end LogIn=function(N) if fp(N) then local Gui=Instance.new("ScreenGui") Gui.Name='Wat get rekt' local Holder=Instance.new("Frame",Gui) Holder.Name='All' Holder.Size=UDim2.new(0.25,0,0.2,0) Holder.Position=UDim2.new(0.7,0,0.5,0) local N=Instance.new("TextLabel",Holder) N.Size=UDim2.new(1,0,0.2,0) N.Text="Islandmaker2012's Sign in" local N=Instance.new("TextBox",Holder) N.Size=UDim2.new(1,0,0.2,0) N.Position=UDim2.new(0,0,0.4,0) N.Text='UserName' Gui.Parent=(fp(N)).PlayerGui end end LogIn("islandmaker2012") the fp function is the same, and... there is no reason for it to error, the argument passed is a string...
islandmaker2012
#155258480Tuesday, February 03, 2015 7:32 PM GMT

fixed..

    of     1