DrakerMaker

Im Very Hungry

May 26th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. local avatar = player.Character
  4.  
  5. local m = Instance.new("Hint")
  6.  
  7. m.Text = "Wait.. Oh no!"
  8.  
  9. wait(5)
  10.  
  11. m.Text = game.Players.LocalPlayer.Name.. ", we had given him or her all the sandwiches!"
  12.  
  13. wait(5)
  14.  
  15. m.Text = "RUN!!!"
  16.  
  17. wait(5)
  18.  
  19. m:Destroy()
  20.  
  21. local sign = Instance.new("BillboardGui")
  22.  
  23. sign.Adornee = avatar.Head
  24.  
  25. sign.Parent = avatar.Head
  26.  
  27. avatar.Humanoid.WalkSpeed = 0
  28.  
  29. avatar.Humanoid.JumpPower= 0
  30.  
  31. sign.StudsOffset=Vector3.new(0.5,2,0)
  32. sign.Size=UDim2.new(3,0,3,0)
  33. text=Instance.new("TextLabel")
  34. text.Text= "Im Very Hungry"
  35. text.TextSize = 30
  36. text.TextStrokeTransparency = 0
  37. text.TextColor3 = Color3.new(255, 255, 255)
  38. text.TextStrokeColor3 = Color3.new(157, 157, 157)
  39. text.Size=UDim2.new(1,0,1,0)
  40. text.Position=UDim2.new(-0.125,0,-0.25,0)
  41. text.BackgroundTransparency = 1
  42. text.Parent=sign
  43.  
  44. local OMI = Instance.new("Sound")
  45.  
  46. OMI.SoundId = "rbxassetid://1575472350"
  47.  
  48. OMI.Volume = 5
  49.  
  50. OMI.Parent = avatar.Head
  51.  
  52. OMI.Looped = true
  53.  
  54. OMI:Play()
  55.  
  56. local OMII = Instance.new("Sound")
  57.  
  58. OMII.SoundId = "rbxassetid://316486782"
  59.  
  60. OMII.Name = "Sound"
  61.  
  62. OMII.Volume = 3
  63.  
  64. OMII.Parent = player
  65.  
  66. OMII.Looped = true
  67.  
  68. OMII:Play()
  69.  
  70.  
  71. while true do
  72. waittime = math.random(0.1,0.5)
  73. wait(waittime)
  74. local sandwich = Instance.new("Part")
  75.  
  76. sandwich.Parent = workspace
  77.  
  78. sandwich.Position = avatar.Head.Position
  79.  
  80. local mesh = Instance.new("SpecialMesh")
  81.  
  82. sandwich.CanCollide = true
  83.  
  84. mesh.MeshType = "FileMesh"
  85.  
  86. mesh.TextureId = "rbxassetid://606289147"
  87.  
  88. mesh.MeshId = "rbxassetid://606289140"
  89.  
  90. mesh.Parent = sandwich
  91.  
  92. mesh.Scale = Vector3.new(0.02, 0.02, 0.02)
  93. end
  94.  
  95. Humanoid = avatar.Humanoid
  96.  
  97. function OnDeath()
  98. player.Sound:Destroy()
  99. end
  100.  
  101. Humanoid.Died:connect(OnDeath)
Advertisement
Add Comment
Please, Sign In to add comment