So I have this LocalScript
in a Gui:
local player = game.Players.LocalPlayer local ls = game:GetService'LogService' local colors = {[0] = Color3.new(1, 1, 1), Color3.new(0, 0, 1), Color3.new(1, 1, 0), Color3.new(1, 0, 0)} local num = 0 ls.MessageOut:connect(function(msg, type) num = num + 1 local t = tick() local l = script.Label:Clone() l.Position = UDim2.new(0, 0, 1, num*24) l.Text = ('[i:i:i] - %s'):format((t/3600)%24, (t/60)%60, t%60, msg) l.TextColor3 = colors[type.Value] l.Parent = script.Parent.Frame script.Parent.Frame.Position = UDim2.new(0, 4, 1, -num*24 - 48) end)
Basically it displays the developer console, but on a Gui
. What I'm stuck on is why it doesn't work with Filtering Enabled. Another question aswell, how would I use TweenPosition
with Filtering Enabled, too? Thanks!
Log Service
Log service will work with Filtering Enabled, however it will only display output from the players Local Scripts
.
TweenPosition
This should work fine in Filtering Enabled as long as you use a local script