Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = owner
- local char = plr.Character
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- local hum = char:FindFirstChildOfClass("Humanoid")
- pcall(function()
- char:FindFirstChild("Health"):Destroy()
- end)
- local maxhealth = 10^9
- local curhealth = maxhealth
- local dir = 1
- local dist = 8
- local died = false
- curhealth = hum.Health
- local effects = Instance.new("Folder")
- effects.Parent = script
- local tween = game:GetService("TweenService")
- local theme = Instance.new("Sound")
- theme.SoundId = "rbxassetid://3956754701"
- theme.Looped = true
- theme.Volume = 1
- theme.Parent = torso
- theme:Play()
- local sfx = Instance.new("Sound")
- sfx.Volume = 1
- sfx.SoundId = "rbxassetid://446961725"
- sfx.Parent = torso
- function get_vec(part)
- local v = {}
- v.Up = part.CFrame.UpVector
- v.Down = v.Up * -1
- v.Right= part.CFrame.RightVector
- v.Left = v.Right * -1
- v.Front=part.CFrame.LookVector
- v.Back = v.Front * -1
- return v
- end
- function cmiss(p)
- local Part0 = Instance.new("Part")
- local BillboardGui1 = Instance.new("BillboardGui")
- local ImageLabel2 = Instance.new("ImageLabel")
- local TextLabel3 = Instance.new("TextLabel")
- Part0.Parent = script
- Part0.Position = p
- Part0.Transparency = 1
- Part0.Size = Vector3.new()
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.CanCollide = false
- Part0.Locked = true
- Part0.TopSurface = Enum.SurfaceType.Smooth
- BillboardGui1.Parent = Part0
- BillboardGui1.Size = UDim2.new(5, 0, 2, 0)
- BillboardGui1.Active = true
- BillboardGui1.ClipsDescendants = true
- BillboardGui1.ResetOnSpawn = false
- BillboardGui1.Adornee = Part0
- BillboardGui1.AlwaysOnTop = true
- ImageLabel2.Name = "Frame"
- ImageLabel2.Parent = BillboardGui1
- ImageLabel2.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel2.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel2.BackgroundTransparency = 1
- ImageLabel2.Image = "rbxassetid://3570695787"
- ImageLabel2.ImageColor3 = Color3.new(1, 0.172549, 0.545098)
- ImageLabel2.ScaleType = Enum.ScaleType.Slice
- ImageLabel2.SliceCenter = Rect.new(100, 100, 100, 100)
- TextLabel3.Parent = ImageLabel2
- TextLabel3.Size = UDim2.new(1, 0, 1, 0)
- TextLabel3.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel3.BackgroundTransparency = 1
- TextLabel3.Font = Enum.Font.Cartoon
- TextLabel3.FontSize = Enum.FontSize.Size14
- TextLabel3.Text = "LOL MISS"
- TextLabel3.TextColor = BrickColor.new("Really black")
- TextLabel3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel3.TextScaled = true
- TextLabel3.TextSize = 14
- TextLabel3.TextWrap = true
- TextLabel3.TextWrapped = true
- tween:Create(ImageLabel2,TweenInfo.new(3),{ImageTransparency = 1}):Play()
- tween:Create(TextLabel3,TweenInfo.new(3),{TextTransparency = 1}):Play()
- game:GetService("Debris"):AddItem(BillboardGui1,1.1)
- end
- function ghost()
- pcall(function()
- cmiss(torso.Position)
- for i,v in pairs(char:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("UnionOperation") then
- local c = v:Clone()
- c.Transparency = 0.5
- c.Material = Enum.Material.SmoothPlastic
- c.Color = Color3.new(1,1,1)
- c.Anchored = true
- c.CanCollide = false
- c.Locked = true
- c.Massless = true
- for i,_v in pairs(c:GetChildren()) do
- if not _v:IsA("SpecialMesh") and not _v:IsA("BlockMesh") and not _v:IsA("CharacterMesh") then
- _v:Destroy()
- end
- end
- c.Parent = effects
- tween:Create(c,TweenInfo.new(3),{Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(c,1.1)
- end
- end
- end)
- end
- function dodge(hit)
- local orgnpos = torso.CFrame
- local oldpos = (orgnpos*CFrame.new(0.1,0,0)).p
- local newpos = orgnpos.p
- local ext = Vector3.new()
- if dir == 1 then
- ext = Vector3.new(dist,0,dist)
- elseif dir == 2 then
- ext = Vector3.new(-dist,0,0)
- elseif dir == 3 then
- ext = Vector3.new(0,0,-dist)
- elseif dir == 4 then
- ext = Vector3.new(-dist,0,-dist)
- elseif dir == 5 then
- ext = Vector3.new(dist,0,-dist)
- end
- local vel = torso.Velocity
- torso.CFrame = CFrame.new(oldpos,newpos)*CFrame.new(ext)
- ghost()
- dir = dir + 1
- if dir > 5 then
- dir = 1
- end
- sfx:Play()
- wait()
- torso.CFrame = orgnpos
- torso.Velocity = vel
- end
- hum.BreakJointsOnDeath = false
- hum.HealthChanged:Connect(function(newhealth)
- hum.BreakJointsOnDeath = false
- if not died then else return end
- if newhealth > curhealth and (newhealth-curhealth) >= 6 then
- spawn(function()
- dodge()
- end)
- end
- hum.Health = hum.MaxHealth
- curhealth = newhealth
- end)
- hum.Died:Connect(function()
- died = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement