lotushomerun

Nom Nom Script(Roblox)

May 17th, 2017
4,177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.01 KB | None | 0 0
  1. --Revised version of the NomNom scipt! You dont need to put your name on it. Make sure its ran as a local script ^-^
  2.  versionID = "Revival"
  3.  
  4. local h = Instance.new("Hint", Workspace)
  5.  
  6.  h.Text = "NomNomCooking "..versionID.." has loaded."
  7.  
  8.  wait(2)
  9.  
  10.  h:Remove()
  11.  
  12. local nomplyr = game.Players.LocalPlayer
  13.  
  14.  local nomchar = nomplyr.Character
  15.     local nomcharheadcolor = nomchar.Head.BrickColor.Name
  16.     local nomcharface = nomchar.Head.face.Texture
  17.  
  18.  local BillboardGui = Instance.new("BillboardGui")
  19.  
  20.  BillboardGui.Parent = nomchar
  21.  
  22.  BillboardGui.Adornee = BillboardGui.Parent:FindFirstChild("Head")
  23.  
  24.  BillboardGui.Size = UDim2.new(1, 0, 1, 0)
  25.  
  26.  BillboardGui.StudsOffset = Vector3.new(0, 3, 0)
  27.  
  28.  local TextLabel = Instance.new("TextLabel")
  29.  
  30.  TextLabel.Parent = BillboardGui
  31.  
  32.  TextLabel.Position = UDim2.new(-2, 0, 0, 0)
  33.  
  34.  TextLabel.Size = UDim2.new(5, 0, 1, 0)
  35.  
  36.  TextLabel.TextScaled = true
  37.  
  38.  TextLabel.Font = "Cartoon"
  39.  
  40.  TextLabel.TextColor3 = nomchar.Head.Color
  41.  
  42.  TextLabel.BackgroundTransparency = 1
  43.  
  44.  TextLabel.Text = "Be"
  45.  
  46.  local sound = Instance.new("Sound")
  47.  
  48.  sound.Parent = nomchar
  49.  
  50.  sound.SoundId = "http://www.roblox.com/asset/?id=179303694"
  51.  
  52.  sound.Pitch = 1
  53.  
  54.  sound.Volume = 2
  55.  
  56.  sound.Name = "Noms"
  57.  
  58.  nomchar.Humanoid.WalkSpeed = 100
  59.  
  60.  local flame = Instance.new("Fire")
  61.  
  62.  flame.Color = Color3.new(22,1,22)
  63.  
  64.  flame.Enabled = false
  65.  
  66. flame.Parent = nomchar.Torso
  67.  
  68.  local base = Instance.new("Part")
  69.  
  70.  local badflame = Instance.new("Fire")
  71.  
  72.  badflame.Color = Color3.new(255,0,0)
  73.  
  74.  badflame.Enabled = false
  75.  
  76. badflame.Parent = nomchar.Torso
  77.  
  78.  badflame.Size = 13
  79.  
  80.  local SuitHead = Instance.new("Part")
  81.  
  82.  SuitHead.Parent = nomchar
  83.  
  84.  SuitHead.Name = "NNCHead"
  85.  
  86.  SuitHead.BrickColor = BrickColor.new("Really black")
  87.  
  88.  SuitHead.CFrame = nomchar.Head.CFrame
  89.  
  90.  
  91.  
  92.  nomchar.Head.Transparency = 0
  93.  
  94. function onTouched(part)
  95.  
  96.  if part.Name ~= "Base" or part.Name ~= "Baseplate" then
  97.    
  98. partdirectory = "Placeholder"
  99.  
  100. if part.Parent ~= workspace then
  101.     partdirectory = part.Parent
  102. else
  103.     partdirectory = part
  104. end
  105.  
  106.  part:Destroy()
  107.  
  108.  sound:Play()
  109.  
  110.  flame.Enabled = true
  111.  
  112.  local Speak = math.random(1, 42)
  113.  
  114.  if Speak == 1 then
  115.  
  116.  TextLabel.Text = " "..partdirectory.Name.." was very tasty! >:3"
  117.  
  118.  elseif Speak == 2 then
  119.  
  120.  TextLabel.Text = "FEEL MY TUNGSTEN WRATH! >:0"
  121.  
  122.  elseif Speak == 3 then
  123.  
  124.  TextLabel.Text = "*Belch*"
  125.  
  126.  elseif Speak == 4 then
  127.  
  128.  TextLabel.Text = "Buahahah! I eat your soul! >:3"
  129.  
  130.  elseif Speak == 5 then
  131.  
  132.  TextLabel.Text = "Nom nom nom~! :3"
  133.  
  134.  elseif Speak == 6 then
  135.  
  136.  TextLabel.Text = " "..partdirectory.Name.." was delicious! :0"
  137.  
  138.  elseif Speak == 7 then
  139.  
  140.  TextLabel.Text = "AHH! HOT HOT HOT! SPICY! D:"
  141.  
  142.  badflame.Enabled = true
  143.  
  144.  nomchar.Humanoid:TakeDamage(49.5069376)
  145.  
  146.  wait(5)
  147.  
  148.  badflame.Enabled = false
  149.  
  150.  elseif Speak == 8 then
  151.  
  152.  TextLabel.Text = "I own "..partdirectory.Name.."'s soul. ALL OF IT~!"
  153.  
  154.  elseif Speak == 9 then
  155.  
  156.  TextLabel.Text = "Blegh! D:"
  157.  
  158.  elseif Speak == 10 then
  159.  
  160.  TextLabel.Text = "Tasty tasty~!"
  161.  
  162.  elseif Speak == 11 then
  163.  
  164.  TextLabel.Text = "Hnnng... Indigestion! D8"
  165.  
  166.  nomchar.Humanoid:TakeDamage(10)
  167.  
  168.  wait(0.5)
  169.  
  170.  nomchar.Humanoid:TakeDamage(10)
  171.  
  172.  wait(0.5)
  173.  
  174.  nomchar.Humanoid:TakeDamage(10)
  175.  
  176.  elseif Speak == 12 then
  177.  
  178.  TextLabel.Text = "Muahaha! >:3"
  179.  
  180.  elseif Speak == 13 then
  181.  
  182.  TextLabel.Text = "All your soul is belong to me!"
  183.  
  184.  elseif Speak == 14 then
  185.  
  186.  TextLabel.Text = "Sour! :c"
  187.  
  188.  elseif Speak == 15 then
  189.  
  190.  TextLabel.Text = "Tastes like chicken."
  191.  
  192.  elseif Speak == 16 then
  193.  
  194.  TextLabel.Text = "Pie!"
  195.  
  196.  elseif Speak == 17 then
  197.  
  198.  TextLabel.Text = "This would go great with a sprig of mint! "
  199.  
  200.  elseif Speak == 18 then
  201.  
  202.  TextLabel.Text = "Needs salt."
  203.  
  204.  elseif Speak == 19 then
  205.  
  206.  TextLabel.Text = "Blech. Disgusting! >:("
  207.  
  208.  elseif Speak == 20 then
  209.  
  210.  TextLabel.Text = "Your soul. It is mine. c:"
  211.  
  212.  elseif Speak == 21 then
  213.  
  214.  TextLabel.Text = "Glomp! :3"
  215.  
  216.  elseif Speak == 22 then
  217.  
  218.  TextLabel.Text = "Wait...why am I eating "..part.Material.Name.."? >:U"
  219.  
  220.  elseif Speak == 23 then
  221.  
  222.  TextLabel.Text = "Yummy yummy in mah tummy! :3"
  223.  
  224. elseif Speak == 24 then
  225.  
  226. TextLabel.Text = "Oh no... I think I'm not feeling so good...."
  227.  
  228. local pukeammount = math.random(10,25)
  229.  
  230. nomchar.Humanoid.WalkSpeed = 0
  231.  
  232. nomchar.Head.BrickColor = BrickColor.new("Earth green")
  233.  
  234. nomchar.Head.face.Texture = "http://www.roblox.com/asset/?id=7079909"
  235.  
  236. for p=1, pukeammount, 1 do
  237.     wait(.15)
  238.     print(p.."/"..pukeammount.." puked")
  239.     local part = Instance.new("Part", workspace)
  240.     part.CFrame = nomchar.Head.CFrame * CFrame.new(0,0,-1)
  241.     part.BrickColor = BrickColor.new("Earth green")
  242.     part.Size = Vector3.new(0.2, 0.2, 0.2)
  243.     game:GetService("Debris"):AddItem(part, 5)
  244. end
  245.  
  246. wait(5)
  247.  
  248. nomchar.Head.BrickColor = BrickColor.new(nomcharheadcolor)
  249.  
  250. nomchar.Humanoid.WalkSpeed = 100
  251.  
  252. nomchar.Head.face.Texture = nomcharface
  253.  
  254.  
  255.  elseif Speak == 25 then
  256.  
  257.  TextLabel.Text = "Munchy munch munch!"
  258.  
  259.  elseif Speak == 26 then
  260.  
  261.  TextLabel.Text = "Ooh...I need a side of fries.."
  262.  
  263.  elseif Speak == 27 then
  264.  
  265.  TextLabel.Text = "This would go great in a lasagna!..."
  266.  
  267.  elseif Speak == 28 then
  268.  
  269.  TextLabel.Text = "I regret nothing! D:<"
  270.  
  271.  elseif Speak == 29 then
  272.  
  273.  TextLabel.Text = "I am "..nomplyr.Name..", destroyer of "..partdirectory.Name.."s!"
  274.  
  275.  elseif Speak == 30 then
  276.  
  277.  TextLabel.Text = "Food glorious food~!..."
  278.  
  279.  elseif Speak == 31 then
  280.  
  281.  TextLabel.Text = "RAWR!"
  282.  
  283.  elseif Speak == 32 then
  284.  
  285.  TextLabel.Text = "Ich essen "..partdirectory.Name.."! "..partdirectory.Name.." ist sehr gut!"
  286.  
  287.  elseif Speak == 33 then
  288.  
  289.  TextLabel.Text = "Eat ALL the "..partdirectory.Name.."s~!"
  290.  
  291.  elseif Speak == 34 then
  292.  
  293.  TextLabel.Text = "Honf snarf homm..."
  294.  
  295.  elseif Speak == 35 then
  296.  
  297.  TextLabel.Text = "C'est delicieux!"
  298.  
  299.  elseif Speak == 36 then
  300.  
  301.  TextLabel.Text = "UMG H4X!11!11!1!!!!111!"
  302.  
  303.  elseif Speak == 37 then
  304.  
  305.  TextLabel.Text = " "..nomplyr.Name.." is not responsible for any damages upon "..partdirectory.Name.."."
  306.  
  307.  elseif Speak == 38 then
  308.  
  309.  TextLabel.Text = "Ja! Ich mag "..partdirectory.Name.."!"
  310.  
  311.  elseif Speak == 39 then
  312.  
  313.  TextLabel.Text = "If only my cat were here to taste this marvelous "..part.Name.." "
  314.  
  315.  elseif Speak == 40 then
  316.  
  317.  TextLabel.Text = "Noooooommm~! :3"
  318.  
  319.  elseif Speak == 41 then
  320.  
  321.  TextLabel.Text = "Wheres my high fructose corn syrup?"
  322.  
  323.  
  324.  elseif Speak == 42 then
  325.  
  326. TextLabel.Text = "Oh no. My stomach is going to blow up..."
  327. nomchar.Head.BrickColor = BrickColor.new("Bright red")
  328. nomchar.Humanoid.WalkSpeed = 0
  329.  
  330. wait(3)
  331.  
  332. local explode = Instance.new("Explosion")
  333. explode.Parent = nomchar.Torso
  334. explode.Position = nomchar.Torso.Position
  335.  
  336.  end
  337.  
  338.  nomchar.Humanoid.Health = nomchar.Humanoid.Health + 10
  339.  
  340.  nomchar.Humanoid.MaxHealth = nomchar.Humanoid.MaxHealth + 5
  341.  
  342.  wait(2)
  343.  
  344.  TextLabel.Text = ""
  345.  
  346.  flame.Enabled = false
  347.  
  348.  end
  349.  
  350.  end
  351.  
  352. nomchar.Torso.Touched:connect(onTouched)
Add Comment
Please, Sign In to add comment