pklo

Untitled

Mar 11th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1.  
  2. me="Pok61111"
  3. deb=false
  4. color,size,speed=BrickColor.new(1,1,1),Vector3.new(5,4,5),80
  5. hat,face,sparkles,fire,removehats,hatid,faceid=--[[hat]]false,--[[face]]true,--[[sparkles]]false,--[[fire]]false,--[[removehats]]true,--[[hatid]]57001119,--[[faceid]]38353936
  6. sparklecolor,firecolor,namecolor=Color3.new(0,1,0),Color3.new(1,0,0),Color3.new(0,0,1)
  7. digestcolor1,digestcolor2=Color3.new(1,1,1),Color3.new(1,0,0)
  8. d=0
  9. char=workspace:FindFirstChild(me)
  10. char.Humanoid.WalkSpeed=speed
  11. for _,v in pairs(char:GetChildren()) do
  12. if v:IsA("BasePart") and v.Name=="Left Leg" or v.Name=="Right Leg" or v.Name=="Right Arm" or v.Name=="Left Arm" then
  13. v:remove()
  14. elseif v:IsA("BasePart") and v.Name=="Torso" then
  15. v.Transparency=1
  16. v.CanCollide=false
  17. v.Neck.C0=CFrame.new(0,0,0)
  18. v.Neck.C1=CFrame.new(0,0,0)
  19. elseif v:IsA("BasePart") and v.Name=="Head" then
  20. v.Mesh.TextureId="roblox.com"
  21. v.Mesh.MeshId="roblox.com"
  22. v.Transparency=1
  23. if v:FindFirstChild("face") then
  24. v.face:remove()
  25. end
  26. v.CanCollide=false
  27. elseif v:IsA("Hat") then
  28. if removehats then
  29. v:remove()
  30. end
  31. end
  32. end
  33. p=Instance.new("Part",char)
  34. p.BrickColor=color
  35. if sparkles then
  36. Instance.new("Sparkles",p).Color=sparklecolor
  37. end
  38. if fire then
  39. Instance.new("Fire",p).Color=firecolor
  40. end
  41. if hat then
  42. hat=game:GetService("InsertService"):LoadAsset(hatid)
  43. for _,v in pairs(hat:GetChildren()) do
  44. if v:IsA("Hat") then
  45. newhat=v:clone()
  46. newhat.Parent=char
  47. hat:remove()
  48. end
  49. end
  50. end
  51. if face then
  52. f=Instance.new("Decal",p)
  53. f.Face="Front"
  54. f.Texture="http://www.roblox.com/asset/?id="..faceid-1
  55. end
  56. b=Instance.new("BodyForce",p)
  57. b.force=Vector3.new(0,50,0)
  58. g=Instance.new("BillboardGui",p)
  59. g.StudsOffset=Vector3.new(0,1,0)
  60. g.Size=UDim2.new(1,0,1,0)
  61. g.Active=true
  62. g.AlwaysOnTop=true
  63. g.Adornee=p
  64. t=Instance.new("TextLabel",g)
  65. t.Position=UDim2.new(.5,0,.6,0)
  66. t.Text="Digesting: 0 parts"
  67. t.FontSize="Size24"
  68. t.TextColor3=digestcolor1
  69. tn=Instance.new("TextLabel",g)
  70. tn.Position=UDim2.new(.5,0,0,0)
  71. tn.Text=me
  72. tn.FontSize="Size24"
  73. tn.TextColor3=namecolor
  74. p.Size=size
  75. p.CanCollide=false
  76. p.Position=char.Torso.Position
  77. w=Instance.new("Weld",p)
  78. w.Part0=p
  79. w.Part1=char.Torso
  80. w.C0=w.C0+Vector3.new(0,.4,0)
  81. p.Touched:connect(function(hit)
  82. if hit.Parent:FindFirstChild("Humanoid") or hit.Name=="Food" or hit:IsA("Hat") then
  83. if hit.Name~="Base" and hit~=p and hit.Name~="Torso" and hit.Name~="Head" and not deb then
  84. deb=true
  85. d=d+1
  86. if d~=1 then
  87. t.Text="Digesting: "..d.." parts"
  88. else
  89. t.Text="Digesting: "..d.." part"
  90. end
  91. t.TextColor3=digestcolor2
  92. Spawn(function()
  93. wait(2)
  94. d=d-1
  95. if d~=1 then
  96. t.Text="Digesting: "..d.." parts"
  97. else
  98. t.Text="Digesting: "..d.." part"
  99. end
  100. -- hit:remove()
  101. if d==0 then
  102. t.TextColor3=digestcolor1
  103. end
  104. end)
  105. hit.Anchored=false
  106. hit.CanCollide=false
  107. hit:BreakJoints()
  108. hit.Parent=p
  109. w2=Instance.new("Weld",hit)
  110. w2.Part0=hit
  111. w2.Part1=p
  112. w2.C0=w2.C0*CFrame.Angles(math.random(1,5),math.random(1,5),math.random(1,5))
  113. wait()
  114. deb=false
  115. end
  116. end
  117. end)
  118. --[[
  119. area=4 --2 = full
  120. amount=1000
  121. for i=1,amount do
  122. p=Instance.new("Part",workspace)
  123. p.Name="Food"
  124. p.Anchored=true
  125. p.BrickColor=BrickColor.random()
  126. p.Size=Vector3.new(1,1,1)
  127. p.CFrame=CFrame.new(math.random(-workspace.Base.Size.x/area,workspace.Base.Size.x/area),workspace.Base.Size.y+p.Size.y,math.random(-workspace.Base.Size.z/area,workspace.Base.Size.z/area))
  128. end
  129. ]]
  130. --[[ //Hat Ids
  131. Purple Sparkletime Fedora --63043890
  132. Alchemist's Apprentice (Wizard hat) --62252414
  133. Witch Hat --1165248
  134. Bejeweled Beanie --61903725
  135. Sheriff Wilson (Sheriff hat) --62332732
  136. Shortsighted Shapeshifter (Wizard hat) --62229189
  137. Cute Fox --61773267
  138. Triceratopper --31046422
  139. Gentleman of Leisure --57001119
  140. //Face Ids
  141. Troll face --38353936
  142. Epic face --62700116
  143. Epic face (just face) --62376788
  144. ]]
  145. area=2 --2 = full
  146. amount=1000
  147. for i=1,amount do
  148. p=Instance.new("Part",workspace)
  149. p.Name="Food"
  150. p.Anchored=true
  151. p.BrickColor=BrickColor.random()
  152. p.Size=Vector3.new(1,1,1)
  153. p.Position=Vector3.new(math.random(-workspace.Base.Size.x/area,workspace.Base.Size.x/area),1,math.random(-workspace.Base.Size.z/area,workspace.Base.Size.z/area))
  154. end
Add Comment
Please, Sign In to add comment