Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local EpikGui = Instance.new("ScreenGui")
- local MainFRAME = Instance.new("Frame")
- local TitleFRAME = Instance.new("Frame")
- local TitleLABEL = Instance.new("TextLabel")
- local Unbang = Instance.new("TextButton")
- local Unhat = Instance.new("TextButton")
- local GoTo = Instance.new("TextButton")
- local WalkTo = Instance.new("TextButton")
- local Bang = Instance.new("TextButton")
- local Hat = Instance.new("TextButton")
- local Player = Instance.new("TextBox")
- local Close = Instance.new("TextButton")
- local Open = Instance.new("Frame")
- local OpenBUTTON = Instance.new("TextButton")
- EpikGui.Name = "EpikGui"
- EpikGui.Parent = game:GetService("CoreGui")
- MainFRAME.Name = "MainFRAME"
- MainFRAME.Parent = EpikGui
- MainFRAME.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- MainFRAME.BorderColor3 = Color3.fromRGB(0, 0, 0)
- MainFRAME.BorderSizePixel = 2
- MainFRAME.Position = UDim2.new(.399849594, 0, .386363655, 0)
- MainFRAME.Size = UDim2.new(0, 200, 0, 150)
- MainFRAME.Visible = false
- MainFRAME.Active = true
- MainFRAME.Draggable = true
- TitleFRAME.Name = "TitleFRAME"
- TitleFRAME.Parent = MainFRAME
- TitleFRAME.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- TitleFRAME.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TitleFRAME.BorderSizePixel = 2
- TitleFRAME.Size = UDim2.new(0, 200, 0, 25)
- TitleLABEL.Name = "TitleLABEL"
- TitleLABEL.Parent = TitleFRAME
- TitleLABEL.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- TitleLABEL.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TitleLABEL.BorderSizePixel = 2
- TitleLABEL.Size = UDim2.new(0, 200, 0, 25)
- TitleLABEL.Font = Enum.Font.Cartoon
- TitleLABEL.Text = "Epik Gui"
- TitleLABEL.TextColor3 = Color3.fromRGB(0, 0, 0)
- TitleLABEL.TextScaled = true
- TitleLABEL.TextSize = 14
- TitleLABEL.TextWrapped = true
- Unbang.Name = "Unbang"
- Unbang.Parent = MainFRAME
- Unbang.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Unbang.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Unbang.Position = UDim2.new(.0850001499, 0, .74666667, 0)
- Unbang.Size = UDim2.new(0, 50, 0, 25)
- Unbang.Font = Enum.Font.Cartoon
- Unbang.Text = "Unbang"
- Unbang.TextColor3 = Color3.fromRGB(0, 0, 0)
- Unbang.TextSize = 15
- Unbang.TextWrapped = true
- Unhat.Name = "Unhat"
- Unhat.Parent = MainFRAME
- Unhat.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Unhat.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Unhat.Position = UDim2.new(.375000149, 0, .74666667, 0)
- Unhat.Size = UDim2.new(0, 50, 0, 25)
- Unhat.Font = Enum.Font.Cartoon
- Unhat.Text = "Unhat"
- Unhat.TextColor3 = Color3.fromRGB(0, 0, 0)
- Unhat.TextSize = 15
- Unhat.TextWrapped = true
- GoTo.Name = "GoTo"
- GoTo.Parent = MainFRAME
- GoTo.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- GoTo.BorderColor3 = Color3.fromRGB(0, 0, 0)
- GoTo.Position = UDim2.new(.660000145, 0, .74666667, 0)
- GoTo.Size = UDim2.new(0, 50, 0, 25)
- GoTo.Font = Enum.Font.Cartoon
- GoTo.Text = "Go to"
- GoTo.TextColor3 = Color3.fromRGB(0, 0, 0)
- GoTo.TextSize = 15
- GoTo.TextWrapped = true
- WalkTo.Name = "WalkTo"
- WalkTo.Parent = MainFRAME
- WalkTo.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- WalkTo.BorderColor3 = Color3.fromRGB(0, 0, 0)
- WalkTo.Position = UDim2.new(.660000145, 0, .540000021, 0)
- WalkTo.Size = UDim2.new(0, 50, 0, 25)
- WalkTo.Font = Enum.Font.Cartoon
- WalkTo.Text = "Walk To"
- WalkTo.TextColor3 = Color3.fromRGB(0, 0, 0)
- WalkTo.TextSize = 15
- WalkTo.TextWrapped = true
- Bang.Name = "Bang"
- Bang.Parent = MainFRAME
- Bang.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Bang.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Bang.Position = UDim2.new(.0850001499, 0, .540000021, 0)
- Bang.Size = UDim2.new(0, 50, 0, 25)
- Bang.Font = Enum.Font.Cartoon
- Bang.Text = "Bang"
- Bang.TextColor3 = Color3.fromRGB(0, 0, 0)
- Bang.TextSize = 15
- Bang.TextWrapped = true
- Hat.Name = "Hat"
- Hat.Parent = MainFRAME
- Hat.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Hat.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Hat.Position = UDim2.new(.375000149, 0, .540000021, 0)
- Hat.Size = UDim2.new(0, 50, 0, 25)
- Hat.Font = Enum.Font.Cartoon
- Hat.Text = "Hat"
- Hat.TextColor3 = Color3.fromRGB(0, 0, 0)
- Hat.TextSize = 15
- Hat.TextWrapped = true
- Player.Name = "Player"
- Player.Parent = MainFRAME
- Player.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Player.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Player.Position = UDim2.new(.0800001547, 0, .273333341, 0)
- Player.Size = UDim2.new(0, 165, 0, 25)
- Player.Font = Enum.Font.Cartoon
- Player.PlaceholderColor3 = Color3.fromRGB(0, 0, 0)
- Player.PlaceholderText = "Player"
- Player.Text = ""
- Player.TextColor3 = Color3.fromRGB(0, 0, 0)
- Player.TextSize = 16
- Player.TextWrapped = true
- Close.Name = "Close"
- Close.Parent = MainFRAME
- Close.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- Close.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Close.BorderSizePixel = 2
- Close.Position = UDim2.new(.875000179, 0, 0, 0)
- Close.Size = UDim2.new(0, 25, 0, 25)
- Close.Font = Enum.Font.Cartoon
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(0, 0, 0)
- Close.TextSize = 14
- Open.Name = "Open"
- Open.Parent = EpikGui
- Open.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Open.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Open.BorderSizePixel = 2
- Open.Position = UDim2.new(0, 1, .5, 0)
- Open.Size = UDim2.new(0, 50, 0, 25)
- Open.Visible = true
- Open.Active = true
- Open.Draggable = true
- OpenBUTTON.Name = "OpenBUTTON"
- OpenBUTTON.Parent = Open
- OpenBUTTON.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- OpenBUTTON.BorderColor3 = Color3.fromRGB(0, 0, 0)
- OpenBUTTON.Size = UDim2.new(0, 50, 0, 25)
- OpenBUTTON.Font = Enum.Font.Cartoon
- OpenBUTTON.Text = "Open"
- OpenBUTTON.TextColor3 = Color3.fromRGB(0, 0, 0)
- OpenBUTTON.TextSize = 16
- ME = game:GetService("Players").LocalPlayer
- function FindPlayer(loser)
- local plrs = {}
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Name:lower():sub(1, #loser) == loser:lower() then
- table.insert(plrs, v)
- end
- end
- return plrs
- end
- game:GetService("RunService").Stepped:Connect(function()
- if banging then
- ME.Character.HumanoidRootPart.CFrame = n.Character.HumanoidRootPart.CFrame + n.Character.HumanoidRootPart.CFrame.lookVector * -1.03
- end
- if hating then
- ME.Character.HumanoidRootPart.CFrame = n.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
- end
- end)
- Bang.MouseButton1Click:Connect(function()
- if ME.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "ERROR",
- Text = "This will only work for R6."
- })
- else
- for i, v in pairs(FindPlayer(Player.Text)) do
- banging = true
- bangAnimation = Instance.new("Animation")
- bangAnimation.AnimationId = "rbxassetid://148840371"
- bangTrack = ME.Character.Humanoid:LoadAnimation(bangAnimation)
- bangTrack:Play()
- bangTrack:AdjustSpeed(5)
- if v.Character.Humanoid then
- workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
- else
- workspace.CurrentCamera.CameraSubject = v.Character.Head
- end
- n = v
- end
- end
- end)
- Unbang.MouseButton1Click:Connect(function()
- banging = false
- bangTrack:Stop()
- if ME.Character.Humanoid then
- workspace.CurrentCamera.CameraSubject = ME.Character.Humanoid
- else
- workspace.CurrentCamera.CameraSubject = ME.Character.Head
- end
- end)
- Hat.MouseButton1Click:Connect(function()
- for i, v in pairs(FindPlayer(Player.Text)) do
- hating = true
- n = v
- if v.Character.Humanoid then
- workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
- else
- workspace.CurrentCamera.CameraSubject = v.Character.Head
- end
- end
- end)
- Unhat.MouseButton1Click:Connect(function()
- hating = false
- if ME.Character.Humanoid then
- workspace.CurrentCamera.CameraSubject = ME.Character.Humanoid
- else
- workspace.CurrentCamera.CameraSubject = ME.Character.Head
- end
- end)
- GoTo.MouseButton1Click:Connect(function()
- for i, v in pairs(FindPlayer(Player.Text)) do
- ME.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
- end
- end)
- WalkTo.MouseButton1Click:Connect(function()
- for i, v in pairs(FindPlayer(Player.Text)) do
- ME.Character.Humanoid:MoveTo(v.Character.HumanoidRootPart.Position)
- end
- end)
- Close.MouseButton1Click:Connect(function()
- EpikGui.MainFRAME.Visible = false
- EpikGui.Open.Visible = true
- end)
- OpenBUTTON.MouseButton1Click:Connect(function()
- EpikGui.MainFRAME.Visible = true
- EpikGui.Open.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement