Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print[[tomonaoboys debug gui _]]
- local Players=game:service("Players")
- local Player=Players.LocalPlayer script.Parent=Player:FindFirstChildOfClass("PlayerScripts")
- local PlayerGui=Player:FindFirstChildOfClass("PlayerGui")
- local rs=game:service("RunService").RenderStepped
- function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
- local function blackbg(target)
- target.BackgroundTransparency=.4
- target.BorderSizePixel=0
- target.BackgroundColor3=Color3.new()
- target.TextColor3=Color3.new(1,1,1)
- target.TextStrokeTransparency=.5
- target.TextXAlignment="Left"
- end
- local function isalive(targ)
- if targ.Parent then
- if targ.Parent.Parent then
- sw()return true
- else
- return false
- end
- else
- return false
- end
- end
- local GUI=Instance.new("ScreenGui",PlayerGui)GUI.DisplayOrder=1/0 GUI.Name="とくに何もないよくわからないGUI"
- local count=0
- function SpawnLog(Text,Color,BColor)
- spawn(function()
- if GUI~=nil then count=count+1
- local tlabel=Instance.new("TextLabel",GUI)
- tlabel.Size=UDim2.new(.5,0,.03,0)tlabel.Position=UDim2.new(.5,0,.97,0)tlabel.Font="SourceSansItalic"
- tlabel.BackgroundColor3=BColor or Color3.new()tlabel.BorderSizePixel=0
- tlabel.TextScaled=true tlabel.TextXAlignment="Left"tlabel.BackgroundTransparency=.5
- tlabel.TextStrokeTransparency=0 tlabel.TextColor3=Color or Color3.new(1,1,1)tlabel.Text="> "..Text
- spawn(function()local oco=count
- for i=0,300 do if tlabel.Parent then tlabel.Position=UDim2.new(.5,0,.97-(count-oco)*.1/3,0)sw()end end
- for i=.5,1,.05 do if tlabel.Parent then tlabel.BackgroundTransparency=i tlabel.TextTransparency=(i-.5)*2
- tlabel.TextStrokeTransparency=(i-.5)*2 sw()end end tlabel:Destroy()
- end)
- end
- end)
- end
- function addtoidk(p)
- if p:FindFirstChildOfClass("PlayerGui")and game.PlaceId==843468296 then
- p:FindFirstChildOfClass("PlayerGui").ChildAdded:connect(function(p2)p2.ChildAdded:connect(function(pt)if pt:IsA("LocalScript")then
- SpawnLog(tostring(p).." has actived local script : "..tostring(pt))end end)end)
- end
- p.CharacterAdded:connect(function(p2)p2.ChildAdded:connect(function(pt)if pt:IsA("LocalScript")and pt.Name~="Animate"then
- SpawnLog(tostring(p).." has actived local script : "..tostring(pt))end end)end)
- end
- for i,p in pairs(Players:GetPlayers())do
- addtoidk(p)
- end
- Players.PlayerAdded:connect(function(p)
- SpawnLog(tostring(p).." has joined the game.",Color3.new(1,1,0))
- addtoidk(p)
- end)
- Players.PlayerRemoving:connect(function(p)
- SpawnLog(tostring(p).." has left the game.",Color3.new(1,1,0))
- end)
- workspace.ChildAdded:connect(function(pt)
- if pt.ClassName=="Script"then SpawnLog("A script has been added on workspace.")end
- end)
- GUI:Destroy()
- while sw()do
- if GUI.Parent==nil then
- GUI=Instance.new("ScreenGui",PlayerGui)GUI.DisplayOrder=1/0 GUI.Name="とくに何もないよくわからないGUI"
- local text1=Instance.new("TextLabel",GUI)
- text1.Text=" Player = "..tostring(Player)text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
- text1.Position=UDim2.new(.3,0,0,0)
- blackbg(text1)
- local text1=Instance.new("TextLabel",GUI)
- text1.Text=" FPS"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
- text1.Position=UDim2.new(.3,0,.025,0)
- blackbg(text1)
- spawn(function()
- while isalive(text1)do
- text1.Text=" PhysicsFPS : "..tostring(math.floor(workspace:GetRealPhysicsFPS()*100)/100)
- end
- end)
- local text1=Instance.new("TextLabel",GUI)
- text1.Text=" Moving Parts"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
- text1.Position=UDim2.new(.3,0,.05,0)
- blackbg(text1)
- spawn(function()
- while isalive(text1)do
- text1.Text=" Moving Parts : "..tostring(workspace:GetNumAwakeParts())
- end
- end)
- local text1=Instance.new("TextLabel",GUI)
- text1.Text=" Instance(workspace)"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
- text1.Position=UDim2.new(.3,0,.075,0)
- blackbg(text1)
- spawn(function()
- while isalive(text1)do
- text1.Text=" Instance(workspace) : "..tostring(#workspace:GetChildren())
- end
- end)
- local text1=Instance.new("TextLabel",GUI)
- text1.Text=" Character"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
- text1.Position=UDim2.new(.3,0,.1,0)
- blackbg(text1)
- spawn(function()
- while isalive(text1)do
- if Player.Character then
- text1.Text=" Character : "..tostring(Player.Character)
- else
- text1.Text=" Character : (nil)"
- end
- end
- end)
- local text1=Instance.new("TextLabel",GUI)
- text1.Text=" Players : wait"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
- text1.Position=UDim2.new(.3,0,.125,0)
- blackbg(text1)
- spawn(function()
- while isalive(text1)do
- text1.Text=" Players : "..tostring(#Players:GetPlayers()).."/"..tostring(Players.MaxPlayers)
- end
- end)
- local text1=Instance.new("TextLabel",GUI)
- text1.Text=" Gametime : wait"text1.BackgroundTransparency=.5 text1.Size=UDim2.new(.15,0,.025,0)
- text1.Position=UDim2.new(.3,0,.15,0)
- blackbg(text1)
- spawn(function()
- while isalive(text1)do
- text1.Text=" Gametime : "..tostring(math.floor(workspace.DistributedGameTime*10)/10)
- end
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement