Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Version V2.1.3 ; added ID esp.
- local Players = game:GetService("Players")
- local Lighting = game:GetService("Lighting")
- local UIS = game:GetService("UserInputService")
- local TweenService = game:GetService("TweenService")
- local Player = Players.LocalPlayer
- local keyBind = 'R'
- local forceExit = false
- local onCooldown = false
- local enabled = false
- local spamming = false
- local cooldown = 2
- local duration = 1000
- local maxDuration = 1000
- local utilities = {}
- function getCharacter()
- repeat wait() until pcall(function() return Player.Character and Player.Character.Humanoid and Player.Character.HumanoidRootPart end)
- return Player.Character
- end
- function bootstrap()
- utilities.Folder = Instance.new("Folder")
- utilities.Folder.Name = ''
- utilities.Folder.Parent = game.Workspace
- utilities.TInfo = TweenInfo.new(1, Enum.EasingStyle.Sine)
- utilities.TProp = {Transparency = 1}
- utilities.Destroy = {}
- utilities.Destroy.Highlight = {}
- utilities.Destroy.BGui = {}
- utilities.Destroy.IDGuiStore = {}
- function utilities.espState(state)
- for _, vPlayer in Players:GetPlayers() do
- if vPlayer ~= Player then
- local hindex = #utilities.Destroy.Highlight + 1
- local bindex = #utilities.Destroy.BGui + 1
- if vPlayer.Character.Head then
- pcall(function()
- utilities.Destroy.Highlight[hindex] = Instance.new("Highlight")
- utilities.Destroy.BGui[bindex] = {a = Instance.new("BillboardGui"), b = Instance.new("Frame"), c = Instance.new("TextLabel"), ptr = vPlayer, hasused = false}
- local curhighlight = utilities.Destroy.Highlight[hindex]
- local curBGUI = utilities.Destroy.BGui[bindex]
- curhighlight.FillColor = Color3.fromRGB(37, 52, 255)
- curhighlight.OutlineColor = Color3.fromRGB(34, 255, 248)
- curhighlight.Parent = vPlayer.Character
- curhighlight.Adornee = vPlayer.Character
- curhighlight.Enabled = true
- curhighlight.FillTransparency = 0.5
- curBGUI.a.ExtentsOffset = Vector3.new(0, 2, 0)
- curBGUI.a.Adornee = vPlayer.Character.Head
- curBGUI.a.Size = UDim2.new(15, 0, 5, 0)
- curBGUI.a.AlwaysOnTop = true
- curBGUI.b.Size = UDim2.new(1,0,1,0)
- curBGUI.b.BackgroundTransparency = 1
- curBGUI.c.Size = UDim2.new(1,0,1,0)
- curBGUI.c.BackgroundTransparency = 1
- curBGUI.c.Font = Enum.Font.Cartoon
- curBGUI.c.TextColor3 = Color3.fromRGB(32, 196, 255)
- curBGUI.c.TextStrokeColor3 = Color3.fromRGB(255,255,255)
- curBGUI.c.TextStrokeTransparency = 0.5
- curBGUI.c.TextScaled = true
- curBGUI.c.TextWrapped = true
- curBGUI.b.Parent = curBGUI.a
- curBGUI.c.Parent = curBGUI.b
- curBGUI.a.Parent = vPlayer.Character.Head
- end)
- end
- end
- end
- spawn(function()
- utilities.idsEsp()
- while enabled do
- wait(0.1)
- utilities.idsEsp()
- end
- end)
- spawn(function()
- while enabled do
- for i, prop in pairs(utilities.Destroy.BGui) do
- local s, err = pcall(function()
- prop.hasused = prop.hasused or (not not prop.ptr.Character:FindFirstChild("DeathNoteBook"))
- if prop.hasused then
- local highlight = utilities.Destroy.Highlight[i]
- TweenService:Create(prop.c, TweenInfo.new(1, Enum.EasingStyle.Sine), {TextColor3 = Color3.fromRGB(255, 2, 99)}):Play()
- TweenService:Create(highlight, TweenInfo.new(1, Enum.EasingStyle.Sine), {OutlineColor = Color3.fromRGB(255, 2, 99), FillColor = Color3.fromRGB(255, 84, 110)}):Play()
- end
- local txt = {'(', prop.ptr.DisplayName, " @", prop.ptr.Name, ")\n", "[DeathNote: ", tostring(prop.hasused), ']'}
- prop.c.Text = table.concat(txt)
- end)
- if err then
- --warn("[SSS]: " .. err)
- end
- wait()
- end
- end
- for i, prop in pairs(utilities.Destroy.BGui) do
- prop.c:Destroy()
- prop.b:Destroy()
- prop.a:Destroy()
- utilities.Destroy.BGui[i] = nil
- wait()
- end
- for i, h in pairs(utilities.Destroy.Highlight) do
- h:Destroy()
- utilities.Destroy.Highlight[i] = nil
- wait()
- end
- for i, prop in pairs(utilities.Destroy.IDGuiStore) do
- prop.c:Destroy()
- prop.b:Destroy()
- prop.a:Destroy()
- utilities.Destroy.IDGuiStore[i] = nil
- wait()
- end
- end)
- end
- function utilities.idsEsp()
- local idspl = utilities.Destroy.IDGuiStore -- load
- local i = 0
- local function load()
- local i = 0
- while game.Workspace.Map:FindFirstChild("Id") do
- local v = game.Workspace.Map:FindFirstChild("Id")
- if v and v.Name:lower() == "id" and v:FindFirstChild("SurfaceGui") and v.SurfaceGui.Frame:FindFirstChild("PlayerName") then
- v.Parent = game.ReplicatedStorage
- i = i + 1
- utilities.Destroy.IDGuiStore[i] = {a = Instance.new("BillboardGui"), b = Instance.new("Frame"), c = Instance.new("TextLabel"), plrn = "ID: " .. v.SurfaceGui.Frame.PlayerName.Text, CFrame = v.CFrame, p = v}
- local curBGUI = utilities.Destroy.IDGuiStore[i]
- curBGUI.a.ExtentsOffset = Vector3.new(0, 1, 0)
- curBGUI.a.Adornee = v
- curBGUI.a.Size = UDim2.new(9, 0, 4.5, 0)
- curBGUI.a.AlwaysOnTop = true
- curBGUI.b.Size = UDim2.new(1,0,1,0)
- curBGUI.b.BackgroundTransparency = 1
- curBGUI.c.Size = UDim2.new(1,0,1,0)
- curBGUI.c.BackgroundTransparency = 1
- curBGUI.c.Font = Enum.Font.Cartoon
- curBGUI.c.TextColor3 = Color3.fromRGB(58, 208, 68)
- curBGUI.c.TextStrokeColor3 = Color3.fromRGB(255,255,255)
- curBGUI.c.TextStrokeTransparency = 0.5
- curBGUI.c.TextScaled = true
- curBGUI.c.TextWrapped = true
- curBGUI.c.Text = curBGUI.plrn
- curBGUI.b.Parent = curBGUI.a
- curBGUI.c.Parent = curBGUI.b
- curBGUI.a.Parent = v
- end
- wait()
- end
- for _, v in ipairs(utilities.Destroy.IDGuiStore) do
- pcall(function() v.p.Parent = game.Workspace.Map end)
- end
- end
- if #idspl == 0 then
- load()
- end
- for i, idtable in ipairs(utilities.Destroy.IDGuiStore) do
- if (not idtable.p or not idtable.p.Parent) or (idtable.p and idtable.p.CFrame ~= idtable.CFrame) then
- for i, idtable in ipairs(utilities.Destroy.IDGuiStore) do
- idtable.c:Destroy()
- idtable.b:Destroy()
- idtable.a:Destroy()
- wait()
- end
- break
- end
- wait()
- end
- end
- function utilities.lightingState(state)
- if not state then
- TweenService:Create(utilities.Destroy.Bloom, utilities.TInfo, {Threshold = 2}):Play()
- TweenService:Create(utilities.Destroy.Color, utilities.TInfo, {TintColor = Color3.fromRGB(255, 255, 255)}):Play()
- TweenService:Create(utilities.Destroy.Blur, utilities.TInfo, {Size = 0}):Play()
- wait(1.05)
- utilities.Destroy.Bloom:Destroy()
- utilities.Destroy.Color:Destroy()
- utilities.Destroy.Blur:Destroy()
- return
- end
- local bloom, color, blur = Instance.new("BloomEffect"), Instance.new("ColorCorrectionEffect"), Instance.new("BlurEffect")
- blur.Size = 0
- bloom.Parent, color.Parent, blur.Parent = Lighting, Lighting, Lighting
- TweenService:Create(bloom, utilities.TInfo, {Threshold = 0.5}):Play()
- TweenService:Create(color, utilities.TInfo, {TintColor = Color3.fromRGB(190, 213, 255)}):Play()
- TweenService:Create(blur, utilities.TInfo, {Size = 10}):Play()
- utilities.Destroy.Bloom = bloom
- utilities.Destroy.Color = color
- utilities.Destroy.Blur = blur
- end
- function utilities.spawnEssence(UPPER_BOUND: number)
- UPPER_BOUND = UPPER_BOUND or 1
- while enabled do
- wait()
- local glow = Instance.new("Part")
- glow.Size = Vector3.new(1,1,1)
- glow.Material = Enum.Material.Neon
- glow.Color = Color3.fromRGB(21, 216, 255)
- glow.Anchored = true
- glow.CanCollide = false
- glow.Reflectance = 1
- glow.Transparency = 0.6
- glow.CFrame = getCharacter().HumanoidRootPart.CFrame * (CFrame.new(math.random(-10, 10), math.random(5, 10), math.random(-10, 10)) * CFrame.new(UPPER_BOUND^2, UPPER_BOUND^2, UPPER_BOUND^2)) * CFrame.Angles(math.rad(math.random(1, 180)), math.rad(math.random(1, 180)), math.rad(math.random(1, 180)))
- glow.Parent = utilities.Folder
- local x = TweenService:Create(glow, utilities.TInfo, {Transparency = 1, CFrame = glow.CFrame * (CFrame.new(math.random(-5, 5), math.random(-4, 5), math.random(-5, 5)) * CFrame.new(UPPER_BOUND^2, UPPER_BOUND^2, UPPER_BOUND^2)) * CFrame.Angles(math.rad(math.random(1, 180)), math.rad(math.random(1, 180)), math.rad(math.random(1, 180)))})
- local c;
- c = x.Completed:Connect(function()
- glow:Destroy()
- x:Destroy()
- c:Disconnect();
- end)
- x:Play()
- end
- end
- function utilities.incrDuration()
- while wait(0.2) and not enabled do
- if duration < maxDuration then
- duration = duration + 1
- else
- return false
- end
- end
- return true
- end
- function utilities.decrDuration()
- while wait(1) and enabled do
- if duration > 0 then
- duration = duration - 1
- else
- return false
- end
- end
- return true
- end
- end
- function disableSixEyes()
- if onCooldown then return end
- if enabled then return end
- onCooldown = true
- wait()
- spawn(utilities.incrDuration)
- utilities.lightingState()
- wait(cooldown)
- wait()
- onCooldown = false
- end
- function enableSixEyes()
- if forceExit then return end
- if spamming then return end
- if onCooldown then return end
- spamming = true
- spawn(function()
- wait(1)
- spamming = false
- end)
- enabled = not enabled
- if not enabled then
- disableSixEyes()
- return
- end
- utilities.lightingState(enabled)
- utilities.espState(enabled)
- spawn(utilities.spawnEssence)
- local result = utilities.decrDuration()
- if not result then
- enabled = false
- disableSixEyes()
- end
- end
- UIS.InputBegan:Connect(function(Key)
- if Key.KeyCode == Enum.KeyCode[keyBind] and not forceExit then
- enableSixEyes()
- end
- end)
- bootstrap()
- warn("**[INITIALIZED: V2.1.4]**")
Advertisement
Comments
-
Comment was deleted
-
- local Players = game:GetService("Players")
- local Lighting = game:GetService("Lighting")
- local UIS = game:GetService("UserInputService")
- local TweenService = game:GetService("TweenService")
- local Player = Players.LocalPlayer
- local keyBind = 'E'
- local onCooldown = false
- local enabled = false
- local spamming = false
- local cooldown = 2
- local duration = 1000
- local maxDuration = 1000
- local utilities = {}
- function getCharacter()
- repeat wait() until pcall(function()
- return Player.Character and Player.Character.Humanoid and Player.Character.HumanoidRootPart
- end)
- return Player.Character
- end
- function bootstrap()
- utilities.Folder = Instance.new("Folder")
- utilities.Folder.Name = 'GameUtilities'
- utilities.Folder.Parent = game.Workspace
- utilities.TInfo = TweenInfo.new(1, Enum.EasingStyle.Sine)
- utilities.TProp = {Transparency = 1}
- utilities.Destroy = {}
- utilities.Destroy.Highlight = {}
- utilities.Destroy.BGui = {}
- function utilities.espState(state)
- for _, vPlayer in Players:GetPlayers() do
- if vPlayer ~= Player and vPlayer.Character and vPlayer.Character:FindFirstChild("Head") then
- local highlight = Instance.new("Highlight")
- highlight.FillColor = Color3.fromRGB(37, 52, 255)
- highlight.OutlineColor = Color3.fromRGB(34, 255, 248)
- highlight.Parent = vPlayer.Character
- table.insert(utilities.Destroy.Highlight, highlight)
- local billboardGui = Instance.new("BillboardGui")
- local frame = Instance.new("Frame")
- local textLabel = Instance.new("TextLabel")
- billboardGui.ExtentsOffset = Vector3.new(0, 2, 0)
- billboardGui.Adornee = vPlayer.Character.Head
- billboardGui.Size = UDim2.new(15, 0, 5, 0)
- billboardGui.AlwaysOnTop = true
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundTransparency = 1
- textLabel.Size = UDim2.new(1, 0, 1, 0)
- textLabel.BackgroundTransparency = 1
- textLabel.Font = Enum.Font.Cartoon
- textLabel.TextColor3 = Color3.fromRGB(32, 196, 255)
- textLabel.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- textLabel.TextStrokeTransparency = 0.5
- textLabel.TextScaled = true
- textLabel.TextWrapped = true
- frame.Parent = billboardGui
- textLabel.Parent = frame
- billboardGui.Parent = vPlayer.Character.Head
- utilities.Destroy.BGui[vPlayer.Name] = { billboardGui, frame, textLabel }
- end
- end
- function utilities.espState(state)
- if state then
- -- ESP enabling logic
- for _, vPlayer in Players:GetPlayers() do
- if vPlayer ~= Player and vPlayer.Character and vPlayer.Character:FindFirstChild("Head") then
- local highlight = Instance.new("Highlight")
- highlight.FillColor = Color3.fromRGB(37, 52, 255)
- highlight.OutlineColor = Color3.fromRGB(34, 255, 248)
- highlight.Parent = vPlayer.Character
- table.insert(utilities.Destroy.Highlight, highlight)
- local billboardGui = Instance.new("BillboardGui")
- local frame = Instance.new("Frame")
- local textLabel = Instance.new("TextLabel")
- billboardGui.ExtentsOffset = Vector3.new(0, 2, 0)
- billboardGui.Adornee = vPlayer.Character.Head
- billboardGui.Size = UDim2.new(15, 0, 5, 0)
- billboardGui.AlwaysOnTop = true
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundTransparency = 1
- textLabel.Size = UDim2.new(1, 0, 1, 0)
- textLabel.BackgroundTransparency = 1
- textLabel.Font = Enum.Font.Cartoon
- textLabel.TextColor3 = Color3.fromRGB(32, 196, 255)
- textLabel.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- textLabel.TextStrokeTransparency = 0.5
- textLabel.TextScaled = true
- textLabel.TextWrapped = true
- textLabel.Text = '(' .. vPlayer.DisplayName .. ' @' .. vPlayer.Name .. ')'
- frame.Parent = billboardGui
- textLabel.Parent = frame
- billboardGui.Parent = vPlayer.Character.Head
- utilities.Destroy.BGui[vPlayer.Name] = { billboardGui, frame, textLabel }
- end
- end
- else
- -- ESP disabling logic
- for _, highlight in pairs(utilities.Destroy.Highlight) do
- highlight:Destroy()
- end
- for _, guiElements in pairs(utilities.Destroy.BGui) do
- guiElements[1]:Destroy() -- Destroy the BillboardGui
- end
- utilities.Destroy.Highlight = {}
- utilities.Destroy.BGui = {}
- end
- end
- function utilities.lightingState(state)
- if state then
- local bloom = Instance.new("BloomEffect")
- local colorCorrection = Instance.new("ColorCorrectionEffect")
- local blurEffect = Instance.new("BlurEffect")
- bloom.Intensity = 0.4
- bloom.Size = 24
- bloom.Threshold = 0.3
- bloom.Parent = Lighting
- colorCorrection.TintColor = Color3.fromRGB(190, 213, 255)
- colorCorrection.Parent = Lighting
- blurEffect.Size = 5
- blurEffect.Parent = Lighting
- utilities.Destroy.Bloom = bloom
- utilities.Destroy.Color = colorCorrection
- utilities.Destroy.Blur = blurEffect
- else
- if utilities.Destroy.Bloom then utilities.Destroy.Bloom:Destroy() end
- if utilities.Destroy.Color then utilities.Destroy.Color:Destroy() end
- if utilities.Destroy.Blur then utilities.Destroy.Blur:Destroy() end
- end
- end
- function utilities.spawnEssence(UPPER_BOUND)
- UPPER_BOUND = UPPER_BOUND or 1
- while enabled do
- local essence = Instance.new("Part")
- essence.Size = Vector3.new(1, 1, 1)
- essence.Material = Enum.Material.Neon
- essence.Color = Color3.fromRGB(21, 216, 255)
- essence.Anchored = true
- essence.CanCollide = false
- essence.Reflectance = 0.5
- essence.Transparency = 0.6
- essence.CFrame = getCharacter().HumanoidRootPart.CFrame * CFrame.new(math.random(-10, 10), math.random(5, 10), math.random(-10, 10))
- essence.Parent = utilities.Folder
- local tween = TweenService:Create(essence, utilities.TInfo, {Transparency = 1})
- tween:Play()
- tween.Completed:Connect(function()
- essence:Destroy()
- end)
- wait(0.5)
- end
- end
- function utilities.incrDuration()
- while not enabled and duration < maxDuration do
- wait(0.2)
- duration = duration + 1
- end
- end
- function utilities.decrDuration()
- while enabled and duration > 0 do
- wait(1)
- duration = duration - 1
- end
- if duration == 0 then
- enabled = false
- disableSixEyes()
- end
- end
- function enableSixEyes()
- if spamming or onCooldown then return end
- spamming = true
- wait(1)
- spamming = false
- enabled = not enabled
- if enabled then
- utilities.lightingState(true)
- utilities.espState(true)
- utilities.spawnEssence()
- utilities.decrDuration()
- else
- disableSixEyes()
- end
- end
- function disableSixEyes()
- if onCooldown then return end
- onCooldown = true
- wait(cooldown)
- onCooldown = false
- utilities.espState(false)
- utilities.lightingState(false)
- spawn(utilities.incrDuration)
- end
- UIS.InputBegan:Connect(function(Key)
- if Key.KeyCode == Enum.KeyCode[keyBind] then
- enableSixEyes()
- end
- end)
- bootstrap()
-
- make a new ken omega script gang
Add Comment
Please, Sign In to add comment
Advertisement