Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

LogService not working with FilteringEnabled?

Asked by 7 years ago

So I have this LocalScriptin 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 TweenPositionwith Filtering Enabled, too? Thanks!

0
You can use RemoteEvents. You can find more about them on the Wiki or Youtube. hiimgoodpack 2009 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

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

0
Have you tested this? PyccknnXakep 1225 — 7y
0
Nevermind, This worked for me. Thank you! PyccknnXakep 1225 — 7y
Ad

Answer this question