Advertisement
kik767868767

Untitled

Aug 8th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 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 = 32
  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 - Can't touch this"
  21. nametxt.Text = 3
  22. nametxt.TextScaled = true
  23. nametxt.Size = UDim2.new(1,0,1,0)
  24. nametxt.BackgroundTransparency = 1
  25. nametxt.TextColor3 = Color3.fromRGB(0,0,150)
  26.  
  27. local beam = Instance.new("Trail")
  28. beam.Parent = robo.Parent.Torso
  29. beam.Attachment0 = robo.Parent["Right Arm"].RightShoulderAttachment
  30. beam.Attachment1 = robo.Parent["Left Arm"].LeftShoulderAttachment
  31. print('Collision stuff...')
  32. robo.Parent.Head.CanCollide = false
  33. robo.Parent.Torso.CanCollide = false
  34. robo.Parent["Left Leg"].CanCollide = false
  35. robo.Parent["Right Leg"].CanCollide = false
  36. robo:ChangeState(11)
  37.  
  38.  
  39.  
  40. print('Death part!')
  41. robo.Parent.Head.Touched:Connect(function(p)
  42. p:Destroy()
  43. end)
  44. end
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement