Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tool = Instance.new("Tool")
- Tool.Name = "Garf"
- Part = Instance.new("Part")
- Part.Name = "Handle"
- Part.Parent = Tool
- Part.Size = Vector3.new(1,1,0.5)
- Tool.Parent = owner.Character
- Part1 = Instance.new("Part")
- Part1.Parent = Part
- Part1.CFrame = Part.CFrame
- Part1.Size = Vector3.new(5,5,5)
- Part1.Name = "partlol"
- Part1:SetNetworkOwner(owner)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Part1
- Mesh.MeshId = "http://www.roblox.com/asset/?id=4694993964"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=431108910"
- Mesh.Scale = Vector3.new(0.125,0.125,0.125)
- Mesh.Name = "Meshlol"
- Part1.Shape = Enum.PartType.Ball
- Lasagna = Instance.new("Sound", Part1)
- Lasagna.SoundId = "http://www.roblox.com/asset/?id=4788274124"
- Lasagna.Volume = 10
- Lasagna:Play()
- Lasagnaeat = Instance.new("Sound", Part1)
- Lasagnaeat.SoundId = "http://www.roblox.com/asset/?id=650427163"
- Lasagnaeat.Volume = 10
- local attachment0 = Instance.new("Attachment")
- attachment0.Parent = Part1
- local attachment1 = Instance.new("Attachment")
- attachment1.Parent = Part
- alignposition = Instance.new("RopeConstraint")
- alignposition.Parent = Part1
- alignposition.Attachment0 = attachment0
- alignposition.Attachment1 = attachment1
- alignposition.Visible = true
- alignposition.Length = 12
- alignposition.Thickness = 0.1
- alignposition.Restitution = 1
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Really black")
- Part.BottomSurface = Enum.SurfaceType.Smooth
- Part.TopSurface = Enum.SurfaceType.Smooth
- eating = false
- local tab = {}
- Tool.Equipped:Connect(function()
- pcall(function()
- Part1:SetNetworkOwner(game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent))
- Part1.CFrame = Part.CFrame
- tab = {}
- for i,v in pairs(Tool.Parent:GetDescendants()) do
- table.insert(tab,v)
- end
- end)
- end)
- function thinghere(wha)
- if wha.Name ~= "Base" and not table.find(tab,wha) then
- if wha ~= workspace.Terrain then
- wha:Destroy()
- else
- game.Workspace.Terrain:FillBall(Part1.Position + Part1.Velocity * owner:GetNetworkPing(), 15, Enum.Material.Air)
- end
- Lasagnaeat.TimePosition = 2
- wait(0.1)
- Lasagnaeat:Play()
- end
- end
- Lasagnaeat.Name = "funny"
- Part1.Touched:Connect(thinghere)
- NLS([[
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local sizeevent = ReplicatedStorage:WaitForChild("sizeEvent")
- local Tool = owner.Character:WaitForChild("Garf")
- local Part = Tool:WaitForChild("Handle")
- local Part1 = Part:WaitForChild("partlol")
- local Mesh = Part1:WaitForChild("Meshlol")
- local Lasagnaeat = Part1:WaitForChild("funny")
- local MaxLoudness = 125
- while true do
- local Amplitude = math.clamp(Lasagnaeat.PlaybackLoudness / MaxLoudness, 0.125, 0.175)
- Mesh.Scale = Vector3.new(Amplitude, Amplitude, Amplitude)
- sizeevent:FireServer(Mesh.Scale)
- task.wait()
- end
- ]],owner.PlayerGui)
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local sizeevent = Instance.new("RemoteEvent", ReplicatedStorage)
- sizeevent.Name = "sizeEvent"
- local function sizer(player, scale)
- Mesh.Scale = scale
- end
- sizeevent.OnServerEvent:Connect(sizer)
Advertisement
Add Comment
Please, Sign In to add comment