EZLord17

PDCS Schp

Jul 21st, 2019
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Script made by: CubedNoob
  2. Phantom Forces Aimbot
  3.  
  4.  
  5. local Mortadex = {}
  6. Mortadex.Version = "1"
  7. Mortadex.Modules = {}
  8. Mortadex.ModuleCount = 0
  9. Mortadex.ModuleSelection = 1
  10.  
  11. Mortadex.Stealth = true -- this will just remove print messages
  12. Mortadex.Debug = false
  13. Mortadex.FreeForAll = false
  14. Mortadex.Studio = false
  15.  
  16. function Mortadex:RegisterModule(name, onrender, norender)
  17.     if Mortadex.Modules[name] then
  18.         return error("Module \""..name.."\" already registered!")
  19.     else
  20.         Mortadex:FLog("Registering module \"%s\"", name)
  21.         Mortadex.Modules[name] = {OnRender = onrender, NoRender = norender, Scratchpad = {}, Enabled = false, Order = Mortadex.ModuleCount}
  22.         Mortadex.ModuleCount = Mortadex.ModuleCount + 1
  23.     end
  24. end
  25.  
  26. function Mortadex:Log(...)
  27.     if Mortadex.Stealth then return end
  28.     return print("[- MORTADEX -] ", ...)
  29. end
  30.  
  31. function Mortadex:FLog(o, ...)
  32.     return Mortadex:Log(o:format(...))
  33. end
  34.  
  35. local getrawmetatable = getrawmetatable
  36.  
  37. ---------------------------------------------------------------
  38.  
  39. Mortadex:Log("Loading core utilities...")
  40.  
  41. Mortadex.HookManager = {IdxHooks = {}, NIdxHooks = {}}
  42. Mortadex.Utilities = {}
  43. Mortadex.Services = {
  44.     Players = game:GetService("Players"),
  45.     Lighting = game:GetService("Lighting"),
  46.     RunService = game:GetService("RunService"),
  47.     UserInputService = game:GetService("UserInputService")
  48. }
  49. Mortadex.Instances = {
  50.     LocalPlayer = Mortadex.Services.Players.LocalPlayer,
  51.     LocalCharacter = Mortadex.Services.Players.LocalPlayer.Character,
  52.     LocalCamera = workspace.CurrentCamera,
  53.     LocalMouse = Mortadex.Services.Players.LocalPlayer:GetMouse()
  54. }
  55.  
  56. function Mortadex.HookManager:Init()
  57.     if getrawmetatable then
  58.         local ObjectMt = getrawmetatable(game)
  59.         Mortadex.OriginalIndex = ObjectMt.__index
  60.         Mortadex.OriginalNewIndex = ObjectMt.__newindex
  61.        
  62.         ObjectMt.__index = function(self, key)
  63.             local Hook = Mortadex.HookManager:LookupIndexHook(self, key)
  64.             if Hook then
  65.                 return Hook(self)
  66.             else
  67.                 return Mortadex.OriginalIndex(self, key)
  68.             end
  69.         end
  70.        
  71.         ObjectMt.__newindex = function(self, key, value)
  72.             local Hook = Mortadex.HookManager:LookupNewIndexHook(self, key)
  73.             if Hook then
  74.                 return Hook(self, value)
  75.             else
  76.                 return Mortadex.OriginalNewIndex(self, key, value)
  77.             end
  78.         end
  79.        
  80.         return true
  81.     end
  82. end
  83.  
  84. function Mortadex.HookManager:LookupIndexHook(inst, key)
  85.     for _, Hook in next, Mortadex.HookManager.IdxHooks do
  86.         if Mortadex.OriginalIndex(inst, "IsA")(inst, Hook.AffectedClass) and Hook.Property == key then
  87.             return Hook.HookFunction
  88.         end
  89.     end
  90. end
  91.  
  92. function Mortadex.HookManager:LookupNewIndexHook(inst, key)
  93.     for _, Hook in next, Mortadex.HookManager.NIdxHooks do
  94.         if Mortadex.OriginalIndex(inst, "IsA")(inst, Hook.AffectedClass) and Hook.Property == key then
  95.             return Hook.HookFunction
  96.         end
  97.     end
  98. end
  99.  
  100. function Mortadex.HookManager:HookIndex(class, prop, f)
  101.     return table.insert(Mortadex.HookManager.IdxHooks, {AffectedClass = class, Property = prop, HookFunction = f})
  102. end
  103.  
  104. function Mortadex.HookManager:HookNewIndex(class, prop, f)
  105.     return table.insert(Mortadex.HookManager.NIdxHooks, {AffectedClass = class, Property = prop, HookFunction = f})
  106. end
  107.  
  108. function Mortadex.Utilities:WorldToScreenPoint(...)
  109.     return Mortadex.Instances.LocalCamera:WorldToScreenPoint(...)
  110. end
  111.  
  112. function Mortadex.Utilities:PathObstructed(p1, p2, ...)
  113.     local ray = Ray.new(p1, (p2 - p1).unit * 500)
  114.     local haspart, hitpos = workspace:FindPartOnRayWithIgnoreList(ray, {...})
  115.     if haspart then return true, hitpos else return false end
  116. end
  117.  
  118. function Mortadex.Utilities:GetReplicator()
  119.     return game:FindFirstChild("ClientReplicator", true)
  120. end
  121.  
  122. function Mortadex.Utilities:GetSize(i)
  123.     if i:IsA("BasePart") then
  124.         return i.Size
  125.     elseif i:IsA("Model") then
  126.         return i:GetExtentsSize()
  127.     end
  128. end
  129.  
  130. function Mortadex.Utilities:GetPlayers(mode)
  131.     local Result = {}
  132.     for _,player in next, Mortadex.Services.Players:GetPlayers() do
  133.         if mode == 0 then -- exclude players in current team
  134.             if (player ~= Mortadex.Instances.LocalPlayer and (Mortadex.Instances.LocalPlayer.TeamColor ~= player.TeamColor or (FreeForAll or DEBUG))) then
  135.                 table.insert(Result, player)
  136.             end
  137.         else -- include everyone
  138.             table.insert(Result, player)
  139.         end
  140.     end
  141.     return Result
  142. end
  143.  
  144. function Mortadex.Utilities:GetNearestPlayer()
  145.     if not Mortadex.Instances.LocalPlayer.Character then return end
  146.     local Players = Mortadex.Utilities:GetPlayers(0)
  147.     local SelectedPlayer, SelectedPlayerPrevDistance = nil, 25000
  148.     for i,v in next, Players do
  149.         if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
  150.             local Distance = Mortadex.Utilities:GetDistance(Mortadex.Instances.LocalPlayer.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart.Position)
  151.             if Distance < SelectedPlayerPrevDistance then
  152.                 SelectedPlayer = v
  153.                 SelectedPlayerPrevDistance = Distance
  154.             end
  155.         end
  156.     end
  157.     return SelectedPlayer
  158. end
  159.  
  160. function Mortadex.Utilities:GetDistance(v1, v2)
  161.     return (v1 - v2).magnitude
  162. end
  163.  
  164. function Mortadex.Utilities:GetCanvas()
  165.     if not Mortadex.Canvas then
  166.         if getrawmetatable then
  167.             Mortadex.Canvas = Instance.new("ScreenGui", game:GetService("CoreGui"))
  168.         else
  169.             Mortadex.Canvas = Instance.new("ScreenGui", Mortadex.Services.Players.LocalPlayer.PlayerGui)
  170.         end
  171.     end
  172.     return Mortadex.Canvas
  173. end
  174.  
  175. Mortadex.EmptyVector3 = Vector3.new()
  176. Mortadex.EmptyCFrame = CFrame.new()
  177.  
  178. ---------------------------------------------------------------
  179.  
  180. --> ESP
  181. Mortadex:RegisterModule("ESP", function(Storage)
  182.     local Canvas = Mortadex.Utilities:GetCanvas()
  183.     local Root = Canvas:FindFirstChild("ESP")
  184.     if not Root then
  185.         Root = Instance.new("Frame")
  186.         Root.Name = "ESP"
  187.         Root.Size = UDim2.new(1, 0, 1, 0)
  188.         Root.BackgroundTransparency = 1
  189.     end
  190.    
  191.     Root:ClearAllChildren()
  192.     for _, Player in next, Mortadex.Utilities:GetPlayers(0) do
  193.         if Player.Character and Player.Character:FindFirstChild("Torso") then
  194.             local Locator = Instance.new("Frame")
  195.             Locator.BackgroundColor = Player.TeamColor
  196.             Locator.BackgroundTransparency = .5
  197.             local VPos, VVis =  Mortadex.Utilities:WorldToScreenPoint(Player.Character.Torso.Position)
  198.             if VVis then
  199.                 Locator.Size = UDim2.new(0, -2800 / VPos.z, 0, -4300 / VPos.z)
  200.                 Locator.Position = UDim2.new(0, VPos.x - Locator.Size.X.Offset / 2, 0, VPos.y - Locator.Size.Y.Offset / 2)
  201.                 local Name = Instance.new("TextLabel")
  202.                 Name.TextColor3 = Color3.new(1,1,1)
  203.                 Name.Size = UDim2.new(1,0,0, Locator.Size.Y.Offset / 5)
  204.                 Name.BackgroundTransparency = 1
  205.                 Name.TextScaled = true
  206.                 Name.FontSize = 'Size24'
  207.                 Name.Text = Player.Name
  208.                 Name.TextStrokeTransparency = .3
  209.                 Name.Font = 'SourceSansLight'
  210.                 Name.TextXAlignment = 'Left'
  211.                 Name.Parent = Locator
  212.                 Locator.Parent = Root
  213.             else
  214.                 Locator:Destroy()
  215.             end
  216.         end
  217.     end
  218.    
  219.     if not Root.Parent then
  220.         Root.Parent = Canvas
  221.     end
  222. end)
  223.  
  224. --> FreeForAll
  225. Mortadex:RegisterModule("FreeForAll", function(Storage)
  226.     FreeForAll = true
  227. end, function(Storage) FreeForAll = false end)
  228.  
  229. --> Chams
  230. Mortadex:RegisterModule("Chams", function(Storage)
  231.     for i, Cham in next, Storage do
  232.         if Cham.Name:find("Cham") then
  233.             Cham:Destroy()
  234.             Storage[i] = nil
  235.         end
  236.     end
  237.    
  238.     for _, Player in next, Mortadex.Utilities:GetPlayers(0) do
  239.         if Player.Character and Player.Character:FindFirstChild("Torso") then
  240.             for _, Part in next, Player.Character:GetChildren() do
  241.                 if Part:IsA("PVInstance") then
  242.                     local Box = Instance.new("BoxHandleAdornment")
  243.                     Box.Size = Mortadex.Utilities:GetSize(Part) + Vector3.new(.2, .2, .2)
  244.                     Box.Name = "Cham" .. Player.Name
  245.                     Box.Color3 = Player.TeamColor.Color
  246.                     Box.Adornee = Part
  247.                     Box.AlwaysOnTop = true
  248.                     Box.ZIndex = 5
  249.                     Box.Transparency = .1
  250.                     table.insert(Storage, Box)
  251.                     Box.Parent = Mortadex.Utilities:GetCanvas()
  252.                 end
  253.             end
  254.         end
  255.     end
  256. end)
  257.  
  258. --> LagSwitch
  259. Mortadex:RegisterModule("LagSwitch", function(Storage)
  260.     if not Storage.State then
  261.         Storage.State = true
  262.         local Replicator = Mortadex.Utilities:GetReplicator()
  263.         if Replicator then
  264.             Replicator:DisableProcessPackets()
  265.         end
  266.     end
  267. end,
  268.  
  269. function(Storage)
  270.     if Storage.State then
  271.         Storage.State = false
  272.         local Replicator = Mortadex.Utilities:GetReplicator()
  273.         if Replicator then
  274.             Replicator:EnableProcessPackets()
  275.         end
  276.     end
  277. end)
  278.  
  279. --> IronSight
  280. Mortadex:RegisterModule("IronSight", function(Storage) 
  281.     local Sight = Instance.new("Frame")
  282.     Sight.Size = UDim2.new(0, 5, 0, 5)
  283.     Sight.BackgroundTransparency = .5
  284.     Sight.BackgroundColor3 = Color3.new(1, 1, 1)
  285.     Sight.Position = UDim2.new(0, Mortadex.Instances.LocalMouse.X, 0, Mortadex.Instances.LocalMouse.Y)
  286.     Sight.Parent = Mortadex.Utilities:GetCanvas()
  287. end)
  288.  
  289. --> KnifeMaster
  290. Mortadex:RegisterModule("KnifeMaster", function(Storage)
  291.     if not Mortadex.Instances.LocalPlayer.Character then
  292.         return
  293.     end
  294.     local Pl = Mortadex.Utilities:GetNearestPlayer()
  295.     if Pl and Pl.Character and Mortadex.Utilities:GetDistance(Pl.Character.Torso.Position, Mortadex.Instances.LocalPlayer.Character.HumanoidRootPart.Position) < 150 then
  296.         Mortadex.Instances.LocalPlayer.Character.HumanoidRootPart.CFrame = Pl.Character.Torso.CFrame * CFrame.new(0,0,3)
  297.     end
  298. end)
  299.  
  300. --> BigHead
  301. Mortadex:RegisterModule("BigHead", function(Storage)
  302.     for _, v in next, Mortadex.Utilities:GetPlayers(0) do
  303.         if v.Character then
  304.             if not Storage[v.Name] then
  305.                 Storage[v.Name] = { v.Character.Head.Size,  v.Character.Head.CFrame }
  306.             end
  307.             v.Character.Head.CanCollide = false
  308.             v.Character.Head.Size = Vector3.new(40, 40, 40)
  309.             v.Character.Head.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 20, 0)
  310.             v.Character.Head.Transparency = .3
  311.         end
  312.     end
  313. end,
  314.  
  315. function(Storage)
  316.     if not Storage.NormalSize then
  317.         Storage.NormalSize = Vector3.new(2, 1, 1)
  318.     end
  319.    
  320.     for _, v in next, Mortadex.Utilities:GetPlayers(0) do
  321.         if v.Character then
  322.             v.Character.Head.CanCollide = true
  323.             v.Character.Head.Size = Storage.NormalSize
  324.         end
  325.     end
  326. end)
  327.  
  328. ---------------------------------------------------------------
  329.  
  330. Mortadex:Log("Loading UI...")
  331.  
  332. function Mortadex:CreateWindow(name, size, timed_close, tween)
  333.     local TopBar = Instance.new("TextLabel")
  334.     TopBar.Name = "NO_CLEAR"
  335.     TopBar.Size = UDim2.new(size.X.Scale, size.X.Offset, 0, 20)
  336.     TopBar.BorderSizePixel = 0
  337.     TopBar.BackgroundColor3 = Color3.new(1, 0, 0)
  338.     TopBar.Text = name
  339.     TopBar.TextXAlignment = Enum.TextXAlignment.Left
  340.     TopBar.TextScaled = true
  341.     TopBar.Font = Enum.Font.Code
  342.     TopBar.TextColor3 = Color3.new(0, 0, 0)
  343.     TopBar.Position = UDim2.new(.5, -(size.X.Offset/2), .5, -(size.Y.Offset/2))
  344.     TopBar.Draggable = true
  345.     TopBar.Active = true
  346.    
  347.     local Window = Instance.new("Frame")
  348.     Window.Name = "Content"
  349.     Window.Size = size
  350.     Window.BackgroundColor3 = Color3.new(0, 0, 0)
  351.     Window.Position = UDim2.new(0, 0, 0, 20)
  352.     Window.BackgroundTransparency = .3
  353.     Window.BorderSizePixel = 0
  354.    
  355.     if not timed_close then
  356.         local CloseBtn = Instance.new("TextButton", TopBar)
  357.         CloseBtn.Position = UDim2.new(1, -20, 0, 0)
  358.         CloseBtn.Size = UDim2.new(0, 20, 1, 0)
  359.         CloseBtn.BorderSizePixel = 0
  360.         CloseBtn.Name = "CloseBtn"
  361.         CloseBtn.BackgroundColor3 = Color3.new(0,0,0)
  362.         CloseBtn.TextColor3 = Color3.new(1, 0, 0)
  363.         CloseBtn.Text = "X"
  364.         CloseBtn.MouseButton1Click:connect(function()
  365.             TopBar:Destroy()
  366.         end)
  367.     else
  368.         local Countdown = Instance.new("TextLabel", TopBar)
  369.         Countdown.Position = UDim2.new(1, -20, 0, 0)
  370.         Countdown.Size = UDim2.new(0, 20, 1, 0)
  371.         Countdown.BackgroundTransparency = 1
  372.         Countdown.TextColor3 = Color3.new(0, 0, 0)
  373.         Countdown.Text = tostring(timed_close)
  374.         local BackPos
  375.         if tween then
  376.             BackPos = TopBar.Position
  377.             TopBar.Position = UDim2.new(.5, -(size.X.Offset/2), 1, 0)
  378.         end
  379.         spawn(function()
  380.             if tween then
  381.                 TopBar:TweenPosition(BackPos, "Out", "Quad", .3, true)
  382.             end
  383.             for i = timed_close-1, 0, -1 do
  384.                 wait(1)
  385.                 Countdown.Text = tostring(i)
  386.             end
  387.             if not tween then
  388.                 TopBar:Destroy()
  389.             else
  390.                 TopBar:TweenPosition(UDim2.new(.5, -(size.X.Offset/2), 1, 0), "Out", "Sine", .3, true)
  391.                 wait(.3)
  392.                 TopBar:Destroy()
  393.             end
  394.         end)
  395.     end
  396.    
  397.     Window.Parent = TopBar
  398.     TopBar.Parent = Mortadex.Utilities:GetCanvas()
  399.     return TopBar
  400. end
  401.  
  402.  
  403. ---------------------------------------------------------------
  404.  
  405. if not script then script = Instance.new("LocalScript") end
  406. Mortadex.UpvalScript = script
  407.  
  408. Mortadex:Log("Hooking functions...")
  409. Mortadex.HookManager:Init()
  410. Mortadex.HookManager:HookIndex("Player", "Kick", error)
  411. Mortadex.HookManager:HookIndex("BasePart", "Size", function(Part)
  412.     local caller_env = getfenv(1)
  413.     if caller_env.script ~= Mortadex.UpvalScript and caller_env.script.ClassName ~= "CoreScript" then
  414.         if Part.Name == "Head" then
  415.             return Mortadex.EmptyVector3
  416.         end
  417.     end
  418.     return Mortadex.OriginalIndex(Part, "Size")
  419. end)
  420.  
  421. Mortadex.HookManager:HookIndex("BasePart", "CFrame", function(Part)
  422.     local caller_env = getfenv(1)
  423.     if caller_env.script ~= Mortadex.UpvalScript and caller_env.script.ClassName ~= "CoreScript" then
  424.         if Part.Name == "Head" then
  425.             return Mortadex.EmptyCFrame
  426.         end
  427.     end
  428.     return Mortadex.OriginalIndex(Part, "CFrame")
  429. end)
  430.  
  431. Mortadex.HookManager:HookIndex("BasePart", "Transparency", function(Part)
  432.     local caller_env = getfenv(1)
  433.     if caller_env.script ~= Mortadex.UpvalScript and caller_env.script.ClassName ~= "CoreScript" then
  434.         if Part.Name == "Head" then
  435.             return 0
  436.         end
  437.     end
  438.     return Mortadex.OriginalIndex(Part, "Transparency")
  439. end)
  440.  
  441. Mortadex:Log("Creating menu...")
  442. Mortadex.SelectionMenu = Mortadex:CreateWindow("Mortadex v"..Mortadex.Version, UDim2.new(0, 250, 0, 20 * Mortadex.ModuleCount))
  443. Mortadex.SelectionMenu.Position = UDim2.new(0, 10, 0, 10)
  444. Mortadex.SelectionMenu.CloseBtn:Destroy()
  445.  
  446. for ModuleName, Module in next, Mortadex.Modules do
  447.     local Entry = Instance.new("TextLabel")
  448.     Entry.BackgroundTransparency = 1
  449.     Entry.BackgroundColor3 = Color3.new(1,1,1)
  450.     Entry.TextColor3 = Color3.new(1, 1, 1)
  451.     Entry.TextScaled = true
  452.     Entry.Font = "Code"
  453.     Entry.TextXAlignment = "Left"
  454.     Entry.Text = ModuleName
  455.     Entry.Position = UDim2.new(0, 0, 0, 20 * Module.Order)
  456.     Entry.Size = UDim2.new(1, 0, 0, 20)
  457.     Entry.Name = tostring(Module.Order)
  458.     Entry.Parent = Mortadex.SelectionMenu.Content
  459.     Entry.BorderSizePixel = 0
  460.    
  461.     local Status = Instance.new("Frame")
  462.     Status.BorderSizePixel = 0
  463.     Status.BackgroundColor3 = Color3.new(1, 0, 0)
  464.     Status.Size = UDim2.new(0, 5, 0, 5)
  465.     Status.Position = UDim2.new(1, -10, 0, 8)
  466.     Status.Name = "Status"
  467.     Status.Parent = Entry
  468. end
  469.  
  470. Mortadex:Log("Connecting UI renderer...")
  471. Mortadex.Services.RunService:BindToRenderStep("Mortadex", Enum.RenderPriority.Last.Value + 1, function()
  472.     for _, Object in next, Mortadex.Utilities:GetCanvas():GetChildren() do
  473.         if not Object.Name:find("NO_CLEAR") then
  474.             Object:Destroy()
  475.         end
  476.     end
  477.    
  478.     for i, Module in next, Mortadex.Modules do
  479.         if Module.Enabled and Module.OnRender then
  480.             local Success, ErrMsg = pcall(Module.OnRender, Module.Scratchpad)
  481.             if not Success then
  482.                 Mortadex:FLog("Panic during execution of \"%s\"::OnRender: %s", i, ErrMsg)
  483.             end
  484.         elseif not Module.Enabled and Module.NoRender then
  485.             local Success, ErrMsg = pcall(Module.NoRender, Module.Scratchpad)
  486.             if not Success then
  487.                 Mortadex:FLog("Panic during execution of \"%s\"::NoRender: %s", i, ErrMsg)
  488.             end
  489.         end
  490.     end
  491. end)
  492.  
  493. Mortadex:Log("Attaching controls...")
  494. Mortadex.Services.UserInputService.InputBegan:connect(function(InputObject)
  495.     local PreviousSelection = Mortadex.SelectionMenu.Content:FindFirstChild(tostring(Mortadex.ModuleSelection))
  496.     if PreviousSelection then
  497.         PreviousSelection.BackgroundTransparency = 1
  498.         PreviousSelection.TextColor3 = Color3.new(1, 1, 1)
  499.     end
  500.     if InputObject.KeyCode.Name == "J" then
  501.         Mortadex.ModuleSelection = Mortadex.ModuleSelection - 1
  502.         if Mortadex.ModuleSelection < 0 then
  503.             Mortadex.ModuleSelection = Mortadex.ModuleCount - 1
  504.         end
  505.     elseif InputObject.KeyCode.Name == "K" then
  506.         Mortadex.ModuleSelection = Mortadex.ModuleSelection + 1
  507.         if Mortadex.ModuleSelection > Mortadex.ModuleCount-1 then
  508.             Mortadex.ModuleSelection = 0
  509.         end
  510.     elseif InputObject.KeyCode.Name == "L" then
  511.         local EntryLabel = Mortadex.SelectionMenu.Content:FindFirstChild(tostring(Mortadex.ModuleSelection))
  512.         if EntryLabel then
  513.             local ModuleEntry = Mortadex.Modules[EntryLabel.Text]
  514.             if ModuleEntry then
  515.                 ModuleEntry.Enabled = not ModuleEntry.Enabled
  516.                 if ModuleEntry.Enabled then
  517.                     EntryLabel.Status.BackgroundColor3 = Color3.new(0, 1, 0)
  518.                 else
  519.                     EntryLabel.Status.BackgroundColor3 = Color3.new(1, 0, 0)
  520.                 end
  521.             end
  522.         end
  523.     elseif InputObject.KeyCode.Name == "P" then
  524.         Mortadex.SelectionMenu.Position = UDim2.new(1, -270, 0, 10)
  525.     end
  526.     local EntryLabel = Mortadex.SelectionMenu.Content:FindFirstChild(tostring(Mortadex.ModuleSelection))
  527.     if EntryLabel then
  528.         EntryLabel.BackgroundTransparency = .3
  529.         EntryLabel.TextColor3 = Color3.new(0, 0, 0)
  530.     end
  531. end)
  532.  
  533. Mortadex:Log("Finishing up...")
  534. local IntroWindow = Mortadex:CreateWindow("Mortadex", UDim2.new(0, 350, 0, 200), 5, true)
  535. local IntroLabel = Instance.new("TextLabel")
  536. IntroLabel.Font = "Code"
  537. IntroLabel.TextWrapped = true
  538. IntroLabel.FontSize = "Size24"
  539. IntroLabel.TextColor3 = Color3.new(1, 1, 1)
  540. IntroLabel.BackgroundTransparency = 1
  541. IntroLabel.Text = "Welcome to Mortadex! If you need to change the menu's placement, simply drag the window around the screen. Press P to dock the window to the right side of the screen in case the chat blocks the menu."
  542. IntroLabel.Parent = IntroWindow.Content
  543. IntroLabel.Size = UDim2.new(1, 0, 1, 0)
Add Comment
Please, Sign In to add comment