Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 1923812371283127398123712893126793/0c73ab9e9c4ac7d1c234128cd1696fb9 to your computer and use it in GitHub Desktop.
Save 1923812371283127398123712893126793/0c73ab9e9c4ac7d1c234128cd1696fb9 to your computer and use it in GitHub Desktop.
--░█████╗░███╗░░██╗████████╗██╗  ░█████╗░███████╗██╗░░██╗  ██╗░░░██╗██████╗░
--██╔══██╗████╗░██║╚══██╔══╝██║  ██╔══██╗██╔════╝██║░██╔╝  ██║░░░██║╚════██╗
--███████║██╔██╗██║░░░██║░░░██║  ███████║█████╗░░█████═╝░  ╚██╗░██╔╝░░███╔═╝
--██╔══██║██║╚████║░░░██║░░░██║  ██╔══██║██╔══╝░░██╔═██╗░  ░╚████╔╝░██╔══╝░░
--██║░░██║██║░╚███║░░░██║░░░██║  ██║░░██║██║░░░░░██║░╚██╗  ░░╚██╔╝░░███████╗
--╚═╝░░╚═╝╚═╝░░╚══╝░░░╚═╝░░░╚═╝  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░╚═╝  ░░░╚═╝░░░╚══════╝
--▒█▀▀▀█ █▀▀█ █▀▀▄   ▒█░░▒█ █▀▀ █▀▀█ █▀▀ ░▀░ █▀▀█ █▀▀▄
--░▀▀▀▄▄ █▄▄█ █░░█   ░▒█▒█░ █▀▀ █▄▄▀ ▀▀█ ▀█▀ █░░█ █░░█
--▒█▄▄▄█ ▀░░▀ ▀▀▀░   ░░▀▄▀░ ▀▀▀ ▀░▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀ ▀░░▀
wait(0.5)local ba=Instance.new("ScreenGui")
local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
local visibleV=0;local muteV=0;local VolumeB=nil
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
function change(instance,properties)
for i, v in next, properties do
instance[i] = v
end
end
function create(class,properties,name)
local instance = Instance.new(class)
if name ~= nil then instance.Name = name..randomstring() else instance.Name = randomstring() end
change(instance,properties)
return instance
end
function randomstring()
local e = {}
for i = 1,math.random(5,50) do
table.insert(e,#e+1,utf8.char(math.random(10,100)))
end
return table.concat(e)
end
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel");local ena=Instance.new("TextButton");local mute=Instance.new("TextButton");ba.Parent=game.CoreGui
ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ba.Name="|Anti-AFK-V2-SadVersion|-"..randomstring();ca.Parent=ba;ca.Active=true;ca.Name=randomstring()
ca.BackgroundColor3=Color3.new(1, 0, 0)ca.Draggable=true
ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,304,0,52)
ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti AFK Kick Script V2"ca.TextColor3=Color3.new(0,1,1)
ca.TextSize=22;da.Parent=ca
da.BackgroundColor3=Color3.new(1, 0, 0)da.Position=UDim2.new(0,0,1.0192306,0)
da.Size=UDim2.new(0,304,0,107)_b.Parent=da
_b.BackgroundColor3=Color3.new(1, 0, 0)_b.Position=UDim2.new(0,0,0.800455689,0)
_b.Size=UDim2.new(0,304,0,21)_b.Font=Enum.Font.Arial;_b.Text="Made by natanbrp375"
_b.TextColor3=Color3.new(1,1,1)_b.TextSize=20;ab.Parent=da
ab.BackgroundColor3=Color3.new(1, 0, 0)ab.Position=UDim2.new(0,0,0.158377379,0)
ab.Size=UDim2.new(0,304,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Script Started"
ab.TextColor3=Color3.new(1,1,1)ab.TextSize=20
ena.Name="|Enable-Buttom|-"..randomstring();ena.Parent=ba
ena.BackgroundColor3=Color3.new(1, 0, 0);ena.TextColor3=Color3.new(1, 1, 1);ena.Text="Hide";ena.TextScaled=true
ena.Position=UDim2.fromScale(0,0.814);ena.Size=UDim2.fromScale(0.032,0.041);ena.Font=Enum.Font.SourceSansSemibold
mute.Name="|Sad-Mute-Buttom-:(|-"..randomstring();mute.Parent=ba
mute.BackgroundColor3=Color3.new(1, 0, 0);mute.TextColor3=Color3.new(1, 1, 1);mute.Text="Mute";mute.TextScaled=true
mute.Position=UDim2.fromScale(0,0.857);mute.Size=UDim2.fromScale(0.032,0.041);mute.Font=Enum.Font.SourceSansSemibold
local bb=game:service'VirtualUser'
Instance.new("UICorner",ca);Instance.new("UICorner",_b);Instance.new("UICorner",da);Instance.new("UICorner",ab);Instance.new("UICorner",ena)Instance.new("UICorner",mute)
game:service'Players'.LocalPlayer.Idled:connect(function()
bb:CaptureController()bb:ClickButton2(Vector2.new())
ab.Text="Roblox tried to kick you!"wait(2)ab.Text="Status: Re-Enabled"end)
local name = game.Players.LocalPlayer.Name;local enabled = false
local startgui = game:GetService("StarterGui")
local songsF = create("Folder",{Parent=workspace},"|Sad-Music-Folder-:(|-")
local songs = create("Sound",{Parent=songsF},"|ANTI-AFK-SONG-SAD!|-")
local reverb = create("ReverbSoundEffect",{Parent=songs;DryLevel=12},"|LOL-ReverbEffect!|-"..randomstring().."-|is-so-good-and-sad|-")
local rainsong = create("Sound",{Parent=songsF;SoundId="rbxassetid://1516791621";Looped=true;Volume=1.3},"|Rain-is-sad-:(|-");rainsong:Play()
print("all conponents working!")
--<<<|>Functions<|>>>--
function sisChat(typ,mensage,font,R,G,B)
local tmepcol = Color3.fromRGB(R,G,B)
if typ == "Chat" then
startgui:SetCore("ChatMakeSystemMessage", {Text=mensage,Font=font,Color=tmepcol})
elseif typ == "Noti" then
startgui:SetCore("SendNotification", {Text=mensage,Font=font,Color=tmepcol})
end
return
end
function colorCh(R,G,B)
local col = Color3.new(R,G,B)
ca.BackgroundColor3=col;da.BackgroundColor3=col;_b.BackgroundColor3=col;ab.BackgroundColor3=col;ena.BackgroundColor3=col;mute.BackgroundColor3=col
return
end
function song(Id,Volume,Speed)
if Id ~= nil then songs.SoundId = "rbxassetid://"..Id else songs.SoundId = nil end
if Volume ~= nil then songs.Volume = Volume else songs.Volume = 0.5 end
if Speed ~= nil then songs.PlaybackSpeed = Speed else songs.PlaybackSpeed = 1 end
VolumeB = Volume
songs.Volume -= muteV
songs:Play()
_b.Text = "Loading..."
songs.Loaded:Wait(25)
if songs.SoundId ~= "rbxassetid://"..Id then
sisChat('Chat',"[Anti AFK]: SoundId Not Found!",Enum.Font.SourceSansSemibold,185, 0, 0)
end
return
end
function text(Music,By)
_b.Text = Music.." By "..By
wait(3)
_b.Text = "Made by natanbrp375"
if enabled == false then
ca.Text = "You Are so sad "..name.." :(";
wait(3)
ca.Text = "Anti AFK Kick Script V2"
enabled = true
wait(songs.TimeLength/songs.PlaybackSpeed - 6)
else
wait(songs.TimeLength/songs.PlaybackSpeed - 3)
end
return
end
--<<<|>Song PlayList<|>>>--
function NN()
--<<<|>Coloque suas musicas aqui! / put your musics here!<|>>>--
while true do
colorCh(1, 0, 0)
song('6548566373',0.4)
text('Death Bed x','@ImDisnut')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('474310880',0.4)
text('Instrumental Beats Chuki Beats','@Yukati')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('5486025387',0.5)
text('monty-datta-x-kehard-on-my-own','@aloNeDarK01')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('3020898575',0.34)
text('Dyslm - i never did','@2TICKPOOPSTICK')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
colorCh(0, 0, 0.498039)
song('5204532981',0.53,1.1)
text('Do You Ever Think Of Me','@OffbeatGuest5964')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('7271233329',0.43)
text('D2M','@Lokvie')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('2817602074',0.33)
text('Happier - Nightcore','@EmTheGreatGoose')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
colorCh(1, 0, 0)
song('4731277257',0.2)
text('Rnla & Yaeow - Free With You','@JoseMakesMeHappi')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('5464863049',0.4)
text('zaini - dead','@dragonHDkiller')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('4820879918',2)
text('Rnla - My Heart Is Broken','@zvntsu')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('1477195924',0.9)
text("U're Mine",'@Sc_ffy')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('1504736898',0.9)
text('Nobody Cares','@melvei')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('6291380964',0.9)
text('Imagination','@Kwaesway35')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('2641923798',0.9)
text('tentacion - Jocelyn flores','@EnderDoge_YTOfficial')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('6649416122',0.42)
text('Someone To You','@BLACKL_BYD')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('5586333101',0.42)
text('Geoxor - Gloom','@Japanese Zombie Club')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
colorCh(0, 0.666667, 0)
song('2699170055',0.6,0.94)
text('sunflower feelings','@DK52281')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('5403242290',0.5,0.94)
text('Sn0w Losing Interest','@andretrollXD')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('6551533888',0.4)
text('Whales - Love Is Gone','@V_R')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
colorCh(1, 0, 0)
song('6089401983',0.45)
text('Rufi-o Oblivion','@Stubbzies')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
colorCh(0.564706, 0.564706, 0.564706)
song('4765649161',1,0.72)
text('Patient with u','@L o n e l y R o s e B o y s.')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('6128202333',0.5)
text('i feel empty','@oILollylo')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
colorCh(1, 0.666667, 0)
song('1155364899',0.7)
text("I'll Keep You Safe",'@Alisora')
--<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>
song('2688267810',0.6)
text('beowulf - savior','@Yumezo')
end
end
ena.MouseButton1Click:Connect(function()
if visibleV == 0 then
da.Visible = false
ca.Visible = false
ena.Text = "Show"
visibleV = 1
elseif visibleV == 1 then
da.Visible = false
ca.Visible = true
visibleV = 2
else
da.Visible = true
ca.Visible = true
ena.Text = "Hide"
visibleV = 0
end
end)
mute.MouseButton1Click:Connect(function()
if muteV == 0 then
songs.Volume = 0
rainsong:Stop()
mute.Text="UnMute"
muteV = 10
else
songs.Volume = VolumeB
rainsong:Play()
mute.Text="Mute"
muteV = 0
end
end)
NN()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment