VoidScript

O_O

Sep 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. --http://www.roblox.com/asset/?id=16657069
  2. who = "rigletto"
  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 = false
  17. torso.BrickColor = BrickColor.new("Reddish brown")
  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=16657069"
  25. torsom.Scale = Vector3.new(0.5, 0.5, 0.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. bv = Instance.new("BodyAngularVelocity")
  54. bv.Parent = char.Torso
  55. bv.angularvelocity = Vector3.new(0, 20, 0)
  56. bv.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  57. bg = Instance.new("BodyGyro")
  58. bg.Parent = char.Torso
  59. bg.maxTorque = Vector3.new(0, 0, 0)
  60. for i = 0, math.random(5, 10), 0.1 do
  61. local barf = Instance.new("Part")
  62. barf.formFactor = "Custom"
  63. barf.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  64. barf.Parent = mod
  65. barf.Name = "BARF"
  66. barf.Size = Vector3.new(math.random(0.2, 1), math.random(0.2, 1), math.random(0.2, 1))
  67. barf.CanCollide = false
  68. barf.CFrame = torso.CFrame + Vector3.new(math.random(-0.5, 0.5), math.random(-0.5, 0.5), math.random(-0.5, 0.5))
  69. local bm = Instance.new("BlockMesh", barf)
  70. bm.Bevel = math.random(0.05, 0.5)
  71. barf:BreakJoints()
  72. barf.CanCollide = true
  73. wait()
  74. end
  75. wait(math.random(0.5, 1.5))
  76. for i = 0, 1, 0.1 do
  77. torsow.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(40-40*i), 0, 0)
  78. head.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20+20*i), 0, 0)
  79. wait()
  80. end
  81. bv:remove()
  82. bg:remove()
  83. for _,v in pairs(mod:GetChildren()) do
  84. if v.Name == "BARF" then
  85. v:remove()
  86. end
  87. wait()
  88. end
  89. end
Add Comment
Please, Sign In to add comment