KermeetTheGodamnFr0g

vsb starman

Apr 7th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.06 KB | None | 0 0
  1. local plr = game.Players.Kermeet
  2. if plr.Character and plr.Character.Humanoid.Health > 0 then
  3.     local char = plr.Character
  4.     char.Archivable = true
  5.     if char:FindFirstChild("Body Colors") then
  6.         char["Body Colors"]:Destroy()
  7.     end
  8.     local humanoid = char.Humanoid
  9.     humanoid.MaxHealth = math.huge
  10.     humanoid.Health = math.huge
  11.     humanoid.JumpPower = 50
  12.     humanoid.WalkSpeed = 100
  13.     for _,v in pairs(char:GetChildren()) do
  14.         if v.ClassName == "Hat" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" then
  15.             v:Destroy()
  16.         end
  17.         if v:IsA("BasePart") then
  18.             v.Material = Enum.Material.Neon
  19.             if v:FindFirstChildOfClass("Decal") then
  20.                 v:FindFirstChildOfClass("Decal"):Destroy()
  21.             end
  22.         end
  23.     end
  24.     local colorchange = coroutine.create(function()
  25.         while wait() do
  26.             local newcolor = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  27.             for _,v in pairs(char:GetChildren()) do
  28.                 if v:IsA("BasePart") then
  29.                     v.Color3 = newcolor
  30.                     if v.Name == "Head" then
  31.                         local mesh v:FindFirstChildOfClass("SpecialMesh")
  32.                         if mesh then
  33.                             mesh:Destroy()
  34.                         end
  35.                     end
  36.                 end
  37.             end
  38.         end
  39.     end)
  40.     local trail = coroutine.create(function()
  41.         while wait() do
  42.             local success = pcall(function()
  43.                 local trail = char:Clone()
  44.                 trail.Name = ""
  45.                 trail.HumanoidRootPart:Destroy()
  46.                 trail.Humanoid:Destroy()
  47.                 for _,v in pairs(trail:GetChildren()) do
  48.                     if v:IsA("BasePart")then
  49.                         v.Size = v.Size - Vector3.new(0.05,0.05,0.05)
  50.                         v.Anchored = true
  51.                         v.CanCollide = false
  52.                         spawn(function()
  53.                             for i=0,10 do
  54.                                 v.Transparency = i/10
  55.                                 wait(0.1)
  56.                             end
  57.                             v:Destroy()
  58.                         end)
  59.                     else
  60.                         v:Destroy()
  61.                     end
  62.                 end
  63.                 trail.Parent = char
  64.             end)
  65.         end
  66.     end)
  67.     for _,v in pairs(char:GetChildren()) do
  68.         if v:IsA("BasePart") then
  69.             v.Touched:Connect(function(touch)
  70.                 if touch.Parent ~= char then
  71.                     if touch.Parent:FindFirstChild("Humanoid") then
  72.                         touch.Parent.Humanoid.Health = 0
  73.                     end
  74.                     if touch:IsA("BasePart") and touch.Locked == false then
  75.                         touch.Anchored = false
  76.                     end
  77.                 end
  78.             end)
  79.         end
  80.     end
  81.     coroutine.resume(colorchange)
  82.     coroutine.resume(trail)
  83. end
Add Comment
Please, Sign In to add comment