Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script made by M8Bat
- local player = game:GetService('Players').LocalPlayer
- local char = player.Character
- local mouse = player:GetMouse()
- local T = false
- local E = false
- function Transform(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Q then
- if T == false then
- T = true
- --bem from above
- -- Transformation Lights
- --Shirt/pant removed
- if char:FindFirstChild('Shirt') then
- char.Shirt:Destroy()
- end
- if char:FindFirstChild('Pants') then
- char.Pants:Destroy()
- end
- --
- --Material
- char:FindFirstChild('Head').Material = 'Neon'
- char:FindFirstChild('Torso').Material = 'Neon'
- char:FindFirstChild('Left Arm').Material = 'Neon'
- char:FindFirstChild('Left Leg').Material = 'Neon'
- char:FindFirstChild('Right Arm').Material = 'Neon'
- char:FindFirstChild('Right Leg').Material = 'Neon'
- --Char custom
- char.Head.Transparency = 1
- char.Head:FindFirstChild('face'):Destroy()
- local d = char:GetChildren()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 30
- char.Humanoid.MaxHealth = math.huge * math.huge
- for i=1, #d do
- if (d[i].className == "Accessory") then
- d[i]:remove()
- end
- end
- --Colours
- local bodyc = char:FindFirstChild('Body Colors')
- bodyc.HeadColor = BrickColor.new('Institutional white')
- bodyc.TorsoColor = BrickColor.new('Institutional white')
- bodyc.LeftArmColor = BrickColor.new('Institutional white')
- bodyc.LeftLegColor = BrickColor.new('Institutional white')
- bodyc.RightArmColor = BrickColor.new('Institutional white')
- bodyc.RightLegColor = BrickColor.new('Institutional white')
- E = true
- end
- end
- --Attack 1 Ray of light
- if inputObject.KeyCode == Enum.KeyCode.E then
- if E == true then
- if mouse.Target~= nil then
- local ray = Ray.new(char.Torso.CFrame.p, (mouse.Hit.p - char.Torso.CFrame.p).unit * 300)
- local part, position = workspace:FindPartOnRay(ray, player.Character, false, true)
- local beam = Instance.new("Part", workspace)
- beam.BrickColor = BrickColor.new("Institutional white")
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = 0
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- beam.Name = 'b9'
- local distance = (char.Torso.CFrame.p - position).magnitude
- beam.Size = Vector3.new(3, 3, distance)
- mouse.Target.Anchored = true
- if mouse.Target.Name ~= 'Base' then
- print(mouse.Target.Name)
- mouse.Target:Destroy()
- end
- local ray = Ray.new(char.Torso.CFrame.p, (mouse.Hit.p - (char.Torso.CFrame.p).unit * 300))
- local distance = (char.Torso.CFrame.p - position).magnitude
- beam.Size = Vector3.new(.3, .3, distance)
- beam.CFrame = CFrame.new(char.Torso.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- wait(.02)
- if game.Workspace:FindFirstChild('b9') then
- game.Workspace.b9:Destroy()
- end
- end
- end
- end
- local combat1 = false
- if inputObject.KeyCode == Enum.KeyCode.R then
- if E == true then
- if mouse.Target.Parent:FindFirstChild('Humanoid')then
- if combat1 == false then
- combat1 = true
- local bem3 = Instance.new('Part')
- local target = mouse.Target.Parent
- bem3.Parent = game.Workspace
- char.Torso.CFrame = CFrame.new(target.Torso.Position.X,target.Torso.Position.Y,target.Torso.Position.Z + 5)
- target.Torso.Anchored =true
- bem3.Size = Vector3.new(7,7,7)
- bem3.Anchored = true
- bem3.CanCollide = false
- bem3.Position= Vector3.new(0,10,0)
- bem3.Material = 'Neon'
- bem3.BrickColor =BrickColor.White()
- bem3.Position= Vector3.new(target.Torso.Position.X,target.Torso.Position.Y,target.Torso.Position.Z)
- for i = 1, 10 do
- bem3.Size = bem3.Size*1.1
- wait(0.01)
- end
- for i = 1, 10 do
- bem3.Size = bem3.Size+ Vector3.new(0.1,0.1,0.1)
- bem3.Transparency = bem3.Transparency + 0.1
- wait(0.02)
- end
- bem3:Destroy()
- target.Torso.CFrame = CFrame.new(40,50,30)
- --Attack 2
- local bem4 = Instance.new('Part')
- bem4.Parent = game.Workspace
- bem4.Size = Vector3.new(7,7,7)
- bem4.Anchored = true
- bem4.CanCollide = false
- bem4.Position= Vector3.new(0,10,0)
- bem4.Material = 'Neon'
- bem4.BrickColor =BrickColor.White()
- bem4.Position= Vector3.new(target.Torso.Position.X,target.Torso.Position.Y,target.Torso.Position.Z)
- for i = 1, 10 do
- bem4.Size = bem4.Size*1.1
- wait(0.01)
- end
- for i = 1, 10 do
- bem4.Size = bem4.Size+ Vector3.new(0.1,0.1,0.1)
- bem4.Transparency = bem4.Transparency + 0.1
- wait(0.02)
- end
- target.Torso.CFrame = CFrame.new(target.Torso.Position.X + 20,target.Torso.Position.Y + 10,target.Torso.Position.Z + 90)
- --Attack 3
- local bem5 = Instance.new('Part')
- bem5.Parent = game.Workspace
- bem5.Size = Vector3.new(7,7,7)
- bem5.Anchored = true
- bem5.CanCollide = false
- bem5.Position= Vector3.new(0,10,0)
- bem5.Material = 'Neon'
- bem5.BrickColor =BrickColor.White()
- bem5.Position= Vector3.new(target.Torso.Position.X,target.Torso.Position.Y,target.Torso.Position.Z)
- for i = 1, 10 do
- bem5.Size = bem5.Size*1.1
- wait(0.01)
- end
- for i = 1, 10 do
- bem5.Size = bem5.Size+ Vector3.new(0.1,0.1,0.1)
- bem5.Transparency = bem5.Transparency + 0.1
- wait(0.02)
- end
- target.Torso.CFrame = CFrame.new(target.Torso.Position.X + 90,target.Torso.Position.Y + 50,target.Torso.Position.Z - 60)
- -- Attack 4
- local bem6 = Instance.new('Part')
- --script made by M8bat
- bem6.Parent = game.Workspace
- bem6.Size = Vector3.new(7,7,7)
- bem6.Anchored = true
- bem6.CanCollide = false
- bem6.Position= Vector3.new(0,10,0)
- bem6.Material = 'Neon'
- bem6.BrickColor =BrickColor.White()
- bem6.Position= Vector3.new(target.Torso.Position.X,target.Torso.Position.Y,target.Torso.Position.Z)
- for i = 1, 10 do
- bem6.Size = bem6.Size*1.1
- wait(0.01)
- end
- for i = 1, 10 do
- bem6.Size = bem6.Size+ Vector3.new(0.1,0.1,0.1)
- bem6.Transparency = bem6.Transparency + 0.1
- wait(0.02)
- end
- target.Torso.CFrame = CFrame.new(target.Torso.Position.X + 90,target.Torso.Position.Y + 50,target.Torso.Position.Z - 60)
- --Attack 5
- local bem7 = Instance.new('Part')
- bem7.Parent = game.Workspace
- bem7.Size = Vector3.new(7,7,7)
- bem7.Anchored = true
- bem7.CanCollide = false
- bem7.Position= Vector3.new(0,10,0)
- bem7.Material = 'Neon'
- bem7.BrickColor =BrickColor.White()
- bem7.Position= Vector3.new(target.Torso.Position.X,target.Torso.Position.Y,target.Torso.Position.Z)
- for i = 1, 10 do
- --script made by M8bat
- bem7.Size = bem7.Size*1.1
- wait(0.01)
- end
- for i = 1, 10 do
- bem7.Size = bem7.Size+ Vector3.new(0.1,0.1,0.1)
- bem7.Transparency = bem7.Transparency + 0.1
- wait(0.02)
- end
- --script made by M8bat
- target.Torso.CFrame = CFrame.new(15,char.Torso.Position.Y + 10,15)
- bem3:Destroy()
- bem4:Destroy()
- bem5:Destroy()
- bem6:Destroy()
- bem7:Destroy()
- -- FINISHER
- local bem8 = Instance.new('Part')
- bem8.Parent = game.Workspace
- --script made by M8bat
- bem8.Size = Vector3.new(7,7,7)
- bem8.Anchored = true
- bem8.CanCollide = false
- bem8.Position= Vector3.new(0,10,0)
- bem8.Material = 'Neon'
- bem8.BrickColor =BrickColor.White()
- bem8.Position= Vector3.new(target.Torso.Position.X,char.Torso.Position.Y,target.Torso.Position.Z)
- for i = 1, 10 do
- --script made by M8bat
- bem8.Size = bem8.Size*1.3
- wait(0.01)
- end
- for i = 1, 10 do
- bem8.Size = bem8.Size+ Vector3.new(0.1,0.1,0.1)
- bem8.Transparency = bem8.Transparency + 0.1
- wait(0.02)
- end
- --script made by M8bat
- target:FindFirstChild('Head'):Destroy()
- target:FindFirstChild('Humanoid').Health = target:FindFirstChild('Humanoid').Health - target:FindFirstChild('Humanoid').Health
- char.Torso.Anchored = false
- target.Torso.Anchored = false
- end
- end
- end
- end
- end
- local e = false
- mouse.Button1Down:connect(function()
- if E==true then
- if e == false then
- e = true
- bem = Instance.new('Part', game.Workspace)
- --script made by M8bat
- 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.Velocity = Vector3.new(0,math.huge,math.huge)
- --script made by M8bat
- 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)
- wait()
- end
- laser = true
- while laser == true do
- bem.CFrame = char.Torso.CFrame * CFrame.new(0,0,-5 - bem.Size.Z/2)
- wait()
- end
- --script made by M8bat
- end
- bem.Touched:connect(function(otherPart)
- otherPart:Destroy()
- end)
- end
- end)
- mouse.Button1Up:connect(function()
- if E==true then
- laser = false
- 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
- laser = false
- bem:Destroy()
- e = false
- end
- end)
- game:GetService("UserInputService").InputBegan:connect(Transform)
Add Comment
Please, Sign In to add comment