Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --game:service'Players'.localPlayer.Character:FindFirstChildOfClass'Humanoid'.Health = 1
- -- THE REANIMATED V2 --
- -- CREATED BY DJPOOTIS2 --
- -- CREDIT TO QUIL_CYNDAQUIL FOR THE ORIGINAL REANIMATED --
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- wait(0.2)
- print'pls no leek kthx'
- local Effects = {};
- local Player = owner
- local Character = Player.Character;
- local UID = Player.UserId;
- local Humanoid = Character:FindFirstChildOfClass"Humanoid"
- local Render = game:service'RunService'.Heartbeat;
- local animSpeed = 1;
- local change = 2 / animSpeed;
- local PlayerSize = 1; -- For Scaling
- local Timer = 0;
- local RootPart = Character['HumanoidRootPart']
- local Torso = Character['Torso']
- local LeftArm = Character['Left Arm']
- local RightArm = Character['Right Arm']
- local LeftLeg = Character['Left Leg']
- local RightLeg = Character['Right Leg']
- local Head = Character['Head']
- local Blocking = false
- local Staggered = false
- local sine,Sine = Timer,Timer;
- local AAA = false
- local FX = Instance.new("Folder",Character)
- FX.Name = "Effects"
- repeat wait() until Humanoid.Health < 50
- function clerp(A,B,C)
- return A:lerp(B,C / animSpeed)
- end
- local SpecialKeys = {
- [48] = "LShift",
- [13] = "Enter",
- [32] = "Space",
- [47] = "RShift",
- [92] = "Backslash",
- [50] = "LCtrl",
- [52] = "LAlt",
- [49] = "RCtrl",
- [51] = "RAlt",
- [8] = "Backspace",
- [45] = "CapsLock"
- }
- function Create(cl)
- local inst = Instance.new(cl)
- return function(prop)
- for i,v in next, prop do
- pcall(function()
- inst[i] = v
- end)
- end
- return inst
- end, inst
- end
- function BlockEffect(CFram,initSize,initTrans,BC,sizeInc,transInc,maxTime)
- local Block = Create("Part"){
- Size = initSize,
- Parent = FX,
- Transparency = initTrans,
- Anchored = true,
- CanCollide = false,
- BrickColor = BC,
- TopSurface=10,
- BottomSurface=10,
- CFrame = CFram
- }
- table.insert(Effects,{"Block1",Block,sizeInc,transInc,time(),maxTime,CFram})
- end
- function replaceWeld(weld)
- assert(pcall(function()
- assert(game.IsA(weld,'Instance'))
- end),'Should be ROBLOX instance')
- if weld:IsA"Motor6D" or weld:IsA"Weld" then
- local w = Instance.new("Weld",weld.Parent)
- w.Part0 = weld.Part0;
- w.Part1 = weld.Part1;
- w.Name = weld.Name;
- w.C0 = weld.C0;
- w.C1 = weld.C1;
- return w;
- end
- return nil
- end
- local Sounds = {
- Splatter = "http://www.roblox.com/asset/?id=206082327",
- Charge = "http://www.roblox.com/asset/?id=136007472"
- }
- local Abcd = {}
- for i,v in next, Character:children() do
- for _,w in next, v:children() do
- if w:IsA"Weld" or w:IsA"Motor6D" then
- Abcd[w.Name] = {w,w.Parent}
- end
- end
- end
- for i,v in next, Abcd do v[1].Parent = v[2] end
- local Welds = {
- RS = replaceWeld(Abcd['Right Shoulder'][1]),
- LS = replaceWeld(Abcd['Left Shoulder'][1]),
- RH = replaceWeld(Abcd['Right Hip'][1]),
- LH = replaceWeld(Abcd['Left Hip'][1]),
- NK = replaceWeld(Abcd['Neck'][1]),
- --RJ = Abcd['RootJoint'][1]
- RJ = replaceWeld(Abcd['RootJoint'][1])
- }
- Welds.RJ.C0 = CFrame.new(0,0,0);
- Welds.RJ.C1 = CFrame.new(0,0,0);
- Welds.RS.C0 = CFrame.new(1 * PlayerSize,0.5 * PlayerSize,0)
- Welds.RS.C1 = CFrame.new(-0.5 * PlayerSize,0.5 * PlayerSize,0)
- Welds.LS.C0 = CFrame.new(-1 * PlayerSize,0.5 * PlayerSize,0)
- Welds.LS.C1 = CFrame.new(0.5 * PlayerSize,0.5 * PlayerSize,0)
- Welds.RH.C0 = CFrame.new(1 * PlayerSize,-1 * PlayerSize,0)
- Welds.RH.C1 = CFrame.new(0.5 * PlayerSize,1 * PlayerSize,0)
- Welds.LH.C0 = CFrame.new(-1 * PlayerSize,-1 * PlayerSize,0)
- Welds.LH.C1 = CFrame.new(-0.5 * PlayerSize,1 * PlayerSize,0)
- Welds.NK.C0 = CFrame.new(0 * PlayerSize,1 * PlayerSize,0)
- Welds.NK.C1 = CFrame.new(0 * PlayerSize,-0.5 * PlayerSize,0)
- local Nibba = {};
- for i,v in next, Welds do Nibba[i] = {C0 = v.C0, C1 = v.C1} end
- -- intro
- Humanoid.MaxHealth = 100000
- wait()
- Humanoid.Health = 100000
- local MiscFunctions = {
- RayC = function(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end,
- GetKey = function(Key)
- local ByteKey = string.byte(Key)
- if SpecialKeys[ByteKey] then
- return SpecialKeys[ByteKey]
- else
- return Key
- end
- end
- }
- local truflyposy = Torso.Position.Y+15
- local flyposy = truflyposy
- local bodfly = Instance.new("BodyPosition", Torso)
- bodfly.Name = "Fly"
- bodfly.maxForce = Vector3.new(0,10000,0)
- bodfly.Position = Vector3.new(0,flyposy,0)
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local currentHealth = Humanoid.Health
- local Block = New("BoolValue",Character,"Block",{Value=false})
- local Stagger = New("BoolValue",Character,"Stagger",{Value=false})
- local Dam = 0;
- Block.Changed:connect(function(v)
- Blocking = v
- if v == true then
- currentHealth=Humanoid.Health
- end
- end)
- local s = Instance.new("Sound",Torso)
- s.Name = "Reanimate"
- s.Volume = 1--a
- s.Pitch = 0.66
- s.Looped = true
- s.SoundId = "rbxassetid://450193952"
- s:Play()
- local Shield = New("Part",Character,"Shield",{Transparency=1,BrickColor = BrickColor.new"Really black",Size = Vector3.new(10,10,10),CanCollide=false,Anchored=true})
- local ShieldMesh = Create("SpecialMesh"){Parent=Shield,MeshType=Enum.MeshType.Sphere}
- local Debounces = {
- CanAttack = true;
- StopAnims = false;
- Height = 15;
- Target = nil;
- Form = 1
- }
- function NewSound(id,parent,vol,pitch,autoDel)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pitch or 1,
- SoundId = id,
- Parent = parent or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, S.TimeLength+1)
- end))
- end
- local nametag = Instance.new("BillboardGui",Character.Head)
- nametag.StudsOffset = Vector3.new(0,2,0)
- nametag.Adornee = Character.Head
- nametag.Size = UDim2.new(0,200,0,50)
- local text = Instance.new("TextLabel",nametag)
- text.Size = UDim2.new(0,200,0,50)
- text.BackgroundTransparency = 1
- text.Text = "The Reanimated"
- text.TextColor3 = Color3.new(180/255,0,0)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- text.Font = Enum.Font.Fantasy
- text.TextScaled = true
- text.TextStrokeTransparency = 0
- Stagger.Changed:connect(function(v)
- if v == true and Staggered == false then
- Blocking = false
- Block.Value = false
- Shield.Transparency = 1;
- coroutine.wrap(function()
- Staggered = true
- local tPos
- coroutine.wrap(function()
- for i = 5, 0, -.1 do
- s.Volume = i;
- wait()
- end
- tPos = s.TimePosition
- s:Stop()
- end)()
- if Humanoid.Health > 1000 then
- wait(math.random(5,8))
- Staggered = false
- Stagger.Value = false
- Humanoid.WalkSpeed = 16;
- Humanoid.JumpPower = 50;
- s.Volume = 5
- s.Playing = true
- s.TimePosition = tPos
- elseif Debounces.Form == 1 then
- Humanoid.MaxHealth = math.huge
- wait(2)
- for i = 1, 3 do
- local pitch = 1
- if i > 1 then pitch = 1 + (i/10)-.1 end
- NewSound(Sounds.Charge,Character,10,pitch)
- BlockEffect(Torso.CFrame,Vector3.new(2,2,2),0,BrickColor.new'Crimson',0,.01,5)
- wait(5)
- end
- Debounces.StopAnims = true
- Stagger.Value = false
- Staggered = false
- animSpeed = 3
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.635141492, -0.110271573, 1, 0, 0, 0, 0.7514081, -0.659837902, 0, 0.659837902, 0.7514081),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938790321, 0.110049427, -0.463326722, 0.998180866, 0.0602899976, -1.02378704e-06, -0.0540004596, 0.894041896, -0.444717079, -0.0268110707, 0.443908215, 0.895671248),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999965489, 2.8610234e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933992505, -0.587882757, -0.626636088, 0.997888863, -0.0649445951, -1.37830477e-06, 0.0626346469, 0.962390542, 0.264351219, -0.0171668548, -0.26379323, 0.964426517),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.903780282, 0.515634775, -0.133764744, 0.995964289, 0.0897494778, 1.14661316e-06, -0.0249709077, 0.277118325, -0.960511327, -0.0862057209, 0.95663482, 0.278241158),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(4.90560836e-08, -0.823023677, -0.453469992, 1, -5.04276763e-08, -3.17768851e-08, 5.96047016e-08, 0.846035182, 0.533127129, 0, -0.533127129, 0.846035182),0.3)
- end
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.510724425, -0.0124477595, 1, 0, 0, 0, 0.923526525, -0.383535087, 0, 0.383535087, 0.923526525),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938798428, -0.988541842, -0.367843091, 0.998180866, 0.0602903217, -1.20356412e-06, -0.0599078164, 0.991850197, 0.112446919, 0.00678065419, -0.112242267, 0.993657887),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999966621, -3.81469818e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933991432, -0.982733488, -0.118956119, 0.997888863, -0.0649459437, 0, 0.0631561726, 0.970389128, -0.233145028, 0.0151418243, 0.232652828, 0.972442091),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999984741, 0.537676752, -0.140046388, 1, 0, 0, 0, 0.907491684, -0.420070529, 0, 0.420070529, 0.907491684),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-8.21182233e-10, 0.0137771368, -0.453442693, 1, -5.79621222e-08, -1.38965399e-08, 5.96047016e-08, 0.972442091, 0.233145028, 0, -0.233145028, 0.972442091),0.3)
- end
- wait(.25)
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.635141492, -0.110271573, 1, 0, 0, 0, 0.7514081, -0.659837902, 0, 0.659837902, 0.7514081),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938790321, 0.110049427, -0.463326722, 0.998180866, 0.0602899976, -1.02378704e-06, -0.0540004596, 0.894041896, -0.444717079, -0.0268110707, 0.443908215, 0.895671248),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999965489, 2.8610234e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933992505, -0.587882757, -0.626636088, 0.997888863, -0.0649445951, -1.37830477e-06, 0.0626346469, 0.962390542, 0.264351219, -0.0171668548, -0.26379323, 0.964426517),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.903780282, 0.515634775, -0.133764744, 0.995964289, 0.0897494778, 1.14661316e-06, -0.0249709077, 0.277118325, -0.960511327, -0.0862057209, 0.95663482, 0.278241158),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(4.90560836e-08, -0.823023677, -0.453469992, 1, -5.04276763e-08, -3.17768851e-08, 5.96047016e-08, 0.846035182, 0.533127129, 0, -0.533127129, 0.846035182),0.3)
- end
- wait(.5)
- Debounces.StopAnims = false
- Staggered = true
- wait(2)
- Debounces.StopAnims = true
- Staggered = false
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.635141492, -0.110271573, 1, 0, 0, 0, 0.7514081, -0.659837902, 0, 0.659837902, 0.7514081),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938790321, 0.110049427, -0.463326722, 0.998180866, 0.0602899976, -1.02378704e-06, -0.0540004596, 0.894041896, -0.444717079, -0.0268110707, 0.443908215, 0.895671248),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999965489, 2.8610234e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933992505, -0.587882757, -0.626636088, 0.997888863, -0.0649445951, -1.37830477e-06, 0.0626346469, 0.962390542, 0.264351219, -0.0171668548, -0.26379323, 0.964426517),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.903780282, 0.515634775, -0.133764744, 0.995964289, 0.0897494778, 1.14661316e-06, -0.0249709077, 0.277118325, -0.960511327, -0.0862057209, 0.95663482, 0.278241158),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(4.90560836e-08, -0.823023677, -0.453469992, 1, -5.04276763e-08, -3.17768851e-08, 5.96047016e-08, 0.846035182, 0.533127129, 0, -0.533127129, 0.846035182),0.3)
- end
- wait(.1)
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.510724425, -0.0124477595, 1, 0, 0, 0, 0.923526525, -0.383535087, 0, 0.383535087, 0.923526525),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938798428, -0.988541842, -0.367843091, 0.998180866, 0.0602903217, -1.20356412e-06, -0.0599078164, 0.991850197, 0.112446919, 0.00678065419, -0.112242267, 0.993657887),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999966621, -3.81469818e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933991432, -0.982733488, -0.118956119, 0.997888863, -0.0649459437, 0, 0.0631561726, 0.970389128, -0.233145028, 0.0151418243, 0.232652828, 0.972442091),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999984741, 0.537676752, -0.140046388, 1, 0, 0, 0, 0.907491684, -0.420070529, 0, 0.420070529, 0.907491684),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-8.21182233e-10, 0.0137771368, -0.453442693, 1, -5.79621222e-08, -1.38965399e-08, 5.96047016e-08, 0.972442091, 0.233145028, 0, -0.233145028, 0.972442091),0.3)
- end
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.957167327, 0.453155667, 0, 0.995972455, 0.0896599814, 0, -0.0896599814, 0.995972455, 0, 0, 0, 1),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938796461, -0.971975207, -0.0260774065, 0.998180985, 0.0602893308, -1.15168412e-07, -0.0602699406, 0.997859955, 0.0253591333, 0.001529, -0.0253129955, 0.999678493),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56876625e-06, 1.01717365, 3.16500664e-05, 1, -5.75538159e-08, -1.55009161e-08, 5.96047016e-08, 0.965591908, 0.260061979, 0, -0.260061979, 0.965591908),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.841966629, -0.93981564, 0.00444914401, 0.988348246, -0.152201191, -0.00160468766, 0.151723087, 0.984291553, 0.0902784094, -0.0121610025, -0.0894699693, 0.995915294),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.959337294, 0.455741018, 0, 0.996389091, -0.0849050656, 0, 0.0849050656, 0.996389091, 0, 0, 0, 1),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
- end
- wait(1)
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.957167327, 0.453155667, 0, 0.995972455, 0.0896599814, 0, -0.0896599814, 0.995972455, 0, 0, 0, 1),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938795805, -0.972622752, -0.0448461361, 0.998180866, 0.0602902845, 3.4001016e-07, -0.0602329336, 0.997231245, 0.0436113216, 0.00262899976, -0.0435320102, 0.999048591),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56957888e-06, 1.00353312, -0.00958478451, 1, -5.91799605e-08, 7.10303238e-09, 5.96047016e-08, 0.992874026, -0.119168997, 0, 0.119168997, 0.992874026),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.841966808, -0.940919042, 0.0270861164, 0.988348246, -0.152201146, -0.00160710467, 0.151278093, 0.983411133, -0.100088336, 0.0168140028, 0.0986790136, 0.994977295),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.959337294, 0.455741018, 0, 0.996389091, -0.0849050656, 0, 0.0849050656, 0.996389091, 0, 0, 0, 1),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
- end
- wait(2)
- BlockEffect(Torso.CFrame,Vector3.new(5,5,5),0,BrickColor.new'Really red',.5,.01,15)
- NewSound("rbxassetid://300916057",Character,10,0.75)
- local spik = Create("Part"){
- Parent = Character,
- Size = Vector3.new(1,1,1),
- BrickColor = BrickColor.new"Really black",
- CanCollide = false,
- Anchored = false,
- }
- local spikWeld = Create("Weld"){
- Parent = spik,
- Part0 = spik,
- Part1 = RightArm,
- C0 = CFrame.new(0,-2,0)*CFrame.Angles(0,0,math.rad(180))
- }
- local spikMesh = Create("SpecialMesh"){
- MeshId = "http://www.roblox.com/asset/?id=1033714",
- Scale = Vector3.new(.9,4.4,.9),
- Parent=spik
- }
- s.SoundId = "rbxassetid://674318415"
- s.Volume = 5
- s.Pitch = 0.95
- wait()
- s:Play()
- Debounces.Form = 2
- text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.96031338, 0.458367467, 0.0712135136, 0.977983236, 0.208683625, -1.09164137e-06, -0.192756981, 0.903345942, 0.383159161, 0.0799600258, -0.374722987, 0.923682392),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.802276373, -0.685330868, 0.0988606215, 0.952915251, 0.274171591, 0.12954776, -0.301331997, 0.903977334, 0.303354621, -0.0339370072, -0.328108102, 0.944030404),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.984225392, 0.0595060661, 1, 2.84217094e-14, -7.99360578e-15, -2.84217094e-14, 0.987590373, -0.157053158, 3.79543012e-15, 0.157053158, 0.987590373),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(1.02662873, -0.795234203, -0.0578379631, 0.972567916, -0.232620284, -2.52999121e-06, 0.219105512, 0.916058242, 0.335904032, -0.078135483, -0.3266882, 0.941899419),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.03257418, 0.42650333, 0.0804126412, 0.989078343, -0.137227014, -0.0537911914, 0.147393152, 0.920861006, 0.360958546, 9.50844594e-07, -0.364944667, 0.931029499),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, 2.74832177, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
- end
- wait(2)
- animSpeed = 1
- for i = 0, 2, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.866948485, 0.44115752, 0.0256533176, 0.948088408, 0.318024814, -2.84144647e-07, -0.239282295, 0.713343978, 0.658701897, 0.209483296, -0.624509335, 0.752403975),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.941843748, -0.900618196, 0.249934077, 0.998185635, 0.0572476164, 0.0189161301, -0.0242055617, 0.667864025, -0.743898809, -0.0552191995, 0.74208647, 0.668032646),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 1.09470928, -0.29286626, 1, 0, 0, 0, 0.810512304, -0.58572489, 0, 0.58572489, 0.810512304),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.979326308, -0.997037768, -0.41112265, 0.997888803, -0.0340288281, -0.0553171262, 0.0260743182, 0.989999413, -0.138641536, 0.0594817251, 0.136906475, 0.988796711),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999984741, 0.378619969, -0.695617378, 1, 0, 0, 0, 0.388423771, -0.921481013, 0, 0.921481013, 0.388423771),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(5.30109681e-08, -0.889375567, -1.23891258, 1, -2.39302143e-08, -5.45899788e-08, 5.96047016e-08, 0.401481986, 0.915866971, 0, -0.915866971, 0.401481986),0.3)
- end
- Debounces.StopAnims = false
- Staggered = false
- Humanoid.WalkSpeed = 14
- Humanoid.MaxHealth = 10e3
- wait()
- Humanoid.Health = 10e3
- end
- end)()
- end
- end)
- local hideName = Head:Clone()
- hideName.Parent = Character
- hideName.Name = "Hide"
- function GetTorso(v)
- return v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso"
- end
- hideName.BrickColor = BrickColor.new("Really black")
- hideName:FindFirstChildOfClass"Decal":destroy()
- hideName.BillboardGui:destroy()
- Head:FindFirstChildOfClass"Decal":destroy()
- for i,v in next, Character:children() do
- if v:IsA"BasePart" and v ~= RootPart then
- v.BrickColor = BrickColor.new"Really black"
- end
- end
- Head.Transparency = 1
- coroutine.wrap(function()
- while wait() do
- wait(3)
- text.Text = "GIVE UP"
- wait()
- text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
- wait(2)
- local str = ""
- for i = 1, math.random(3,25) do
- str = str..string.char(math.random(65,122))
- end
- text.Text = str
- wait()
- str = ""
- for i = 1, math.random(12,25) do
- str = str..string.char(math.random(48,122))
- end
- wait()
- text.Text = str
- wait()
- text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
- wait(1)
- text.Text = "BE GONE THOT"
- wait()
- text.Text = "Burn in hell."
- wait()
- text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
- wait(2)
- text.Text = "You made me do this.";
- wait()
- text.Text = "edgy";
- wait()
- for i = 1, math.random(12,25) do
- str = str..string.char(math.random(48,57))
- end
- text.Text = str
- wait()
- text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
- wait(2)
- end
- end)()
- New("Weld",hideName,"Weld",{Part0=hideName,Part1=Head})
- local BodyColors = Character:FindFirstChildOfClass"BodyColors"
- if BodyColors then
- BodyColors.HeadColor = BrickColor.new"Really black"
- BodyColors.TorsoColor = BrickColor.new"Really black"
- BodyColors.LeftArmColor = BrickColor.new"Really black"
- BodyColors.RightArmColor = BrickColor.new"Really black"
- BodyColors.LeftLegColor = BrickColor.new"Really black"
- BodyColors.RightLegColor = BrickColor.new"Really black"
- end
- local AnimStance = 1;
- local Animation = "Idle";
- local BBG = Instance.new("BillboardGui",Character)
- BBG.Size = UDim2.new(10,0,10,0)
- BBG.Enabled = false
- local TargetCircle = Instance.new("ImageLabel",BBG)
- TargetCircle.Position = UDim2.new(0,0,0,0)
- TargetCircle.Size = UDim2.new(1,0,1,0)
- TargetCircle.Image = "rbxassetid://418573253"
- TargetCircle.BackgroundTransparency = 1
- TargetCircle.ImageColor3 = Color3.new(1,0,0)
- local TargetCircle2 = TargetCircle:Clone()
- TargetCircle2.Parent = BBG
- TargetCircle2.ImageTransparency = 1;
- function TargetSelect(ch)
- local dd=coroutine.wrap(function()
- if Debounces.Target ~= ch then
- Debounces.Target = ch
- TargetCircle2.Size = UDim2.new(1,0,1,0)
- TargetCircle2.ImageTransparency = 0
- TargetCircle2.Position = UDim2.new(0,0,0,0)
- for i = 0, 2, 0.1 do
- wait()
- TargetCircle2.Size = TargetCircle2.Size + UDim2.new(.05,0,.05,0)
- TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-.025,0,-.025,0)
- TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05
- end
- end
- end)()
- end
- Mouse.KeyDown:connect(function(k)
- if k == 'q' then
- if Debounces.Height > 5 then
- Debounces.Height = Debounces.Height - 5
- end
- end
- end)
- Mouse.KeyDown:connect(function(k)
- if k == 'e' then
- if Debounces.Height < 100 then
- Debounces.Height = Debounces.Height + 5
- end
- end
- end)
- function ShowDamage(Pos, Text, Time, Color)
- coroutine.wrap(function()
- 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, 1))
- local EffectPart = Create("Part"){
- Parent=workspace,
- Material=Enum.Material.SmoothPlastic,
- Reflectance = 0,
- Transparency = 1,
- BrickColor = BrickColor.new(Color),
- Name = "Effect",
- Size = Vector3.new(0,0,0),
- Anchored = true
- }
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- 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
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end) end)()
- end
- Humanoid.HealthChanged:connect(function(health)
- if Blocking or Humanoid.Health <= 1000 then
- if currentHealth > health then
- Dam = Dam + (currentHealth - health)
- if(math.random(1,30) == 23 and currentHealth - health > 15) or Dam > 250 then
- Stagger.Value = true
- Dam = 0;
- end
- Humanoid.Health = currentHealth
- else
- currentHealth = Humanoid.Health
- end
- end
- end)
- function DealDamage(hit,min,max,typ,knockback)
- spawn(function() local ch = hit.Parent
- if ch then
- local hum = ch:FindFirstChildOfClass"Humanoid"
- if hum then
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = hum,
- }
- if hum.Health >= math.huge then
- hum.Health = 0;
- else
- local dam = math.random(min,max)
- if typ == 1 or typ == "Knockdown" then
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- wait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (RootPart.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif typ == 2 or typ == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- end
- local blok=false
- if hit.Parent:FindFirstChild"Block" and hit.Parent.Block:IsA"BoolValue" then
- blok = hit.Parent.Block.Value
- end
- if not blok then
- if dam >= hum.Health and hum.Health > 0 then
- ch:BreakJoints() -- ded
- ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(math.random(-5,5), 1.5, math.random(-5,5))), math.floor(hum.Health), 1.5, BrickColor.new"New Yeller".Color)
- else
- hum.Health = hum.Health - dam; -- Damaged af
- ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(math.random(-5,5), 1.5, math.random(-5,5))), -dam, 1.5, BrickColor.new"Really red".Color)
- end
- else
- if dam >= hum.MaxHealth then
- if hit.Parent:FindFirstChild"Stagger" and hit.Parent.Stagger:IsA"BoolValue" then
- hit.Parent.Stagger.Value = true
- end
- end
- ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(math.random(-5,5), 1.5, math.random(-5,5))), "0 [BLOCKED]", 1.5, BrickColor.new"Deep blue".Color)
- end
- end
- end
- end end)
- end
- Mouse.KeyDown:connect(function(k)
- if not Debounces.CanAttack then return end
- if k == 't' then
- if Mouse.Target and Mouse.Target.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass"Humanoid" then
- TargetSelect(Mouse.Target.Parent)
- Debounces.StopAnims = true
- Debounces.CanAttack = false
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.749353647, 0.529431522, -0.318006754, 0.870845377, 0.491561323, -1.26892701e-08, 0.000982132158, -0.0017399512, -1.00000119, -0.491561741, 0.870841324, -0.00199800706),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791871, -0.971642613, 5.57018484e-06, 0.998180926, 0.0602899864, -5.06639481e-07, -0.0602899864, 0.998180866, -1.64997255e-06, 3.87430191e-07, 1.67451799e-06, 1),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.79242237e-06, 0.999970436, 2.18215064e-06, 0.871591508, 0, 0.490233004, 0, 1, 0, -0.490233004, 0, 0.871591508),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.88020426, -0.991442442, -0.325477958, 0.829835236, -0.0540084504, 0.555388868, 0.0649459437, 0.997888863, 0, -0.554216385, 0.0360702537, 0.831590831),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999982893, 0.5, 5.72204681e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-0.314259201, -9.72405587e-07, -0.0365651473, 0.831590831, -5.96047016e-08, -0.555388868, 4.95667223e-08, 1, -3.31037882e-08, 0.555388868, 0, 0.831590831),0.3)
- end
- wait(.25)
- Debounces.StopAnims = false
- Debounces.CanAttack = true
- end
- end
- end)
- function lemmeSmash()
- Debounces.StopAnims = true;
- Debounces.CanAttack = false;
- bodfly.maxForce = Vector3.new(0,0,0)
- Humanoid.WalkSpeed = 0;
- for i = 0, 1, 0.1 do
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.488716155, 0.780109823, 0.457863212, 0.745127141, -0.646241188, -0.164796278, -0.489368647, -0.697676837, 0.523226142, -0.453104883, -0.30922389, -0.836108029),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-1.01720929, -0.81690973, 0.114664078, 0.980750799, -0.156917572, 0.116210438, 0.0737357512, 0.848702729, 0.523705065, -0.180806607, -0.505055189, 0.843936324),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(0.00453206943, 0.999973655, 0.028306013, 0.952204227, -2.38791108e-06, 0.30546236, 1.28149986e-06, 1.00000024, 3.86126339e-06, -0.30546242, -3.24007124e-06, 0.952204168),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.939718723, -0.739218235, 0.026011765, 0.980075598, -0.187025875, -0.0668824464, 0.184607938, 0.733462572, 0.654180944, -0.0732929856, -0.653493643, 0.753375232),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.717984557, 0.820842624, 0.234413534, 0.920299292, 0.389635861, 0.0351158679, 0.289311707, -0.738254428, 0.609326959, 0.263340056, -0.550603747, -0.792141199),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.162275195, 3.46984816, 0.896643281, 0.9812693, 0.0632104352, -0.18198818, -0.162884384, 0.776656687, -0.608504593, 0.102877997, 0.626747012, 0.77240169),0.3)
- Render:wait()
- end
- wait(.5)
- local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if not HitPart then repeat wait()
- HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- until HitPart end
- for i = 0, 1, 0.1 do
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.748417437, 0.527753711, 0.0688961446, 0.878371775, -0.474504381, -0.0575220138, -0.365080416, -0.588349223, -0.721499443, 0.308511674, 0.654744983, -0.690021634),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-1.01721013, -0.81689477, 0.114658713, 0.98075068, -0.156915724, 0.116214454, 0.07373254, 0.848704398, 0.523702681, -0.180808902, -0.505052984, 0.843937159),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(0.0045316536, 0.999977291, 0.0283063259, 0.952202857, 7.04079866e-07, 0.305466533, -1.92970037e-06, 1.00000012, 3.66382301e-06, -0.305466533, -4.07919288e-06, 0.952203035),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.939715385, -0.739198625, 0.026006639, 0.980075598, -0.187026337, -0.0668823719, 0.184608728, 0.733467162, 0.65417552, -0.0732920468, -0.653488576, 0.753379941),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.656759143, 0.84335506, -0.087890625, 0.779310405, 0.600602627, 0.178750947, 0.442559242, -0.325564891, -0.83555305, -0.443640321, 0.730263054, -0.519518375),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.162277102, -2.04159951, -0.00202780962, 0.9812693, 0.0632093176, -0.18198888, 0.165509388, 0.206879422, 0.96426791, 0.0986000001, -0.976322532, 0.192541793),0.3)
- Render:wait()
- end
- for i = 1, 5 do
- local pa = New("Part",Character,"Hit"..i,{Anchored=true,CanCollide = false,CFrame = (RootPart.CFrame * CFrame.new(0,-4.04159951,-(i*5))),Size=Vector3.new(3,7,3)})
- local startpos = (RootPart.CFrame * CFrame.new(0,-2.04159951,-(i*5))).p;
- local endpos = (RootPart.CFrame * CFrame.new(0,-2.04159951,-(i*5))).p + Vector3.new(0,-1,0);
- local length = 100;
- local ray = Ray.new(startpos, (endpos - startpos).unit*length)
- local hit, hitpos = workspace:FindPartOnRay( ray, Character )
- local size = (startpos-hitpos).magnitude
- if hit and hit.CanCollide then
- pa.BrickColor = hit.BrickColor;
- pa.Material = hit.Material;
- pa.Transparency = hit.Transparency
- pa.Reflectance = hit.Reflectance
- pa.TopSurface,pa.BottomSurface,pa.BackSurface,pa.LeftSurface,pa.RightSurface,pa.FrontSurface = hit.TopSurface,hit.BottomSurface,hit.BackSurface,hit.LeftSurface,hit.RightSurface,hit.FrontSurface
- pa.CFrame = CFrame.new(hitpos)*CFrame.new(0,-0.5,0)
- for i = 1, 15 do
- local aa = pa:Clone()
- aa.Parent = workspace
- aa.Name = pa.Name.."Fly"..i
- aa.CanCollide = false
- aa.Anchored = false
- aa.CFrame = CFrame.new(hitpos)*CFrame.new(0,-2,0)
- aa.Size = Vector3.new(.75,.75,.75)
- aa.Velocity = Vector3.new(math.random(-25,25),65,math.random(-25,25))
- game:service'Debris':AddItem(aa,2)
- end
- else
- pa:remove()
- end
- coroutine.wrap(function()
- for i = 1,5,.3 do
- pa.CFrame = pa.CFrame*CFrame.new(0,.3,0)
- Render:wait()
- end
- end)()
- local Dealt = {}
- for i,v in next, workspace:children() do
- local h = v:FindFirstChildOfClass"Humanoid"
- if h and v ~= Character then
- for _,p in next, v:children() do
- if p and p:IsA"BasePart" and not Dealt[h] then
- if (p.CFrame.p - pa.CFrame.p).magnitude <= 5 then
- DealDamage(p,35,45,"Knockdown",5)
- Dealt[h] = true
- end
- end
- end
- end
- end
- coroutine.wrap(function()
- wait(1)
- pa.Anchored = false
- pa.Velocity = Vector3.new(math.random(-25,25),math.random(25,50),math.random(-25,25))
- for i = 0, 1, .1 do
- pa.Transparency = i
- wait()
- end
- pa:destroy()
- end)()
- wait(.1)
- end
- Debounces.StopAnims = false;
- bodfly.maxForce = Vector3.new(0,10000,0)
- Humanoid.WalkSpeed = 16
- wait(1)
- Debounces.CanAttack = true;
- end
- Mouse.KeyDown:connect(function(k)
- if not Debounces.CanAttack then return end
- if k == 'x' then
- lemmeSmash()
- end
- end)
- Mouse.KeyDown:connect(function(k)
- if not Debounces.CanAttack then return end
- if k == 'z' then
- if Debounces.Target then
- local hum = Debounces.Target:FindFirstChildOfClass"Humanoid"
- local ts = GetTorso(Debounces.Target)
- if ts and hum then
- bodfly.maxForce = Vector3.new(0,0,0)
- Debounces.CanAttack = false
- Debounces.StopAnims = true
- ts.Anchored = true
- Torso.CFrame = ts.CFrame* CFrame.new(0,0,2.5)
- wait(.05)
- RootPart.Anchored = true
- local spik = Create("Part"){
- Parent = Character,
- Size = Vector3.new(1,1,1),
- BrickColor = BrickColor.new"Really black",
- CanCollide = false,
- Anchored = false,
- }
- local spikWeld = Create("Weld"){
- Parent = spik,
- Part0 = spik,
- Part1 = RightArm,
- C0 = CFrame.new(0,-2,0)*CFrame.Angles(0,0,math.rad(180))
- }
- local spikMesh = Create("SpecialMesh"){
- MeshId = "http://www.roblox.com/asset/?id=1033714",
- Scale = Vector3.new(.9,0,.9),
- Parent=spik
- }
- coroutine.wrap(function()
- for i = 0, 1, .1 do
- wait()
- spikMesh.Scale = spikMesh.Scale + Vector3.new(0,.4,0)
- end
- end)()
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.03262377, 0.499999821, 0.0776929557, 0.954159379, 5.68723841e-08, 0.299299121, -5.96047016e-08, 1, 0, -0.299299151, -1.78396373e-08, 0.954159379),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.974237084, -0.971644759, 0.0593782961, 0.952423692, 0.0575263277, 0.299299121, -0.0602900609, 0.998180926, 0, -0.298754692, -0.0180447642, 0.954159379),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(6.67572112e-06, 0.999969721, -1.90734909e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.937546134, -0.969608068, -0.103131026, 0.95214504, -0.0619687811, 0.299299121, 0.0649459437, 0.997888863, 0, -0.298667282, 0.0194382649, 0.954159379),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.59716332, 0.405694842, -0.0804495215, -0.787500203, -0.608287811, -0.0991746783, 0.616313934, -0.777244568, -0.126725808, 4.17232513e-07, -0.1609236, 0.986967683),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.00855524838, 5.09932985e-10, 0.234931499, 0.954159379, -5.96047016e-08, -0.299299151, 5.68723841e-08, 1, -1.78396373e-08, 0.299299121, 0, 0.954159379),0.3)
- end
- wait(1)
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.83961904, 0.262459755, -0.408313513, 0.90130657, -0.385265261, -0.198038101, -0.0957074538, 0.268767089, -0.958438635, 0.422478259, 0.882803321, 0.205367789),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.828836083, -0.846793652, -0.774183393, 0.906985343, 0.0201243348, -0.420681447, -0.0561491959, 0.995718896, -0.0734244809, 0.417402804, 0.0902158469, 0.904232502),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.29794465e-06, 0.999969959, 2.93979747e-06, 0.927569628, 0, -0.37364763, 0, 1, 0, 0.373648614, 0, 0.927571833),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.889647722, -0.975549698, 0.307303488, 0.897107303, -0.0103198439, -0.441692501, 0.0649457797, 0.991947174, 0.108733073, 0.437013566, -0.126231283, 0.890553236),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.729797602, 0.490691334, 0.624226809, 0.944735527, -0.327856302, -4.40888107e-06, -0.0213314593, -0.0614544079, -0.997886777, 0.327161282, 0.942734718, -0.0650513321),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(2.08616257e-07, 1.24344979e-14, 0.180002525, 0.899005234, -5.96047016e-08, 0.437938124, 5.35849374e-08, 1, 2.61031712e-08, -0.437938124, 0, 0.899005234),0.3)
- end
- wait(1)
- local asd = Instance.new("ParticleEmitter")
- asd.Parent = ts
- asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
- asd.LightEmission = .1
- asd.Size = NumberSequence.new(0.2)
- asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
- local aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- local bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- asd.Transparency = bbb
- asd.Size = aaa
- asd.ZOffset = .9
- asd.Acceleration = Vector3.new(0, -5, 0)
- asd.LockedToPart = false
- asd.EmissionDirection = "Back"
- asd.Lifetime = NumberRange.new(1, 2)
- asd.Rate = 1000
- asd.Rotation = NumberRange.new(-100, 100)
- asd.RotSpeed = NumberRange.new(-100, 100)
- asd.Speed = NumberRange.new(6)
- asd.VelocitySpread = 10000
- asd.Enabled=true
- game:service'Debris':AddItem(asd,3)
- DealDamage(ts,hum.MaxHealth,hum.MaxHealth)
- --Funcs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
- NewSound(Sounds.Splatter,ts,10,.8)
- coroutine.wrap(function()
- wait(1)
- asd.Enabled = false
- end)()
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.815793931, 0.556805134, 0.432230413, 0.983558834, 0.161693007, 0.0804304853, 0.0306141376, 0.289640456, -0.956645846, -0.17797868, 0.943379164, 0.279928088),0.6)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-1.01584959, -0.968699098, -0.525063455, 0.986992538, 0.0442602821, -0.154553816, -0.0561491959, 0.995718896, -0.0734244809, 0.15064235, 0.081147477, 0.985252321),0.6)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(8.50338802e-06, 0.999969959, 2.23593474e-06, 0.999260426, 0, -0.0384474099, 0, 1, 0, 0.0384474099, 0, 0.999260426),0.6)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.939919233, -0.97554934, 0.0496133566, 0.982915521, -0.0447851829, -0.178525895, 0.0649457797, 0.991947174, 0.108733073, 0.172218636, -0.118469916, 0.97790885),0.6)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.337836921, 0.570898354, -0.727853239, 0.993010044, 0.116654187, -0.0179721266, -0.0105190175, -0.0641946197, -0.997882068, -0.117560819, 0.991095901, -0.0625188202),0.6)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-5.88595867e-07, -3.50830476e-14, 0.180002451, 0.984995008, -5.96047016e-08, 0.172582999, 5.87103344e-08, 1, 1.02867581e-08, -0.172582999, 0, 0.984995008),0.6)
- end
- wait(1)
- ts.Anchored = false
- coroutine.wrap(function()
- for i = 0, 1, .1 do
- wait()
- spikMesh.Scale = spikMesh.Scale - Vector3.new(0,.4,0)
- spikWeld.C0 = spikWeld.C0 * CFrame.new(0,-.1,0)
- end
- spik:Destroy()
- end)()
- for i = 0, 1, 0.1 do
- Render:wait()
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.03262377, 0.499999821, 0.0776929557, 0.954159379, 5.68723841e-08, 0.299299121, -5.96047016e-08, 1, 0, -0.299299151, -1.78396373e-08, 0.954159379),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.974237084, -0.971644759, 0.0593782961, 0.952423692, 0.0575263277, 0.299299121, -0.0602900609, 0.998180926, 0, -0.298754692, -0.0180447642, 0.954159379),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(6.67572112e-06, 0.999969721, -1.90734909e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.937546134, -0.969608068, -0.103131026, 0.95214504, -0.0619687811, 0.299299121, 0.0649459437, 0.997888863, 0, -0.298667282, 0.0194382649, 0.954159379),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.59716332, 0.405694842, -0.0804495215, -0.787500203, -0.608287811, -0.0991746783, 0.616313934, -0.777244568, -0.126725808, 4.17232513e-07, -0.1609236, 0.986967683),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.00855524838, 5.09932985e-10, 0.234931499, 0.954159379, -5.96047016e-08, -0.299299151, 5.68723841e-08, 1, -1.78396373e-08, 0.299299121, 0, 0.954159379),0.3)
- end
- wait(0.5)
- Debounces.StopAnims = false
- RootPart.Anchored = false
- bodfly.maxForce = Vector3.new(0,10000,0)
- wait(1)
- Debounces.CanAttack = true
- end
- end
- end
- end)
- Mouse.KeyDown:connect(function(k)
- if not Debounces.CanAttack then return end
- if k == 'l' then
- if Debounces.Target then
- Debounces.CanAttack=false
- local rp = GetTorso(Debounces.Target)
- local hum = Debounces.Target:FindFirstChildOfClass"Humanoid"
- if rp and hum then
- local HitPart, Position = MiscFunctions.RayC(rp.Position, (CFrame.new(rp.Position, rp.Position - Vector3.new(0, 1, 0))).lookVector, 10000000000, Debounces.Target)
- if HitPart then
- local MagicCircle = New("Part",rp.Parent,"MagicCircle",{Anchored=true,Transparency = 1,Transparency = 1,Size = Vector3.new(0, 0.100000001, 0),CFrame = CFrame.new(-47.1200218, -0.0499959588, -21.4949875, 1, 0, 0, 0, 1, 0, 0, 0, 1),Locked = true,CanCollide = false})
- New("Decal",MagicCircle,"Decal",{Face = Enum.NormalId.Top,Texture = TargetCircle.Image,})
- New("Decal",MagicCircle,"Decal",{Face = Enum.NormalId.Bottom,Texture = TargetCircle.Image,})
- local rad = 0;
- local a,b = hum.WalkSpeed,hum.JumpPower
- coroutine.wrap(function()
- repeat wait()
- rad = rad + 2
- hum.WalkSpeed = 0
- rp.Anchored = true
- hum.JumpPower = 0
- if HitPart then
- MagicCircle.CFrame = CFrame.new(Position)*CFrame.Angles(0,math.rad(rad),0)
- end
- until not MagicCircle.Parent
- end)()
- coroutine.wrap(function()
- for i = 1, 10, .5 do
- MagicCircle.Size = Vector3.new(i,0.1,i)
- Render:wait()
- end
- end)()
- wait(3)
- local startpos = MagicCircle.CFrame.p;
- local endpos = (MagicCircle.CFrame * CFrame.new(0,50,0)).p;
- local length = 200;
- local ray = Ray.new(startpos, (endpos - startpos).unit*length)
- local hit, hitpos = workspace:FindPartOnRay( ray, rp.Parent )
- local size = (startpos-hitpos).magnitude
- local beam = Instance.new("Part", rp.Parent)
- beam.BrickColor = BrickColor.new("Really red")
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = 0.25
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- local m = Instance.new("CylinderMesh", beam)
- coroutine.wrap(function()
- for i = 1, length/2 do
- DealDamage(rp,1,3,0,3)
- wait()
- end
- end)()
- for i = 1, length do
- beam.Size = Vector3.new(5, i, 5)
- beam.CFrame = CFrame.new(startpos, hitpos) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, i/2, 0)
- Render:wait()
- end
- coroutine.wrap(function()
- repeat Render:wait()
- beam.CFrame = beam.CFrame * CFrame.new(0,1.5,0)
- until not beam.Parent
- end)()
- Debounces.Target = nil
- wait(1)
- hum.WalkSpeed = a
- hum.JumpPower = b
- rp.Anchored = false
- coroutine.wrap(function()
- for i = 10,0, -.5 do
- MagicCircle.Size = Vector3.new(i,0.1,i)
- beam.Size = Vector3.new(i/2,beam.Size.y,i/2)
- Render:wait()
- end
- beam:destroy()
- MagicCircle:destroy()
- end)()
- wait(3)
- Debounces.CanAttack = true
- end
- end
- end
- end
- end)
- Mouse.KeyDown:connect(function(k)
- if k == 'b' then
- Block.Value = not Block.Value
- end
- end)
- Render:connect(function()
- Timer = Timer + change;
- TargetCircle.Rotation = TargetCircle.Rotation + 1
- TargetCircle2.Rotation = TargetCircle2.Rotation + 1.5
- local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 10000000000, Character)
- local Velocity = RootPart.Velocity.y
- if Debounces.Target and Debounces.Target.Parent and (GetTorso(Debounces.Target)) then
- BBG.Adornee = (GetTorso(Debounces.Target))
- BBG.Enabled = true
- else
- BBG.Enabled = false
- end
- if not Debounces.CanAttack then
- Block.Value = false
- Shield.Transparency = 1
- end
- Shield.CFrame = Torso.CFrame
- if Staggered then
- Debounces.StopAnims = false
- end
- if HitPart then
- flyposy = Position.Y + Debounces.Height
- bodfly.Position = Vector3.new(0,flyposy,0) + Vector3.new(0,math.sin(time()*2),0)
- end
- if Debounces.StopAnims == false then
- if not Blocking and not Staggered then
- Shield.Transparency = 1
- if Debounces.Form == 1 then
- bodfly.maxForce = Vector3.new(0,10000,0)
- else
- bodfly.maxForce = Vector3.new(0,0,0)
- end
- if Debounces.Form == 1 then
- if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 1 then
- Animation = "Walk"
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.43998528, -0.0200023949, 1.25887524e-07, 1.58933133e-08, 1, 8.74227766e-08, -1, 1.58933133e-08, 5.21080863e-15, 3.82137093e-15, -8.74227766e-08, 1),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791394, -1.00468874, 0.101413906, 0.998180866, 0.0602915287, -8.50855713e-07, -0.0583539344, 0.966105878, 0.251464456, 0.0151619976, -0.251006961, 0.96786654)*CFrame.Angles(math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56694999e-06, 1.04764235, 0.0330726653, 1, -5.39217062e-08, -2.54001957e-08, 5.96047016e-08, 0.904655278, 0.426144153, 0, -0.426144153, 0.904655278),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.93399483, -1.09048808, 0.0457596183, 0.997888982, -0.0649424866, 9.59117983e-07, 0.0573230609, 0.88081795, 0.469972163, -0.030522, -0.468979955, 0.88268131)*CFrame.Angles(-math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.50998449, 0.0300008059, -1.32007045e-07, -1.0331609e-07, -1, 8.74227766e-08, 1, -1.0331609e-07, 5.21080863e-15, 3.82137093e-15, 8.74227766e-08, 1),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
- end
- if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude < 1 then
- Animation = "Idle"
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.43998528, -0.0200023949, 1.25887524e-07, 1.58933133e-08, 1, 8.74227766e-08, -1, 1.58933133e-08, 5.21080863e-15, 3.82137093e-15, -8.74227766e-08, 1),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791394, -1.00468874, 0.101413906, 0.998180866, 0.0602915287, -8.50855713e-07, -0.0583539344, 0.966105878, 0.251464456, 0.0151619976, -0.251006961, 0.96786654)*CFrame.Angles(math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56694999e-06, 1.04764235, 0.0330726653, 1, -5.39217062e-08, -2.54001957e-08, 5.96047016e-08, 0.904655278, 0.426144153, 0, -0.426144153, 0.904655278),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.93399483, -1.09048808, 0.0457596183, 0.997888982, -0.0649424866, 9.59117983e-07, 0.0573230609, 0.88081795, 0.469972163, -0.030522, -0.468979955, 0.88268131)*CFrame.Angles(-math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.50998449, 0.0300008059, -1.32007045e-07, -1.0331609e-07, -1, 8.74227766e-08, 1, -1.0331609e-07, 5.21080863e-15, 3.82137093e-15, 8.74227766e-08, 1),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
- end
- elseif Debounces.Form == 2 then
- local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- local RightLeg = CFrame.new(0.5,-1,0)
- local LeftLeg = CFrame.new(-0.5,-1,0)
- local lefth = (Torso.CFrame*LeftLeg)
- local righth = (Torso.CFrame*RightLeg)
- local speed = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z)
- local TiltOnAxis = (Torso.CFrame-Torso.CFrame.p):vectorToObjectSpace(speed/100)
- local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
- local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
- if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude < 1 then
- change = 1
- animSpeed = 1
- Animation = "Idle"
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.961833239, 0.440066099, 0.0780077577, 0.953329682, 0.100562967, 0.284692347, -0.113068029, 0.99319917, 0.027791908, -0.27996099, -0.0586844534, 0.958216727) * CFrame.new(0,math.rad(3+3*math.cos(Timer/16)),0),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.91118443, -0.97164464, 0.22248897, 0.957737267, 0.0578472652, 0.281767905, -0.0602900609, 0.998180926, 0, -0.281255335, -0.0169878043, 0.95948261)* CFrame.new(0,-math.rad(3+3*math.cos(Timer/16)),0),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(-0.0495610274, 0.999970198, -0.17531918, 0.95948261, 5.71896734e-08, 0.281767905, -5.96047016e-08, 1, 0, -0.281767905, -1.67946919e-08, 0.95948261),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933993161, -0.969608426, -4.23755137e-06, 0.997888803, -0.0649460182, 9.83476639e-07, 0.0649460182, 0.997888803, 5.11299618e-07, -1.01327896e-06, -4.45172191e-07, 1)* CFrame.new(0,-math.rad(3+3*math.cos(Timer/16)),0),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.965822756, 0.469076186, -0.0408892557, 0.997545183, -0.0697716698, 0.00597444177, 0.0700270012, 0.993907094, -0.0851181746, 8.34465027e-07, 0.0853275955, 0.99635303) * CFrame.new(0,math.rad(3+3*math.cos(Timer/16)),0),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-0.00183804333, 2.38309013e-07, 0.18217741, 0.95948261, -5.96047016e-08, -0.281767905, 5.71896734e-08, 1, -1.67946919e-08, 0.281767905, 0, 0.95948261)* CFrame.new(0,math.rad(3+3*math.cos(Timer/16)),0),0.3)
- Welds.RS.C1 = Nibba.RS.C1
- Welds.LS.C1 = Nibba.LS.C1
- Welds.RH.C1 = Nibba.RH.C1
- Welds.LH.C1 = Nibba.LH.C1
- end
- if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 1 then
- Animation = "Walk"
- change = 0.75
- animSpeed = .5
- sine = Timer
- Welds.RJ.C0 = clerp(Welds.RJ.C0, CFrame.new(0, 0+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+RootPart.RotVelocity.Y/30, math.rad(0)+RootPart.RotVelocity.Y/30), 0.4)
- Welds.NK.C0 = clerp(Welds.NK.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- Welds.RS.C0 = clerp(Welds.RS.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
- Welds.RS.C1 = clerp(Welds.RS.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
- Welds.LS.C0 = clerp(Welds.LS.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
- Welds.LS.C1 = clerp(Welds.LS.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
- Welds.RH.C0 = Welds.RH.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-RootPart.RotVelocity.Y/20),0.4)
- Welds.RH.C1 = Welds.RH.C1:lerp(CFrame.new(0, 1, 0),.4)
- --RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- Welds.LH.C0 = Welds.LH.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-RootPart.RotVelocity.Y/20),0.4)
- Welds.LH.C1 = Welds.LH.C1:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- end
- elseif not Staggered and Blocking then
- Shield.Transparency = 0.5
- if Debounces.Form == 1 then
- bodfly.maxForce = Vector3.new(0,10000,0)
- else
- bodfly.maxForce = Vector3.new(0,0,0)
- end
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.63528585, 1.58541811, 0, -0.859554768, -0.511043787, -0, 0.511043787, -0.859554768, 0, 0, 0, 1),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791394, -1.00468874, 0.101413906, 0.998180866, 0.0602915287, -8.50855713e-07, -0.0583539344, 0.966105878, 0.251464456, 0.0151619976, -0.251006961, 0.96786654)*CFrame.Angles(math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999970436, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.93399483, -1.09048808, 0.0457596183, 0.997888982, -0.0649424866, 9.59117983e-07, 0.0573230609, 0.88081795, 0.469972163, -0.030522, -0.468979955, 0.88268131)*CFrame.Angles(-math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.48705506, 1.51609397, 0, -0.880973876, 0.473165005, 0, -0.473165005, -0.880973876, 0, 0, 0, 1),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
- else
- bodfly.maxForce = Vector3.new(0,0,0)
- local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- Debounces.Height = 15
- Humanoid.WalkSpeed = 0;
- Humanoid.JumpPower = 0;
- Block.Value = false
- if HitPart then
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.640523791, 0.363386691, -0.187354088, 0.882178843, -0.469171077, 0.0405215099, 0.323820531, 0.541897535, -0.77556026, 0.341909051, 0.697303474, 0.629974127),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938798308, -0.181652665, -0.970001221, 0.998185337, 0.0602902696, 0, -0.0602902696, 0.998185337, 0, 0, 0, 1),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(6.67573431e-06, 1.16696692, -0.0379120111, 1.00000215, -1.25410793e-12, 1.30739863e-12, 7.31859018e-13, 0.799952567, 0.600078225, -1.74815815e-12, -0.600076914, 0.799950838),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.970071673, -1.45061886, -0.626533508, 0.997890949, -0.0595593862, -0.0258963984, 0.0411370844, 0.271099001, 0.961675525, -0.0502560101, -0.960708022, 0.272976518),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.324166238, 0.491504431, -0.113374591, 0.787475705, 0.59367907, -0.165628135, -0.510979354, 0.478564709, -0.714058876, -0.344654739, 0.646933854, 0.68021971),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0.930005014, 0, 1.00000429, 0, -0, 0, 1.00000429, 0, -0, 0, 1),0.3)
- else
- Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.94055295, 0.522880554, 0.0127705485, 0.991907895, 0.126959711, 1.80302391e-06, -0.118272923, 0.924034774, 0.363553584, 0.0461549945, -0.360611916, 0.931573272),0.3)
- Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.875812769, -0.997663736, -0.177298278, 0.9927091, 0.120535254, 9.10893164e-07, -0.114734955, 0.944941044, -0.306467593, -0.0369410031, 0.304233015, 0.95188117),0.3)
- Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999970436, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),0.3)
- Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.842404008, -0.969340682, 0.0743760765, 0.988412261, -0.151793584, -1.79151257e-07, 0.146990091, 0.957133949, 0.249576986, -0.0378840081, -0.246684983, 0.968355),0.3)
- Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.879104972, 0.418311387, 0.120524362, 0.954071641, -0.287687421, -0.0835666433, 0.299579889, 0.916202128, 0.266132116, 8.48108925e-07, -0.278944045, 0.960307479),0.3)
- Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
- end
- end
- else
- Shield.Transparency = 1
- Block.Value = false
- end
- end)
- while wait() do
- for i,v in next, Effects do
- if v[1] == 'Block1' then
- v[2].Size = v[2].Size + Vector3.new(v[3],v[3],v[3])
- v[2].Transparency = v[2].Transparency + v[4]
- v[2].CFrame = v[2].CFrame * CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- if v[2].Transparency >= 1 or time() - v[5] >= v[6] then
- table.remove(Effects,i)
- v[2]:destroy()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement