Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Topkek()
- -- edited by bork so it works with proto XD
- local s = Instance.new ("Sound", workspace)
- s.SoundId = 'rbxassetid://198856346'
- s:Play()
- local topkek = {}
- topkek.patch = '1.0.5a'
- topkek.data = {}
- topkek.commandbase = {}
- topkek.navigation = {}
- topkek.banmgr = {}
- topkek.lplr = game:GetService('Players').LocalPlayer
- topkek.tools = {}
- topkek.tools.gui = {}
- topkek.tools.util = {}
- topkek.tools.animator = {}
- topkek.windows = {}
- topkek.windows.lplr = {}
- topkek.windows.server = {}
- topkek.windows.players = {}
- topkek.windows.destruction = {}
- topkek.windows.scripts = {}
- topkek.windows.misc = {}
- topkek.misc = {}
- local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- NewGuiPart1.Name = "4.0"
- -------
- local NewGuiPart2 = Instance.new("Frame")
- NewGuiPart2.Active = true
- NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
- NewGuiPart2.BorderSizePixel = 0
- NewGuiPart2.Name = "Main"
- NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
- NewGuiPart2.Selectable = true
- NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
- NewGuiPart2.Visible = false
- NewGuiPart2.ClipsDescendants = true
- NewGuiPart2.Draggable = true
- NewGuiPart2.Parent = NewGuiPart1
- -------
- local NewGuiPart3 = Instance.new("Frame")
- NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
- NewGuiPart3.BorderSizePixel = 0
- NewGuiPart3.Name = "Topbar"
- NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
- NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
- NewGuiPart3.Parent = NewGuiPart2
- -------
- local NewGuiPart4 = Instance.new("TextLabel")
- NewGuiPart4.BackgroundTransparency = 1
- NewGuiPart4.Name = "PlayerName"
- NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
- NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
- NewGuiPart4.Visible = false
- NewGuiPart4.ZIndex = 4
- NewGuiPart4.Font = Enum.Font.Arcade
- NewGuiPart4.FontSize = Enum.FontSize.Size18
- NewGuiPart4.Text = "Player1"
- NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
- NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
- NewGuiPart4.Parent = NewGuiPart3
- -------
- local NewGuiPart5 = Instance.new("Frame")
- NewGuiPart5.BackgroundTransparency = 1
- NewGuiPart5.Name = "Controllers"
- NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
- NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
- NewGuiPart5.Parent = NewGuiPart3
- -------
- local NewGuiPart6 = Instance.new("TextButton")
- NewGuiPart6.Active = true
- NewGuiPart6.AutoButtonColor = false
- NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
- NewGuiPart6.BorderSizePixel = 0
- NewGuiPart6.Name = "Exit"
- NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
- NewGuiPart6.Selectable = true
- NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
- NewGuiPart6.Style = Enum.ButtonStyle.Custom
- NewGuiPart6.FontSize = Enum.FontSize.Size14
- NewGuiPart6.Text = ""
- NewGuiPart6.Parent = NewGuiPart5
- -------
- local NewGuiPart7 = Instance.new("TextButton")
- NewGuiPart7.Active = true
- NewGuiPart7.AutoButtonColor = false
- NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
- NewGuiPart7.BorderSizePixel = 0
- NewGuiPart7.Name = "Hide"
- NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
- NewGuiPart7.Selectable = true
- NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
- NewGuiPart7.Style = Enum.ButtonStyle.Custom
- NewGuiPart7.FontSize = Enum.FontSize.Size14
- NewGuiPart7.Text = ""
- NewGuiPart7.Parent = NewGuiPart5
- -------
- local NewGuiPart8 = Instance.new("TextLabel")
- NewGuiPart8.BackgroundTransparency = 1
- NewGuiPart8.Name = "IsFE"
- NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
- NewGuiPart8.FontSize = Enum.FontSize.Size18
- NewGuiPart8.Text = "Not FE"
- NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
- NewGuiPart8.TextStrokeTransparency = 0.69999998807907
- NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
- NewGuiPart8.Parent = NewGuiPart5
- -------
- local NewGuiPart9 = Instance.new("TextLabel")
- NewGuiPart9.BackgroundTransparency = 1
- NewGuiPart9.Name = "Stella"
- NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
- NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
- NewGuiPart9.ZIndex = 2
- NewGuiPart9.Font = Enum.Font.Arcade
- NewGuiPart9.FontSize = Enum.FontSize.Size18
- NewGuiPart9.Text = "[Stella]"
- NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
- NewGuiPart9.Parent = NewGuiPart3
- -------
- local NewGuiPart10 = Instance.new("Frame")
- NewGuiPart10.BackgroundTransparency = 1
- NewGuiPart10.Name = "Holder"
- NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
- NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
- NewGuiPart10.Parent = NewGuiPart2
- -------
- local NewGuiPart11 = Instance.new("Frame")
- NewGuiPart11.BackgroundTransparency = 1
- NewGuiPart11.Name = "Home"
- NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
- NewGuiPart11.Parent = NewGuiPart10
- -------
- local NewGuiPart12 = Instance.new("TextLabel")
- NewGuiPart12.BackgroundTransparency = 1
- NewGuiPart12.BorderSizePixel = 0
- NewGuiPart12.Name = "Title1"
- NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
- NewGuiPart12.Selectable = true
- NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
- NewGuiPart12.Font = Enum.Font.SourceSansBold
- NewGuiPart12.FontSize = Enum.FontSize.Size42
- NewGuiPart12.Text = "T0PK3K 4.0"
- NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
- NewGuiPart12.TextStrokeTransparency = 0.5
- NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
- NewGuiPart12.Parent = NewGuiPart11
- -------
- local NewGuiPart13 = Instance.new("TextLabel")
- NewGuiPart13.BackgroundTransparency = 1
- NewGuiPart13.BorderSizePixel = 0
- NewGuiPart13.Name = "Title2"
- NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
- NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
- NewGuiPart13.Font = Enum.Font.SourceSansBold
- NewGuiPart13.FontSize = Enum.FontSize.Size18
- NewGuiPart13.Text = "by nosyliam"
- NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
- NewGuiPart13.TextStrokeTransparency = 0.5
- NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
- NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
- NewGuiPart13.Parent = NewGuiPart12
- -------
- local NewGuiPart14 = Instance.new("Frame")
- NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
- NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
- NewGuiPart14.Name = "Container"
- NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
- NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
- NewGuiPart14.Parent = NewGuiPart11
- -------
- local NewGuiPart15 = Instance.new("TextLabel")
- NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
- NewGuiPart15.BorderSizePixel = 0
- NewGuiPart15.Name = "Message"
- NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
- NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
- NewGuiPart15.Font = Enum.Font.Highway
- NewGuiPart15.FontSize = Enum.FontSize.Size14
- NewGuiPart15.Text = "Server Message: variable is gay"
- NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
- NewGuiPart15.TextStrokeTransparency = 0.69999998807907
- NewGuiPart15.Parent = NewGuiPart11
- -------
- local NewGuiPart16 = Instance.new("TextBox")
- NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
- NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
- NewGuiPart16.Name = "Command"
- NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
- NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
- NewGuiPart16.Font = Enum.Font.Code
- NewGuiPart16.FontSize = Enum.FontSize.Size12
- NewGuiPart16.Text = "Press ; to enter a command"
- NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- NewGuiPart16.TextStrokeTransparency = 0.80000001192093
- NewGuiPart16.TextTransparency = 0.30000001192093
- NewGuiPart16.Parent = NewGuiPart10
- -------
- local NewGuiPart17 = Instance.new("Frame")
- NewGuiPart17.BackgroundTransparency = 1
- NewGuiPart17.Name = "Template"
- NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
- NewGuiPart17.Visible = false
- NewGuiPart17.ZIndex = 2
- NewGuiPart17.Parent = NewGuiPart10
- -------
- local NewGuiPart18 = Instance.new("ScrollingFrame")
- NewGuiPart18.Active = true
- NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
- NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
- NewGuiPart18.Name = "Container"
- NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
- NewGuiPart18.Selectable = true
- NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
- NewGuiPart18.ZIndex = 2
- NewGuiPart18.BottomImage = "rbxassetid://368504177"
- NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
- NewGuiPart18.MidImage = "rbxassetid://368504177"
- NewGuiPart18.ScrollBarThickness = 5
- NewGuiPart18.TopImage = "rbxassetid://368504177"
- NewGuiPart18.ClipsDescendants = true
- NewGuiPart18.Parent = NewGuiPart17
- -------
- local NewGuiPart19 = Instance.new("Frame")
- NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
- NewGuiPart19.BackgroundTransparency = 1
- NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
- NewGuiPart19.Name = "Navigator"
- NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
- NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
- NewGuiPart19.Visible = false
- NewGuiPart19.Parent = NewGuiPart10
- -------
- local NewGuiPart20 = Instance.new("Frame")
- NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
- NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
- NewGuiPart20.Name = "NavMain"
- NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
- NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
- NewGuiPart20.Parent = NewGuiPart19
- -------
- local NewGuiPart21 = Instance.new("TextButton")
- NewGuiPart21.Active = true
- NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
- NewGuiPart21.BorderSizePixel = 0
- NewGuiPart21.Name = "NavLeft"
- NewGuiPart21.Selectable = true
- NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
- NewGuiPart21.Style = Enum.ButtonStyle.Custom
- NewGuiPart21.FontSize = Enum.FontSize.Size14
- NewGuiPart21.Text = ""
- NewGuiPart21.Parent = NewGuiPart19
- -------
- local NewGuiPart22 = Instance.new("TextButton")
- NewGuiPart22.Active = true
- NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
- NewGuiPart22.BorderSizePixel = 0
- NewGuiPart22.Name = "NavRight"
- NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
- NewGuiPart22.Selectable = true
- NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
- NewGuiPart22.Style = Enum.ButtonStyle.Custom
- NewGuiPart22.FontSize = Enum.FontSize.Size14
- NewGuiPart22.Text = ""
- NewGuiPart22.Parent = NewGuiPart19
- -------
- local NewGuiPart23 = Instance.new("Frame")
- NewGuiPart23.Active = true
- NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
- NewGuiPart23.BorderSizePixel = 0
- NewGuiPart23.Name = "Navigation"
- NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
- NewGuiPart23.ZIndex = 2
- NewGuiPart23.Parent = NewGuiPart2
- -------
- local NewGuiPart24 = Instance.new("Frame")
- NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
- NewGuiPart24.BorderSizePixel = 0
- NewGuiPart24.Name = "Topbar"
- NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
- NewGuiPart24.ZIndex = 3
- NewGuiPart24.Parent = NewGuiPart23
- -------
- local NewGuiPart25 = Instance.new("ScrollingFrame")
- NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
- NewGuiPart25.BorderSizePixel = 0
- NewGuiPart25.Name = "Scroll"
- NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
- NewGuiPart25.Selectable = true
- NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
- NewGuiPart25.ZIndex = 3
- NewGuiPart25.BottomImage = "rbxassetid://368504177"
- NewGuiPart25.MidImage = "rbxassetid://368504177"
- NewGuiPart25.ScrollBarThickness = 6
- NewGuiPart25.TopImage = "rbxassetid://368504177"
- NewGuiPart25.ClipsDescendants = true
- NewGuiPart25.Parent = NewGuiPart23
- -------
- local NewGuiPart26 = Instance.new("Frame")
- NewGuiPart26.BackgroundTransparency = 1
- NewGuiPart26.Name = "Composite1"
- NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
- NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
- NewGuiPart26.ClipsDescendants = true
- NewGuiPart26.Parent = NewGuiPart1
- -------
- local NewGuiPart27 = Instance.new("TextLabel")
- NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
- NewGuiPart27.BorderSizePixel = 0
- NewGuiPart27.Name = "Label"
- NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
- NewGuiPart27.Font = Enum.Font.SourceSansBold
- NewGuiPart27.FontSize = Enum.FontSize.Size96
- NewGuiPart27.Text = "T"
- NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
- NewGuiPart27.Parent = NewGuiPart26
- -------
- local NewGuiPart28 = Instance.new("Frame")
- NewGuiPart28.BackgroundTransparency = 1
- NewGuiPart28.Name = "Composite2"
- NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
- NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
- NewGuiPart28.ClipsDescendants = true
- NewGuiPart28.Parent = NewGuiPart1
- -------
- local NewGuiPart29 = Instance.new("TextLabel")
- NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
- NewGuiPart29.BorderSizePixel = 0
- NewGuiPart29.Name = "Label"
- NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
- NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
- NewGuiPart29.Font = Enum.Font.SourceSansBold
- NewGuiPart29.FontSize = Enum.FontSize.Size96
- NewGuiPart29.Text = "T"
- NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
- NewGuiPart29.Parent = NewGuiPart28
- -------
- local NewGuiPart30 = Instance.new("Frame")
- NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
- NewGuiPart30.Name = "Solid"
- NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
- NewGuiPart30.Visible = false
- NewGuiPart30.ClipsDescendants = true
- NewGuiPart30.Parent = NewGuiPart1
- -------
- local NewGuiPart31 = Instance.new("TextLabel")
- NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
- NewGuiPart31.BorderSizePixel = 0
- NewGuiPart31.Name = "Label"
- NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
- NewGuiPart31.Font = Enum.Font.SourceSansBold
- NewGuiPart31.FontSize = Enum.FontSize.Size96
- NewGuiPart31.Text = "T"
- NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
- NewGuiPart31.Parent = NewGuiPart30
- topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
- topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
- topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
- topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
- topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
- AllowHovers = false
- PlayerChatHook, UpdateBanlist = nil
- cmd = {}
- --// data //--
- topkek.data.windows = {
- 'Home',
- 'LocalPlayer',
- 'Server',
- 'Players',
- 'Destruction',
- 'Scripts',
- 'Catalog',
- 'Music',
- 'Hats',
- 'Faces',
- 'Settings',
- 'Commands',
- 'Banlist',
- }
- color3 = function(r,g,b)
- return Color3.new(r/255, g/255, b/255)
- end
- --// doggo dropdown //--
- -- thanks krystal
- GUI = {
- TextBox = {
- Settings = {
- Font = Enum.Font.SourceSans;
- FontSize = Enum.FontSize.Size14;
- };
- Color = {
- Main = Color3.fromRGB(5,8,11);
- Border = Color3.fromRGB(27,42,53);
- Text = Color3.fromRGB(199,199,199);
- };
- New = function(Position, Size, Parent, ...)
- local arguments = {...};
- local TextBox = Instance.new("TextBox", Parent);
- TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
- TextBox.BorderColor3 = GUI.DropDown.Color.Border;
- TextBox.Font = GUI.TextBox.Settings.Font;
- TextBox.FontSize = GUI.TextBox.Settings.FontSize;
- TextBox.TextColor3 = GUI.TextBox.Color.Text;
- TextBox.Position = Position;
- TextBox.Size = Size;
- if #arguments then
- if arguments[1] then
- TextBox.Text = tostring(arguments[1]);
- else
- TextBox.Text = "";
- end
- end
- return TextBox;
- end;
- };
- DropDown = {
- Settings = {
- ScrollerAmount = 5; --A scroller will appear at this amount.
- ScrollBarThickness = 6;
- };
- Gfx = {
- Scroller = "rbxassetid://606572419";
- };
- Color = {
- Main = color3(107, 36, 36);
- Secondary = color3(113, 39, 39);
- Border = color3(127, 44, 44);
- Text = Color3.fromRGB(199,199,199);
- };
- New = function(Position, Size, Parent, ...)
- local vValue = {};
- local arguments = {...};
- local vSelected = Instance.new("StringValue");
- vSelected.Value = "nil";
- if arguments then
- if type(arguments) == "table" then
- for i=1,#(arguments) do
- if type(arguments[i]) == "table" then
- for f=1,#(arguments[i]) do
- table.insert(vValue, tostring((arguments[i])[f]));
- end
- else
- table.insert(vValue, tostring(arguments[i]));
- end
- end
- vSelected.Value = (vValue[1]);
- end
- end
- local Main = Instance.new("TextButton", Parent);
- Main.BackgroundColor3 = GUI.DropDown.Color.Main;
- Main.BorderColor3 = GUI.DropDown.Color.Border;
- Main.Position = Position;
- Main.Size = Size;
- Main.TextColor3 = GUI.DropDown.Color.Text;
- Main.FontSize = Enum.FontSize.Size14;
- Main.TextStrokeTransparency = 0.5;
- Main.TextXAlignment = Enum.TextXAlignment.Left;
- Main.Font = Enum.Font.SourceSans;
- Main.Text = " "..tostring(vSelected.Value);
- Main.ZIndex = 3
- local Icon = Instance.new("TextLabel", Main);
- Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
- Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
- Icon.BorderColor3 = GUI.DropDown.Color.Border;
- Icon.Position = UDim2.new(1,-2,1,-2);
- Icon.Size = UDim2.new(-1,4,-1,4);
- Icon.TextColor3 = GUI.DropDown.Color.Text;
- Icon.FontSize = Enum.FontSize.Size14;
- Icon.TextStrokeTransparency = 0.5;
- Icon.Font = Enum.Font.SourceSans;
- Icon.Text = "V"
- Icon.ZIndex = 4
- local Holder, Search;
- local ClearHolder = function()
- if Holder then
- Holder:ClearAllChildren();
- Holder.Size = UDim2.new(1,0,0,0);
- Holder.Visible = false;
- if Search then
- Search.Visible = false;
- end
- end
- end;
- local CreateButton;
- local RefreshDropDown = function()
- if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
- if not Holder or not Holder:IsA("Frame") then
- Holder = nil; Search = nil;
- Holder = Instance.new("Frame",Main);
- Holder.Size = UDim2.new(1,0,0,0);
- Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
- Holder.BorderColor3 = GUI.DropDown.Color.Border;
- Holder.Visible = false;
- Holder.ZIndex = 3
- end
- elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
- if not Holder or not Holder:IsA("ScrollingFrame") then
- Holder = nil; Search = nil;
- Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
- Search.Visible = false;
- Search.ZIndex = 4
- Search.Changed:connect(function(p)
- if p == "Text" then
- CreateButton(Search.Text);
- end
- end)
- Holder = Instance.new("ScrollingFrame",Main);
- Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
- Holder.BorderColor3 = GUI.DropDown.Color.Border;
- Holder.TopImage = GUI.DropDown.Gfx.Scroller;
- Holder.MidImage = GUI.DropDown.Gfx.Scroller;
- Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
- Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
- Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
- Holder.Visible = false;
- Holder.ZIndex = 3;
- end
- end
- if #vValue == 1 and vSelected.Value ~= vValue[1] then
- vSelected.Value = vValue[1];
- elseif #vValue == 0 then
- vSelected.Value = "nil";
- warn("Table amount is nil.");
- end
- Main.Text = " "..tostring(vSelected.Value);
- --ClearHolder();
- end;
- local Debounce = false;
- CreateButton = function(searches)
- if Debounce == false then
- Debounce = true;
- ClearHolder()
- Holder.Visible = true;
- local Searched = 0;
- if #vValue > 0 then
- for i=1,#vValue do
- if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
- Searched = Searched + 1;
- end
- end
- for i=1,#vValue do
- if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
- local Select = Instance.new("TextButton", Holder);
- Select.BackgroundColor3 = GUI.DropDown.Color.Main;
- Select.BorderColor3 = GUI.DropDown.Color.Border;
- Select.BackgroundTransparency = 1;
- Select.BorderSizePixel = 0;
- Select.Position = Position;
- if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
- Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
- else
- Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
- end
- Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
- Select.TextColor3 = GUI.DropDown.Color.Text;
- Select.FontSize = Enum.FontSize.Size14;
- Select.TextStrokeTransparency = 0.5;
- Select.Font = Enum.Font.SourceSans;
- Select.Text = tostring(vValue[i]);
- Select.ZIndex = 3
- Select.MouseButton1Click:connect(function()
- vSelected.Value = vValue[i];
- ClearHolder();
- RefreshDropDown();
- end)
- if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
- elseif Holder:IsA("ScrollingFrame") then
- Search.Visible = true;
- if #Holder:GetChildren() >= 1 then
- Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
- if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
- Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
- end
- elseif #Holder:GetChildren() < 1 then
- Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
- end
- end
- end
- end
- end
- Debounce = false;
- end
- end;
- RefreshDropDown();
- Main.MouseButton1Click:connect(function()
- CreateButton()
- if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
- Search:CaptureFocus();
- Search.Text = "";
- end
- end)
- topkek.lplr:GetMouse().Button1Down:connect(function()
- ClearHolder()
- end)
- return {
- Update = function()
- RefreshDropDown();
- end;
- GetValue = function()
- RefreshDropDown();
- return vValue;
- end;
- GetSelected = function()
- RefreshDropDown();
- return vSelected.Value;
- end;
- SetTable = function(F)
- vValue = F;
- RefreshDropDown();
- end;
- Changed = function(F)
- vSelected.Changed:connect(function()
- ypcall(function()
- F(vSelected.Value);
- end)
- end)
- return "ChangedEvent Hooked";
- end;
- AddValue = function(obj)
- local Type = type(obj);
- if Type == "table" then
- for i=1,#obj do
- table.insert(vValue, obj[i])
- end
- elseif Type == "string" or Type == "number" or Type == "boolean" then
- table.insert(vValue, obj)
- end
- RefreshDropDown();
- end;
- RemoveValue = function(obj)
- local Type = type(obj);
- if Type == "table" then
- for i=1,#vValue do
- for f=1,#obj do
- if tostring(obj[f]) == tostring(vValue[i]) then
- table.remove(vValue,i)
- end
- end
- end
- else
- for i=1,#vValue do
- if tostring(obj) == tostring(vValue[i]) then
- table.remove(vValue,i)
- end
- end
- end
- RefreshDropDown();
- end;
- ClearValue = function()
- vValue = {};
- RefreshDropDown();
- end;
- }
- end;
- };
- };
- --// util //--
- function topkek.tools.util.Object(o, p)
- local a, b = pcall(function()
- Instance.new(o)
- end)
- if not a then
- return
- end
- local obj = Instance.new(o)
- for prop, val in pairs(p) do
- pcall(function()
- obj[prop] = val
- end)
- end
- return obj
- end
- function topkek.tools.util.getContainer(n)
- if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
- return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
- else
- print("menu not found; returning template")
- return topkek.holder['Template']
- end
- end
- function topkek.tools.util.play(id)
- local mu = Instance.new("Sound", game:GetService('Workspace'))
- mu.Volume = 1
- mu.Looped = true
- mu.Pitch = 1
- mu.SoundId = "rbxassetid://"..tostring(id)
- mu:Play()
- end
- function topkek.tools.util.getTorso(plr) --r15 compatibility lole
- if plr.Character then
- if plr.Character:FindFirstChild('UpperTorso') then
- return plr.Character.UpperTorso
- elseif plr.Character:FindFirstChild('Torso') then
- return plr.Character.Torso
- else
- return nil
- end
- end
- end
- function topkek.tools.util.recurseRemove(x,type_)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v:Destroy()
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(x)
- end
- function topkek.tools.util.recurseFunc(type_,func)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- func(v)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- end
- function topkek.tools.util.trowel()
- local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
- T.Name = 'Custom Trowel'
- local p = Instance.new('Part')
- p.Name = 'Handle'
- p.Size = Vector3.new(1,4.4,1)
- p.Parent = T
- local specialMesh = Instance.new('SpecialMesh')
- specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
- specialMesh.MeshType = 'FileMesh'
- specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
- specialMesh.Parent = T.Handle
- local sound = Instance.new'Sound'
- sound.Name = 'build'
- sound.SoundId = 'rbxasset://sounds//bass.wav'
- sound.Volume = 1
- sound.Parent = T.Handle
- local brickHeight = 100
- local trowelSpeed = 0.05
- local brickWidth = 500
- local mouseConnection
- function newBrick(CF, P, color)
- local brick = Instance.new('Part')
- brick.BrickColor = color
- brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
- brick.Parent = game.Workspace
- brick:MakeJoints()
- brick.Material = 'Neon'
- brick.Name = 'DeleteMe'
- return brick, P + brick.Size
- end
- function genBrick(cFrame)
- local randBrickColor = BrickColor.Random()
- assert(brickWidth > 0)
- local yPos = 0
- while yPos < brickHeight do
- local vPos
- local X = -brickWidth / 2
- while X < brickWidth / 2 do
- local brick
- brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
- X = vPos.x
- wait(trowelSpeed)
- end
- yPos = vPos.y
- end
- end
- function calcPos(vec)
- if (math.abs(vec.x) > math.abs(vec.z)) then
- if vec.x > 0 then
- return Vector3.new(1, 0, 0)
- else
- return Vector3.new(-1, 0, 0)
- end
- else
- if (vec.z > 0) then
- return Vector3.new(0, 0, 1)
- else
- return Vector3.new(0, 0, -1)
- end
- end
- end
- T.Enabled = true
- T.Activated:connect(function()
- if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
- T.Enabled = false
- T.Handle.build:Play()
- genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
- T.Enabled = true
- end
- end)
- T.Equipped:connect(function()
- mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if (key == 'r') then
- for i,v in next, workspace:children'' do
- if (v.Name == 'DeleteMe') then
- v:Destroy()
- end
- end
- end
- end)
- end)
- T.Unequipped:connect(function()
- mouseConnection:disconnect()
- end)
- end
- function topkek.tools.util.recurseSet(type_,prop,val)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v[prop]=val
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- end
- function topkek.tools.util.recurseUltimate(d)
- topkek.tools.util.recurseDecal(d)
- topkek.tools.util.recurseParticles(d)
- end
- function topkek.tools.util.recurseDecal(img)
- img = 'rbxassetid://' .. img
- local function skybox(x)
- local sky = Instance.new("Sky",game.Lighting)
- local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(fcs) do
- sky["Skybox"..v]=x
- end
- end
- local function decal(p, b)
- local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
- for i, v in pairs(sides) do
- local a = Instance.new("Decal", p)
- a.Texture = b
- a.Face = v
- end
- end
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function() -- 'error occured, no output from Lua' LOLE
- if v:IsA("BasePart") then
- decal(v, img)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- skybox(img)
- end
- function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
- img = 'rbxassetid://' .. img
- local function skybox(x)
- local sky = Instance.new("Sky",game.Lighting)
- local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(fcs) do
- sky["Skybox"..v]=x
- end
- end
- local function particle(p, b)
- local a = Instance.new("ParticleEmitter", p)
- a.Rate = 500
- a.Lifetime = NumberRange.new(20, 30)
- a.VelocitySpread = 200
- a.Texture = b
- end
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function() -- 'error occured, no output from Lua' LOLE
- if v:IsA("BasePart") then
- particle(v, img)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- skybox(img)
- end
- function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v[prop]=val
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(obj)
- end
- function topkek.tools.util.doPlayers(cval, func)
- local plrs = {}
- if cval == 'All' then
- plrs = game:GetService('Players'):GetPlayers()
- else
- plrs = {game:GetService('Players'):FindFirstChild(cval)}
- end
- for i, v in pairs(plrs) do
- func(v)
- end
- end
- function topkek.tools.util.scalePlayer(sc,plr)
- local pchar = plr.Character
- if pchar:FindFirstChild("UpperTorso") then
- warn("Player [" ..plr.Name.. "] is R15.")
- return
- end
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, sc)
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Hat") then
- v.Parent = pchar
- end
- end
- end
- function topkek.tools.util.applyFace(id)
- local Char = topkek.lplr.Character
- if(Char)then
- local Type = id
- local Meme=id
- local BBG_SIZE=Char.Head.Size.X*1.25;
- local STUD_VECTOR_1=Char.Head.Size.Z/4;
- local STUD_VECTOR_2=Char.Head.Size.Z;
- local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
- bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
- bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
- bbg.Adornee=Char.Head;
- bbg.Name='BBGMEME';
- local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
- img.BackgroundTransparency=1;
- img.Image="rbxassetid://"..Meme;
- img.Size=UDim2.new(1,0,1,0)
- img.Name='Meme';
- for i,v in next,Char:children()do
- if(v.className=='Hat')then
- v=v:FindFirstChild'Handle';
- if(v)then
- v.Transparency=0
- end;
- end;
- end;
- end;
- end;
- function topkek.tools.util.weenieHutJunior(plr)
- plr=plr.Character
- Shaft=Instance.new("Part", plr)
- Shaft.Name='Shaft'
- Shaft.Size=Vector3.new(1, 2.5, 1)
- Shaft.TopSurface=0
- Shaft.BottomSurface=0
- Shaft.CanCollide=true
- Cyln=Instance.new("CylinderMesh", Shaft)
- Cyln.Scale=Vector3.new(0.5,0.7,0.5)
- Instance.new("Weld", plr)
- plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
- plr.Weld.Part1=plr.Shaft
- plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
- Shaft.BrickColor=BrickColor.new("Pastel brown")
- Tip=Instance.new("Part", plr)
- Tip.Name='Tip'
- Tip.TopSurface=0
- Tip.BottomSurface=0
- Tip.Size=Vector3.new(1, 1, 1)
- Tip.CanCollide=true
- Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
- Cyln2=Instance.new("SpecialMesh", Tip)
- Cyln2.MeshType='Sphere'
- Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
- Instance.new("Weld", plr).Name='Weld2'
- plr.Weld2.Part0=plr.Shaft
- plr.Weld2.Part1=plr.Tip
- plr.Weld2.C0=CFrame.new(0,-.9,0)
- Tip.BrickColor=BrickColor.new("Pink")
- -----
- Ball1=Instance.new("Part", plr)
- Ball1.Name='Ball1'
- Ball1.Size=Vector3.new(1, 1, 1)
- Ball1.TopSurface=0
- Ball1.BottomSurface=0
- Cyln3=Instance.new("SpecialMesh", Ball1)
- Cyln3.MeshType='Sphere'
- Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
- Instance.new("Weld", plr).Name='Weld3'
- plr.Weld3.Part0=plr.Shaft
- plr.Weld3.Part1=plr.Ball1
- plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
- Ball1.BrickColor=BrickColor.new("Pastel brown")
- -----
- Ball2=Instance.new("Part", plr)
- Ball2.Name='Ball2'
- Ball2.Size=Vector3.new(1, 1, 1)
- Ball2.TopSurface=0
- Ball2.BottomSurface=0
- Cyln3=Instance.new("SpecialMesh", Ball2)
- Cyln3.MeshType='Sphere'
- Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
- Instance.new("Weld", plr).Name='Weld4'
- plr.Weld4.Part0=plr.Shaft
- plr.Weld4.Part1=plr.Ball2
- plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
- Ball2.BrickColor=BrickColor.new("Pastel brown")
- end
- --// banmgr //--
- topkek.banmgr.isPrivate = false
- topkek.banmgr.whitelist = {}
- topkek.banmgr.bans = {}
- function topkek.banmgr.executeKick(z)
- local function doKick()
- if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
- z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
- SP.Position = z.Character.HumanoidRootPart.Position
- end
- until not game:GetService('Players'):FindFirstChild(z.Name)
- end)
- z.Character.Torso.Anchored = true
- end
- end
- repeat
- doKick()
- wait()
- until not z
- end
- function topkek.banmgr.loadFromFile()
- -- todo: read file
- topkek.settings.get()
- topkek.banmgr.bans = topkek.settingsTable['Bans']
- end
- function topkek.banmgr.addHardBan(p)
- -- todo: write file
- table.insert(topkek.banmgr.bans, p.Name)
- topkek.settings.get()
- table.insert(topkek.settingsTable['Bans'], p.Name)
- topkek.settings.write()
- print("Hardbanned " .. p.Name)
- UpdateBanlist()
- topkek.banmgr.executeKick(p)
- topkek.banmgr.loadFromFile()
- end
- function topkek.banmgr.addSoftBan(p)
- table.insert(topkek.banmgr.bans, p.Name)
- topkek.banmgr.executeKick(p)
- end
- function topkek.banmgr.plrBanned(p)
- for x, m in pairs(topkek.banmgr.bans) do
- if m == p.Name then
- return true
- end
- end
- return false
- end
- function topkek.banmgr.doWhitelist(p)
- print(p .. " whitelisted")
- table.insert(topkek.banmgr.whitelist, p)
- end
- function topkek.banmgr.unwhitelist(p)
- for x, m in pairs(topkek.banmgr.whitelist) do
- if m == p then
- print(m .. " unwhitelisted")
- table.remove(topkek.banmgr.whitelist, x)
- if game:GetService('Players'):FindFirstChild(p) then
- topkek.banmgr.executeKick(game:GetService('Players')[p])
- end
- end
- end
- end
- function topkek.banmgr.plrWhitelisted(p)
- for x, m in pairs(topkek.banmgr.whitelist) do
- if m == p.Name then
- return true
- end
- end
- return false
- end
- function topkek.banmgr.makePrivate()
- topkek.banmgr.isPrivate = true
- for i, v in pairs(game:GetService('Players'):GetPlayers()) do
- if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
- spawn(function()
- topkek.banmgr.executeKick(v)
- end)
- end
- end
- end
- function topkek.banmgr.unprivate()
- topkek.banmgr.isPrivate = false
- end
- function topkek.banmgr.init()
- topkek.banmgr.loadFromFile()
- game:GetService('Players').PlayerAdded:connect(function(p)
- if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
- print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
- topkek.banmgr.executeKick(p)
- end
- end)
- end
- --// settings //--
- topkek.settings = {}
- topkek.settingsTable = {}
- function topkek.settings.write()
- --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
- end
- function topkek.settings.get()
- if game.Players.LocalPlayer.Character then
- print("No settings! Making new ...")
- topkek.settingsTable = {
- ['Bans'] = {
- },
- ['Themes'] = {
- {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
- };
- }
- topkek.settings.write()
- return topkek.settingsTable
- else
- local lset = game:GetService('HttpService'):JSONDecode(set)
- topkek.settingsTable = lset
- return lset
- end
- end
- --// shortcuts //--
- tk = {}
- tk.ob = topkek.tools.util.Object
- tk.dp = topkek.tools.util.doPlayers
- tk.rcm = topkek.tools.util.recurseRemove
- tk.rcs = topkek.tools.util.recurseSet
- tk.rcf = topkek.tools.util.recurseFunc
- tk.rco = topkek.tools.util.recurseSetObj
- tk.play = topkek.tools.util.play
- tk.gt = topkek.tools.util.getTorso
- --// gui //--
- -- copying this from topkek3.0 because i'm
- -- too lazy to rewrite my lib
- topkek.tools.gui.seperation = 12
- function topkek.tools.gui:addLeftIcon(parent, img, sz)
- topkek.tools.util.Object('ImageLabel', {
- Parent = parent;
- BackgroundTransparency = 1;
- Position = UDim2.new(0, 2, 0, 2);
- Size = UDim2.new(0, sz, 0, sz);
- Image = img;
- })
- end
- function topkek.tools.gui:makeContainer(n)
- local temp = topkek.template:Clone()
- temp.Name = n
- temp.Parent = topkek.holder
- temp.Container.Visible = false
- end
- function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
- if not o:IsA("ScrollingFrame") and (not ncan) then
- return nil
- elseif o:IsA("ScrollingFrame") then
- o.CanvasSize = UDim2.new(0, 0, 0, 0)
- end
- local self = {}
- self.main = o
- self.drawX = 0
- self.drawY = stt or topkek.tools.gui.seperation/2
- self.drawHeight = 0
- self.sepr = sepr or topkek.tools.gui.seperation
- function self:drawButton(sz, txt, func, ysz, cbgd)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -10
- end
- elseif sz == 1 then
- local bzz = 4
- if ncan then
- bzz = 0
- end
- xszOffset = -(self.sepr) - bzz
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("TextButton", {
- Parent = self.main;
- BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = Color3.new(199/255, 199/255, 199/255);
- })
- obj.MouseButton1Down:connect(function()
- spawn(func)
- end)
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- end
- return obj
- end
- function self:GetChildren()
- return self.main:GetChildren()
- end
- function self:getDrawY()
- return self.drawY
- end
- function self:setDrawY(y)
- self.drawY = y
- end
- function self:drawTextBox(sz, txt, ysz, cbgd)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -10
- end
- elseif sz == 1 then
- xszOffset = -(self.sepr) - 5
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("TextBox", {
- Parent = self.main;
- BackgroundColor3 = cbgd or color3(153, 52, 52);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = Color3.new(199/255, 199/255, 199/255);
- })
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return obj
- end
- function self:drawImage(sz, img, ysz)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -12
- end
- elseif sz == 1 then
- xszOffset = -(self.sepr) - 5
- xposOffset = self.sepr/2
- else
- xszOffset = -5 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("ImageLabel", {
- Parent = self.main;
- BackgroundTransparency = 1;
- BorderColor3 = Color3.new(27, 42, 53);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Image = img;
- })
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- end
- return obj
- end
- function self:drawText(sz, txt, ysz)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -10
- end
- elseif sz == 1 then
- local bzz = 5
- if ncan then
- bzz = 0
- end
- xszOffset = -(self.sepr) - bzz
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("TextLabel", {
- Parent = self.main;
- BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = Color3.new(199/255, 199/255, 199/255);
- })
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- end
- return obj
- end
- function self:drawScrollingContainer(ysz)
- local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
- local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
- local obj = topkek.tools.util.Object("ScrollingFrame", {
- Parent = self.main;
- BackgroundColor3 = color3(117, 42, 42);
- BorderSizePixel = 0;
- Position = pos;
- Size = sz;
- BottomImage = 'rbxassetid://368504177';
- MidImage = 'rbxassetid://368504177';
- TopImage = 'rbxassetid://368504177';
- ScrollBarThickness = 5;
- })
- self.drawY = self.drawY + 5 + ysz
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return topkek.tools.gui:hookContainer(obj, false, 10, 3)
- end
- function self:drawContainer(xsz, ysz, xz, tz, sep)
- local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
- local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
- local obj = topkek.tools.util.Object("Frame", {
- Parent = self.main;
- BackgroundColor3 = color3(117, 42, 42);
- BorderSizePixel = 0;
- Position = pos;
- Size = sz;
- })
- if not xz then
- self.drawY = self.drawY + 5 + ysz
- end
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
- end
- function self:addSpacing()
- self.drawY = self.drawY + 3
- end
- function self:center()
- local a,c,b=
- self.main.Position.X.Scale,
- self.main.Position.X.Offset,self.main.Size.Y.Offset
- self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
- end
- return self
- end
- --//anim//--
- topkek.tools.animator.animateTo = function(source, dest)
- -- holder2holder:
- -- invis holder
- -- clone holder; vis
- -- move holder to right
- -- vis dest container
- -- tween clone holder left
- -- tween dest holder right
- print("nav",source,dest)
- topkek.holder.Visible = false
- local hclone = topkek.holder:Clone()
- hclone.Parent = topkek.center
- hclone.Name = 'animclone'
- hclone.Visible = true
- topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
- source.Visible = false
- dest.Visible = true
- dest.Container.Visible = true
- dest.Container.ZIndex = 1
- dest.ZIndex = 1
- topkek.holder.Visible = true
- topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
- hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
- wait(0.3)
- end
- topkek.tools.animator.initialAnimation = function()
- -- initanim:
- -- join both composites
- -- delete composites; vis solid
- -- tween solid to nav topbar
- -- copy topbar plrname; move outside region
- -- tween in clone topbar
- -- delete clone and solid; vis topbar
- -- tween down topbar
- -- tween holder out
- local function abspos(x)
- return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
- end
- local function abssz(x)
- return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
- end
- local holder = topkek.holder
- local nav = topkek.navigator
- local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
- local topbar = topkek.topbar
- local pname = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
- local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
- topkek.center.Size = UDim2.new(0, 150, 0, 30)
- game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
- game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
- wait(0.52)
- solid.Visible = true
- game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
- game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
- wait(3)
- solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
- solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
- wait(0.52)
- solid.Label:Destroy()
- wait(0.12)
- topkek.center.Visible = true
- topnav.Visible = true
- solid:Destroy()
- pname.Position = UDim2.new(0, -170, 0, 0)
- pname.Parent = topnav
- pname.Visible = true
- pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
- wait(0.25)
- topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
- spawn(topkek.navigation.buildNavigator)
- wait(0.35)
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
- wait(0.35)
- topbar.PlayerName.Visible = true
- pname:Destroy()
- AllowHovers = true
- end
- --//nav//--
- topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
- topkek.navigation.windowState = 0
- topkek.navigation.gotoContainer = function(cont)
- topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
- topkek.navigation.currentContainer = cont
- end
- topkek.navigation.buildNavigator = function()
- local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
- local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
- local btns = {}
- for l, x in pairs(topkek.data.windows) do
- local container = topkek.tools.util.getContainer(x)
- local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
- local ZPos = btn.Position
- btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
- btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
- btn.LayoutOrder = l
- btn.ZIndex = 4
- local OPos = btn.Position
- btn.MouseEnter:connect(function()
- if AllowHovers == false then
- return
- end
- for i, v in pairs(btns) do
- if v[1] ~= btn then
- v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
- end
- end
- btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
- end)
- btn.MouseLeave:connect(function()
- btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
- end)
- table.insert(btns, {btn, OPos})
- wait()
- end
- end
- topkek.navigation.buildTopbar = function()
- local top = topkek.topbar
- local FELabel = top.Controllers.IsFE
- top.PlayerName.Text = topkek.lplr.Name
- if game:GetService('Workspace').FilteringEnabled == true then
- FELabel.Text = "FE Game"
- FELabel.TextColor3 = BrickColor.new("Bright red").Color
- else
- FELabel.Text = "Not FE"
- FELabel.TextColor3 = BrickColor.new("Bright green").Color
- end
- top.Controllers.Hide.MouseButton1Down:connect(function()
- if topkek.navigation.windowState == 0 then
- topkek.navigation.windowState = 1
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
- else
- topkek.navigation.windowState = 0
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
- end
- end)
- top.Controllers.Exit.MouseButton1Down:connect(function()
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
- wait(0.31)
- topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
- PlayerChatHook:disconnect()
- end)
- end
- topkek.navigation.initCommandBar = function()
- DistributedCmdBar, cmd = topkek.holder.Command, {}
- --weathered-down version of my cmdscript for topkek
- cmd = {}
- -- ** defines ** --
- cmd.service = (function(a) return game:service(a) end)
- cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
- cmd.players = cmd.service('Players')
- cmd.localplayer = cmd.players.LocalPlayer
- cmd.prefix = ';'
- cmd.hidden = '/'
- cmd.commands = {}
- cmd.util = {}
- cmd.interface = {}
- cmd.admins = {}
- cmd.noclip = false
- -- ** util ** --
- cmd.util.pos = function(str, pos)
- local increment = 1
- for spc in str:gmatch("[^ ]+") do
- if increment == pos then
- return spc
- end
- increment = increment + 1
- end
- return ''
- end
- cmd.util.pstr = function(str, re_enc)
- str = string.lower(str)
- local players = {}
- if re_enc == true then
- if str == 'me' then
- return {game.Players.LocalPlayer}
- end
- if str == 'all' then
- return game.Players:GetPlayers()
- end
- if str == 'others' then
- for i, v in pairs(game.Players:GetPlayers()) do
- if v ~= cmd.localplayer then
- table.insert(players, v)
- end
- end
- end
- for i, v in pairs(game.Players:GetPlayers()) do
- if string.lower(v.Name):sub(1, #str) == str then
- table.insert(players, v)
- end
- end
- return players
- else
- for seper in str:gmatch("[^,]+") do
- for i, v in pairs(cmd.util.pstr(seper, true)) do
- table.insert(players, v)
- end
- end
- return players
- end
- end
- cmd.util.parse = function(str, fmt)
- local args = {}
- local encountered = 0
- local position = 1
- for form in fmt:gmatch("[^%%]+") do
- if position == 1 then
- args['command'] = cmd.util.pos(str, position)
- end
- if form == 'inf' then
- args[position] = str:sub(encountered, #str)
- end
- if form == 'int' then
- local fetch = cmd.util.pos(str, position)
- if tonumber(fetch) == nil then
- return nil
- end
- args[position] = {'integer', data = fetch}
- end
- if form == 'str' then
- local fetch = cmd.util.pos(str, position)
- args[position] = {'string', data = fetch}
- end
- if form == 'plrs' then
- args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
- end
- encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
- position = position + 1
- end
- return args
- end
- cmd.util.isadmin = function(p)
- if p == cmd.localplayer.Name then
- return true
- else
- for i, v in pairs(cmd.admins) do
- if v == p.Name then
- return true
- end
- end
- return false
- end
- end
- cmd.util.BombVest = function(Players)
- -- modified by nosyliam
- local TickWait = 1
- local Dead = false
- local BeltPositions = { }
- local ExplodeSounds = { }
- for ___, player in pairs(Players) do
- pcall(function()
- local Me = player
- local Char = Me.Character
- local Torso = Char.Torso
- local Color = "Medium stone gray"
- local Dead = false
- local Position = Vector3.new(0,100,0)
- local function NewPart(Parent)
- local Part = Instance.new("Part", Parent)
- Part.CanCollide = false
- Part.FormFactor = "Custom"
- Part.Position = Position
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.BrickColor = BrickColor.new(Color)
- Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
- return Part
- end
- local Model = Char:FindFirstChild("Bomb")
- if Model then Model:Destroy() end
- Model = Instance.new("Model", Char)
- Model.Name = "Bomb"
- local Belt = NewPart(Model)
- Belt.Size = Vector3.new(2.2,0.5,1.2)
- table.insert(BeltPositions, Belt)
- local Weld = Instance.new("Weld", Belt)
- Weld.Part0 = Belt
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0,1.1,0)
- local Light = Instance.new("PointLight", Belt)
- Light.Range = 15
- Light.Brightness = 5
- Light.Color = Color3.new(1,0,0)
- local Beep = Instance.new("Sound", Belt)
- Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
- local ExplodeSound = Instance.new("Sound", Belt)
- ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
- ExplodeSound.Pitch = 2.8
- ExplodeSound.Volume = 3
- table.insert(ExplodeSounds, ExplodeSound)
- local Back = NewPart(Model)
- Back.Size = Vector3.new(1.5,1.5,0.5)
- local Weld = Instance.new("Weld", Back)
- Weld.Part0 = Back
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0,0.1,-0.75)
- local StrapLeft = NewPart(Model)
- StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapLeft)
- Weld.Part0 = StrapLeft
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
- local BuckleLeft = NewPart(Model)
- BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleLeft)
- Weld.Part0 = BuckleLeft
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0.65,0.1,0.5)
- local StrapRight = NewPart(Model)
- StrapRight.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapRight)
- Weld.Part0 = StrapRight
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
- local BuckleRight = NewPart(Model)
- BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleRight)
- Weld.Part0 = BuckleRight
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(-0.65,0.1,0.5)
- coroutine.wrap(function()
- repeat
- wait(TickWait)
- Light.Enabled = not Light.Enabled
- Beep:Play()
- until Dead == true
- end)()
- end)
- end
- local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
- Tool.Name = "Bomb Vest"
- Tool.Selected:connect(function(Mouse)
- TickWait = 0.3
- Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
- Mouse.Button1Down:connect(function()
- if Dead == false then
- Dead = true
- for i, Belt in pairs(BeltPositions) do
- coroutine.wrap(function()
- pcall(function() ExplodeSounds[i]:Play() end)
- wait(1.4)
- local Explosion = Instance.new("Explosion", workspace)
- Explosion.Position = Belt.Position
- Explosion.BlastPressure = 100000
- Explosion.DestroyJointRadiusPercent = 0.7
- Explosion.ExplosionType = "CratersAndDebris"
- Explosion.BlastRadius = 50
- Explosion.Hit:connect(function(Part, Distance)
- Part.Anchored = false
- if Distance <= 10 then
- Part:BreakJoints()
- end
- end)
- end)()
- end
- end
- end)
- end)
- Tool.Deselected:connect(function()
- TickWait = 1
- end)
- end
- cmd.util.hulk = function(p)
- function giant(p, size)
- local pchar = p.Character
- if pchar then
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, size)
- pchar.Humanoid.WalkSpeed = 15 * size
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Hat") then
- v.Parent = pchar
- end
- end
- end
- end
- local plr = p
- giant(plr, 3)
- for i, v in pairs(plr.Character:GetChildren()) do
- if v:IsA("BasePart") then
- v.Touched:connect(function(p)
- if p.Size.X<30 then
- p.Anchored = false
- p:BreakJoints()
- end
- end)
- end
- end
- local csize = 3
- local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- local base = Instance.new("Frame", sgui)
- base.BackgroundTransparency = 1
- base.Size = UDim2.new(0, 110, 0, 200)
- base.Position = UDim2.new(1, -120, 1, -180)
- local indicator = Instance.new("TextLabel", base)
- indicator.Size = UDim2.new(1, 0, 0, 25)
- indicator.TextColor3 = Color3.new(1, 1, 1)
- indicator.BackgroundTransparency = 0
- indicator.FontSize = Enum.FontSize.Size18
- indicator.Font = Enum.Font.SourceSans
- indicator.Text = "Current Size: 3"
- local PlusOne = Instance.new("TextButton", base)
- PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
- PlusOne.Position = UDim2.new(0, 0, 0, 40)
- PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
- PlusOne.BorderSizePixel = 2
- PlusOne.Font = Enum.Font.SourceSansBold
- PlusOne.FontSize = Enum.FontSize.Size24
- PlusOne.Text = "+1 Size"
- local MinusOne = Instance.new("TextButton", base)
- MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
- MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
- MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
- MinusOne.Text = "-1 Size"
- MinusOne.BorderSizePixel = 2
- MinusOne.Font = Enum.Font.SourceSansBold
- MinusOne.FontSize = Enum.FontSize.Size24
- PlusOne.MouseButton1Down:connect(function()
- csize = csize + 1
- giant(plr, csize)
- indicator.Text = "Current Size: "..tostring(csize)
- end)
- MinusOne.MouseButton1Down:connect(function()
- csize = csize - 1
- giant(plr, csize)
- indicator.Text = "Current Size: "..tostring(csize)
- end)
- end
- cmd.util.R15 = function()
- rcode=[[local function Init()
- wait()
- local function ConChar(P)
- Character = P.Character
- local R15Model = Instance.new("Model")
- R15Model.Name = "R15Model"
- R15Model.Parent = Character
- local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
- local Part = Instance.new("Part")
- Part.FormFactor = "Custom"
- Part.Size = Size
- Part.BrickColor = Color
- Part.CanCollide = false
- Part.Name = Name
- Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- local Motor = Instance.new("Motor6D")
- Motor.C0 = C0
- Motor.C1 = C1
- Motor.Part0 = ConnectToLimb
- Motor.Part1 = Part
- Motor.Name = MotorName
- Motor.MaxVelocity = 0.1
- Motor.Parent = ConnectToLimb
- if MeshId then
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = MeshId
- Mesh.Scale = Vector3.new(0.99,0.99,0.99)
- Mesh.Parent = Part
- end
- if MeshId and Transparency == 0.001 then
- local ShirtTexturePart = Instance.new("Part")
- ShirtTexturePart.FormFactor = "Custom"
- ShirtTexturePart.Size = Size
- ShirtTexturePart.BrickColor = Color
- ShirtTexturePart.CanCollide = false
- ShirtTexturePart.Name = "ShirtTexturePart"
- ShirtTexturePart.Transparency = Transparency
- ShirtTexturePart.TopSurface = "Smooth"
- ShirtTexturePart.BottomSurface = "Smooth"
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = MeshId
- Mesh.Parent = ShirtTexturePart
- local Weld = Instance.new("Weld")
- Weld.Part0 = Part
- Weld.Part1 = ShirtTexturePart
- Weld.Parent = ShirtTexturePart
- ShirtTexturePart.Parent = Part
- end
- Part.Parent = R15Model
- return Part
- end
- local HumanoidRootPart = CreateLimb("HumanoidRootPart",BrickColor.new("Medium stone grey"),Vector3.new(1,1,1),1,Character.HumanoidRootPart,"RootConnector",CFrame.new(),CFrame.new(0,0.7,0))
- local LowerTorso = CreateLimb("LowerTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,HumanoidRootPart,"Root",CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941715")
- local UpperTorso = CreateLimb("UpperTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,LowerTorso,"Waist",CFrame.new(0, 0.404105991, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941468")
- local Head = CreateLimb("Head",BrickColor.new("Bright yellow"),Vector3.new(1,1,1),0,UpperTorso,"Neck",CFrame.new(0, 1.26949596, 0.0428609997, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.635110021, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941905")
- local LeftUpperArm = CreateLimb("LeftUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.672, 1),0.001,UpperTorso,"LeftShoulder",CFrame.new(-1.50177097, 0.924546003, 0, 1, 0, -0, 0, 0.999044001, 0.0437170006, 0, -0.0437170006, 0.999044001),CFrame.new(0, 0.336115986, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938468")
- local LeftLowerArm = CreateLimb("LeftLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,LeftUpperArm,"LeftElbow",CFrame.new(0, -0.336115986, 0, 1, 0, 0, 0, 0.999044001, -0.0437170006, 0, 0.0437170006, 0.999044001),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938971")
- local LeftHand = CreateLimb("LeftHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,LeftLowerArm,"LeftWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939233")
- local RightUpperArm = CreateLimb("RightUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.671, 1),0.001,UpperTorso,"RightShoulder",CFrame.new(1.50049305, 0.923726022, 0, 1, 0, -0, 0, 0.999041617, 0.0437709838, 0, -0.0437709838, 0.999041617),CFrame.new(0, 0.335705996, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940113")
- local RightLowerArm = CreateLimb("RightLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,RightUpperArm,"RightElbow",CFrame.new(0, -0.335705996, 0, 1, 0, 0, 0, 0.999041617, -0.0437709838, 0, 0.0437709838, 0.999041617),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940356")
- local RightHand = CreateLimb("RightHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,RightLowerArm,"RightWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940548")
- local LeftUpperLeg = CreateLimb("LeftUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"LeftHip",CFrame.new(-0.457044005, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939645")
- local LeftLowerLeg = CreateLimb("LeftLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,LeftUpperLeg,"LeftKnee",CFrame.new(0, -0.387418985, 0, 1, 9.95820074e-007, 9.13360125e-008, -9.99999997e-007, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939489")
- local LeftFoot = CreateLimb("LeftFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,LeftLowerLeg,"LeftAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939912")
- local RightUpperLeg = CreateLimb("RightUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"RightHip",CFrame.new(0.451141, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940976")
- local RightLowerLeg = CreateLimb("RightLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,RightUpperLeg,"RightKnee",CFrame.new(0, -0.387418985, 0, 1, 0, -0, 0, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940802")
- local RightFoot = CreateLimb("RightFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,RightLowerLeg,"RightAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941196")
- --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
- -- Head.MeshId = Character.Head.Mesh.MeshId
- --end
- Character:WaitForChild("Animate").Disabled = false
- local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
- for i, v in pairs(Anim:GetChildren()) do
- v.Parent = script
- end
- script.Parent = Character
- local function Clear(Name,Alternative,ColorParts)
- local Part = Character:WaitForChild(Name)
- Part.Transparency = (Name == "Head" and 0.99 or 1)
- local function ChildAdded(Ins)
- delay(0.05,function()
- if Ins.Name == "face" then
- if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
- Ins.Parent = Alternative
- elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
- Ins.Name = "Fake_"..Ins.Name
- elseif Ins.Name == "HeadWeld" then
- delay(0.05,function()
- Ins.Parent = Head
- Ins.Part0 = Head
- Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
- end)
- elseif not Ins:IsA("Weld") then
- Ins:Destroy()
- end
- end)
- end
- for _,Sub in pairs(Part:GetChildren()) do
- ChildAdded(Sub)
- end
- Part.ChildAdded:connect(ChildAdded)
- local function Color()
- for _,Sub in pairs(ColorParts) do
- Sub.BrickColor = Part.BrickColor
- local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
- if TexturePart then
- TexturePart.BrickColor = Part.BrickColor
- end
- end
- end
- Color()
- Part.Changed:connect(Color)
- end
- Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
- Clear("Head",Head,{Head})
- Clear("Torso",nil,{LowerTorso,UpperTorso})
- Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
- Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
- Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
- Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
- local ShirtUsed = false
- local function ChildAdded(Ins)
- if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
- delay(0.05,function()
- local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
- Ins.AttachmentPos = Ins.AttachmentPos
- Mesh.Scale = Mesh.Scale
- Ins.Name = "Scaled_"..Ins.Name
- end)
- elseif Ins:IsA("Shirt") then
- ShirtUsed = true
- LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
- elseif Ins:IsA("Pants") then
- LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
- LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
- end
- end
- end
- for _,Sub in pairs(Character:GetChildren()) do
- ChildAdded(Sub)
- end
- Character.ChildAdded:connect(ChildAdded)
- loadstring(Anim.Source)()
- end
- ConChar(game:service'Players'.LocalPlayer)
- end
- Init()]]
- spawn(function() loadstring(rcode)() end)
- end
- cmd.util.size = function(p, size)
- -- omfg thanks var
- local pchar = p.Character
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, size)
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Hat") then
- v.Parent = pchar
- end
- end
- end
- cmd.util.checktable = function(t, v)
- for i, __ in pairs(t) do
- if __ == v then
- return true
- end
- end
- return false
- end
- cmd.util.nextrgb = function(r, g, b)
- local ar, ag, ab = r, g, b
- if r == 255 and g < 255 and b == 0 then
- ag = g + 8.5
- end
- if g == 255 and r > 0 and b == 0 then
- ar = r - 8.5
- end
- if g == 255 and b < 255 and r == 0 then
- ab = b + 8.5
- end
- if b == 255 and g > 0 and r == 0 then
- ag = g - 8.5
- end
- if b == 255 and r < 255 and g == 0 then
- ar = r + 8.5
- end
- if r == 255 and b > 0 and g == 0 then
- ab = b - 8.5
- end
- return {ar, ag, ab}
- end
- -- ** interface ** --
- game:GetService('UserInputService').InputBegan:connect(function(inp)
- if inp.UserInputType == Enum.UserInputType.Keyboard then
- if inp.KeyCode == Enum.KeyCode.Semicolon then
- DistributedCmdBar:CaptureFocus()
- end
- end
- end)
- -- ** commands ** --
- cmd.commands.store = {}
- cmd.commands.fmtstore = {}
- cmd.commands.register = function(cmdz, fmt, func)
- cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
- cmd.commands.fmtstore[cmdz] = fmt
- end
- cmd.commands.run = function(str)
- local cmdz = cmd.util.pos(str, 1)
- if not cmd.commands.store[cmdz] then
- return nil
- else
- cmd.commands.store[cmdz](str)
- end
- end
- -- // actual commands // --
- cmd.commands.register('kill', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.Health = 0
- end
- end)
- cmd.commands.register('clone', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Archivable = true
- local clone = v.Character:Clone()
- clone.Parent = game.Workspace
- clone:MoveTo(v.Character.Torso.Position)
- end
- end)
- cmd.commands.register('damage', 'cmd%plrs%int', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid:TakeDamage(args[3].data)
- end
- end)
- cmd.commands.register('freeze', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Torso.Anchored = true
- end
- end)
- cmd.commands.register('thaw', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Torso.Anchored = false
- end
- end)
- Fly = false;
- cmd.commands.register('fly', 'cmd', function(args)
- if Fly == true then
- Fly = false
- return
- end
- Fly = true
- local mouse=game.Players.LocalPlayer:GetMouse''
- localplayer=game.Players.LocalPlayer
- game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
- local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local speed=0
- local keys={a=false,d=false,w=false,s=false}
- local e1
- local e2
- local function start()
- local pos = Instance.new("BodyPosition",torso)
- local gyro = Instance.new("BodyGyro",torso)
- pos.Name="EPIXPOS"
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = torso.Position
- gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- gyro.cframe = torso.CFrame
- repeat
- wait()
- localplayer.Character.Humanoid.PlatformStand=true
- local new=gyro.cframe - gyro.cframe.p + pos.position
- if not keys.w and not keys.s and not keys.a and not keys.d then
- speed=1
- end
- if keys.w then
- new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.s then
- new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.d then
- new = new * CFrame.new(speed,0,0)
- speed=speed+0.01
- end
- if keys.a then
- new = new * CFrame.new(-speed,0,0)
- speed=speed+0.01
- end
- if speed>5 then
- speed=5
- end
- pos.position=new.p
- if keys.w then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
- elseif keys.s then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
- else
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame
- end
- until not Fly
- if gyro then gyro:Destroy() end
- if pos then pos:Destroy() end
- flying=false
- localplayer.Character.Humanoid.PlatformStand=false
- speed=0
- end
- e1=mouse.KeyDown:connect(function(key)
- if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
- if key=="w" then
- keys.w=true
- elseif key=="s" then
- keys.s=true
- elseif key=="a" then
- keys.a=true
- elseif key=="d" then
- keys.d=true
- end
- end)
- e2=mouse.KeyUp:connect(function(key)
- if key=="w" then
- keys.w=false
- elseif key=="s" then
- keys.s=false
- elseif key=="a" then
- keys.a=false
- elseif key=="d" then
- keys.d=false
- end
- end)
- start()
- end)
- cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
- local players = args[2]
- local target = args[3][1]
- for i, player in pairs(args[2]) do
- player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
- end
- end)
- cmd.commands.register('naked', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v:ClearCharacterAppearance()
- end
- end)
- cmd.commands.register('sgod', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.MaxHealth = 999999999
- v.Character.Humanoid.Health = 999999999
- end
- end)
- cmd.commands.register('ws', 'cmd%plrs%int', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.WalkSpeed = args[3].data
- end
- end)
- cmd.commands.register('lag', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- coroutine.wrap(function()
- for i = 1, 200 do
- ypcall(function()
- coroutine.wrap(function()
- for i = 1, 1000 do
- Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
- end
- end)()
- end)
- wait()
- end
- end)()
- end
- end)
- cmd.commands.register('ban', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- table.insert(cmd.bans, v.Name)
- v.Parent = nil
- end
- end)
- cmd.commands.register('lagban', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- table.insert(cmd.lagbans, v.Name)
- coroutine.wrap(function()
- for i = 1, 200 do
- ypcall(function()
- coroutine.wrap(function()
- for i = 1, 1000 do
- Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
- end
- end)()
- end)
- wait()
- end
- end)()
- end
- end)
- cmd.commands.register('punish', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Parent = game.Lighting
- end
- end)
- cmd.commands.register('unpunish', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Parent = game.Workspace
- end
- end)
- cmd.commands.register('respawn', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local a1 = Instance.new("Model", game.Workspace)
- local a2 = Instance.new("Part", game.Workspace)
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- v.Character = a1
- a3.Health=0
- end
- end)
- cmd.commands.register('shutdown', 'cmd', function(args)
- for i, v in pairs(cmd.service('Players'):GetPlayers()) do
- v.Parent = nil
- end
- end)
- cmd.commands.register('music', 'cmd%int', function(args)
- local a = Instance.new("Sound")
- a.SoundId = "rbxassetid://" .. tostring(args[2].data)
- a.Looped = true
- a.Volume = 1
- a.Parent = game.Workspace
- a:Play()
- end)
- cmd.commands.register('sit', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.Sit = true
- end
- end)
- cmd.commands.register('jump', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.Jump = true
- end
- end)
- cmd.commands.register('stun', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.PlatformStand = true
- end
- end)
- cmd.commands.register('unstun', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.PlatformStand = false
- end
- end)
- cmd.commands.register('loopstate', 'cmd%int', function(args)
- coroutine.resume(coroutine.create(function()
- repeat
- ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data) end)
- wait(0)
- until cmd.localplayer.Character.Humanoid == nil
- end))
- end)
- cmd.commands.register('invis', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local function dloop(o)
- for i, v in pairs(o:GetChildren()) do
- pcall(function() v.Transparency = 1 end)
- dloop(v)
- end
- end
- dloop(v.Character)
- end
- end)
- cmd.commands.register('vis', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local function dloop(o)
- for i, v in pairs(o:GetChildren()) do
- pcall(function() v.Transparency = 0 end)
- dloop(v)
- end
- end
- v.Character.HumanoidRootPart.Transparency = 1
- dloop(v.Character)
- end
- end)
- cmd.commands.register('nuke', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- if v.Character then
- local nuke = Instance.new("Part", game.Workspace)
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.FormFactor = "Symmetric"
- nuke.Shape = "Ball"
- nuke.Size = Vector3.new(1,1,1)
- nuke.BrickColor = BrickColor.new("New Yeller")
- nuke.Transparency = 0.5
- nuke.Reflectance = 0.2
- nuke.TopSurface = 0
- nuke.BottomSurface = 0
- nuke.Touched:connect(function (hit)
- if hit and hit.Parent then
- local boom = Instance.new("Explosion", game.Workspace)
- boom.Position = hit.Position
- boom.BlastRadius = 11
- boom.BlastPressure = math.huge
- end
- end)
- local CF = v.Character.Torso.CFrame
- nuke.CFrame = CF
- for i = 1,333 do
- nuke.Size = nuke.Size + Vector3.new(3,3,3)
- nuke.CFrame = CF
- wait(1/44)
- end
- nuke:Destroy()
- end
- end
- end)
- cmd.commands.register('explode', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
- end
- end)
- cmd.commands.register('hat', 'cmd%plrs%int', function(args)
- for i, v in pairs(args[2]) do
- cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
- end
- end)
- cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
- for i, v in pairs(args[2]) do
- game:GetService('Chat'):Chat(v.Character, args[3], 1)
- end
- end)
- cmd.commands.register('god', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.MaxHealth = math.huge
- v.Character.Humanoid.Health = math.huge
- end
- end)
- cmd.commands.register('ungod', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.Health = 100
- v.Character.Humanoid.MaxHealth = 100
- end
- end)
- cmd.commands.register('rh', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.Parent = nil
- end
- end)
- cmd.commands.register('fire', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- Instance.new('Fire', v.Character.Torso)
- end
- end)
- cmd.commands.register('insane', 'cmd%plrs', function(args)
- for x, m in pairs(args[2]) do
- for i,v in pairs(m.Character.Torso:GetChildren()) do
- if v:IsA("Motor6D") then
- coroutine.wrap(function()
- while v do
- v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- wait()
- end
- end)()
- end
- end
- end
- end)
- cmd.commands.register('admin', 'cmd%plrs',function(args)
- for i, v in pairs(args[2]) do
- --table.insert(cmd.admins, v.Name)
- v.Chatted:connect(function(msg)
- if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
- cmd.commands.run(msg:sub(2, #msg))
- end
- end)
- end
- end)
- cmd.commands.register('nosound', 'cmd', function(args)
- local function dx(o)
- for i, v in pairs(o:GetChildren()) do
- if v:IsA("Sound") then
- v:Stop()
- end
- dx(v)
- end
- end
- dx(game.Workspace)
- end)
- cmd.commands.register('duck', 'cmd%plrs', function(args)
- for _,p in pairs(args[2]) do
- local pchar = p.Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- local duck = Instance.new("SpecialMesh", pchar.Torso)
- duck.MeshType = "FileMesh"
- duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
- duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
- duck.Scale = Vector3.new(5, 5, 5)
- pchar.Head.Transparency = 1
- pchar["Left Arm"].Transparency = 1
- pchar["Right Arm"].Transparency = 1
- pchar["Left Leg"].Transparency = 1
- pchar["Right Leg"].Transparency = 1
- pchar.Head.face.Transparency = 1
- end
- end)
- cmd.commands.register('shrek', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local pchar = v.Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- local mesh = Instance.new("SpecialMesh", pchar.Head)
- mesh.MeshType = "FileMesh"
- pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
- pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
- pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
- local Shirt = Instance.new("Shirt", v.Character)
- local Pants = Instance.new("Pants", v.Character)
- Shirt.ShirtTemplate = "rbxassetid://133078194"
- Pants.PantsTemplate = "rbxassetid://133078204"
- end
- end)
- cmd.commands.register('nograv', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- for x, m in pairs(v.Character:GetChildren()) do
- if m:IsA("BasePart") then
- local bf = Instance.new("BodyForce", m)
- bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
- end
- if m:IsA("Hat") then
- if m:findFirstChild("Handle") then
- local bf = Instance.new("BodyForce", m.Handle)
- bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
- end
- end
- end
- end
- end)
- cmd.commands.register('loopheal', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- coroutine.wrap(function()
- while wait() do
- if v.Character.Humanoid then
- v.Character.Humanoid.Health = 1000
- v.Character.Humanoid.MaxHealth = 1000
- end
- end
- end)()
- end
- end)
- cmd.commands.register('hulk', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- cmd.util.hulk(v)
- end
- end)
- cmd.commands.register('sky', 'cmd%int', function(args)
- local ID = args[2].data
- local sky = Instance.new("Sky", game.Lighting)
- sky.SkyboxBk = "rbxassetid://" .. ID
- sky.SkyboxDn = "rbxassetid://" .. ID
- sky.SkyboxFt = "rbxassetid://" .. ID
- sky.SkyboxLf = "rbxassetid://" .. ID
- sky.SkyboxRt = "rbxassetid://" .. ID
- sky.SkyboxUp = "rbxassetid://" .. ID
- end)
- cmd.commands.register('bombs', 'cmd%plrs', function(args)
- cmd.util.BombVest(args[2])
- end)
- cmd.commands.register('control', 'cmd%plrs', function(args)
- -- variable
- local pchar = args[2][1].Character
- local char = cmd.localplayer.Character
- pchar.Humanoid.PlatformStand = true
- local w = Instance.new("Weld", pchar.Torso)
- w.Part0 = pchar.Torso
- w.Part1 = pchar.Torso
- local w2 = Instance.new("Weld", pchar.Head)
- w2.Part0 = pchar.Head
- w2.Part1 = pchar.Head
- local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
- w3.Part0 = pchar:findFirstChild("Right Arm")
- w3.Part1 = pchar:findFirstChild("Right Arm")
- local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
- w4.Part0 = pchar:findFirstChild("Left Arm")
- w4.Part1 = pchar:findFirstChild("Left Arm")
- local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
- w5.Part0 = pchar:findFirstChild("Right Leg")
- w5.Part1 = pchar:findFirstChild("Right Leg")
- local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
- w6.Part0 = pchar:findFirstChild("Left Leg")
- w6.Part1 = pchar:findFirstChild("Left Leg")
- char.Head.face:Destroy()
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- elseif v:IsA("Hat") then
- v:Destroy()
- end
- end
- pchar.Parent = char
- repeat
- pchar.Humanoid.PlatformStand = true
- wait()
- until char.Parent == nil
- end)
- cmd.commands.register('rtag', 'cmd%inf', function(args)
- local len = 10; local player = cmd.localplayer
- local bb = Instance.new("BillboardGui")
- bb.Parent = player.Character.Head
- bb.Adornee = player.Character.Head
- bb.AlwaysOnTop = true
- bb.Enabled = true
- bb.Size = UDim2.new(len, 0, 1.5, 0)
- bb.Name = "tag"
- bb.StudsOffset = Vector3.new(0, 3, 0)
- --local fr = Instance.new("Frame")
- --fr.Parent = bb
- --fr.Size = UDim2.new(1, 0, 1, 0)
- --fr.Style = Enum.FrameStyle.RobloxRound
- local tl = Instance.new("TextLabel")
- tl.Parent = bb
- tl.BackgroundTransparency = 1
- tl.TextScaled = true
- tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.Text = args[2]
- tl.Name = "trutag"
- tl.Visible = true
- tl.ZIndex = 2
- coroutine.wrap(function()
- local r, g, b = 255, 0, 0
- repeat
- tl.TextColor3 = Color3.new(r/255, g/255, b/255)
- local bo = cmd.util.nextrgb(r, g, b)
- r = bo[1]; g = bo[2]; b = bo[3];
- wait()
- until bb == nil
- end)()
- end)
- cmd.commands.register('smoke', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- Instance.new('Smoke', v.Character.Torso)
- end
- end)
- cmd.commands.register('btools', 'cmd%plrs', function(args)
- for i, p in pairs(args[2]) do
- local a = Instance.new("HopperBin")
- a.BinType = "GameTool"
- a.Parent = p.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Clone"
- a.Parent = p.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Hammer"
- a.Parent = p.Backpack
- end
- end)
- con = nil;
- cmd.commands.register('noclip', 'cmd', function(args)
- cmd.noclip = false
- con = game:GetService('RunService').Stepped:connect(function()
- if cmd.noclip == true then
- con:disconnect()
- else
- cmd.localplayer.Character.Torso.CanCollide = false
- cmd.localplayer.Character.Head.CanCollide = false
- end
- end)
- end)
- cmd.commands.register('clip', 'cmd', function(args)
- cmd.noclip = true
- end)
- cmd.commands.register('gear', 'cmd%plrs%int', function(args)
- local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
- if not gear then return end
- for i, v in pairs(args[2]) do
- gear:Clone().Parent = v.Backpack
- end
- end)
- cmd.commands.register('kick', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Parent = nil
- end
- end)
- cmd.commands.register('r15', 'cmd', function(args)
- cmd.util.R15()
- end)
- cmd.commands.register('char', 'cmd%plrs%str', function(args)
- if tonumber(args[3].data) ~= nil then
- args[3].data = tonumber(args[3].data)
- else
- args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
- end
- for i, v in pairs(args[2]) do
- v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
- pcall(function() v.Character.Humanoid.Health = 0 end)
- end
- end)
- cmd.commands.register('noob', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
- pcall(function() v.Character.Humanoid.Health = 0 end)
- end
- end)
- cmd.commands.register('ff', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- Instance.new("ForceField", v.Character)
- end
- end)
- cmd.commands.register('unff', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- for x, m in pairs(v.Character:GetChildren()) do
- if m:IsA("ForceField") then
- m.Parent = nil
- end
- end
- end
- end)
- cmd.commands.register('guest', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
- pcall(function() v.Character.Humanoid.Health = 0 end)
- end
- end)
- cmd.commands.register('giraffe', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local char=v.Character
- local h=char.Head
- local tor=char.Torso
- tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
- local fn=Instance.new("Part",char)
- fn.Size=Vector3.new(1,5.5,1)
- fn.Name="FakeNeck"
- fn.Anchored=false
- fn.CanCollide=false
- if char:FindFirstChild("Body Colors") then
- fn.BrickColor=char["Body Colors"].HeadColor
- end
- local cm=Instance.new("CylinderMesh",fn)
- local we=Instance.new("Weld",h)
- we.Part0=h
- we.Part1=fn
- we.C1=we.C1*CFrame.new(0,2.6,0)
- end
- end)
- cmd.commands.register('notools', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- for x, m in pairs(v.Backpack:GetChildren()) do
- m.Parent = nil
- end
- end
- end)
- cmd.commands.register('taketools', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- for x, m in pairs(v.Backpack:GetChildren()) do
- m.Parent = cmd.localplayer.Backpack
- end
- end
- end)
- cmd.commands.register('confuse', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.Humanoid.WalkSpeed = -16
- end
- end)
- cmd.commands.register('spin', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- for i,v in pairs(v.Character.Torso:GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- local Torso = v.Character.Torso
- local BG = Instance.new("BodyGyro", Torso)
- BG.Name = "Spinning"
- BG.maxTorque = Vector3.new(0, math.huge, 0)
- BG.P = 11111
- BG.cframe = Torso.CFrame
- repeat wait(1/44)
- BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= Torso
- end
- end)
- cmd.commands.register('fling', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local pchar = v.Character
- if pchar:FindFirstChild("Humanoid") then
- local xran
- local zran
- repeat
- xran = math.random(-9999,9999)
- until math.abs(xran) >= 5555
- repeat
- zran = math.random(-9999,9999)
- until math.abs(zran) >= 5555
- pchar.Humanoid.Sit = true
- pchar.Torso.Velocity = Vector3.new(0,0,0)
- local BF = Instance.new("BodyForce", pchar.Torso)
- BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
- end
- end
- end)
- cmd.commands.register('burn', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- spawn(function()
- wait(0.1)
- local fire=Instance.new("Fire", v.Character.Torso)
- wait(0.1)
- local fire=Instance.new("Fire", v.Character.Head)
- wait(0.1)
- local fire=Instance.new("Fire", v.Character["Left Arm"])
- wait(0.1)
- local fire=Instance.new("Fire", v.Character["Right Leg"])
- wait(0.5)
- v.Character:BreakJoints();
- end)
- end
- end)
- cmd.commands.register('printcmds', 'cmd', function(args)
- for i, v in pairs(cmd.commands.store) do
- print(i, '==', v)
- end
- end)
- cmd.commands.register('gun', 'cmd%plrs', function(args)
- local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
- local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
- local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
- for i, v in pairs(args[2]) do
- a:Clone().Parent = v.Backpack
- b:Clone().Parent = v.Backpack
- c:Clone().Parent = v.Backpack
- end
- end)
- cmd.commands.register('goto', 'cmd%plrs', function(args)
- local target = args[2][1]
- cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
- end)
- cmd.commands.register('select', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- Instance.new("SelectionBox", v.Character).Adornee = v.Character
- end
- end)
- cmd.commands.register('sphere', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- Instance.new("SelectionSphere", v.Character).Adornee = v.Character
- end
- end)
- cmd.commands.register('bring', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
- end
- end)
- cmd.commands.register('knife', 'cmd%plrs', function(args)
- local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
- for i, v in pairs(args[2]) do
- knife:Clone().Parent = v
- end
- end)
- cmd.commands.register('shades', 'cmd%plrs', function(args)
- local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
- for i, v in pairs(args[2]) do
- shades:Clone().Parent = v.Character
- end
- end)
- cmd.commands.register('alien', 'cmd%plrs', function(args)
- -- variable
- for i, v in pairs(args[2]) do
- local pchar = v.Character
- if pchar:FindFirstChild('Shirt') then
- pchar.Shirt:Destroy()
- end
- if pchar:FindFirstChild('Pants') then
- pchar.Pants:Destroy()
- end
- if pchar:FindFirstChild('Shirt Graphic') then
- pchar['Shirt Graphic'].Graphic = ''
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA('Hat') then
- v:Destroy()
- end
- end
- local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
- ayy2.Parent = pchar
- local BC = pchar['Body Colors']
- BC.HeadColor = BrickColor.new('Fossil')
- BC.LeftArmColor = BrickColor.new('Fossil')
- BC.LeftLegColor = BrickColor.new('Fossil')
- BC.RightArmColor = BrickColor.new('Fossil')
- BC.RightLegColor = BrickColor.new('Fossil')
- BC.TorsoColor = BrickColor.new('Fossil')
- end
- end)
- cmd.commands.register('team', 'cmd%plrs%str', function(args)
- for i, v in pairs(args[2]) do
- for x, m in pairs(game:GetService('Teams'):GetTeams()) do
- if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
- v.TeamColor = m.TeamColor
- end
- end
- end
- end)
- cmd.commands.register('particles', 'cmd%plrs%int', function(args)
- for i, v in pairs(args[2]) do
- Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
- end
- end)
- cmd.commands.register('ghost', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local pchar = v.Character
- pchar.Head.Transparency = 0.5
- pchar.Torso.Transparency = 0.5
- pchar["Left Arm"].Transparency = 0.5
- pchar["Right Arm"].Transparency = 0.5
- pchar["Left Leg"].Transparency = 0.5
- pchar["Right Leg"].Transparency = 0.5
- pchar.Head.face.Transparency = 0.5
- end
- end)
- cmd.commands.register('firstperson', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- v.CameraMode = Enum.CameraMode.LockFirstPerson
- end
- end)
- cmd.commands.register('creeper', 'cmd%plrs', function(args)
- for i, v in pairs(args[2]) do
- local pchar = v.Character
- if pchar then
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
- end
- end
- end)
- cmd.commands.register('insert', 'cmd%int', function(args)
- local m = cmd.service('InsertService'):LoadAsset(args[2].data)
- m.Parent = game.Workspace
- m:MoveTo(cmd.localplayer.Character.Torso.Position)
- m:MakeJoints()
- end)
- cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
- for i, v in pairs(game.Players:GetPlayers()) do
- v.Character['Right Leg'].Parent = nil
- v.Character['Left Leg'].Parent = nil
- v.Character['Right Arm'].Parent = nil
- v.Character['Left Arm'].Parent = nil
- end
- end)
- cmd.commands.register('recurseremove', 'cmd%str', function(args)
- local function a(o)
- for i,v in pairs(o:GetChildren()) do
- if v:IsA(args[2].data) then
- v.Parent=nil
- end
- a(v)
- end
- end
- a(game.Workspace)
- end)
- cmd.commands.register('name', 'cmd%plrs%inf', function(args)
- for i, v in pairs(args[2]) do
- local tchar = v.Character
- for x, m in pairs(tchar:GetChildren()) do
- if m:FindFirstChild('nm') then
- m.Parent = nil
- end
- end
- tchar.Name = ''
- local ntag = Instance.new("Model", tchar)
- ntag.Name = args[3]
- local nhead = tchar.Head:Clone()
- nhead.Parent = ntag
- local nhum = Instance.new("Humanoid", ntag)
- nhum.MaxHealth = 0
- nhum.Health = 0
- nhum.Name = 'nm'
- local nweld = Instance.new("Weld", nhead)
- nweld.Part0 = nhead
- nweld.Part1 = tchar.Head
- end
- end)
- cmd.commands.register('track', 'cmd%plrs%inf', function(args)
- for i, v in pairs(args[2]) do
- local tchar = v.Character
- for x, m in pairs(tchar:GetChildren()) do
- if m:FindFirstChild('nm') then
- m.Parent = nil
- end
- end
- tchar.Name = ''
- local ntag = Instance.new("Model", workspace.CurrentCamera)
- ntag.Name = v.Name
- local nhead = tchar.Head:Clone()
- nhead.Parent = ntag
- local nhum = Instance.new("Humanoid", ntag)
- nhum.MaxHealth = 0
- nhum.Health = 0
- nhum.Name = 'nm'
- local nweld = Instance.new("Weld", nhead)
- nweld.Part0 = nhead
- nweld.Part1 = tchar.Head
- end
- end)
- cmd.commands.register('rname', 'cmd%plrs', function(args)
- local player = cmd.localplayer
- player.Neutral = false
- repeat
- wait()
- player.TeamColor = BrickColor.Random()
- until not player.Character.Humanoid
- end)
- cmd.commands.register('fogend', 'cmd%int', function(args)
- game.Lighting.FogEnd = args[2].data
- end)
- cmd.commands.register('fogstart', 'cmd%int', function(args)
- game.Lighting.FogStart = args[2].data
- end)
- cmd.commands.register('time', 'cmd%int', function(args)
- game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
- end)
- cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
- game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
- end)
- cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
- game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
- end)
- cmd.commands.register('sword', 'cmd%plrs', function(args)
- local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
- for i, v in pairs(args[2]) do
- sword:Clone().Parent = v.Backpack
- end
- end)
- cmd.commands.register('paranoid', 'cmd%plrs', function(args)
- for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored = true
- end
- end
- end)
- cmd.commands.register('size', 'cmd%plrs%int', function(args)
- for i, v in pairs(args[2]) do
- cmd.util.size(v, args[3].data)
- end
- end)
- cmd.commands.register('unlockws', 'cmd%plrs', function(args)
- local function dloop(o)
- for i, v in pairs(o:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored = false
- end
- if v:IsA("Model") then
- v:BreakJoints()
- end
- dloop(v)
- end
- end
- dloop(game.Workspace)
- end)
- cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
- for i, v in pairs(args[2]) do
- if v:FindFirstChild("leaderstats") then
- if v.leaderstats:FindFirstChild(args[3].data) then
- if v.leaderstats[args[3].data]:IsA("StringValue") then
- v.leaderstats[args[3].data].Value = args[4]
- end
- if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
- print(args[4])
- if tonumber(args[4]) ~= nil then
- v.leaderstats[args[3].data].Value = tonumber(args[4])
- end
- end
- end
- end
- end
- end)
- ---------------------------
- -- ** init ** --
- local count = 0
- for _, _ in pairs(cmd.commands.store) do count = count + 1 end
- warn("loaded nosyliam's cmdscript [a]")
- warn(tostring(count).." commands")
- DistributedCmdBar.FocusLost:connect(function(e)
- if e == true then
- cmd.commands.run(DistributedCmdBar.Text)
- DistributedCmdBar.Text = ''
- end
- end)
- --PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
- -- if cmd.util.isadmin(plr.Name) then
- -- if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
- -- cmd.commands.run(msg:sub(2, #msg))
- -- end
- -- end
- -- end)
- end
- topkek.navigation.buildHomePage = function()
- local count = 0
- for _, _ in pairs(cmd.commands.store) do count = count + 1 end
- local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
- hook:drawText(1, 'T0PK3K 4.0 ex-7 edition by TheMichalos')
- hook:drawText(1, 'Patch version 1.0.5')
- hook:drawText(1, 'Commandbase patch version 1.0.0')
- hook:drawText(1, 'Number of commands: ' .. tostring(count))
- local stime = hook:drawText(1, 'Server Time: 0')
- spawn(function()
- while true do
- stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
- wait(0.5)
- end
- end)
- local ssz = hook:drawText(1, 'Server Size: 0')
- spawn(function()
- while true do
- ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
- wait(0.5)
- end
- end)
- local fe = game:GetService('Workspace').FilteringEnabled
- hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
- hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
- hook:drawText(1, 'same', 55)
- end
- topkek.navigation.buildContainers = function()
- for _, v in pairs(topkek.data.windows) do
- topkek.tools.gui:makeContainer(v)
- end
- end
- topkek.navigation.initCommandBar()
- topkek.navigation.buildContainers()
- topkek.navigation.buildTopbar()
- topkek.navigation.buildHomePage()
- wait()
- --// actual code below lole //--
- --// PLAYERS //--
- local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
- local search = plrwin:drawButton(1, '', function()end)
- drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
- function fixPlayerDrop()
- local t = {'All'}
- for i, v in pairs(game.Players:GetPlayers()) do
- table.insert(t, v.Name)
- end
- drop.SetTable(t)
- end
- game.Players.PlayerAdded:connect(function()
- fixPlayerDrop()
- end)
- game.Players.PlayerRemoving:connect(function()
- fixPlayerDrop()
- end)
- plrFrame = plrwin:drawContainer(1, 100)
- headshotContainer = plrFrame:drawContainer(0.4, 94, true)
- headshotContainer:setDrawY(20)
- headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
- headshotContainer:setDrawY(0)
- userNameText = headshotContainer:drawText(1, "[All]")
- userNameText.ClipsDescendants = true
- userNameText.Font = Enum.Font.SourceSansBold
- infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
- infoContainer.BackgroundColor3 = color3(108, 38, 38)
- userIdText = infoContainer:drawText(1, "ID: 0")
- userAgeText = infoContainer:drawText(1, "Age: 0")
- userTeamText = infoContainer:drawText(1, "Team: Neutral")
- cval = 'All'
- fixPlayerDrop()
- function updatePlayer(plri)
- local plr = game:GetService('Players'):FindFirstChild(plri)
- if not plr and plri ~= 'All' then
- print("Couldn't find player!")
- updatePlayer(topkek.lplr)
- else
- headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
- userNameText.Text = "[All]"
- userIdText.Text = 'ID: [multiple]'
- userAgeText.Text = 'Age: [multiple]'
- userTeamText.Text = 'Team: [multiple]'
- cval = 'All'
- end
- local team = plr.TeamColor
- if team == nil then
- team = 'Neutral'
- else
- team = tostring(team)
- end
- headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
- userNameText.Text = plr.Name
- userIdText.Text = 'ID: ' .. tostring(plr.UserId)
- userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
- userTeamText.Text = 'Team: ' .. team
- cval = plr.Name
- end
- drop.Changed(updatePlayer)
- --actual code ------__-
- plrwin:addSpacing()
- plrwin:drawButton(1/2, 'Kick', function()
- tk.dp(cval, function(p)
- topkek.banmgr.executeKick(p)
- end)
- end)
- plrwin:drawButton(1/2, 'Ban', function()
- tk.dp(cval, function(p)
- topkek.banmgr.addSoftBan(p)
- end)
- end)
- plrwin:drawButton(1/2,'Friendlag', function()
- tk.dp(cval, function(p)
- for i = 1, 10 do
- spawn(function()
- while wait() do
- game.Players.LocalPlayer:RequestFriendship(p)
- game.Players.LocalPlayer:RevokeFriendship(p)
- end
- end)
- end
- end)
- end)
- plrwin:drawButton(1/2, 'Hardban', function()
- tk.dp(cval, function(p)
- topkek.banmgr.addHardBan(p)
- end)
- end)
- plrwin:addSpacing()
- plrwin:drawButton(1/2, 'Bring', function()
- tk.dp(cval, function(z)
- if z.Character then
- z.Character.HumanoidRootPart.CFrame =
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
- end
- end)
- end)
- plrwin:drawButton(1/2, 'Goto', function()
- tk.dp(cval, function(z)
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
- z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
- end)
- end)
- plrwin:addSpacing()
- plrwin:drawButton(1/3, 'Kill', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild("Humanoid") then
- p.Character.Humanoid.Health = 0
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Seizure', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
- spawn(function()
- p.Character.Humanoid.PlatformStand = true
- tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
- repeat
- wait()
- p.Character.Humanoid.PlatformStand = true
- tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
- tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
- end)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Stun', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild("Humanoid") then
- p.Character.Humanoid.PlatformStand = true
- p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Freeze', function()
- tk.dp(cval, function(p)
- if p.Character then
- tk.gt(p).Anchored = true
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Thaw', function()
- tk.dp(cval, function(p)
- if p.Character then
- tk.gt(p).Anchored = false
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Superslow', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.WalkSpeed = 1
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Highjump', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.JumpPower = 125
- end
- end)
- end)
- plrwin:drawButton(1/3, 'God', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.MaxHealth = math.huge
- p.Character.Humanoid.Health = math.huge
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Semigod', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.MaxHealth = 9e9
- p.Character.Humanoid.Health = 9e9
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Fast', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.WalkSpeed = 50
- end
- end)
- end)
- Follow = false;
- plrwin:drawButton(1/3, 'Annoy', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- if Follow == true then
- Follow = false; return
- else Follow = true end
- while Follow == true do
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
- p.Character.HumanoidRootPart.CFrame
- wait()
- end
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Freefall', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Destroy', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid:Destroy()
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Fix', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.Health = 100
- p.Character.Humanoid.MaxHealth = 100
- p.Character.Humanoid.JumpPower = 100
- p.Character.Humanoid.WalkSpeed = 16
- p.Character.Humanoid.PlatformStand = false
- p.Character.Humanoid.Jump = true
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Respawn', function()
- tk.dp(cval, function(p)
- if p.Character then
- local a1 = Instance.new("Model", game:service'Workspace')
- local a2 = Instance.new("Part", game:service'Workspace')
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- p.Character = a1
- a3.Health=0
- end
- end)
- end)
- plrwin:addSpacing()
- local nameInp
- plrwin:drawButton(1/3, 'Name', function()
- tk.dp(cval, function(z)
- local Character = z.Character
- local newName = Instance.new("Model", z.Character)
- newName.Name = nameInp.Text
- local cl = Character:WaitForChild("Head"):Clone()
- cl.Parent = newName
- cl:WaitForChild("face"):Destroy()
- local hum = Instance.new("Humanoid", newName)
- hum.Name = "NameTag"
- hum.MaxHealth = 0
- hum.Health = 0
- local weld = Instance.new("Weld", cl)
- weld.Part0 = cl
- weld.Part1 = Character:WaitForChild("Head")
- Character:WaitForChild("Head").Transparency = 1
- wait(.5)
- cl.BrickColor = Character:WaitForChild("Head").BrickColor
- end)
- end)
- nameInp = plrwin:drawTextBox(2/3, '')
- local chatInp
- plrwin:drawButton(1/3, 'Chat', function()
- tk.dp(cval, function(z)
- game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
- end)
- end)
- chatInp = plrwin:drawTextBox(2/3, '')
- local disgInp
- plrwin:drawButton(1/3, 'Disguise', function()
- tk.dp(cval, function(p)
- local id = 0
- if tonumber(disgInp.Text) then
- id = tonumber(disgInp.Text)
- else
- id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
- end
- if p.Character:FindFirstChild("Humanoid") then
- p.Character.Humanoid.Health = 0
- end
- p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
- end)
- end)
- disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
- plrwin:addSpacing()
- clrR = plrwin:drawTextBox(1/3, '0')
- clrG = plrwin:drawTextBox(1/3, '0')
- clrB = plrwin:drawTextBox(1/3, '0')
- function getColor()
- local r = tonumber(clrR.Text)
- local g = tonumber(clrG.Text)
- local b = tonumber(clrB.Text)
- if not (r and g and b) then return Color3.new(0,0,0) end
- return Color3.new(r/255, g/255, b/255)
- end
- plrwin:drawButton(1/3, 'Sparkles', function()
- tk.dp(cval, function(z)
- Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
- end)
- end)
- plrwin:drawButton(1/3, 'Smoke', function()
- tk.dp(cval, function(z)
- Instance.new("Smoke", tk.gt(z)).Color = getColor()
- end)
- end)
- plrwin:drawButton(1/3, 'Fire', function()
- tk.dp(cval, function(z)
- local fr = Instance.new("Fire", tk.gt(z))
- fr.Color = getColor()
- fr.Heat = 30
- fr.Size = 20
- end)
- end)
- plrwin:drawButton(1/3, 'Forcefield', function()
- tk.dp(cval, function(z)
- if z.Character then
- Instance.new("ForceField", z.Character)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Select', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Sphere', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Fling', function()
- tk.dp(cval, function(z)
- spawn(function() --kohls admin commands lol
- if z.Character and tk.gt(z) then
- local xran, zran
- repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
- repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
- z.Character.Humanoid.Sit = true
- tk.gt(z).Velocity = Vector3.new(0,0,0)
- local frc = Instance.new("BodyForce", tk.gt(z))
- frc.Name = "BFRC"
- frc.force = Vector3.new(xran*4,9999*5,zran*4)
- game:GetService("Debris"):AddItem(frc, 0.1)
- end
- end)
- end)
- end)
- plrwin:drawButton(1/3, 'Explode', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- local explosion = Instance.new("Explosion")
- explosion.Position = tk.gt(z).Position
- explosion.Parent = workspace
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Nuke', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- local torso = tk.gt(z)
- local nuke = Instance.new("Part", game.Workspace)
- local opos = torso.CFrame
- nuke.BrickColor = BrickColor.new("Bright yellow")
- nuke.TopSurface = Enum.SurfaceType.Smooth
- nuke.BottomSurface = Enum.SurfaceType.Smooth
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.Shape = "Ball"
- nuke.Transparency = 0.5
- nuke.CFrame = torso.CFrame
- nuke.Size = Vector3.new(1, 1, 1)
- nuke.Touched:connect(function(p)
- local expl = Instance.new("Explosion", p)
- expl.BlastPressure = 50000
- expl.BlastRadius = 50
- expl.Position = p.Position
- p.Material = Enum.Material.CorrodedMetal
- p:BreakJoints()
- end)
- for i = 1, 150 do
- nuke.Size = Vector3.new(i, i, i)
- nuke.CFrame = opos
- wait(0.08)
- end
- nuke:Destroy()
- end
- end)
- end)
- plrwin:drawButton(1/3, 'No Tools', function()
- tk.dp(cval, function(p)
- for _, t in pairs(p.Backpack:GetChildren()) do
- t:Destroy()
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Take Tools', function()
- tk.dp(cval, function(p)
- for _, t in pairs(p.Backpack:GetChildren()) do
- t.Parent = game:service'Players'.LocalPlayer.Backpack
- end
- end)
- end)
- plrwin:drawButton(1/3, 'BTools', function()
- tk.dp(cval, function(p)
- local a = Instance.new("HopperBin")
- a.BinType = "GameTool"
- a.Parent = p.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Clone"
- a.Parent = p.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Hammer"
- a.Parent = p.Backpack
- end)
- end)
- plrwin:drawButton(1/3, 'Hotdog', function()
- tk.dp(cval, function(p)
- if p.Character and tk.gt(p) then
- topkek.tools.util.weenieHutJunior(p)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Quicksand', function()
- tk.dp(cval, function(z)
- if z.Character and z.Character:FindFirstChild("Humanoid") then
- local tor = tk.gt(z)
- local hole = Instance.new("Part", z.Character)
- hole.Anchored = true
- hole.Name = "Hole"
- hole.FormFactor = Enum.FormFactor.Custom
- hole.Size = Vector3.new(7, 1, 7)
- hole.CanCollide = false
- hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
- hole.BrickColor = BrickColor.new("Cool yellow")
- hole.Material = Enum.Material.Sand
- local hm = Instance.new("CylinderMesh", hole)
- tor.Anchored = true
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.Jump = true
- end
- for x,m in pairs(z.Character:GetChildren()) do
- if m:IsA("BasePart") or m:IsA("MeshPart") then
- m.CanCollide = false
- end
- end
- for i=1,75 do
- tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
- wait(0.06)
- end
- tor.CFrame=tor.CFrame*CFrame.new(0,
- -500,0
- )
- z.Character.Humanoid.Health = 0
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Insane', function()
- tk.dp(cval, function(p)
- if p.Character and tk.gt(p) then
- for i,v in pairs(tk.gt(p):GetChildren()) do
- if v:IsA("Motor6D") then
- spawn(function()
- while v do
- v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- wait()
- end
- end)
- end
- end
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Invisible', function()
- tk.dp(cval, function(p)
- tk.rco(p.Character, 'BasePart', 'Transparency', 1)
- tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
- end)
- end)
- plrwin:drawButton(1/3, 'Visible', function()
- tk.dp(cval, function(p)
- tk.rco(p.Character, 'BasePart', 'Transparency', 0)
- tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
- end)
- end)
- plrwin:drawButton(1/3, 'Bighead', function()
- tk.dp(cval, function(z)
- if z.Character then
- if z.Character:FindFirstChild('Head') then
- z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
- end
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Goldify', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
- tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
- tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
- tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Neon', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
- tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Shiny', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
- tk.rcm(z.Character, 'MeshPart')
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Shrek', function()
- tk.dp(cval, function(z)
- if z.Character then
- local pchar = z.Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- local mesh = Instance.new("SpecialMesh", pchar.Head)
- mesh.MeshType = "FileMesh"
- pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
- pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
- pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
- local Shirt = Instance.new("Shirt", z.Character)
- local Pants = Instance.new("Pants", z.Character)
- Shirt.ShirtTemplate = "rbxassetid://133078194"
- Pants.PantsTemplate = "rbxassetid://133078204"
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Duck', function()
- tk.dp(cval, function(z)
- if z.Character then
- local pchar = z.Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
- duck.MeshType = "FileMesh"
- duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
- duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
- duck.Scale = Vector3.new(5, 5, 5)
- tk.rco(z.Character, 'Instance', 'Transparency', 1)
- z.Character.HumanoidRootPart.Transparency = 0
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Spheres', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Big', function()
- tk.dp(cval, function(z)
- if z.Character then
- topkek.tools.util.scalePlayer(5, z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Small', function()
- tk.dp(cval, function(z)
- if z.Character then
- topkek.tools.util.scalePlayer(5, z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Giraffe', function()
- tk.dp(cval, function(z)
- if z.Character then
- local char=z.Character
- local h=char.Head
- local tor=char:FindFirstChild("Torso")
- if not tor then return end
- tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
- local fn=Instance.new("Part",char)
- fn.Size=Vector3.new(1,5.5,1)
- fn.Name="FakeNeck"
- fn.Anchored=false
- fn.CanCollide=false
- if char:FindFirstChild("Body Colors") then
- fn.BrickColor=char["Body Colors"].HeadColor
- end
- local cm=Instance.new("CylinderMesh",fn)
- local we=Instance.new("Weld",h)
- we.Part0=h
- we.Part1=fn
- we.C1=we.C1*CFrame.new(0,2.6,0)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Dab', function()
- tk.dp(cval, function(z)
- if z.Character and z.Character:FindFirstChild("Torso") then
- local chr = z.Character
- chr.Animate.Disabled = true
- chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
- chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
- chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Force Follow', function()
- tk.dp(cval, function(z)
- game:GetService("RunService"):BindToRenderStep("_", 0, function()
- z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
- end)
- end)
- end)
- plrwin:drawButton(1/3, 'Camlock', function()
- tk.dp(cval, function(z)
- z.CameraMode = "LockFirstPerson"
- end)
- end)
- --// SERVER //--
- local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
- local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
- detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
- detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
- detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
- --detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
- servwin:drawButton(1/2, 'Shutdown', function()
- workspace.Gravity = 0/0
- end)
- servwin:drawButton(1/2, 'Clear', function()
- for i,v in pairs(game:service'Workspace':GetChildren()) do
- if (not v:IsA("Terrain"))and(v.Name~="Camera") then
- v:Destroy()
- end
- end
- end)
- servwin:drawButton(1/2, 'Baseplate', function()
- for X = -2500, 2500, 512 do
- for Z = -2500, 2500, 512 do
- local P = Instance.new("Part")
- P.Anchored = true
- P.Locked = true
- P.Size = Vector3.new(512,3,512)
- P.CFrame = CFrame.new(X,0,Z)
- P.BrickColor = BrickColor.Green()
- P.Parent = game:service'Workspace'
- end
- end
- end)
- servwin:drawButton(1/2, 'Reset', function()
- for i,v in pairs(game:service'Workspace':GetChildren()) do
- if (not v:IsA("Terrain"))and(v.Name~="Camera") then
- v:Destroy()
- end
- end
- for X = -2500, 2500, 512 do
- for Z = -2500, 2500, 512 do
- local P = Instance.new("Part")
- P.Anchored = true
- P.Locked = true
- P.Size = Vector3.new(512,3,512)
- P.CFrame = CFrame.new(X,0,Z)
- P.BrickColor = BrickColor.Green()
- P.Parent = game:service'Workspace'
- end
- end
- for i, v in pairs(game:GetService('Players'):GetPlayers()) do
- local a1 = Instance.new("Model", game:service'Workspace')
- local a2 = Instance.new("Part", game:service'Workspace')
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- v.Character = a1
- a3.Health=0
- end
- end)
- servwin:drawButton(1, 'Remove Sounds', function()
- tk.rcm(game, 'Sound')
- end)
- servwin:addSpacing()
- servwin:drawButton(1, 'Break All', function()
- workspace:BreakJoints(workspace:GetChildren())
- end)
- local gravInp
- servwin:drawButton(1/3, 'Gravity', function()
- if not tonumber(gravInp.Text) then return end
- workspace.Gravity = tonumber(gravInp.Text)
- end)
- gravInp = servwin:drawTextBox(2/3, '')
- servwin:addSpacing()
- servwin:drawButton(1, 'Reset Lighting', function()
- local l = game:service'Lighting'
- l.Ambient = Color3.new(0, 0, 0)
- l.Brightness = 1
- l.GlobalShadows = true
- l.Outlines = true
- l.FogEnd = 100000
- l.FogStart = 0
- l:SetMinutesAfterMidnight(12*60)
- end)
- local brightInp
- servwin:drawButton(1/3, 'Brightness', function()
- if not tonumber(brightInp.Text) then return end
- game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
- end)
- brightInp = servwin:drawTextBox(2/3, '100')
- local fogInp
- servwin:drawButton(1/3, 'Fog', function()
- if not tonumber(fogInp.Text) then return end
- game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
- end)
- fogInp = servwin:drawTextBox(2/3, '0')
- local timeInp
- servwin:drawButton(1/3, 'Hour', function()
- if not tonumber(timeInp.Text) then return end
- game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
- end)
- timeInp = servwin:drawTextBox(2/3, '12')
- servwin:addSpacing()
- -- private server crap
- local privateToggle
- local privStatus = false
- privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
- if privStatus == false then
- privStatus = true
- privateToggle.Text = 'Private Server ON'
- topkek.banmgr.makePrivate()
- else
- privateToggle.Text = 'Private Server OFF'
- topkek.banmgr.unprivate()
- end
- end)
- servwin:addSpacing()
- servwin:drawText(1, 'Whitelist')
- local plrAddInp
- servwin:drawButton(1/3, 'Add', function()
- topkek.banmgr.doWhitelist(plrAddInp.Text)
- ReorderWL()
- end)
- plrAddInp = servwin:drawTextBox(2/3, '')
- wlCont = servwin:drawScrollingContainer(100)
- function ReorderWL()
- local wl = topkek.banmgr.whitelist
- for i,v in pairs(wlCont:GetChildren()) do
- v:Destroy()
- end
- wlCont:setDrawY(3)
- for i,v in pairs(wl) do
- wlCont:drawText(2/3, v)
- wlCont:drawButton(1/3, 'Remove', function()
- topkek.banmgr.unwhitelist(v)
- ReorderWL()
- end)
- end
- end
- ReorderWL()
- --// LOCALPLAYER //--
- local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
- lpwin:drawButton(1, 'Reset Camera', function()
- game.Workspace.CurrentCamera:remove()
- wait(.1)
- game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
- game.Workspace[topkek.lplr.Name].Humanoid
- game.Workspace.CurrentCamera.CameraType = "Custom"
- end)
- lpwin:drawButton(1, 'Respawn', function()
- local a1 = Instance.new("Model", game:service'Workspace')
- local a2 = Instance.new("Part", game:service'Workspace')
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- topkek.lplr.Character = a1
- a3.Health=0
- end)
- lpwin:drawButton(1, 'Rejoin', function()
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- end)
- lpwin:addSpacing()
- lpwin:drawButton(1/2, 'God', function()
- if topkek.lplr.Character:FindFirstChild("Humanoid") then
- topkek.lplr.Character.Humanoid.MaxHealth = math.huge
- topkek.lplr.Character.Humanoid.Health = math.huge
- end
- end)
- lpwin:drawButton(1/2, 'Semigod', function()
- if topkek.lplr.Character:FindFirstChild("Humanoid") then
- topkek.lplr.Character.Humanoid.MaxHealth = 9e9
- topkek.lplr.Character.Humanoid.Health = 9e9
- end
- end)
- Loopgod = false
- lpwin:drawButton(1, 'Loopgod', function()
- if Loopgod == false then
- Loopgod = true
- spawn(function()
- repeat
- topkek.lplr.Character.Humanoid.MaxHealth = math.huge
- topkek.lplr.Character.Humanoid.Health = math.huge
- wait()
- until Loopgod == false
- end)
- else
- Loopgod = false
- end
- end)
- lpwin:addSpacing()
- plrwin:addSpacing()
- local Lev, Clip, Fly
- lpwin:drawButton(1/2, 'Levitate', function()
- if Lev == true then
- Lev = false
- return
- end
- Lev = true
- repeat
- topkek.lplr.Character.Humanoid:ChangeState(10)
- wait(0)
- until Lev == false
- end)
- lpwin:drawButton(1/2, 'Noclip', function()
- if Clip == true then
- Clip = false
- return
- end
- Clip = true
- game:GetService("RunService").Stepped:connect(function()
- tk.gt(topkek.lplr).CanCollide = not Clip
- topkek.lplr.Character.Head.CanCollide = not Clip
- topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
- if topkek.lplr.Character.UpperTorso then
- topkek.lplr.Character.LowerTorso.CanCollide = not Clip
- end
- end)
- topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
- tk.gt(topkek.lplr).CanCollide = not Clip
- topkek.lplr.Character.Head.CanCollide = not Clip
- topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
- if topkek.lplr.Character.UpperTorso then
- topkek.lplr.Character.LowerTorso.CanCollide = not Clip
- end
- end)
- end)
- lpwin:drawButton(1/2, 'Fly', function()
- if Fly == true then
- Fly = false
- return
- end
- Fly = true
- local mouse=game.Players.LocalPlayer:GetMouse''
- localplayer=game.Players.LocalPlayer
- game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
- local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local speed=0
- local keys={a=false,d=false,w=false,s=false}
- local e1
- local e2
- local function start()
- local pos = Instance.new("BodyPosition",torso)
- local gyro = Instance.new("BodyGyro",torso)
- pos.Name="EPIXPOS"
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = torso.Position
- gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- gyro.cframe = torso.CFrame
- repeat
- wait()
- localplayer.Character.Humanoid.PlatformStand=true
- local new=gyro.cframe - gyro.cframe.p + pos.position
- if not keys.w and not keys.s and not keys.a and not keys.d then
- speed=1
- end
- if keys.w then
- new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.s then
- new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.d then
- new = new * CFrame.new(speed,0,0)
- speed=speed+0.01
- end
- if keys.a then
- new = new * CFrame.new(-speed,0,0)
- speed=speed+0.01
- end
- if speed>5 then
- speed=5
- end
- pos.position=new.p
- if keys.w then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
- elseif keys.s then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
- else
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame
- end
- until not Fly
- if gyro then gyro:Destroy() end
- if pos then pos:Destroy() end
- flying=false
- localplayer.Character.Humanoid.PlatformStand=false
- speed=0
- end
- e1=mouse.KeyDown:connect(function(key)
- if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
- if key=="w" then
- keys.w=true
- elseif key=="s" then
- keys.s=true
- elseif key=="a" then
- keys.a=true
- elseif key=="d" then
- keys.d=true
- end
- end)
- e2=mouse.KeyUp:connect(function(key)
- if key=="w" then
- keys.w=false
- elseif key=="s" then
- keys.s=false
- elseif key=="a" then
- keys.a=false
- elseif key=="d" then
- keys.d=false
- end
- end)
- start()
- end)
- lpwin:drawButton(1/2, 'Highjump', function()
- local thrust = Instance.new("BodyVelocity")
- game:GetService('UserInputService').InputBegan:connect(function(i, b)
- if i.KeyCode == Enum.KeyCode.Space then
- print("Got jump")
- coroutine.resume(coroutine.create(function()
- thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
- thrust.velocity = Vector3.new(0,50,0)
- thrust.maxForce = Vector3.new(0,4e+050,0)
- wait(0.2)
- thrust.Parent = nil
- end))
- end
- end)
- end)
- lpwin:addSpacing()
- local apprInp
- lpwin:drawButton(1/3, 'Appearance', function()
- local id = 0
- if tonumber(apprInp.Text) then
- id = tonumber(apprInp.Text)
- else
- id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
- end
- if topkek.lplr.Character:FindFirstChild("Humanoid") then
- topkek.lplr.Character.Humanoid.Health = 0
- end
- topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
- end)
- apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
- local teamInp
- lpwin:drawButton(1/3, 'Team', function()
- topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
- end)
- teamInp = lpwin:drawTextBox(2/3, 'Bright red')
- lpwin:drawButton(1/2, 'Naked', function()
- topkek.lplr:ClearCharacterAppearance()
- end)
- lpwin:drawButton(1/2, 'Neutral', function()
- topkek.lplr.Neutral = true
- end)
- lpwin:addSpacing()
- lpwin:drawButton(1/2, 'Orb', function()
- game.Players.LocalPlayer.Character = nil
- --lp:Destroy()
- local cam = game.Workspace.CurrentCamera
- local m = Instance.new("Model", game.Workspace)
- m.Name = game.Players.LocalPlayer.Name
- local hum = Instance.new("Humanoid", m)
- hum.Health = 0
- hum.MaxHealth = 0
- local orb = Instance.new("Part", m)
- orb.Size = Vector3.new(1, 1, 1)
- orb.Shape = "Ball"
- orb.Name = "Head"
- orb.Anchored = true
- orb.CanCollide = true
- orb.BottomSurface = Enum.SurfaceType.Smooth
- orb.TopSurface = Enum.SurfaceType.Smooth
- orb.Transparency = 0
- spawn(function()
- while true do
- wait(0.1)
- if orb then
- orb.BrickColor = BrickColor.Random()
- else break end
- end
- end)
- cam.CameraSubject = orb
- cam.CameraType = Enum.CameraType.Fixed
- game:GetService("RunService").RenderStepped:connect(function()
- orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
- end)
- game.Players.LocalPlayer.Chatted:connect(function(a)
- game:GetService("Chat"):Chat(orb, a)
- end)
- end)
- lpwin:drawButton(1/2, 'Freecam', function()
- local cam = game.Workspace.CurrentCamera
- cam.CameraType = "Fixed"
- cam.CameraSubject = nil
- topkek.lplr.Character = nil
- end)
- lpwin:drawButton(1/2, 'NoGrav', function()
- if topkek.lplr.Character then
- for x,m in pairs(topkek.lplr.Character:GetChildren()) do
- if m:IsA("BasePart") then
- local bf = Instance.new("BodyForce", m)
- bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
- end
- if m:IsA("Hat") or m:IsA("Accessory") then
- if m:findFirstChild("Handle") then
- local bf = Instance.new("BodyForce", m.Handle)
- bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
- end
- end
- end
- end
- end)
- lpwin:drawButton(1/2, 'Trowel', function()
- topkek.tools.util.trowel()
- end)
- lpwin:addSpacing()
- lpwin:drawButton(1/2, 'Fedora', function()
- local hats={
- 98346834,
- 215751161,
- 119916949,
- 72082328,
- 147180077,
- 100929604,
- 63043890,
- 1285307,
- 1029025,
- 334663683,
- 259423244
- }
- game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
- end)
- lpwin:drawButton(1/2, 'Rainbow Name', function()
- topkek.lplr.Neutral = false
- repeat
- wait()
- topkek.lplr.TeamColor = BrickColor.Random()
- until not topkek.lplr.Character.Humanoid
- end)
- local tagInp
- lpwin:drawButton(1/3, 'Tag', function()
- local len = 10
- local bb = Instance.new("BillboardGui")
- bb.Parent = topkek.lplr.Character.Head
- bb.Adornee = topkek.lplr.Character.Head
- bb.AlwaysOnTop = true
- bb.Enabled = true
- bb.Size = UDim2.new(len, 0, 1.5, 0)
- bb.Name = "tag"
- bb.StudsOffset = Vector3.new(0, 3, 0)
- --local fr = Instance.new("Frame")
- --fr.Parent = bb
- --fr.Size = UDim2.new(1, 0, 1, 0)
- --fr.Style = Enum.FrameStyle.RobloxRound
- local tl = Instance.new("TextLabel")
- tl.Parent = bb
- tl.Font = Enum.Font.Code
- tl.BackgroundTransparency = 1
- tl.TextScaled = true
- tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.Text = tagInp.Text
- tl.Name = "trutag"
- tl.Visible = true
- tl.ZIndex = 2
- end)
- tagInp = lpwin:drawTextBox(2/3, '')
- --// SCRIPTS //--
- --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
- --local search = scriptwin:drawTextBox(1,'')
- --local origy = scriptwin:getDrawY()
- --scriptwin:addSpacing()
- --scriptwin:addSpacing()
- --local scripts = game:GetObjects("rbxassetid://376553985")[1]
- --local container = {}
- --function MakeList(condition)
- -- for i,v in pairs(scriptwin:GetChildren()) do
- -- if v.Name == "Script" then
- -- v:Destroy()
- -- end
- -- end
- --scriptwin:setDrawY(origy)
- --for i, v in pairs(scripts:GetChildren()) do
- -- if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
- -- local scr = scriptwin:drawButton(1, v.Name, function()
- -- spawn(function() loadstring(v.Source)() end)
- -- end, 25)
- -- scr.Name = 'Script'
- -- end
- -- end
- --end
- --game:GetService("UserInputService").InputChanged:connect(function(inp)
- -- if inp.UserInputType == Enum.UserInputType.TextInput then
- -- if search:IsFocused() then
- -- MakeList(search.Text)
- -- end
- --end
- --end)
- --MakeList('')
- --// DESTRUCTION // --
- local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
- local decals, seldec = destwin:drawScrollingContainer(100)
- seldec = destwin:drawText(1, 'Selected Decal: None')
- cursel = nil
- local decs = {
- {'Rain', '574772793'},
- {'Robbie', '574773630'},
- {'Pepe', '244905904'},
- {'Troll Face', '48308661'},
- {'Jeff', '109129888'},
- {'Shrek', '170539018'},
- {'Doge', '133720697'},
- {'Dat Boi', '409578848'},
- }
- for _, v in pairs(decs) do
- local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
- topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
- end
- destwin:drawButton(1, 'Spam Decal', function()
- if cursel ~= nil then
- topkek.tools.util.recurseDecal(tonumber(cursel))
- end
- end)
- destwin:drawButton(1, 'Spam Particles', function()
- if cursel ~= nil then
- topkek.tools.util.recurseParticles(tonumber(cursel))
- end
- end)
- destwin:drawButton(1, 'Spam Both', function()
- if cursel ~= nil then
- topkek.tools.util.recurseUltimate(tonumber(cursel))
- end
- end)
- destwin:drawButton(1, 'Rollback', function()
- tk.rcm(workspace, 'Decal')
- tk.rcm(workspace, 'ParticleEmitter')
- end)
- destwin:addSpacing()
- destwin:drawButton(1, '666', function()
- for i,v in next,workspace:children''do
- if(v:IsA'BasePart')then
- me=v;
- bbg=Instance.new('BillboardGui',me);
- bbg.Name='stuf';
- bbg.Adornee=me;
- bbg.Size=UDim2.new(2.5,0,2.5,0)
- --bbg.StudsOffset=Vector3.new(0,2,0)
- tlb=Instance.new'TextLabel';
- tlb.Text='666 666 666 666 666 666';
- tlb.Font='SourceSansBold';
- tlb.FontSize='Size48';
- tlb.TextColor3=Color3.new(1,0,0);
- tlb.Size=UDim2.new(1.25,0,1.25,0);
- tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
- tlb.BackgroundTransparency=1;
- tlb.Parent=bbg;
- end;end;
- --coroutine.wrap(function()while wait''do
- s=Instance.new'Sound';
- s.Parent=workspace;
- s.SoundId='rbxassetid://152840862';
- s.Pitch=1;
- s.Volume=1;
- s.Looped=true;
- s:play();
- --end;end)();
- function xds(dd)
- for i,v in next,dd:children''do
- if(v:IsA'BasePart')then
- v.BrickColor=BrickColor.new'Really black';
- v.TopSurface='Smooth';
- v.BottomSurface='Smooth';
- s=Instance.new('SelectionBox',v);
- s.Adornee=v;
- s.Color=BrickColor.new'Really red';
- a=Instance.new('PointLight',v);
- a.Color=Color3.new(1,0,0);
- a.Range=15;
- a.Brightness=5;
- f=Instance.new('Fire',v);
- f.Size=19;
- f.Heat=22;
- end;
- game.Lighting.TimeOfDay=0;
- game.Lighting.Brightness=0;
- game.Lighting.ShadowColor=Color3.new(0,0,0);
- game.Lighting.Ambient=Color3.new(1,0,0);
- game.Lighting.FogEnd=200;
- game.Lighting.FogColor=Color3.new(0,0,0);
- local dec = 'http://www.roblox.com/asset/?id=19399245';
- local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
- --coroutine.wrap(function()
- --for _,__ in pairs(fac) do
- --local ddec = Instance.new("Decal", v)
- --ddec.Face = __
- --ddec.Texture = dec
- --end end)()
- if #(v:GetChildren())>0 then
- xds(v)
- end
- end
- end
- xds(game.Workspace)
- end)
- destwin:drawButton(1, 'Troll', function()
- topkek.tools.util.recurseUltimate('48308661')
- tk.play(154664102)
- end)
- destwin:addSpacing()
- destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
- local materiallist =
- {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
- Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
- Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
- Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
- Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
- local function r(where)
- for _,v in pairs (where:GetChildren()) do
- if v:IsA("BasePart") then
- spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
- end)
- destwin:drawButton(1/2,'Materialize',function()
- local function r(where)
- for _,v in pairs (where:GetChildren()) do
- if v:IsA("BasePart") then
- spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
- end)
- destwin:drawButton(1/2,'Meshify',function()
- local enums={
- Enum.MeshType.Head;
- Enum.MeshType.Torso;
- Enum.MeshType.Wedge;
- Enum.MeshType.Brick;
- Enum.MeshType.Sphere;
- Enum.MeshType.Cylinder;
- }
- tk.rcf('BasePart',function(o)
- local mesh = Instance.new('SpecialMesh', o)
- mesh.MeshType = enums[math.random(1,#enums)]
- end)
- end)
- destwin:drawButton(1/2,'Loop-Meshify',function()
- coroutine.wrap(function()
- while true do
- local enums={
- Enum.MeshType.Head;
- Enum.MeshType.Torso;
- Enum.MeshType.Wedge;
- Enum.MeshType.Brick;
- Enum.MeshType.Sphere;
- Enum.MeshType.Cylinder;
- }
- tk.rcf('BasePart',function(o)
- if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
- local mesh = Instance.new('SpecialMesh', o)
- mesh.MeshType = enums[math.random(1,#enums)]
- end)
- wait(0.5)
- end
- end)()
- end)
- destwin:addSpacing()
- destwin:drawButton(1, 'Rotations', function()
- tk.rcf('BasePart', function(o)
- o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
- end)
- end)
- destwin:drawButton(1, 'Collisions', function()
- tk.rcf('BasePart', function(o)
- o.CanCollide = false
- end)
- end)
- destwin:drawButton(1, 'Velocity', function()
- tk.rcf('BasePart', function(o)
- o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
- end)
- end)
- destwin:drawButton(1, 'Invisiblity', function()
- tk.rcf('BasePart', function(o)
- o.Transparency = 1
- end)
- end)
- destwin:drawButton(1, 'BreakJoints', function()
- tk.rcf('Model', function(o)
- o:BreakJoints()
- end)
- end)
- destwin:drawButton(1, 'Forces', function()
- tk.rcf('BasePart', function(o)
- local bf = Instance.new("BodyForce", o)
- bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
- end)
- end)
- destwin:drawButton(1, 'Brightness', function()
- tk.rcf('BasePart', function(o)
- local light = Instance.new("SpotLight", o)
- light.Brightness = 9e9
- light.Range = 60
- end)
- end)
- --// CATALOG //--
- local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
- local page, currentkeyword = 1, ""
- local searchbar, search, makeCatalog, res = 0, 0, 0, {}
- local searchbar = catwin:drawTextBox(2/3,'')
- local search = catwin:drawButton(1/3, 'Search', function()
- page = 1
- currentkeyword = searchbar.Text
- makeCatalog(currentkeyword, page)
- end)
- local previous = catwin:drawButton(1/2, 'Previous Page', function()
- if page > 1 then
- page = page - 1
- makeCatalog(currentkeyword, page)
- end
- end)
- local previous = catwin:drawButton(1/2, 'Next Page', function()
- if page >= 1 then
- page = page + 1
- makeCatalog(currentkeyword, page)
- end
- end)
- local catalog_start = catwin:getDrawY()
- function split(str,divider)
- local found = ""
- local results = {}
- for i=1,string.len(str) do
- if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
- table.insert(results, found)
- found = ""
- else
- found = found..string.sub(str,i,i)
- end
- end
- table.insert(results, found)
- return results
- end
- function GetName(nm)
- local spl = split(nm," ")
- local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
- return (a.." "..b.." "..c.." "..d.." "..e)
- end
- --function makeCatalog(keyword, page)
- --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
- --local results = game:HttpGet(endpoint, true)
- --local parse = game:GetService('HttpService'):JSONDecode(results)
- --for i, v in pairs(res) do
- --v:Destroy()
- --end
- --catwin:setDrawY(catalog_start)
- --catwin:addSpacing()
- --for i, v in pairs(parse) do
- --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
- --local below = topkek.tools.util.Object("TextButton", {
- -- Parent = img;
- -- BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
- -- BorderSizePixel = 0;
- -- Position = UDim2.new(0, -45, 1, 5);
- -- Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
- -- Font = 'SourceSans';
- -- FontSize = 'Size14';
- -- Text = GetName(v['Name']);
- -- TextSize = 14;
- -- TextColor3 = color3(199, 199, 199);
- -- TextStrokeTransparency = 0.5;
- -- ClipsDescendants = true;
- --})
- -- below.MouseButton1Down:connect(function()
- -- local Model = Instance.new("Model", workspace)
- -- game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
- -- Model:MakeJoints()
- -- Model:MoveTo(topkek.lplr.Character.Head.Position)
- --end)
- --img.Size=UDim2.new(0,50,0,50)
- --img.Position=img.Position+UDim2.new(0,45,0,0)
- -- if (i%2)==0 then
- -- catwin:setDrawY(catwin:getDrawY() + 25)
- --end
- -- if (i==10) then
- -- catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
- -- end
- -- table.insert(res,img)
- --end
- --end
- --makeCatalog("", 1)
- --// CMDS //--
- cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
- count = 0
- for _, _ in pairs(cmd.commands.store) do count = count + 1 end
- cmdwin:drawText(1, tostring(count) .. " Commands")
- cmdwin:drawText(1, 'Chat Prefix: /')
- local cmdlist = cmdwin:drawScrollingContainer(260)
- for i, v in pairs(cmd.commands.fmtstore) do
- local xfmt = {}
- local str = " ;" .. i .. " "
- for form in v:gmatch("[^%%]+") do
- if form ~= 'cmd' then
- if form == 'inf' then form = 'str' end
- str = str .. "{" .. form .. "} "
- end
- end
- cmdlist:drawText(1, str)
- end
- --// MUSIC //--
- musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
- Sounds = {
- {"caramell", 2303479};
- {"epic", 27697743};
- {"rick", 2027611};
- {"halo", 1034065};
- {"pokemon", 1372261};
- {"cursed", 1372257};
- {"extreme", 11420933};
- {"awaken", 27697277};
- {"alone", 27697392};
- {"mario", 1280470};
- {"choir", 1372258};
- {"chrono" ,1280463};
- {"dotr", 11420922};
- {"entertain", 27697267};
- {"fantasy", 1280473};
- {"final", 787};
- {"organ", 11231513};
- {"tunnel", 9650822}
- }
- local cursel
- local xcursel = 0
- scr = musicwin:drawScrollingContainer(230)
- for i, v in pairs(Sounds) do
- scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
- cursel.Text = "Currently Selected - " .. v[1]
- xcursel = v[2]
- end)
- end
- cursel = musicwin:drawText(1, "Currently Selected - None")
- local setInp
- musicwin:drawButton(1/3, "Set", function()
- if tonumber(setInp.Text) then
- cursel.Text = "Currently Selected - " .. setInp.Text
- xcursel = tonumber(setInp.Text)
- end
- end)
- setInp = musicwin:drawTextBox(2/3, '')
- musicwin:drawButton(1, "Play", function()
- tk.rcm(game, 'Sound')
- tk.play(xcursel)
- end)
- musicwin:drawButton(1, "Stop", function()
- tk.rcm(game, 'Sound')
- end)
- --// FACES //--
- facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
- local faces = {
- {name='Rofl',id=47595647},
- {name='Sparta',id=74142203},
- {name='UJelly',id=48989071},
- {name='Troll',id=45120559},
- {name='Horse',id=62079221},
- {name='Angry',id=48258623},
- {name='Okey',id=62830600},
- {name='Yeaw',id=53646377},
- {name='Here',id=62677045},
- {name='Har',id=48260066},
- {name='Baby Sun',id=47596170},
- {name='LOL',id=48293007},
- {name='Sad',id=53645378},
- {name='Joseph Stalin',id=48290678},
- {name='Doge',id=130742396},
- {name='Forever Alone',id=156886272},
- {name='RickRoll',id=5104631},
- {name='Jim Carrey',id=74885351},
- {name='Meh IRL',id=237553381}
- }
- local cursel, xcursel = nil, 0
- faclist = facwin:drawScrollingContainer(260)
- for i,v in pairs(faces) do
- local btn = faclist:drawButton(1, v['name'], function()
- xcursel = v['id']
- cursel.Text = 'Currently Selected: ' .. v['name']
- end)
- topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
- end
- cursel = facwin:drawText(1, 'Currently Selected: None')
- facwin:drawButton(1, 'Wear', function()
- if not (xcursel == 0) then
- if topkek.lplr.Character then
- tk.rcm(topkek.lplr.Character, 'Accessory')
- tk.rcm(topkek.lplr.Character, 'Hat')
- topkek.tools.util.applyFace(xcursel)
- end
- end
- end)
- --// SETTINGS // --
- setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
- setwin:drawText(1, 'Patch: ' .. topkek.patch)
- setwin:drawText(1, 'Devnote: foh skids')
- setwin:drawText(1, [[
- === CREDITS ===
- Variable - retard that created Stella
- KrystalTeam - provided critical design tips & advice
- Circumvention - lol joey salads
- Thanks to everyone that supported T0PK3K 4.0!
- ]], 260)
- --// BANLIST //--
- banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
- local plrBanInp
- banwin:drawButton(1/3, 'Add', function()
- topkek.settings.get()
- table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
- topkek.settings.write()
- UpdateBanlist()
- end)
- plrBanInp = banwin:drawTextBox(2/3, '')
- banCont = banwin:drawScrollingContainer(288)
- function UpdateBanlist(x)
- topkek.settings.get()
- local wl = x or topkek.settingsTable['Bans']
- for i,v in pairs(banCont:GetChildren()) do
- v:Destroy()
- end
- banCont:setDrawY(3)
- for i,v in pairs(wl) do
- banCont:drawText(2/3, v)
- banCont:drawButton(1/3, 'Remove', function()
- for x, m in pairs(wl) do
- if m == v then
- table.remove(topkek.settingsTable['Bans'], x)
- topkek.settings.write()
- UpdateBanlist()
- topkek.banmgr.bans = topkek.settingsTable['Bans']
- end
- end
- end)
- end
- end
- UpdateBanlist()
- --// HATS //--
- hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
- local hats={
- {name='Dominus Empyreus',id=21070012},
- {name='Dominus Vespertilio',id=96103379},
- {name='Dominus Infernus',id=31101391},
- {name='Dominus Rex',id=250395631},
- {name='Dominus Frigidus',id=48545806},
- {name='Dominus Astra',id=162067148},
- {name='Dominus Aureus',id=138932314},
- {name='DIY Dominus Empyreus',id=151789690},
- {name='Dominus Messor',id=64444871},
- {name='Demon Skeleton Wings',id=133554007},
- {name='Gilded Wings of Glory',id=250405532},
- {name='Majestic Ice Wings',id=188702967},
- {name='Black Wings',id=215719598},
- {name='Clockworks Shades',id=11748356},
- {name='Faerie Wings',id=19399896},
- {name='Orinthian Wings',id=223751505},
- {name='Clockworks Headphones',id=1235488},
- {name='Perfectly Legitimate Business Hat',id=19027209},
- {name='Sparkling Angel Wings',id=192557913},
- {name='Commander Crows Wings',id=133553855},
- {name='Sunfire Wings',id=158068470},
- {name='Royal Faerie Wings',id=119916756},
- {name='Wings of Freedom',id=164174048},
- {name='Firebrand Wings',id=128160626},
- {name='Frozen Wings',id=136758613},
- {name='Webbed Wings',id=120507280},
- {name='Gargoyle Wings',id=120507201},
- {name='Bat Wings',id=19399858},
- {name='Wings of Fire',id=136758532},
- {name='Headrow',id=1082935},
- {name='Rubber Duckie',id=9254254},
- {name='Valkyrie Helm',id=1365767},
- {name='Hockey Mask',id=5161514}}
- local searchi = hatwin:drawButton(1, '', function()end)
- dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
- function fixPlayerDropi()
- local t = {'All'}
- for i, v in pairs(game.Players:GetPlayers()) do
- table.insert(t, v.Name)
- end
- dropx.SetTable(t)
- end
- game.Players.PlayerAdded:connect(function()
- fixPlayerDropi()
- end)
- game.Players.PlayerRemoving:connect(function()
- fixPlayerDropi()
- end)
- local eval = 'All'
- dropx.Changed(function(p) eval = p end)
- fixPlayerDrop()
- local hatInp
- hatlist = hatwin:drawScrollingContainer(260)
- for i,v in pairs(hats) do
- hatlist:drawButton(1, v['name'], function()
- hatInp.Text = tostring(v['id'])
- end)
- end
- hatwin:drawButton(1/3, 'Wear', function()
- local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
- tk.dp(eval, function(x)
- if x.Character then
- hat:Clone().Parent = x.Character
- end
- end)
- end)
- hatInp = hatwin:drawTextBox(2/3, '')
- topkek.tools.animator.initialAnimation()
- topkek.banmgr.init()
- end
- function Inferno()
- -- Released on chirstmas
- -- Credits Jon#1582,Victini#4791
- -- Update Z is now working
- -- I'm tired you guys find out what the rest does
- -- THIS UPDATE IS BIG SO HAVE FUN
- Character = game.Players.LocalPlayer.Character
- Head = Character.Head
- CV="Blue"
- p = game.Players.LocalPlayer
- char = p.Character
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Cartoon"
- text.TextStrokeColor3 = Color3.new(0, 242, 52)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=p.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=char.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.new(0,0,.50)
- v.Shape="Block"
- text.Text = ""
- local s = Instance.new("Sound",char)
- s.Name = "BGMusic"
- s.SoundId = "rbxassetid://678679515"
- s.Pitch = 1
- s.Volume = 10
- s.Looped = true
- s.archivable = false
- s.Parent = char.Head
- wait(0.1)
- s:play()
- Instance.new("ForceField", game.Players.LocalPlayer.Character)
- print("Inferno Loaded.")
- print("Unleash the deadly fire to anyone to destroy.")
- p = game.Players.LocalPlayer
- char = p.Character
- torso = char.Torso
- neck = char.Torso.Neck
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- cam=game.Workspace.CurrentCamera
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- bounce=false
- cooldown=false
- deeznuts=false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- mana=0
- cam = workspace.CurrentCamera
- ZTarget = nil
- RocketTarget = nil
- local m = Instance.new("Model",Character)
- m.Name = "WeaponModel"
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local red = 255
- local green = 255
- local blue = 255
- local Humanoid = Character.Humanoid
- local mouse = Player:GetMouse()
- local m = Instance.new("Model", Character)
- m.Name = "WeaponModel"
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local equipped = false
- local attack = false
- local Anim = "Idle"
- local idle = 0
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local grabbed = false
- local cn = CFrame.new
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local lim = 0
- local st = 0
- local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local attacktype = 1
- local ZTarget, RocketTarget = nil, nil
- local euler = CFrame.fromEulerAnglesXYZ
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- rayCast = function(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- local v = game.Players.localPlayer
- local torso = v.Character.Torso
- plr = game.Players.LocalPlayer
- char = game.Players.LocalPlayer.Character
- hum = game.Players.LocalPlayer.Character.Humanoid
- t = game.Players.LocalPlayer.Character.Torso
- h = game.Players.LocalPlayer.Character.Head
- ra = game.Players.LocalPlayer.Character["Right Arm"]
- la = game.Players.LocalPlayer.Character["Left Arm"]
- rl = game.Players.LocalPlayer.Character["Right Leg"]
- ll = game.Players.LocalPlayer.Character["Left Leg"]
- tors = Character.Torso
- lleg = Character["Left Leg"]
- root = Character.HumanoidRootPart
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- bsize1 = NumberSequenceKeypoint.new(3,3,3)
- bsize2 = NumberSequenceKeypoint.new(10,10,10)
- local Effects = {}
- attack = false
- local attacking = false
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- matr = math.random
- local colororg = BrickColor.new("Dark indigo") -- set color u like
- local meshtype = "Sphere" -- only for specialmesh
- mouse = plr:GetMouse()
- CFuncs = {
- ["Part"] = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Weld"] = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- ["Sound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end;
- };
- ["ParticleEmitter"] = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return fp
- end;
- };
- CreateTemplate = {
- };
- }
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "SciFi"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(0.15,0.15,1)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "SciFi"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(0.15,0.15,1)
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- Player.Chatted:connect(onChatted)
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,3,TorsoColor)
- else
- h.Health=h.Health-(Damage/2)
- showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,10,0)
- bodyVelocity.P=1000
- bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- swait(5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- showDamage=function(Char,Dealt,du,Color)
- m=Instance.new("Model")
- m.Name=""
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.Material = "Neon"
- c.BrickColor=bc("Bright red")
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- CV="Hot pink"
- local txt = Instance.new("BillboardGui", c)
- txt.Adornee = c
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- if Dealt < 12 then
- text.Font = "Highway"
- elseif Dealt < 20 then
- text.Font = "SourceSansBold"
- elseif Dealt >= 20 then
- text.Font = "Fantasy"
- end
- text.TextStrokeColor3 = BrickColor.new("Really black").Color
- local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=c
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=c.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- if Dealt < 12 then
- text.TextColor3 = BrickColor.new("White").Color
- elseif Dealt < 20 then
- text.TextColor3 = BrickColor.new("Bright yellow").Color
- elseif Dealt >= 20 then
- text.TextColor3 = BrickColor.new("Really red").Color
- end
- v.Shape="Block"
- text.Text = tostring(Dealt).. "!"
- local dam = Instance.new("Sound",c)
- local rndm=math.random(1,#hitsounds)
- local r=rndm
- dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
- dam.Volume = 1.25
- dam.Pitch = 1
- dam:Play()
- c.formFactor="Plate"
- c.Transparency = 1
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- wait(1)
- for l = 0, 9 do
- text.TextTransparency = text.TextTransparency + 0.1
- text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1
- wait()
- end
- end
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = it(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size14"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("White")
- return gui
- end
- ---- GUI set
- local basgui = it("GuiMain")
- basgui.Parent = Player.PlayerGui
- basgui.Name = "CooldownsGUI"
- local basframe = it("Frame")
- basframe.Parent = basgui
- basframe.BackgroundColor3 = Color3.new(255, 255, 255)
- basframe.BackgroundTransparency = 1
- basframe.BorderColor3 = Color3.new(17, 17, 17)
- basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
- basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
- local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
- basicgui.ZIndex = 2
- basicgui.Font = "Highway"
- basicgui.BackgroundTransparency = 0.5
- basicgui.BorderSizePixel = 0.65
- basicgui.TextScaled = true
- basicgui.Text = "(F)\nGreen thrower"
- basicgui.TextSize = 24
- local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
- basicgui2.ZIndex = 2
- basicgui2.Font = "Highway"
- basicgui2.BackgroundTransparency = 0.5
- basicgui2.BorderSizePixel = 0.65
- basicgui2.TextScaled = true
- basicgui2.Text = "(E)\nGreen touch"
- basicgui2.TextSize = 24
- local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
- basicgui3.ZIndex = 2
- basicgui3.Font = "Highway"
- basicgui3.BackgroundTransparency = 0.5
- basicgui3.BorderSizePixel = 0.65
- basicgui3.TextScaled = true
- basicgui3.Text = "(Q)\nGreen flare"
- basicgui3.TextSize = 24
- local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
- basicgui4.ZIndex = 2
- basicgui4.Font = "Highway"
- basicgui4.BackgroundTransparency = 0.5
- basicgui4.BorderSizePixel = 0.65
- basicgui4.TextScaled = true
- basicgui4.Text = "(R)\nGreen bomb"
- basicgui4.TextSize = 24
- local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
- basicgui5.ZIndex = 2
- basicgui5.Font = "Highway"
- basicgui5.BackgroundTransparency = 0.5
- basicgui5.BorderSizePixel = 0.65
- basicgui5.TextScaled = true
- basicgui5.Text = "(Z)\nParticles"
- basicgui5.TextSize = 24
- local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
- basicgui6.ZIndex = 2
- basicgui6.Font = "Highway"
- basicgui6.BackgroundTransparency = 0.5
- basicgui6.BorderSizePixel = 0.65
- basicgui6.TextScaled = true
- basicgui6.Text = "(X)\nGreen hell"
- basicgui6.TextSize = 24
- local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0))
- healthg.ZIndex = 2
- healthg.Font = "Highway"
- healthg.BackgroundTransparency = 0.5
- healthg.BorderSizePixel = 0.65
- healthg.TextScaled = true
- healthg.Text = "health"
- healthg.TextSize = 24
- char.Humanoid.Animator.Parent = nil
- ---------------- set a position
- local handle = Instance.new("Part")
- handle.Parent = Character
- handle.Size = Vector3.new(0.2,0.2,0.2)
- handle.Archivable = true
- handle.Transparency = 1
- handle.CanCollide = false
- handle.BrickColor = BrickColor.new("White")
- handle.Material = "Neon"
- local handlmesh = Instance.new("BlockMesh",handle)
- handlmesh.Scale = Vector3.new(1,1,1)
- local handleweld = Instance.new("Weld")
- handleweld.Parent = handle
- handleweld.Part0 = rarm
- handleweld.Part1 = handle
- handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- handleweld.Part0 = rarm
- ---- yeee boi here comes entrance of inferno
- hum.WalkSpeed = 0
- local dd = Instance.new("ParticleEmitter",handle)
- dd.Texture = "http://www.roblox.com/asset/?id=745304849"
- dd.LightEmission = 1
- dd.Color = ColorSequence.new(Color3.new(0, 242, 52))
- dd.Rate = 50
- dd.Lifetime = NumberRange.new(0.5)
- dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
- dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
- dd.Speed = NumberRange.new(0)
- dd.Rotation = NumberRange.new(-500,500)
- dd.VelocitySpread = 90000
- dd.LockedToPart = true
- dd.RotSpeed = NumberRange.new(-500,500)
- local bon = Instance.new("ParticleEmitter",handle)
- bon.Texture = "rbxassetid://296874871"
- bon.LightEmission = 0.75
- bon.Color = ColorSequence.new(Color3.new(0, 242, 52))
- bon.Rate = 0
- bon.Lifetime = NumberRange.new(2.5)
- bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
- bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- bon.Speed = NumberRange.new(15)
- bon.Rotation = NumberRange.new(-500,500)
- bon.VelocitySpread = 90000
- bon.RotSpeed = NumberRange.new(-500,500)
- local bon2 = Instance.new("ParticleEmitter",handle)
- bon2.Texture = "rbxassetid://296874871"
- bon2.LightEmission = 0.75
- bon2.Color = ColorSequence.new(Color3.new(0, 242, 52))
- bon2.Rate = 0
- bon2.Lifetime = NumberRange.new(2.5)
- bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)})
- bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- bon2.Speed = NumberRange.new(25)
- bon2.Rotation = NumberRange.new(-500,500)
- bon2.VelocitySpread = 90000
- bon2.RotSpeed = NumberRange.new(-500,500)
- for i = 0,8,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-7.5 + 2.5 * math.cos(sine / 32))), 0.3)
- end
- dd.Rate = 0
- bon.Rate = 99999
- bon2.Rate = 99999
- local tran = Instance.new("ParticleEmitter",handle)
- tran.Texture = "rbxassetid://296874871"
- tran.LightEmission = 0.75
- tran.Color = ColorSequence.new(Color3.new(0, 242, 525))
- tran.Rate = 99999
- tran.Lifetime = NumberRange.new(0.25)
- tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
- tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
- tran.Speed = NumberRange.new(0)
- tran.Rotation = NumberRange.new(-500,500)
- tran.VelocitySpread = 90000
- tran.LockedToPart = true
- tran.RotSpeed = NumberRange.new(-500,500)
- local tran2 = Instance.new("ParticleEmitter",handle)
- tran2.Texture = "http://www.roblox.com/asset/?id=745304849"
- tran2.LightEmission = 1
- tran2.Color = ColorSequence.new(Color3.new(0, 242, 52))
- tran2.Rate = 50
- tran2.Lifetime = NumberRange.new(0.5)
- tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)})
- tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
- tran2.Speed = NumberRange.new(0)
- tran2.Rotation = NumberRange.new(-500,500)
- tran2.VelocitySpread = 90000
- tran2.LockedToPart = true
- tran2.RotSpeed = NumberRange.new(-500,500)
- wait(0.5)
- bon.Rate = 0
- bon2.Rate = 0
- wait(3.25)
- bon:Destroy()
- bon:Destroy()
- dd:Destroy()
- hum.WalkSpeed = 16
- -----------
- function InfernoComet()
- attack = true
- chatfunc("Green flare...")
- handleweld.Part0 = rarm
- local tra = Instance.new("ParticleEmitter",handle)
- tra.Texture = "rbxassetid://296874871"
- tra.LightEmission = 0.75
- tra.Color = ColorSequence.new(Color3.new(0, 242, 52))
- tra.Rate = 99999
- tra.Lifetime = NumberRange.new(0.25)
- tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
- tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
- tra.Speed = NumberRange.new(0)
- tra.Rotation = NumberRange.new(-500,500)
- tra.VelocitySpread = 90000
- tra.LockedToPart = true
- tra.RotSpeed = NumberRange.new(-500,500)
- local tra2 = Instance.new("ParticleEmitter",handle)
- tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
- tra2.LightEmission = 1
- tra2.Color = ColorSequence.new(Color3.new(0, 242, 52))
- tra2.Rate = 50
- tra2.Lifetime = NumberRange.new(0.5)
- tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
- tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
- tra2.Speed = NumberRange.new(0)
- tra2.Rotation = NumberRange.new(-500,500)
- tra2.VelocitySpread = 90000
- tra2.LockedToPart = true
- tra2.RotSpeed = NumberRange.new(-500,500)
- for i = 0,4,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
- end
- local sa = Instance.new("Sound",handle)
- sa.SoundId = "rbxassetid://304448425"
- sa.Volume = 1
- sa.Pitch = 1
- sa:Play()
- tra.Rate = 0
- tra2.Rate = 0
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Lime green").Color
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = handle.CFrame
- lb.Anchored = true
- lb.Transparency = 1
- lb.Size = vt(1,1,1)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = meshtype
- local hitted = false
- lb.Anchored = false
- local trail = Instance.new("ParticleEmitter",lb)
- trail.Texture = "rbxassetid://296874871"
- trail.LightEmission = 1
- trail.Color = ColorSequence.new(Color3.new(0, 242, 52))
- trail.Rate = 9999
- trail.Lifetime = NumberRange.new(1.5)
- trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- trail.Speed = NumberRange.new(0,0)
- trail.Rotation = NumberRange.new(-500,500)
- trail.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *75
- bv.Parent = lb
- wait(0.05)
- lb.Touched:connect(function(hit)
- if hitted == false then
- hitted = true
- trail.Rate = 0
- lb.Anchored = true
- local aa = Instance.new("Part")
- local val = 1*3.5
- aa.Parent = lb
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://402347142"
- exsound.Volume = 3.5
- exsound.Pitch = 1
- exsound:Play()
- aa.Material = "Neon"
- aa.Color = BrickColor.new("Lime green").Color
- aa.CanCollide = false
- aa.Shape = "Ball"
- aa.CFrame = lb.CFrame
- aa.Anchored = true
- aa.Transparency = 0
- aa.Size = vt(1,1,1)
- local thinger = Instance.new("SpecialMesh",aa)
- thinger.MeshType = meshtype
- thinger.Scale = vt(15,15,15)
- local explosion = Instance.new("Explosion",aa)
- explosion.Position = aa.Position
- explosion.BlastRadius = 22.5
- explosion.BlastPressure = 100
- local exp = Instance.new("ParticleEmitter",aa)
- exp.Texture = "rbxassetid://296874871"
- exp.LightEmission = 1
- exp.Color = ColorSequence.new(Color3.new(0, 242, 52))
- exp.Rate = 9000000000
- exp.Lifetime = NumberRange.new(1)
- exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Speed = NumberRange.new(100)
- exp.VelocitySpread = 9000000
- exp.Rotation = NumberRange.new(-500,500)
- exp.RotSpeed = NumberRange.new(-500,500)
- local expa = Instance.new("ParticleEmitter",aa)
- expa.Texture = "rbxassetid://296874871"
- expa.LightEmission = 1
- expa.Color = ColorSequence.new(Color3.new(0, 242, 52))
- expa.Rate = 9000000000
- expa.Lifetime = NumberRange.new(2.75)
- expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
- expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- expa.Speed = NumberRange.new(100)
- expa.VelocitySpread = 9000000
- expa.Rotation = NumberRange.new(-500,500)
- expa.RotSpeed = NumberRange.new(-500,500)
- local exp2 = exp:Clone()
- exp2.Parent = aa
- local exp3 = exp:Clone()
- exp3.Parent = aa
- local exp4 = exp:Clone()
- exp4.Parent = aa
- local exp5 = exp:Clone()
- exp5.Parent = aa
- local exp6 = exp:Clone()
- exp6.Parent = aa
- local exp7 = exp:Clone()
- exp7.Parent = aa
- local expa2 = expa:Clone()
- expa2.Parent = aa
- local expa3 = expa:Clone()
- expa3.Parent = aa
- local expa4 = expa:Clone()
- expa4.Parent = aa
- local expa5 = expa:Clone()
- expa5.Parent = aa
- local expa6 = expa:Clone()
- expa6.Parent = aa
- local expa7 = expa:Clone()
- expa7.Parent = aa
- for i = 0, 1 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- exp.Rate = 0
- exp2.Rate = 0
- exp3.Rate = 0
- exp4.Rate = 0
- exp5.Rate = 0
- exp6.Rate = 0
- exp7.Rate = 0
- for i = 0, 1 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- expa.Rate = 0
- expa2.Rate = 0
- expa3.Rate = 0
- expa4.Rate = 0
- expa5.Rate = 0
- expa6.Rate = 0
- expa7.Rate = 0
- for i = 0, 21 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- for i = 0, 74 do
- val = val - 0.0145
- aa.Transparency = aa.Transparency + 0.0145
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- end
- end)
- attack = false
- wait(30)
- sa:Destroy()
- tra:Destroy()
- tra2:Destroy()
- lb:Destroy()
- end
- function InfernoHell()
- attack = true
- chatfunc("GREEN...")
- handleweld.Part0 = rarm
- local aura = Instance.new("ParticleEmitter",tors)
- aura.Texture = "rbxassetid://305563617"
- aura.LightEmission = 1
- aura.Color = ColorSequence.new(Color3.new(0, 242, 52))
- aura.Rate = 25
- aura.Lifetime = NumberRange.new(0.75)
- aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)})
- aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- aura.Speed = NumberRange.new(15)
- aura.VelocitySpread = 50
- local aura2 = Instance.new("ParticleEmitter",tors)
- aura2.Texture = "rbxassetid://296874871"
- aura2.LightEmission = 1
- aura2.Color = ColorSequence.new(Color3.new(0, 242, 52))
- aura2.Rate = 99999
- aura2.Lifetime = NumberRange.new(1.5)
- aura2.Acceleration = vt(0,45,0)
- aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
- aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- aura2.Speed = NumberRange.new(-25)
- aura2.Rotation = NumberRange.new(-500,500)
- aura2.VelocitySpread = 45
- aura2.RotSpeed = NumberRange.new(-500,500)
- local auran = Instance.new("ParticleEmitter",tors)
- auran.Texture = "rbxassetid://296874871"
- auran.LightEmission = 1
- auran.Color = ColorSequence.new(Color3.new(0, 242, 52))
- auran.Rate = 0
- auran.Lifetime = NumberRange.new(5)
- auran.Acceleration = vt(0,-45,0)
- auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
- auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- auran.Speed = NumberRange.new(65)
- auran.Rotation = NumberRange.new(-500,500)
- auran.VelocitySpread = 100
- auran.RotSpeed = NumberRange.new(-500,500)
- local sa = Instance.new("Sound",handle)
- sa.SoundId = "rbxassetid://431105970"
- sa.Volume = 5
- sa.Pitch = 1
- sa:Play()
- for i = 0,2,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- end
- for i = 0, 5 do
- auran.Rate = 99999
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Bright blue").Color
- lb.CanCollide = false
- lb.Size = vt(1,1,1)
- lb.CFrame = tors.CFrame
- lb.Rotation = vt(0,0,0)
- lb.Anchored = true
- lb.Transparency = 0
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = "FileMesh"
- thing.MeshId = "http://www.roblox.com/asset/?id=20329976"
- thing.Scale = vt(0,15,0)
- local chancerot = math.random(1,2)
- for z = 0, 4 do
- if chancerot == 1 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
- elseif chancerot == 2 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
- end
- lb.Transparency = lb.Transparency + 0.1
- thing.Scale = thing.Scale + vt(15,0,15)
- wait()
- end
- auran.Rate = 0
- for z = 0, 4 do
- if chancerot == 1 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
- elseif chancerot == 2 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
- end
- lb.Transparency = lb.Transparency + 0.1
- thing.Scale = thing.Scale + vt(15,0,15)
- wait()
- end
- lb:Destroy()
- end
- chatfunc("HELL!!!")
- local sa = Instance.new("Sound",handle)
- sa.SoundId = "rbxassetid://416328540"
- sa.Volume = 10
- sa.Pitch = 0.75
- sa:Play()
- local sbs = Instance.new("BodyPosition", root)
- sbs.P = 3000
- sbs.D = 1000
- sbs.maxForce = Vector3.new(500000, 500000000, 500000)
- sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0)
- for i = 0,24,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
- end
- local shur = Instance.new("Part",char)
- local gahde = Instance.new("Sound",char)
- gahde.SoundId = "rbxassetid://402981977"
- gahde.Volume = 5
- gahde.Pitch = 0.6
- gahde:Play()
- shur.Transparency = 1
- shur.Material = "Neon"
- shur.BrickColor = bc("Bright red")
- shur.Anchored = true
- shur.CFrame = tors.CFrame + vt(0,10,0)
- shur.Size = vt(1,0.2,1)
- shur.CanCollide = false
- local dec = Instance.new("Decal",shur)
- dec.Texture = "http://www.roblox.com/asset/?id=840391577"
- dec.Face = "Top"
- local dec2 = dec:Clone()
- dec2.Parent = shur
- dec2.Face = "Bottom"
- local Meshshur = Instance.new("CylinderMesh",shur)
- Meshshur.Scale = vt(0,1,0)
- for i = 0, 39 do
- wait()
- Meshshur.Scale = Meshshur.Scale + vt(15,0,15)
- end
- local sa = Instance.new("Sound",char)
- sa.SoundId = "rbxassetid://428027602"
- sa.Volume = 2.5
- sa.Pitch = 0.5
- sa:Play()
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Bright blue").Color
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = handle.CFrame
- lb.Anchored = true
- lb.Transparency = 0
- lb.Size = vt(1,1,1)
- lb.CFrame = handle.CFrame
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = meshtype
- thing.Scale = vt(0,0,0)
- for i = 0, 89 do
- thing.Scale = thing.Scale + vt(2.5,2.5,2.5)
- lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0)
- wait()
- end
- wait(1)
- for i = 0, 39 do
- wait()
- Meshshur.Scale = Meshshur.Scale - vt(15,0,15)
- end
- local sa = Instance.new("Sound",char)
- sa.SoundId = "rbxassetid://565538688"
- sa.Volume = 1
- sa.Pitch = 0.95
- sa:Play()
- wait(0.5)
- shur:Destroy()
- sbs:Destroy()
- local sa = Instance.new("Sound",char)
- sa.SoundId = "rbxassetid://416328540"
- sa.Volume = 1.5
- sa.Pitch = 0.5
- sa:Play()
- local sa = Instance.new("Sound",char)
- sa.SoundId = "rbxassetid://466493476"
- sa.Volume = 1.5
- sa.Pitch = 0.5
- sa:Play()
- aura.Rate = 0
- aura2.Rate = 0
- local hitted = false
- lb.Anchored = false
- local trail = Instance.new("ParticleEmitter",lb)
- trail.Texture = "rbxassetid://296874871"
- trail.LightEmission = 1
- trail.Color = ColorSequence.new(Color3.new(0, 242, 52))
- trail.Rate = 9999
- trail.Lifetime = NumberRange.new(2.5)
- trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)})
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- trail.Speed = NumberRange.new(100)
- trail.VelocitySpread = 9000000
- trail.Rotation = NumberRange.new(-500,500)
- trail.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *75
- bv.Parent = lb
- wait(0.05)
- lb.Touched:connect(function(hit)
- if hitted == false then
- hitted = true
- trail.Rate = 0
- lb.Anchored = true
- local aa = Instance.new("Part")
- for i = 0, 9 do
- lb.Transparency = lb.Transparency + 0.1
- local val = 1*3.5
- aa.Parent = lb
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://412831137"
- exsound.Volume = 10
- exsound.Pitch = 0.5
- exsound:Play()
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://439342426"
- exsound.Volume = 10
- exsound.Pitch = 0.75
- exsound:Play()
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://439342426"
- exsound.Volume = 10
- exsound.Pitch = 0.5
- exsound:Play()
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://439342426"
- exsound.Volume = 10
- exsound.Pitch = 0.35
- exsound:Play()
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://439342426"
- exsound.Volume = 10
- exsound.Pitch = 0.25
- exsound:Play()
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://439342426"
- exsound.Volume = 10
- exsound.Pitch = 0.2
- exsound:Play()
- aa.Material = "Neon"
- aa.Color = BrickColor.new("Bright blue").Color
- aa.CanCollide = false
- aa.Shape = "Ball"
- aa.CFrame = lb.CFrame
- aa.Anchored = true
- aa.Transparency = 0
- aa.Size = vt(1,1,1)
- local thinger = Instance.new("SpecialMesh",aa)
- thinger.MeshType = meshtype
- thinger.Scale = vt(225,225,225)
- local explosion = Instance.new("Explosion",aa)
- explosion.Position = aa.Position
- explosion.BlastRadius = 500
- explosion.BlastPressure = 100
- local exp = Instance.new("ParticleEmitter",aa)
- exp.Texture = "rbxassetid://296874871"
- exp.LightEmission = 1
- exp.Color = ColorSequence.new(Color3.new(0, 242, 52))
- exp.Rate = 9000000000
- exp.Lifetime = NumberRange.new(1)
- exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Speed = NumberRange.new(100)
- exp.VelocitySpread = 9000000
- exp.Rotation = NumberRange.new(-500,500)
- exp.RotSpeed = NumberRange.new(-500,500)
- local expa = Instance.new("ParticleEmitter",aa)
- expa.Texture = "rbxassetid://296874871"
- expa.LightEmission = 1
- expa.Color = ColorSequence.new(Color3.new(0, 242, 52))
- expa.Rate = 9000000000
- expa.Lifetime = NumberRange.new(2.75)
- expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)})
- expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- expa.Speed = NumberRange.new(100)
- expa.VelocitySpread = 9000000
- expa.Rotation = NumberRange.new(-500,500)
- expa.RotSpeed = NumberRange.new(-500,500)
- local exp2 = exp:Clone()
- exp2.Parent = aa
- local exp3 = exp:Clone()
- exp3.Parent = aa
- local exp4 = exp:Clone()
- exp4.Parent = aa
- local exp5 = exp:Clone()
- exp5.Parent = aa
- local exp6 = exp:Clone()
- exp6.Parent = aa
- local exp7 = exp:Clone()
- exp7.Parent = aa
- local expa2 = expa:Clone()
- expa2.Parent = aa
- local expa3 = expa:Clone()
- expa3.Parent = aa
- local expa4 = expa:Clone()
- expa4.Parent = aa
- local expa5 = expa:Clone()
- expa5.Parent = aa
- local expa6 = expa:Clone()
- expa6.Parent = aa
- local expa7 = expa:Clone()
- expa7.Parent = aa
- for i = 0, 1 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- exp.Rate = 0
- exp2.Rate = 0
- exp3.Rate = 0
- exp4.Rate = 0
- exp5.Rate = 0
- exp6.Rate = 0
- exp7.Rate = 0
- for i = 0, 1 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- expa.Rate = 0
- expa2.Rate = 0
- expa3.Rate = 0
- expa4.Rate = 0
- expa5.Rate = 0
- expa6.Rate = 0
- expa7.Rate = 0
- for i = 0, 21 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- for i = 0, 4 do
- val = val - 0.05
- aa.Transparency = aa.Transparency + 0.065*4.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- end
- end
- end)
- for i = 0,2,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
- end
- attack = false
- wait(60)
- sa:Destroy()
- sa:Destroy()
- sa:Destroy()
- sa:Destroy()
- sa:Destroy()
- aura:Destroy()
- aura2:Destroy()
- lb:Destroy()
- end
- function InfernoMeteor()
- attack = true
- chatfunc("Green...")
- handleweld.Part0 = rarm
- local tra = Instance.new("ParticleEmitter",handle)
- tra.Texture = "rbxassetid://296874871"
- tra.LightEmission = 0.75
- tra.Color = ColorSequence.new(Color3.new(0, 242, 52))
- tra.Rate = 99999
- tra.Lifetime = NumberRange.new(0.25)
- tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
- tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
- tra.Speed = NumberRange.new(0)
- tra.Rotation = NumberRange.new(-500,500)
- tra.VelocitySpread = 90000
- tra.LockedToPart = true
- tra.RotSpeed = NumberRange.new(-500,500)
- local tra2 = Instance.new("ParticleEmitter",handle)
- tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
- tra2.LightEmission = 1
- tra2.Color = ColorSequence.new(Color3.new(0, 242, 52))
- tra2.Rate = 50
- tra2.Lifetime = NumberRange.new(0.5)
- tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
- tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
- tra2.Speed = NumberRange.new(0)
- tra2.Rotation = NumberRange.new(-500,500)
- tra2.VelocitySpread = 90000
- tra2.LockedToPart = true
- tra2.RotSpeed = NumberRange.new(-500,500)
- local sa = Instance.new("Sound",handle)
- sa.SoundId = "rbxassetid://565538688"
- sa.Volume = 1.5
- sa.Pitch = 0.975
- sa:Play()
- for i = 0,4,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
- end
- chatfunc("THROWER!!")
- local sa = Instance.new("Sound",handle)
- sa.SoundId = "rbxassetid://304529688"
- sa.Volume = 1.5
- sa.Pitch = 0.85
- sa:Play()
- tra.Rate = 0
- tra2.Rate = 0
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Bright blue").Color
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = handle.CFrame
- lb.Anchored = true
- lb.Transparency = 1
- lb.Size = vt(1,1,1)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = meshtype
- local hitted = false
- lb.Anchored = false
- local trail = Instance.new("ParticleEmitter",lb)
- trail.Texture = "rbxassetid://296874871"
- trail.LightEmission = 1
- trail.Color = ColorSequence.new(Color3.new(0, 242, 52))
- trail.Rate = 9999
- trail.Lifetime = NumberRange.new(1.5)
- trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- trail.Speed = NumberRange.new(0,0)
- trail.Rotation = NumberRange.new(-500,500)
- trail.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *95
- bv.Parent = lb
- wait(0.05)
- lb.Touched:connect(function(hit)
- if hitted == false then
- hitted = true
- trail.Rate = 0
- lb.Anchored = true
- local aa = Instance.new("Part")
- local val = 1*8
- aa.Parent = lb
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://402347142"
- exsound.Volume = 10
- exsound.Pitch = 0.945
- exsound:Play()
- aa.Material = "Neon"
- aa.Color = BrickColor.new("Bright blue").Color
- aa.CanCollide = false
- aa.Shape = "Ball"
- aa.CFrame = lb.CFrame
- aa.Anchored = true
- aa.Transparency = 0
- aa.Size = vt(1,1,1)
- local thinger = Instance.new("SpecialMesh",aa)
- thinger.MeshType = meshtype
- thinger.Scale = vt(15,15,15)
- local explosion = Instance.new("Explosion",aa)
- explosion.Position = aa.Position
- explosion.BlastRadius = 65
- explosion.BlastPressure = 100
- local exp = Instance.new("ParticleEmitter",aa)
- exp.Texture = "rbxassetid://296874871"
- exp.LightEmission = 1
- exp.Color = ColorSequence.new(Color3.new(0, 242, 52))
- exp.Rate = 9000000000
- exp.Lifetime = NumberRange.new(1)
- exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Speed = NumberRange.new(200)
- exp.VelocitySpread = 9000000
- exp.Rotation = NumberRange.new(-500,500)
- exp.RotSpeed = NumberRange.new(-500,500)
- local expa = Instance.new("ParticleEmitter",aa)
- expa.Texture = "rbxassetid://296874871"
- expa.LightEmission = 1
- expa.Color = ColorSequence.new(Color3.new(0, 242, 52))
- expa.Rate = 9000000000
- expa.Lifetime = NumberRange.new(2.75)
- expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)})
- expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- expa.Speed = NumberRange.new(200)
- expa.VelocitySpread = 9000000
- expa.Rotation = NumberRange.new(-500,500)
- expa.RotSpeed = NumberRange.new(-500,500)
- local exp2 = exp:Clone()
- exp2.Parent = aa
- local exp3 = exp:Clone()
- exp3.Parent = aa
- local exp4 = exp:Clone()
- exp4.Parent = aa
- local exp5 = exp:Clone()
- exp5.Parent = aa
- local exp6 = exp:Clone()
- exp6.Parent = aa
- local exp7 = exp:Clone()
- exp7.Parent = aa
- local expa2 = expa:Clone()
- expa2.Parent = aa
- local expa3 = expa:Clone()
- expa3.Parent = aa
- local expa4 = expa:Clone()
- expa4.Parent = aa
- local expa5 = expa:Clone()
- expa5.Parent = aa
- local expa6 = expa:Clone()
- expa6.Parent = aa
- local expa7 = expa:Clone()
- expa7.Parent = aa
- for i = 0, 1 do
- val = val - 0.025*8
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- exp.Rate = 0
- exp2.Rate = 0
- exp3.Rate = 0
- exp4.Rate = 0
- exp5.Rate = 0
- exp6.Rate = 0
- exp7.Rate = 0
- for i = 0, 1 do
- val = val - 0.025*8
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- expa.Rate = 0
- expa2.Rate = 0
- expa3.Rate = 0
- expa4.Rate = 0
- expa5.Rate = 0
- expa6.Rate = 0
- expa7.Rate = 0
- for i = 0, 21 do
- val = val - 0.025*8
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- for i = 0, 74 do
- val = val - 0.0145
- aa.Transparency = aa.Transparency + 0.0145
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- end
- end)
- attack = false
- wait(30)
- sa:Destroy()
- tra:Destroy()
- tra2:Destroy()
- lb:Destroy()
- end
- function InfernoWrath()
- attack = true
- chatfunc("GREEN BOMB!!")
- for i = 0,4,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- end
- local ff = Instance.new("ForceField",char)
- hum.WalkSpeed = 0
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Lime green").Color
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = torso.CFrame
- lb.Anchored = true
- lb.Transparency = 1
- lb.Size = vt(1,1,1)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = meshtype
- for i = 0, 4 do
- local lbr = Instance.new("Part")
- lbr.Parent = char
- lbr.Material = "Neon"
- lbr.Color = BrickColor.new("Lime green").Color
- lbr.CanCollide = false
- lbr.Shape = "Ball"
- lbr.CFrame = lb.CFrame
- lbr.Anchored = true
- lbr.Transparency = 1
- lbr.Size = vt(1,1,1)
- local thinga = Instance.new("SpecialMesh",lbr)
- thinga.MeshType = meshtype
- thinga.Scale = vt(20*6,20*6,20*6)
- for z = 0, 19 do
- wait(0.025)
- lbr.Transparency = lbr.Transparency - 0.05
- thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6)
- end
- lbr:Destroy()
- end
- local aa = Instance.new("Part")
- local val = 1*7.5
- aa.Parent = lb
- local exsound = Instance.new("Sound",handle)
- exsound.SoundId = "rbxassetid://402347142"
- exsound.Volume = 10
- exsound.Pitch = 1
- exsound:Play()
- aa.Material = "Neon"
- aa.Color = BrickColor.new("Bright blue").Color
- aa.CanCollide = false
- aa.Shape = "Ball"
- aa.CFrame = lb.CFrame
- aa.Anchored = true
- aa.Transparency = 0
- aa.Size = vt(1,1,1)
- local thinger = Instance.new("SpecialMesh",aa)
- thinger.MeshType = meshtype
- thinger.Scale = vt(15*1.5,15*1.5,15*1.5)
- local explosion = Instance.new("Explosion",aa)
- explosion.Position = aa.Position
- explosion.BlastRadius = 50
- explosion.BlastPressure = 100
- local exp = Instance.new("ParticleEmitter",aa)
- exp.Texture = "rbxassetid://296874871"
- exp.LightEmission = 1
- exp.Color = ColorSequence.new(Color3.new(0, 242, 52))
- exp.Rate = 9000000000
- exp.Lifetime = NumberRange.new(1)
- exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Speed = NumberRange.new(115)
- exp.VelocitySpread = 9000000
- exp.Rotation = NumberRange.new(-500,500)
- exp.RotSpeed = NumberRange.new(-500,500)
- local expa = Instance.new("ParticleEmitter",aa)
- expa.Texture = "rbxassetid://296874871"
- expa.LightEmission = 1
- expa.Color = ColorSequence.new(Color3.new(0, 242, 52))
- expa.Rate = 9000000000
- expa.Lifetime = NumberRange.new(2.75)
- expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
- expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- expa.Speed = NumberRange.new(115)
- expa.VelocitySpread = 9000000
- expa.Rotation = NumberRange.new(-500,500)
- expa.RotSpeed = NumberRange.new(-500,500)
- local exp2 = exp:Clone()
- exp2.Parent = aa
- local exp3 = exp:Clone()
- exp3.Parent = aa
- local exp4 = exp:Clone()
- exp4.Parent = aa
- local exp5 = exp:Clone()
- exp5.Parent = aa
- local exp6 = exp:Clone()
- exp6.Parent = aa
- local exp7 = exp:Clone()
- exp7.Parent = aa
- local expa2 = expa:Clone()
- expa2.Parent = aa
- local expa3 = expa:Clone()
- expa3.Parent = aa
- local expa4 = expa:Clone()
- expa4.Parent = aa
- local expa5 = expa:Clone()
- expa5.Parent = aa
- local expa6 = expa:Clone()
- expa6.Parent = aa
- local expa7 = expa:Clone()
- expa7.Parent = aa
- for i = 0, 1 do
- val = val - 0.025*7.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- exp.Rate = 0
- exp2.Rate = 0
- exp3.Rate = 0
- exp4.Rate = 0
- exp5.Rate = 0
- exp6.Rate = 0
- exp7.Rate = 0
- for i = 0, 1 do
- val = val - 0.025*7.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- ff:Destroy()
- hum.WalkSpeed = 16
- attack = false
- expa.Rate = 0
- expa2.Rate = 0
- expa3.Rate = 0
- expa4.Rate = 0
- expa5.Rate = 0
- expa6.Rate = 0
- expa7.Rate = 0
- for i = 0, 21 do
- val = val - 0.025*7.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- for i = 0, 74 do
- val = val - 0.0145
- aa.Transparency = aa.Transparency + 0.0145
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- wait(5)
- lb:Destroy()
- end
- function InfernoDemise()
- attack = true
- chatfunc("Green toch!!")
- local tra = Instance.new("ParticleEmitter",handle)
- tra.Texture = "rbxassetid://296874871"
- tra.LightEmission = 0.75
- tra.Color = ColorSequence.new(Color3.new(0, 242, 52))
- tra.Rate = 99999
- tra.Lifetime = NumberRange.new(0.25)
- tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
- tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
- tra.Speed = NumberRange.new(0)
- tra.Rotation = NumberRange.new(-500,500)
- tra.VelocitySpread = 90000
- tra.LockedToPart = true
- tra.RotSpeed = NumberRange.new(-500,500)
- local tra2 = Instance.new("ParticleEmitter",handle)
- tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
- tra2.LightEmission = 1
- tra2.Color = ColorSequence.new(Color3.new(0, 242, 52))
- tra2.Rate = 50
- tra2.Lifetime = NumberRange.new(0.5)
- tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
- tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
- tra2.Speed = NumberRange.new(0)
- tra2.Rotation = NumberRange.new(-500,500)
- tra2.VelocitySpread = 90000
- tra2.LockedToPart = true
- tra2.RotSpeed = NumberRange.new(-500,500)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
- end
- tra.Rate = 0
- tra2.Rate = 0
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Bright blue").Color
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = mouse.Hit
- lb.Anchored = true
- lb.Transparency = 1
- lb.Size = vt(1,1,1)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = meshtype
- for i = 0, 4 do
- local lbr = Instance.new("Part")
- lbr.Parent = char
- lbr.Material = "Neon"
- lbr.Color = BrickColor.new("Bright blue").Color
- lbr.CanCollide = false
- lbr.Shape = "Ball"
- lbr.CFrame = lb.CFrame
- lbr.Anchored = true
- lbr.Transparency = 1
- lbr.Size = vt(1,1,1)
- local thinga = Instance.new("SpecialMesh",lbr)
- thinga.MeshType = meshtype
- thinga.Scale = vt(20*4.5,20*4.5,20*4.5)
- for z = 0, 19 do
- wait(0.025)
- lbr.Transparency = lbr.Transparency - 0.05
- thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5)
- end
- lbr:Destroy()
- end
- local aa = Instance.new("Part")
- local val = 1*6.25
- aa.Parent = lb
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://402347142"
- exsound.Volume = 4.5
- exsound.Pitch = 1
- exsound:Play()
- aa.Material = "Neon"
- aa.Color = BrickColor.new("Bright blue").Color
- aa.CanCollide = false
- aa.Shape = "Ball"
- aa.CFrame = lb.CFrame
- aa.Anchored = true
- aa.Transparency = 0
- aa.Size = vt(1,1,1)
- local thinger = Instance.new("SpecialMesh",aa)
- thinger.MeshType = meshtype
- thinger.Scale = vt(15*1.15,15*1.15,15*1.15)
- local explosion = Instance.new("Explosion",aa)
- explosion.Position = aa.Position
- explosion.BlastRadius = 35
- explosion.BlastPressure = 100
- local exp = Instance.new("ParticleEmitter",aa)
- exp.Texture = "rbxassetid://296874871"
- exp.LightEmission = 1
- exp.Color = ColorSequence.new(Color3.new(0, 242, 52))
- exp.Rate = 9000000000
- exp.Lifetime = NumberRange.new(1)
- exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Speed = NumberRange.new(105)
- exp.VelocitySpread = 9000000
- exp.Rotation = NumberRange.new(-500,500)
- exp.RotSpeed = NumberRange.new(-500,500)
- local expa = Instance.new("ParticleEmitter",aa)
- expa.Texture = "rbxassetid://296874871"
- expa.LightEmission = 1
- expa.Color = ColorSequence.new(Color3.new(0, 242, 52))
- expa.Rate = 9000000000
- expa.Lifetime = NumberRange.new(2.75)
- expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
- expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- expa.Speed = NumberRange.new(105)
- expa.VelocitySpread = 9000000
- expa.Rotation = NumberRange.new(-500,500)
- expa.RotSpeed = NumberRange.new(-500,500)
- local exp2 = exp:Clone()
- exp2.Parent = aa
- local exp3 = exp:Clone()
- exp3.Parent = aa
- local exp4 = exp:Clone()
- exp4.Parent = aa
- local exp5 = exp:Clone()
- exp5.Parent = aa
- local exp6 = exp:Clone()
- exp6.Parent = aa
- local exp7 = exp:Clone()
- exp7.Parent = aa
- local expa2 = expa:Clone()
- expa2.Parent = aa
- local expa3 = expa:Clone()
- expa3.Parent = aa
- local expa4 = expa:Clone()
- expa4.Parent = aa
- local expa5 = expa:Clone()
- expa5.Parent = aa
- local expa6 = expa:Clone()
- expa6.Parent = aa
- local expa7 = expa:Clone()
- expa7.Parent = aa
- for i = 0, 1 do
- val = val - 0.025*6.25
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- exp.Rate = 0
- exp2.Rate = 0
- exp3.Rate = 0
- exp4.Rate = 0
- exp5.Rate = 0
- exp6.Rate = 0
- exp7.Rate = 0
- for i = 0, 1 do
- val = val - 0.025*6.25
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- attack = false
- expa.Rate = 0
- expa2.Rate = 0
- expa3.Rate = 0
- expa4.Rate = 0
- expa5.Rate = 0
- expa6.Rate = 0
- expa7.Rate = 0
- for i = 0, 21 do
- val = val - 0.025*6.25
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- for i = 0, 74 do
- val = val - 0.0145
- aa.Transparency = aa.Transparency + 0.0145
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- wait(5)
- lb:Destroy()
- tra:Destroy()
- tra2:Destroy()
- end
- mouse.KeyDown:connect(function(key)
- if key == "q" and attack == false then
- InfernoComet()
- end
- if key == "e" and attack == false then
- InfernoDemise()
- end
- if key == "r" and attack == false then
- InfernoWrath()
- end
- if key == "f" and attack == false then
- InfernoMeteor()
- end
- if key == "x" and attack == false then
- InfernoHell()
- end
- if key == 'z' and attack == false then
- end
- end)
- game:GetService("RunService").Stepped:connect(function()
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if equipped == true or equipped == false then
- healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
- end
- else
- if RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- end
- else
- if Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-10),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(10),math.rad(0)),.3)
- if attack == false then
- change = 1
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.25) * angles(math.rad(20 + 1.5 * math.cos(sine / 32)), math.rad(-30), math.rad(-90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 1.5 * math.cos(sine / 32))), 0.3)
- end
- else
- if Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3)
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(15),math.rad(0),math.rad(25)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3)
- end
- end
- end
- end
- end
- end
- end)
- function Flame()
- chatfunc("Particles...")
- local aura = Instance.new("ParticleEmitter",tors)
- aura.Texture = "rbxassetid://305563617"
- aura.LightEmission = 1
- aura.Color = ColorSequence.new(Color3.new(0, 242, 52))
- aura.Rate = 25
- aura.Lifetime = NumberRange.new(0.75)
- aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)})
- aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- aura.Speed = NumberRange.new(15)
- aura.VelocitySpread = 50
- local aura2 = Instance.new("ParticleEmitter",tors)
- aura2.Texture = "rbxassetid://296874871"
- aura2.LightEmission = 1
- aura2.Color = ColorSequence.new(Color3.new(0, 242, 52))
- aura2.Rate = 99999
- aura2.Lifetime = NumberRange.new(1.5)
- aura2.Acceleration = vt(0,45,0)
- aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
- aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- aura2.Speed = NumberRange.new(-25)
- aura2.Rotation = NumberRange.new(-500,500)
- aura2.VelocitySpread = 45
- aura2.RotSpeed = NumberRange.new(-500,500)
- local auran = Instance.new("ParticleEmitter",tors)
- auran.Texture = "rbxassetid://296874871"
- auran.LightEmission = 1
- auran.Color = ColorSequence.new(Color3.new(0, 242, 52))
- auran.Rate = 0
- auran.Lifetime = NumberRange.new(5)
- auran.Acceleration = vt(0,-45,0)
- auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
- auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- auran.Speed = NumberRange.new(65)
- auran.Rotation = NumberRange.new(-500,500)
- auran.VelocitySpread = 100
- auran.RotSpeed = NumberRange.new(-500,500)
- end
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- Flame()
- end
- end)
- end
- function Roxploit()
- Folder = game.CoreGui
- script=Instance.new('LocalScript')
- local a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
- local A,B,C,D,F,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
- local Aa,Ba,Ca,Da,Fa,Ea,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za
- local IntroSFX = nil
- local IntroDone,Toggle,taco = false
- local Folders, Selected, Banned, WayPoint = nil
- local CId = Instance.new("IntValue") CId.Value = 0
- local LPCId = Instance.new("IntValue") LPCId.Value = 0
- local SId = Instance.new("IntValue")
- SId.Value = 0
- local MId = Instance.new("IntValue")
- MId.Value = 0
- local MPId = Instance.new("IntValue")
- MPId.Value = 0
- local GId = Instance.new("IntValue")
- GId.Value = 0
- local GPId = Instance.new("IntValue")
- GPId.Value = 0
- local HId = Instance.new("IntValue")
- HId.Value = 0
- local HPId = Instance.new("IntValue")
- HPId.Value = 0
- local SDId = Instance.new("IntValue")
- SDId.Value = 0
- local WId = Instance.new("IntValue") WId.Value = 0 local WMId = Instance.new("IntValue") WMId.Value = 0 local LCId = Instance.new("IntValue") LCId.Value = 0 local TCId = Instance.new("IntValue") TCId.Value = 0 local MEId = Instance.new("IntValue") MEId.Value = 1 local MEPId = Instance.new("IntValue") MEPId.Value = 0 local SkyId = Instance.new("IntValue") SkyId.Value = 1 local SkypId = Instance.new("IntValue") SkypId.Value = 0 local TabId = Instance.new("IntValue") TabId.Value = 0
- local EmptySP = UDim2.new(0,0,0,0)
- local PrivateServer = false
- function Execute(f) return coroutine.resume(coroutine.create(function()f()end)) end
- function PlaySFX(SoundId,Volume,Pitch,Looped)
- A=Instance.new("Sound",workspace)
- A.PlayOnRemove = true
- A.SoundId = "rbxassetid://" .. SoundId
- A.Volume = Volume
- A.Pitch = Pitch
- A.Looped = Looped
- A:Play()
- return A
- end
- function Frame(parent,Size,Position)
- B=Instance.new("Frame",parent)
- B.Size = Size
- B.Position = Position
- return B
- end
- function ScrollFrame(parent,Size,Position) B=Instance.new("ScrollingFrame",parent) B.Size = Size B.Position = Position B.ScrollBarThickness = 10 return B end
- function Label(parent,Text,Size,Position,value) C=Instance.new("TextLabel",parent) C.Size = Size C.Position = Position C.Text = Text C.BackgroundTransparency = 1 C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true if value ~= nil then if value == 1 then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
- function Button(parent,Text,Size,Position,func,value) C=Instance.new("TextButton",parent) C.Size = Size C.Position = Position C.Text = Text C.Style = "RobloxButton" C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true C.MouseButton1Click:connect(function() ypcall(function() PlaySFX(156785206,0.75,1.25); func() end) end) if value ~= nil then if Size == EmptySP then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
- function TextBox(parent,text,Size,Position) C = Instance.new("TextBox") C.Parent = parent C.Name = text C.Text = text if text == "ValueBox" then C.Text = "0" end C.Size = Size C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C.Position = Position C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.Font = 2 C.FontSize = Enum.FontSize.Size12 C.TextWrapped = true return C end letters = { "a"; "b"; "c"; "d"; "e"; "f"; "g"; "h"; "i"; "j"; "k"; "l"; "m"; "n"; "o"; "p"; "q"; "r"; "s"; "t"; "u"; "v"; "w"; "x"; "y" ;"z"; " "; ":"; "/" }
- function CheckForNumbers(textbox)
- for i = 1, #letters do
- n = string.find(string.lower(textbox.Text), letters[i])
- if n ~= nil then
- textbox.Text = string.sub(string.lower(textbox.Text), 1, n-1)..string.sub(string.lower(textbox.Text), n+1)
- end
- end
- end
- function NumTextBox(textbox) ypcall(function() Execute(function() wait(0.25) textbox.Changed:connect(function(property) if property == "Text" then CheckForNumbers(textbox) end end) end) end) end
- function TextUsedButton(parents,name,func,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,5,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Button(x,name,UDim2.new(0,70,0,25),UDim2.new(1,-75,0,5),function() if y.Text ~= "" and type ~= nil then func() else func() end end) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 z.Style = "Custom" if value ~= nil then value.Value = value.Value + 1 end return x end
- function TextUsedLabel(parents,name,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,80,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Label(x,name,UDim2.new(0,70,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 if value ~= nil then value.Value = value.Value + 1 end return x end
- function ToggleButton(parent,name,func1,func2,value) x=Frame(parent,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,35*value.Value)) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 z=Label(x,name,UDim2.new(1,-160,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 y=Button(x,"On",UDim2.new(0,-70,0,25),UDim2.new(1,-80,0,5),function() func1() end) y.BackgroundTransparency = 0.85 y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.Style = "Custom" y.Name = "On" g=Button(x,"Off",UDim2.new(0,-70,0,25),UDim2.new(1,-5,0,5),function() func2() end) g.BackgroundTransparency = 0.85 g.BackgroundColor3 = Color3.new(0,75/255,150/255) g.Style = "Custom" g.Name = "Off" if value ~= nil then value.Value = value.Value + 1 end return x end
- function ImageLabel(parent,Image,Size,Position) C = nil C=Instance.new("ImageLabel",parent) C.Image = "rbxassetid://" .. Image C.Size = Size C.Position = Position C.BackgroundTransparency = 1 return C end
- function ToggleMenu() if Toggle == true then PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,-0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Quad",.25,true) Toggle = false else PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,-50,1,-50),"Out","Quad",.25,true) Toggle = true end end
- function AddTab(parent,tabparent,text,cValue) if cValue ~= nil then D=Frame(tabparent,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) D.Transparency = 1 D.BorderSizePixel = 0 D.Name = text D.Visible = false if cValue.Value == 0 then D.Visible = true end Instance.new("IntValue",D).Name = "IsATab" C=Button(parent,text,UDim2.new(1,-10,0,35),UDim2.new(0,5,0,5+(40*cValue.Value)),function() for i, v in pairs(tabparent:GetChildren()) do if v.Name == text then v.Visible = true else v.Visible = false end end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 Instance.new("IntValue",C).Name = "IsATabButton" if cValue ~= nil then cValue.Value = cValue.Value + 1 end if parent.Parent.ClassName == "ScrollingFrame" then parent.Parent.CanvasSize = UDim2.new(0,0,0,5+(40*(cValue.Value))) end return D end end
- function ClearFolder(Folder) if Folder ~= nil then for i,v in pairs(Folder:GetChildren()) do v:Remove() end end end
- function CreateFolder(parent,name)
- C=Instance.new("Folder",parent)
- C.Name = name
- return C
- end
- function AddValue(Folder,name)
- if Folder ~= nil then
- C=Instance.new("StringValue")
- C.Name = name
- C.Value = name
- C.Parent =
- Folder
- end
- end
- function RemoveValue(Folder,name)
- if Folder ~= nil then
- if Folder:FindFirstChild(name) ~= nil then
- Folder:FindFirstChild(name):Remove()
- end
- end
- end
- function VerifyValue(Folder,name)
- if Folder ~= nil then
- if Folder:FindFirstChild(name) ~= nil then
- return true
- else
- return false
- end
- end
- end
- local Mouse
- function AddHotkey(key,func) Mouse = game.Players.LocalPlayer:GetMouse() if Mouse ~= nil then Mouse.KeyDown:connect(function(Key) if Key == string.lower(string.char(key)) then func() end end) else Mouse = game.Players.LocalPlayer:GetMouse() end end local STR = " : False"
- function SetPlayerList(parent) ClearFolder(parent) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Selected,v.Name) then STR = " : True" else STR = " : False" end C=Button(parent,v.Name .. STR,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Selected,v.Name) then RemoveValue(Selected,v.Name) else AddValue(Selected,v.Name) end SetPlayerList(parent) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end) end
- function SetBannedList(parent) ClearFolder(parent) for i,v in pairs(Banned:GetChildren()) do C=Button(parent,v.Name,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Banned,v.Name) then RemoveValue(Banned,v.Name) end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end function IsLocalPlayer(aname) if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Name == aname then return true else return false end end end end local ContentProvider = game:GetService("ContentProvider"); local function LoadAssets(AssetList) for _, AssetId in pairs(AssetList) do ContentProvider:Preload("rbxassetid://" .. AssetId); end end LoadAssets({364328150,278201073,145487017,278208523,278208523}) local PRT = Instance.new("ScreenGui",Folder) Label(PRT,"Currently Preloading Data, Please Wait!",UDim2.new(1,0,0,20),UDim2.new(0,0,0,0)) while (ContentProvider.RequestQueueSize > 0) do wait(); end game:GetObjects("rbxassetid://364363948")[1].Parent = Folder if Folder:FindFirstChild("GlobalData") ~= nil then for i,v in pairs(Folder:FindFirstChild("GlobalData"):GetChildren()) do v.Parent = Folder end Folder:FindFirstChild("GlobalData"):Remove() end for i,v in pairs(Folder:GetChildren()) do if v.Name == "GearData" or v.Name == "HatData" or v.Name == "MemeData" or v.Name == "SkyData" then for k,c in pairs(v:GetChildren()) do LoadAssets({c.Value}) end end end PRT:Remove() function spamColor(v) if v.ClassName == ("BasePart") then v.BrickColor = BrickColor.Random() else for a,b in pairs(v:GetChildren()) do spamColor(b) end end end function UnAnchore(v) if v.ClassName == ("BasePart") then v.Anchored = false else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then UnAnchore(b) end end end end function Anchore(v) if v.ClassName == ("BasePart") then v.Anchored = true else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then Anchore(b) end end end end function clearW(v) v:ClearAllChildren() end function GenerateMenuPart2() local Color = Color3.new(0,75/255,150/255) X=AddTab(M,N,"Hat Giver",TabId) X.Size = UDim2.new(1,10,1,0) T=AddTab(M,N,"Music Player",TabId) T.Size = UDim2.new(1,10,1,0) local MPitch=TextUsedLabel(T,"Pitch",MId,1) local MVolume=TextUsedLabel(T,"Volume",MId,1) local MIds=TextUsedLabel(T,"SoundId",MId,0) if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil then MPitch:FindFirstChild("ValueBox").Text = 1 MVolume:FindFirstChild("ValueBox").Text = 0.5 end local Music = nil ToggleButton(T,"Music",function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end Music=Instance.new("Sound",game.workspace) Music.Name = "Ro-MusicPlayer" Music.Looped = true if MIds:FindFirstChild("ValueBox") ~= nil then Music.SoundId = "rbxassetid://"..MIds:FindFirstChild("ValueBox").Text end if MVolume:FindFirstChild("ValueBox") ~= nil then Music.Volume = MVolume:FindFirstChild("ValueBox").Text end if MPitch:FindFirstChild("ValueBox") ~= nil then Music.Pitch = MPitch:FindFirstChild("ValueBox").Text end wait() Music:Play() end, function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end end,MId) U=ScrollFrame(T,UDim2.new(1,0,1,-(35*(MId.Value))),UDim2.new(0,0,0,35*(MId.Value))) U.Transparency = .85 U.BorderSizePixel = 0 U.CanvasSize = UDim2.new(0,0,0,0) U.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("MusicData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MusicData"):GetChildren()) do Button(U,v.Name,EmptySP,EmptySP,function() if v:IsA("Sound") then for _,b in pairs(MPitch:GetChildren()) do end if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil and MIds:FindFirstChild("ValueBox") ~= nil then MIds:FindFirstChild("ValueBox").Text = v.SoundId end end end ,MPId) MPId.Value = i U.CanvasSize = UDim2.new(0,0,0,35*MPId.Value) end end end V=AddTab(M,N,"Gear Giver",TabId) V.Size = UDim2.new(1,10,1,0) local GiveGear GiveGear=TextUsedButton(V,"Give Gear",function() if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveGear:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Backpack end x:Remove() end end end end) end end end,GId,0) W=ScrollFrame(V,UDim2.new(1,0,1,-(35*(GId.Value))),UDim2.new(0,0,0,35*(GId.Value))) W.Transparency = .85 W.BorderSizePixel = 0 W.CanvasSize = UDim2.new(0,0,0,0) W.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("GearData") ~= nil then for i, v in pairs(Folder:FindFirstChild("GearData"):GetChildren()) do Button(W,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then GiveGear:FindFirstChild("ValueBox").Text = v.Value end end end end,GPId) GPId.Value = i W.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end local GiveHat GiveHat=TextUsedButton(X,"Give Hat",function() if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveHat:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Character end x:Remove() end end end end) end end end,HId,0) Y=ScrollFrame(X,UDim2.new(1,0,1,-(35*(HId.Value))),UDim2.new(0,0,0,35*(HId.Value))) Y.Transparency = .85 Y.BorderSizePixel = 0 Y.CanvasSize = UDim2.new(0,0,0,0) Y.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("HatData") ~= nil then for i, v in pairs(Folder:FindFirstChild("HatData"):GetChildren()) do Button(Y,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then GiveHat:FindFirstChild("ValueBox").Text = v.Value end end end end,HPId) HPId.Value = i Y.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end o=AddTab(M,N,"Banned Player",TabId) p=ScrollFrame(o,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) p.Transparency = 1 p.BorderSizePixel = 0 p.CanvasSize = UDim2.new(0,0,0,0) game.Players.ChildAdded:connect(function(child) if VerifyValue(Banned,child.Name) then wait(0.35) child:Remove() end if PrivateServer == true then wait(0.35) child:Remove() end end) Banned.ChildAdded:connect(function(child) SetBannedList(p) end) Banned.ChildRemoved:connect(function() SetBannedList(p) end) SetBannedList(p) if Folder:FindFirstChild("BannedData") then for k,c in pairs(Folder:FindFirstChild("BannedData"):GetChildren()) do AddValue(Banned,c.Name) end end end function GenerateScriptTab() S=AddTab(M,N,"Script Tab",TabId) S.ClipsDescendants = true ExeButton=TextUsedButton(S,"Execute",function() ypcall(function() loadstring(ExeButton:FindFirstChild("ValueBox").Text)() end) end, SId) ExeButton.Size = UDim2.new(1,0,0,35) aFrame=Instance.new("Frame",S) aFrame.Size = UDim2.new(1,0,1,-35) aFrame.BackgroundTransparency = 1 aFrame.Position = UDim2.new(0,0,0,35) local Current = Instance.new("IntValue",S) Current.Value = 1 local Max = 0 local Color = Color3.new(0,75/255,150/255) local Pos = UDim2.new(0.5,-75,0.5,-50) local Size = UDim2.new(0,150,0,150) local Size2 = UDim2.new(0,75,0,75) local K local runLocalScript = function(SC) if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.PlayerGui ~= nil then ypcall(function() K = Instance.new("LocalScript",game.Players.LocalPlayer.PlayerGui) K.Disabled = true K.Source = SC wait() K.Disabled = false end) end end end local search = Instance.new("TextBox",aFrame) search.BackgroundColor3 = Color search.BackgroundTransparency = 0.85 search.BorderSizePixel = 0 search.Position = UDim2.new(0.5,-100,0,0) search.Size = UDim2.new(0,200,0,20) search.Font = "Legacy" search.FontSize = "Size10" search.TextColor3 = Color3.new(1,1,1) search.TextStrokeTransparency = 0.5 search.TextWrapped = true search.Text = "" search.ClearTextOnFocus = true search.FocusLost:connect(function(p) if p then for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Title") ~= nil then if v:FindFirstChild("Id") ~= nil then if string.match(string.lower(search.Text),v:FindFirstChild("Id").Value) then Current.Value = v:FindFirstChild("Id").Value elseif string.match(string.lower(v:FindFirstChild("Title").Text),string.lower(search.Text)) then if v:FindFirstChild("Id") ~= nil then Current.Value = v:FindFirstChild("Id").Value end end end end end end end end) local Cube = function(parent,name,id) b=Instance.new("Frame",parent) b.BorderSizePixel = 0 b.Name = "Cube" b.BackgroundTransparency = 0.85 b.BackgroundColor3 = Color e=Instance.new("IntValue",b) e.Name = "Id" e.Value = id f=Instance.new("TextLabel",b) f.Text = " ID: "..id f.BackgroundTransparency = 1 f.Size = UDim2.new(0,100,0,20) f.Font = "Legacy" f.TextColor3 = Color3.new(1,1,1) f.TextStrokeTransparency = 0.5 f.TextXAlignment = "Left" g=Instance.new("TextLabel",b) g.Text = name g.BackgroundTransparency = 1 g.Size = UDim2.new(1,0,0.10,0) g.Position = UDim2.new(0,0,0.15,0) g.Font = "Legacy" g.TextScaled = true g.TextColor3 = Color3.new(1,1,1) g.TextStrokeTransparency = 0.5 g.Name = "Title" h=Instance.new("TextButton",b) h.Text = "Execute" h.BackgroundColor3 = Color h.BackgroundTransparency = 0.85 h.Size = UDim2.new(0.75,0,0.2,0) h.Position = UDim2.new(0.5-(0.75/2),0,1-0.25,0) h.Font = "Legacy" h.TextScaled = true h.TextColor3 = Color3.new(1,1,1) h.TextStrokeTransparency = 0.5 h.BorderSizePixel = 0 h.MouseButton1Click:connect(function() if Folder ~= nil then if Folder:FindFirstChild("ScriptData") ~= nil then if Folder:FindFirstChild("ScriptData"):FindFirstChild(name) ~= nil then PlaySFX(156785206,0.75,1.25) loadstring("script.Name = 'DeathDeletepl0x'; " .. string.reverse(Folder:FindFirstChild("ScriptData"):FindFirstChild(name).Source) .. " script.Name = 'DeathDeletepl0x';" .. [==[ game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() script.Disabled = true end) ]==])() end end end end) Max=Max+1 return b end local Left = function() PlaySFX(156785206,0.75,1.25) if Current.Value > 1 then Current.Value = Current.Value - 1 else Current.Value = Max end end local c = Instance.new("TextButton",aFrame) c.Size = UDim2.new(0,50,1,0) c.Text = "<" c.BackgroundTransparency = 0.85 c.BackgroundColor3 = Color c.BorderSizePixel = 0 c.Font = "Legacy" c.FontSize = "Size36" c.TextStrokeTransparency = 0.5 c.TextColor3 = Color3.new(1,1,1) c.ZIndex = 3 c.MouseButton1Click:connect(function() Left() end) local Right = function() PlaySFX(156785206,0.75,1.25) if Current.Value < Max then Current.Value = Current.Value + 1 else Current.Value = 1 end end local d = Instance.new("TextButton",aFrame) d.Size = UDim2.new(0,50,1,0) d.Position = UDim2.new(1,-50,0,0) d.BackgroundTransparency = 0.85 d.BackgroundColor3 = Color d.BorderSizePixel = 0 d.Text = ">" d.Font = "Legacy" d.FontSize = "Size36" d.TextStrokeTransparency = 0.5 d.TextColor3 = Color3.new(1,1,1) d.ZIndex = 3 d.MouseButton1Click:connect(function() Right() end) AddHotkey(string.byte("q"),function() if Toggle == true then if S.Visible == true then Left() end end end) AddHotkey(string.byte("e"),function() if Toggle == true then if S.Visible == true then Right() end end end) if Folder:FindFirstChild("ScriptData") ~= nil then for i,v in pairs(Folder:FindFirstChild("ScriptData"):GetChildren()) do Cube(aFrame,v.Name,i) end end local refresh = function() for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Id") ~= nil then if v:FindFirstChild("Id").Value == Current.Value then v:TweenSizeAndPosition(Size,Pos,"Out","Quad",0.75,true) for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 2 end end elseif v:FindFirstChild("Id").Value > Current.Value then if v:FindFirstChild("Id").Value > Current.Value + 1 then v:TweenSizeAndPosition(Size2,UDim2.new(1.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.75,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end elseif v:FindFirstChild("Id").Value < Current.Value then if v:FindFirstChild("Id").Value < Current.Value - 1 then v:TweenSizeAndPosition(Size2,UDim2.new(-0.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.25,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end end end end end end Current.Changed:connect(function() refresh() end) refresh() end function GeneratePlayerCommand() Q=AddTab(M,N,"Player Commands",TabId) R=ScrollFrame(Q,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) R.Transparency = 1 R.BorderSizePixel = 0 R.CanvasSize = UDim2.new(0,0,0,0) CId.Changed:connect(function() if R:IsA("ScrollingFrame") then R.CanvasSize = UDim2.new(0,0,0,35*CId.Value) end end) Button(R,"Ban",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do if not VerifyValue(Banned,v.Name) then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then AddValue(Banned,v.Name) end else game.Players:Chat("I'm a jerk ass trying to ban my own script provider!") end end end end,CId) Button(R,"Kick",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then b:Remove() end else game.Players:Chat("I'm a jerk ass trying to kick my own script provider!") end end end end end,CId) Button(R,"Kill",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then b.Character:BreakJoints() end end end end end,CId) local Ex Button(R,"Explode",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then Ex=Instance.new("Explosion",b.Character:FindFirstChild("Torso")) Ex.Position = b.Character:FindFirstChild("Torso").Position end end end end end end,CId) Button(R,"Respawn",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then local ack2 = Instance.new("Model") ack2.Parent = game.Workspace local ack4 = Instance.new("Part") ack4.Transparency = 1 ack4.CanCollide = false ack4.Anchored = true ack4.Name = "Torso" ack4.Position = Vector3.new(10000,10000,10000) ack4.Parent = ack2 local ack3 = Instance.new("Humanoid") ack3.Torso = ack4 ack3.Parent = ack2 b.Character = ack2 end end end end,CId) Button(R,"Lag",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then for i = 1,10000 do g = Instance.new("HopperBin") g.Parent = b.Backpack end else game.Players:Chat("I'm a jerk ass trying to lag my own script provider!") end end end end end,CId) ToggleButton(R,"ForceField",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then Instance.new("ForceField",b.Character) end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c ~= nil then if c:IsA("ForceField") then c:Remove() end end end end end end end end,CId) ToggleButton(R,"InVisible",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 1 if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 1 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 0 if c.Name == "HumanoidRootPart" then c.Transparency = 1 end if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 0 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end end end end end end end end,CId) local TP TP=ToggleButton(R,"Teleport",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then b.Character:MoveTo(game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position) end end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then game.Players.LocalPlayer.Character:MoveTo(b.Character:FindFirstChild("Torso").Position) end end end end end end end end end,CId) TP.On.Text = "Tp To Me" TP.Off.Text = "Tp To Them" local BT,T1,T2,T3 BT=ToggleButton(R,"Build Tools",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then T1 = Instance.new("HopperBin",b.Backpack); T1.BinType = "Grab"; T1.Name = "Grab" T2 = Instance.new("HopperBin",b.Backpack); T2.BinType = "Clone"; T2.Name = "Clone" T3 = Instance.new("HopperBin",b.Backpack); T3.BinType = "Hammer"; T3.Name = "Hammer" end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then for k,c in pairs(b.Backpack:GetChildren()) do if c.Name == "Grab" or c.Name == "Clone" or c.Name == "Hammer" then c:Remove() end end end end end end end end end,CId) BT.On.Text = "Give" BT.Off.Text = "Remove" local NameButton,na,nb,nc NameButton=TextUsedButton(R,"Set Name",function() ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for m,n in pairs(b.Character:GetChildren()) do if n.ClassName == "Model" then for c,k in pairs(n:GetChildren()) do if k.Name == "FakeHumanoidBro" then n:Remove() end end end end na = Instance.new("Model",b.Character) na.Name = NameButton:FindFirstChild("ValueBox").Text nb = b.Character:FindFirstChild("Head"):Clone() local weld = Instance.new("Weld", nb) weld.Part0 = nb weld.Part1 = b.Character:FindFirstChild("Head") b.Character:FindFirstChild("Head").Transparency = 1 nb.Transparency = 0 nb.Parent = na nb.Name = "Head" nb.CanCollide = false nc=Instance.new("Humanoid",na) nc.Name = "FakeHumanoidBro" nc.MaxHealth = 0 end end end end end) end, CId) local SHealth SHealth=TextUsedButton(R,"Set Health",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SHealth:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").MaxHealth = SHealth:FindFirstChild("ValueBox").Text b.Character:FindFirstChild("Humanoid").Health = SHealth:FindFirstChild("ValueBox").Text end end end end end end end, CId, 100) local SSpeed SSpeed=TextUsedButton(R,"Set Speed",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SSpeed:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").WalkSpeed = SSpeed:FindFirstChild("ValueBox").Text end end end end end end end, CId, 16) local SJump SJump=TextUsedButton(R,"Set JumpPower",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SJump:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").JumpPower = SJump:FindFirstChild("ValueBox").Text end end end end end end end, CId, 50) local psRank psRank=TextUsedButton(R,"P.S. Rank",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then ypcall(function() if psRank:FindFirstChild("ValueBox") ~= nil then b.PersonalServerRank=psRank:FindFirstChild("ValueBox").Text end end) end end end end,CId,255) local sChat sChat=TextUsedButton(R,"Chat",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Head") ~= nil then if sChat:FindFirstChild("ValueBox") ~= nil then game:GetService("Chat"):Chat(b.Character:FindFirstChild("Head"),sChat:FindFirstChild("ValueBox").Text,Enum.ChatColor.Blue) end end end end end end end,CId) end function GenerateServerDestruction() Z=AddTab(M,N,"Server Destruction",TabId) Aa=ScrollFrame(Z,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Aa.Transparency = 1 Aa.BorderSizePixel = 0 Aa.CanvasSize = UDim2.new(0,0,0,0) SDId.Changed:connect(function() if Aa:IsA("ScrollingFrame") then Aa.CanvasSize = UDim2.new(0,0,0,35*SDId.Value) end end) Button(Aa,"Flood",EmptySP,EmptySP,function() game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") end,SDId) Button(Aa,"Clear Terrain",EmptySP,EmptySP,function() game.Workspace.Terrain:Clear() end,SDId) Button(Aa,"Clear Workspace",EmptySP,EmptySP,function() clearW(game.Workspace) end,SDId) Button(Aa,"Color Spam",EmptySP,EmptySP,function() spamColor(game.Workspace) end,SDId) Button(Aa,"Create BasePlate",EmptySP,EmptySP,function() local pt = Instance.new("Part") pt.BrickColor = BrickColor.new("Bright green") pt.Anchored = true pt.CanCollide = true pt.BottomSurface = 0 pt.TopSurface = 0 pt.Name = (math.random(1,1000000)) pt.Size = Vector3.new(1000, 1, 1000) pt.Parent = game.Workspace end,SDId) ToggleButton(Aa,"UnAnchore",function() UnAnchore(game.Workspace) end, function() Anchore(game.Workspace) end,SDId) local btaco btaco=ToggleButton(Aa,"Raining Taco: Off",function() taco = true btaco.TextLabel.Text = "Raining Taco: On" end, function() taco = false btaco.TextLabel.Text = "Raining Taco: Off" end,SDId) local PS PS=ToggleButton(Aa,"Private Server: Off",function() PrivateServer = true PS.TextLabel.Text = "Private Server: On" end, function() PrivateServer = false PS.TextLabel.Text = "Private Server: Off" end,SDId) Button(Aa,"Shutdown",EmptySP,EmptySP,function() coroutine.resume(coroutine.create(function() while wait() do ypcall(function() for _, v in pairs(game.Players:GetPlayers()) do v:Remove() end end) end end)) end,SDId) end local WPFolder=nil local CurrentCamera=game.Workspace.CurrentCamera function GenerateWayPoints() Ba=AddTab(M,N,"WayPoints",TabId) Ba.Size = UDim2.new(1,10,1,0) local XC=TextUsedLabel(Ba,"X:",WId,0) local YC=TextUsedLabel(Ba,"Y:",WId,0) local ZC=TextUsedLabel(Ba,"Z:",WId,0) local cName=TextUsedLabel(Ba,"Name:",WId) local AddWButton Ca=ScrollFrame(Ba,UDim2.new(1,0,1,-(35*(WId.Value+1))),UDim2.new(0,0,0,(35*(WId.Value+1)))) Ca.Transparency = .85 Ca.BorderSizePixel = 0 Ca.CanvasSize = UDim2.new(0,0,0,0) Ca.BackgroundColor3 = Color3.new(0,75/255,150/255) local cWColor3 AddWButton=ToggleButton(Ba,"Add WayPoints",function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = Vector3.new(XC.ValueBox.Text,YC.ValueBox.Text,ZC.ValueBox.Text) cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end) end, function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end end end end end) end,WId) AddWButton.On.Text = "Custom Position" AddWButton.Off.Text = "Current Position" GenerateWFolder() end function ClearWScroll() for i,v in pairs(Ca:GetChildren()) do v:Remove() end end function ClearWFolder() if WPFolder ~= nil then for i,v in pairs(WPFolder:GetChildren()) do v:Remove() end end end local WButton function MakeWButton(name,id) if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then WMId.Value = id-1 WButton=ToggleButton(Ca,name.Name .. " X:" .. math.floor(name.Value.X) .. " ,Y:" ..math.floor(name.Value.Y) .. " ,Z:" .. math.floor(name.Value.Z),function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then game.Players.LocalPlayer.Character:MoveTo(Vector3.new(name.Value.X,name.Value.Y,name.Value.Z)) end end end end end end end, function() if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then name:Remove() end end end,WMId) WButton.On.Text = "Tp To" WButton.Off.Text = "Delete" Ca.CanvasSize = UDim2.new(0,0,0,(35*(WMId.Value))) end end end function GenerateWFolder() if CurrentCamera ~= nil then if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("WayPoint") == nil then WPFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if WPFolder == nil then WPFolder=Instance.new("Folder",CurrentCamera) WPFolder.Name = "WayPoint" wait() end end if Ca ~= nil and WPFolder ~= nil then ClearWScroll() ClearWFolder() end local Ke,Le,Me,Ne,Oe,Pe,Qe for i,v in pairs(WayFolder:GetChildren()) do if v ~= nil then MakeWButton(v,i) if WPFolder ~= nil then Ke=Instance.new("Model",WPFolder) Ke.Name = v.Name .. " X:" .. math.floor(v.Value.X) .. " ,Y:" .. math.floor(v.Value.Y) .. " ,Z:" .. math.floor(v.Value.Z) Le=Instance.new("Part",Ke) Le.Name = "Head" Le.Anchored = true Le.CanCollide = false Le.Transparency = 0.5 Le.Material = 288 Le.Size = Vector3.new(2,2,2) Le.Position = v.Value if v:FindFirstChild("SColor") ~= nil then Le.BrickColor = BrickColor.new(v:FindFirstChild("SColor").Value) else Le.BrickColor = BrickColor.Random() end Me=Instance.new("SelectionBox",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Ne=Instance.new("Humanoid",Ke) Ne.MaxHealth = 0 if string.lower(v.Name) == string.lower("Serntimon") then if Me ~= nil then Me:Remove() Me=nil end Me=Instance.new("SelectionSphere",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Me.SurfaceColor3 = Le.BrickColor.Color Me.Transparency = 0.75 Me.SurfaceTransparency = 0.75 Ke.Name = "Serntimon Was Here!" Oe=Instance.new("SpecialMesh",Le) Oe.MeshType = "FileMesh" Oe.MeshId = "http://www.roblox.com/asset/?id=50380638" Oe.TextureId = "" Oe.Scale = Vector3.new(1.5,1.5,1.5) Pe=Instance.new("Fire",Le) Pe.Color = Le.BrickColor.Color Pe.SecondaryColor = Le.BrickColor.Color Pe.Size = 4 Pe.Heat = 6 Qe=Instance.new("PointLight",Le) Qe.Range = 12 Qe.Color = Le.BrickColor.Color Qe.Brightness = 1.5 Qe.Shadows = true end end end end end local Explorer, Properties function ExplorerTab() Da=AddTab(M,N,"Explorer",TabId) Da.Size = UDim2.new(1,10,1,0) if Folder:FindFirstChild("MainData") ~= nil then if Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel") ~= nil then Explorer=Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel"):clone() Explorer.Parent = Da Explorer.Visible = true end if Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel") ~= nil then Properties=Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel"):clone() Properties.Parent = Da Properties.Visible = true end for i,v in pairs(Explorer:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end for i,v in pairs(Properties:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end end end local NClip = false local Esp = false local EspFolder = nil local Ae,Be,Ce,De,Ee,Fe,Ge function GenerateBox(Target,Color) Ae=Instance.new("BillboardGui",EspFolder) Ae.Name = "EspBox" Ae.Size = UDim2.new(4.5,0,6,0) Ae.Adornee = Target Ae.AlwaysOnTop = true Ae.SizeOffset = Vector2.new(0, -0.100000001) Be=Instance.new("Frame",Ae) Be.Transparency = 1 Be.Size = UDim2.new(1,0,1,0) Ce=Instance.new("Frame",Ae) Ce.Transparency = 0.5 Ce.Size = UDim2.new(1,0,0.05, 0) Ce.BorderSizePixel = 0 Ce.BackgroundColor3 = Color De=Ce:clone() De.Size = UDim2.new(0.05,0,1, 0) De.Parent = Ae Ee=De:clone() Ee.Position = UDim2.new(1-0.05,0,0, 0) Ee.Parent = Ae Fe=Ce:clone() Fe.Position = UDim2.new(0,0,1-0.05, 0) Fe.Parent = Ae end function XrayOn(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0.75 end XrayOn(v) end end function XrayOff(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0 end XrayOff(v) end end function GenerateLocalCommand() Ea=AddTab(M,N,"Local Commands",TabId) Fa=ScrollFrame(Ea,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Fa.Transparency = 1 Fa.BorderSizePixel = 0 Fa.CanvasSize = UDim2.new(0,0,0,0) LPCId.Changed:connect(function() if Fa:IsA("ScrollingFrame") then Fa.CanvasSize = UDim2.new(0,0,0,35*LPCId.Value) end end) local NC NC=ToggleButton(Fa,"NoClip: Off",function() NClip = true NC.TextLabel.Text = "NoClip: On" end, function() NClip = false NC.TextLabel.Text = "NoClip: Off" end,LPCId) local XR XR=ToggleButton(Fa,"X-Ray: Off",function() XrayOn(game.Workspace) XR.TextLabel.Text = "X-Ray: On" end, function() XrayOff(game.Workspace) XR.TextLabel.Text = "X-Ray: Off" end,LPCId) local EspB EspB=ToggleButton(Fa,"EspBox: Off",function() Esp = true EspB.TextLabel.Text = "EspBox: On" end, function() Esp = false EspB.TextLabel.Text = "EspBox: Off" ypcall(function() if EspFolder ~= nil then for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end end end) end,LPCId) game:service("RunService").Stepped:connect(function() ypcall(function() local mesh1anan = Instance.new("SpecialMesh") mesh1anan.MeshType = Enum.MeshType.FileMesh mesh1anan.Scale = Vector3.new(3,3,3) mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869" mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834" if taco == true then local locationanan local char if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then char = game.Players.LocalPlayer.Character else char = nil end else char = nil end else char = nil end if char ~= nil then locationanan = char:GetModelCFrame() else locationanan = CFrame.new(0,0,0) end local tacoa = Instance.new("Part") tacoa.CanCollide = false tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) local meshanananan = mesh1anan:clone() meshanananan.Parent = tacoa meshanananan.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20) tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250) tacoa.Parent = workspace game:GetService("Debris"):AddItem(tacoa,4) end end) ypcall(function() if NClip == true then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then game.Players.LocalPlayer.Character.Torso.CanCollide = false game.Players.LocalPlayer.Character.Head.CanCollide = false end end end end end end end) ypcall(function() if Esp == true then Execute(function() while wait() do if Esp == true then ypcall(function() if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("Esp") == nil then EspFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if EspFolder == nil then if CurrentCamera ~= nil then EspFolder=CreateFolder(CurrentCamera,"Esp") else CurrentCamera = game.Workspace.CurrentCamera end end for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end for i,v in pairs(game.Players:GetChildren()) do if v ~= nil then if v.Character ~= nil then if v.Character:FindFirstChild("Torso") ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if v.Name ~= game.Players.LocalPlayer.Name then GenerateBox(v.Character:FindFirstChild("Torso"),v.TeamColor.Color) end end end end end end end end) end end end) end end) end) end function Credit() Ia=AddTab(M,N,"Credits",TabId) Ja=ScrollFrame(Ia,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ja.Transparency = 1 Ja.BorderSizePixel = 0 Ja.CanvasSize = UDim2.new(0,0,0,0) TCId.Changed:connect(function() if Ja:IsA("ScrollingFrame") then Ja.CanvasSize = UDim2.new(0,0,0,35*TCId.Value) end end) Ja.ChildAdded:connect(function() TCId.Value = TCId.Value + 1 end) Label(Ja,"[CREATOR]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[POSTER & TESTER]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Serntimon",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[TESTERS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Walter White",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"TimberMan",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Mr. Waffles",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Green Hat L33t",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Pulkit",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"LaserTic_",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[SCRIPTS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam For KrystalDance & Tweaking X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"RadiationMatrix For X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Other Unknown Person For Other Scripts",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) end local memevalue = Instance.new("StringValue") memevalue.Value = "Krystal" local oldmeme = memevalue.Value local memeid = Instance.new("IntValue") memeid.Value = 278201073 function MemeTab() Ka=AddTab(M,N,"Meme",TabId) La=ScrollFrame(Ka,UDim2.new(1,-100,1,-105),UDim2.new(0,0,0,105)) La.Transparency = 1 La.BorderSizePixel = 0 La.CanvasSize = UDim2.new(0,0,0,0) Ma=Frame(Ka,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) Ma.BackgroundColor3 = Color3.new(0,75/255,150/255) Ma.Transparency = 0.75 Ma.BorderSizePixel = 0 Na=ImageLabel(Ka,278201073,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) Na.BorderSizePixel = 0 Na.ZIndex = 2 Oa=Frame(Ka,UDim2.new(1,-90,0,105),UDim2.new(0,0,0,0)) Oa.Transparency = 1 Oa.BorderSizePixel = 0 Pa=Label(Oa," Selected Meme: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) Pa.TextXAlignment = "Left" memevalue.Changed:connect(function() Pa.Text = " Selected Meme: " .. memevalue.Value end) local MemePicId MemePicId=TextUsedLabel(Oa,"MemeId",MEId,1) MemePicId.ValueBox.Text=memeid.Value MemePicId.ValueBox.Changed:connect(function() local found = false memeid.Value = MemePicId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do if memeid.Value == v.Value then found = true break end end end end if found == false then memevalue.Value = "Custom" Pa.Text = " Selected Meme: Custom" end found = false end) memeid.Changed:connect(function() Na.Image = "rbxassetid://" .. memeid.Value end) Qa=Frame(Ka,UDim2.new(0,10,1,-105),UDim2.new(1,-110,0,105)) Qa.BackgroundColor3 = Color3.new(0,75/255,150/255) Qa.Transparency = 0.85 Qa.BorderSizePixel = 0 local FaceMeme = Instance.new("BillboardGui") FaceMeme.Size = UDim2.new(3,0,3,0) FaceMeme.AlwaysOnTop = true FaceMeme.Name = "RO-MEMEFACES" ImageLabel(FaceMeme,0,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) local SMEME,LFace SMEME=ToggleButton(Oa,"Set Meme",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value else LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value end end end) end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() end end end) end end end end end end end,MEId) MEPId.Changed:connect(function() if La:IsA("ScrollingFrame") then La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do Button(La,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if memevalue ~= nil then memevalue.Value = v.Name memeid.Value = v.Value MemePicId.ValueBox.Text = memeid.Value end end end,MEPId) MEPId.Value = i La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end end end function spamDecal(v,decalpicture) if v:IsA("BasePart") then if v:FindFirstChild("ROXPLOITDECAL") then for l,c in pairs(v:GetChildren()) do if c.Name == "ROXPLOITDECAL" then if c:IsA("Decal") then c.Texture = decalpicture end end end else for i=0, 5 do D = Instance.new("Decal") D.Name = "ROXPLOITDECAL" D.Face = i D.Parent = v D.Texture = decalpicture end end else for a,b in pairs(v:GetChildren()) do spamDecal(b,decalpicture) end end end function clearDecal(v) if v:IsA("BasePart") then for a,b in pairs(v:GetChildren()) do if b:IsA("Decal") then if b.Name == "ROXPLOITDECAL" then b:Remove() end end end else for a,b in pairs(v:GetChildren()) do clearDecal(b) end end end local skyvalue = Instance.new("StringValue") skyvalue.Value = "KrystalTeam" local skyid = Instance.new("IntValue") skyid.Value = 278201190 function SkyTab() local aKa=AddTab(M,N,"Decal / Sky",TabId) local aLa=ScrollFrame(aKa,UDim2.new(1,-100,1,-140),UDim2.new(0,0,0,140)) aLa.Transparency = 1 aLa.BorderSizePixel = 0 aLa.CanvasSize = UDim2.new(0,0,0,0) local aMa=Frame(aKa,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) aMa.BackgroundColor3 = Color3.new(0,75/255,150/255) aMa.Transparency = 0.75 aMa.BorderSizePixel = 0 local aNa=ImageLabel(aKa,278201190,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) aNa.BorderSizePixel = 0 aNa.ZIndex = 2 local aOa=Frame(aKa,UDim2.new(1,-90,0,140),UDim2.new(0,0,0,0)) aOa.Transparency = 1 aOa.BorderSizePixel = 0 local aPa=Label(aOa," Selected Id: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) aPa.TextXAlignment = "Left" skyvalue.Changed:connect(function() aPa.Text = " Selected Id: " .. skyvalue.Value end) local aQa=Frame(aKa,UDim2.new(0,10,1,-140),UDim2.new(1,-110,0,140)) aQa.BackgroundColor3 = Color3.new(0,75/255,150/255) aQa.Transparency = 0.85 aQa.BorderSizePixel = 0 local SkyBoxx = Instance.new("Sky") SkyBoxx.Name = "Ro-Sky" SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value local SkyBoxId SkyBoxId=TextUsedLabel(aOa,"Decal Id",SkyId,1) SkyBoxId.ValueBox.Text=skyid.Value skyid.Changed:connect(function() aNa.Image = "rbxassetid://" .. skyid.Value SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value end) SkyBoxId.ValueBox.Changed:connect(function() local found = false skyid.Value = SkyBoxId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do if skyid.Value == v.Value then found = true break end end end end if found == false then skyvalue.Value = "Custom" aPa.Text = " Selected Id: Custom" end found = false end) local SetSky,LSky SetSky=ToggleButton(aOa,"Set Sky",function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value LSky = SkyBoxx:Clone() LSky.Parent = game.Lighting end, function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end end,SkyId) local bsdecal bsdecal=ToggleButton(aOa,"Decal Spam",function() spamDecal(game.Workspace,"rbxassetid://"..skyid.Value) end, function() clearDecal(game.Workspace) end,SkyId) bsdecal.On.Text = "Spam" bsdecal.Off.Text = "Clear" SkypId.Changed:connect(function() if aLa:IsA("ScrollingFrame") then aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do Button(aLa,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if skyvalue ~= nil then skyvalue.Value = v.Name skyid.Value = v.Value SkyBoxId.ValueBox.Text = skyid.Value end end end,SkypId) SkypId.Value = i aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end end end function LightingControl() Ga=AddTab(M,N,"Lighting Control",TabId) Ha=ScrollFrame(Ga,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ha.Transparency = 1 Ha.BorderSizePixel = 0 Ha.CanvasSize = UDim2.new(0,0,0,0) LCId.Changed:connect(function() if Ha:IsA("ScrollingFrame") then Ha.CanvasSize = UDim2.new(0,0,0,35*LCId.Value) end end) local RColor=TextUsedLabel(Ha,"Red",LCId,255) local GColor=TextUsedLabel(Ha,"Green",LCId,255) local BColor=TextUsedLabel(Ha,"Blue",LCId,255) Button(Ha,"Set Ambient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.Ambient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set OutdoorAmbient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.OutdoorAmbient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ShadowColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ShadowColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Bottom",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Bottom = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Top",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Top = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set FogColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.FogColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) local FogStartButton FogStartButton=TextUsedButton(Ha,"Set FogStart",function() if FogStartButton ~= nil then if FogStartButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogStart = FogStartButton:FindFirstChild("ValueBox").Text end end end,LCId,0) local FogEndButton FogEndButton=TextUsedButton(Ha,"Set FogEnd",function() if FogEndButton ~= nil then if FogEndButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogEnd = FogEndButton:FindFirstChild("ValueBox").Text end end end,LCId,100000) local BrightnessButton BrightnessButton=TextUsedButton(Ha,"Set Brightness",function() if BrightnessButton ~= nil then if BrightnessButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.Brightness = BrightnessButton:FindFirstChild("ValueBox").Text end end end,LCId,1) ToggleButton(Ha,"GlobalShadows",function() game.Lighting.GlobalShadows = true end,function() game.Lighting.GlobalShadows = false end,LCId) ToggleButton(Ha,"Outlines",function() game.Lighting.Outlines = true end,function() game.Lighting.Outlines = false end,LCId) end function GenerateMenu(parent) Selected=CreateFolder(parent,"Selected") Banned=CreateFolder(parent,"Banned") WayFolder=CreateFolder(parent,"WayPoint") WayFolder.ChildAdded:connect(function() wait() GenerateWFolder() end) WayFolder.ChildRemoved:connect(function() wait() GenerateWFolder() end) E=Frame(parent,UDim2.new(0,475,0,20),UDim2.new(0.5,-250,-0.5,-175)) E.Style = "RobloxRound" E.Draggable = true E.Active = true E.ZIndex = 2 D=Frame(E,UDim2.new(0,500,0,350),UDim2.new(0,-20,0,-20)) D.Style = "RobloxRound" F=Label(E,"Ro-Xploit 6.0",UDim2.new(0.5,0,1,0),UDim2.new(0,15,0,0)) F.FontSize = "Size12" F.TextXAlignment = "Left" F.ZIndex = 3 F=Button(E,"x",UDim2.new(0,20,0,20),UDim2.new(1,-15,0,-9),function() ToggleMenu() end) F.FontSize = "Size12" F.Style = "Custom" F.BackgroundTransparency = 1 F.ZIndex = 3 G=Frame(D,UDim2.new(1,-10,1,-35),UDim2.new(0,5,0,30)) G.Name = "Main" G.Style = "RobloxRound" H=ImageLabel(D,"278201073",UDim2.new(0,100,0,100), UDim2.new(0,-50,0,-50)) H.ZIndex = 4 ypcall(function() Execute(function() local way = true while wait(.25/100) do if way == false then H.Rotation = H.Rotation + 1 if H.Rotation >= 10 then way = true end else H.Rotation = H.Rotation - 1 if H.Rotation <= -10 then way = false end end end end) end) I=Frame(G,UDim2.new(0,5,1,0),UDim2.new(0,110,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.5 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(0,100,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(1,-10,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 J=ScrollFrame(G,UDim2.new(0,110,1,0),UDim2.new(0,0,0,0)) J.BackgroundColor3 = Color3.new(0,75/255,150/255) J.Transparency = 0.75 J.BorderSizePixel = 0 K=Frame(G,UDim2.new(1,-115,1,0),UDim2.new(0,115,0,0)) K.BackgroundColor3 = Color3.new(0,75/255,150/255) K.Transparency = 0.75 K.BorderSizePixel = 0 L=Button(parent,"SHOW",UDim2.new(0,50,0,50),UDim2.new(0,-50,1,-50),function() ToggleMenu() end) L.TextWrapped = false M=Frame(J,UDim2.new(0,100,0,0),UDim2.new(0,0,0,0)) M.Transparency = 1 N=Frame(K,UDim2.new(1,-10,1,0),UDim2.new(0,0,0,0)) N.Transparency = 1 O=AddTab(M,N,"Select Player",TabId) P=ScrollFrame(O,UDim2.new(1,10,1,-20),UDim2.new(0,0,0,20)) P.Transparency = 1 P.BorderSizePixel = 0 P.CanvasSize = UDim2.new(0,0,0,0) C=Button(O,"NONE",UDim2.new(0,343/4,0,20),UDim2.new(0,0,0,0),function() ClearFolder(Selected) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ME",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*1,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then AddValue(Selected,game.Players.LocalPlayer.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"OTHERS",UDim2.new(0,(343/4)-1,0,20),UDim2.new(0,(343/4)*2,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then for i, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then AddValue(Selected,v.Name) end end end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ALL",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*3,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then for i, v in pairs(game.Players:GetChildren()) do AddValue(Selected,v.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 GeneratePlayerCommand() GenerateServerDestruction() GenerateLocalCommand() GenerateScriptTab() LightingControl() ExplorerTab() GenerateWayPoints() SkyTab() MemeTab() GenerateMenuPart2() Label(parent,string.reverse(".maeTlatsyrK :yB ,0.6 tiolpX-oR"),UDim2.new(1,0,0,15),UDim2.new(0,0,1,-15)).TextTransparency = 0.5 Credit() return D end a=Instance.new("ScreenGui",Folder) a.Name = "RX6" if Folder ~= nil then Execute(function() ypcall(function() wait(0.25) GenerateMenu(a) game.Players.ChildAdded:connect(function() SetPlayerList(P) wait() end) game.Players.ChildRemoved:connect(function(c) if VerifyValue(Selected,c.Name) then if Selected:FindFirstChild(c.Name) then Selected:FindFirstChild(c.Name):Remove() end end SetPlayerList(P) wait() end) SetPlayerList(P) wait(0.25) b=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) b.Style = "RobloxRound" c=ImageLabel(b,"278208523",UDim2.new(1,0,1,0), UDim2.new(0,0,0,0)) c.BackgroundTransparency = 1 IntroSFX=PlaySFX(145487017,1,0.75) b:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) b:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) b:Remove() d=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) d.Style = "RobloxRound" e=Label(d,"Ro-Xploit 6.0",UDim2.new(1,10,1,10),UDim2.new(0,-5,0,-5)) e.FontSize = "Size24" IntroSFX=PlaySFX(145487017,1,0.75) d:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) d:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) d:Remove() PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Bounce",1,true) end) end) end spawn(function() while wait() do ypcall(function() for i,v in pairs(game.ReplicatedFirst:GetChildren()) do if v.Disabled == true then v:Remove() end end end) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Banned,v.Name) then if v.Name == game.Players.LocalPlayer.Name then if a~=nil then local MSG = Instance.new("Message",game.Players.LocalPlayer.PlayerGui) MSG.Text="You're BlackListed from using ro-xploit 6.0!" game.Debris:AddItem(MSG,7.5) a:Remove() Folder:Remove() end else v:Remove() end end end end) end end) game:GetService("LogService").MessageOut:connect(function(PrintMessage) if PrintMessage == script.Source then while true do end end end)
- end
Add Comment
Please, Sign In to add comment