SHOW:
|
|
- or go back to the newest paste.
| 1 | Tool = Instance.new("Tool")
| |
| 2 | Part = Instance.new("Part")
| |
| 3 | Part.Name = "Handle" | |
| 4 | Part.Parent = Tool | |
| 5 | Tool.Parent = owner.Character | |
| 6 | Part.Transparency = 1 | |
| 7 | Part.Size = Vector3.new(3,3,3) | |
| 8 | - | local virus = Instance.new("Sound", owner.character.Head)
|
| 8 | + | delet = false |
| 9 | - | virus.SoundId = "rbxassetid://6410047369" |
| 9 | + | touched = false |
| 10 | - | virus.Volume = 1 |
| 10 | + | local Partlol |
| 11 | - | local A = Instance.new("Sound", owner.character.Head)
|
| 11 | + | local Toollol |
| 12 | - | A.SoundId = "rbxassetid://7323113985" |
| 12 | + | local goAway |
| 13 | - | A.Volume = 10 |
| 13 | + | function toolout() |
| 14 | - | gotsomeone = false |
| 14 | + | Toollol.Activated:connect(function() |
| 15 | - | function damage(dmg) |
| 15 | + | goAway = Instance.new("Part", script)
|
| 16 | - | for i,v in pairs(workspace:GetDescendants()) do |
| 16 | + | goAway.Size = Vector3.new(6.11,6.85,8.31) |
| 17 | - | if v.ClassName == "Model" and v ~= character then |
| 17 | + | goAway.CFrame = Partlol.CFrame.lookVector * 2.5 |
| 18 | - | local headdude = v:findFirstChild("Head")
|
| 18 | + | goAway.Name = "goAway" |
| 19 | - | if headdude then |
| 19 | + | Mesh = Instance.new("SpecialMesh")
|
| 20 | - | if (headdude.Position - Part.Position).magnitude < 3.25 then |
| 20 | + | Mesh.Parent = goAway |
| 21 | - | if headdude.Parent ~= nil then |
| 21 | + | Mesh.MeshId = "http://www.roblox.com/asset/?id=2686025433" |
| 22 | - | local humm = v:findFirstChildOfClass("Humanoid")
|
| 22 | + | goAway.BrickColor = BrickColor.new("Light orange")
|
| 23 | - | if humm then |
| 23 | + | Mesh.Scale = Vector3.new(10, 10, 10) |
| 24 | - | if humm.Parent ~= owner.Character then |
| 24 | + | local velocity = Instance.new("BodyVelocity", goAway)
|
| 25 | - | virus:Play() |
| 25 | + | velocity.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 26 | - | if humm.Health > 0 then |
| 26 | + | velocity.Velocity = goAway.CFrame.lookVector * 200 |
| 27 | - | gotsomeone = true |
| 27 | + | game.Debris:AddItem(goAway, 5) |
| 28 | game.Debris:AddItem(velocity, 1) | |
| 29 | - | A:Play() |
| 29 | + | end) |
| 30 | - | humm.BreakJointsOnDeath = false |
| 30 | + | |
| 31 | - | wait(0.125) |
| 31 | + | |
| 32 | - | headdude:Destroy() |
| 32 | + | local isTouched = false |
| 33 | - | gotsomeone = false |
| 33 | + | |
| 34 | Players = game:GetService("Players")
| |
| 35 | - | end |
| 35 | + | health = 100 |
| 36 | function attacked(hitlol) | |
| 37 | if hitlol.Name == "goAway" then | |
| 38 | if not isTouched then | |
| 39 | isTouched = true | |
| 40 | health = health - 5 | |
| 41 | task.wait() | |
| 42 | goAway:Destroy() | |
| 43 | - | Tool.Activated:Connect(damage) |
| 43 | + | wait(0.40) |
| 44 | isTouched = false | |
| 45 | - | while true do |
| 45 | + | |
| 46 | end | |
| 47 | - | if gotsomeone then |
| 47 | + | |
| 48 | - | for i,v in pairs(workspace:GetDescendants()) do |
| 48 | + | function death(hit) |
| 49 | - | if v.ClassName == "Model" and v ~= character then |
| 49 | + | local partParent = hit.Parent |
| 50 | - | local headdude = v:findFirstChild("Head")
|
| 50 | + | local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
|
| 51 | - | if headdude then |
| 51 | + | if humanoid then |
| 52 | - | if (headdude.Position - Part.Position).magnitude < 3.25 then |
| 52 | + | humanoid.Health = 0 |
| 53 | - | if headdude.Parent ~= nil then |
| 53 | + | wait() |
| 54 | - | local humm = v:findFirstChildOfClass("Humanoid")
|
| 54 | + | delet = true |
| 55 | - | if humm then |
| 55 | + | |
| 56 | - | if humm.Parent ~= owner.Character then |
| 56 | + | |
| 57 | - | owner.Character.HumanoidRootPart.CFrame = CFrame.new(owner.Character.HumanoidRootPart.Position, Vector3.new(headdude.Position.x,owner.Character.HumanoidRootPart.Position.y,headdude.Position.z)) |
| 57 | + | |
| 58 | local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
| |
| 59 | local Mouse = owner:GetMouse() | |
| 60 | function ButtonDownlol() | |
| 61 | if Mouse.Target ~= "nil" then | |
| 62 | E:FireServer("Down",Mouse.Target)
| |
| 63 | end | |
| 64 | end | |
| 65 | Mouse.Button1Down:Connect(ButtonDownlol) | |
| 66 | - | end |
| 66 | + | ]],owner.PlayerGui)) |
| 67 | E.OnServerEvent:Connect(function(plr, action, Whomst) | |
| 68 | if not touched then | |
| 69 | wait() | |
| 70 | touched = true | |
| 71 | local Model = Whomst:FindFirstAncestorOfClass("Model")
| |
| 72 | if Model then | |
| 73 | local PC = Players:GetPlayerFromCharacter(Model) | |
| 74 | if PC then | |
| 75 | local screengui = Instance.new("ScreenGui", PC:findFirstChildOfClass("PlayerGui"))
| |
| 76 | screengui.ResetOnSpawn = true | |
| 77 | screengui.Name = "youfailed" | |
| 78 | local tl = Instance.new("TextLabel", screengui)
| |
| 79 | tl.Size = UDim2.new(1,0,1,0) | |
| 80 | tl.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 81 | tl.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 82 | tl.Text = "You Failed the vibe check." | |
| 83 | tl.BackgroundTransparency = 1 | |
| 84 | tl.TextTransparency = 0 | |
| 85 | tl.TextColor3 = Color3.new(1, 1, 1) | |
| 86 | tl.TextSize = 50 | |
| 87 | local tl2 = Instance.new("TextLabel", screengui)
| |
| 88 | tl2.Size = UDim2.new(1,0,1,0) | |
| 89 | tl2.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 90 | tl2.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 91 | tl2.Text = "Run." | |
| 92 | tl2.BackgroundTransparency = 1 | |
| 93 | tl2.TextTransparency = 1 | |
| 94 | tl2.TextColor3 = Color3.new(1, 0.1, 0.1) | |
| 95 | tl2.TextSize = 50 | |
| 96 | local screengui2 = Instance.new("ScreenGui", owner:findFirstChildOfClass("PlayerGui"))
| |
| 97 | screengui2.ResetOnSpawn = true | |
| 98 | screengui2.Name = "youfailed2" | |
| 99 | local tl3 = Instance.new("TextLabel", screengui2)
| |
| 100 | tl3.Size = UDim2.new(1,0,1,0) | |
| 101 | tl3.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 102 | tl3.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 103 | tl3.Text = "Vibe checked." | |
| 104 | tl3.BackgroundTransparency = 1 | |
| 105 | tl3.TextTransparency = 0 | |
| 106 | tl3.TextColor3 = Color3.new(1, 1, 1) | |
| 107 | tl3.TextSize = 50 | |
| 108 | Toollol = Instance.new("Tool")
| |
| 109 | Partlol = Instance.new("Part")
| |
| 110 | Partlol.Name = "Handle" | |
| 111 | Partlol.Parent = Toollol | |
| 112 | Toollol.Parent = PC.Character | |
| 113 | Toollol.Name = "Kill Vibe" | |
| 114 | Toollol.ToolTip = "Face vibe check and activate this is the only way to kill" | |
| 115 | task.wait() | |
| 116 | toolout() | |
| 117 | wait(1.75) | |
| 118 | local tweenService = game:GetService("TweenService")
| |
| 119 | ||
| 120 | local timeToFade = 1.75 | |
| 121 | local object = tl | |
| 122 | local tweenInfo = TweenInfo.new(timeToFade) | |
| 123 | local goal = {}
| |
| 124 | goal.TextTransparency = 1 | |
| 125 | ||
| 126 | local tween = tweenService:Create(object, tweenInfo, goal) | |
| 127 | local timeToFade2 = 1 | |
| 128 | local object2 = tl3 | |
| 129 | local tweenInfo2 = TweenInfo.new(timeToFade) | |
| 130 | local goal2 = {}
| |
| 131 | goal2.TextTransparency = 1 | |
| 132 | ||
| 133 | local tween3 = tweenService:Create(object2, tweenInfo2, goal2) | |
| 134 | tween:Play() | |
| 135 | tween3:Play() | |
| 136 | wait(1.751) | |
| 137 | tl2.TextTransparency = 0 | |
| 138 | local tween2 = tweenService:Create(tl2, tweenInfo, goal) | |
| 139 | wait(0.1) | |
| 140 | tween2:Play() | |
| 141 | tween:Destroy() | |
| 142 | health = 100 | |
| 143 | turns = 100000 | |
| 144 | local part1 = Instance.new("Part", game.Workspace)
| |
| 145 | part1.Size = Vector3.new(6, 6, 6) | |
| 146 | part1.Shape = Enum.PartType.Ball | |
| 147 | local decal = Instance.new("Decal", part1)
| |
| 148 | decal.Face = Enum.NormalId.Front | |
| 149 | local happyFace = "http://www.roblox.com/asset/?id=4435280948" | |
| 150 | decal.Texture = happyFace | |
| 151 | part1.Material = "Slate" | |
| 152 | part1.BrickColor = BrickColor.new("Bright yellow")
| |
| 153 | part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 154 | part1.TopSurface = Enum.SurfaceType.Smooth | |
| 155 | part1.CanCollide = false | |
| 156 | local bg = Instance.new("BodyGyro",part1)
| |
| 157 | bg.D = 100 | |
| 158 | bg.P = turns | |
| 159 | bg.MaxTorque = Vector3.new(1000000,math.huge,1000000) | |
| 160 | local velocitylol = Instance.new("BodyVelocity", part1)
| |
| 161 | local Breath = Instance.new("Sound", part1)
| |
| 162 | Breath.SoundId = "rbxassetid://4334340728" | |
| 163 | Breath.Volume = 5 | |
| 164 | Breath.Looped = true | |
| 165 | Breath:Play() | |
| 166 | local billboard = Instance.new("BillboardGui", part1)
| |
| 167 | billboard.Adornee = part1 | |
| 168 | billboard.StudsOffset = Vector3.new(-1, 4.5, 0) | |
| 169 | billboard.Size = UDim2.new(2,0,1,0) | |
| 170 | billboard.Name = "healthbarlol" | |
| 171 | local text = Instance.new("TextBox", billboard)
| |
| 172 | text.BackgroundTransparency = 1 | |
| 173 | text.TextTransparency = 0 | |
| 174 | text.TextSize = 25 | |
| 175 | text.Size = billboard.Size | |
| 176 | text.Font = "Arcade" | |
| 177 | speed = 0 | |
| 178 | coroutine.wrap(function() | |
| 179 | while true do | |
| 180 | task.wait() | |
| 181 | speed = speed + 0.1 | |
| 182 | turns = turns + 1000 | |
| 183 | where = PC.Character.HumanoidRootPart.Position | |
| 184 | bg.CFrame = CFrame.new(part1.Position, where) | |
| 185 | velocitylol.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 186 | velocitylol.Velocity = part1.CFrame.LookVector * speed | |
| 187 | end | |
| 188 | end)() | |
| 189 | coroutine.wrap(function() | |
| 190 | while true do | |
| 191 | task.wait() | |
| 192 | text.Text = "Health: "..health.."/100" | |
| 193 | part1.Touched:Connect(death) | |
| 194 | part1.Touched:Connect(attacked) | |
| 195 | if health == 0 then | |
| 196 | part1:Destroy() | |
| 197 | wait(0.1) | |
| 198 | health = 100 | |
| 199 | elseif PC.Character.Humanoid.Health == 0 then | |
| 200 | wait(0.1) | |
| 201 | touched = false | |
| 202 | part1:Destroy() | |
| 203 | Breath:Destroy() | |
| 204 | wait(0.1) | |
| 205 | delet = false | |
| 206 | else | |
| 207 | delet = false | |
| 208 | end | |
| 209 | end | |
| 210 | end)() | |
| 211 | end | |
| 212 | end | |
| 213 | end | |
| 214 | end) |