Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('https://pastebin.com/CAuR8uNJ')
- local function makebh()
- local part = Instance.new("Part",workspace)
- part.Name = '∞'
- part.Shape = Enum.PartType.Ball
- part.Transparency = 0
- part.Size = Vector3.new(2,2,2)
- part.Position = Vector3.new(0,5,0)
- local sm1 = Instance.new("SpecialMesh",part)
- sm1.Scale = Vector3.new(1,1,1)
- sm1.MeshId = 'rbxassetid://1047997'
- sm1.TextureId = 'rbxassetid://1047998'
- if workspace:FindFirstChild'p1'then
- workspace:FindFirstChild'p1':Destroy()
- elseif workspace:FindFirstChild'p2'then
- workspace:FindFirstChild'p2':Destroy()
- elseif workspace:FindFirstChild'p3'then
- workspace:FindFirstChild'p3':Destroy()
- elseif workspace:FindFirstChild'p4'then
- workspace:FindFirstChild'p4':Destroy()
- end
- wait(.1)
- local p1 = Instance.new("Part",workspace)
- p1.Name = 'p1'
- p1.Transparency = 0
- p1.Position = Vector3.new(40,.5,0)
- p1.Size = Vector3.new(1,1,80)
- p1.Anchored = true
- p1.BrickColor = workspace:FindFirstChild'Base'.BrickColor
- p1.Material = Enum.Material.Grass
- local p2 = Instance.new("Part",workspace)
- p2.Name = 'p2'
- p2.Transparency = 0
- p2.Position = Vector3.new(-40,.5,0)
- p2.Size = Vector3.new(1,1,80)
- p2.Anchored = true
- p2.BrickColor = workspace:FindFirstChild'Base'.BrickColor
- p2.Material = Enum.Material.Grass
- local p3 = Instance.new("Part",workspace)
- p3.Name = 'p3'
- p3.Transparency = 0
- p3.Position = Vector3.new(0,.5,40)
- p3.Size = Vector3.new(80,1,1)
- p3.Anchored = true
- p3.BrickColor = workspace:FindFirstChild'Base'.BrickColor
- p3.Material = Enum.Material.Grass
- local p4 = Instance.new("Part",workspace)
- p4.Name = 'p4'
- p4.Transparency = 0
- p4.Position = Vector3.new(0,.5,-40)
- p4.Size = Vector3.new(80,1,1)
- p4.Anchored = true
- p4.BrickColor = workspace:FindFirstChild'Base'.BrickColor
- p4.Material = Enum.Material.Grass
- local pdeb = true
- part.Touched:Connect(function(h)
- local hpar = h.Parent
- if hpar~=nil then
- local hhum = hpar:FindFirstChildWhichIsA('Humanoid',true)
- if game:GetService("Players"):GetPlayerFromCharacter(hpar)and
- hhum~=nil then
- if hhum.Health>0 and pdeb==true then
- pdeb = false
- sm1.Scale = Vector3.new(1,.8,1)
- local sound = Instance.new("Sound",part)
- sound.Volume = 8
- sound.SoundId = 'rbxassetid://320412149'
- sound:Play()
- wait(.8)
- sm1.Scale = Vector3.new(1,1,1)
- if part:FindFirstChildWhichIsA('Sound')~=nil then
- part:FindFirstChildWhichIsA('Sound'):Destroy()
- end
- pdeb = true
- end
- end
- end
- end)
- part.Position = owner.Character:FindFirstChild'Head'.Position
- end
- makebh()
- workspace.ChildRemoved:Connect(function(c)
- if c.Name=='∞'and workspace:FindFirstChild('∞')==nil then
- makebh()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement