cat568

Untitled

Dec 29th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --http://www.roblox.com/asset/?id=16657069
  2. who = game.Players.Tabby_Cxt.Name
  3. players = game:GetService('Players')
  4. me = players[who]
  5. char = me.Character
  6.  
  7. local colors = {"Reddish brown", "Light orange", "Bright yellow", "Dark green", "Bright green"}
  8.  
  9. pcall(function() char.Barf:remove() end)
  10. local mod = Instance.new("Model", char)
  11. mod.Name = "Barf"
  12.  
  13. local torso = Instance.new("Part")
  14. torso.Parent = mod
  15. torso.Anchored = false
  16. torso.CanCollide = true
  17. torso.BrickColor = BrickColor.new("Cyan")
  18. torso.Size = Vector3.new(2, 2, 1)
  19. torso.CFrame = CFrame.new(0, 0, 0)
  20. torso:BreakJoints()
  21. local torsom = Instance.new("SpecialMesh")
  22. torsom.Parent = torso
  23. torsom.MeshType = "FileMesh"
  24. torsom.MeshId = "http://www.roblox.com/asset/?id=25078175"
  25. torsom.Scale = Vector3.new(1.5, 1.5, 1.5)
  26. local torsow = Instance.new("Weld")
  27. torsow.Parent = mod
  28. torsow.Part0 = torso
  29. torsow.Part1 = char.Torso
  30. torsow.C0 = CFrame.new(0, 0.25, 1.5) * CFrame.Angles(0, 0, 0)
  31. local larm = Instance.new("Weld")
  32. larm.Parent = mod
  33. larm.Part0 = char["Left Arm"]
  34. larm.Part1 = torso
  35. larm.C0 = CFrame.new(1, -1, -0.5) * CFrame.Angles(-0.5, 0, -0.25)
  36. local rarm = Instance.new("Weld")
  37. rarm.Parent = mod
  38. rarm.Part0 = char["Right Arm"]
  39. rarm.Part1 = torso
  40. rarm.C0 = CFrame.new(-1, -1, -0.5) * CFrame.Angles(-0.5, 0, 0.25)
  41. local head = Instance.new("Weld")
  42. head.Parent = mod
  43. head.Part0 = char["Head"]
  44. head.Part1 = char["Torso"]
  45. head.C0 = CFrame.new(0, -1.5, 0) * CFrame.Angles(0, 0, 0)
  46.  
  47. while wait(math.random(3, 10)) do
  48. for i = 0, 1, 0.1 do
  49. torsow.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(40*i), 0, 0)
  50. head.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20*i), 0, 0)
  51. wait()
  52. end
  53. bg = Instance.new("BodyGyro")
  54. bg.Parent = char.Torso
  55. bg.maxTorque = Vector3.new(0, 0, 0)
  56.  
  57. for i = 0, math.random(10, 20), 0.1 do
  58. local barf = Instance.new("Part")
  59. barf.formFactor = "Custom"
  60. barf.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  61. barf.Parent = mod
  62. barf.Name = "BARF"
  63. barf.Size = Vector3.new(.3,.3,.3)
  64. barf.CanCollide = false
  65. barf.CFrame = torso.CFrame + Vector3.new(math.random(-0.5, 0.5), math.random(-0.5, 0.5), math.random(-0.5, 0.5))
  66. local bm = Instance.new("BlockMesh", barf)
  67. barf:BreakJoints()
  68. barf.CanCollide = true
  69. wait()
  70. end
  71. wait(math.random(0.5, 1.5))
  72. for i = 0, 1, 0.1 do
  73. torsow.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(40-40*i), 0, 0)
  74. head.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20+20*i), 0, 0)
  75. wait()
  76. end
  77. bg:remove()
  78. for _,v in pairs(mod:GetChildren()) do
  79. if v.Name == "BARF" then
  80. v:remove()
  81. end
  82. wait()
  83. end
  84. end
Advertisement
Add Comment
Please, Sign In to add comment