MADE BY VOiD#0001
FEATURE:
- LETS YOU SAY THE WORD
GAME LINK:
CANT SAY THE WORD
SCRIPT:
if not game:IsLoaded() then
game.Loaded:Wait()
end
local LP = game:GetService('Players').LocalPlayer
local PlayerScripts = LP ~= nil and LP:FindFirstChild('PlayerScripts') or nil
local ChatScript = PlayerScripts ~= nil and PlayerScripts:FindFirstChild('ChatScript') or nil
local ChatMain = ChatScript ~= nil and ChatScript:FindFirstChild('ChatMain') or nil
if LP and ChatMain ~= nil then
local Chatted = Instance.new('BindableEvent'); Chatted.Name = LP.Name..'_Chatted_Event'
local MessagePosted = require(ChatMain).MessagePosted
local Old
Old = hookfunction(MessagePosted.fire, function(self, ...)
if not checkcaller() then
return Chatted:Fire(...)
end
end)
local Old2
Old2 = hookmetamethod(game, '__index', newcclosure(function(self, Index)
if checkcaller() and self == LP and Index == 'Chatted' then
return Chatted.Event
elseif not checkcaller() and self == LP and Index == 'Chatted' then
return
end
return Old2(self, Index)
end))
end