Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------
- --Donald McGillavry--
- ----------------
- --By --
- --CKbackup-
- -----------
- player = game.Players.LocalPlayer
- chara = player.Character
- debby = game.Debris
- Mouse = player:GetMouse()
- chara.Humanoid.WalkSpeed = 0
- atkd = false
- atkdd = false
- targetted = nil
- iaidoatk = false
- berserkmode = false
- rs = game:GetService("RunService").RenderStepped
- overcharge = 0
- attacking = false
- --Outfit--
- 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
- Swordu = New("Model",chara,"Swordu",{})
- Handle = New("Part",Swordu,"Handle",{BrickColor = BrickColor.new("Storm blue"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.99999994, 0.399999976),CFrame = CFrame.new(34.5000267, 1.20001173, 22.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.2, 0.345098, 0.509804),})
- Mesh = New("CylinderMesh",Handle,"Mesh",{Scale = Vector3.new(1.20000005, 1, 1.20000005),})
- KWeld = New("ManualWeld",Handle,"KWeld",{Part0 = Handle,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -0.999996185, -7.15255737e-07, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
- Part = New("Part",Swordu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.200000003, 0.799999714, 0.200000003),CFrame = CFrame.new(34.5000267, 5.50000811, 22.4999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 4.29999638, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5000267, 1.80001104, 22.5999928, 0, 0, -1, 0, -1, 0, -1, 0, 0),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(6, 1, 0.699999988),MeshType = Enum.MeshType.Torso,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(0, 0.599999309, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Swordu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.200000003, 0.799999714, 0.200000003),CFrame = CFrame.new(34.5000267, 5.50001001, 22.6999931, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 4.29999828, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5000229, 1.8000114, 22.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(2, 1.5, 2),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-3.81469727e-06, 0.599999666, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5000229, 0.600010991, 22.5999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.5, 1.5),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-3.81469727e-06, -0.600000739, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Swordu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.200000003, 3.19999981, 0.399999976),CFrame = CFrame.new(34.5000267, 3.50001144, 22.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.29999971, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Hitbox = New("Part",Swordu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 4, 0.399999976),CFrame = CFrame.new(34.5000267, 3.90001106, 22.5999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,})
- Mesh = New("BlockMesh",Hitbox,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
- Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 2.69999933, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- RightArm = New("Model",chara,"RightArm",{})
- MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
- Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
- Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- LeftArm = New("Model",chara,"LeftArm",{})
- MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
- Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
- Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- lach = LeftArm:GetChildren()
- rach = RightArm:GetChildren()
- ch = chara:GetChildren()
- HandleT = New("Part",chara,"HandleT",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(2, 0.800000012, 1),CFrame = CFrame.new(36, 17.5985985, 26.6999989, -1, 0, -0, -0, 1, -0, -0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("SpecialMesh",HandleT,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=1043443",TextureId = "http://www.roblox.com/asset/?id=1043438",MeshType = Enum.MeshType.FileMesh,})
- WeldT = New("ManualWeld",HandleT,"WeldT",{Part0 = HandleT,Part1 = chara.Head,C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 1, 0, -0, -0, -1),C1 = CFrame.new(0, 0.900007248, 0, -1, -0, -0, 0, 1, 0, -0, -0, -1),})
- function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
- local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
- local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
- local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
- return TEff
- end
- SlashTrail = CreateTrailObj(Hitbox,"White","White",0,0)
- PunchTrail = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
- KickTrail = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
- BRTrail = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
- crosshair = Instance.new("BillboardGui",chara)
- crosshair.Size = UDim2.new(10,0,10,0)
- crosshair.Enabled = false
- imgl = Instance.new("ImageLabel",crosshair)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://233522684"
- imgl.BackgroundTransparency = 1
- imgl.ImageColor3 = Color3.new(1,1,0)
- --Sounds--
- function LoadSnd(id,loop,vol,pit)
- local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
- return snd
- end
- Music = LoadSnd(166597964,true,2,1)
- StartUpSnd = LoadSnd(153092315,false,1,.8)
- SwingSnd = LoadSnd(158037267,false,1,1)
- Swing2Snd = LoadSnd(12222208,false,1,1)
- HitSnd = LoadSnd(153092274,false,1,1)
- HitPunchSnd = LoadSnd(153092227,false,1,1)
- DodgeSnd = LoadSnd(232210079,false,1,1)
- ExpSnd = LoadSnd(142070127,false,1,1)
- FlySnd = LoadSnd(169445602,false,1,1)
- BExpSnd = LoadSnd(258057783,false,5,1)
- ClawDashSnd = LoadSnd(62339698,false,1,.5)
- deathmus = LoadSnd(395580552,true,5,1)
- deathex = LoadSnd(258057783,false,5,1)
- --Grunt1Snd = LoadSnd(159882486,false,1,1.1)
- --Grunt2Snd = LoadSnd(159882466,false,1,1.1)
- --Grunt3Snd = LoadSnd(159972643,false,1,1.1)
- --Grunt4Snd = LoadSnd(159882584,false,1,1.1)
- --YouIdiotSnd = LoadSnd(160212768,false,1,1.1)
- --DieSnd = LoadSnd(159882598,false,1,1.1)
- --Laugh1Snd = LoadSnd(160212549,false,1,1.1)
- --Laugh2Snd = LoadSnd(159882561,false,1,1.1)
- --Laugh3Snd = LoadSnd(160212812,false,1,1.1)
- ChargeSnd = LoadSnd(137463716,false,1,1)
- LasSnd = LoadSnd(162246701,false,1,1)
- LasLoopSnd = LoadSnd(162246683,true,1,1)
- RStompSnd = LoadSnd(12222225,false,1,1)
- GunFlameSnd = LoadSnd(32656754,false,1,1)
- OrbSnd = LoadSnd(233091161,false,1,1)
- ElectricSnd = LoadSnd(231917975,false,1,1)
- LightsOutSnd = LoadSnd(231917794,false,1,1)
- SkyBeamSnd = LoadSnd(260433522,false,1,1)
- TargetSnd = LoadSnd(613361563,false,1,1)
- SV1Snd = LoadSnd(28144425,false,1,.265)
- SV2Snd = LoadSnd(2697431,false,1,.3)
- SVHitSnd = LoadSnd(62339698,false,1,.3)
- IceBreakSnd = LoadSnd(357568316,false,1,1)
- FreezeSnd = LoadSnd(203936153,false,1,1)
- IceBreak2Snd = LoadSnd(87015121,false,1,1)
- BlockedSnd = LoadSnd(357622136,false,1,1)
- Ult1Snd = LoadSnd(51322486,false,1,.5)
- Ult2Snd = LoadSnd(90696602,false,1,.5)
- --Play Sound in Part--
- function PlaySnd(snd,part)
- local sound = snd:Clone()
- sound.PlayOnRemove = true
- sound.Parent = part
- sound:Destroy()
- end
- --Target Select--
- function TargetSelect(person)
- local dd=coroutine.wrap(function()
- if targetted ~= person then
- targetted = person
- for i = 0,30,10 do
- wait(.05)
- crosshair.Size = UDim2.new(40-i,0,40-i,0)
- end
- end
- end)
- dd()
- end
- --Damage Function--
- function dealdmg(dude,damage,env,toim,kby,kbx)
- hurt = coroutine.wrap(function(dude2,damage2,env2,toim2)
- if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
- TargetSelect(dude)
- finaldmg = damage + math.random(-env,env)
- if berserkmode == true then
- finaldmg = math.floor(finaldmg * 1.2)
- end
- dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
- local vall = Instance.new("ObjectValue",dude)
- vall.Name = "IsHit"
- debby:AddItem(vall,toim)
- local bfos = Instance.new("BodyVelocity",dude.Head)
- bfos.P = 20000
- bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
- bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
- debby:AddItem(bfos,.1)
- local naeeym2 = Instance.new("BillboardGui",dude)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = dude.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = "-"..finaldmg
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,0.6,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- for i = 1, 5 do
- wait(.1)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end
- end)
- hurt(dude,damage,env,toim)
- end
- --Explode Hitbox--
- function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
- local E = Instance.new("Explosion")
- E.Position = pos
- E.Parent = game.Workspace
- E.BlastRadius = rad
- E.BlastPressure = 0
- E.Visible = false
- E.Hit:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid")~=nil then
- dealdmg(hit.Parent,damage,env,toim,kby,kbx)
- end
- end)
- end
- --Chat Function--
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if chara:FindFirstChild("TalkingBillBoard")~= nil then
- chara:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,1,1)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- if berserkmode == true then
- tecks2.TextColor3 = Color3.new(1,0,0)
- tecks2.TextStrokeColor3 = Color3.new(1,1,0)
- end
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(1)
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- player.Chatted:connect(onChatted)
- --Punch Hit Effect--
- function PunchEff(pos)
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = pos
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(.2,.2,.2)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Blade Hit Effect--
- function SlashEff(pos)
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- pm.Scale = Vector3.new(.5,0,.5)
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(0,5,0)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Super Pause--
- function SuperPause()
- StartUpSnd:Play()
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = chara.Torso.CFrame
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(5,5,5)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Punch Touch--
- dela = .5
- punchactive = false
- function punchhit(hit)
- if punchactive == true then
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- dealdmg(hit.Parent,10,2,dela,0,5)
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- PunchEff(Emit2Part.CFrame)
- end
- end
- end
- Emit2Part.Touched:connect(punchhit)
- EmitPart.Touched:connect(punchhit)
- --Kick Touch--
- kickactive = false
- dkickactive = false
- skickactive = false
- didskick = false
- lkickactive = false
- function kickhit(hit)
- if kickactive == true then
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- PunchEff(hit.CFrame)
- if dkickactive == true then
- dealdmg(hit.Parent,13,2,dela,0,10)
- hit.Parent.Humanoid.PlatformStand = true
- hit.Parent.Head.CFrame = CFrame.new(hit.Parent.Head.Position.x,hit.Parent.Head.Position.y,hit.Parent.Head.Position.z) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wait(3)
- hit.Parent.Humanoid.PlatformStand = false
- elseif skickactive == true then
- local bodpf = Instance.new("BodyPosition",hit.Parent.Head)
- bodpf.MaxForce = Vector3.new(10000,10000,10000)
- bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3)
- debby:AddItem(bodpf,3.5)
- dealdmg(hit.Parent,13,2,dela,50,10)
- didskick = true
- elseif lkickactive == true then
- if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then
- hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy()
- end
- dealdmg(hit.Parent,13,2,dela,30,20)
- else
- dealdmg(hit.Parent,10,2,dela,0,10)
- end
- end
- end
- end
- chara["Left Leg"].Touched:connect(kickhit)
- chara["Right Leg"].Touched:connect(kickhit)
- --Blade Touch--
- dela = .5
- bladedmg = 13
- bladeactive = false
- function bladehit(hit)
- if blockval == true then
- PlaySnd(BlockedSnd,chara)
- end
- if bladeactive == true then
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- dealdmg(hit.Parent,bladedmg,1,dela,0,10)
- PlaySnd(HitSnd,hit.Parent.Head)
- SlashEff(hit.CFrame)
- if iaidoatk == true then
- local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
- bfos.P = 20000
- bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
- bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 10
- wait(1)
- for i = 1, 30 do
- wait(.0001)
- dealdmg(hit.Parent,2,1,0,0,0)
- PlaySnd(HitSnd,hit.Parent.Head)
- SlashEff(hit.CFrame)
- end
- bfos:Destroy()
- end
- end
- end
- end
- Hitbox.Touched:connect(bladehit)
- --Material Return--
- gprop = {}
- function materialhit()
- local part = workspace:FindPartOnRay(Ray.new(chara.HumanoidRootPart.Position-Vector3.new(0,2.4,0),Vector3.new(0,-1000,0)))
- if part then
- gprop = {part.BrickColor,part.Material}
- end
- end
- --Clerp Animations--
- TC = chara.HumanoidRootPart.RootJoint
- HC = chara.Torso.Neck
- RAC = chara.Torso["Right Shoulder"]
- LAC = chara.Torso["Left Shoulder"]
- RLC = chara.Torso["Right Hip"]
- LLC = chara.Torso["Left Hip"]
- TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW = Instance.new("Weld",HC.Parent)
- RW.Part1 = HC.Parent
- RW.Part0 = chara["Right Arm"]
- RW.C0 = RWF
- LW = Instance.new("Weld",HC.Parent)
- LW.Part1 = HC.Parent
- LW.Part0 = chara["Left Arm"]
- LW.C0 = LWF
- RLW = nil
- LLW = nil
- function Sheath(stype)
- KWeld:Destroy()
- if stype == 1 then --Unsheathed
- KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -1, -4.76837158e-007, 1, 0, 0, 0, 0, -1, 0, 1, 0),})
- elseif stype == 2 then --Unsheathed, Pointing
- KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -0.500001907, -0.0999999046, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- elseif stype == 3 then --Unsheathed, Down
- KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -1, 4.76837158e-007, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
- end
- end
- function AddLegWelds()
- RLW = Instance.new("Weld",chara["Right Leg"])
- RLW.Part1 = HC.Parent
- RLW.Part0 = chara["Right Leg"]
- RLW.C0 = RLWF
- LLW = Instance.new("Weld",chara["Left Leg"])
- LLW.Part1 = HC.Parent
- LLW.Part0 = chara["Left Leg"]
- LLW.C0 = LLWF
- end
- function DestroyLegWelds()
- RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
- LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
- RLW:Destroy()
- LLW:Destroy()
- end
- function clerp(a,b,c)
- return a:lerp(b,c)
- end
- ias = New("ScreenGui",player.PlayerGui,"InfoScreen",{})
- sus = New("TextBox",player.PlayerGui.InfoScreen,"OverdriveTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,325),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
- sus = New("TextBox",player.PlayerGui.InfoScreen,"KeystrokeTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,350),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
- sus = New("TextBox",player.PlayerGui.InfoScreen,"BlockTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,375),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
- function ultcool()
- local CoolDown = New("TextBox",player.PlayerGui.InfoScreen,"UltCoolDown",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,300),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "Ult. Cooldown",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
- debby:AddItem(CoolDown,13)
- end
- --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
- --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- --Idle Clerp--
- --ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- --IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- --IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(10),math.rad(-2))
- --ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
- ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
- IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- IRWF = (RWF + Vector3.new(1.5,.5,1.5)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-20))
- ILWF = (LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0)
- function res()
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- end
- res()
- --Intro--
- local swch = Swordu:GetChildren()
- for i = 1, #swch do
- swch[i].Transparency = 1
- end
- HandleT.Transparency = 1
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- RW.C0 = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5))
- LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5))
- wait(.5)
- for i = 0,.6,.1 do
- rs:wait()
- LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),(LWF - Vector3.new(3,-1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-175)),.4+i)
- end
- HandleT.Transparency = 0
- wait(.5)
- for i = 0,.6,.1 do
- rs:wait()
- LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),(LWF - Vector3.new(3,-1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-175)),.6-i)
- end
- wait(.5)
- for i = 1, #swch do
- swch[i].Transparency = 0
- end
- Hitbox.Transparency = 1
- SlashTrail.Enabled = true
- local spin = coroutine.wrap(function()
- for i = 1, 4 do
- PlaySnd(SwingSnd,chara)
- Sheath(1)
- wait(.001)
- Sheath(2)
- wait(.001)
- Sheath(3)
- wait(.001)
- end
- end)
- spin()
- for i = 0,.6,.1 do
- rs:wait()
- RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(.5)
- RStompSnd:Play()
- Sheath(1)
- for i = 0,.6,.2 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),ITCF,.4+i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),IHCF,.4+i)
- RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),IRWF,.4+i)
- LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),ILWF,.4+i)
- end
- SlashTrail.Enabled = false
- res()
- chara.Humanoid.WalkSpeed = 16
- --Overdrive--
- function Overdrive()
- del = false
- atkd = false
- overcharge = 0
- chara.Humanoid.WalkSpeed = 0
- chatfunc("Skill Formula Released!")
- berserkmode = true
- local jtrace = Instance.new("Part",game.Workspace)
- jtrace.Size = Vector3.new(0,0,0)
- jtrace.Position = chara.HumanoidRootPart.Position
- jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0)
- jtrace.Anchored = true
- SuperPause()
- local tmesh = Instance.new("SpecialMesh",jtrace)
- tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- tmesh.Scale = Vector3.new(1,1,1)
- tmesh.Offset = Vector3.new(0,0,-.125)
- local p1mit = Instance.new("ParticleEmitter",Hitbox)
- p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
- p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
- p1mit.LightEmission = 1
- p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- p1mit.Lifetime = NumberRange.new(1)
- p1mit.Rate = 100
- p1mit.Rotation = NumberRange.new(0,359)
- p1mit.RotSpeed = NumberRange.new(100)
- p1mit.Speed = NumberRange.new(0)
- SlashTrail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
- Void = nil
- VoidParts = {}
- Equipped = false
- function RayCast(Position, Direction, MaxDistance, IgnoreList)
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end
- Player = player
- Character = chara
- Humanoid = Character:FindFirstChild("Humanoid")
- Torso = Character:FindFirstChild("Torso")
- if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
- return
- end
- Equipped = true
- Void = Instance.new("Model")
- Void.Name = "Void"
- Angle = 0
- local VoidPart = Instance.new("Part")
- VoidPart.Name = "VoidPart"
- VoidPart.Transparency = 1
- VoidPart.BrickColor = BrickColor.new("Really black")
- VoidPart.Material = Enum.Material.Plastic
- VoidPart.Shape = Enum.PartType.Block
- VoidPart.FormFactor = Enum.FormFactor.Custom
- VoidPart.TopSurface = Enum.SurfaceType.Smooth
- VoidPart.BottomSurface = Enum.SurfaceType.Smooth
- VoidPart.Anchored = true
- VoidPart.CanCollide = false
- VoidPart.Locked = true
- VoidPart.Size = Vector3.new(10, 0.2, 10)
- local BlockMesh = Instance.new("BlockMesh")
- BlockMesh.Scale = Vector3.new(1, 1 + 0.005, 1)
- BlockMesh.Parent = VoidPart
- VoidPart.Parent = Void
- local Star = Instance.new("Decal", VoidPart)
- Star.Texture = "http://www.roblox.com/asset/?id=223123319"
- Star.Face = "Top"
- local Light = Instance.new("PointLight", VoidPart)
- Light.Brightness = 100
- Light.Range = 10
- table.insert(VoidParts, VoidPart)
- Spawn(function()
- while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent and berserkmode == true do
- if Angle == 360 then
- Angle = 0
- end
- Angle = Angle + 0.05
- local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
- if Hit then
- if not Void.Parent then
- Void.Parent = Character
- end
- for i, v in pairs(VoidParts) do
- v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
- end
- else
- Void.Parent = nil
- end
- wait()
- end
- end)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- end
- for i = 1, 10 do
- wait(.01)
- TC.C0 = TCF
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0)
- RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- jtrace.Transparency = jtrace.Transparency + .1
- tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2)
- end
- wait(.01)
- jtrace:Destroy()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
- end
- jtrace:Destroy()
- local delll = coroutine.wrap(function()
- local delval = 10
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,5,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "Counter"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.TextColor3 = Color3.new(1,0,0)
- tecks2.TextStrokeColor3 = Color3.new(1,1,0)
- for i = 0, 15 do
- delval = 15 - i
- tecks2.Text = "<"..delval..">"
- wait(1)
- end
- berserkmode = false
- VoidPart:Destroy()
- p1mit:Destroy()
- SlashTrail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("White").Color),ColorSequenceKeypoint.new(1,BrickColor.new("White").Color)})
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- end)
- delll()
- chara.Humanoid.WalkSpeed = 16
- del = false
- res()
- end
- --Punch--
- function Punch()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- punchactive = true
- PunchTrail.Enabled = true
- wait(.01)
- SwingSnd:Play()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- chara.Humanoid.WalkSpeed = 16
- punchactive = false
- PunchTrail.Enabled = false
- del = false
- res()
- end
- --Kick Atk--
- function KickAtk()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- kickactive = true
- KickTrail.Enabled = true
- AddLegWelds()
- SwingSnd:Play()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
- end
- DestroyLegWelds()
- kickactive = false
- KickTrail.Enabled = false
- chara.Humanoid.WalkSpeed = 16
- del = false
- res()
- end
- --Slash Attack--
- function SlashAtk()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- bladeactive = true
- SlashTrail.Enabled = true
- SwingSnd:Play()
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(.1)
- bladeactive = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF,.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- del = false
- SlashTrail.Enabled = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- --Bandit Revolver--
- function BanditRevolver()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- kickactive = true
- BRTrail.Enabled = true
- dkickactive = true
- chatfunc("Ballista Revolver!")
- AddLegWelds()
- local bfos = Instance.new("BodyVelocity",chara.Torso)
- bfos.P = 10000
- bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
- bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 40
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
- end
- for i = 1,4 do
- SwingSnd:Play()
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
- end
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i)
- end
- end
- SwingSnd:Play()
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
- end
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i)
- end
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
- RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i)
- LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i)
- RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i)
- end
- DestroyLegWelds()
- dkickactive = false
- kickactive = false
- BRTrail.Enabled = false
- chara.Humanoid.WalkSpeed = 16
- bfos:Destroy()
- del = false
- res()
- end
- --Freezer Kick--
- --function FlipKickEffect(pos)
- --local p = Instance.new("Part",game.Workspace)
- --p.Size = Vector3.new(0,0,0)
- --p.BrickColor = BrickColor.new("Dark stone grey")
- --p.Material = "SmoothPlastic"
- --p.Anchored = true
- --p.CanCollide = false
- --p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- --local pm = Instance.new("BlockMesh",p)
- --local disp = coroutine.wrap(function()
- --for i = 1, 4 do
- --wait(.01)
- --p.Transparency = p.Transparency + .2
- --pm.Scale = pm.Scale + Vector3.new(2,2,2)
- --end
- --wait(.01)
- --p:Destroy()
- --end)
- --disp()
- --end
- function FlipKick()
- del = true
- atkd = true
- chatfunc("Flip Kick!")
- AddLegWelds()
- kickactive = true
- lkickactive = true
- KickTrail.Enabled = true
- local bfos = Instance.new("BodyVelocity",chara.Torso)
- bfos.P = 10000
- bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
- bfos.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector * 20
- SwingSnd:Play()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
- --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
- end
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),ITCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),.4+i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i)
- RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i)
- LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i)
- RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
- --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
- end
- DestroyLegWelds()
- bfos:Destroy()
- kickactive = false
- lkickactive = false
- KickTrail.Enabled = false
- del = false
- res()
- end
- --End Him Rightly--
- function EndRightly()
- del = true
- atkd = true
- chatfunc("End You Rightly!")
- PunchTrail.Enabled = true
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- PunchTrail.Enabled = false
- SwingSnd:Play()
- local missile = Instance.new("Part",game.Workspace)
- missile.Material = "Slate"
- missile.Size = Vector3.new(1,1,1)
- missile.Shape = 0
- missile.BrickColor = BrickColor.new("Dark stone grey")
- missile.Name = "Blast"
- missile.TopSurface = 0
- missile.BottomSurface = 0
- missile.Position = chara["Right Arm"].Position
- missile.CFrame = chara["Right Arm"].CFrame
- missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*100
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
- force.Parent = missile
- if berserkmode == true then
- local p1mit = Instance.new("ParticleEmitter",missile)
- p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
- p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
- p1mit.LightEmission = 1
- p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- p1mit.Lifetime = NumberRange.new(1)
- p1mit.Rate = 10000
- p1mit.Rotation = NumberRange.new(0,359)
- p1mit.RotSpeed = NumberRange.new(100)
- p1mit.Speed = NumberRange.new(0)
- end
- -- local bfo = Instance.new("BodyVelocity",missile)
- -- bfo.P = 100000
- -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
- -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
- -- debby:AddItem(bfo,1)
- missile.Touched:connect(function(hit)
- if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
- force:Destroy()
- force = nil
- ExHitbox(3,missile.Position,12,1,.5,5,10)
- PlaySnd(HitPunchSnd,hit)
- wait(2)
- missile:Destroy()
- end
- end)
- debby:AddItem(missile,10)
- wait(.5)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- del = false
- res()
- end
- --Decapitator--
- function Decapitator()
- del = true
- atkd = true
- chatfunc("Sky Slash!")
- chara.Humanoid.WalkSpeed = 0
- bladeactive = true
- SlashTrail.Enabled = true
- Sheath(2)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.6-i)
- end
- local bf = Instance.new("BodyVelocity",chara.Torso)
- bf.P = 10000
- bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
- bf.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector*100
- SwingSnd:Play()
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),i)
- HC.C0 = HCF
- RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- end
- for i = 0,1,.2 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(360)),i)
- HC.C0 = HCF
- RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- end
- bf:Destroy()
- Sheath(1)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.6-i)
- HC.C0 = clerp(IHCF,HCF,.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.6-i)
- end
- bladeactive = false
- SlashTrail.Enabled = false
- atkdd = true
- chara.Humanoid.WalkSpeed = 16
- del = false
- end
- --Slashes--
- function IaidoFrost()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 8
- SuperPause()
- chatfunc("My secret knight technique..")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- end
- wait(.5)
- bladeactive = true
- iaidoatk = true
- SlashTrail.Enabled = true
- Sheath(2)
- Swing2Snd:Play()
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(1)
- SlashTrail.Enabled = false
- bladeactive = false
- iaidoatk = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF,.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- --Stabs--
- function KnightStabs()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 8
- chatfunc("Knight Stabs!")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- end
- bladedmg = 3
- bladeactive = true
- SlashTrail.Enabled = true
- dela = 0
- Sheath(2)
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- for i = 1, 10 do
- wait(.001)
- PlaySnd(SwingSnd,chara)
- RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- end
- RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- bladedmg = 13
- chara.Humanoid.WalkSpeed = 16
- bladeactive = false
- SlashTrail.Enabled = false
- dela = .5
- del = false
- res()
- end
- --Rush--
- function KnightRush()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 8
- SuperPause()
- chatfunc("Knight Rush!")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- end
- wait(1)
- bladedmg = 3
- bladeactive = true
- SlashTrail.Enabled = true
- dela = 0
- Sheath(2)
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- for i = 1, 40 do
- wait(.001)
- PlaySnd(SwingSnd,chara)
- RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- end
- RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- wait(1)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- bladedmg = 13
- chara.Humanoid.WalkSpeed = 16
- bladeactive = false
- SlashTrail.Enabled = false
- dela = .5
- del = false
- res()
- end
- --End Him Rightly--
- function Explosive()
- del = true
- atkd = true
- chatfunc("Take this!")
- PunchTrail.Enabled = true
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- PunchTrail.Enabled = false
- SwingSnd:Play()
- local missile = Instance.new("Part",game.Workspace)
- missile.Material = "Neon"
- missile.Size = Vector3.new(1,1,1)
- missile.BrickColor = BrickColor.new("Black")
- missile.Name = "Blast"
- missile.Shape = 0
- missile.TopSurface = 0
- missile.BottomSurface = 0
- missile.Position = chara["Right Arm"].Position
- missile.CFrame = chara["Right Arm"].CFrame
- missile.Velocity = (Mouse.Hit.p - chara.HumanoidRootPart.Position).unit*70
- local mesh1 = Instance.new("SpecialMesh",missile)
- mesh1.MeshId = "rbxasset://fonts/timebomb.mesh"
- mesh1.Scale = Vector3.new(.5,.5,.5)
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
- force.Parent = missile
- debby:AddItem(force,.1)
- -- local bfo = Instance.new("BodyVelocity",missile)
- -- bfo.P = 100000
- -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
- -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
- -- debby:AddItem(bfo,1)
- local deto = coroutine.wrap(function()
- wait(.5)
- for i = 1, 3 do
- PlaySnd(TargetSnd,missile)
- missile.BrickColor = BrickColor.new("Bright red")
- wait(.1)
- missile.BrickColor = BrickColor.new("Black")
- end
- wait(.1)
- mesh1.MeshId = ""
- mesh1.MeshType = "Sphere"
- mesh1.Scale = Vector3.new(1,1,1)
- missile.Anchored = true
- missile.BrickColor = BrickColor.new("Bright yellow")
- missile.Material = "Neon"
- ExpSnd:Play()
- ExHitbox(10,missile.Position,25,3,.5,50,50)
- for i = 1, 9 do
- mesh1.Scale = mesh1.Scale + Vector3.new(3,3,3)
- missile.Transparency = missile.Transparency + .1
- wait(.01)
- end
- missile:Destroy()
- end)
- deto()
- wait(.5)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- del = false
- res()
- end
- --Final Attack--
- finalgrab = false
- didfinal = false
- function FinalGrab(hit)
- if finalgrab == true and hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent.Parent.Name ~= "Boss" then
- finalgrab = false
- didfinal = true
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- PunchEff(hit.CFrame)
- local stay = coroutine.wrap(function()
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- hit.Parent.Humanoid.WalkSpeed = 0
- hit.Parent.Humanoid.PlatformStand = true
- end
- end)
- stay()
- local valll = Instance.new("ObjectValue",hit.Parent)
- valll.Name = "HitByUlt"
- local bpos = Instance.new("BodyPosition",hit.Parent.Head)
- bpos.MaxForce = Vector3.new(10000,10000,10000)
- bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,1.5,0) + chara.HumanoidRootPart.CFrame.lookVector*15
- local bposa = Instance.new("BodyPosition",chara.HumanoidRootPart)
- bposa.MaxForce = Vector3.new(10000,10000,10000)
- bposa.Position = chara.HumanoidRootPart.Position
- wait(1)
- RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- TC.C0 = TCF
- bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,11.5,0) + chara.HumanoidRootPart.CFrame.lookVector*15
- bposa.Position = chara.HumanoidRootPart.Position + Vector3.new(0,10,0)
- for i = 0,.6,.1 do
- rs:wait()
- LLW.C0 = LLWF
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.4+i)
- end
- wait(1)
- ChargeSnd:Play()
- local spellcircle = Instance.new("Part",chara)
- spellcircle.Anchored = true
- spellcircle.Size = Vector3.new(10,10,1)
- spellcircle.CFrame = chara.HumanoidRootPart.CFrame - chara.HumanoidRootPart.CFrame.lookVector*5
- spellcircle.Transparency = 1
- spellcircle.CanCollide = false
- local blkm = Instance.new("BlockMesh",spellcircle)
- blkm.Scale = Vector3.new(0,0,1)
- local dec = Instance.new("Decal",spellcircle)
- dec.Texture = "http://www.roblox.com/asset/?id=363838834"
- dec.Transparency = 1
- dec.Face = "Front"
- local dec2 = Instance.new("Decal",spellcircle)
- dec2.Texture = "http://www.roblox.com/asset/?id=363838834"
- dec2.Transparency = 1
- dec2.Face = "Back"
- local ptl = Instance.new("PointLight",spellcircle)
- ptl.Range = 0
- ptl.Color = Color3.new(1,.5,0)
- spellc = coroutine.wrap(function()
- while spellc ~= nil do
- wait(.01)
- spellcircle.CFrame = spellcircle.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5))
- end
- end)
- spellc()
- for i = 1, 10 do
- wait(.01)
- ptl.Range = ptl.Range + 4
- dec.Transparency = dec.Transparency - .1
- dec2.Transparency = dec2.Transparency - .1
- blkm.Scale = blkm.Scale + Vector3.new(.1,.1,0)
- end
- wait(2)
- chatfunc("Let the Rage of the Old One destroy you.")
- wait(2)
- for i = 0,.6,.2 do
- rs:wait()
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,0),.4+i)
- end
- Ult1Snd:Play()
- Ult2Snd:Play()
- local jtrace = Instance.new("Part",game.Workspace)
- jtrace.BrickColor = BrickColor.new("Bright orange")
- jtrace.Size = Vector3.new(0,0,0)
- jtrace.Position = chara.HumanoidRootPart.Position
- jtrace.CFrame = chara.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
- jtrace.Anchored = true
- jtrace.CanCollide = false
- local tmesh = Instance.new("SpecialMesh",jtrace)
- tmesh.MeshId = "http://www.roblox.com/asset/?id=51226819"
- tmesh.Scale = Vector3.new(1,1,1)
- local coro = coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- jtrace.Transparency = jtrace.Transparency + .1
- tmesh.Scale = tmesh.Scale + Vector3.new(1,1,1)
- end
- jtrace:Destroy()
- end)
- coro()
- local jtrace = Instance.new("Part",game.Workspace)
- jtrace.BrickColor = BrickColor.new("Bright orange")
- jtrace.Size = Vector3.new(0,0,0)
- jtrace.Position = hit.Parent.Head.Position
- jtrace.CFrame = CFrame.new(hit.Parent.Head.Position.X,hit.Parent.Head.Position.Y,hit.Parent.Head.Position.Z)
- jtrace.Anchored = true
- jtrace.CanCollide = false
- jtrace.Material = "Neon"
- local tmesh = Instance.new("CylinderMesh",jtrace)
- tmesh.Scale = Vector3.new(20,1000,20)
- local coro = coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- jtrace.Transparency = jtrace.Transparency + .1
- tmesh.Scale = tmesh.Scale + Vector3.new(20,20,20)
- end
- jtrace:Destroy()
- end)
- coro()
- local dude = hit.Parent
- local ds = coroutine.wrap(function()
- targetted = nil
- dude:BreakJoints()
- dude.Humanoid:Destroy()
- PlaySnd(ClawDashSnd,dude.Head)
- local chi = dude:GetChildren()
- for i = 1, #chi do
- if chi[i].ClassName == "Part" then
- local bodpos = Instance.new("BodyPosition",chi[i])
- bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- chi[i].BrickColor = BrickColor.new("Really black")
- end
- end
- for i = 1, 4 do
- for i = 1, #chi do
- if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
- chi[i].Transparency = chi[i].Transparency + .25
- wait(.01)
- end
- end
- end
- dude:Destroy()
- end)
- ds()
- wait(5)
- for i = 1, 10 do
- wait(.01)
- ptl.Range = ptl.Range - 4
- dec.Transparency = dec.Transparency + .1
- dec2.Transparency = dec2.Transparency + .1
- blkm.Scale = blkm.Scale - Vector3.new(.1,.1,0)
- end
- spellcircle:Destroy()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
- end
- chatfunc("A Knight's soul is stronger than technology.")
- bposa:Destroy()
- didfinal = false
- DestroyLegWelds()
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- end
- chara.Torso.Touched:connect(FinalGrab)
- function AttemptFinal()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- SuperPause()
- chatfunc("...")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- end
- finalgrab = true
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-40)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i)
- RW.C0 = clerp(RWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
- end
- wait(4)
- if didfinal == false then
- finalgrab = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
- end
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- elseif didfinal == true then
- end
- ultcool()
- end
- --Lock On--
- function LockOn()
- if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
- TargetSelect(Mouse.Target.Parent)
- TargetSnd:Play()
- wait(.05)
- TargetSnd:Play()
- else end
- end
- --Block--
- blockval = false
- healthlock = 0
- effeff = nil
- function ToggleBlock()
- if blockval == false then
- blockval = true
- SwingSnd:Play()
- healthlock = chara.Humanoid.Health
- effeff = Instance.new("ForceField",chara)
- effeff.Name = "FawsFeeld"
- effeff.Visible = false
- for i = 0,.75,.25 do
- wait(.0001)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- elseif blockval == true then
- SwingSnd:Play()
- effeff:Destroy()
- blockval = false
- for i = 0,.6,.2 do
- wait(.0001)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- res()
- end
- end
- function Stunned()
- del = true
- blockval = false
- chara.Humanoid.WalkSpeed = 0
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,5,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "Counter"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = "Stunned!"
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.TextColor3 = Color3.new(1,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- for i = 1, 30 do
- wait(.1)
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0)
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0)
- RW.C0 = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
- LW.C0 = (LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20))
- end
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),ITCF,.4+i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),IHCF,.4+i)
- RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),IRWF,.4+i)
- LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.4+i)
- end
- del = false
- chara.Humanoid.WalkSpeed = 16
- end
- blkpct = 100
- local bcount = coroutine.wrap(function()
- while wait() do
- if blockval == false then
- if blkpct < 100 then
- blkpct = blkpct + 1
- wait(.5)
- else
- end
- end
- player.PlayerGui.InfoScreen.BlockTxtBox.Text = blkpct.."%"
- end
- end)
- bcount()
- chara.Humanoid.HealthChanged:connect(function(hth)
- if blockval == true then
- if math.floor(hth) < healthlock then
- blkpct = blkpct - math.random(2,4)
- if blkpct < 1 then
- Stunned()
- end
- print("Block Value reduced to "..blkpct)
- else
- end
- end
- end)
- --Mouse Functions--
- orbpushactive = false
- del = false
- input = ""
- letterd = 0
- ltoim = 0
- function onKeyDown(key)
- if key == "e" and attacking == false then
- ToggleBlock()
- elseif del == false and blockval == false then
- if key == "q" then
- if input == "ad" and targetted ~= nil then
- EndRightly()
- elseif input == "adad" and berserkmode == false and overcharge == 100 then
- Overdrive()
- elseif input == "asd" then
- Explosive()
- elseif input == "dsadd" and berserkmode == true and player.PlayerGui.InfoScreen:FindFirstChild("UltCoolDown")==nil then
- AttemptFinal()
- else LockOn() end
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Q"
- input = ""
- letterd = 0
- ltoim = 0
- elseif key == "z" then
- Punch()
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Z"
- input = ""
- letterd = 0
- ltoim = 0
- elseif key == "x" then
- if input == "sa" then
- BanditRevolver()
- elseif input == "ss" then
- FlipKick()
- else KickAtk() end
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."X"
- input = ""
- letterd = 0
- ltoim = 0
- elseif key == "c" then
- if input == "add" then
- IaidoFrost()
- elseif input == "ssad" then
- KnightRush()
- elseif input == "aw" then
- Decapitator()
- elseif input == "dsd" then
- KnightStabs()
- else SlashAtk() end
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."C"
- input = ""
- letterd = 0
- ltoim = 0
- elseif (key == "w" or key == "a" or key == "s" or key == "d") then
- input=input..key
- print(input)
- letterd = letterd + 1
- ltoim = 10
- if letterd > 5 then
- input = ""
- letterd = 0
- ltoim = 0
- end
- end
- end
- end
- combo = 0
- --Mouse Activation--
- if Mouse then
- Mouse.KeyDown:connect(onKeyDown)
- end
- --Overdrive Charge--
- local count = coroutine.wrap(function()
- while wait() do
- if berserkmode == false then
- if overcharge < 100 then
- overcharge = overcharge + 1
- player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = overcharge.."%"
- wait(.1)
- else
- end
- elseif berserkmode == true then
- player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = "Overdrive!"
- end
- end
- end)
- count()
- --Loop Function--
- walking = false
- toim = 0
- while true do
- wait()
- toim = toim + .1
- ltoim = ltoim - 1
- if ltoim < 1 then
- input = ""
- end
- if del == false then attacking = false elseif del == true then attacking = true end
- if blockval == true and chara:FindFirstChild("HitByUlt")==nil then
- chara.Humanoid.Health = healthlock
- end
- if del == false then
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input)
- end
- if atkd == true then
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- atkd = false
- end
- if atkdd == true then
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- atkdd = false
- end
- torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
- if torvel < 1 and walking == true and del == false and atkd == false and attacking == false and blockval == false then
- for i = 0,1,.5 do
- rs:wait()
- if del == false and attacking == false and blockval == false then
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i)
- RW.C0 = IRWF
- LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i)
- end
- end
- walking = false
- elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false and blockval == false then
- for i = 0,1,.5 do
- rs:wait()
- if del == false and attacking == false and blockval == false then
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i)
- RW.C0 = IRWF
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i)
- end
- end
- walking = true
- else
- end
- imgl.Rotation = imgl.Rotation + 3
- if targetted ~= nil then
- crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
- crosshair.Enabled = true
- elseif targetted == nil then
- crosshair.Adornee = nil
- crosshair.Enabled = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement