Advertisement
kik767868767

Untitled

Nov 21st, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. -- By Robolxtm --
  2. print('Starting RoboDeathScript v1.1...')
  3. if workspace:FindFirstChild("Robolxtm") ~= nil then
  4. if workspace.Robolxtm:FindFirstChild("Humanoid") ~= nil then
  5. local robo = workspace.Robolxtm.Humanoid
  6. robo.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  7. print("Doing health, speed and jumps...")
  8. robo.MaxHealth = math.huge
  9. robo.Health = math.huge
  10. robo.WalkSpeed = 64
  11. robo.JumpPower = 100
  12. print('Finished health. Doing death stuff and name things.')
  13. local name = Instance.new("BillboardGui", robo.Parent.Head)
  14. name.Name = 'a'
  15. name.Adornee = robo.Parent.Head
  16. name.Size = UDim2.new(6,0,1,0)
  17. name.SizeOffset = Vector2.new(0,2)
  18. name.ExtentsOffset = Vector3.new(0,5,0)
  19. local nametxt = Instance.new("TextLabel", robo.Parent.Head.a)
  20. nametxt.Text = "Robo | Delete on contact!"
  21. nametxt.Font = Enum.Font.SourceSansLight
  22. nametxt.Text = 3
  23. nametxt.TextScaled = true
  24. nametxt.Size = UDim2.new(1,0,1,0)
  25. nametxt.BackgroundTransparency = 1
  26. nametxt.TextColor3 = Color3.fromRGB(255,255,0)
  27.  
  28. local beam = Instance.new("Trail")
  29. beam.Parent = robo.Parent.HumanoidRootPart
  30. beam.Attachment0 = robo.Parent.RightUpperArm.RightShoulderAttachment
  31. beam.Attachment1 = robo.Parent.LeftUpperArm.LeftShoulderAttachment
  32. beam.Lifetime = .5
  33. beam.Transparency = NumberSequence.new(.5,1)
  34.  
  35. local l = Instance.new("Sound", robo.Parent.HumanoidRootPart)
  36. l.Parent = a
  37. l.Playing = true
  38. l.Looped = true
  39. l.SoundId = "rbxassetid://258852901"
  40. l.Volume = 10
  41. l:Play()
  42.  
  43.  
  44. robo.Parent.HumanoidRootPart.Touched:Connect(function(p)
  45. p.Parent = workspace
  46. p.Anchored = false
  47. if p:FindFirstChildWhichIsA("Weld") ~= nil then
  48. p:FindFirstChildWhichIsA("Weld"):remove()
  49. elseif p:FindFirstChildWhichIsA("WeldConstraint") ~= nil then
  50. p:FindFirstChildWhichIsA("WeldConstraint"):remove()
  51. end
  52. wait(3)
  53. p:remove()
  54. end)
  55. end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement