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... |