Advertisement
metilol

Untitled

Apr 1st, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Hi... Made by Meti2000.
  2. --ຕາຍ. ກະລຸນາ.
  3.  
  4. local s = Instance.new("ScreenGui", game.CoreGui)
  5. local f = Instance.new("Frame", s)
  6. local mselect = Instance.new("TextButton", f)
  7. local mbox = Instance.new("TextBox", f)
  8. local toggle = false
  9. local Player = game.Players.LocalPlayer
  10. local Character = Player.Character
  11.  
  12. f.Size = UDim2.new(0,300,0,350)
  13. f.BorderSizePixel = 0
  14. f.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  15. f.Transparency = 1
  16. f.Position = UDim2.new(0.5,-150,0.5,-125)
  17. f.Active = true
  18. f.Draggable = true
  19.  
  20. MoosixID.Size = UDim2.new(0,250,0,50)
  21. MoosixID.Position = UDim2.new(0,25,0.1,0)
  22. MoosixID.BorderSizePixel = 0
  23. MoosixID.Text = "ID"
  24. MoosixID.Font = "Cartoon"
  25. MoosixID.TextColor3 = Color3.new(255, 255,255)
  26. MoosixID.BackgroundColor3 = Color3.new(0, 0.666, 0)
  27. MoosixID.FontSize = "Size18"
  28. MoosixID.ZIndex = 10
  29.  
  30. mselect.Size = UDim2.new(0,250,0,50)
  31. mselect.Position = UDim2.new(0,25,0.6,0)
  32. mselect.BorderSizePixel = 0
  33. mselect.Text = "Play ID"
  34. mselect.Font = "SourceSansBold"
  35. mselect.TextColor3 = Color3.new(255,255,255)
  36. mselect.BackgroundColor3 = Color3.new(0.999, 0.666, 1)
  37. mselect.FontSize = "Size18"
  38. mselect.ZIndex = 10
  39.  
  40. mselect.MouseButton1Click:connect(function()
  41. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  42. if toggle == false then
  43. loadPart()
  44. toggle = true
  45. elseif toggle == true then
  46. loadPart()
  47. toggle = false
  48. end
  49. end)
  50.  
  51. function loadPart()
  52. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  53. if v.Name == "MoosicBloc" and v.ClassName == "Part" then
  54. v:Remove()
  55. end
  56. end
  57. local Part = Instance.new("Part", game.Players.LocalPlayer.Character)
  58. Part.CanCollide = false
  59. Part.Shape = "Block"
  60. Part.Anchored = false
  61. Part.Locked = true
  62. Part.Name = "MoosicBloc"
  63. Part.Transparency = 0
  64. Part.Material = "Neon"
  65.  
  66. while true do wait()
  67. Part.BrickColor = BrickColor.new(math.random())
  68. local BlocMesh = Instance.new("Sphere", Part)
  69. BlocMesh.Scale = Vector3.new(1,1,1)
  70.  
  71.  
  72. local Sound = Instance.new("Sound", Part)
  73. Sound.SoundId = "https://www.roblox.com/asset/?id="..MoosixID.Text
  74. Sound.EmitterSize = math.huge
  75. Sound.MaxDistance = math.huge
  76. Sound.Looped = true
  77. Sound.Pitch = 1
  78. Sound.Name = "Sound"
  79. Sound.Volume = 10
  80. Sound:Play()
  81.  
  82. Part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position) * CFrame.new(0,3,0)
  83. local bp = Instance.new("BodyPosition", Part)
  84. bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, 3, 0).p
  85. bp.MaxForce = Vector3.new(10000,10000,10000)
  86. bp.P = 100000
  87.  
  88. while true do wait()
  89. bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, 3, 0).p
  90. local alg = math.floor(Sound.PlaybackLoudness)/50
  91. BlocMesh.Scale = Vector3.new(1+alg,1+alg,1+alg)
  92. end
  93. end
  94. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement