Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:GetService('Players').LocalPlayer
- local char = player.Character
- local mouse= player:GetMouse()
- local e = false
- mouse.Button1Down:connect(function()
- if e == false then
- e = true
- bem = Instance.new('Part', game.Workspace)
- bem.Name = 'bem'
- bem.Anchored = true
- bem.CanCollide = false
- bem.Material = 'Neon'
- bem.BottomSurface = 'Smooth'
- bem.TopSurface = 'Smooth'
- bem.Size = Vector3.new(1,1,1)
- bem.CFrame = char.Torso.CFrame * CFrame.new(0,0,-5)
- bem.Touched:connect(function(otherPart)
- otherPart:Destroy()
- end)
- for i =1,10 do
- bem.Size = bem.Size + Vector3.new(1,1,4)
- bem.CFrame = char.Torso.CFrame * CFrame.new(0,0,-5 - bem.Size.Z/2)
- bem.Touched:connect(function(otherPart)
- otherPart:Destroy()
- end)
- wait()
- end
- for i = 1,100 do
- bem.Size = bem.Size + Vector3.new(0,0,4)
- bem.CFrame = char.Torso.CFrame * CFrame.new(0,0,-5 - bem.Size.Z/2)
- bem.Touched:connect(function(otherPart)
- otherPart:Destroy()
- end)
- --ScriptMadeBy M8Bat
- wait()
- end
- end
- bem.Touched:connect(function(otherPart)
- otherPart:Destroy()
- end)
- end)
- mouse.Button1Up:connect(function()
- for i = 1,10 do
- bem.Size = bem.Size - Vector3.new(bem.Size.X/10,bem.Size.Y/10,0)
- bem.Transparency = bem.Transparency + 0.1
- bem.Touched:connect(function(otherPart)
- otherPart:Destroy()
- end)
- wait()
- end
- bem:Destroy()
- e = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement