SHOW:
|
|
- or go back to the newest paste.
| 1 | Tool = Instance.new("Tool")
| |
| 2 | Tool.Name = "Garf" | |
| 3 | Part = Instance.new("Part")
| |
| 4 | Part.Name = "Handle" | |
| 5 | - | Part.Size = Vector3.new(1,1,1) |
| 5 | + | |
| 6 | - | Tool.Parent = workspace.Lucas_YT111 |
| 6 | + | Part.Size = Vector3.new(1,1,0.5) |
| 7 | Tool.Parent = owner.Character | |
| 8 | Part1 = Instance.new("Part")
| |
| 9 | - | Part1.Size = Vector3.new(3,3,3) |
| 9 | + | |
| 10 | Part1.CFrame = Part.CFrame | |
| 11 | Part1.Size = Vector3.new(5,5,5) | |
| 12 | Part1.Name = "partlol" | |
| 13 | Part1:SetNetworkOwner(owner) | |
| 14 | Mesh = Instance.new("SpecialMesh")
| |
| 15 | Mesh.Parent = Part1 | |
| 16 | Mesh.MeshId = "http://www.roblox.com/asset/?id=4694993964" | |
| 17 | Mesh.TextureId = "http://www.roblox.com/asset/?id=431108910" | |
| 18 | Mesh.Scale = Vector3.new(0.125,0.125,0.125) | |
| 19 | Mesh.Name = "Meshlol" | |
| 20 | Part1.Shape = Enum.PartType.Ball | |
| 21 | Lasagna = Instance.new("Sound", Part1)
| |
| 22 | - | bf = Instance.new("BodyForce")
|
| 22 | + | Lasagna.SoundId = "http://www.roblox.com/asset/?id=4788274124" |
| 23 | - | bf.Parent = Part1 |
| 23 | + | Lasagna.Volume = 10 |
| 24 | - | bf.Force = Vector3.new(0,game.Workspace.Gravity*1,0)*Part1:GetMass() |
| 24 | + | Lasagna:Play() |
| 25 | Lasagnaeat = Instance.new("Sound", Part1)
| |
| 26 | Lasagnaeat.SoundId = "http://www.roblox.com/asset/?id=650427163" | |
| 27 | Lasagnaeat.Volume = 10 | |
| 28 | local attachment0 = Instance.new("Attachment")
| |
| 29 | attachment0.Parent = Part1 | |
| 30 | - | Part.TopSurface = Enum.SurfaceType.Smooth |
| 30 | + | |
| 31 | attachment1.Parent = Part | |
| 32 | alignposition = Instance.new("RopeConstraint")
| |
| 33 | alignposition.Parent = Part1 | |
| 34 | alignposition.Attachment0 = attachment0 | |
| 35 | alignposition.Attachment1 = attachment1 | |
| 36 | alignposition.Visible = true | |
| 37 | alignposition.Length = 12 | |
| 38 | alignposition.Thickness = 0.1 | |
| 39 | alignposition.Restitution = 1 | |
| 40 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 41 | Part1.BrickColor = BrickColor.new("Really black")
| |
| 42 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 43 | Part1.brickColor = BrickColor.new("Really black")
| |
| 44 | Part.BottomSurface = Enum.SurfaceType.Smooth | |
| 45 | Part.TopSurface = Enum.SurfaceType.Smooth | |
| 46 | eating = false | |
| 47 | local tab = {}
| |
| 48 | Tool.Equipped:Connect(function() | |
| 49 | pcall(function() | |
| 50 | Part1:SetNetworkOwner(game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent))
| |
| 51 | Part1.CFrame = Part.CFrame | |
| 52 | tab = {}
| |
| 53 | for i,v in pairs(Tool.Parent:GetDescendants()) do | |
| 54 | table.insert(tab,v) | |
| 55 | end | |
| 56 | end) | |
| 57 | end) | |
| 58 | function thinghere(wha) | |
| 59 | if wha.Name ~= "Base" and not table.find(tab,wha) then | |
| 60 | if wha ~= workspace.Terrain then | |
| 61 | wha:Destroy() | |
| 62 | else | |
| 63 | game.Workspace.Terrain:FillBall(Part1.Position + Part1.Velocity * owner:GetNetworkPing(), 15, Enum.Material.Air) | |
| 64 | end | |
| 65 | Lasagnaeat.TimePosition = 2 | |
| 66 | wait(0.1) | |
| 67 | Lasagnaeat:Play() | |
| 68 | end | |
| 69 | end | |
| 70 | Lasagnaeat.Name = "funny" | |
| 71 | Part1.Touched:Connect(thinghere) | |
| 72 | ||
| 73 | NLS([[ | |
| 74 | local ReplicatedStorage = game:GetService("ReplicatedStorage")
| |
| 75 | local sizeevent = ReplicatedStorage:WaitForChild("sizeEvent")
| |
| 76 | local Tool = owner.Character:WaitForChild("Garf")
| |
| 77 | local Part = Tool:WaitForChild("Handle")
| |
| 78 | local Part1 = Part:WaitForChild("partlol")
| |
| 79 | local Mesh = Part1:WaitForChild("Meshlol")
| |
| 80 | local Lasagnaeat = Part1:WaitForChild("funny")
| |
| 81 | local MaxLoudness = 125 | |
| 82 | while true do | |
| 83 | local Amplitude = math.clamp(Lasagnaeat.PlaybackLoudness / MaxLoudness, 0.125, 0.175) | |
| 84 | Mesh.Scale = Vector3.new(Amplitude, Amplitude, Amplitude) | |
| 85 | sizeevent:FireServer(Mesh.Scale) | |
| 86 | task.wait() | |
| 87 | end | |
| 88 | ]],owner.PlayerGui) | |
| 89 | local ReplicatedStorage = game:GetService("ReplicatedStorage")
| |
| 90 | local sizeevent = Instance.new("RemoteEvent", ReplicatedStorage)
| |
| 91 | sizeevent.Name = "sizeEvent" | |
| 92 | ||
| 93 | local function sizer(player, scale) | |
| 94 | Mesh.Scale = scale | |
| 95 | end | |
| 96 | ||
| 97 | sizeevent.OnServerEvent:Connect(sizer) |