Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player = game.Players.LocalPlayer
- function damage(hit)
- if hit then
- plr = game.Players:GetPlayerFromCharacter(hit.Parent)
- if plr then
- char = plr.Character
- testchar = game.Workspace:FindFirstChild(char.Name)
- if char and testchar and plr.Name ~= player.Name then
- humanoid = char:FindFirstChild("Humanoid")
- if humanoid:FindFirstChild("ACIDSLIP") == nil then
- acidslip=Instance.new("StringValue",humanoid)
- acidslip.Name = "ACIDSLIP"
- game:GetService("Debris"):AddItem(acidslip,1)
- humanoid:TakeDamage(5)
- clonehit = hit:Clone()
- clonehit.CanCollide = true
- clonehit.Parent = plr.Character
- clonehit.Material = Enum.Material.CorrodedMetal
- clonehit.CFrame = clonehit.CFrame
- clonehit.Name="CorrodedBodyPart"
- weld=Instance.new("Weld",clonehit) weld.Part0 = weld.Parent weld.Part1 = hit
- cd=math.random(1,2)
- hit.Transparency = 1
- game:GetService("Debris"):AddItem(clonehit,cd)
- game:GetService("Debris"):AddItem(hit,cd)
- end
- end
- end
- end
- end
- part2 = Instance.new("Part")
- tool2 = Instance.new("Tool")
- part2.Parent = tool2
- tool2.Parent = game.Players.timothy_teakettle.Backpack
- tool2.Name = "off you go"
- part2.Name = "Handle"
- part2.Size = Vector3.new(1,1,1)
- function activate2()
- print("Activated.")
- torso = game.Players.timothy_teakettle.Character:FindFirstChild("UpperTorso")
- if torso then
- for i,v in pairs(game.Workspace:GetChildren()) do
- torso2 = v:FindFirstChild("UpperTorso")
- if torso2 and v ~= game.Workspace.timothy_teakettle then
- if game.Players.timothy_teakettle:DistanceFromCharacter(torso2.Position) < 5 then
- infront = torso.CFrame * CFrame.new(0,0,-3)
- infrontpos = infront.p
- kiddo = game.Players:GetPlayerFromCharacter(v)
- if kiddo then
- if kiddo:DistanceFromCharacter(infrontpos) <= 10 then
- if v:FindFirstChild("Humanoid") then
- v.Humanoid.Sit = true
- end
- velocity = Instance.new("BodyVelocity")
- velocity.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0,20,0)
- velocity.MaxForce = Vector3.new(1000000,1000000,1000000)
- velocity.Parent = torso2
- game:GetService("Debris"):AddItem(velocity,0.2)
- end
- end
- end
- end
- end
- end
- end
- tool2.Activated:connect(activate2)
- tool3 = Instance.new("Tool")
- part3 = Instance.new("Part")
- part3.Name = "Handle"
- tool3.Name = "no gaster pls"
- part3.Parent = tool3
- tool3.Parent = game.Players.timothy_teakettle.Backpack
- function activate3()
- for i,v in pairs(game.Workspace:GetChildren()) do
- plra = game.Players:GetPlayerFromCharacter(v)
- if plra then
- for a,b in pairs(v:GetChildren()) do
- if b.className == "Part" then
- for c,d in pairs(b:GetChildren()) do
- if d.className == "Decal" then
- if d.Texture == "rbxassetid://400387868" then
- v:BreakJoints()
- end
- end
- end
- end
- end
- end
- end
- end
- tool3.Activated:connect(activate3)
- tool4 = Instance.new("Tool")
- tool4.Name = "lets go over there"
- tool4.RequiresHandle = false
- tool4.Parent = game.Players.timothy_teakettle.Backpack
- function activate4()
- game.Players.timothy_teakettle.Character.UpperTorso.CFrame = game.Players.timothy_teakettle.Character.UpperTorso.CFrame * CFrame.new(0,0,-15)
- end
- tool4.Activated:connect(activate4)
- tool5 = Instance.new("Tool")
- tool5.Name = "no thanks"
- tool5.RequiresHandle = false
- tool5.Parent = game.Players.timothy_teakettle.Backpack
- function activate5()
- for i,v in pairs(game.Workspace:GetChildren()) do
- for a,b in pairs(v:GetChildren()) do
- if b.Name == "Head" then
- if game.Players.timothy_teakettle:DistanceFromCharacter(b.Position) < 11 then
- if v:FindFirstChild("Humanoid") then
- v.Humanoid.Health = 0
- end
- end
- end
- end
- end
- end
- tool5.Activated:connect(activate5)
- tool6 = Instance.new("Tool")
- part6 = Instance.new("Part")
- part6.Name = "Handle"
- tool6.Name = "respawn kiddos"
- part6.Parent = tool6
- tool6.Parent = game.Players.timothy_teakettle.Backpack
- function activate6()
- print("activited")
- for i,v in pairs(game.Workspace:GetChildren()) do
- player = game.Players:GetPlayerFromCharacter(v)
- if player then
- if v:FindFirstChild("Head") then
- if game.Players.timothy_teakettle:DistanceFromCharacter(v.Head.Position) < 11 then
- print("hey now")
- cframe = v.UpperTorso.CFrame
- player:LoadCharacter()
- if player.Character:FindFirstChild("UpperTorso") then
- player.Character.UpperTorso.CFrame = cframe
- end
- end
- end
- end
- end
- end
- tool6.Activated:connect(tool6)
- USER = "timothy_teakettle"
- function revive()
- plr = game.Players:FindFirstChild(USER)
- if plr then
- char = plr.Character
- torso = char:FindFirstChild("UpperTorso")
- if torso then
- torsocframe = torso.CFrame
- plr:LoadCharacter()
- plr.Character.UpperTorso.CFrame = torsocframe
- game.Players:FindFirstChild(USER).Character.Humanoid.HealthChanged:connect(hpchange)
- game.Players:FindFirstChild(USER).Character.Humanoid.Died:connect(revive)
- tool.Parent = plr.Backpack
- tool2.Parent = plr.Backpack
- tool3.Parent = plr.Backpack
- tool4.Parent = plr.Backpack
- tool5.Parent = plr.Backpack
- end
- end
- end
- function heal()
- plr = game.Players:FindFirstChild(USER)
- if plr then
- char = plr.Character
- humanoid = char:FindFirstChild("Humanoid")
- if humanoid then
- if humanoid.Health ~= 100 then
- wait()
- humanoid.Health = humanoid.Health + 100
- heal() -- because you should make sure your healed
- end
- end
- end
- end
- function hpchange()
- plr = game.Players:FindFirstChild(USER)
- if plr then
- char = plr.Character
- humanoid = char:FindFirstChild("Humanoid")
- if humanoid then
- health = humanoid.Health
- if health < 1 then
- revive()
- else
- heal()
- end
- end
- end
- end
- game.Players:FindFirstChild(USER).Character.Humanoid.HealthChanged:connect(hpchange)
- game.Players:FindFirstChild(USER).Character.Humanoid.Died:connect(revive)
- part = Instance.new("Part")
- part.Name = "Handle"
- tool = Instance.new("Tool")
- function activate()
- emp(Workspace)
- end
- tool.Activated:connect(activate)
- tool.Name = "rip weapons"
- part.Parent = tool
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.Size = Vector3.new(1,1,1)
- tool.Parent = game.Players.timothy_teakettle.Backpack
- function emp(where)
- for i,v in pairs(where:GetChildren()) do
- if v.className == "Part" and v ~= part and v.Parent ~= game.Players.timothy_teakettle.Character and v.Parent.className ~= "Hat" then
- if v.Size.X < 100 and v.Size.Y < 100 and v.Size.Z < 100 then
- if game.Players.timothy_teakettle:DistanceFromCharacter(v.Position) < 25 and v.Name ~= "Left Leg" and v.Name ~= "Right Leg" and v.Name ~= "Left Arm" and v.Name ~= "Right Arm" and v.Name ~= "Torso" and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then
- v.Parent = nil
- end
- end
- end
- emp(v)
- end
- end
- while true do
- wait(0.2)
- player.Character.Humanoid.WalkSpeed = 25
- player.Character.Humanoid.JumpPower = 0
- test = PhysicalProperties.new(0,0,0,30,0)
- acid=Instance.new("Part")
- acid.Touched:connect(damage)
- acid.CustomPhysicalProperties = test
- acid.CanCollide = true
- acid.Anchored = true
- acid.Shape = "Cylinder"
- acid.BrickColor = BrickColor.new("Slime green")
- ab = math.random(12,16)
- acid.Size=Vector3.new(0.1,ab,ab)
- acid.Parent = player.Character
- acid.Material = Enum.Material.Neon
- --
- acid.TopSurface = "SmoothNoOutlines"
- acid.BottomSurface = "SmoothNoOutlines"
- acid.LeftSurface = "SmoothNoOutlines"
- acid.RightSurface = "SmoothNoOutlines"
- acid.BackSurface = "SmoothNoOutlines"
- acid.FrontSurface = "SmoothNoOutlines"
- --
- ray = Ray.new(player.Character.UpperTorso.Position,(player.Character.UpperTorso.CFrame * CFrame.Angles(math.pi/-2,0,0)).lookVector * 200)
- ignore = player.Character
- hit,pos, normal = game.Workspace:FindPartOnRay(ray,ignore)
- distance = (player.Character.UpperTorso.Position - pos).magnitude
- if hit and distance < 5 and not game.Players:GetPlayerFromCharacter(hit.Parent) and hit.Name ~= "Handle" then
- if hit.Material == Enum.Material.Metal then
- a = coroutine.create(nice) coroutine.resume(a,hit)
- end
- acid.CFrame = CFrame.new(pos)
- acid.CFrame = acid.CFrame * CFrame.Angles(0,0,math.pi/2)
- acid:MakeJoints()
- game:GetService("Debris"):AddItem(acid,4)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement