Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local CmdBar = Instance.new("Frame")
- local Line = Instance.new("Frame")
- local UICreator = Instance.new("TextLabel")
- local Prefix = Instance.new("TextLabel")
- local Command = Instance.new("TextBox")
- local Cmds = Instance.new("Frame")
- local Cmd = Instance.new("TextLabel")
- local UIListLayout = Instance.new("UIListLayout")
- local Cmd_2 = Instance.new("TextLabel")
- local Cmd_3 = Instance.new("TextLabel")
- local Cmd_4 = Instance.new("TextLabel")
- local Cmd_5 = Instance.new("TextLabel")
- local Cmd_6 = Instance.new("TextLabel")
- ScreenGui.Parent = game.CoreGui
- CmdBar.Name = "CmdBar"
- CmdBar.Parent = ScreenGui
- CmdBar.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- CmdBar.BorderSizePixel = 0
- CmdBar.Position = UDim2.new(0.0540000014, 0, 1.5, 0)
- CmdBar.Size = UDim2.new(0, 684, 0, 33)
- Line.Name = "Line"
- Line.Parent = CmdBar
- Line.BackgroundColor3 = Color3.new(0.572549, 1, 0.305882)
- Line.BorderSizePixel = 0
- Line.Position = UDim2.new(0, 0, 1, 0)
- Line.Size = UDim2.new(0, 684, 0, 2)
- UICreator.Name = "UICreator"
- UICreator.Parent = CmdBar
- UICreator.BackgroundColor3 = Color3.new(1, 1, 1)
- UICreator.BackgroundTransparency = 1
- UICreator.BorderSizePixel = 0
- UICreator.Position = UDim2.new(0, 0, -0.636363626, 0)
- UICreator.Size = UDim2.new(0, 200, 0, 15)
- UICreator.Font = Enum.Font.SourceSans
- UICreator.Text = "UI Made by dot666isgud"
- UICreator.TextColor3 = Color3.new(1, 1, 1)
- UICreator.TextSize = 21
- UICreator.TextWrapped = true
- Prefix.Name = "Prefix"
- Prefix.Parent = CmdBar
- Prefix.BackgroundColor3 = Color3.new(1, 1, 1)
- Prefix.BackgroundTransparency = 1
- Prefix.BorderSizePixel = 0
- Prefix.Position = UDim2.new(0, 0, 0.0909090936, 0)
- Prefix.Size = UDim2.new(-0.0248538014, 48, 0.787878811, 0)
- Prefix.Font = Enum.Font.SourceSans
- Prefix.Text = ";"
- Prefix.TextColor3 = Color3.new(0.709804, 0.709804, 0.709804)
- Prefix.TextScaled = true
- Prefix.TextSize = 14
- Prefix.TextWrapped = true
- Command.Name = "Command"
- Command.Parent = CmdBar
- Command.BackgroundColor3 = Color3.new(1, 1, 1)
- Command.BackgroundTransparency = 1
- Command.BorderSizePixel = 0
- Command.Position = UDim2.new(0.0350877196, 0, 0, 0)
- Command.Size = UDim2.new(0.672514617, 200, 1, 0)
- Command.Font = Enum.Font.SourceSans
- Command.PlaceholderText = "Enter a command here"
- Command.Text = ""
- Command.TextColor3 = Color3.new(1, 1, 1)
- Command.TextScaled = true
- Command.TextSize = 14
- Command.TextWrapped = true
- Command.TextXAlignment = Enum.TextXAlignment.Left
- Cmds.Name = "Cmds"
- Cmds.Parent = CmdBar
- Cmds.BackgroundColor3 = Color3.new(1, 1, 1)
- Cmds.BackgroundTransparency = 1
- Cmds.BorderSizePixel = 0
- Cmds.Position = UDim2.new(0.141812861, 0, -5.909091, 0)
- Cmds.Size = UDim2.new(0, 479, 0, 174)
- Cmd.Name = "Cmd"
- Cmd.Parent = Cmds
- Cmd.BackgroundColor3 = Color3.new(1, 1, 1)
- Cmd.BackgroundTransparency = 1
- Cmd.Position = UDim2.new(0.0208768267, 0, 0.649425328, 0)
- Cmd.Size = UDim2.new(0, 447, 0, 20)
- Cmd.Font = Enum.Font.SourceSans
- Cmd.Text = "LoopKill [Target] - LoopKills a player - ALPHA"
- Cmd.TextColor3 = Color3.new(1, 1, 1)
- Cmd.TextScaled = true
- Cmd.TextSize = 14
- Cmd.TextWrapped = true
- Cmd.TextXAlignment = Enum.TextXAlignment.Left
- UIListLayout.Parent = Cmds
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom
- Cmd_2.Name = "Cmd"
- Cmd_2.Parent = Cmds
- Cmd_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Cmd_2.BackgroundTransparency = 1
- Cmd_2.Position = UDim2.new(0.0208768267, 0, 0.764367878, 0)
- Cmd_2.Size = UDim2.new(0, 447, 0, 20)
- Cmd_2.Font = Enum.Font.SourceSans
- Cmd_2.Text = "Kill [Target] - Kills a player - BETA"
- Cmd_2.TextColor3 = Color3.new(1, 1, 1)
- Cmd_2.TextScaled = true
- Cmd_2.TextSize = 14
- Cmd_2.TextWrapped = true
- Cmd_2.TextXAlignment = Enum.TextXAlignment.Left
- Cmd_3.Name = "Cmd"
- Cmd_3.Parent = Cmds
- Cmd_3.BackgroundColor3 = Color3.new(1, 1, 1)
- Cmd_3.BackgroundTransparency = 1
- Cmd_3.Position = UDim2.new(0.0208768267, 0, 0.649425328, 0)
- Cmd_3.Size = UDim2.new(0, 447, 0, 20)
- Cmd_3.Font = Enum.Font.SourceSans
- Cmd_3.Text = "WS [Amount] - Sets your Speed To the amount"
- Cmd_3.TextColor3 = Color3.new(1, 1, 1)
- Cmd_3.TextScaled = true
- Cmd_3.TextSize = 14
- Cmd_3.TextWrapped = true
- Cmd_3.TextXAlignment = Enum.TextXAlignment.Left
- Cmd_4.Name = "Cmd"
- Cmd_4.Parent = Cmds
- Cmd_4.BackgroundColor3 = Color3.new(1, 1, 1)
- Cmd_4.BackgroundTransparency = 1
- Cmd_4.Position = UDim2.new(0.0208768267, 0, 0.649425328, 0)
- Cmd_4.Size = UDim2.new(0, 447, 0, 20)
- Cmd_4.Font = Enum.Font.SourceSans
- Cmd_4.Text = "Fly - Makes your character fly"
- Cmd_4.TextColor3 = Color3.new(1, 1, 1)
- Cmd_4.TextScaled = true
- Cmd_4.TextSize = 14
- Cmd_4.TextWrapped = true
- Cmd_4.TextXAlignment = Enum.TextXAlignment.Left
- Cmd_5.Name = "Cmd"
- Cmd_5.Parent = Cmds
- Cmd_5.BackgroundColor3 = Color3.new(1, 1, 1)
- Cmd_5.BackgroundTransparency = 1
- Cmd_5.Position = UDim2.new(0.0208768267, 0, 0.649425328, 0)
- Cmd_5.Size = UDim2.new(0, 447, 0, 20)
- Cmd_5.Font = Enum.Font.SourceSans
- Cmd_5.Text = "Gunmod - Mods evry weapon that you have - BETA"
- Cmd_5.TextColor3 = Color3.new(1, 1, 1)
- Cmd_5.TextScaled = true
- Cmd_5.TextSize = 14
- Cmd_5.TextWrapped = true
- Cmd_5.TextXAlignment = Enum.TextXAlignment.Left
- Cmd_6.Name = "Cmd"
- Cmd_6.Parent = Cmds
- Cmd_6.BackgroundColor3 = Color3.new(1, 1, 1)
- Cmd_6.BackgroundTransparency = 1
- Cmd_6.Position = UDim2.new(0.0208768267, 0, 0.649425328, 0)
- Cmd_6.Size = UDim2.new(0, 447, 0, 20)
- Cmd_6.Font = Enum.Font.SourceSans
- Cmd_6.Text = "Goto [Target] - Teleports you to a target"
- Cmd_6.TextColor3 = Color3.new(1, 1, 1)
- Cmd_6.TextScaled = true
- Cmd_6.TextSize = 14
- Cmd_6.TextWrapped = true
- Cmd_6.TextXAlignment = Enum.TextXAlignment.Left
- function Tween(O,T,S)
- if O then
- game:GetService("TweenService"):Create(O,TweenInfo.new(T),S):Play()
- end
- end
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local CommandBar = script.Parent
- Mouse.KeyDown:connect(function(Key)
- if Key == [[;]] then
- Tween(CmdBar,0.5,{Position = UDim2.new(0.054, 0,0.916, 0)})
- Command:CaptureFocus()
- wait(0.01)
- Command.Text = ""
- end
- end)
- Command.FocusLost:connect(function(Enter)
- Tween(CmdBar,1.5,{Position = UDim2.new(0.054, 0,1.5, 0)})
- if Enter then
- if string.sub(Command.Text,1,5)=="kill " then
- if string.sub(Command.Text, 6) == "me" then
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end
- if string.sub(Command.Text,6)=="all" then
- for _,v in pairs(workspace:GetDescendants()) do
- for _,e in pairs(game.Players:GetChildren()) do
- if v.Name == "InflictTarget" then
- local gun = v
- gun:FireServer(e.Character.Humanoid,e.Character.Head,math.huge)
- end
- end
- end
- end
- if string.sub(Command.Text,6)=="others" then
- for _,v in pairs(workspace:GetDescendants()) do
- for _,e in pairs(game.Players:GetChildren()) do
- if e ~= game.Players.LocalPlayer then
- if v.Name == "InflictTarget" then
- local gun = v
- gun:FireServer(e.Character.Humanoid,e.Character.Head,math.huge)
- end
- end
- end
- end
- end
- local Target = string.sub(Command.Text,6)
- for _,v in pairs(workspace:GetDescendants()) do
- if v.Name == "InflictTarget" then
- local gun = v
- local target = Target
- gun:FireServer(game.Players[target].Character:FindFirstChildWhichIsA("Humanoid"),game.Players[target].Character.Head,math.huge)
- end
- end
- end
- if string.sub(Command.Text,1,9)=="loopkill " then
- local Target = string.sub(Command.Text,10)
- for _,v in pairs(workspace:GetDescendants()) do
- if v.Name == "InflictTarget" then
- local gun = v
- local target = Target
- while wait(16) do
- gun:FireServer(game.Players[target].Character:FindFirstChildWhichIsA("Humanoid"),game.Players[target].Character.Head,math.huge)
- end
- end
- end
- end
- if string.sub(Command.Text,1,5)=="goto " then
- local Target = string.sub(Command.Text,6)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Target].Character.HumanoidRootPart.CFrame
- end
- if string.sub(Command.Text,1,3)=="ws " then
- local Amount = string.sub(Command.Text,4)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(Amount) or 0
- end
- if string.sub(Command.Text,1,7)=="gunmod" then
- for i,v in next, getgc(true) do
- if type(v) == "table" and rawget(v,"FireRate") then
- v.Spread = 0
- v.AmmoPerMag = 100
- v.FireRate= 00.00
- v.BaseDamage = 50
- v.Auto = true
- v.ReloadTime = 0
- v.CameraShakingEnabled = true
- v.Recoil = 0
- v.AngleX = 0
- v.AngleY = 0
- v.Spread = 0
- v.RecoilRedution = 0
- v.RecoilSpeed = 0.01
- end
- end
- end
- if string.sub(Command.Text,1,3)=="fly" then
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 100
- local speed = 100
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end
- end
- end)
- Command:GetPropertyChangedSignal("Text"):Connect(function()
- local text = string.lower(Command.Text)
- for i,v in pairs(Cmds:GetChildren()) do
- if v:IsA("TextLabel") then
- v.Visible = true
- local ftext = string.lower(v.Text)
- if not string.match(ftext, text) then
- v.Visible = false
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment