Anomic Script | NOTIFICATION LIB

Created by shitass

Features:

  • NOTIFICATION LIB

THIS ONLY WORKS ON ANOMIC, NOT ON OTHER GAMES

-- Anomic notification lib made by shitass/peke#7374 - thanks to wlrd#0492 for helping
-- Ignore the retarded code lol
---------------------------------------------------------------------------------------------------
local LibraryModule = require(game:GetService('ReplicatedStorage'):WaitForChild('Client').NotificationHandler);
local SoundsMain = game:GetService('Players').LocalPlayer.PlayerGui
---------------------------------------------------------------------------------------------------
function Notify(Text,Sound)
    -- Call, dont edit this function it doesnt need any changes
    LibraryModule:AddToStream(game:GetService('Players').LocalPlayer, tostring(Text));
    ---------------------------------------------------------------------------------------------------
        if Sound == "Tick" or Sound == Tick then SoundsMain:WaitForChild("Tick"):Play()
        elseif Sound == "Notify" or Sound == "notify" then SoundsMain:WaitForChild("Notify"):Play()
        elseif Sound == "HeavyTick" or Sound == "heavytick" then SoundsMain:WaitForChild("FeedbackGui").Sound:Play()
        elseif Sound == "Money" or Sound == "money" then SoundsMain:WaitForChild("Purchased"):Play()
        elseif Sound == "Vibrate" or Sound == "vibrate" then SoundsMain:WaitForChild("PhoneVibrate"):Play()
        ---------------------------------------------------------------------------------------------------
    end
end
function NotifyError(Text,Sound)
        -- Call, dont edit this function it doesnt need any changes
        LibraryModule:DisplayPublicMessage(tostring(Text));
        ---------------------------------------------------------------------------------------------------
        if Sound == "Tick" or Sound == Tick then SoundsMain:WaitForChild("Tick"):Play()
        elseif Sound == "Notify" or Sound == "notify" then SoundsMain:WaitForChild("Notify"):Play()
        elseif Sound == "HeavyTick" or Sound == "heavytick" then SoundsMain:WaitForChild("FeedbackGui").Sound:Play()
        elseif Sound == "Money" or Sound == "money" then SoundsMain:WaitForChild("Purchased"):Play()
        elseif Sound == "Vibrate" or Sound == "vibrate" then SoundsMain:WaitForChild("PhoneVibrate"):Play()
        ---------------------------------------------------------------------------------------------------
    end
end


-- Sounds: Notify, Tick, HeavyTick, Money, Vibrate,

Notify("Hello world","Notify") -- Basic notification, with text, plays notify sound
task.wait(1)
Notify("Hello\nworld","Money") -- Basic notification, with a new line, plays money sound
task.wait(1)
NotifyError("Hello world","Tick") -- Error notification, with text, plays the tick sound
task.wait(1)
NotifyError("Hello\nworld","Vibrate") -- Error notification, with a new line, plays the vibrating sound

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

More Scripts!

TOP 10 TRENDING SCRIPTS