Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Hi... Made by Meti2000.
- --ຕາຍ. ກະລຸນາ.
- local s = Instance.new("ScreenGui", game.CoreGui)
- local f = Instance.new("Frame", s)
- local mselect = Instance.new("TextButton", f)
- local mbox = Instance.new("TextBox", f)
- local toggle = false
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- f.Size = UDim2.new(0,300,0,350)
- f.BorderSizePixel = 0
- f.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
- f.Transparency = 1
- f.Position = UDim2.new(0.5,-150,0.5,-125)
- f.Active = true
- f.Draggable = true
- MoosixID.Size = UDim2.new(0,250,0,50)
- MoosixID.Position = UDim2.new(0,25,0.1,0)
- MoosixID.BorderSizePixel = 0
- MoosixID.Text = "ID"
- MoosixID.Font = "Cartoon"
- MoosixID.TextColor3 = Color3.new(255, 255,255)
- MoosixID.BackgroundColor3 = Color3.new(0, 0.666, 0)
- MoosixID.FontSize = "Size18"
- MoosixID.ZIndex = 10
- mselect.Size = UDim2.new(0,250,0,50)
- mselect.Position = UDim2.new(0,25,0.6,0)
- mselect.BorderSizePixel = 0
- mselect.Text = "Play ID"
- mselect.Font = "SourceSansBold"
- mselect.TextColor3 = Color3.new(255,255,255)
- mselect.BackgroundColor3 = Color3.new(0.999, 0.666, 1)
- mselect.FontSize = "Size18"
- mselect.ZIndex = 10
- mselect.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
- if toggle == false then
- loadPart()
- toggle = true
- elseif toggle == true then
- loadPart()
- toggle = false
- end
- end)
- function loadPart()
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.Name == "MoosicBloc" and v.ClassName == "Part" then
- v:Remove()
- end
- end
- local Part = Instance.new("Part", game.Players.LocalPlayer.Character)
- Part.CanCollide = false
- Part.Shape = "Block"
- Part.Anchored = false
- Part.Locked = true
- Part.Name = "MoosicBloc"
- Part.Transparency = 0
- Part.Material = "Neon"
- while true do wait()
- Part.BrickColor = BrickColor.new(math.random())
- local BlocMesh = Instance.new("Sphere", Part)
- BlocMesh.Scale = Vector3.new(1,1,1)
- local Sound = Instance.new("Sound", Part)
- Sound.SoundId = "https://www.roblox.com/asset/?id="..MoosixID.Text
- Sound.EmitterSize = math.huge
- Sound.MaxDistance = math.huge
- Sound.Looped = true
- Sound.Pitch = 1
- Sound.Name = "Sound"
- Sound.Volume = 10
- Sound:Play()
- Part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position) * CFrame.new(0,3,0)
- local bp = Instance.new("BodyPosition", Part)
- bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, 3, 0).p
- bp.MaxForce = Vector3.new(10000,10000,10000)
- bp.P = 100000
- while true do wait()
- bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, 3, 0).p
- local alg = math.floor(Sound.PlaybackLoudness)/50
- BlocMesh.Scale = Vector3.new(1+alg,1+alg,1+alg)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement