Advertisement
tomonaoboys

i guess this has no ability

Feb 17th, 2018
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.13 KB | None | 0 0
  1. print[[tomonaoboys debug gui _]]
  2. local Players=game:service("Players")
  3. local Player=Players.LocalPlayer script.Parent=Player:FindFirstChildOfClass("PlayerScripts")
  4. local PlayerGui=Player:FindFirstChildOfClass("PlayerGui")
  5. local rs=game:service("RunService").RenderStepped
  6. function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  7. local function blackbg(target)
  8.     target.BackgroundTransparency=.4
  9.     target.BorderSizePixel=0
  10.     target.BackgroundColor3=Color3.new()
  11.     target.TextColor3=Color3.new(1,1,1)
  12.     target.TextStrokeTransparency=.5
  13.     target.TextXAlignment="Left"
  14. end
  15. local function isalive(targ)
  16.     if targ.Parent then
  17.         if targ.Parent.Parent then
  18.             sw()return true
  19.         else
  20.             return false
  21.         end
  22.     else
  23.         return false
  24.     end
  25. end
  26. local GUI=Instance.new("ScreenGui",PlayerGui)GUI.DisplayOrder=1/0 GUI.Name="とくに何もないよくわからないGUI"
  27. local count=0
  28. function SpawnLog(Text,Color,BColor)
  29.     spawn(function()
  30.     if GUI~=nil then count=count+1
  31.     local tlabel=Instance.new("TextLabel",GUI)
  32.     tlabel.Size=UDim2.new(.5,0,.03,0)tlabel.Position=UDim2.new(.5,0,.97,0)tlabel.Font="SourceSansItalic"
  33.     tlabel.BackgroundColor3=BColor or Color3.new()tlabel.BorderSizePixel=0
  34.     tlabel.TextScaled=true tlabel.TextXAlignment="Left"tlabel.BackgroundTransparency=.5
  35.     tlabel.TextStrokeTransparency=0 tlabel.TextColor3=Color or Color3.new(1,1,1)tlabel.Text="> "..Text
  36.     spawn(function()local oco=count
  37.     for i=0,300 do if tlabel.Parent then tlabel.Position=UDim2.new(.5,0,.97-(count-oco)*.1/3,0)sw()end end
  38.     for i=.5,1,.05 do if tlabel.Parent then tlabel.BackgroundTransparency=i tlabel.TextTransparency=(i-.5)*2
  39.     tlabel.TextStrokeTransparency=(i-.5)*2 sw()end end tlabel:Destroy()
  40.     end)
  41.     end
  42.     end)
  43. end
  44. function addtoidk(p)
  45.     if p:FindFirstChildOfClass("PlayerGui")and game.PlaceId==843468296 then
  46.     p:FindFirstChildOfClass("PlayerGui").ChildAdded:connect(function(p2)p2.ChildAdded:connect(function(pt)if pt:IsA("LocalScript")then
  47.     SpawnLog(tostring(p).." has actived local script : "..tostring(pt))end end)end)
  48.     end
  49.     p.CharacterAdded:connect(function(p2)p2.ChildAdded:connect(function(pt)if pt:IsA("LocalScript")and pt.Name~="Animate"then
  50.     SpawnLog(tostring(p).." has actived local script : "..tostring(pt))end end)end)
  51. end
  52. for i,p in pairs(Players:GetPlayers())do
  53.     addtoidk(p)
  54. end
  55.  
  56. Players.PlayerAdded:connect(function(p)
  57.     SpawnLog(tostring(p).." has joined the game.",Color3.new(1,1,0))
  58.     addtoidk(p)
  59. end)
  60. Players.PlayerRemoving:connect(function(p)
  61.     SpawnLog(tostring(p).." has left the game.",Color3.new(1,1,0))
  62. end)
  63.  
  64. workspace.ChildAdded:connect(function(pt)
  65. if pt.ClassName=="Script"then SpawnLog("A script has been added on workspace.")end
  66. end)
  67. GUI:Destroy()
  68. while sw()do
  69.     if GUI.Parent==nil then
  70.         GUI=Instance.new("ScreenGui",PlayerGui)GUI.DisplayOrder=1/0 GUI.Name="とくに何もないよくわからないGUI"
  71.         local text1=Instance.new("TextLabel",GUI)
  72.         text1.Text=" Player = "..tostring(Player)text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
  73.         text1.Position=UDim2.new(.3,0,0,0)
  74.         blackbg(text1)
  75.         local text1=Instance.new("TextLabel",GUI)
  76.         text1.Text=" FPS"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
  77.         text1.Position=UDim2.new(.3,0,.025,0)
  78.         blackbg(text1)
  79.         spawn(function()
  80.         while isalive(text1)do
  81.             text1.Text=" PhysicsFPS : "..tostring(math.floor(workspace:GetRealPhysicsFPS()*100)/100)
  82.         end
  83.         end)
  84.         local text1=Instance.new("TextLabel",GUI)
  85.         text1.Text=" Moving Parts"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
  86.         text1.Position=UDim2.new(.3,0,.05,0)
  87.         blackbg(text1)
  88.         spawn(function()
  89.         while isalive(text1)do
  90.             text1.Text=" Moving Parts : "..tostring(workspace:GetNumAwakeParts())
  91.         end
  92.         end)
  93.         local text1=Instance.new("TextLabel",GUI)
  94.         text1.Text=" Instance(workspace)"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
  95.         text1.Position=UDim2.new(.3,0,.075,0)
  96.         blackbg(text1)
  97.         spawn(function()
  98.         while isalive(text1)do
  99.             text1.Text=" Instance(workspace) : "..tostring(#workspace:GetChildren())
  100.         end
  101.         end)
  102.         local text1=Instance.new("TextLabel",GUI)
  103.         text1.Text=" Character"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
  104.         text1.Position=UDim2.new(.3,0,.1,0)
  105.         blackbg(text1)
  106.         spawn(function()
  107.         while isalive(text1)do
  108.             if Player.Character then
  109.             text1.Text=" Character : "..tostring(Player.Character)
  110.             else
  111.             text1.Text=" Character : (nil)"
  112.             end
  113.         end
  114.         end)
  115.         local text1=Instance.new("TextLabel",GUI)
  116.         text1.Text=" Players : wait"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
  117.         text1.Position=UDim2.new(.3,0,.125,0)
  118.         blackbg(text1)
  119.         spawn(function()
  120.         while isalive(text1)do
  121.             text1.Text=" Players : "..tostring(#Players:GetPlayers()).."/"..tostring(Players.MaxPlayers)
  122.         end
  123.         end)
  124.         local text1=Instance.new("TextLabel",GUI)
  125.         text1.Text=" Gametime : wait"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
  126.         text1.Position=UDim2.new(.3,0,.15,0)
  127.         blackbg(text1)
  128.         spawn(function()
  129.         while isalive(text1)do
  130.             text1.Text=" Gametime : "..tostring(math.floor(workspace.DistributedGameTime*10)/10)
  131.         end
  132.         end)
  133.     end
  134. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement