Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[SCRIPT NAME]]--
- --[[
- This is WafflesAreVeryGood's script, do not attempt to take ownership of the script.
- --]]
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local mouse = plr:GetMouse()
- local torso = char.Torso
- local rs = torso["Right Shoulder"]
- local ls = torso["Left Shoulder"]
- local rh = torso["Right Hip"]
- local lh = torso["Left Hip"]
- local rj = char.HumanoidRootPart.RootJoint
- local neck = torso.Neck
- local animpose = "Idle"
- local attacking = false
- local cananim = true
- local rage = false
- local shield = nil
- local sprint = false
- local canrage = true
- local legs = false
- local powers = true
- local energy = 1000
- local bc = char:WaitForChild("Body Colors")
- local multiplier = 1
- local lac = char["Body Colors"].LeftArmColor
- local rac = char["Body Colors"].RightArmColor
- local rlc = char["Body Colors"].RightArmColor
- local llc = char["Body Colors"].LeftLegColor
- local hc = char["Body Colors"].HeadColor
- local tc = char["Body Colors"].TorsoColor
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- local huge = Vector3.new(math.huge,math.huge,math.huge)
- local color = BrickColor.new("Hot pink")
- local mobs = Instance.new("Sound", char)
- mobs.SoundId = "rbxassetid://988325757"
- mobs.Looped = true
- mobs.Volume = 3
- mobs:Play()
- if char:FindFirstChild("Animate") then char.Animate:Destroy() end
- if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then char:FindFirstChildOfClass("Humanoid").Animator:Destroy() end
- function legsonly()
- spawn(function()
- for i = 0, 10 do
- wait(0.001)
- if attacking then break end
- end
- if not attacking then
- legs = false
- end
- end)
- end
- function lightning(start,finish,segments,thickness)
- local full = (start.p-finish.p).magnitude
- local lastpart
- local lastscale
- local direction = CFrame.new(finish.p,start.p).lookVector
- local model
- model = Instance.new("Model")
- for i = 1, segments do
- if not lastscale then lastscale = 0.5 end
- if not lastpart then lastpart = char.Torso end
- local startp = lastpart.CFrame*CFrame.new(0,0,-lastscale/2)
- local p = Instance.new("Part", model)
- p.Name = "segment"..i
- p.Material = "Neon"
- p.BrickColor = color
- local endpos
- if i == segments then
- endpos = finish
- else
- if lastpart == char.Torso then
- endpos = CFrame.new(lastpart.CFrame.p,lastpart.CFrame.p+direction) *CFrame.new(math.random(-thickness*5,thickness*2),math.random(-thickness*5,thickness*5),full/segments)
- else
- endpos = CFrame.new(lastpart.CFrame.p,lastpart.CFrame.p+direction) *CFrame.new(math.random(-thickness*5,thickness*2),math.random(-thickness*5,thickness*5),full/segments)
- end
- --[[local p = Instance.new("Part", model)
- p.Anchored = true
- p.Size = Vector3.new(thickness,thickness,1)
- p.CanCollide = false
- p.CFrame = endpos]]
- end
- local mag = (startp.p-endpos.p).magnitude
- p.Anchored = true
- p.CanCollide = false
- local m = Instance.new("SpecialMesh", p)
- m.MeshType = "Brick"
- for i,v in pairs({"Right", "Left", "Top", "Bottom", "Front", "Back"}) do
- p[v.."Surface"] = "SmoothNoOutlines"
- end
- p.Size = Vector3.new(thickness,thickness,mag)
- p.CFrame = CFrame.new(startp.p, endpos.p) *CFrame.new(0,0,-mag/2)
- lastscale = mag
- lastpart = p
- end
- model.Parent = char
- spawn(function()
- for i = 1, 10/2 do
- for i,v in pairs(model:children()) do
- v.Mesh.Scale = v.Mesh.Scale -Vector3.new(0.1,0.1,0)*2
- end
- swait()
- end
- model:Destroy()
- end)
- end
- function getparent()
- local par = workspace:FindFirstChild("BasePlate")
- if not par then par = workspace:FindFirstChild("Base") end
- if not par then par = char.Head end
- return par
- end
- function swait(t)
- if t == nil or t == 0 then
- game:service('RunService').Stepped:wait(0)
- return true
- else
- for i = 0, t do
- game:service('RunService').Stepped:wait(0)
- end
- return true
- end
- end
- function hurt(hit, dmg)
- if hit.Parent then
- if hit.Parent:IsA("LocalScript") then hit.Parent:Destroy() end
- local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
- if hum then
- if hum.Parent.Name ~= plr.Name then
- if dmg == "Kill" or hum.Health > 100000 then
- hit.Parent:BreakJoints()
- return true
- else
- if math.random(0, 100) == 50 then
- hum.Health = hum.Health - dmg*multiplier*2.5
- else
- hum.Health = hum.Health - dmg*multiplier
- end
- return true
- end
- end
- end
- end
- end
- function soundeffect(id, volume, speed, parent)
- spawn(function()
- local s = Instance.new("Sound")
- s.SoundId = id
- s.Volume = volume
- s.PlaybackSpeed = speed
- s.Parent = parent
- s:Play()
- repeat wait() until not s.Playing
- s:Destroy()
- end)
- end
- function gethum(obj)
- if obj.Parent then
- if obj.Parent:FindFirstChild("Humanoid") then
- if obj.Parent.Name ~= plr.Name then
- return obj.Parent:FindFirstChildOfClass("Humanoid")
- end
- end
- end
- end
- function smooth(obj)
- local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
- for i,v in pairs(sides) do
- obj[v.."Surface"] = "SmoothNoOutlines"
- end
- end
- function fade(obj, dest, grow)
- spawn(function()
- local oldcf = obj.CFrame
- for i = 0, 10 do
- if grow then
- obj.Size = obj.Size +Vector3.new(1,1,1)
- obj.CFrame = oldcf
- end
- obj.Transparency = obj.Transparency +0.1
- swait()
- end
- if dest then
- obj:Destroy()
- end
- end)
- end
- function replacejoint(name)
- local j = torso:FindFirstChild(name)
- if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
- if j then
- if true then
- local new = Instance.new("Weld")
- new.Part0 = j.Part0
- j.Part0 = nil
- new.Name = j.Name.." Replacement"
- new.Parent = j.Parent
- new.Part1 = j.Part1
- new.C0 = j.C0
- new.C1 = j.C1
- return new
- end
- end
- end
- function removejoint(name)
- local j = torso:FindFirstChild(name.." Replacement")
- if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
- if j then
- local p0 = j.Part0
- local c0 = j.C0
- local c1 = j.C1
- j:Destroy()
- local new = p0:FindFirstChild(name)
- local ac0 = new.C0
- local ac1 = new.C1
- new.Part0 = p0
- new.C0 = c0
- new.C1 = c1
- end
- end
- function fixalljoints()
- for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
- removejoint(v)
- end
- end
- function getnewjoints()
- local rs = replacejoint("Right Shoulder")
- local ls = replacejoint("Left Shoulder")
- local rh = replacejoint("Right Hip")
- local lh = replacejoint("Left Hip")
- local neck = replacejoint("Neck")
- local rj = replacejoint("RootJoint")
- return rs,ls,rh,lh,neck,rj
- end
- local tdown = false
- local jdown = false
- mouse.KeyDown:connect(function(key)
- if powers then
- if key == "r" and not attacking then
- attacking = true
- humanoid.AutoRotate = false
- local rs = replacejoint("Right Shoulder")
- local p = Instance.new("Part")
- p.CanCollide = false
- p.Anchored = true
- smooth(p)
- p.Transparency = 1
- p.Size = Vector3.new(0.2,0.2,0.2)
- local pe = Instance.new("ParticleEmitter", p)
- pe.Color = ColorSequence.new(color.Color)
- pe.LightEmission = 0.7
- pe.Size = NumberSequence.new(1)
- pe.Texture = "rbxassetid://243664672"
- pe.Transparency = NumberSequence.new(0.5)
- pe.Lifetime = NumberRange.new(0.3)
- pe.Rate = 500
- pe.Speed = NumberRange.new(3)
- p.Parent = getparent()
- local sphere = Instance.new("Part")
- smooth(sphere)
- sphere.Anchored = true
- sphere.CanCollide = false
- sphere.Name = "cool ball just for looks"
- sphere.BrickColor = color
- sphere.Material = "Neon"
- sphere.Transparency = 1
- sphere.Size = Vector3.new(5,5,5)
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Sphere"
- m.Parent = sphere
- sphere.Parent = getparent()
- local crown = Instance.new("Part")
- crown.Anchored = true
- crown.CanCollide = false
- crown.BrickColor = color
- crown.Transparency = 1
- crown.Size = Vector3.new(1,1,1)
- crown.CFrame = char["Right Arm"].CFrame *CFrame.new(0,-1.5,0) *CFrame.Angles(math.rad(180),0,0)
- local m = Instance.new("SpecialMesh")
- m.MeshId = "rbxassetid://20329976"
- m.Scale = Vector3.new(4,4,4)
- m.Parent = crown
- crown.Parent = getparent()
- spawn(function()
- local num = 0
- local num2 = 0
- repeat swait()
- num2 = num2 + 10
- sphere.CFrame = char["Right Arm"].CFrame *CFrame.new(0,-2,0)
- crown.CFrame = char["Right Arm"].CFrame *CFrame.new(0,-1.5,0) *CFrame.Angles(math.rad(180),0,0)
- crown.CFrame = crown.CFrame:Lerp(crown.CFrame*CFrame.Angles(math.rad(0),math.rad(num2),0),0.5)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0, 1, 0.999848902, -0.0174523108, 0, 0.0174523108, 0.999848902, 0), 0.3)
- mouse.TargetFilter = char
- local dir = CFrame.new(char.HumanoidRootPart.CFrame.p, mouse.Hit.p).lookVector
- local x = dir.X
- local z = dir.Z
- mouse.TargetFilter = nil
- char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.CFrame.p, char.HumanoidRootPart.CFrame.p+Vector3.new(x,0,z))
- num = num + 0.5
- local sin = math.sin(num)*2
- local cos = math.cos(num)*2
- p.CFrame = char["Right Arm"].CFrame *CFrame.new(sin,0,cos) *CFrame.new(0,-2,0)
- until not attacking
- p:Destroy()
- end)
- wait(2)
- local old
- soundeffect("rbxassetid://262562442", 2, 0.6, char.Torso)
- for i = 1, 100 do
- sphere.Transparency = sphere.Transparency -0.05
- crown.Transparency = sphere.Transparency
- local save = p
- if old then old:Destroy() end
- local p = Instance.new("Part")
- p.Anchored = false
- p.CanCollide = false
- p.Transparency = crown.Transparency
- p.BrickColor = color
- p.Material = "Neon"
- local start = char["Right Arm"].CFrame*CFrame.new(0,-3,0)
- mouse.TargetFilter = char
- local ray = Ray.new(start.p, (mouse.Hit.p-start.p).unit*500)
- local ignore = {char, save}
- local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, ignore)
- if pos then
- mouse.TargetFilter = char
- local mag = (start.p-pos).magnitude
- p.Name = "the sun is a deadly lazer"
- p.Size = Vector3.new(mag,5,5)
- local dir = CFrame.new(start.p, pos).lookVector
- p.CFrame = CFrame.new(start.p,start.p+dir) *CFrame.new(0,0,-mag/2) *CFrame.Angles(0,math.rad(90),0)
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Cylinder"
- m.Parent = p
- if i ~= 100 then
- local bp = Instance.new("BodyPosition")
- bp.MaxForce = huge
- bp.Position = p.CFrame.p
- bp.Parent = p
- end
- p.Parent = getparent()
- mouse.TargetFilter = nil
- p.Touched:connect(function(hit)
- hurt(hit, 10)
- end)
- old = p
- end
- mouse.TargetFilter = nil
- swait()
- end
- if old then
- local p = old
- local op = p.CFrame
- for i = 1, 20 do
- p.Anchored = true
- p.Mesh.Scale = p.Mesh.Scale:Lerp(Vector3.new(1,0,0), 0.15)
- sphere.Mesh.Scale = sphere.Mesh.Scale:Lerp(Vector3.new(0,0,0), 0.15)
- crown.Mesh.Scale = crown.Mesh.Scale:Lerp(Vector3.new(0,0,0), 1.5)
- p.CFrame = op
- swait()
- end
- p:Destroy()
- end
- p:Destroy()
- sphere:Destroy()
- crown:Destroy()
- removejoint("Right Shoulder")
- attacking = false
- humanoid.AutoRotate = true
- end
- end
- if key == "v" and not attacking and animpose == ("Idle" or "Walking") then
- attacking = true
- humanoid.WalkSpeed = 0
- local p = Instance.new("Part")
- p.Anchored = true
- p.Name = "Path"
- p.BrickColor = color
- p.Material = "Neon"
- p.Size = Vector3.new(1,0.2,0.2)
- p.CFrame = char.Torso.CFrame *CFrame.new(0,-3,0)
- p.Parent = getparent()
- for i = 0, 2, 0.1 do
- p.Size = p.Size:Lerp(Vector3.new(1,0.2,7), 0.2)
- p.CFrame = char.Torso.CFrame *CFrame.new(0,-3,0) *CFrame.new(0,0,-p.Size.Z/2)
- swait()
- end
- local mod = Instance.new("Model")
- mod.Name = "The great wall on the southern US border"
- mod.Parent = getparent()
- local p2 = Instance.new("Part")
- p2.Name = "donald trump wall"
- p2.Anchored = true
- p2.BrickColor = color
- p2.Material = "Neon"
- p2.Size = Vector3.new(1,0.2,1)
- p2.CFrame = char.Torso.CFrame *CFrame.new(0,-3,0) *CFrame.new(0,0,-p.Size.Z)
- p2.Parent = mod
- for i = 0, 2, 0.1 do
- local ocf = p2.CFrame
- p2.Size = p2.Size:Lerp(Vector3.new(25,0.2,1), 0.2)
- p2.CFrame = ocf
- swait()
- end
- for i = 0, 2, 0.1 do
- local ocf = p2.CFrame
- p2.Size = p2.Size:Lerp(Vector3.new(25,25,1), 0.2)
- p2.CFrame = ocf
- swait()
- end
- local hum = Instance.new("Humanoid")
- hum.MaxHealth = 200*multiplier
- hum.Parent = mod
- spawn(function()
- repeat wait() until hum.Health <= 0
- local wall = p2
- local p1 = Instance.new("Part")
- p1.Name = "fragment"
- p1.Anchored = true
- p1.BrickColor = color
- p1.Material = "SmoothPlastic"
- smooth(p1)
- p1.Size = Vector3.new(25/2,25/2,1)
- p1.CFrame = wall.CFrame *CFrame.new(25/2,25/2,0)
- p1.Parent = mod
- local p2 = p1:Clone()
- p2.CFrame = wall.CFrame *CFrame.new(-25/2,25/2,0)
- local p3 = p1:Clone()
- p3.CFrame = wall.CFrame*CFrame.new(-25/2,-25/2,0)
- local p4 = p1:Clone()
- p4.CFrame = wall.CFrame *CFrame.new(25/2,-25/2,0)
- p2.Parent = mod
- p3.Parent = mod
- p4.Parent = mod
- wall:Destroy()
- for i,v in pairs({p1,p2,p3,p4}) do
- v.Anchored = false
- v.CanCollide = false
- v.CFrame = v.CFrame *CFrame.new(math.random(-0.2,0.2),math.random(-0.2,0.2),math.random(-0.2,0.2)) *CFrame.Angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2)))
- end
- game.Debris:AddItem(mod, 3)
- end)
- swait()
- hum.Health = 200*multiplier
- attacking = false
- humanoid.WalkSpeed = 16
- local cf = char.Torso.CFrame *CFrame.new(0,-3,0)
- for i = 0, 2, 0.1 do
- p.Size = p.Size:Lerp(Vector3.new(1,0.2,0), 0.2)
- p.CFrame = cf *CFrame.new(0,0,-p.Size.Z/2)
- swait()
- end
- p:Destroy()
- end
- if key == "q" and not attacking then
- attacking = true
- local rs = replacejoint("Right Shoulder")
- local rj = replacejoint("RootJoint")
- local p = Instance.new("Part")
- p.Anchored = false
- p.CanCollide = false
- p.BrickColor = color
- p.Material = "Neon"
- smooth(p)
- p.Name = "pole up ur but"
- p.Size = Vector3.new(0.2,0.5,0.5)
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Cylinder"
- m.Parent = p
- p.Parent = getparent()
- local w = Instance.new("Weld")
- w.Part0 = p
- w.Part1 = char["Right Arm"]
- w.C1 = CFrame.new(0,-1,0) --*CFrame.Angles(0,math.rad(90),0)
- w.Parent = p
- for i = 0, 2, 0.1 do
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.173648581, 0.984808862, 0, 0, 0, 1, 0.984808862, 0.173648581, 0), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0.121869408, 0.992547333, 0.999848902, 0.0173224807, -0.0021269382, -0.0174525417, 0.992397845, -0.121851459), 0.2)
- local ocf = p.CFrame
- p.Size = p.Size:Lerp(Vector3.new(5,0.5,0.5), 0.2)
- p.CFrame = ocf
- w = Instance.new("Weld")
- w.Part0 = p
- w.Part1 = char["Right Arm"]
- w.C1 = CFrame.new(0,-1,0) --*CFrame.Angles(0,math.rad(90),0)
- w.Parent = p
- swait()
- end
- for i = 0, 1, 0.1 do
- if i == 0.2 then
- soundeffect("rbxassetid://166423113", 2, 1, char.Torso)
- w:Destroy()
- p.CFrame = CFrame.new(p.Position, mouse.Hit.p)
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = huge
- bv.Velocity = p.CFrame.lookVector*200
- p.CFrame = CFrame.new(p.Position, mouse.Hit.p) *CFrame.Angles(0,math.rad(90),0)
- bv.Parent = p
- p.Touched:connect(function(hit)
- if hurt(hit, 40) then
- local p1 = Instance.new("Part")
- soundeffect("rbxassetid://636458264", 2, 1, p1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.BrickColor = color
- p1.Material = "Neon"
- p1.Name = "omega ex-u-plosion"
- p1.CFrame = p.CFrame
- p1.Size = Vector3.new(0.2,0.2,0.2)
- p1.Transparency = 1
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Sphere"
- m.Parent = p1
- p1.Parent = getparent()
- local sub = -0.1
- for i = 1, 30 do
- if i >= 15 then sub = 0.1 end
- p1.Transparency = p1.Transparency + sub
- local cf = p1.CFrame
- p1.Size = p1.Size:Lerp(Vector3.new(10,10,10),0.2)
- p1.CFrame = cf
- swait()
- end
- p1:Destroy()
- end
- end)
- end
- game.Debris:AddItem(p, 10)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.453991294, 0.891008019, 0.999848902, 0.0155503647, 0.00792330131, -0.0174525417, 0.890873849, 0.45392251), 0.4)
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.999392986, -0.0348995253, 0, 0, 0, 1, -0.0348995253, 0.999392986, 0), 0.4)
- swait()
- end
- attacking = false
- fixalljoints()
- end
- if key == "f" and not attacking then
- attacking = true
- humanoid.WalkSpeed = 0
- local touch = false
- local num = 0
- local parts = {}
- local last = char.Torso.CFrame *CFrame.new(0,-3,0)
- local lastscale = 1.5
- local x,z = 0,0
- local udown = false
- local con = mouse.KeyDown:connect(function(key)
- if key == "w" then
- z = z + -2
- udown = true
- end
- if key == "a" then
- x = x + -0.3
- end
- if key == "d" then
- x = x + 0.3
- end
- end)
- local con2 = mouse.KeyUp:connect(function(key)
- if key == "w" then
- udown = false
- z = z - -2
- end
- if key == "a" then
- x = x - -0.3
- end
- if key == "d" then
- x = x - 0.3
- end
- end)
- local dir = char.Torso.CFrame.lookVector
- local o = workspace.CurrentCamera.CameraType
- repeat swait()
- local start = last *CFrame.new(0,0,-lastscale/2)
- local thing = false
- if z == 0 then
- z = -2
- thing = true
- end
- local finish = last *CFrame.new(x,0,z)
- local mag = (start.p-finish.p).magnitude
- num = num + 1
- local p = Instance.new("Part")
- p.Size = Vector3.new(1,0.2,mag)
- p.Name = "cool looking line that is just for looks"
- p.Anchored = true
- p.BrickColor = color
- p.Material = "Neon"
- smooth(p)
- p.CFrame = CFrame.new(start.p, finish.p)
- p.CFrame = p.CFrame *CFrame.new(0,0,-mag/2)
- last = p.CFrame
- lastscale = mag
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Brick"
- m.Parent = p
- p.Touched:connect(function(hit)
- if hurt(hit, 200) then
- touch = true
- local p1 = Instance.new("Part")
- soundeffect("rbxassetid://636458264", 2, 1, p1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.BrickColor = color
- p1.Material = "Neon"
- p1.Name = "omega ex-u-plosion"
- p1.CFrame = p.CFrame
- p1.Size = Vector3.new(0.2,0.2,0.2)
- p1.Transparency = 1
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Sphere"
- m.Parent = p1
- p1.Parent = getparent()
- local sub = -0.1
- for i = 1, 30 do
- if i >= 15 then sub = 0.1 end
- p1.Transparency = p1.Transparency + sub
- local cf = p1.CFrame
- p1.Size = p1.Size:Lerp(Vector3.new(10,10,10),0.2)
- p1.CFrame = cf
- swait()
- end
- p1:Destroy()
- end
- end)
- table.insert(parts, p)
- p.Parent = getparent()
- workspace.CurrentCamera.CameraType = "Scriptable"
- workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame:Lerp(p.CFrame *CFrame.new(0,1,0),0.5)
- if thing then
- z = 0 thing = false
- end
- until touch or num == 500
- workspace.CurrentCamera.CameraType = o
- for i = 0, 1, 0.1 do
- for i,v in pairs(parts) do
- v.Mesh.Scale = v.Mesh.Scale:Lerp(Vector3.new(0,1,1),0.3)
- end
- swait()
- end
- for i,v in pairs(parts) do
- v:Destroy()
- end
- humanoid.WalkSpeed = 16
- attacking = false
- end
- if key == "t" and not attacking then
- attacking = true
- cananim = false
- tdown = true
- humanoid.WalkSpeed = 0
- local num = 0
- local dmg = 0
- local light = 0
- local p = Instance.new("Part")
- soundeffect("rbxassetid://163619849", 2, 1, p)
- p.Name = "ring o deth"
- p.Size = Vector3.new(1.16*4, 1.16*4, 0.16*8)
- p.CanCollide = false
- p.Anchored = false
- p.BrickColor = color
- p.Transparency = 0.5
- p.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
- local m = Instance.new("SpecialMesh")
- m.MeshId = "rbxassetid://3270017"
- m.Scale = Vector3.new(4,4,8)
- m.Parent = p
- p.Touched:connect(function(hit)
- hurt(hit, dmg)
- end)
- p.Parent = getparent()
- local w = Instance.new("Weld")
- w.Part0 = char.Torso
- w.Part1 = p
- w.C1 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, 1, 1.74845553e-07, 1, 7.64274186e-15, -1, 1.74845553e-07, -4.37113883e-08)
- w.Parent = char.Torso
- repeat swait()
- light = light + 1
- if light%20 then
- lightning(char.Torso.CFrame, char.Torso.CFrame *CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)),3,0.2)
- end
- if num <= 200 then
- num = num + 10
- end
- if dmg <= 90 then
- dmg = dmg + 5
- end
- ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.259163707, -0.797623932, -0.544639647, -0.937001169, 0.344397515, -0.0585029572, 0.234235883, 0.495166451, -0.83662957), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.262061596, 0.806542575, 0.529919863, 0.919012129, 0.376151204, -0.118025884, -0.294522434, 0.45607245, -0.839796424), 0.2)
- lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.099999927, -0.400000006, 0, 0, -1, 0.190809026, 0.981627405, 0, 0.981627405, -0.190809026, 0), 0.2)
- rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.099999927, -0.5, 0, 0, 1, -0.190809026, 0.981627524, 0, -0.981627524, -0.190809026, 0), 0.2)
- neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.275637418, 0.961262047, 0, 0.961262047, -0.275637418), 0.2)
- rj.C0 = rj.C0:Lerp(rj.C0*CFrame.Angles(math.rad(50),0,0), 0.5)
- until not tdown
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = huge
- char.Torso.CFrame = CFrame.new(char.Torso.Position, char.Torso.Position+workspace.CurrentCamera.CFrame.lookVector)
- bv.Velocity = workspace.CurrentCamera.CFrame.lookVector*num
- bv.Parent = char.Torso
- for i = 1, 100 do
- ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.259163707, -0.797623932, -0.544639647, -0.937001169, 0.344397515, -0.0585029572, 0.234235883, 0.495166451, -0.83662957), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.262061596, 0.806542575, 0.529919863, 0.919012129, 0.376151204, -0.118025884, -0.294522434, 0.45607245, -0.839796424), 0.2)
- lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.099999927, -0.400000006, 0, 0, -1, 0.190809026, 0.981627405, 0, 0.981627405, -0.190809026, 0), 0.2)
- rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.099999927, -0.5, 0, 0, 1, -0.190809026, 0.981627524, 0, -0.981627524, -0.190809026, 0), 0.2)
- neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.275637418, 0.961262047, 0, 0.961262047, -0.275637418), 0.2)
- rj.C0 = rj.C0:Lerp(rj.C0*CFrame.Angles(math.rad(50),0,0), 0.5)
- swait()
- end
- p:Destroy()
- bv:Destroy()
- cananim = true
- attacking = false
- humanoid.WalkSpeed = 16
- end
- if key == "g" and not attacking then
- attacking = true
- local rs = replacejoint("Right Shoulder")
- local rj = replacejoint("RootJoint")
- local p = Instance.new("Part")
- p.Size = Vector3.new(0.2,0.2,0.2)
- p.Name = "ball that will make an EXU-PLOSION!"
- p.Material = "Neon"
- p.BrickColor = color
- smooth(p)
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Sphere"
- m.Parent = p
- p.Parent = getparent()
- local w = Instance.new("Weld")
- w.Part0 = char["Right Arm"]
- w.Part1 = p
- w.C1 = CFrame.new(0,2,0)
- w.Parent = char["Right Arm"]
- for i = 0, 2, 0.1 do
- p.Size = p.Size:Lerp(Vector3.new(1,1,1), 0.3)
- w = Instance.new("Weld")
- w.Part0 = char["Right Arm"]
- w.Part1 = p
- w.C1 = CFrame.new(0,2,0)
- w.Parent = char["Right Arm"]
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.933580935, -0.358368069, 0, 0, 0, 1, -0.358368039, 0.933580995, 0), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1.50000072, -5.81145287e-07, 0, 0, -1.00000119, 1.15483999e-07, 0, 1.15483999e-07, 1.00000119, -1, 0, 0), 0.2)
- swait()
- end
- for i = 0, 1, 0.1 do
- if i == 0.4 then
- soundeffect("rbxassetid://166423113", 2, 1, char.Torso)
- w:Destroy()
- p.Touched:connect(function(hit)
- if hit.Parent then
- if hit.Parent.Name ~= plr.Name and not hit.Parent:IsA("Accessory") then
- local e = Instance.new("Part")
- soundeffect("rbxassetid://636458264", 2, 1, e)
- e.Name = "EXTREME EXPLOSION"
- e.Size = Vector3.new(1,1,1)
- smooth(e)
- e.CanCollide = false
- e.Material = "Neon"
- e.CFrame = p.CFrame
- e.BrickColor = color
- p.Transparency = 1
- p:Destroy()
- e.Touched:connect(function(hit)
- hurt(hit, 40)
- end)
- e.Parent = getparent()
- local go = 1/15
- for i = 1, 30 do
- if i == 15 then go = -1/15 end
- local o = e.CFrame
- e.Size = e.Size:Lerp(Vector3.new(30,30,30), 0.2)
- e.Transparency = e.Transparency - go
- e.CFrame = o
- swait()
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = huge
- bv.Velocity = CFrame.new(p.CFrame.p, mouse.Hit.p).lookVector*150
- bv.Parent = p
- swait(10)
- bv:Destroy()
- end
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.984808564, 0.173648387, 0, 0, 0, 1, 0.173648417, 0.984808564, 0), 0.4)
- rs.C0 = rs.C0:Lerp(CFrame.new(1.10660362, 0.0137371887, -0.452826679, -0.754252374, 0.655661404, 0.034899652, 0.0263391752, -0.0228962805, 0.999392033, 0.65606004, 0.754711151, 0), 0.4)
- swait()
- end
- attacking = false
- fixalljoints()
- end
- if key == "j" and not attacking then
- if not rage then
- jdown = true
- humanoid.MaxHealth = 10000
- humanoid.Health = 10000
- local p = Instance.new("Part")
- p.Anchored = false
- p.CanCollide = false
- p.Size = Vector3.new(1,1,1)
- p.Name = "cool powers"
- p.Transparency = 1
- local pe = Instance.new("ParticleEmitter")
- pe.Name = "cool effects that are just for looks cause everything looks cool with particleemitters"
- pe.Color = ColorSequence.new(color.Color)
- pe.LightEmission = 0.7
- pe.Size = NumberSequence.new(1)
- pe.Texture = "rbxassetid://243664672"
- pe.Transparency = NumberSequence.new(0)
- pe.ZOffset = 0
- pe.Acceleration = Vector3.new(0,0,0)
- pe.Drag = 0
- pe.LockedToPart = true
- pe.VelocityInheritance = 0
- pe.Lifetime = NumberRange.new(10)
- pe.Rate = 5
- pe.Rotation = NumberRange.new(0)
- pe.RotSpeed = NumberRange.new(0)
- pe.Speed = NumberRange.new(0)
- pe.VelocitySpread = 0
- pe.Parent = p
- local w = Instance.new("Weld")
- w.Part0 = p
- w.Part1 = char["Right Arm"]
- w.C1 = CFrame.new(0,-1.2,0)
- w.Parent = p
- p.Parent = char
- local p2 = p:Clone()
- p2.Parent = char
- p2:FindFirstChild("Weld"):Destroy()
- local w2 = Instance.new("Weld")
- w2.Part0 = p2
- w2.Part1 = char["Left Arm"]
- w2.C1 = CFrame.new(0,-1.2,0)
- w2.Parent = p2
- multiplier = 2
- mobs.SoundId = "rbxassetid://246495880"
- mobs:Play()
- rage = true
- local num = 0
- repeat swait()
- num = num + 1
- until not jdown
- if num >= 50 then
- pe.Size = NumberSequence.new(2)
- p2:FindFirstChild(pe.Name).Size = pe.Size
- multiplier = 5
- mobs:Play()
- mobs.PlaybackSpeed = 1.5
- end
- else
- for i = 1, 2 do
- local obj = char:FindFirstChild("cool powers")
- if obj then
- obj:Destroy()
- end
- end
- mobs.SoundId = "rbxassetid://380090290"
- mobs.PlaybackSpeed = 1
- mobs:Play()
- rage = false
- multiplier = 1
- humanoid.MaxHealth = 500
- end
- end
- if key == "e" and not attacking then
- attacking = true
- local rs = replacejoint("Right Shoulder")
- local con = char["Right Arm"].Touched:connect(function(hit)
- if hurt(hit, 50) then
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = huge
- bv.Velocity = -char["Right Arm"].CFrame.upVector*100
- bv.Parent = hit
- game.Debris:AddItem(bv, 1)
- end
- end)
- for i = 0, 2, 0.1 do
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)*CFrame.Angles(0,0,math.rad(90)), 0.2)
- swait()
- end
- swait(10)
- con:disconnect()
- fixalljoints()
- attacking = false
- end
- if key == "z" and not attacking then
- if powers then
- powers = false
- else
- powers = true
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "t" and attacking and tdown then
- tdown = false
- end
- if key == "j" and rage then
- jdown = false
- end
- end)
- local lp
- spawn(function()
- local num = 0
- while swait() do
- if not attacking then
- energy = energy + 1
- end
- local v = char.HumanoidRootPart.Velocity
- if v.Y > 15 then
- animpose = "Jump"
- end
- if v.Y < -15 then
- animpose = "Falling"
- end
- if math.abs(v.X)+math.abs(v.Z) >=10 and v.Y == 0 then
- animpose = "Walking"
- end
- if math.abs(v.X)+v.Y+math.abs(v.Z) <= 9 and v.Y == 0 then
- animpose = "Idle"
- end
- end
- end)
- local num = 0
- while swait() do
- num = num + 0.1
- local sin = math.sin(num)
- if animpose == "Walking" and cananim and powers then
- for i = 0, 1.5, 0.1 do
- if animpose == "Walking" and cananim then
- ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.0406726934, 0.0329360999, -0.99862957, 0.776081443, 0.62845856, 0.0523359552, 0.629320979, -0.777146459, 0), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0388932228, -0.0350196026, 0.998629689, 0.742127001, 0.668214321, 0.0523359627, -0.66913116, 0.743145287, 0), 0.2)
- lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.024677692, 0.0246776957, -0.999390841, 0.706676483, 0.706676781, 0.0348994955, 0.707107425, -0.707107246, 0), 0.2)
- rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0136363264, -0.032125175, 0.999390841, 0.390493214, 0.919944584, 0.0348994955, -0.920505524, 0.390731305, 0), 0.2)
- neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.99969542, -0.0174524058, 0.0174497478, 0.0174524058, 0, 0.99984771, -0.0174497478, 0.99984771, 0.000304586458), 0.2)
- swait()
- else
- break
- end
- end
- for i = 0, 1.5, 0.1 do
- if animpose == "Walking" and cananim and powers then
- ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0433885492, 0.0292659476, -0.99862957, -0.827903032, 0.558427453, 0.0523359552, 0.559194028, 0.829038858, 0), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0400917344, -0.0336409658, 0.998629689, -0.764996171, 0.641907811, 0.0523359627, -0.642788768, -0.76604563, 0), 0.2)
- lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0163843632, 0.0308145005, -0.999390841, -0.469186544, 0.882411182, 0.0348994955, 0.882949054, 0.469472289, 0), 0.2)
- rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0246777162, -0.0246777181, 0.999390841, -0.70667702, 0.70667696, 0.0348994955, -0.707107902, -0.707107782, 0), 0.2)
- neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.999695539, 0.0174497515, -0.0174524095, -0.0174497515, 0.000304586574, 0.999847829, 0.0174524058, 0.99984771, -2.90993982e-11), 0.2)
- swait()
- else
- break
- end
- end
- end
- if animpose == "Idle" and cananim and powers then
- ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0)*CFrame.new(0,sin/30,0)*CFrame.Angles(math.rad(sin*3),0,0), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0523359552, 0.99862957, 0, 0.99862957, 0.0523359552, -1, -0, 0)*CFrame.new(0,sin/30,0)*CFrame.Angles(math.rad(sin*3),0,0), 0.2)
- lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.2)
- rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.2)
- neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.994522035, -0.104528472, 0, 0, 0, 1, -0.104528472, 0.994522035, 0), 0.2)
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.997564137, 0.0697564781, 0, 0, 0, 1, 0.0697564781, 0.997564137, 0), 0.2)
- swait()
- end
- if animpose == "Jump" and cananim and powers then
- for i = 0, 0.8, 0.1 do
- if animpose == "Jump" and cananim and powers then
- ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.121869355, -0.99254632, 0, 0.99254632, 0.121869355, 1, 0, 0), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.104528472, 0.994522035, 0, 0.994522035, 0.104528472, -1, -0, 0), 0.2)
- lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.499999911, -0.5, 0, 0, -1, 0.309017062, 0.951056957, 0, 0.951056957, -0.309017062, 0), 0.2)
- rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, 0, 1, -0.121869355, 0.99254632, 0, -0.99254632, -0.121869355, 0), 0.2)
- neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
- swait()
- else
- break
- end
- end
- end
- if animpose == "Falling" and cananim and powers then
- ls.C0 = ls.C0:Lerp(CFrame.new(-0.987813056, 0.599254608, 0, 0, 0.121869355, -0.99254632, 0, 0.99254632, 0.121869355, 1, 0, 0), 0.2)
- rs.C0 = rs.C0:Lerp(CFrame.new(0.986082673, 0.599026859, 0, 0, -0.139173135, 0.990268409, 0, 0.990268409, 0.139173135, -1, 0, 0), 0.2)
- lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.963904023, 0.0336604826, 0, 0.104528472, -0.994522035, 0.0697564557, 0.992099881, 0.1042739, 0.997564554, -0.0693743229, -0.00729153492), 0.2)
- rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0697564781, 0.997564137, -0.121869355, 0.990128577, 0.0692365244, -0.99254632, -0.121572495, -0.00850117672), 0.2)
- neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.13917312, 0.99026823, 0, 0.99026823, -0.13917312), 0.2)
- rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
- end
- end
Add Comment
Please, Sign In to add comment