User:ArceusInator/Sandbox: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
will finish later
>ArceusInator
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Something I don't want to forget...
<div length=150px>
 
{{TitledBox/start|grey|dark=true
<pre>
|heading=<big>Statistics for the [http://{{SERVERNAME}} Roblox wiki].</big>|float:left; width:50%; margin-left: 0}}
local psky={}
{{EmphasisBox/start|grey}}
 
{{NUMBEROFPAGES}} pages, {{NUMBEROFARTICLES}} articles, and {{NUMBEROFFILES}} files have been edited {{NUMBEROFEDITS}} times.
psky.Name="PlayerSky"
----
psky.className="PlayerSky"
There are {{NUMBEROFUSERS}} registered users on the Roblox Wiki. Of that, {{NUMBEROFADMINS}} are administrators.
psky.archivable=false
----
psky.Parent=nil
????
psky.LinkedPlayer=nil
----
psky.StarCount=3000
Profit.
psky.CelestialBodiesShown=true
{{EmphasisBox/end}}
psky.SkyBoxBk=""
{{TitledBox/end}}
psky.SkyBoxDn=""
</div>
psky.SkyBoxFt=""
psky.SkyBoxLf=""
psky.SkyBoxRt=""
psky.SkyBoxUp=""
 
function psky:clone()
  local n=Instance.new("PlayerSky")
  -- copy all properties
  return n
end
 
funciton psky:FindFirstChild( name, recursive )
  return nil
end -- because an object's Parent can't be set to PlayerSky
 
funciton psky:GetChildren()
  return nil
end
 
function psky:GetFullName()
  return psky.Name
end
 
function psky:IsA( s )
  if s == "PlayerSky" or s == "Sky" or s == "CustomInstance" then return true end return
end
 
function psky:IsAncestorOf( instance )
  return
end
 
function psky:IsDescendantOf( instance )
  return
end
 
function psky:Remove()
  psky.LinkedPlayer = nil
end
 
-- now the metacode
 
local ab=Instance.new("Part")
ab.Size=Vector3.new(1,1,1)
ab.CanCollide=false
ab.Anchored=true
ab.Locked=true
ab.Position=Vector3.new()
ab.Name="PlayerSky_ANCHORBRICK"
 
local b=Instance.new("BillboardGui")
assert(coroutine.resume(coroutine.create(function()
  while true do
      if psky.LinkedPlayer then
        b.Parent=psky.LinkedPlayer.PlayerGui
        if psky.LinkedPlayer.Character.Torso then
            b.Adornee = psky.LinkedPlayer.Character.Torso
        else
            b.Adornee=ab
        end
      end
      wait()
  end
end)))
 
-- will finish this later...</pre>

Latest revision as of 00:18, 1 May 2011

Statistics for the Roblox wiki.

14,201 pages, 1,698 articles, and 6,655 files have been edited 88,932 times.


There are 12 registered users on the Roblox Wiki. Of that, 4 are administrators.


????


Profit.