Advertisement
ManlyMemeScripter

Happy burger model

Feb 22nd, 2018
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. --{{Made by Strazos}}--
  2.  
  3. local p = game.Players.LocalPlayer
  4. local char = p.Character
  5. local larm = char["Left Arm"]
  6. local rarm = char["Right Arm"]
  7. local lleg = char["Left Leg"]
  8. local rleg = char["Right Leg"]
  9. local hed = char.Head
  10. local torso = char.Torso
  11. local hum = char.Humanoid
  12. local weld = Instance.new("Weld",torso)
  13. weld.Part0 = torso
  14.  
  15. larm.Transparency = 0
  16. rarm.Transparency = 0
  17. lleg.Transparency = 1
  18. rleg.Transparency = 1
  19. hed.Transparency = 1
  20. torso.Transparency = 1
  21.  
  22.  
  23. local train = Instance.new("Part",torso)
  24. train.Anchored = true
  25. train.CanCollide = false
  26. train.Size = Vector3.new(5,5,5)
  27. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  28. weld.Part1 = train
  29. weld.C1 = CFrame.new(0,-0.01,0) * CFrame.Angles(0,math.rad(0),0)
  30. train.Anchored = false
  31. local TrainMesh = Instance.new("SpecialMesh",train)
  32. TrainMesh.MeshType = Enum.MeshType.FileMesh
  33. TrainMesh.Scale = Vector3.new(3.3, 3.3, 3.3)
  34. TrainMesh.MeshId = "rbxassetid://515810056"
  35. TrainMesh.TextureId = "rbxassetid://515810058"
  36.  
  37. hum.WalkSpeed = 130;
  38.  
  39.  
  40. for i,v in pairs(char:GetChildren()) do
  41. if v:IsA("Part") then
  42. v.Transparency = 1;
  43. elseif v:IsA("Hat") then
  44. v:Destroy()
  45. elseif v:IsA("Model") then
  46. v:Destroy()
  47. end
  48. end
  49.  
  50.  
  51. local function SFX(id) local s=Instance.new("Sound",torso); s.SoundId = "rbxassetid://"..id; s.Volume = 58439; return s; end
  52. train.Touched:connect(function(p)
  53. if p.Parent then
  54. if p.Parent:IsA("Model") then
  55. if game.Players:FindFirstChild(p.Parent.Name) then
  56. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  57. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  58. local Whistle = SFX(159504677)
  59. Whistle:Play()
  60. end
  61. end
  62. end
  63. end
  64. end)
  65.  
  66. local Music = SFX(0)
  67. Music.Looped = true;
  68. wait(1)
  69. Music:Play();
  70.  
  71. local particleemitter = Instance.new("ParticleEmitter", torso)
  72. particleemitter.Texture = "http://www.roblox.com/asset/?id=0"
  73. particleemitter.VelocitySpread = 180
  74. particleemitter.Lifetime = NumberRange.new(5)
  75. particleemitter.Speed = NumberRange.new(6)
  76. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5)})
  77. particleemitter.RotSpeed = NumberRange.new(-55, 55)
  78. particleemitter.Rate = 150
  79. particleemitter.Rotation = NumberRange.new(-55, 55)
  80. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.7, 0.9), NumberSequenceKeypoint.new(1, 1)})
  81. particleemitter.LightEmission = 0
  82. particleemitter.Color = ColorSequence.new(Color3.new(255,255,255), Color3.new(255,255,255)) --Color here
  83.  
  84. -- Objects
  85.  
  86. local ScreenGui = Instance.new("ScreenGui")
  87. local TextButton = Instance.new("TextButton")
  88.  
  89. -- Properties
  90.  
  91. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  92.  
  93. TextButton.Parent = ScreenGui
  94. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  95. TextButton.Size = UDim2.new(0, 200, 0, 50)
  96. TextButton.Font = Enum.Font.SourceSans
  97. TextButton.FontSize = Enum.FontSize.Size14
  98. TextButton.Text = "shrek roar"
  99. TextButton.TextSize = 14
  100.  
  101. --[[Function/s being made!]]
  102. function PlayMusic(ID)
  103. for i, v in pairs (game.Workspace:GetChildren()) do
  104. if v:IsA("Sound") then
  105. end
  106. end
  107. local music = Instance.new("Sound")
  108. local asset = "rbxassetid://"
  109. music.SoundId = asset .. ID
  110. music.Parent = workspace
  111. music.Volume = 5469
  112. music.Looped = false
  113. music:Play()
  114. end
  115. --[[Connecting functions!]]
  116. TextButton.MouseButton1Down:connect(function()
  117. PlayMusic(1131015006)
  118. end)
  119.  
  120. -- Objects
  121.  
  122. local ScreenGui = Instance.new("ScreenGui")
  123. local TextButton = Instance.new("TextButton")
  124.  
  125. -- Properties
  126.  
  127. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  128.  
  129. TextButton.Parent = ScreenGui
  130. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  131. TextButton.Size = UDim2.new(0, 160, 0, 50)
  132. TextButton.Font = Enum.Font.SourceSans
  133. TextButton.FontSize = Enum.FontSize.Size14
  134. TextButton.Text = "have a bowl,faggot"
  135. TextButton.TextSize = 14
  136.  
  137. --[[Function/s being made!]]
  138. function PlayMusic(ID)
  139. for i, v in pairs (game.Workspace:GetChildren()) do
  140. if v:IsA("Sound") then
  141. end
  142. end
  143. local music = Instance.new("Sound")
  144. local asset = "rbxassetid://"
  145. music.SoundId = asset .. ID
  146. music.Parent = workspace
  147. music.Volume = 1
  148. music.Looped = false
  149. music:Play()
  150. end
  151. --[[Connecting functions!]]
  152. TextButton.MouseButton1Down:connect(function()
  153. PlayMusic(238770234)
  154. end)
  155.  
  156. --This is a localscript; you will need to have access to using scripts wherever you want this
  157. p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement