Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(2)
- --[[
- Creator: NoiseHERO(Edit by RevenantOfDespa1ir, creds to AureIion_sol for the base of the edit
- here's some inf0 for anyone who cares
- Stand Name: Nuka World
- Stand User: Kuruma Kokumajutsu
- Stand Ability: [Suffer]
- The stand grabs the opponent to throw them into a hellish world for them to be tortured in for thousands of mental years years- only in reality, it's seconds.
- After that time the opponent will mot have physically kept any damage, only the memory and feeling of thousands of years of torture. Additionally, the user may choose how long mentally the opponent is in that state.
- Power - B
- Speed - A
- Range - D
- Durability - B
- Precision - A
- Potential - C
- Stand Description: This female stand has a dark silvery smooth skin with black hair, and large violet eyes. All together it has an unsettling attractiveness to it. Symbolizing the Despair the user went through, this stand has a menacing yet alluring look to it. Its armor is a dark violet with silver linings, and extends to cover the hands.
- User Description: A female with light skin, red hair, and piercing red eyes. Fairly skinny, the user has gone through intense trauma to get to where she is. The symbols on the cloth she carries represent Luna, Solaris, Elementas, and Ignis.
- --]]
- --Menacing SFX and music
- -----------------------
- local asd = game:service'Players'.LocalPlayer
- repeat wait() until asd.Character
- local asdchar = asd.Character
- local Torso = asdchar:findFirstChild("Torso")
- z = Instance.new("Sound", Torso)
- z.Name = "song"
- z.SoundId = "rbxassetid://593234841" -- Put Music ID Here.
- z.Looped = true
- z.Volume = 0
- wait(.1)
- z:Play()
- local transPoints = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(0.207, 0.594, 0.0187), NumberSequenceKeypoint.new(0.4, 0.55, 0.031), NumberSequenceKeypoint.new(0.57, 0.619, 0.05), NumberSequenceKeypoint.new(0.76, 0.8, 0.0375), NumberSequenceKeypoint.new(1, 1, 0)}
- local sizePoints = {NumberSequenceKeypoint.new(0, 1.9, 0), NumberSequenceKeypoint.new(1, 0, 0)}
- local Size = NumberSequence.new(sizePoints)
- local Transparency = NumberSequence.new(transPoints)
- efxBlock = Instance.new("Part", asdchar)
- efxBlock.CanCollide = false
- efxBlock.Material = "Neon"
- efxBlock.FormFactor = "Custom"
- efxBlock.Transparency = 1
- efxBlock.Size = Vector3.new(0.25, 0.25, 0.25)
- local mesh = Instance.new("SpecialMesh", efxBlock)
- mesh.MeshType = Enum.MeshType.Sphere
- mesh.Scale = Vector3.new(1, 1, 1)
- local particles = Instance.new("ParticleEmitter", efxBlock)
- particles.LightEmission = 0
- particles.Size = Size
- particles.Name = "Fire"
- particles.Transparency = Transparency
- particles.LockedToPart = false
- particles.VelocityInheritance = -0.5
- particles.LockedToPart = false
- particles.Rate = 1.2
- particles.Texture = "rbxassetid://0"
- particles.Lifetime = NumberRange.new(3, 3)
- particles.Speed = NumberRange.new(5, 5)
- particles.VelocitySpread = 25
- local offset = Vector3.new(-0.11, 0.23,-0.5)
- local weld = Instance.new("Weld", asdchar.Head)
- weld.Part0 = asdchar.Head
- weld.Part1 = efxBlock
- weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40), math.rad(40), math.rad(40))
- ---Declarations
- local Cn=CFrame.new
- local CA=CFrame.Angles
- local mr=math.rad
- local rn=math.random
- local mc=math.cos
- local Vn=Vector3.new
- local NR=NumberRange.new
- local NSeq=NumberSequence.new
- local plrs=game:service"Players"
- local wrk=game:service"Workspace"
- local deb=game:service"Debris"
- local IS=game:GetService("InsertService")
- local p=plrs.LocalPlayer
- local cam=wrk.CurrentCamera
- local char=p.Character
- local mouse=p:GetMouse()
- local lam=char["Left Arm"]
- local ram=char["Right Arm"]
- local llg=char["Left Leg"]
- local rlg=char["Right Leg"]
- local hed=char.Head
- local tor=char.Torso
- local larm = lam
- local rarm = ram
- local lleg = llg
- local rleg = rlg
- local torso = tor
- local hrp=char.HumanoidRootPart
- local PlayerSpeed = char.Humanoid.WalkSpeed
- local on=false
- local noRig=false
- local curws=24
- local sine=0
- local ift={}
- local ifxd=false
- local run=false
- local stance="Cane"
- local Speed = 16
- local Health = 9000
- PlayerSpeed = 24
- ypcall(function()
- char.Shirt:Destroy()
- char.Pants:Destroy()
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=249647307"--249647307
- char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=249646688"
- char.Head.face.Texture = "rbxassetid://338089686"
- char["Body Colors"].HeadColor = BrickColor.new("Light orange")
- char["Body Colors"].TorsoColor = BrickColor.new("Light orange")
- char["Body Colors"].LeftArmColor = BrickColor.new("Light orange")
- char["Body Colors"].RightArmColor = BrickColor.new("Light orange")
- char["Body Colors"].LeftLegColor = BrickColor.new("Light orange")
- char["Body Colors"].RightLegColor = BrickColor.new("Light orange")
- end)
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local trappedTorsos = {}
- for i,v in pairs(char:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(hed:children()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- ----------------------------------------------------betterhair
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- pr = Instance.new("Part",hed)
- pr.BrickColor = BrickColor.new("Crimson")
- pr.Material = "Metal"
- pr.Reflectance = 0.04
- pr.Anchored = false
- pr.CanCollide = false
- pr.Archivable = false
- pr.Locked = true
- pr.Size = Vector3.new(2,0.8,1)
- prm = Instance.new("SpecialMesh",pr)
- prm.MeshType = "FileMesh"
- prm.MeshId = "rbxassetid://430440803"
- prm.Scale = Vector3.new(.0065,.0065,.0065)
- newWeld(hed, pr, 0, 0, 0)
- pr.Weld.C1 = CFrame.new(.1,1.12,0) * CFrame.Angles(0,4.5,0)
- ----------------------------------------------------
- ---Functions
- function FndHm(flnm)
- for i,v in pairs(flnm:GetChildren()) do
- if v:IsA("Humanoid") then
- return v
- end
- end
- end
- local hum=FndHm(char)
- --hum.Name=""
- function chrDes(inst)
- local ret=nil
- for _,v in pairs(game.Players:GetChildren()) do
- if inst:IsDescendantOf(v) then
- ret=v
- break
- end
- end
- return ret
- end
- fat = Instance.new("BindableEvent", script)
- fat.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.033333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end
- )
- -------------------------
- --[[Magik = function()
- Spawn(function()
- local lerp = function(a, b, c)
- return a + (b - a) * c
- end
- local rndRange = function(rng)
- return math.random(-rng * 1000, rng * 1000) / 1000
- end
- local magik = Instance.new("Part", lleg)
- local Colors = {"Dark indigo", "Crimson"}
- magik.Anchored = true
- magik.Locked = true
- magik.FormFactor = "Custom"
- magik.Material = "Neon"
- magik.Size = Vector3.new(1.2, 1.2, 1.2)
- magik.TopSurface = "Smooth"
- magik.Transparency = 0
- magik.BottomSurface = "Smooth"
- magik.CanCollide = false
- magik.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
- local mr = math.rad
- local rnx, rny, rnz = mr(rndRange(180)), mr(rndRange(180)), mr(rndRange(180))
- local cf = larm.CFrame * CFrame.new(0, -0.8, 0) * CFrame.Angles(rnx, rny, rnz)
- magik.CFrame = cf
- for i = 0, 1, 0.05 do
- local newTrans = lerp(0.5, 1, i)
- local ns = lerp(1, 1.2, i)
- magik.Transparency = newTrans
- magik.Size = Vector3.new(ns, ns, ns)
- magik.CFrame = cf
- fat.Event:wait()
- end
- magik:Destroy()
- end
- )
- end
- --
- function get(a)
- local cont={}
- for i,v in pairs(a:GetChildren()) do
- if v==char then
- else
- table.insert(cont,v)
- pcall(function()
- for _,b in pairs(get(v)) do
- table.insert(cont,b)
- end
- end)
- end
- end
- return cont
- end
- for _,v in pairs(get(game.Workspace)) do
- if v:IsA("Sparkles") or v:IsA("Fire") then
- v:Destroy()
- end
- end
- ]]--
- --
- function inT(qur,tbl)
- local a=false
- for i,v in pairs(tbl) do
- if v==qur then
- a=true
- break
- else
- a=false
- end
- end
- return a
- end
- --
- function Tween(a,b,c)
- return a+(b-a)*c
- end
- --
- function Avg(a,b)
- return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
- end
- --
- function Lerp(c1,c2,tim)
- local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()}
- local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i]=v+(com2[i]-v)*tim
- end
- return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
- end
- function RLerp(c1,c2,tim)
- return c1:lerp(c2,tim)
- end
- --
- function ALerp(c1,c2,tim)
- local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i]=v+(com2[i]-v)*tim
- end
- return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
- end
- --
- function Lerprs(ud,ud2,al)
- local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset
- local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset
- local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al)
- return UDim2.new(x,y,z,w)
- end
- --
- function newAnim(wld)
- local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;}
- asd.getFrames=function()
- local num=0
- for _,v in pairs(asd) do
- pcall(function()
- num=num+v.Length
- end)
- end
- return num
- end
- return asd
- end
- --
- function newKF(tab,c0,lng,off)
- off=off or 1
- table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off})
- end
- --
- function runKF(tab)
- tab.Int=tab.Int+1
- if tab.Int>=tab[tab.Frame].Length then
- tab.Frame=tab.Frame+1
- tab.Int=0
- if tab.Frame>#tab then
- tab.Frame=1
- end
- end
- tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int)
- end
- --
- function nwPrt(prnt,siz,cf,col)
- local prt=Instance.new("Part")
- prt.Parent=prnt
- prt.FormFactor=3
- prt.Name="Part"
- prt.Size=siz
- prt.CanCollide=false
- prt.Anchored=true
- prt.Locked=true
- prt.TopSurface=10
- prt.BottomSurface=10
- prt.FrontSurface=10
- prt.BackSurface=10
- prt.LeftSurface=10
- prt.RightSurface=10
- prt:BreakJoints()
- prt.CFrame=cf or CFrame.new(30,10,30)
- prt.Material="SmoothPlastic"
- prt.BrickColor=BrickColor.new(col)
- m=Instance.new("SpecialMesh",prt)
- m.MeshType=6
- return prt
- end
- --
- function nwWdg(prnt,siz,cf,col)
- local prt=Instance.new("WedgePart")
- prt.Parent=prnt
- prt.FormFactor=3
- prt.Name="Part"
- prt.Size=siz
- prt.CanCollide=false
- prt.Anchored=false
- prt.Locked=true
- prt.TopSurface=0
- prt.BottomSurface=0
- prt:BreakJoints()
- prt.CFrame=cf or CFrame.new(30,10,30)
- prt.Material="SmoothPlastic"
- prt.BrickColor=BrickColor.new(col)
- return prt
- end
- --
- function newGui(prnt,clsnm,siz,pos,bsp,bc,bt)
- local gui=Instance.new(clsnm,prnt)
- gui.Size=siz or UDim2.new(0,100,0,100)
- gui.Position=pos or UDim2.new(0,0,0,0)
- gui.BorderSizePixel=bsp or 0
- gui.BackgroundColor3=bc or Color3.new(0,0,0)
- gui.BackgroundTransparency=bt or 1
- return gui
- end
- --
- function nwWld(wp0,wp1,wc0)
- wld = Instance.new("Weld",wp1)
- wld.Part0=wp0
- wld.Part1=wp1
- wld.C0=wc0 or Cn(0,0,0)
- return wld
- end
- --
- function nwSnd(prnt,pch,vol,id)
- local s=Instance.new("Sound",prnt)
- s.Pitch=pch
- s.Volume=vol
- s.SoundId="rbxassetid://"..id
- s.PlayOnRemove=true
- return s
- end
- --
- function newRay(start,face,range,wat)
- local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
- hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
- return rey,hit,pos
- end
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- TfwTimeStopped = false
- function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Accessory" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then
- if hit.Parent.DebounceHit.Value==true then
- return
- end
- end
- --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- --hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- --h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- --h:TakeDamage(Damage)
- if TfwTimeStopped == false then
- h.Health=h.Health-Damage
- ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
- elseif TfwTimeStopped == true then
- repeat wait() until TfwTimeStopped == false
- h.Health=h.Health.Damage
- ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
- end
- else
- h.Health=h.Health-(Damage/2)
- ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=500
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type == "[Nuka World]" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=500
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- wait(3)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- --vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,60,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- local Targetting = false
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- local targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- local targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- local debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- end
- end
- ---------------------------------------------EXPLODE---------------------------------------
- p = game.Players.LocalPlayer
- char = p.Character
- pchar = p.Character
- as=0.3
- explode = true
- tra = 0.1
- blast = true
- player = p
- humanoid = char.Humanoid
- torso = char.Torso
- torsoj = char.HumanoidRootPart.RootJoint
- original = torsoj.C0
- laser = true
- active= false
- rad = math.rad
- LerpTo = { -- this is where your lerp stuff would go if you had more than one arm to lerp
- RightArm = CFrame.new(1,0.5,0);
- LeftArm = CFrame.new(-1,0.5,0);
- LeftLeg = CFrame.new(-0.5,-0.5,0);
- RightLeg = CFrame.new(0.5,-0.5,0);
- Body = CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),0,math.rad(0));
- Head = CFrame.new(0,1.5,0);
- }
- --------------------------------------------------------------------
- m = p:GetMouse()
- -----------------------------------------------------------------
- ----------------------------------------------------
- mouse.KeyDown:connect(function(k)
- if k == "h" then
- if explode == true then
- explode = false
- laser = false
- active = true
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- LerpTo.Body = original * CFrame.new(0,0,5)
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(90),0,math.rad(60))
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.rad(90),0,math.rad(-60))
- LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(-10),0,0)
- LerpTo.LeftLeg = CFrame.new(-0.5,0.7,-1) * CFrame.Angles(rad(-20),0,0)
- LerpTo.RightLeg = CFrame.new(0.5,0.7,-1) * CFrame.Angles(rad(-20),0,0)
- for i = 1,10 do
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Dark indigo")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 1
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Material = "Neon"
- rng.Position = torso.Position - Vector3.new(0,8,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId= "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(1, 1.3, 2)
- wait(0.1)
- coroutine.wrap(function()
- for i = 1, 10, 0.2 do
- rngm.Scale = Vector3.new(2 + i*4, 2 + i*4, 1)
- rng.Transparency = i/4
- wait()
- end
- wait()
- rng:Destroy()
- wait()
- end)()
- end
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(-10),0,math.rad(-20))
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.rad(-10),0,math.rad(20))
- LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(20),0,0)
- LerpTo.LeftLeg = CFrame.new(-0.5,-0.5,0) * CFrame.Angles(rad(-10),0,rad(-20))
- LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(rad(-10),0,rad(20))
- for i = 1,1 do
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Dark indigo")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Material = "Neon"
- rng.Position = torso.Position
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = Vector3.new(1, 1.3, 2)
- for i,v in pairs(workspace:children()) do
- if v:IsA("Model") and v:findFirstChild("Humanoid") then
- if v:findFirstChild("Head") and v:findFirstChild("Torso") then
- if (v:findFirstChild("Torso").Position - char.Torso.Position).magnitude < 30 then
- if v.Name ~= p.Name then
- v.Humanoid:TakeDamage(40)
- v.Humanoid.PlatformStand = true
- end
- end
- end
- end
- end
- local rng1 = Instance.new("Part", char)
- rng1.Anchored = true
- rng1.BrickColor = BrickColor.new("Dark indigo")
- rng1.CanCollide = false
- rng1.FormFactor = 3
- rng1.Name = "Ring"
- rng1.Size = Vector3.new(1, 1, 1)
- rng1.Transparency = 0
- rng1.TopSurface = 0
- rng1.BottomSurface = 0
- rng1.Material = "Neon"
- rng1.Position = torso.Position - Vector3.new(0,7,0)
- rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local rngm1 = Instance.new("SpecialMesh", rng1)
- rngm1.MeshId= "http://www.roblox.com/asset/?id=20329976"
- rngm1.Scale = Vector3.new(1, 1.3, 2)
- local rng11 = Instance.new("Part", char)
- rng11.Anchored = true
- rng11.BrickColor = BrickColor.new("Dark indigo")
- rng11.CanCollide = false
- rng11.FormFactor = 3
- rng11.Name = "Ring"
- rng11.Size = Vector3.new(1, 1, 1)
- rng11.Transparency = 0
- rng11.TopSurface = 0
- rng11.BottomSurface = 0
- rng11.Material = "Neon"
- rng11.Position = torso.Position
- rng11.CFrame = rng11.CFrame *
- CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm11 = Instance.new("SpecialMesh", rng11)
- rngm11.MeshId="http://www.roblox.com/asset/?id=3270017"
- rngm11.Scale = Vector3.new(1, 1.3, 2)
- sound = Instance.new("Sound",char.Torso)
- sound.Pitch = 1
- sound.SoundId="http://www.roblox.com/asset/?id=165970126"
- wait()
- sound:Play()
- wait(0.1)
- coroutine.wrap(function()
- for i = 1, 5, 0.2 do
- rngm.Scale = Vector3.new(2 + i*6, 2 + i*6, 2+i*6)
- rng.Transparency = i/5
- rngm1.Scale = Vector3.new(2 + i*6, 2 + i*6, 2 + i*6)
- rng1.Transparency = i/5
- rngm11.Scale = Vector3.new(2 + i*6, 2 + i*6, 0.5)
- rng11.Transparency = i/5
- wait()
- end
- wait()
- rng:Destroy()
- rng1:Destroy()
- rng11:Destroy()
- wait()
- end)()
- end
- wait(1)
- humanoid.WalkSpeed = 16
- humanoid.JumpPower = 50
- LerpTo.Body = original
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(0),0,math.rad(0))
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.rad(0),0,math.rad(0))
- LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(0),0,0)
- LerpTo.LeftLeg = CFrame.new(-0.5,-0.5,0) * CFrame.Angles(rad(0),0,rad(0))
- LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(rad(0),0,rad(0))
- wait(1)
- laser = true
- explode = true
- active = false
- end
- end
- end)
- -----------------------------------------------------
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 0))
- local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
- EffectPart.Anchored = true
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Size = UDim2.new(3, 3, 3, 3)
- BillboardGui.Adornee = EffectPart
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(3, 3, 3, 3)
- TextLabel.Text = Text
- TextLabel.TextColor3 = Color
- TextLabel.TextStrokeColor3 = BrickColor.new("Royal purple").Color
- TextLabel.TextScaled = true
- TextLabel.TextStrokeTransparency = 0
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.Parent = BillboardGui
- BillboardGui.Parent = EffectPart
- game.Debris:AddItem(EffectPart, (Time + 0.1))
- EffectPart.Parent = game:GetService("Workspace")
- Delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- TextLabel.TextStrokeTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- --[[local Player = game:service("Players").LocalPlayer
- repeat wait() until Player.Character ~= nil
- local Char = Player.Character
- local mouse = Player:GetMouse()
- local Backpack = Player.Backpack
- local PlayerGui = Player.PlayerGui
- local Camera = workspace.CurrentCamera
- local Humanoid = Char:findFirstChild("Humanoid")
- local Torso = Char:findFirstChild("Torso")
- local Head = Char:findFirstChild("Head")
- local ra = Char:findFirstChild("Right Arm")
- local la = Char:findFirstChild("Left Arm")
- local rl = Char:findFirstChild("Right Leg")
- local ll = Char:findFirstChild("Left Leg")
- local rs = Torso:findFirstChild("Right Shoulder")
- local ls = Torso:findFirstChild("Left Shoulder")
- local rh = Torso:findFirstChild("Right Hip")
- local lh = Torso:findFirstChild("Left Hip")
- local neck = Torso:findFirstChild("Neck")
- local rootpart = Char:findFirstChild("HumanoidRootPart")
- local rj = rootpart:findFirstChild("RootJoint")
- local anim = Char:findFirstChild("Animate")
- local RunService = game:GetService("RunService")
- local UIA = game:GetService("UserInputService")
- local CF = CFrame.new
- local CA = CFrame.Angles
- local FEA = CFrame.fromEulerAnglesXYZ
- local FAA = CFrame.fromAxisAngle
- local V3 = Vector3.new
- local CN = Color3.new
- local Ice = Instance.new
- local BC = BrickColor.new
- local UD2 = UDim2.new
- local C3 = Color3.new
- local MR = math.rad
- local MP = math.pi
- local MD = math.deg
- local MH = math.huge
- local MS = math.sin
- local MC = math.cos
- local MT = math.tan
- local MAS = math.asin
- local MAC = math.acos
- local MAT = math.atan
- local components = CF().components
- local State = {}
- State["Calm"] = "Active"
- function Tweenz(a,b,i)
- return a:lerp(b,i)
- end
- function Create(Instanc,prop)
- local p=Instance.new(Instanc)
- for i,v in pairs(prop) do
- p[i]=v
- end
- return p
- end
- local c0 = {
- RightArm = CF(1.5,0.5,0),
- LeftArm = CF(-1.5,0.5,0),
- RightLeg = CF(0.5,-1,0),
- LeftLeg = CF(-0.5,-1,0),
- RootJoint = CF(0,0,0),
- Neck = CF(0,1,0)
- }
- local c1 = {
- RightArm = CF(0,0.5,0),
- LeftArm = CF(0,0.5,0),
- RightLeg = CF(0,1,0),
- LeftLeg = CF(0,1,0),
- RootJoint = CF(0,0,0),
- Neck = CF(0,-0.5,0)
- }
- --RightArm = Create("Snap",{Parent=Torso,C0=c0.RightArm,C1=c1.RightArm,Part0=Torso,Part1=ra})
- --LeftArm = Create("Snap",{Parent=Torso,C0=c0.LeftArm,C1=c1.LeftArm,Part0=Torso,Part1=la})
- RightLeg = Create("Snap",{Parent=Torso,C0=c0.RightLeg,C1=c1.RightLeg,Part0=Torso,Part1=rl})
- LeftLeg = Create("Snap",{Parent=Torso,C0=c0.LeftLeg,C1=c1.LeftLeg,Part0=Torso,Part1=ll})
- neck.C0 = c0.Neck
- neck.C1 = c1.Neck
- local Spread = 12
- local Smooth = 1
- local angle = tick()
- game:GetService("RunService").Stepped:connect(function()
- local lefth = (Torso.CFrame*c0.LeftLeg)
- local righth = (Torso.CFrame*c0.RightLeg)
- angle = angle+0.2*Smooth
- local speed = V3(Torso.Velocity.X,0,Torso.Velocity.Z)
- local TiltOnAxis = (rootpart.CFrame-rootpart.CFrame.p):inverse()*speed/100
- rj.C0 = Tweenz(rj.C0,CFrame.Angles(MR(-90)+TiltOnAxis.Z,TiltOnAxis.X,MR(180)+-TiltOnAxis.X),.1)
- --[[local offset = CFrame.new(0,5,0)
- rj.C0 = CF(V3(),(mouse.hit.p-rootpart.CFrame.p).unit*100)*CFrame.Angles(MR(-90),0,MR(180))
- local h = (rootpart.CFrame*offset).p
- local d = CFrame.new(h,mouse.Hit.p)
- local e = rootpart.CFrame*CFrame.new(h)
- neck.C0 = ((d-d.p):inverse()*(e-e.p)):inverse()*CFrame.new(0,1,0)]]
- --[[local AnglePR = (righth-righth.p):inverse()*speed/100
- local AnglePL = (lefth-lefth.p):inverse()*speed/100
- if speed.magnitude < 2 then
- --RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(0,0,0),.1)
- --LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(0,0,0),.1)
- elseif speed.magnitude > 2 then
- RightLeg.C0 = Tweenz(RightLeg.C0,CF(0.5,-1+math.cos(angle)*.5,-0.2+-math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*-AnglePR.Z,AnglePR.X,math.sin(angle)*Spread*AnglePR.X),.1)
- LeftLeg.C0 = Tweenz(LeftLeg.C0,CF(-0.5,-1+-math.cos(angle)*.5,-0.2+math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,AnglePL.X,math.sin(angle)*Spread*-AnglePL.X),.1)
- --RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,0,0),.1)
- --LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(-math.sin(angle)*Spread*AnglePL.Z,0,0),.1)
- end
- end)
- ]]
- Player = p
- workspace[Player.Name].Archivable=true
- pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace})
- pchar.Parent=workspace[Player.Name]
- torso=pchar.Torso
- humane=pchar.Humanoid
- pchar.Name= "[Nuka World]"
- pl=pchar
- humane.MaxHealth=Health
- wait()
- humane.Health=Health
- humane.WalkSpeed=Speed
- pchar.Torso.song:Destroy()
- pchar.Shirt:Destroy()
- pchar.Pants:Destroy()
- pchar.Part:destroy()
- pchar.Head.face.Texture = "rbxassetid://434456664"
- shirt = Instance.new("Shirt", pchar)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", pchar)
- pants.Name = "Pants"
- pchar.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=397484122"
- pchar.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=397484220"
- for i,v in ipairs(pchar:children()) do
- if v:isA("Accessory") then
- v:remove()
- elseif v:isA('Hat') then
- v:remove()
- end
- end
- kek = Instance.new('Model',char)
- kek.Name = 'kek'
- rh = Instance.new("Part")
- rh.Parent = kek
- rh.BrickColor = BrickColor.new("Really black")
- rh.Locked = true
- rh.CanCollide = false
- mesh = Instance.new("SpecialMesh")
- rh.formFactor = "Symmetric"
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://431984625"
- mesh.Parent = rh
- local weld = Instance.new("Weld")
- weld.Parent = rh
- weld.Part0 = rh
- weld.Part1 =pchar.Head
- weld.C0 = CFrame.new(0, 1, 0.5)*CFrame.Angles(0, 3, 0)
- mesh.Scale = Vector3.new(0.005,0.005, 0.005)
- aura = Instance.new("Part", pchar)
- aura.FormFactor = "Custom"
- aura.Transparency = 1
- aura.Size = Vector3.new(0.2, 0.2, 0.2)
- aura.Name = "Aura"
- aura.Anchored = true
- aura2 = Instance.new("Part", pchar)
- aura2.FormFactor = "Custom"
- aura2.Transparency = 1
- aura2.Size = Vector3.new(0.2, 0.2, 0.2)
- aura2.Name = "Aura2"
- aura2.Anchored = true
- local w = Instance.new("Weld", torso)
- do
- w.Part0 = torso
- w.Part1 = aura
- w.C0 = CFrame.new(0, -2, 0)
- local ww = Instance.new("Weld", torso)
- ww.Part0 = torso
- ww.Part1 = aura2
- ww.C0 = CFrame.new(0, 0, 0)
- aura.Anchored = false
- aura2.Anchored = false
- local primary = Color3.new(.3,0,.3)
- local secondary = Color3.new(0, 0, 0)
- pe = Instance.new("ParticleEmitter", aura)
- pe.Texture = "http://www.roblox.com/asset/?id=656372594"
- pe.Color = ColorSequence.new(secondary, primary)
- pe.LightEmission = 0.75
- pe.Size = NumberSequence.new(15)
- pe.Transparency = NumberSequence.new(0.75)
- pe.ZOffset = 0.8
- pe.LockedToPart = true
- pe.Acceleration = Vector3.new(10, 10, 0)
- pe.Lifetime = NumberRange.new(0.25)
- pe.Speed = NumberRange.new(15)
- pe.Rotation = NumberRange.new(-10, 10)
- pe.Enabled = true
- pe.Rate = 40
- pe.VelocitySpread = 10
- pe.Name = "Charge"
- pe.Enabled = true
- se1 = {NumberSequenceKeypoint.new(0, 10, 0), NumberSequenceKeypoint.new(1, 30, 0)}
- pe2 = Instance.new("ParticleEmitter", aura2)
- pe2.Texture = "http://www.roblox.com/asset/?id="
- pe2.Color = ColorSequence.new(secondary, primary)
- pe2.LightEmission = 1
- pe2.Size = NumberSequence.new(se1)
- pe2.Transparency = NumberSequence.new(0, 0.75)
- pe2.ZOffset = 0
- pe2.LockedToPart = true
- pe2.Acceleration = Vector3.new(0, 0, 0)
- pe2.Lifetime = NumberRange.new(0.6)
- pe2.Speed = NumberRange.new(0)
- pe2.Rotation = NumberRange.new(0, 0)
- pe2.Enabled = true
- pe2.Rate = 12
- pe2.VelocitySpread = 0
- pe2.Name = "Charge"
- pe2.Enabled = true
- end
- local p = game.Players.LocalPlayer
- local char = p.Character
- b = Instance.new("Sound", pchar)
- b.Name="goob"
- b.SoundId = "rbxassetid://593234841"
- b.Looped = true
- b.Pitch = 1
- b.Volume = .7
- wait(.01)
- b:Play()
- ---Weld
- local law=nwWld(tor,lam,Cn(-1.5,0.5,0))
- law.C1=CFrame.new(0,0.5,0)
- local raw=nwWld(tor,ram,Cn(1.5,0.5,0))
- raw.C1=CFrame.new(0,0.5,0)
- local hew=nwWld(tor,hed,Cn(0,1.5,0))
- local llw=nwWld(tor,llg,Cn(-0.5,-1,0))
- llw.C1=CFrame.new(0,1,0)
- local rlw=nwWld(tor,rlg,Cn(0.5,-1,0))
- rlw.C1=CFrame.new(0,1,0)
- local tow=nwWld(hrp,tor,Cn(0,-1,0))
- tow.C1=CFrame.new(0,-1,0)
- local hrp2 = pchar.HumanoidRootPart
- local tor2 = torso
- local hed2 = pchar.Head
- local lam2=pchar["Left Arm"]
- local ram2=pchar["Right Arm"]
- local llg2=pchar["Left Leg"]
- local rlg2=pchar["Right Leg"]
- local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0))
- law2.C1=CFrame.new(0,0.5,0)
- local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0))
- raw2.C1=CFrame.new(0,0.5,0)
- local hew2=nwWld(torso,hed2,Cn(0,1.5,0))
- local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0))
- llw2.C1=CFrame.new(0,1,0)
- local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0))
- rlw2.C1=CFrame.new(0,1,0)
- local tow2=nwWld(hrp2,tor2,Cn(0,-1,0))
- tow2.C1=CFrame.new(0,-1,0)
- local laD=CFrame.new(-1.5,0.5,0)
- local raD=CFrame.new(1.5,0.5,0)
- local hD=CFrame.new(0,1.5,0)
- local tD=CFrame.new(0,-1,0)
- local llD=CFrame.new(-0.5,-1,0)
- local rlD=CFrame.new(0.5,-1,0)
- --IDLE
- --char idle
- local heid=newAnim(hew)
- newKF(heid,hD*CA(mr(0),125,0),40,0.3)
- newKF(heid,hD*CA(mr(0),125,0),40,0.3)
- local toid=newAnim(tow)
- newKF(toid,tD*Cn(0.5,-0.0125,0)*CA(mr(10),0.5,0),50,0.3)
- newKF(toid,tD*Cn(0.5,0.0125,0)*CA(mr(9),0.5,0),40,0.3)
- local laid=newAnim(law)
- newKF(laid,laD*CA(mr(-30),10,-6),25,0.4)
- newKF(laid,laD*CA(mr(-30),10,-6),25,0.4)
- local raid=newAnim(raw)
- newKF(raid,raD*CA(mr(5),-10,7),25,0.4)
- newKF(raid,raD*CA(mr(5),-10,7),25,0.4)
- local llid=newAnim(llw)
- newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(0),-50,0),50,0.3)
- newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(0),-50,mr(0)),40,0.3)
- local rlid=newAnim(rlw)
- newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(-10),-120,0),50,0.3)
- newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(-10),-120,mr(0)),40,0.3)
- --stand idle
- local heid2=newAnim(hew2)
- newKF(heid2,hD*CA(mr(0),125,0),40,0.3)
- newKF(heid2,hD*CA(mr(0),125,0),40,0.3)
- local toid2=newAnim(tow2)
- newKF(toid2,tD*Cn(0,1,1.5)*CA(mr(0),0.5,0),50,1)
- newKF(toid2,tD*Cn(0,1.1,1.5)*CA(mr(0),0.5,0),50,1)
- local laid2=newAnim(law2)
- newKF(laid2,laD*Cn(0.5,0.0125,-1)*CA(mr(80),mr(-30),mr(55)),50,0.1)
- newKF(laid2,laD*Cn(0.5,0,-1.1)*CA(mr(80),mr(-30),mr(55)),50,0.1)
- local raid2=newAnim(raw2)
- newKF(raid2,raD*CA(mr(5),-10,7),25,0.4)
- newKF(raid2,raD*CA(mr(5),-10,7),25,0.4)
- local llid2=newAnim(llw2)
- newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),-50,0),50,0.3)
- newKF(llid2,llD*Cn(0,0,0)*CA(mr(0),-50,mr(0)),50,0.3)
- local rlid2=newAnim(rlw2)
- newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(-10),-120,0),50,0.3)
- newKF(rlid2,rlD*Cn(0,0,0)*CA(mr(-10),-120,mr(0)),50,0.3)
- --Walk
- local hewk=newAnim(hew)
- newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
- newKF(hewk,hD*CA(mr(-5),mr(-3),0),13,0.4)
- newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
- newKF(hewk,hD*CA(mr(-5),mr(3),0),13,0.4)
- local towk=newAnim(tow)
- newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
- newKF(towk,tD*CA(mr(15),mr(5),0),13,0.4)
- newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
- newKF(towk,tD*CA(mr(15),mr(-5),0),13,0.4)
- local lawk=newAnim(law)
- newKF(lawk,laD*CA(mr(-30),10,-6),25,0.4)
- newKF(lawk,laD*CA(mr(-30),10,-6.2),25,0.4)
- local rawk=newAnim(raw)
- newKF(rawk,raD*CA(mr(-30),0,0),25,0.4)
- newKF(rawk,raD*CA(mr(30),0,0),25,0.4)
- local llwk=newAnim(llw)
- newKF(llwk,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llwk,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- newKF(llwk,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llwk,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- newKF(llwk,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llwk,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- newKF(llwk,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llwk,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- local rlwk=newAnim(rlw)
- newKF(rlwk,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlwk,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- newKF(rlwk,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlwk,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- newKF(rlwk,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlwk,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- newKF(rlwk,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlwk,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- --Sprint
- local hesp=newAnim(hew)
- newKF(hesp,hD*CA(mr(-5.5),0,0),12,0.4)
- newKF(hesp,hD*CA(mr(-5),mr(-3),0),13,0.4)
- newKF(hesp,hD*CA(mr(-5.5),0,0),12,0.4)
- newKF(hesp,hD*CA(mr(-5),mr(3),0),13,0.4)
- local tosp=newAnim(tow)
- newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
- newKF(tosp,tD*CA(mr(15),mr(5),0),13,0.4)
- newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
- newKF(tosp,tD*CA(mr(15),mr(-5),0),13,0.4)
- local lasp=newAnim(law)
- newKF(lasp,laD*CA(mr(-30),10,-6),25,0.4)
- newKF(lasp,laD*CA(mr(-30),10,-6.2),25,0.4)
- local rasp=newAnim(raw)
- newKF(rasp,raD*CA(mr(-30),0,0),25,0.4)
- newKF(rasp,raD*CA(mr(30),0,0),25,0.4)
- local llsp=newAnim(llw)
- newKF(llsp,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llsp,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- newKF(llsp,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llsp,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- newKF(llsp,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llsp,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- newKF(llsp,llD*Cn(0,0.0125,0)*CA(mr(15),-176.4,0),50,0.3)
- newKF(llsp,llD*Cn(0,-0.0125,0)*CA(mr(-25),-176.4,mr(0)),40,0.3)
- local rlsp=newAnim(rlw)
- newKF(rlsp,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlsp,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- newKF(rlsp,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlsp,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- newKF(rlsp,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlsp,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- newKF(rlsp,rlD*Cn(0,0.0125,0)*CA(mr(-25),-120,0),50,0.3)
- newKF(rlsp,rlD*Cn(0,-0.0125,0)*CA(mr(15),-120,mr(0)),40,0.3)
- --Freefall
- local heff=newAnim(hew)
- newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
- newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
- local toff=newAnim(tow)
- newKF(toff,tD*CA(mr(10),0,0),8,0.6)
- newKF(toff,tD*CA(mr(10),0,0),8,0.6)
- local laff=newAnim(law)
- newKF(laff,laD*CA(mr(140),0,0),16,0.4)
- newKF(laff,laD*CA(mr(140),0,0),16,0.4)
- local raff=newAnim(raw)
- newKF(raff,raD*CA(mr(140),0,0),16,0.4)
- newKF(raff,raD*CA(mr(140),0,0),16,0.4)
- local llff=newAnim(llw)
- newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
- newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
- local rlff=newAnim(rlw)
- newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
- newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
- --Time Has Stopped
- local hesp2=newAnim(hew)
- newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5)
- local tosp2=newAnim(tow)
- newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5)
- local lasp2=newAnim(law)
- newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5)
- local rasp2=newAnim(raw)
- newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5)
- local llsp2=newAnim(llw)
- newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5)
- local rlsp2=newAnim(rlw)
- newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5)
- local hesp3=newAnim(hew2)
- newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2)
- local tosp3=newAnim(tow2)
- newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4)
- local lasp3=newAnim(law2)
- newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4)
- newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4)
- local rasp3=newAnim(raw2)
- newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4)
- newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4)
- local llsp3=newAnim(llw2)
- newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4)
- local rlsp3=newAnim(rlw2)
- newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4)
- local hesp4=newAnim(hew2)
- newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2)
- local tosp4=newAnim(tow2)
- newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4)
- local lasp4=newAnim(law2)
- newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4)
- local rasp4=newAnim(raw2)
- newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4)
- local llsp4=newAnim(llw2)
- newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4)
- local rlsp4=newAnim(rlw2)
- newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4)
- --Let time flow again
- local hetoki=newAnim(hew)
- newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
- local totoki=newAnim(tow)
- newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
- local latoki=newAnim(law)
- newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4)
- local ratoki=newAnim(raw)
- newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
- local lltoki=newAnim(llw)
- newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
- local rltoki=newAnim(rlw)
- newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
- --//Example of Keyframe
- --[[
- local hesp2=newAnim(hew)
- newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
- local tosp2=newAnim(tow)
- newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4)
- local lasp2=newAnim(law)
- newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4)
- local rasp2=newAnim(raw)
- newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
- local llsp2=newAnim(llw)
- newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
- local rlsp2=newAnim(rlw)
- newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4)
- ]]
- function onDamage(Part)
- if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
- Part.Anchored = true
- if Part:findFirstChild("Mesh") ~= nil then
- z = Part:findFirstChild("Mesh")
- for i = 1,5 do
- z.Scale = z.Scale + Vector3.new(1,1,1)
- wait(0.05)
- end
- end
- end
- end
- function trappedTorsos:isTrapped(t)
- for nildata, index in next,self do
- if index==t then
- return true
- end
- end
- return false
- end
- function trappedTorsos:Capture(hit)
- if hit:isA'BasePart' then
- if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then
- table.insert(trappedTorsos, hit)
- hit.Anchored = true --trapped!
- --print'trapped!'
- end
- end
- end
- function trappedTorsos:Release()
- for i,v in next, self do
- if type(v)=='userdata' then
- if v:isA('BasePart') then
- v.Anchored = false
- self[i] = nil
- end
- end
- end
- end
- --Za Warudo
- Attacking = false
- WasOn = true
- function TheWorld(Mode)
- if Mode == "Time Stop" then
- noRig = true
- Attacking = true
- if WasOn == true and StandOn == false then
- StandOn = true
- WasOn = false
- end
- hum.WalkSpeed = 0
- for i = 1,30 do
- runKF(hesp2)
- runKF(tosp2)
- runKF(lasp2)
- runKF(rasp2)
- runKF(llsp2)
- runKF(rlsp2)
- runKF(hesp3)
- runKF(tosp3)
- runKF(lasp3)
- runKF(rasp3)
- runKF(llsp3)
- runKF(rlsp3)
- wait()
- end
- wait()
- local ZAWARUDO = Instance.new("Sound",tor)
- ZAWARUDO.SoundId = "rbxassetid://588735155"
- ZAWARUDO.Volume = 2
- ZAWARUDO.Looped = false
- ZAWARUDO:Play()
- local AreaOfEffect = Instance.new("Part",char)
- AreaOfEffect.Position = tor.Position
- AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
- AreaOfEffect.Anchored = true
- AreaOfEffect.CanCollide = false
- AreaOfEffect.BrickColor = BrickColor.new("Dark indigo")
- AreaOfEffect.Transparency = 0.9
- AreaOfEffect.Shape = "Ball"
- AreaOfEffect.Material = "Neon"
- for i = 1,10 do
- runKF(hesp4)
- runKF(tosp4)
- runKF(lasp4)
- runKF(rasp4)
- runKF(llsp4)
- runKF(rlsp4)
- wait()
- end
- for i = 1,10 do
- AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1)
- AreaOfEffect.CFrame = char.Torso.CFrame
- wait()
- end
- coroutine.wrap(function()
- do local me={}
- me.plrs = game:service'Workspace':children''
- function me:getNear(mag)
- local rtn = {}
- for k,v in next,me.plrs do
- local chxr = v
- if chxr then
- if chxr:findFirstChild'Torso' then
- local pos = (chxr.Torso.Position-tor.Position).magnitude
- if pos<=mag then
- for a,b in pairs(chxr:children()) do
- if b:IsA("BasePart") then
- table.insert(rtn, b)
- end
- end
- end
- end
- end
- end
- return rtn
- end
- for no, torso in ipairs(me:getNear(25)) do
- --print(torso:GetFullName())
- --print(torso:GetFullName())
- trappedTorsos:Capture(torso)
- end
- end
- end)()
- AreaOfEffect:Destroy()
- workspace.Gravity = 70
- for i,v in pairs(char:children()) do
- if v:IsA("Part") then
- v.Anchored = false
- end
- if v:IsA("Accessory") then
- v.Handle.Anchored = false
- end
- end
- for i,v in pairs(pchar:children()) do
- if v:IsA("Part") then
- v.Anchored = false
- end
- if v:IsA("Accessory") then
- v.Handle.Anchored = false
- end
- end
- if WasOn == false then
- StandOn = false
- WasOn = true
- end
- hum.WalkSpeed = 24
- noRig = false
- Attacking = false
- end
- if Mode == "World Time Stop" then
- noRig = true
- Attacking = true
- if WasOn == true and StandOn == false then
- StandOn = true
- WasOn = false
- end
- hum.WalkSpeed = 0
- for i = 1,30 do
- runKF(hesp2)
- runKF(tosp2)
- runKF(lasp2)
- runKF(rasp2)
- runKF(llsp2)
- runKF(rlsp2)
- runKF(hesp3)
- runKF(tosp3)
- runKF(lasp3)
- runKF(rasp3)
- runKF(llsp3)
- runKF(rlsp3)
- wait()
- end
- wait()
- local ZAWARUDO = Instance.new("Sound",tor)
- ZAWARUDO.SoundId = "rbxassetid://588735155"
- ZAWARUDO.Volume = 2
- ZAWARUDO.Looped = false
- ZAWARUDO:Play()
- local AreaOfEffect = Instance.new("Part",char)
- AreaOfEffect.Position = tor.Position
- AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
- AreaOfEffect.Anchored = true
- AreaOfEffect.CanCollide = false
- AreaOfEffect.BrickColor = BrickColor.new("Dark indigo")
- AreaOfEffect.Transparency = 0.9
- AreaOfEffect.Shape = "Ball"
- AreaOfEffect.Material = "Neon"
- for i = 1,10 do
- runKF(hesp4)
- runKF(tosp4)
- runKF(lasp4)
- runKF(rasp4)
- runKF(llsp4)
- runKF(rlsp4)
- wait()
- end
- for i = 1,10 do
- AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1)
- AreaOfEffect.CFrame = char.Torso.CFrame
- wait()
- end
- coroutine.wrap(function()
- do local me={}
- me.plrs = game:service'Workspace':children''
- function me:getNear(mag)
- local rtn = {}
- for k,v in next,me.plrs do
- local chxr = v
- if chxr then
- if chxr:findFirstChild'Torso' then
- local pos = (chxr.Torso.Position-tor.Position).magnitude
- if pos<=mag then
- for a,b in pairs(chxr:children()) do
- if b:IsA("BasePart") then
- table.insert(rtn, b)
- end
- end
- end
- end
- end
- end
- return rtn
- end
- for no, torso in ipairs(me:getNear(5555)) do
- --print(torso:GetFullName())
- --print(torso:GetFullName())
- trappedTorsos:Capture(torso)
- end
- end
- end)()
- AreaOfEffect:Destroy()
- workspace.Gravity = 70
- for i,v in pairs(char:children()) do
- if v:IsA("Part") then
- v.Anchored = false
- end
- if v:IsA("Accessory") then
- v.Handle.Anchored = false
- end
- end
- for i,v in pairs(pchar:children()) do
- if v:IsA("Part") then
- v.Anchored = false
- end
- if v:IsA("Accessory") then
- v.Handle.Anchored = false
- end
- end
- if WasOn == false then
- StandOn = false
- WasOn = true
- end
- hum.WalkSpeed = 24
- noRig = false
- Attacking = false
- end
- if Mode == "Time Start" then
- local Toki = Instance.new("Sound",tor)
- Toki.SoundId = "rbxassetid://588718963"
- Toki.Volume = 1
- Toki.Looped = false
- Toki:Play()
- local AreaOfEffect2 = Instance.new("Part",tor)
- AreaOfEffect2.Position = tor.Position
- AreaOfEffect2.Size = Vector3.new(0.01,0.01,0.01)
- AreaOfEffect2.Anchored = true
- AreaOfEffect2.CanCollide = false
- AreaOfEffect2.Transparency = 1
- AreaOfEffect2.BrickColor = BrickColor.new("Dark indigo")
- AreaOfEffect2.Transparency = 0.99
- AreaOfEffect2.Shape = "Ball"
- AreaOfEffect2.Material = "Neon"
- AreaOfEffect2.Touched:connect(function(hit)
- if hit ~= "Base" then
- --hit.Anchored = false
- end
- end)
- for i = 1,10 do
- AreaOfEffect2.Size = AreaOfEffect2.Size + Vector3.new(4.1,4.1,4.1)
- AreaOfEffect2.CFrame = char.Torso.CFrame
- wait()
- end
- trappedTorsos:Release()
- AreaOfEffect2:Destroy()
- TfwTimeStopped = false
- workspace.Gravity = 196.2
- end
- if Mode == "Wry" then
- local WWRRRYYYYY = Instance.new("Sound",tor)
- WWRRRYYYYY.SoundId = "rbxassetid://240429289"
- WWRRRYYYYY.Volume = 1
- WWRRRYYYYY.Looped = false
- WWRRRYYYYY:Play()
- end
- end
- Rapid = false
- TimeStopped = false
- OneSecond = false
- Cha = char
- Character = char
- it=Instance.new
- vt=Vector3.new
- cn=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- RootPart = hrp
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if TimeStopped == false and Attacking == false then
- TheWorld("Time Stop")
- TimeStopped = true
- TfwTimeStopped = true
- local l = game.Lighting
- local sky = Instance.new("Sky", l)
- sky.CelestialBodiesShown = false
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=150281446"
- sky.SkyboxDn = "http://www.roblox.com/asset/?id=150281418"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=150281461"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=150281400"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=150281426"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=150281471"
- sky.StarCount = 0
- sky.Name = "GreenSpace"
- game.Lighting.Brightness = .01
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.OutdoorAmbient = Color3.new(5,0,0)
- game.Lighting.FogEnd = 50
- wait(666)
- if TimeStopped == true then
- TheWorld("Time Start")
- TimeStopped = false
- game.Lighting.GreenSpace:Destroy()
- game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
- game.Lighting.FogEnd = 10000000000000000
- game.Lighting.Brightness = .1
- end
- elseif TimeStopped == true and Attacking == false then
- TheWorld("Time Start")
- TimeStopped = false
- game.Lighting.GreenSpace:Destroy()
- game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
- game.Lighting.FogEnd = 10000000000000000
- game.Lighting.Brightness = .1
- end
- end
- if key == "f" then
- if StandOn then
- StandOn = false
- else
- StandOn = true
- TheWorld("Wry")
- end
- end
- if key == "t" and OneSecond == false then
- OneSecond = true
- for i, v in pairs(Cha:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Accessory') then
- v.Handle.Transparency=1
- end
- end
- Cha.Head.Transparency = 0.2
- Cha.Torso.Transparency = 0.2
- Cha["Right Arm"].Transparency = 0.2
- Cha["Left Arm"].Transparency = 0.2
- Cha["Right Leg"].Transparency = 0.2
- Cha["Left Leg"].Transparency = 0.2
- wait()
- Cha.Head.Transparency = 0.4
- Cha.Torso.Transparency = 0.4
- Cha["Right Arm"].Transparency = 0.4
- Cha["Left Arm"].Transparency = 0.4
- Cha["Right Leg"].Transparency = 0.4
- Cha["Left Leg"].Transparency = 0.4
- wait()
- Cha.Head.Transparency = 0.6
- Cha.Torso.Transparency = 0.6
- Cha["Right Arm"].Transparency = 0.6
- Cha["Left Arm"].Transparency = 0.6
- Cha["Right Leg"].Transparency = 0.6
- Cha["Left Leg"].Transparency = 0.6
- wait()
- Cha.Head.Transparency = 0.8
- Cha.Torso.Transparency = 0.8
- Cha["Right Arm"].Transparency = 0.8
- Cha["Left Arm"].Transparency = 0.8
- Cha["Right Leg"].Transparency = 0.8
- Cha["Left Leg"].Transparency = 0.8
- wait()
- Cha.Head.Transparency = 1
- Cha.Torso.Transparency = 1
- Cha["Right Arm"].Transparency = 1
- Cha["Left Arm"].Transparency = 1
- Cha["Right Leg"].Transparency = 1
- Cha["Left Leg"].Transparency = 1
- Targ = CFrame.new(Vector3.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z))
- Player.Character.Torso.CFrame = Targ
- wait()
- for i, v in pairs(Cha:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Accessory') then
- v.Handle.Transparency=0
- end
- end
- Cha.Head.Transparency = 0.8
- Cha.Torso.Transparency = 0.8
- Cha["Right Arm"].Transparency = 0.8
- Cha["Left Arm"].Transparency = 0.8
- Cha["Right Leg"].Transparency = 0.8
- Cha["Left Leg"].Transparency = 0.8
- wait()
- Cha.Head.Transparency = 0.6
- Cha.Torso.Transparency = 0.6
- Cha["Right Arm"].Transparency = 0.6
- Cha["Left Arm"].Transparency = 0.6
- Cha["Right Leg"].Transparency = 0.6
- Cha["Left Leg"].Transparency = 0.6
- wait()
- Cha.Head.Transparency = 0.4
- Cha.Torso.Transparency = 0.4
- Cha["Right Arm"].Transparency = 0.4
- Cha["Left Arm"].Transparency = 0.4
- Cha["Right Leg"].Transparency = 0.4
- Cha["Left Leg"].Transparency = 0.4
- wait()
- Cha.Head.Transparency = 0.2
- Cha.Torso.Transparency = 0.2
- Cha["Right Arm"].Transparency = 0.2
- Cha["Left Arm"].Transparency = 0.2
- Cha["Right Leg"].Transparency = 0.2
- Cha["Left Leg"].Transparency = 0.2
- wait()
- Cha.Head.Transparency = 0
- Cha.Torso.Transparency = 0
- Cha["Right Arm"].Transparency = 0
- Cha["Left Arm"].Transparency = 0
- Cha["Right Leg"].Transparency = 0
- Cha["Left Leg"].Transparency = 0
- wait()
- OneSecond = false
- end
- if key == "v" then
- Rapid = true
- local ORA = Instance.new("Sound",char)
- ORA.SoundId = "rbxassetid://391416312"
- ORA.Volume = .5
- ORA.Looped = true
- ORA.Pitch = 1.5
- ORA:Play()
- Attacking = true
- con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"[Nuka World]",RootPart,.2,1) end)
- con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,2,3,math.random(0,0),"[Nuka World]",RootPart,.2,1) end)
- while Rapid == true do
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
- wait()
- end
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
- wait()
- end
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
- wait()
- end
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
- wait()
- end
- end
- con1:disconnect()
- con2:disconnect()
- local MIDORA = Instance.new("Sound",char)
- MIDORA.SoundId = "rbxassetid://391416312"
- MIDORA.Looped = false
- MIDORA.Volume = .6
- MIDORA:Play()
- ORA:Stop()
- Attacking = false
- end
- if key == "e" then
- if StandOn == true then
- Rapid = true
- local ORA = Instance.new("Sound",char)
- ORA.SoundId = "rbxassetid://391416312"
- ORA.Volume = .5
- ORA.Looped = true
- ORA.Pitch = 1.5
- ORA:Play()
- Attacking = true
- con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,3,5,math.random(0,0),"Normal",RootPart,.2,1) end)
- con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,5,3,math.random(0,0),"Normal",RootPart,.2,1) end)
- while Rapid == true do
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
- wait()
- end
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
- wait()
- end
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
- wait()
- end
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
- wait()
- end
- end
- con1:disconnect()
- con2:disconnect()
- local MIDORA = Instance.new("Sound",char)
- MIDORA.SoundId = "rbxassetid://391416312"
- MIDORA.Looped = false
- MIDORA.Volume = .6
- MIDORA:Play()
- ORA:Stop()
- Attacking = false
- end
- end
- if key == "r" and Attacking == false then
- con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,32,40,math.random(12,12),"Knockdown",RootPart,.2,1) end)
- Attacking = true
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
- wait()
- end
- local MIDORA = Instance.new("Sound",char)
- MIDORA.SoundId = "rbxassetid://588695064"
- MIDORA.Volume = .6
- MIDORA.Looped = false
- MIDORA:Play()
- wait(1)
- con1:disconnect()
- Attacking = false
- end
- if key == "g" and Attacking == false then
- con1 = ram2.Touched:connect(function(hit)
- Damagefunc(torso,hit,5,15,math.random(35,40),"[Nuka World]",RootPart,.2,1)
- end)
- Attacking = true
- for i = 1, 3 do
- raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
- law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
- hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
- tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
- llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
- rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
- wait()
- end
- local MIDORA = Instance.new("Sound",char)
- MIDORA.SoundId = "rbxassetid://588695064"
- MIDORA.Volume = .6
- MIDORA.Looped = false
- MIDORA:Play()
- wait(1)
- con1:disconnect()
- Attacking = false
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "e" and Rapid == true or key == "v" and Rapid == true then
- Rapid = false
- end
- end)
- pchar["Body Colors"].HeadColor = BrickColor.new("Mid gray")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Mid gray")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Mid gray")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Mid gray")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Mid gray")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Mid gray")
- -------------------------------Sprint
- mouse.KeyDown:connect(function(key)
- if string.byte(key) == 60 then
- hum.WalkSpeed = 60
- end
- end)
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 60 then
- hum.WalkSpeed=24
- end
- end)
- -------------------------------------
- hum.FreeFalling:connect(function(f)
- if f then
- ffing=true
- else
- ffing=false
- end
- end)
- StandOn = false
- local hrprv=0
- angle = 0
- angle2 = 0
- angle3 = 0
- anglespeed = 2
- anglespeed2 = 1
- anglespeed3 = .4
- MyHealth = hum.Health
- MyMaxHealth = hum.MaxHealth
- MyMaxHealth = humane.Health
- MyHealth = humane.Health
- humane.Name = "The Worldo"
- game:GetService("RunService").Stepped:connect(function()
- angle = ((angle % 100) + anglespeed/10)
- angle2 = ((angle2 % 100) + anglespeed2/10)
- angle3 = ((angle3 % 100) + anglespeed3/10)
- hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4)
- sine=sine+1
- if StandOn == false then
- for i,v in pairs(pchar:children()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 1
- end
- end
- for i,v in pairs(kek:children()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 1
- end
- end
- pchar.Aura.Charge.Texture = "http://www.roblox.com/asset/?id=0"
- pchar.Head.face.Texture = 'rbxassetid://0'
- elseif StandOn == true then
- for i,v in pairs(pchar:children()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0
- end
- end
- pchar.Aura.Charge.Texture = "http://www.roblox.com/asset/?id=656372594"
- for i,v in pairs(kek:children()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0
- end
- end
- pchar.Head.face.Texture = 'rbxassetid://434456664'
- end
- MyHealth = humane.Health
- humane.Health = MyHealth
- if hum.Sit==true then
- animpose="Sitting"
- elseif ffing==true then
- animpose="Freefalling"
- elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then
- animpose="Idle"
- elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then
- animpose="Walking"
- elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then
- animpose="Sprinting"
- end
- if Attacking == false then
- torso.CFrame = hrp.CFrame*CFrame.new(0,0,2)
- runKF(heid2)
- runKF(toid2)
- runKF(laid2)
- runKF(raid2)
- runKF(llid2)
- runKF(rlid2)
- end
- if noRig==false then
- if animpose=="Idle" then
- runKF(heid)
- runKF(toid)
- runKF(laid)
- runKF(raid)
- runKF(llid)
- runKF(rlid)
- elseif animpose=="Walking" then
- runKF(hewk)
- runKF(towk)
- runKF(lawk)
- runKF(rawk)
- runKF(llwk)
- runKF(rlwk)
- --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4)
- --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4)
- ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4)
- elseif animpose=="Sprinting" then
- runKF(hesp)
- runKF(tosp)
- runKF(lasp)
- runKF(rasp)
- runKF(llsp)
- runKF(rlsp)
- --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
- --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4)
- --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4)
- elseif animpose=="Freefalling" then
- runKF(heff)
- runKF(toff)
- runKF(laff)
- runKF(raff)
- runKF(llff)
- runKF(rlff)
- --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
- end
- end
- end)
- --[[Spawn(function()
- while wait(0.1) do
- Magik()
- end
- end
- )]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement