Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. local a={ProtectedName="| Devil Script |",OtherPlayers=false,OtherPlayersTemplate="NameProtect",RenameTextBoxes=true,UseFilterPadding=true,FilterPad=" ",UseMetatableHook=true,UseAggressiveFiltering=true}local b=game.Players.LocalPlayer.Name;_G.rainbow=true;_G.namespoof=true;function zigzag(c)return math.acos(math.cos(c*math.pi))/math.pi end;function namespoof()while true do game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username.Text="! Made By : Devil Script"game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username.Text=game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username.Text;wait(0.1)game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username.Text=game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username.Text;wait(0.1)end end;counter=5;once=true;spawn(function()while _G.namespoof==true do wait(.05)game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username.TextColor3=Color3.fromHSV(zigzag(counter),1,1)game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.AccountType.TextColor3=Color3.fromHSV(zigzag(counter),1,1)counter=counter+0.01 end end)spawn(function()namespoof()end)local d={}local e=1;if a.OtherPlayers then for f,V in pairs(game:GetService("Players"):GetPlayers())do local g=a.OtherPlayersTemplate..tostring(e)if a.UseFilterPadding then if string.len(g)>string.len(V.Name)then g=string.sub(g,1,string.len(V.Name))elseif string.len(g)<string.len(V.Name)then local h=string.len(V.Name)-string.len(g)for f=1,h do g=g..a.FilterPad end end end;d[V.Name]=g;e=e+1 end;game:GetService("Players").PlayerAdded:connect(function(i)local g=a.OtherPlayersTemplate..tostring(e)if a.UseFilterPadding then if string.len(g)>string.len(V.Name)then g=string.sub(g,1,string.len(V.Name))elseif string.len(g)<string.len(V.Name)then local h=string.len(V.Name)-string.len(g)for f=1,h do g=g..a.FilterPad end end end;d[i.Name]=g;e=e+1 end)end;local j=game:GetService("Players").LocalPlayer.Name;local k=game.IsA;if a.UseFilterPadding then if string.len(a.ProtectedName)>string.len(j)then a.ProtectedName=string.sub(a.ProtectedName,1,string.len(j))elseif string.len(a.ProtectedName)<string.len(j)then local h=string.len(j)-string.len(a.ProtectedName)for f=1,h do a.ProtectedName=a.ProtectedName..a.FilterPad end end end;local function l(m)local n=m;if a.OtherPlayers then for f,V in pairs(d)do n=string.gsub(n,f,V)end end;n=string.gsub(n,j,a.ProtectedName)return n end;for f,V in pairs(game:GetDescendants())do if a.RenameTextBoxes then if k(V,"TextLabel")or k(V,"TextButton")or k(V,"TextBox")then V.Text=l(V.Text)if a.UseAggressiveFiltering then V:GetPropertyChangedSignal("Text"):connect(function()V.Text=l(V.Text)end)end end else if k(V,"TextLabel")or k(V,"TextButton")then V.Text=l(V.Text)if a.UseAggressiveFiltering then V:GetPropertyChangedSignal("Text"):connect(function()V.Text=l(V.Text)end)end end end end;if a.UseAggressiveFiltering then game.DescendantAdded:connect(function(V)if a.RenameTextBoxes then if k(V,"TextLabel")or k(V,"TextButton")or k(V,"TextBox")then V:GetPropertyChangedSignal("Text"):connect(function()V.Text=l(V.Text)end)end else if k(V,"TextLabel")or k(V,"TextButton")then V:GetPropertyChangedSignal("Text"):connect(function()V.Text=l(V.Text)end)end end end)end;if a.UseMetatableHook then if not getrawmetatable then error("GetRawMetaTable not found")end;local o=function(p)if newcclosure then return newcclosure(p)end;return p end;local q=function(r,V)if setreadonly then return setreadonly(r,V)end;if not V and make_writeable then return make_writeable(r)end;if V and make_readonly then return make_readonly(r)end;error("No setreadonly found")end;local r=getrawmetatable(game)local s=r.__newindex;q(r,false)r.__newindex=o(function(t,u,V)if a.RenameTextBoxes then if(k(t,"TextLabel")or k(t,"TextButton")or k(t,"TextBox"))and u=="Text"and type(V)=="string"then return s(t,u,l(V))end else if(k(t,"TextLabel")or k(t,"TextButton"))and u=="Text"and type(V)=="string"then return s(t,u,l(V))end end;return s(t,u,V)end)q(r,true)end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement