Advertisement
Upscalefanatic34

UNKNOWN

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