Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local stance = "idle"
- local root = char.HumanoidRootPart
- local tool = script.Parent
- local canatk = true
- LS = torso["Left Shoulder"]
- LH = torso["Left Hip"]
- RS = torso["Right Shoulder"]
- RH = torso["Right Hip"]
- Neck = torso.Neck
- RootPart = char.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- qcooldown = 0
- canq = true
- beenhit = false
- function ballhands1()
- local hpr = Instance.new("Part", char)
- hpr.Anchored = false
- hpr.Size = Vector3.new(1,1,1)
- hpr.CanCollide = false
- hpr.Material = "Neon"
- hpr.BrickColor = BrickColor.new("Cyan")
- hpr.Shape = "Ball"
- local hpl = hpr:Clone()
- hpl.Parent = char
- local hprweld = Instance.new("Weld",char["Right Arm"])
- hprweld.Part0 = char["Right Arm"]
- hprweld.Part1 = hpr
- hprweld.C0 = CFrame.new(0, -1, 0)
- local hplweld = Instance.new("Weld",char["Left Arm"])
- hplweld.Part0 = char["Left Arm"]
- hplweld.Part1 = hpl
- hplweld.C0 = CFrame.new(0, -1, 0)
- spawn(function()
- while true do
- wait()
- local fx1 = hpr:Clone()
- fx1.Parent = char
- fx1.Anchored = true
- local fx2 = hpl:Clone()
- fx2.Parent = char
- fx2.Anchored = true
- for i = 0,5,.1 do
- fx1.Size = fx1.Size+Vector3.new(.1,.1,.1)
- fx2.Size = fx2.Size+Vector3.new(.1,.1,.1)
- fx1.Transparency = i
- fx2.Transparency = i
- fx1.CFrame = hpr.CFrame
- fx2.CFrame = hpl.CFrame
- wait()
- end
- fx1:Destroy()
- end
- end)
- end
- function ballhands2()
- local hpr = Instance.new("Part", char)
- hpr.Anchored = false
- hpr.Size = Vector3.new(2,2,2)
- hpr.CanCollide = false
- hpr.Material = "SmoothPlastic"
- hpr.BrickColor = BrickColor.new("Cyan")
- hpr.Shape = "Ball"
- hpr.Transparency = .8
- local hpl = hpr:Clone()
- hpl.Parent = char
- local hprweld = Instance.new("Weld",char["Right Arm"])
- hprweld.Part0 = char["Right Arm"]
- hprweld.Part1 = hpr
- hprweld.C0 = CFrame.new(0, -1, 0)
- local hplweld = Instance.new("Weld",char["Left Arm"])
- hplweld.Part0 = char["Left Arm"]
- hplweld.Part1 = hpl
- hplweld.C0 = CFrame.new(0, -1, 0)
- end
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- ballhands1()
- ballhands2()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "m" then
- game.Players.LocalPlayer.Character.Animate:Destroy()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if canatk == true then
- if canq == true then
- canatk = false
- hum.WalkSpeed = 0
- qcooldown = 10
- local punhold = Instance.new("Part", workspace)
- punhold.Anchored = true
- punhold.CanCollide = false
- punhold.CFrame = torso.CFrame
- punhold.Transparency = 1
- local sphere = Instance.new("Part", workspace)
- sphere.CFrame = torso.CFrame
- sphere.CFrame = torso.CFrame:lerp(sphere.CFrame*CFrame.new(0,0,-4),1)
- sphere.Anchored = true
- sphere.CanCollide = false
- sphere.Transparency = 0.8
- sphere.Size = Vector3.new(4,4,4)
- sphere.Shape = "Ball"
- sphere.TopSurface = Enum.SurfaceType.Smooth
- sphere.BottomSurface = Enum.SurfaceType.Smooth
- sphere.BrickColor = BrickColor.new("Cyan")
- local smals = sphere:Clone()
- smals.Parent = workspace
- smals.Transparency = 0
- smals.Material = "Neon"
- smals.Size = Vector3.new(2,2,2)
- smals.BrickColor = BrickColor.new("Cyan")
- local rngholdr = sphere:Clone()
- rngholdr.Parent = workspace
- rngholdr.CFrame = rngholdr.CFrame
- local rngholdr2 = sphere:Clone()
- rngholdr2.Parent = workspace
- local holder = smals:Clone()
- holder.Parent = workspace
- holder.Transparency = 1
- holder.Size = Vector3.new(.2,.2,.2)
- rngholdr2.CFrame = rngholdr2.CFrame
- rngholdr2.CFrame = rngholdr2.CFrame:lerp(rngholdr2.CFrame*CFrame.fromEulerAnglesXYZ(0,0,1),1)
- local rng = Instance.new("SpecialMesh", rngholdr)
- rng.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rng.Scale = Vector3.new(4,4,4)
- local rng1 = rng:Clone()
- rng1.Parent = rngholdr2
- local groundprt = Instance.new("Part", sphere)
- groundprt.Anchored = true
- groundprt.CanCollide = false
- groundprt.BrickColor = BrickColor.new("Cyan")
- groundprt.Transparency = 0.5
- groundprt.CFrame = sphere.CFrame
- groundprt.CFrame = groundprt.CFrame:lerp(groundprt.CFrame*CFrame.new(0,-2,0),1)
- local grnd2 = groundprt:Clone()
- grnd2.Parent = workspace
- local crown2 = Instance.new("SpecialMesh", grnd2)
- crown2.MeshId = "http://www.roblox.com/asset/?id=20329976"
- crown2.Scale = Vector3.new(8,0.5,8)
- local crown = Instance.new("SpecialMesh", groundprt)
- crown.MeshId = "http://www.roblox.com/asset/?id=20329976"
- crown.Scale = Vector3.new(4,2,4)
- local hbox = Instance.new("Part", workspace)
- hbox.Size=Vector3.new(12,12,.2)
- hbox.Anchored = true
- hbox.CanCollide = false
- hbox.CFrame = sphere.CFrame
- hbox.CFrame = hbox.CFrame:lerp(hbox.CFrame*CFrame.new(0,0,-6),1)
- hbox.Transparency = 1
- hbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- if hit.Parent.Name ~= p.Name then
- canatk = false
- qcooldown = 20
- beenhit = true
- smals:Destroy()
- sphere:Destroy()
- rngholdr:Destroy()
- rngholdr2:Destroy()
- grnd2:Destroy()
- grnd3:Destroy()
- hbox:Destroy()
- local newt = hit.Parent.Torso
- local ex1 = Instance.new("Part", newt)
- ex1.Anchored = true
- ex1.BrickColor = BrickColor.new("Cyan")
- ex1.Material = "Neon"
- ex1.Transparency = .5
- ex1.CanCollide = false
- ex1.CFrame = newt.CFrame
- ex1.Size = Vector3.new(3,3,3)
- ex1.TopSurface = Enum.SurfaceType.Smooth
- ex1.BottomSurface = Enum.SurfaceType.Smooth
- local mh1 = ex1:Clone()
- mh1.Parent = newt
- mh1.CFrame = mh1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
- local mh2 = ex1:Clone()
- mh2.Parent = newt
- mh2.CFrame = mh2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
- local m1 = Instance.new("SpecialMesh",mh1)
- m1.MeshId = "http://www.roblox.com/asset/?id=3270017"
- m1.Scale = Vector3.new(4,4,4)
- local m2 = m1:Clone()
- m2.Parent = mh2
- local ex2 = ex1:Clone()
- ex2.Parent = newt
- ex2.CFrame=ex2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
- ex1.CFrame=ex1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
- for i = 0,10,.5 do
- ex1.Size = ex1.Size+Vector3.new(.5,.5,.5)
- ex2.Size = ex2.Size+Vector3.new(.5,.5,.5)
- ex1.CFrame = newt.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
- ex2.CFrame = newt.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
- m1.Scale = m1.Scale+Vector3.new(1,1,1)
- m2.Scale = m2.Scale+Vector3.new(1,1,1)
- wait()
- end
- wait()
- ex1:Destroy()
- ex2:Destroy()
- mh1:Destroy()
- mh2:Destroy()
- local hoom = hit.Parent:FindFirstChild("Humanoid")
- hoom.Health= hoom.Health-60
- wait(qcooldown)
- canq = true
- canatk = true
- beenhit = false
- end
- end
- end)
- spawn(function()
- RH.C0=RH.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(20))
- LH.C0=LH.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- RS.C0=RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90))
- LS.C0=LS.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90))
- Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- RootJoint.C0=RootJoint.C0*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(20),math.rad(0),math.rad(0))
- wait(1)
- RH.C0=RH.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-20))
- LH.C0=LH.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- RS.C0=RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-90))
- LS.C0=LS.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-90))
- Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- RootJoint.C0=RootJoint.C0*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-20),math.rad(0),math.rad(0))
- hum.WalkSpeed = 16
- end)
- for i = 1, 10 do
- groundprt.CFrame = groundprt.CFrame * CFrame.Angles(0,-math.rad(15 + i),0)
- grnd2.CFrame = grnd2.CFrame * CFrame.Angles(0,-math.rad(15 + i),0)
- rngholdr.CFrame = rngholdr.CFrame:lerp(rngholdr.CFrame*CFrame.fromEulerAnglesXYZ(-.1,0,0),1)
- rngholdr2.CFrame = rngholdr2.CFrame:lerp(rngholdr2.CFrame*CFrame.fromEulerAnglesXYZ(.1,0,0),1)
- wait()
- end
- spawn(function()
- for i =1,10,.5 do
- sphere.Size = sphere.Size+Vector3.new(.2,.2,.2)
- smals.Size = smals.Size+Vector3.new(.05,.05,.05)
- rng.Scale = rng.Scale+Vector3.new(.2,.2,.2)
- rng1.Scale = rng1.Scale+Vector3.new(.2,.2,.2)
- wait()
- end
- end)
- --groundprt:Destroy()
- --grnd2:Destroy()
- groundprt:Destroy()
- grnd3 = grnd2:Clone()
- grnd3.Parent = workspace
- spawn(function()
- while true do
- --groundprt.CFrame = groundprt.CFrame * CFrame.Angles(0,-math.rad(15 + 1),0)
- grnd2.CFrame = grnd2.CFrame * CFrame.Angles(0,-math.rad(15 + 1),0)
- grnd3.CFrame = grnd3.CFrame * CFrame.Angles(0,-math.rad(15 + 3),0)
- wait()
- end
- end)
- spawn(function()
- while true do
- rngholdr.CFrame = rngholdr.CFrame:lerp(rngholdr.CFrame*CFrame.fromEulerAnglesXYZ(-.1,0,0),1)
- rngholdr2.CFrame = rngholdr2.CFrame:lerp(rngholdr2.CFrame*CFrame.fromEulerAnglesXYZ(.1,0,0),1)
- rngholdr.Position = holder.Position
- rngholdr2.Position = holder.Position
- grnd2.Position = holder.Position
- grnd3.Position = holder.Position
- wait()
- end
- end)
- local pun = Instance.new("Part", workspace)
- pun.Anchored = true
- pun.CanCollide = false
- pun.Size = Vector3.new(.2,.2,.2)
- pun.CFrame = punhold.CFrame
- pun.CFrame = pun.CFrame:lerp(pun.CFrame*CFrame.new(0,0,-4),1)
- pun.CFrame = pun.CFrame*CFrame.fromEulerAnglesXYZ((math.rad(90)),0,0)
- pun.BrickColor= BrickColor.new("Cyan")
- local punm = Instance.new("SpecialMesh", pun)
- punm.MeshId = "http://www.roblox.com/asset/?id=20329976"
- punm.Scale = Vector3.new(12,12,12)
- spawn(function()
- for i =0,5,.1 do
- pun.Transparency = i
- wait()
- end
- end)
- for i = 1,10,.1 do
- sphere.CFrame = sphere.CFrame:lerp(sphere.CFrame*CFrame.new(0,0,-3),1)
- smals.CFrame =smals.CFrame:lerp(smals.CFrame*CFrame.new(0,0,-3),1)
- sphere.CFrame=smals.CFrame
- holder.CFrame = sphere.CFrame
- hbox.CFrame = sphere.CFrame
- hbox.CFrame = hbox.CFrame:lerp(hbox.CFrame*CFrame.new(0,0,-6),1)
- wait()
- end
- smals:Destroy()
- sphere:Destroy()
- rngholdr:Destroy()
- rngholdr2:Destroy()
- grnd2:Destroy()
- grnd3:Destroy()
- canatk = true
- hum.WalkSpeed = 200
- if beenhit == false then
- wait(qcooldown)
- end
- end
- end
- end
- end)
- mouse.KeyDown:Connect(function(key)
- if key == "r" then
- hum.WalkSpeed = 100
- local pm = Instance.new("ParticleEmitter", hed)
- pm.Size = NumberSequence.new(5, 5, 5)
- pm.Speed = NumberRange.new(30, 30, 30)
- for i = 1,80 do
- RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-9))
- LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(9))
- RootJoint.C0=RootJoint.C0*CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(math.rad(4.5),math.rad(0),math.rad(0))
- wait()
- end
- pm:Destroy()
- hum.WalkSpeed = 16
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "x" then
- if canatk == true then
- canatk = false
- for i = 1,10 do
- RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(-9),math.rad(0),math.rad(0))
- LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- RH.C0=RH.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- LH.C0=LH.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- RootJoint.C0=RootJoint.C0*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(9))
- Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-9))
- wait()
- end
- --[[ local shol = Instance.new("Part", char)
- shol.Anchored = true
- shol.CanCollide = false
- shol.BrickColor = BrickColor.new("Cyan")
- shol.CFrame = hed.CFrame
- shol.CFrame = shol.CFrame*CFrame.new(0,-.3,-3)
- shol.CFrame = shol.CFrame*CFrame.fromEulerAnglesXYZ((math.rad(90)),0,0)
- shol.Transparency = .5
- local me = Instance.new("SpecialMesh", shol)
- me.MeshId = "http://www.roblox.com/asset/?id=1033714"
- me.Scale = Vector3.new(5,5,5)
- local bem = Instance.new("Part", char)
- bem.Anchored = true
- bem.BrickColor = BrickColor.new("Really black")
- bem.CanCollide = false
- --bem.FormFactor = 3
- --bem.Name = "Beam" .. shot
- bem.Size = Vector3.new(1, 1, 1)
- bem.Transparency = 0
- bem.TopSurface = 0
- bem.BottomSurface = 0
- local bemm = Instance.new("SpecialMesh", bem)
- bemm.MeshType = 4
- bemm.Scale = Vector3.new(1, 4, 4)
- bem.CFrame = larm.CFrame]]
- wait(1)
- RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
- RootJoint.C0=RootJoint.C0*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-90))
- Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90))
- canatk = true
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "h" then
- local pkep = Instance.new("Part", torso)
- pkep.Anchored = true
- pkep.Size = Vector3.new(18,1,18)
- pkep.Transparency = 1
- pkep.CanCollide = false
- pkep.CFrame = torso.CFrame
- pkep.CFrame = pkep.CFrame*CFrame.new(0,-2.5,0)
- pkep.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- if hit.Parent.Name ~= p.Name then
- local hoom = hit.Parent:FindFirstChild("Humanoid")
- hoom.WalkSpeed = 0
- hoom.Health = hoom.Health-30
- wait(2)
- hoom.WalkSpeed = 16
- end
- end
- end)
- local bp = Instance.new("BodyPosition",torso)
- bp.position = torso.Position+Vector3.new(0,10,0)
- bp.maxForce = Vector3.new(500000000, 500000000, 500000000)
- for i =1,10,.25 do
- RS.C0=RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(-3),math.rad(0),math.rad(0))
- LS.C0=LS.C0*CFrame.fromEulerAnglesXYZ(math.rad(-3),math.rad(0),math.rad(0))
- end
- RS.C0=RS.C0*CFrame.new(0,-.5,-.5)
- LS.C0=LS.C0*CFrame.new(0,-.5,-.5)
- spawn(function()
- local grnd2 = Instance.new("Part", pkep)
- grnd2.Anchored = true
- grnd2.CanCollide = false
- grnd2.BrickColor = BrickColor.new("Cyan")
- grnd2.Transparency = 0.5
- grnd2.CFrame = pkep.CFrame
- local crown2 = Instance.new("SpecialMesh", grnd2)
- crown2.MeshId = "http://www.roblox.com/asset/?id=20329976"
- crown2.Scale = Vector3.new(18,1,18)
- for i =1,20,.1 do
- grnd2.CFrame = grnd2.CFrame * CFrame.Angles(0,-math.rad(15),0)
- wait()
- end
- grnd2:Destroy()
- end)
- local function spam()
- for i =1,10 do
- local groundprt = Instance.new("Part", pkep)
- groundprt.Anchored = true
- groundprt.CanCollide = false
- groundprt.BrickColor = BrickColor.new("Cyan")
- groundprt.Transparency = 0.5
- groundprt.CFrame = pkep.CFrame
- -- local grnd2 = groundprt:Clone()
- --grnd2.Parent = workspace
- --local crown2 = Instance.new("SpecialMesh", grnd2)
- --crown2.MeshId = "http://www.roblox.com/asset/?id=20329976"
- --crown2.Scale = Vector3.new(12,1,12)
- local crown = Instance.new("SpecialMesh", groundprt)
- crown.MeshId = "http://www.roblox.com/asset/?id=20329976"
- crown.Scale = Vector3.new(16,.5,16)
- for i =1,10,.5 do
- crown.Scale = crown.Scale+Vector3.new(0,2,0)
- crown.Scale = crown.Scale-Vector3.new(.5,0,.5)
- wait()
- end
- groundprt:Destroy()
- end
- end
- spawn(function()
- spam()
- end)
- wait(.1)
- spawn(function()
- spam()
- end)
- wait(.1)
- spawn(function()
- spam()
- end)
- wait(.1)
- spawn(function()
- spam()
- end)
- wait(.1)
- spawn(function()
- spam()
- end)
- wait(.1)
- wait(8)
- RS.C0=RS.C0*CFrame.new(0,.5,.5)
- LS.C0=LS.C0*CFrame.new(0,.5,.5)
- for i =1,10,.25 do
- RS.C0=RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(3),math.rad(0),math.rad(0))
- LS.C0=LS.C0*CFrame.fromEulerAnglesXYZ(math.rad(3),math.rad(0),math.rad(0))
- end
- bp.Parent = nil
- bp:Remove()
- bp:Destroy()
- pkep:Destroy()
- end
- end)
- if stance == "idle" then
- spawn(function()
- while true do
- wait(5)
- local cro = Instance.new("Part", char)
- cro.Anchored = true
- cro.CanCollide = false
- cro.CFrame = torso.CFrame*CFrame.new(0,-3,0)
- cro.Transparency = .5
- cro.BrickColor = BrickColor.new("Cyan")
- local me = Instance.new("SpecialMesh", cro)
- me.MeshId = "http://www.roblox.com/asset/?id=20329976"
- me.Scale = Vector3.new(4,1.5,4)
- for i =0,5,.1 do
- me.Scale = me.Scale+Vector3.new(.3,0,.3)
- wait()
- end
- cro:Destroy()
- end
- end)
- RH.C0=RH.C0*CFrame.fromEulerAnglesXYZ(math.rad(-2),math.rad(0),math.rad(0))
- LH.C0=LH.C0*CFrame.fromEulerAnglesXYZ(math.rad(-2),math.rad(0),math.rad(0))
- RS.C0=RS.C0*CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(0),math.rad(0))--dis 1
- LS.C0=LS.C0*CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(0),math.rad(0))
- Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- RootJoint.C0=RootJoint.C0*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
- spawn(function()
- while true do
- wait()
- for i = 1, 10 do
- RS.C0 = RS.C0*CFrame.new(0,.01,0)
- LS.C0 = LS.C0*CFrame.new(0,.01,0)
- wait(.1)
- end
- for i = 1,10 do
- RS.C0 = RS.C0*CFrame.new(0,-0.01,0)
- LS.C0 = LS.C0*CFrame.new(0,-0.01,0)
- wait(.1)
- end
- end
- end)
- elseif stance == "ring" then
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement