Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

LogService not working with FilteringEnabled?

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!

1 comment

0

You can use RemoteEvents. You can find more about them on the Wiki or Youtube.

1 answer

✓ Accepted answer

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

2 comments

0

Have you tested this?

0

Nevermind, This worked for me. Thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.