Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by CHAOSxFIGHTER
- --My first script...
- --[[
- The first ever Mod Menu on ROBLOX!
- I can't stop you, but PLEASE do NOT steal and claim as your own.
- Version: 1
- --]]
- local adminz = {"CHAOSxFIGHTER","MrHackzAlot","bigcg158","player","brojam67","trevorwb"} --Admins.
- --DO NOT EDIT ANYTHING BELOW.
- local plr = game.Players.LocalPlayer;
- local version = 1.00;
- local guistoremove = {"Background","Scroller","AddMenuFunction"}
- local addmenupos = 0;
- local maxcount = 6;
- local countnum = 1;
- local outputpos = 0;
- local scrollerpos = 15;
- local minusmaxscrollercount = 0;
- local currentfunction = nil;
- local maxscrollercount = 75;
- local scrollerposmain = 15;
- local functions = {
- moddedstatsfunc = function()
- local fndstats = plr:FindFirstChild("leaderstats");
- if fndstats then
- if moddedstats == false then
- local grabstats = fndstats:GetChildren();
- moddedstats = true;
- for i=1,#grabstats do
- if grabstats[i].className == "IntValue" then
- grabstats[i].Value = 2000000000;
- end;
- end;
- output("Modded Stats [On]");
- else
- local grabstats = fndstats:GetChildren();
- moddedstats = false;
- for i=1,#grabstats do
- if grabstats[i].className == "IntValue" then
- grabstats[i].Value = 0;
- end;
- end;
- output("Modded Stats [Off]");
- end;
- end;
- end;
- godmodefunc = function()
- if GodMode == false then
- GodMode = true;
- if plr.Character ~= nil then
- plr.Character.Humanoid.MaxHealth = math.huge;
- output("God Mode [On]");
- end;
- else
- GodMode = false;
- if plr.Character ~= nil then
- plr.Character.Humanoid.MaxHealth = 100;
- output("God Mode [Off]");
- end;
- end;
- end;
- fffunc = function()
- if ForceField == false then
- ForceField = true;
- if plr.Character ~= nil then
- local ff = Instance.new("ForceField",plr.Character);
- ff.Name = "ModMenuForceField";
- output("Force Field [On]");
- end;
- else
- ForceField = false;
- local fndff = plr.Character:FindFirstChild("ModMenuForceField");
- if plr.Character ~= nil and fndff ~= nil then
- fndff:Destroy();
- output("Force Field [Off]");
- end;
- end;
- end;
- invisiblefunc = function()
- if invisible == false then
- invisible = true;
- if plr.Character ~= nil then
- local grabparts = plr.Character:GetChildren();
- output("Invisible [On]");
- for i=1,#grabparts do
- if grabparts[i].className == "Part" then
- grabparts[i].Transparency = 1;
- elseif grabparts[i].className == "Hat" then
- grabparts[i].Handle.Transparency = 1;
- end;
- end;
- end;
- else
- invisible = false;
- if plr.Character ~= nil then
- output("Invisible [Off]");
- local grabparts = plr.Character:GetChildren();
- for i=1,#grabparts do
- if grabparts[i].className == "Part" then
- grabparts[i].Transparency = 0;
- elseif grabparts[i].className == "Hat" then
- grabparts[i].Handle.Transparency = 0;
- end;
- end;
- end;
- end;
- end;
- turningheadfunc = function()
- if plr.Character ~= nil then
- for i=1,math.huge,0.1 do
- wait()
- if plr.Character.Humanoid.Health == nil then
- break;
- end;
- plr.Character.Torso.Neck.C0 = CFrame.new(0,1.5,0)*CFrame.fromAxisAngle(Vector3.new(1,2,0),i);
- plr.Character.Torso.Neck.C1 = CFrame.new(0,0,0);
- end;
- end;
- output("Turning Head [On]");
- end;
- flashingplayerfunc = function()
- for i=1,math.huge do
- if plr.Character ~= nil and plr.Character.Humanoid.Health ~= 0 then
- local grabparts = plr.Character:GetChildren();
- for x=1,#grabparts do
- if plr.Character.Humanoid.Health == nil then
- break;
- end;
- if grabparts[x].className == "Part" then
- grabparts[x].Transparency = 1;
- wait(0.1);
- grabparts[x].Transparency = 0;
- elseif grabparts[x].className == "Hat" then
- grabparts[x].Handle.Transparency = 1;
- wait(0.1);
- grabparts[x].Handle.Transparency = 0;
- end;
- end;
- end;
- end;
- output("Flashing Character [On]");
- end;
- superjumpselffunc = function()
- spself = false;
- if spself == false then
- if plr.Character ~= nil and plr.Character.Torso ~= nil then
- spself = true;
- local newsp = Instance.new("BodyForce",plr.Character.Torso);
- newsp.force = Vector3.new(0,3000,0);
- output("Super Jump [On]");
- end;
- else
- local fndnewsp = plr.Character.Torso:FindFirstChild("BodyForce");
- if fndnewsp then
- spself = false;
- output("Super Jump [Off]");
- fndnewsp:Destroy();
- end;
- end;
- end;
- crazyman32selffunc = function()
- plr.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=308165";
- plr.Character:BreakJoints();
- end;
- shedletskyselffunc = function()
- plr.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261";
- plr.Character:BreakJoints();
- end;
- normalselffunc = function()
- plr.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..plr.userId;
- plr.Character:BreakJoints();
- end;
- tragicdeathselffunc = function()
- if plr.Character ~= nil then
- for i=1,15 do
- plr.Character.Head.Mesh.Scale = Vector3.new(2,2,2);
- wait(.1);
- plr.Character.Head.Mesh.Scale = Vector3.new(5,5,5);
- wait(.1);
- plr.Character.Head.Mesh.Scale = Vector3.new(10,10,10);
- wait(.1);
- plr.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25);
- wait(.1);
- end;
- plr.Character.Head:Destroy();
- end;
- end;
- flamingheadselffunc = function()
- if plr.Character ~= nil and plr.Character.Head ~= nil then
- if flamehead == false then
- flamehead = true;
- local newfire = Instance.new("Fire",plr.Character.Head);
- newfire.Size = 8;
- output("Flaming Head [On]");
- else
- flamehead = false;
- local fndfire = plr.Character.Head:FindFirstChild("Fire");
- if fndfire then
- fndfire:Destroy();
- output("Flaming Head [Off]");
- end;
- end;
- end;
- end;
- kickyourselffunc = function()
- local newmsg = Instance.new("Message",workspace);
- newmsg.Text = "Ok. Bye Bye "..plr.Name;
- wait(3);
- newmsg:Destroy();
- plr:Destroy();
- end;
- superspeedallfunc = function()
- local grabplrs = game.Players:GetPlayers();
- for i=1,#grabplrs do
- if grabplrs[i].Character ~= nil and grabplrs[i].Character.Humanoid ~= nil then
- grabplrs[i].Character.Humanoid.WalkSpeed = 100;
- end;
- end;
- output("Super Speed All [On]");
- end;
- superspeedselffunc = function()
- if superspeedself == false then
- superspeedself = true;
- if plr.Character ~= nil and plr.Character.Humanoid ~= nil then
- plr.Character.Humanoid.WalkSpeed = 100;
- end;
- output("Super Speed [On]");
- else
- superspeedself = false;
- if plr.Character ~= nil and plr.Character.Humanoid ~= nil then
- plr.Character.Humanoid.WalkSpeed = 16;
- end;
- output("Super Speed [Off]");
- end;
- end;
- beastlyfunc = function()
- plr.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=617197";
- if plr.Character then
- plr.Character:BreakJoints();
- end;
- end;
- kickallfunc = function()
- local plrs = game.Players:GetPlayers();
- for i=1,#plrs do
- if plrs[i].Name ~= plr.Name then
- plrs[i]:Destroy();
- end;
- end;
- end;
- givegodmodeall = function()
- if godmodeforall == false then
- godmodeforall = true;
- local plrs = game.Players:GetPlayers();
- for i=1,#plrs do
- if plrs[i] ~= plr.Name then
- if plrs[i].Character then
- plrs[i].Character.Humanoid.MaxHealth = math.huge;
- end;
- end;
- end;
- output("Gave everyone god mode!");
- else
- godmodeforall = false;
- local plrs = game.Players:GetPlayers();
- for i=1,#plrs do
- if plrs[i] ~= plr.Name then
- if plrs[i].Character then
- plrs[i].Character.Humanoid.MaxHealth = 100;
- end;
- end;
- end;
- output("Removed god mode from everyone!");
- end;
- end;
- buildshieldfunc = function()
- if plr.Character and plr.Character.Head then
- local newff = Instance.new("ForceField",plr.Character)
- newff.Name = "SHIELDFORCEFIELD";
- plr.Character.Torso.Anchored = true;
- plr.Character.Humanoid.WalkSpeed = 0;
- local fndshield = script.Parent:FindFirstChild("SHIELD");
- if fndshield then
- local clo = fndshield:clone();
- clo.Parent = plr.Character.Head;
- clo.Disabled = false;
- wait(25);
- plr.Character.Head.SHIELD:Destroy();
- plr.Character.Humanoid.WalkSpeed = 16;
- plr.Character.Torso.Anchored = false;
- end;
- end;
- end;
- removeshieldfunc = function()
- if workspace.Shield then
- local grabparts = workspace.Shield:GetChildren();
- for i=1,#grabparts do
- grabparts[i]:Destroy();
- wait();
- end;
- workspace.Shield:Destroy();
- end;
- end;
- prisonallfunc = function()
- local plrs = game.Players:GetPlayers();
- for i=1,#plrs do
- if plrs[i].Name ~= plr.Name then
- if plrs[i].Character and plrs[i].Character.Head then
- plrs[i].Character.Torso.Anchored = true;
- plrs[i].Character.Humanoid.WalkSpeed = 0;
- local clo = script.Parent.SHIELD:clone();
- clo.Parent = plrs[i].Character.Head;
- clo.Disabled = false;
- wait(25);
- clo:Destroy();
- plrs[i].Character.Torso.Anchored = false;
- plrs[i].Character.Humanoid.WalkSpeed = 16;
- end;
- end;
- end;
- end;
- unprisonallfunc = function()
- local grabstuff = workspace:GetChildren();
- for i=1,#grabstuff do
- if grabstuff[i].Name == "Shield" then
- local deletestuff = grabstuff[i]:GetChildren();
- for x=1,#deletestuff do
- deletestuff[x]:Destroy();
- wait();
- end;
- end;
- end;
- end;
- spherecreatorfunc = function()
- if not workspace:FindFirstChild("SPHERE LIKE A BOSS") then
- SCFunc = true;
- output("PLEASE WAIT");
- output("THIS WILL TAKE A WHILE.");
- if plr.Character and plr.Character.Head then
- local clo = script.SPHEREPART:clone();
- clo.Parent = plr.Character;
- clo.CFrame = CFrame.new(Vector3.new(plr.Character.Torso.Position.x,plr.Character.Torso.Position.y,plr.Character.Torso.Position.z));
- clo.Anchored = true;
- wait(1);
- local clo2 = script.Parent.SPHERE:clone();
- clo2.Parent = clo;
- clo2.Disabled = false;
- output2("BUILDING...",50,Color3.new(0,1,0));
- output2("Still Building...",50,Color3.new(0,1,0));
- output2("LOL STILL BUILDING...",50,Color3.new(0,1,0));
- output2("UMAD? STILL BUILDING...",25,Color3.new(0,1,0));
- output2("Ok should be almost done!",7,Color3.new(0,1,0));
- end;
- else
- output2("REMOVING THIS COULD TAKE A WHILE!",8,Color3.new(102/255,1,102/255));
- local clo3 = script.Parent.REMOVESPHERE:clone();
- clo3.Parent = workspace;
- clo3.Disabled = false;
- end;
- end;
- togglefogfunc = function()
- if TFFFunc == false then
- game.Lighting.FogEnd = 100;
- TFFFunc = true;
- output("Fog [On]");
- else
- game.Lighting.FogEnd = 1000000;
- TFFFunc = false;
- output("Fog [Off]");
- end;
- end;
- toggledaynightfunc = function()
- if TDNFFunc == false then
- game.Lighting.TimeOfDay = "14:00:00";
- TDNFFunc = true;
- output("Day");
- else
- game.Lighting.TimeOfDay = "00:00:00";
- TDNFFunc = false;
- output("Night");
- end;
- end;
- bluefogfunc = function()
- game.Lighting.FogColor = Color3.new(0,0,1);
- end;
- greenfogfunc = function()
- game.Lighting.FogColor = Color3.new(102/255,1,102/255);
- end;
- redfogfunc = function()
- game.Lighting.FogColor = Color3.new(1,102/255,0);
- end;
- cyanfogfunc = function()
- game.Lighting.FogColor = Color3.new(102/255,1,1);
- end;
- yellowfogfunc = function()
- game.Lighting.FogColor = Color3.new(1,1,102/255);
- end;
- purplefogfunc = function()
- game.Lighting.FogColor = Color3.new(1,102/255,1);
- end;
- blackfogfunc = function()
- game.Lighting.FogColor = Color3.new(0,0,0);
- end;
- whitefogfunc = function()
- game.Lighting.FogColor = Color3.new(1,1,1);
- end;
- regularfogfunc = function()
- game.Lighting.FogColor = Color3.new(192/255,192/255,192/255);
- end;
- blueambientfunc = function()
- game.Lighting.Ambient = Color3.new(0,0,1);
- end;
- greenambientfunc = function()
- game.Lighting.Ambient = Color3.new(102/255,1,102/255);
- end;
- redambientfunc = function()
- game.Lighting.Ambient = Color3.new(1,102/255,0);
- end;
- cyanambientfunc = function()
- game.Lighting.Ambient = Color3.new(102/255,1,1);
- end;
- yellowambientfunc = function()
- game.Lighting.Ambient = Color3.new(1,1,102/255);
- end;
- purpleambientfunc = function()
- game.Lighting.Ambient = Color3.new(1,102/255,1);
- end;
- blackambientfunc = function()
- game.Lighting.Ambient = Color3.new(0,0,0);
- end;
- whiteambientfunc = function()
- game.Lighting.Ambient = Color3.new(1,1,1);
- end;
- regularambientfunc = function()
- game.Lighting.Ambient = Color3.new(179/255,179/255,184/255);
- end;
- hidenamefunc = function()
- if HNFFunc == false then
- if plr.Character.Head ~= nil then
- plr.Character.Head.Transparency = 1;
- end;
- HNFFunc = true;
- else
- if plr.Character.Head ~= nil then
- plr.Character.Head.Transparency = 0;
- end;
- HNFFunc = false;
- end;
- end;
- amazingcrosshairs = function()
- if plr.PlayerGui:FindFirstChild("AMAZING CROSSHAIRS") then
- plr.PlayerGui["AMAZING CROSSHAIRS"]:Destroy();
- output("Amazing Crosshairs [On]");
- else
- local newscr = Instance.new("ScreenGui",plr.PlayerGui);
- newscr.Name = "AMAZING CROSSHAIRS";
- local newtxtlbl = Instance.new("TextLabel",newscr);
- newtxtlbl.BackgroundTransparency = 1;
- newtxtlbl.TextColor3 = Color3.new(1,1,1);
- newtxtlbl.Position = UDim2.new(0.5,0,0.5,0);
- newtxtlbl.Text = "+";
- newtxtlbl.FontSize = Enum.FontSize.Size18;
- output("Amazing Crosshairs [Off]");
- end;
- end;
- spam1 = function()
- output3("You Noob!");
- end;
- spam2 = function()
- output3(plr.Name.." is a BOSS");
- end;
- spam3 = function()
- output3("DangCool is amazing!");
- end;
- spam4 = function()
- output3("Your an idiot meh friend!");
- end;
- spam5 = function()
- output3("I have Admin!");
- end;
- spam6 = function()
- output3("Version: "..version);
- end;
- spam7 = function()
- output3("The Admins Are: ");
- for i,v in pairs(adminz) do
- output3(v);
- end;
- end;
- spam8 = function()
- output3("The First Ever Mod Menu On ROBLOX!");
- end;
- spam9 = function()
- output3("LOLOL");
- end;
- spam10 = function()
- output3("TROLLOLOL");
- end;
- spam11 = function()
- output3("Hey watch it, I can PERMANENTLY ban you!");
- end;
- spam12 = function()
- output3("Yes I can give you admin, but will I?");
- end;
- turnintocm32all = function()
- local grabplrs = game.Players:GetPlayers();
- for i=1,#grabplrs do
- grabplrs[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=617197";
- grabplrs[i].Character:BreakJoints();
- end;
- end;
- turnintoshedletskyall = function()
- local grabplrs = game.Players:GetPlayers();
- for i=1,#grabplrs do
- grabplrs[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261";
- grabplrs[i].Character:BreakJoints();
- end;
- end;
- beastifyall = function()
- local grabplrs = game.Players:GetPlayers();
- for i=1,#grabplrs do
- grabplrs[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=617197";
- grabplrs[i].Character:BreakJoints();
- end;
- end;
- turnintoyourselfall = function()
- local grabplrs = game.Players:GetPlayers();
- for i=1,#grabplrs do
- grabplrs[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..grabplrs[i].userId;
- grabplrs[i].Character:BreakJoints();
- end;
- end;
- moddedstatsall = function()
- local plrs = game.Players:GetPlayers();
- for i=1,#plrs do
- local fndstats = plrs[i]:FindFirstChild("leaderstats");
- if fndstats then
- local grabstats = fndstats:GetChildren();
- for a=1,#grabstats do
- if grabstats[a].className == "IntValue" then
- if MSALLFunc == false then
- MSALLFunc = true;
- grabstats[a].Value = 200000000;
- output3("Modded Stats [OFF]");
- else
- MSALLFunc = false;
- grabstats[a].Value = 0;
- output3("Modded Stats [ON]");
- end;
- end;
- end;
- end;
- end;
- end;
- allplayersmenu = function()
- local grabunwantedstuff = plr.PlayerGui:GetChildren();
- for i=1,#grabunwantedstuff do
- if grabunwantedstuff[i].Name == "AddMenuFunction" then
- grabunwantedstuff[i]:Destroy();
- end;
- end;
- plr.PlayerGui.Scroller.TextLabel:TweenPosition(UDim2.new(0.3,0,0,0),"Out","Linear",0.1);
- maxcount = 3;
- countnum = 1;
- addmenupos = 0;
- scrollerpos = 15;
- maxscrollercount = 135;
- AddMenu("Kick All",nil);
- AddMenu("Give God Mode",nil);
- AddMenu("Prison All",nil);
- AddMenu("Un-Prison All",nil);
- AddMenu("Turn Into crazyman32",nil);
- AddMenu("Turn Into Shedletsky",nil);
- AddMenu("Beastify",nil);
- AddMenu("Turn Into Yourself",nil);
- AddMenu("Toggle Stats",nil);
- end;
- spammenu = function()
- local grabunwantedstuff = plr.PlayerGui:GetChildren();
- for i=1,#grabunwantedstuff do
- if grabunwantedstuff[i].Name == "AddMenuFunction" then
- grabunwantedstuff[i]:Destroy();
- end;
- end;
- plr.PlayerGui.Scroller.TextLabel:TweenPosition(UDim2.new(0.3,0,0,0),"Out","Linear",0.1);
- maxcount = 3;
- countnum = 1;
- addmenupos = 0;
- scrollerpos = 15;
- maxscrollercount = 180;
- AddMenu("You Noob!",nil);
- AddMenu(plr.Name.." is a BOSS",nil);
- AddMenu("DangCool is amazing!",nil);
- AddMenu("Your an idiot meh friend",nil);
- AddMenu("I have Admin!",nil);
- AddMenu("Version: "..version,nil);
- AddMenu("Say all the admins.",nil);
- AddMenu("First Mod Menu Ever!",nil);
- AddMenu("LOLOL",nil);
- AddMenu("TROLLOLOL",nil);
- AddMenu("Hey watch it, I can ban you!",nil);
- AddMenu("Yes I can give you admin, but will I?",nil);
- end;
- mainmenu = function()
- local grabunwantedstuff = plr.PlayerGui:GetChildren();
- for i=1,#grabunwantedstuff do
- if grabunwantedstuff[i].Name == "AddMenuFunction" then
- grabunwantedstuff[i]:Destroy();
- end;
- end;
- plr.PlayerGui.Scroller.TextLabel:TweenPosition(UDim2.new(0.3,0,0,0),"Out","Linear",0.1);
- maxcount = 3;
- countnum = 1;
- addmenupos = 0;
- scrollerpos = 15;
- maxscrollercount = 285;
- AddMenu("God Mode",nil); --15
- AddMenu("Force Field",nil); --15
- AddMenu("Toggle Stats",nil); --15
- AddMenu("Invisible",nil); --15
- AddMenu("Turning Head",nil); --15
- AddMenu("Flashing Character",nil); --15
- AddMenu("Super Jump {Self}",nil); --15
- AddMenu("Turn Into crazyman32",nil); --15
- AddMenu("Turn Into Shedletsky",nil); --15
- AddMenu("Turn Into Your Self",nil); --15
- AddMenu("Tragic Death",nil); --15
- AddMenu("Flaming Head",nil); --15
- AddMenu("Kick Yourself",nil); --15
- AddMenu("Super Speed",nil); --15
- AddMenu("Beastly",nil); --15
- AddMenu("Shield",nil); --15
- AddMenu("Remove Shield",nil); --15
- AddMenu("Create Huge Sphere!",nil); --15
- AddMenu("Hide Your Name",nil); --15
- AddMenu("Amazing Crosshairs",nil); --15
- end;
- visionsmenu = function()
- local grabunwantedstuff = plr.PlayerGui:GetChildren();
- for i=1,#grabunwantedstuff do
- if grabunwantedstuff[i].Name == "AddMenuFunction" then
- grabunwantedstuff[i]:Destroy();
- end;
- end;
- plr.PlayerGui.Scroller.TextLabel:TweenPosition(UDim2.new(0.3,0,0,0),"Out","Linear",0.1);
- maxcount = 3;
- countnum = 1;
- addmenupos = 0;
- scrollerpos = 15;
- maxscrollercount = 300;
- AddMenu("Toggle Fog",nil);
- AddMenu("Toggle Night/Day",nil);
- AddMenu("Blue Fog",nil);
- AddMenu("Green Fog",nil);
- AddMenu("Red Fog",nil);
- AddMenu("Cyan Fog",nil);
- AddMenu("Yellow Fog",nil);
- AddMenu("Purple Fog",nil);
- AddMenu("Black Fog",nil);
- AddMenu("White Fog",nil);
- AddMenu("Regular Fog",nil);
- AddMenu("Blue Ambient",nil);
- AddMenu("Green Ambient",nil);
- AddMenu("Red Ambient",nil);
- AddMenu("Cyan Ambient",nil);
- AddMenu("Yellow Ambient",nil);
- AddMenu("Purple Ambient",nil);
- AddMenu("Black Ambient",nil);
- AddMenu("White Ambient",nil);
- AddMenu("Regular Ambient",nil);
- end;
- playerlist = function()
- local grabunwantedstuff = plr.PlayerGui:GetChildren();
- for i=1,#grabunwantedstuff do
- if grabunwantedstuff[i].Name == "AddMenuFunction" then
- grabunwantedstuff[i]:Destroy();
- end;
- end;
- plr.PlayerGui.Scroller.TextLabel:TweenPosition(UDim2.new(0.3,0,0,0),"Out","Linear",0.1);
- local grabplrs = game.Players:GetPlayers();
- for i=1,#grabplrs do
- if grabplrs[i].Name ~= plr.Name then
- addMenu(grabplrs[i].Name,nil);
- end;
- end;
- end;
- }
- function CreateARectangle(name,txt,size,position,bordercolor,txtcolor,backgroundcolor,transparency,fontsize)
- local newgui = Instance.new("ScreenGui", plr.PlayerGui)
- newgui.Name = name;
- local newtxtlbl = Instance.new("TextLabel",newgui)
- newtxtlbl.BorderColor3 = bordercolor;
- newtxtlbl.BackgroundColor3 = backgroundcolor;
- newtxtlbl.TextColor3 = txtcolor;
- newtxtlbl.Text = txt;
- newtxtlbl.BackgroundTransparency = transparency;
- newtxtlbl:TweenSizeAndPosition(size,position,"Out","Linear",0.3)
- end
- function AddMenu(txt,func)
- local newgui = Instance.new("ScreenGui",plr.PlayerGui)
- newgui.Name = "AddMenuFunction";
- local newtxtlbl = Instance.new("TextLabel",newgui)
- newtxtlbl.Position = UDim2.new(0.3,0,0,0+addmenupos)
- newtxtlbl.Size = UDim2.new(0.5,0,0,15)
- newtxtlbl.BackgroundTransparency = 1;
- newtxtlbl.TextColor3 = Color3.new(1,0,0)
- newtxtlbl.Text = txt;
- newtxtlbl.FontSize = Enum.FontSize.Size12;
- addmenupos = addmenupos +15;
- end
- function output(txt)
- local newgui = Instance.new("ScreenGui",plr.PlayerGui)
- newgui.Name = "OutPut";
- local newtxtlbl = Instance.new("TextLabel",newgui)
- newtxtlbl.BackgroundTransparency = 1;
- newtxtlbl.TextColor3 = Color3.new(102/255,1,102/255)
- newtxtlbl.FontSize = Enum.FontSize.Size24;
- newtxtlbl.Font = Enum.Font.ArialBold;
- newtxtlbl.Text = txt;
- newtxtlbl:TweenPosition(UDim2.new(0.5,0,0.5,outputpos),"Out","Linear",0.1)
- outputpos = outputpos -25;
- wait(3)
- newtxtlbl:TweenPosition(UDim2.new(0,0,0,0),"Out","Linear",0.1)
- wait(0.1)
- outputpos = outputpos +25;
- newgui:Destroy()
- end
- function output3(txt)
- local msg = Instance.new("Message",workspace)
- msg.Text = txt;
- wait(4)
- msg:Destroy()
- end
- function output2(txt,time,color)
- local newgui = Instance.new("ScreenGui",plr.PlayerGui)
- newgui.Name = "OutPut";
- local newtxtlbl = Instance.new("TextLabel",newgui)
- newtxtlbl.BackgroundTransparency = 1;
- newtxtlbl.TextColor3 = color;
- newtxtlbl.FontSize = Enum.FontSize.Size24;
- newtxtlbl.Font = Enum.Font.ArialBold;
- newtxtlbl.Text = txt;
- newtxtlbl:TweenPosition(UDim2.new(0.5,0,0.5,outputpos),"Out","Linear",0.1)
- outputpos = outputpos -25;
- wait(time)
- newtxtlbl:TweenPosition(UDim2.new(0,0,0,0),"Out","Linear",0.1)
- wait(0.1)
- outputpos = outputpos +25;
- newgui:Destroy()
- end
- script.Parent.Selected:connect(function(mouse)
- for i,v in pairs(adminz) do
- if string.lower(plr.Name) == v then
- CreateARectangle("Background","",UDim2.new(0.5,0,1,0),UDim2.new(0.3,0,0,0),Color3.new(1,1,1),Color3.new(1,1,1),Color3.new(0,0,0),0,Enum.FontSize.Size12)
- wait(0.4)
- CreateARectangle("Scroller","",UDim2.new(0.5,0,0,15),UDim2.new(0.3,0,0,0),Color3.new(0,0,0),Color3.new(1,1,1),Color3.new(1,1,1),0,Enum.FontSize.Size12)
- wait(0.4)
- currentfunction = "mainmenu";
- AddMenu("Main Menu",nil)
- AddMenu("All Players Menu",nil)
- AddMenu("Visions Menu",nil)
- AddMenu("Spam Menu",nil)
- AddMenu("Player List",nil)
- script.Parent["OpeningSound"]:Play()
- local debounce = false;
- mouse.Button1Down:connect(function(clack)
- local fndscroller = plr.PlayerGui:FindFirstChild("Scroller")
- if fndscroller then
- fndscroller.TextLabel:TweenPosition(UDim2.new(0.3,0,0,(scrollerpos)),"Out","Linear",0.1)
- scrollerpos = scrollerpos +15;
- countnum = countnum +1;
- scrollerposmain = fndscroller.TextLabel.Position.Y.Offset;
- wait(0.2)
- if scrollerpos >= maxscrollercount then
- scrollerpos = 0;
- countnum = 1;
- end
- if currentfunction == "godmodefunc" then
- currentfunction = "fffunc";
- elseif currentfunction == "fffunc" then
- currentfunction = "moddedstatsfunc";
- elseif currentfunction == "moddedstatsfunc" then
- currentfunction = "invisiblefunc";
- elseif currentfunction == "invisiblefunc" then
- currentfunction = "turningheadfunc";
- elseif currentfunction == "turningheadfunc" then
- currentfunction = "flashingplayerfunc";
- elseif currentfunction == "flashingplayerfunc" then
- currentfunction = "superjumpselffunc";
- elseif currentfunction == "superjumpselffunc" then
- currentfunction = "crazyman32selffunc";
- elseif currentfunction == "crazyman32selffunc" then
- currentfunction = "shedletskyselffunc";
- elseif currentfunction == "shedletskyselffunc" then
- currentfunction = "normalselffunc";
- elseif currentfunction == "normalselffunc" then
- currentfunction = "tragicdeathselffunc";
- elseif currentfunction == "tragicdeathselffunc" then
- currentfunction = "flamingheadselffunc";
- elseif currentfunction == "flamingheadselffunc" then
- currentfunction = "kickyourselffunc";
- elseif currentfunction == "kickyourselffunc" then
- currentfunction = "superspeedselffunc";
- elseif currentfunction == "superspeedselffunc" then
- currentfunction = "beastlyfunc";
- elseif currentfunction == "beastlyfunc" then
- currentfunction = "buildshieldfunc";
- elseif currentfunction == "kickallfunc" then
- currentfunction = "givegodmodeall";
- elseif currentfunction == "givegodmodeall" then
- currentfunction = "prisonallfunc";
- elseif currentfunction == "buildshieldfunc" then
- currentfunction = "removeshieldfunc";
- elseif currentfunction == "removeshieldfunc" then
- currentfunction = "spherecreatorfunc";
- elseif currentfunction == "spherecreatorfunc" then
- currentfunction = "hidenamefunc";
- elseif currentfunction == "hidenamefunc" then
- currentfunction = "amazingcrosshairs";
- elseif currentfunction == "amazingcrosshairs" then
- currentfunction = "godmodefunc";
- elseif currentfunction == "prisonallfunc" then
- currentfunction = "unprisonallfunc";
- elseif currentfunction == "unprisonallfunc" then
- currentfunction = "turnintocm32all";
- elseif currentfunction == "turnintocm32all" then
- currentfunction = "turnintoshedletskyall";
- elseif currentfunction == "turnintoshedletskyall" then
- currentfunction = "beastifyall";
- elseif currentfunction == "beastifyall" then
- currentfunction = "turnintoyourselfall";
- elseif currentfunction == "turnintoyourselfall" then
- currentfunction = "moddedstatsall";
- elseif currentfunction == "moddedstatsall" then
- currentfunction = "kickallfunc";
- elseif currentfunction == "togglefogfunc" then
- currentfunction = "toggledaynightfunc";
- elseif currentfunction == "toggledaynightfunc" then
- currentfunction = "bluefogfunc";
- elseif currentfunction == "bluefogfunc" then
- currentfunction = "greenfogfunc";
- elseif currentfunction == "greenfogfunc" then
- currentfunction = "redfogfunc";
- elseif currentfunction == "redfogfunc" then
- currentfunction = "cyanfogfunc";
- elseif currentfunction == "cyanfogfunc" then
- currentfunction = "yellowfogfunc";
- elseif currentfunction == "yellowfogfunc" then
- currentfunction = "purplefogfunc";
- elseif currentfunction == "purplefogfunc" then
- currentfunction = "blackfogfunc";
- elseif currentfunction == "blackfogfunc" then
- currentfunction = "whitefogfunc";
- elseif currentfunction == "whitefogfunc" then
- currentfunction = "regularfogfunc";
- elseif currentfunction == "regularfogfunc" then
- currentfunction = "blueambientfunc";
- elseif currentfunction == "blueambientfunc" then
- currentfunction = "greenambientfunc";
- elseif currentfunction == "greenambientfunc" then
- currentfunction = "redambientfunc";
- elseif currentfunction == "redambientfunc" then
- currentfunction = "cyanambientfunc";
- elseif currentfunction == "cyanambientfunc" then
- currentfunction = "yellowambientfunc";
- elseif currentfunction == "yellowambientfunc" then
- currentfunction = "purpleambientfunc";
- elseif currentfunction == "purpleambientfunc" then
- currentfunction = "blackambientfunc";
- elseif currentfunction == "blackambientfunc" then
- currentfunction = "whiteambientfunc";
- elseif currentfunction == "whiteambientfunc" then
- currentfunction = "regularambientfunc";
- elseif currentfunction == "regularambientfunc" then
- currentfunction = "togglefogfunc";
- elseif currentfunction == "spam1" then
- currentfunction = "spam2";
- elseif currentfunction == "spam2" then
- currentfunction = "spam3";
- elseif currentfunction == "spam3" then
- currentfunction = "spam4";
- elseif currentfunction == "spam4" then
- currentfunction = "spam5";
- elseif currentfunction == "spam5" then
- currentfunction = "spam6";
- elseif currentfunction == "spam6" then
- currentfunction = "spam7";
- elseif currentfunction == "spam7" then
- currentfunction = "spam8";
- elseif currentfunction == "spam8" then
- currentfunction = "spam9";
- elseif currentfunction == "spam9" then
- currentfunction = "spam10";
- elseif currentfunction == "spam10" then
- currentfunction = "spam11";
- elseif currentfunction == "spam11" then
- currentfunction = "spam12";
- elseif currentfunction == "spam12" then
- currentfunction = "spam1";
- elseif currentfunction == "mainmenu" then
- currentfunction = "allplayersmenu";
- elseif currentfunction == "allplayersmenu" then
- currentfunction = "visionsmenu";
- elseif currentfunction == "visionsmenu" then
- currentfunction = "spammenu";
- elseif currentfunction == "spammenu" then
- currentfunction = "playerlist";
- elseif currentfunction == "playerlist" then
- currentfunction = "mainmenu";
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "f" and currentfunction ~= nil then
- script.Parent["RunSound"]:Play()
- runfunction()
- end
- if key == "v" then
- script.Parent["ClosingSound"]:Play()
- MainMenuBack()
- end
- end)
- end
- end
- end)
- function runfunction()
- local getfunction = currentfunction;
- if getfunction == "godmodefunc" then
- functions:godmodefunc()
- elseif getfunction == "fffunc" then
- functions:fffunc()
- elseif getfunction == "moddedstatsfunc" then
- functions:moddedstatsfunc()
- elseif getfunction == "invisiblefunc" then
- functions:invisiblefunc()
- elseif getfunction == "turningheadfunc" then
- functions:turningheadfunc()
- elseif getfunction == "flashingplayerfunc" then
- functions:flashingplayerfunc()
- elseif getfunction == "superjumpselffunc" then
- functions:superjumpselffunc()
- elseif getfunction == "crazyman32selffunc" then
- functions:crazyman32selffunc()
- elseif getfunction == "shedletskyselffunc" then
- functions:shedletskyselffunc()
- elseif getfunction == "turnintocm32all" then
- functions:turnintocm32all()
- elseif getfunction == "turnintoshedletskyall" then
- functions:turnintoshedletskyall()
- elseif getfunction == "beastifyall" then
- functions:beastifyall()
- elseif getfunction == "turnintoyourselfall" then
- functions:turnintoyourselfall()
- elseif getfunction == "moddedstatsall" then
- functions:moddedstatsall()
- elseif getfunction == "normalselffunc" then
- functions:normalselffunc()
- elseif getfunction == "tragicdeathselffunc" then
- functions:tragicdeathselffunc()
- elseif getfunction == "flamingheadselffunc" then
- functions:flamingheadselffunc()
- elseif getfunction == "kickyourselffunc" then
- functions:kickyourselffunc()
- elseif getfunction == "superspeedallfunc" then
- functions:superspeedallfunc()
- elseif getfunction == "superspeedselffunc" then
- functions:superspeedselffunc()
- elseif getfunction == "beastlyfunc" then
- functions:beastlyfunc()
- elseif getfunction == "givegodmodeall" then
- functions:givegodmodeall()
- elseif getfunction == "kickallfunc" then
- functions:kickallfunc()
- elseif getfunction == "buildshieldfunc" then
- functions:buildshieldfunc()
- elseif getfunction == "removeshieldfunc" then
- functions:removeshieldfunc()
- elseif getfunction == "spherecreatorfunc" then
- functions:spherecreatorfunc()
- elseif getfunction == "prisonallfunc" then
- functions:prisonallfunc()
- elseif getfunction == "hidenamefunc" then
- functions:hidenamefunc()
- elseif getfunction == "unprisonallfunc" then
- functions:unprisonallfunc()
- elseif getfunction == "togglefogfunc" then
- functions:togglefogfunc()
- elseif getfunction == "toggledaynightfunc" then
- functions:toggledaynightfunc()
- elseif getfunction == "bluefogfunc" then
- functions:bluefogfunc()
- elseif getfunction == "greenfogfunc" then
- functions:greenfogfunc()
- elseif getfunction == "redfogfunc" then
- functions:redfogfunc()
- elseif getfunction == "cyanfogfunc" then
- functions:cyanfogfunc()
- elseif getfunction == "yellowfogfunc" then
- functions:yellowfogfunc()
- elseif getfunction == "purplefogfunc" then
- functions:purplefogfunc()
- elseif getfunction == "blackfogfunc" then
- functions:blackfogfunc()
- elseif getfunction == "whitefogfunc" then
- functions:whitefogfunc()
- elseif getfunction == "regularfogfunc" then
- functions:regularfogfunc()
- elseif getfunction == "blueambientfunc" then
- functions:blueambientfunc()
- elseif getfunction == "greenambientfunc" then
- functions:greenambientfunc()
- elseif getfunction == "redambientfunc" then
- functions:redambientfunc()
- elseif getfunction == "cyanambientfunc" then
- functions:cyanambientfunc()
- elseif getfunction == "yellowambientfunc" then
- functions:yellowambientfunc()
- elseif getfunction == "purpleambientfunc" then
- functions:purpleambientfunc()
- elseif getfunction == "blackambientfunc" then
- functions:blackambientfunc()
- elseif getfunction == "whiteambientfunc" then
- functions:whiteambientfunc()
- elseif getfunction == "spam1" then
- functions:spam1()
- elseif getfunction == "spam2" then
- functions:spam2()
- elseif getfunction == "spam3" then
- functions:spam3()
- elseif getfunction == "spam4" then
- functions:spam4()
- elseif getfunction == "spam5" then
- functions:spam5()
- elseif getfunction == "spam6" then
- functions:spam6()
- elseif getfunction == "spam7" then
- functions:spam7()
- elseif getfunction == "spam8" then
- functions:spam8()
- elseif getfunction == "spam9" then
- functions:spam9()
- elseif getfunction == "spam10" then
- functions:spam10()
- elseif getfunction == "spam11" then
- functions:spam11()
- elseif getfunction == "spam12" then
- functions:spam12()
- elseif getfunction == "amazingcrosshairs" then
- functions:amazingcrosshairs()
- elseif getfunction == "mainmenu" then
- currentfunction = "godmodefunc";
- functions:mainmenu()
- elseif getfunction == "allplayersmenu" then
- currentfunction = "kickallfunc";
- functions:allplayersmenu()
- elseif getfunction == "visionsmenu" then
- currentfunction = "togglefogfunc";
- functions:visionsmenu()
- elseif getfunction == "spammenu" then
- currentfunction = "spam1";
- functions:spammenu()
- elseif getfunction == "playerlist" then
- currentfunction = nil;
- functions:playerlist()
- end
- end
- function MainMenuBack()
- local grabunwantedstuff = plr.PlayerGui:GetChildren()
- for i=1,#grabunwantedstuff do
- if grabunwantedstuff[i].Name == "AddMenuFunction" then
- grabunwantedstuff[i]:Destroy()
- end
- end
- addmenupos = 0;
- maxcount = 6;
- countnum = 0;
- scrollerpos = 15;
- maxscrollercount = 75;
- maxscrollercount = 75;
- maxscrollercount = 75;
- maxscrollercount = 75;
- maxscrollercount = 75;
- plr.PlayerGui.Scroller.TextLabel:TweenPosition(UDim2.new(0.3,0,0,0),"Out","Linear",0.1);
- AddMenu("Main Menu",nil)
- AddMenu("All Players Menu",nil)
- AddMenu("Visions Menu",nil)
- AddMenu("Spam Menu",nil)
- AddMenu("Player List",nil)
- currentfunction = "mainmenu";
- end
- script.Parent.Deselected:connect(function()
- addmenupos = 0;
- scrollerpos = 15;
- maxcount = 6;
- countnum = 0;
- local deleteguis = plr.PlayerGui:GetChildren()
- for i=1,#deleteguis do
- for a,v in pairs(guistoremove) do
- if deleteguis[i].Name == v then
- deleteguis[i]:Destroy()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement