Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game:GetService("Players").LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local stanceToggle = "Normal"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- hum.DisplayDistanceType = "None"
- math.randomseed(os.time())
- for i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs (hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- ----------------------------------------------------
- Debounces = {
- CanAttack = true;
- CanJoke = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- Slapping = false;
- Slapped = false;
- ks = false;
- }
- ----------------------------------------------------
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- ----------------------------------------------------
- mod4 = Instance.new("Model",char)
- ptez = {0.7, 0.8, 0.9, 1}
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- ----------------------------------------------------
- GroundWave3 = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0)
- local wave1 = Instance.new("Part", torso)
- wave1.BrickColor = BrickColor.new("Really black")
- wave1.Anchored = true
- wave1.CanCollide = false
- wave1.Locked = true
- wave1.Material = "Neon"
- wave1.Size = Vector3.new(1, 1, 1)
- wave1.TopSurface = "Smooth"
- wave1.BottomSurface = "Smooth"
- wave1.Transparency = 0.35
- wave1.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave1)
- wm.Scale = Vector3.new(.1,.1,.1)
- wm.MeshType = "Sphere"
- coroutine.wrap(function()
- for i = 1, 20, 1 do
- wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
- --wave1.Size = wm.Scale
- wave1.CFrame = HandCF
- wave1.Transparency = i/20
- wait()
- end
- wait()
- wave1:Destroy()
- end)()
- end
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new("New Yeller")
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.8
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- ----------------------------------------------------
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- ----------------------------------------------------
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- end
- ----------------------------------------------------
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- local AddInstance = function(Object, ...)
- local Obj = Instance.new(Object)
- for i,v in next,(...) do
- Obj[i] = v
- end
- return Obj
- end
- ----------------------------------------------------
- larm.Size = larm.Size * 4.5
- rarm.Size = rarm.Size * 4.5
- lleg.Size = lleg.Size * 4.5
- rleg.Size = rleg.Size * 4.5
- torso.Size = torso.Size * 4.5
- hed.Size = hed.Size * 4.5
- root.Size = root.Size * 4.5
- ----------------------------------------------------
- newWeld(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(5.2,0.5,0)
- newWeld(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(-5.2, 0.5, 0)
- newWeld(torso, hed, 0, 6.8, 0)
- newWeld(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(1.7, 8, 0)
- newWeld(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(-1.7, 8, 0)
- newWeld(root, torso, 0, 0, 0)
- torso.Weld.C1 = CFrame.new(0, 0, 0)
- ----------------------------------------------------
- --local SIDz = {"389780352"}, 167161785, 148274436
- z = Instance.new("Sound",char)
- z.SoundId = "rbxassetid://389780352"--..SIDz[math.random(1,#SIDz)]
- z.Looped = true
- z.Volume = math.huge
- z.Pitch = 1
- wait(1)
- z:Play()
- hum.WalkSpeed = 16
- ----------------------------------------------------
- local Eye1 = AddInstance("Part",{
- Name = "Eye1",
- Parent = hed,
- CFrame = hed.CFrame,
- Color = Color3.new(255,0,0),
- Material = "Neon",
- formFactor = "Symmetric",
- Size = Vector3.new(1, 1, 1),
- CanCollide = false,
- Shape = "Ball",
- TopSurface = "Smooth",
- BottomSurface = "Smooth",
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = Eye1,
- Part0 = hed,
- C0 = CFrame.new(-0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0),
- Part1 = Eye1,
- })
- local Eye2 = AddInstance("Part",{
- Name = "Eye2",
- Parent = hed,
- CFrame = hed.CFrame,
- Color = Color3.new(255,0,0),
- Material = "Neon",
- formFactor = "Symmetric",
- Size = Vector3.new(1, 1, 1),
- CanCollide = false,
- Shape = "Ball",
- TopSurface = "Smooth",
- BottomSurface = "Smooth",
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = Eye2,
- Part0 = hed,
- C0 = CFrame.new(0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0),
- Part1 = Eye2,
- })
- local Reaper = AddInstance("Part",{
- Parent = hed,
- CFrame = hed.CFrame,
- formFactor = "Symmetric",
- Size = Vector3.new(1, 1, 1),
- CanCollide = false,
- TopSurface = "Smooth",
- BottomSurface = "Smooth",
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = Reaper,
- Part0 = hed,
- C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, 0, 0),
- Part1 = Reaper,
- })
- local Mesh = AddInstance("SpecialMesh",{
- Parent = Reaper,
- MeshId = "rbxassetid://16150814",
- TextureId = "rbxassetid://16150799",
- Scale = Vector3.new(5.181, 5.181, 5.181),
- VertexColor = Vector3.new(0.3, 0.3, 0.3),
- })
- ----------------------------------------------------
- local o1 = AddInstance("Model",{
- Name = "Genkadda",
- Parent = char,
- })
- local o2 = AddInstance("Part",{
- Name = "Handle",
- Parent = o1,
- Material = Enum.Material.Granite,
- BrickColor = BrickColor.new("Black"),
- CanCollide = false,
- Size = Vector3.new(0.54285717, 4.96428585, 1.02857149),
- 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(0.105882, 0.164706, 0.207843),
- Locked = true,
- })
- local o3 = AddInstance("Part",{
- Parent = o1,
- Material = Enum.Material.Granite,
- BrickColor = BrickColor.new("Really black"),
- CanCollide = false,
- Size = Vector3.new(0.521428645, 0.200000003, 4.92857265),
- 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(0.0666667, 0.0666667, 0.0666667),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o3,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o3,
- C1 = CFrame.new(7.12578583, -2.70594311, -56.9015656, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- })
- local o6 = AddInstance("Part",{
- Name = "8",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.864285767, 0.221428677, 5.65714407),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o6,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o6,
- C1 = CFrame.new(7.12578583, -2.68451595, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- })
- local o8 = AddInstance("Part",{
- Name = "20",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.54285717, 0.657142878, 1.02857149),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o8,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o8,
- C1 = CFrame.new(7.12578964, 2.69762135, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- })
- local o10 = AddInstance("Part",{
- Name = "15",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.54285717, 0.657142937, 2.02857161),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o10,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o10,
- C1 = CFrame.new(7.12578773, 2.69762325, -55.3730087, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- })
- local o11 = AddInstance("SpecialMesh",{
- Parent = o10,
- MeshType = Enum.MeshType.Wedge,
- })
- o12 = AddInstance("Part",{
- Name = "10",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.54285717, 0.657142878, 2.02857161),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o12,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o12,
- C1 = CFrame.new(-7.12579155, 2.69761753, 58.4300995, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494),
- })
- local o13 = AddInstance("SpecialMesh",{
- Parent = o12,
- MeshType = Enum.MeshType.Wedge,
- })
- local o14 = AddInstance("Part",{
- Name = "9",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.54285717, 1.11428583, 0.371428579),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o14,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o14,
- C1 = CFrame.new(7.12578201, 2.12619781, -56.2015648, -0.999990702, 0.00427558692, -0.000560841348, 0.00055476022, -0.00142335275, -0.999998868, -0.00427637994, -0.999989867, 0.00142096763),
- })
- local o15 = AddInstance("SpecialMesh",{
- Parent = o14,
- MeshType = Enum.MeshType.Wedge,
- })
- o16 = AddInstance("Part",{
- Name = "6",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.54285717, 1.11428583, 0.371428579),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o16,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o16,
- C1 = CFrame.new(-7.12579536, 2.12619114, 57.6015701, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237),
- })
- local o17 = AddInstance("SpecialMesh",{
- Parent = o16,
- MeshType = Enum.MeshType.Wedge,
- })
- o18 = AddInstance("Part",{
- Name = "21",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.564285755, 0.257142901, 0.514285743),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o18,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o18,
- C1 = CFrame.new(-7.12578964, 2.24047565, 57.1586876, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237),
- })
- local o19 = AddInstance("SpecialMesh",{
- Parent = o18,
- MeshType = Enum.MeshType.Wedge,
- })
- o20 = AddInstance("Part",{
- Name = "13",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.564285755, 0.257142901, 0.514285743),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o20,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o20,
- C1 = CFrame.new(7.1258049, 2.24045849, -56.6443939, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849),
- })
- local o21 = AddInstance("SpecialMesh",{
- Parent = o20,
- MeshType = Enum.MeshType.Wedge,
- })
- o22 = AddInstance("Part",{
- Name = "16",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.564285755, 1.73571444, 0.200000003),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o22,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o22,
- C1 = CFrame.new(7.1258049, 1.38688946, -56.830143, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849),
- })
- local o23 = AddInstance("SpecialMesh",{
- Parent = o22,
- Scale = Vector3.new(1, 1, 0.714285672),
- MeshType = Enum.MeshType.Wedge,
- })
- o24 = AddInstance("Part",{
- Name = "14",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.564285755, 1.73571444, 0.200000003),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o24,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o24,
- C1 = CFrame.new(-7.12580872, 1.38689709, 56.9729919, 0.999990702, -0.0042760619, 0.000560866669, 0.000554783503, -0.00142366707, -0.999998868, 0.00427685538, 0.999989867, -0.00142128149),
- })
- local o25 = AddInstance("SpecialMesh",{
- Parent = o24,
- Scale = Vector3.new(1, 1, 0.714285672),
- MeshType = Enum.MeshType.Wedge,
- })
- o26 = AddInstance("Part",{
- Name = "4",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.54285717, 0.657142878, 1.02857149),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o26,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o26,
- C1 = CFrame.new(-7.12579346, 2.69762135, 57.9301262, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494),
- })
- local o27 = AddInstance("SpecialMesh",{
- Parent = o26,
- MeshType = Enum.MeshType.Wedge,
- })
- o28 = AddInstance("Part",{
- Name = "11",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.864285767, 0.657142937, 1.02857149),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o28,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o28,
- C1 = CFrame.new(7.12579346, 59.387291, -2.07380676, -0.999990702, 0.00427573128, -0.000560924469, 0.00427652476, 0.999989867, -0.00142105541, 0.000554842758, -0.00142344099, -0.999998868),
- })
- local o29 = AddInstance("SpecialMesh",{
- Parent = o28,
- MeshType = Enum.MeshType.Wedge,
- })
- o30 = AddInstance("Part",{
- Name = "17",
- Parent = o1,
- Material = Enum.Material.Granite,
- BrickColor = BrickColor.new("Really black"),
- CanCollide = false,
- Size = Vector3.new(0.542999983, 20, 3.02900004),
- 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(0.0666667, 0.0666667, 0.0666667),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o30,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o30,
- C1 = CFrame.new(7.1257782, -12.6132841, -56.901535, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- })
- local o32 = AddInstance("Part",{
- Name = "3",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.864285767, 0.657142937, 1.02857149),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o32,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o32,
- C1 = CFrame.new(-7.12579155, -54.4158592, -2.07380486, 0.999990702, -0.00427573407, 0.000560930872, -0.00427652756, -0.999989867, 0.00142105471, 0.000554849161, -0.00142344029, -0.999998868),
- })
- local o33 = AddInstance("SpecialMesh",{
- Parent = o32,
- MeshType = Enum.MeshType.Wedge,
- })
- o34 = AddInstance("Part",{
- Name = "18",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.400000006, 6.11428595, 5.03142834),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o34,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o34,
- C1 = CFrame.new(-7.12446594, -25.670372, 56.9022903, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121),
- })
- local o35 = AddInstance("SpecialMesh",{
- Parent = o34,
- MeshType = Enum.MeshType.Wedge,
- })
- o36 = AddInstance("Part",{
- Name = "7",
- Parent = o1,
- Material = Enum.Material.Granite,
- BrickColor = BrickColor.new("Really black"),
- CanCollide = false,
- Size = Vector3.new(0.542999983, 4.11428595, 3.03142834),
- 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(0.0666667, 0.0666667, 0.0666667),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o36,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o36,
- C1 = CFrame.new(-7.12448502, -24.6703815, 56.9065475, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121),
- })
- local o37 = AddInstance("SpecialMesh",{
- Parent = o36,
- MeshType = Enum.MeshType.Wedge,
- })
- local o38 = AddInstance("Part",{
- Name = "19",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(4.54285717, 5.01428556, 1.02857161),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o38,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o38,
- C1 = CFrame.new(2.95587444, -56.843811, -7.12423134, -0.000554800034, 0.00142350839, 0.999998927, -0.00427680276, -0.999989867, 0.0014211227, 0.999990702, -0.00427600928, 0.000560882385),
- })
- local o39 = AddInstance("SpecialMesh",{
- Parent = o38,
- MeshId = "http://www.roblox.com/asset?id=156292343",
- Scale = Vector3.new(7, 7, 15),
- MeshType = Enum.MeshType.FileMesh,
- })
- local o40 = AddInstance("Part",{
- Name = "12",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(4.54285717, 5.01428556, 1.02857161),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o40,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o40,
- C1 = CFrame.new(-12.5559368, 56.88451, -7.11906242, 0.000555172679, -0.00142338919, -0.999998868, 0.00427656481, 0.999989867, -0.00142100221, 0.999990702, -0.00427577086, 0.000561254215),
- })
- local o41 = AddInstance("SpecialMesh",{
- Parent = o40,
- MeshId = "rbxassetid://430139732",
- Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001),
- MeshType = Enum.MeshType.FileMesh,
- })
- local o42 = AddInstance("Part",{
- Name = "2",
- Parent = o1,
- Material = Enum.Material.Neon,
- BrickColor = BrickColor.new("New Yeller"),
- CanCollide = false,
- Size = Vector3.new(0.400000006, 20, 5.02900028),
- 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(0.972549, 0.972549, 0.972549),
- Locked = true,
- })
- local Weld = AddInstance("Weld",{
- Parent = o42,
- Part0 = o2,
- C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- Part1 = o42,
- C1 = CFrame.new(7.1257782, -12.6132774, -56.9015694, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- })
- ----------------------------------------------------
- local cor = AddInstance("Part",{
- Parent = char.Genkadda,
- Name = "Thingy",
- Locked = true,
- BottomSurface = 0,
- CanCollide = false,
- Size = Vector3.new(5.5, 5.5, 5.5),
- Transparency = 1,
- TopSurface = 0,
- })
- local corw = AddInstance("Weld",{
- Parent = cor,
- Part0 = rarm,
- Part1 = cor,
- C0 = CFrame.new(0, -3, 0) * CFrame.Angles(0,0,0),
- C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),
- })
- local weld1 = AddInstance("Weld",{
- Parent = char.Genkadda,
- Part0 = cor,
- Part1 = o2,
- C0 = CFrame.new(-7, 57, 0),
- C1 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
- })
- ----------------------------------------------------
- function Vanish()
- for i = 1, 10 do wait()
- for i,v in pairs(char.Genkadda:GetChildren()) do
- if v:IsA("Part") or v:IsA("WedgePart") then
- if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- end
- end
- ----------------------------------------------------
- function Appear()
- for i = 1, 10 do wait()
- for i,v in pairs(char.Genkadda:GetChildren()) do
- if v:IsA("Part") or v:IsA("WedgePart") then
- if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- end
- end
- ----------------------------------------------------
- local player = game:GetService("Players").LocalPlayer
- local pchar = player.Character
- local mouse = player:GetMouse()
- local cam = workspace.CurrentCamera
- local keysDown = {}
- local flySpeed = 0
- local MAX_FLY_SPEED = 80
- local canFly = false
- local flyToggled = false
- local forward, side = 0, 0
- local lastForward, lastSide = 0, 0
- local floatBP = Instance.new("BodyPosition")
- floatBP.maxForce = Vector3.new(0, math.huge, 0)
- local flyBV = Instance.new("BodyVelocity")
- flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- local turnBG = Instance.new("BodyGyro")
- turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- mouse.KeyDown:connect(function(key)
- keysDown[key] = true
- if key == "f" then
- flyToggled = not flyToggled
- if not flyToggled then
- stanceToggle = "Normal"
- floatBP.Parent = nil
- flyBV.Parent = nil
- turnBG.Parent = nil
- root.Velocity = Vector3.new()
- pchar.Humanoid.PlatformStand = false
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- keysDown[key] = nil
- end)
- local function updateFly()
- if not flyToggled then return end
- lastForward = forward
- lastSide = side
- forward = 0
- side = 0
- if keysDown.w then
- forward = forward + 1
- end
- if keysDown.s then
- forward = forward - 1
- end
- if keysDown.a then
- side = side - 1
- end
- if keysDown.d then
- side = side + 1
- end
- canFly = (forward ~= 0 or side ~= 0)
- if canFly then
- stanceToggle = "Floating"
- turnBG.Parent = root
- floatBP.Parent = nil
- flyBV.Parent = root
- flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
- if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
- else
- floatBP.position = root.Position
- floatBP.Parent = root
- flySpeed = flySpeed - 1
- if flySpeed < 0 then flySpeed = 0 end
- end
- local camCF = cam.CoordinateFrame
- local in_forward = canFly and forward or lastForward
- local in_side = canFly and side or lastSide
- flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
- in_forward * 0.2, 0).p) - camCF.p) * flySpeed
- turnBG.cframe = camCF * CFrame.Angles(-math.rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
- 0)
- end
- game:service'RunService'.RenderStepped:connect(function()
- if flyToggled then
- pchar.Humanoid.PlatformStand = true
- end
- updateFly()
- end)
- ----------------------------------------------------
- o42.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true
- hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
- wait(.3)
- Debounces.Slashed = false
- end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
- wait(.3)
- Debounces.Slashed = false
- end
- end
- end
- end
- end)
- ----------------------------------------------------
- ptz = {0.7, 0.8, 0.9, 1}
- idz = {"161006212", "161006195"}
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,0.65,-6)*CFrame.Angles(math.rad(60),math.rad(70),math.rad(70)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-1,2.2) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait(2)
- end
- z = Instance.new("Sound", hed)
- z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = math.huge
- wait(.01)
- z:Play()
- Debounces.Slashing = true
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2, -2, 3) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
- if Debounces.on == false then break end
- rs:wait(2)
- end
- Debounces.Slashing = false
- z:Destroy()
- cor.Weld.C1 = CFrame.Angles(0,0,0)
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- for i = 1, 20 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
- cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
- if Debounces.on==false then break end
- rs:wait(2)
- end
- Debounces.Slashing = true
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://206083107"
- z.Pitch = .75
- z.Volume = .65
- wait(0.1)
- z:Play()
- z1 = Instance.new("Sound", hed)
- z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
- z1.Pitch = ptz[math.random(1,#ptz)]
- z1.Volume = math.huge
- wait(.01)
- z1:Play()
- for i = 1, 20 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
- cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(40), math.rad(20), math.rad(20)), 0.35)
- if Debounces.on==false then break end
- rs:wait(2)
- end
- Debounces.Slashing = false
- cor.Weld.C1 = CFrame.Angles(0,0,0)
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- -------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "g" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- Debounces.Slashing = true
- for i = 1, 8 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(0, 0, 0), 0.8)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
- cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(80), math.rad(0), math.rad(0)), 0.35)
- if Debounces.on==false then break end
- rs:wait(2)
- end
- for i = 1, 1440, 48 do
- torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
- rs:wait(4)
- end
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- cor.Weld.C1 = CFrame.Angles(0,0,0)
- Debounces.Slashing = false
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- pt = {6.6, 6.8, 7, 7.2, 7.4}
- mouse.KeyDown:connect(function(key)
- if key == "h" then
- if Debounces.CanJoke == true then
- Debounces.CanJoke = false
- u = Instance.new("Sound",char)
- u.SoundId = "http://www.roblox.com/asset/?id=261303790"
- u.Pitch = pt[math.random(1,#pt)]
- u.Volume = math.huge
- u2 = Instance.new("Sound",char)
- u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
- u2.Pitch = u.Pitch
- u2.Volume = math.huge
- u3 = Instance.new("Sound",char)
- u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
- u3.Pitch = u.Pitch
- u3.Volume = math.huge
- wait(.01)
- u:Play()
- u2:Play()
- u3:Play()
- wait(1.5)
- u:Destroy()
- u2:Destroy()
- u3:Destroy()
- if Debounces.CanJoke == false then
- Debounces.CanJoke = true
- end
- end
- end
- end)
- ----------------------------------------------------
- Melee = false
- mouse.KeyDown:connect(function(key)
- if key == "m" then
- if Melee == false then
- Melee = true
- Vanish()
- stanceToggle = "Melee"
- elseif Melee == true then
- Melee = false
- Appear()
- stanceToggle = "Normal"
- end
- end
- end)
- -------------------------------
- mouse.KeyDown:connect(function(key)
- if string.byte(key) == 48 then
- if Debounces.CanAttack == true then
- if stanceToggle ~= "Floating" then
- char.Humanoid.WalkSpeed = 80
- elseif Debounces.CanAttack == false then
- elseif stanceToggle == "Floating" then
- wait()
- end
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 48 then
- char.Humanoid.WalkSpeed = 16
- end
- end)
- -------------------------------
- local animpose = "Idle"
- local lastanimpose = "Idle"
- local sine = 0
- local change = 1
- local val = 0
- local ffing = false
- -------------------------------
- --[[if stanceToggle == "Sitting" then
- if wait(math.random(1,2)) == 1 then
- stanceToggle = "Sitting2"
- wait(8)
- stanceToggle = "Sitting"
- end
- end]]--
- -------------------------------
- game:GetService("RunService").RenderStepped:connect(function()
- --[[if char.Humanoid.Jump == true then
- jump = true
- else
- jump = false
- end]]
- char.Humanoid.FreeFalling:connect(function(f)
- if f then
- ffing = true
- else
- ffing = false
- end
- end)
- sine = sine + change
- if jumpn == true then
- animpose = "Jumping"
- elseif ffing == true then
- animpose = "Freefalling"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
- animpose = "Idle"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
- animpose = "Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
- animpose = "Running"
- end
- if animpose ~= lastanimpose then
- sine = 0
- if Debounces.NoIdl == false then
- if stanceToggle == "Normal" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
- cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- elseif stanceToggle == "Floating" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
- wait()
- end
- else
- end
- end
- lastanimpose = animpose
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- if stanceToggle == "Normal" then
- change = 0.5
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
- elseif stanceToggle == "Melee" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- elseif stanceToggle == "Floating" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
- end
- elseif animpose == "Walking" then
- if stanceToggle == "Normal" then
- change = 1
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
- elseif stanceToggle == "Melee" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
- elseif stanceToggle == "Floating" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
- end
- elseif animpose == "Running" then
- if stanceToggle == "Normal" then
- change = 1
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-4, -0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(4, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
- elseif stanceToggle == "Floating" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
- end
- end
- end
- end)
- Spawn(function()
- while wait() do
- updateFly()
- end
- end)
- Spawn(function()
- while wait(5) do
- GroundWave3()
- end
- end)
- Spawn(function()
- while wait(0) do
- hum.MaxHealth = 1.79769e+308
- hum.Health = 1.79769e+308
- end
- end)
- function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
- --[[Part0 = Vector3 (Start pos)
- Part1 = Vector3 (End pos)
- Times = number (Amount of lightning parts)
- Offset = number (Offset)
- Color = color (brickcolor value)
- Thickness = number (thickness)
- Trans = number (transparency)
- ]]--
- local magz = (Part0 - Part1).magnitude
- local curpos = Part0
- local trz = {-Offset,Offset}
- for i=1,Times do
- local li = Instance.new("Part", torso)
- li.Name = "Lightning"
- li.TopSurface =0
- li.Material = "Neon"
- li.BottomSurface = 0
- li.Anchored = true
- li.Locked = true
- li.Transparency = Trans or 0.4
- li.BrickColor = BrickColor.new(Color)
- li.formFactor = "Custom"
- li.CanCollide = false
- li.Size = Vector3.new(Thickness,Thickness,magz/Times)
- local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
- local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
- if Times == i then
- local magz2 = (curpos - Part1).magnitude
- li.Size = Vector3.new(Thickness,Thickness,magz2)
- li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
- else
- li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
- end
- curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
- game.Debris:AddItem(li,.1)
- end
- end
- BodyParts = {} -- Parts to emit lightning effects from
- for _, v in pairs(char:GetChildren()) do
- if v:IsA("Part") then
- table.insert(BodyParts, v)
- end
- end
- Bounding = {} -- Calculate the bounding boxes
- for _, v in pairs(BodyParts) do
- local temp = {X=nil, Y=nil, Z=nil}
- temp.X = v.Size.X/2 * 35
- temp.Y = v.Size.Y/2 * 35
- temp.Z = v.Size.Z/2 * 35
- Bounding[v.Name] = temp
- --table.insert(Bounding, v.Name, temp)
- end
- while wait(0) do -- Emit the Lightning effects randomly
- local Body1 = BodyParts[math.random(#BodyParts)]
- local Body2 = BodyParts[math.random(#BodyParts)]
- local Pos1 = Vector3.new(
- math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/35,
- math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/35,
- math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/35
- )
- local Pos2 = Vector3.new(
- math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/35,
- math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/35,
- math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/35
- )
- local SPos1 = Body1.Position + Pos1
- local SPos2 = Body2.Position + Pos2
- Lightning(SPos1, SPos2, 4, 3, "Teal", .3, .56)
- end
- wait'.5'
- local WrapMaterial="SmoothPlastic"
- local WrapColor=BrickColor.new("Brown")
- local BladeMaterial='Neon'
- local HandleMaterial='Neon'
- local LightColor=BrickColor.new("Cyan")
- local HandleColor=BrickColor.new("Really black")
- local BladeColor=BrickColor.new("Institutional white")
- local BladeRefl=.3
- local AttackOrbColor=BrickColor.new("White")
- local HealOrbColor=BrickColor.new("New Yeller")
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- local maus = plr:GetMouse()
- local PGui=plr.PlayerGui
- local lleg = chr["Left Leg"]
- local rleg = chr["Right Leg"]
- local larm = chr["Left Arm"]
- local rarm = chr["Right Arm"]
- local hed = chr.Head
- local rutprt = chr.HumanoidRootPart
- local torso = chr.Torso
- local otheranims=false
- local armmovement=false
- chr.Animate.Disabled=true
- local sitting=false
- local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
- local hitdb=false
- local Swing='Swing1'
- local RunSpeed=36
- local WlkSpeed=18
- local SneakSpeed=10
- local runnin=false
- local disabled=false
- local tik=0
- local spinvalue=0
- local death=Instance.new('Sound',rutprt)
- death.Pitch=1
- death.Volume=.5
- death.SoundId='http://www.roblox.com/asset?id=170399891'
- chr.Humanoid.Died:connect(function()
- death:play''
- end)
- local trailing=false
- local shootdb=false
- local idlesineinc=35
- local sneaking=false
- coroutine.wrap(function()
- for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
- function Lerp(a, b, i)
- local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
- local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
- local calx = com1[1] + (com2[1] - com1[1]) * i
- local caly = com1[2] + (com2[2] - com1[2]) * i
- local calz = com1[3] + (com2[3] - com1[3]) * i
- local cala = com1[4] + (com2[4] - com1[4]) * i
- local calb = com1[5] + (com2[5] - com1[5]) * i
- local calc = com1[6] + (com2[6] - com1[6]) * i
- return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
- end
- function TwnSingleNumber(s,f,m)
- local wot=s+(f-s)*m
- return wot
- end
- function TwnVector3(q,w,e)
- local begin={q.x,q.y,q.z}
- local ending={w.x,w.y,w.z}
- local bgx=begin[1]+(ending[1]-begin[1])*e
- local bgy=begin[2]+(ending[2]-begin[2])*e
- local bgz=begin[3]+(ending[3]-begin[3])*e
- return Vector3.new(bgx,bgy,bgz)
- end
- newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
- wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- function Avg(a, b)
- return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
- end
- local jump=Instance.new('Sound',rutprt)
- jump.Volume=.2
- jump.Pitch=1
- jump.SoundId='http://www.roblox.com/asset?id=170588191'
- newWeld(law, torso, larm, -1.5, 0.5, 0)
- newWeld(raw, torso, rarm, 1.5, 0.5, 0)
- newWeld(llw, torso, lleg, -.5, -2, 0)
- newWeld(rlw, torso, rleg, .5, -2, 0)
- newWeld(hw, torso, hed, 0, 1.5, 0)
- local rutwald=Instance.new('Weld',rutprt)
- rutwald.Part0=rutprt
- rutwald.Part1=torso
- rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
- lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
- local anim = "Idling"
- local lastanim = "Idling"
- local val = 0
- local syne = 0
- local num = 0
- local runtime = 0
- local TrailModel=Instance.new("Model",chr)
- TrailModel.Name="Trails"
- local Sword=Instance.new('Model',chr)
- Sword.Name='BlackIronBroadSword'
- local obj1=Instance.new('Part',Sword)
- obj1.Name='Handle'
- obj1.formFactor='Custom'
- obj1.Size=Vector3.new(.2,1.25,.2)
- obj1.BrickColor=HandleColor
- obj1.Material=HandleMaterial
- obj1.CanCollide=false
- obj1.TopSurface=10
- obj1.BottomSurface=10
- obj1.LeftSurface=10
- obj1.RightSurface=10
- obj1.FrontSurface=10
- obj1.BackSurface=10
- obj1:breakJoints()
- local objm1=Instance.new('CylinderMesh',obj1)
- local objw1=Instance.new('Weld',obj1)
- objw1.Part0=obj1
- objw1.Part1=torso
- objw1.C0=CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(37.5))
- local obj2=Instance.new('Part',Sword)
- obj2.Name='Handle'
- obj2.formFactor='Custom'
- obj2.Size=Vector3.new(.25,.1,.25)
- obj2.BrickColor=HandleColor
- obj2.Material=HandleMaterial
- obj2.CanCollide=false
- obj2.TopSurface=10
- obj2.BottomSurface=10
- obj2.LeftSurface=10
- obj2.RightSurface=10
- obj2.FrontSurface=10
- obj2.BackSurface=10
- obj2:breakJoints()
- local objm2=Instance.new('CylinderMesh',obj2)
- local objw2=Instance.new('Weld',obj2)
- objw2.Part0=obj2
- objw2.Part1=obj1
- objw2.C0=CFrame.new(0,-.625,0)*CFrame.Angles(0,0,0)
- local obj3=Instance.new('Part',Sword)
- obj3.Name='Handle'
- obj3.formFactor='Custom'
- obj3.Size=Vector3.new(.3,.1,.3)
- obj3.BrickColor=HandleColor
- obj3.Material=HandleMaterial
- obj3.CanCollide=false
- obj3.TopSurface=10
- obj3.BottomSurface=10
- obj3.LeftSurface=10
- obj3.RightSurface=10
- obj3.FrontSurface=10
- obj3.BackSurface=10
- obj3:breakJoints()
- local objm3=Instance.new('CylinderMesh',obj3)
- local objw3=Instance.new('Weld',obj3)
- objw3.Part0=obj3
- objw3.Part1=obj1
- objw3.C0=CFrame.new(0,-.725,0)*CFrame.Angles(0,0,0)
- local obj4=Instance.new('Part',Sword)
- obj4.Name='Handle'
- obj4.formFactor='Custom'
- obj4.Size=Vector3.new(.25,.1,.25)
- obj4.BrickColor=HandleColor
- obj4.Material=HandleMaterial
- obj4.CanCollide=false
- obj4.TopSurface=10
- obj4.BottomSurface=10
- obj4.LeftSurface=10
- obj4.RightSurface=10
- obj4.FrontSurface=10
- obj4.BackSurface=10
- obj4:breakJoints()
- local objm4=Instance.new('CylinderMesh',obj4)
- local objw4=Instance.new('Weld',obj4)
- objw4.Part0=obj4
- objw4.Part1=obj1
- objw4.C0=CFrame.new(0,.625,0)*CFrame.Angles(0,0,0)
- local obj5=Instance.new('Part',Sword)
- obj5.Name='Handle'
- obj5.formFactor='Custom'
- obj5.Size=Vector3.new(.3,.1,.3)
- obj5.BrickColor=HandleColor
- obj5.Material=HandleMaterial
- obj5.CanCollide=false
- obj5.TopSurface=10
- obj5.BottomSurface=10
- obj5.LeftSurface=10
- obj5.RightSurface=10
- obj5.FrontSurface=10
- obj5.BackSurface=10
- obj5:breakJoints()
- local objm5=Instance.new('CylinderMesh',obj5)
- local objw5=Instance.new('Weld',obj5)
- objw5.Part0=obj5
- objw5.Part1=obj1
- objw5.C0=CFrame.new(0,.725,0)*CFrame.Angles(0,0,0)
- local obj6=Instance.new('Part',Sword)
- obj6.Name='Handle'
- obj6.formFactor='Custom'
- obj6.Size=Vector3.new(1.2,.3,.35)
- obj6.BrickColor=HandleColor
- obj6.Material=HandleMaterial
- obj6.CanCollide=false
- obj6.TopSurface=10
- obj6.BottomSurface=10
- obj6.LeftSurface=10
- obj6.RightSurface=10
- obj6.FrontSurface=10
- obj6.BackSurface=10
- obj6:breakJoints()
- local objm6=Instance.new('SpecialMesh',obj6)
- objm6.MeshType='Sphere'
- local objw6=Instance.new('Weld',obj6)
- objw6.Part0=obj6
- objw6.Part1=obj1
- objw6.C0=CFrame.new(0,.775,0)*CFrame.Angles(0,0,0)
- local obj7=Instance.new('Part',Sword)
- obj7.Name='Handle'
- obj7.formFactor='Custom'
- obj7.Size=Vector3.new(1.2,.1,.35)
- obj7.BrickColor=HandleColor
- obj7.Material=HandleMaterial
- obj7.CanCollide=false
- obj7.TopSurface=10
- obj7.BottomSurface=10
- obj7.LeftSurface=10
- obj7.RightSurface=10
- obj7.FrontSurface=10
- obj7.BackSurface=10
- obj7:breakJoints()
- local objm7=Instance.new('SpecialMesh',obj7)
- objm7.MeshId='http://www.roblox.com/asset?id=3270017'
- objm7.Scale=Vector3.new(1.2,.175,2)
- local objw7=Instance.new('Weld',obj7)
- objw7.Part0=obj7
- objw7.Part1=obj1
- objw7.C0=CFrame.new(0,0,.775)*CFrame.Angles(math.rad(90),0,0)
- local obj8=Instance.new('Part',Sword)
- obj8.Name='Handle'
- obj8.formFactor='Custom'
- obj8.Size=Vector3.new(.55,.1,.55)
- obj8.BrickColor=HandleColor
- obj8.Material=HandleMaterial
- obj8.CanCollide=false
- obj8.TopSurface=10
- obj8.BottomSurface=10
- obj8.LeftSurface=10
- obj8.RightSurface=10
- obj8.FrontSurface=10
- obj8.BackSurface=10
- obj8:breakJoints()
- local objm8=Instance.new('CylinderMesh',obj8)
- objm8.Scale=Vector3.new(1,.4,1)
- local objw8=Instance.new('Weld',obj8)
- objw8.Part0=obj8
- objw8.Part1=obj1
- objw8.C0=CFrame.new(0,0,.95)*CFrame.Angles(math.rad(90),0,0)
- local obj9=Instance.new('Part',Sword)
- obj9.Name='Handle'
- obj9.formFactor='Custom'
- obj9.Size=Vector3.new(.55,.1,.55)
- obj9.BrickColor=HandleColor
- obj9.Material=HandleMaterial
- obj9.CanCollide=false
- obj9.TopSurface=10
- obj9.BottomSurface=10
- obj9.LeftSurface=10
- obj9.RightSurface=10
- obj9.FrontSurface=10
- obj9.BackSurface=10
- obj9:breakJoints()
- local objm9=Instance.new('CylinderMesh',obj9)
- objm9.Scale=Vector3.new(1.25,.35,1.25)
- local objw9=Instance.new('Weld',obj9)
- objw9.Part0=obj9
- objw9.Part1=obj1
- objw9.C0=CFrame.new(0,0,.95)*CFrame.Angles(math.rad(90),0,0)
- local obj10=Instance.new('Part',Sword)
- obj10.Name='Handle'
- obj10.formFactor='Custom'
- obj10.Size=Vector3.new(.55,.1,.55)
- obj10.BrickColor=HandleColor
- obj10.Material=HandleMaterial
- obj10.CanCollide=false
- obj10.TopSurface=10
- obj10.BottomSurface=10
- obj10.LeftSurface=10
- obj10.RightSurface=10
- obj10.FrontSurface=10
- obj10.BackSurface=10
- obj10:breakJoints()
- local objm10=Instance.new('CylinderMesh',obj10)
- objm10.Scale=Vector3.new(1.5,.3,1.5)
- local objw10=Instance.new('Weld',obj10)
- objw10.Part0=obj10
- objw10.Part1=obj1
- objw10.C0=CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,0)
- local obj11=Instance.new('Part',Sword)
- obj11.Name='Handle'
- obj11.formFactor='Custom'
- obj11.Size=Vector3.new(.35,.2,3.5)
- obj11.BrickColor=HandleColor
- obj11.Material=HandleMaterial
- obj11.CanCollide=false
- obj11.TopSurface=10
- obj11.BottomSurface=10
- obj11.LeftSurface=10
- obj11.RightSurface=10
- obj11.FrontSurface=10
- obj11.BackSurface=10
- obj11:breakJoints()
- local objm11=Instance.new('SpecialMesh',obj11)
- objm11.MeshType='Wedge'
- objm11.Scale=Vector3.new(.16,1,1)
- local objw11=Instance.new('Weld',obj11)
- objw11.Part0=obj11
- objw11.Part1=obj1
- objw11.C0=CFrame.new(0,-.25,2.75)*CFrame.Angles(math.rad(90),math.rad(90),0)
- local obj12=Instance.new('Part',Sword)
- obj12.Name='Handle'
- obj12.formFactor='Custom'
- obj12.Size=Vector3.new(.35,.2,3.5)
- obj12.BrickColor=HandleColor
- obj12.Material=HandleMaterial
- obj12.CanCollide=false
- obj12.TopSurface=10
- obj12.BottomSurface=10
- obj12.LeftSurface=10
- obj12.RightSurface=10
- obj12.FrontSurface=10
- obj12.BackSurface=10
- obj12:breakJoints()
- local objm12=Instance.new('SpecialMesh',obj12)
- objm12.MeshType='Wedge'
- objm12.Scale=Vector3.new(.16,1,1)
- local objw12=Instance.new('Weld',obj12)
- objw12.Part0=obj12
- objw12.Part1=obj1
- objw12.C0=CFrame.new(0,-.25,2.75)*CFrame.Angles(math.rad(90),math.rad(-90),0)
- local obj13=Instance.new('Part',Sword)
- obj13.Name='Handle'
- obj13.formFactor='Custom'
- obj13.Size=Vector3.new(.35,.35,.35)
- obj13.BrickColor=HandleColor
- obj13.Material=HandleMaterial
- obj13.CanCollide=false
- obj13.TopSurface=10
- obj13.BottomSurface=10
- obj13.LeftSurface=10
- obj13.RightSurface=10
- obj13.FrontSurface=10
- obj13.BackSurface=10
- obj13:breakJoints()
- local objm13=Instance.new('BlockMesh',obj13)
- objm13.Scale=Vector3.new(.1605,.62175,.62175)
- local objw13=Instance.new('Weld',obj13)
- objw13.Part0=obj13
- objw13.Part1=obj1
- objw13.C0=CFrame.new(0,3.1775,3.1775)*CFrame.Angles(math.rad(45),math.rad(-90),0)
- local obj14=Instance.new('Part',Sword)
- obj14.Name='Handle'
- obj14.formFactor='Custom'
- obj14.Size=Vector3.new(.35,.4,4)
- obj14.BrickColor=BladeColor
- obj14.Material=BladeMaterial
- obj14.Reflectance=BladeRefl
- obj14.CanCollide=false
- obj14.TopSurface=10
- obj14.BottomSurface=10
- obj14.LeftSurface=10
- obj14.RightSurface=10
- obj14.FrontSurface=10
- obj14.BackSurface=10
- obj14:breakJoints()
- local objm14=Instance.new('SpecialMesh',obj14)
- objm14.MeshType='Wedge'
- objm14.Scale=Vector3.new(.1495,1,1)
- local objw14=Instance.new('Weld',obj14)
- objw14.Part0=obj14
- objw14.Part1=obj1
- objw14.C0=CFrame.new(0,-.35,2.8)*CFrame.Angles(math.rad(90),math.rad(-90),0)
- local obj15=Instance.new('Part',Sword)
- obj15.Name='Handle'
- obj15.formFactor='Custom'
- obj15.Size=Vector3.new(.35,.4,4)
- obj15.BrickColor=BladeColor
- obj15.Material=BladeMaterial
- obj15.Reflectance=BladeRefl
- obj15.CanCollide=false
- obj15.TopSurface=10
- obj15.BottomSurface=10
- obj15.LeftSurface=10
- obj15.RightSurface=10
- obj15.FrontSurface=10
- obj15.BackSurface=10
- obj15:breakJoints()
- local objm15=Instance.new('SpecialMesh',obj15)
- objm15.MeshType='Wedge'
- objm15.Scale=Vector3.new(.1495,1,1)
- local objw15=Instance.new('Weld',obj15)
- objw15.Part0=obj15
- objw15.Part1=obj1
- objw15.C0=CFrame.new(0,-.35,2.8)*CFrame.Angles(math.rad(90),math.rad(90),0)
- local obj16=Instance.new('Part',Sword)
- obj16.Name='Handle'
- obj16.formFactor='Custom'
- obj16.Size=Vector3.new(.35,.3,4)
- obj16.BrickColor=BladeColor
- obj16.Material=BladeMaterial
- obj16.Reflectance=BladeRefl
- obj16.CanCollide=false
- obj16.TopSurface=10
- obj16.BottomSurface=10
- obj16.LeftSurface=10
- obj16.RightSurface=10
- obj16.FrontSurface=10
- obj16.BackSurface=10
- obj16:breakJoints()
- local objm16=Instance.new('BlockMesh',obj16)
- objm16.Scale=Vector3.new(.1495,1,1)
- local objw16=Instance.new('Weld',obj16)
- objw16.Part0=obj16
- objw16.Part1=obj1
- objw16.C0=CFrame.new(0,0,2.8)*CFrame.Angles(math.rad(90),math.rad(90),0)
- local obj17=Instance.new('Part',Sword)
- obj17.Name='Handle'
- obj17.formFactor='Custom'
- obj17.Size=Vector3.new(.35,.25,.25)
- obj17.BrickColor=BladeColor
- obj17.Material=BladeMaterial
- obj17.Reflectance=BladeRefl
- obj17.CanCollide=false
- obj17.TopSurface=10
- obj17.BottomSurface=10
- obj17.LeftSurface=10
- obj17.RightSurface=10
- obj17.FrontSurface=10
- obj17.BackSurface=10
- obj17:breakJoints()
- local objm17=Instance.new('SpecialMesh',obj17)
- objm17.MeshType='Wedge'
- objm17.Scale=Vector3.new(.1495,.61,1)
- local objw17=Instance.new('Weld',obj17)
- objw17.Part0=obj17
- objw17.Part1=obj1
- objw17.C0=CFrame.new(0,-.075,4.925)*CFrame.Angles(math.rad(90),math.rad(-90),0)
- local obj18=Instance.new('Part',Sword)
- obj18.Name='Handle'
- obj18.formFactor='Custom'
- obj18.Size=Vector3.new(.35,.25,.25)
- obj18.BrickColor=BladeColor
- obj18.Reflectance=BladeRefl
- obj18.Material=BladeMaterial
- obj18.CanCollide=false
- obj18.TopSurface=10
- obj18.BottomSurface=10
- obj18.LeftSurface=10
- obj18.RightSurface=10
- obj18.FrontSurface=10
- obj18.BackSurface=10
- obj18:breakJoints()
- local objm18=Instance.new('SpecialMesh',obj18)
- objm18.MeshType='Wedge'
- objm18.Scale=Vector3.new(.1495,.61,1)
- local objw18=Instance.new('Weld',obj18)
- objw18.Part0=obj18
- objw18.Part1=obj1
- objw18.C0=CFrame.new(0,-.075,4.925)*CFrame.Angles(math.rad(90),math.rad(90),0)
- local obj19=Instance.new('Part',Sword)
- obj19.Name='Handle'
- obj19.formFactor='Custom'
- obj19.Size=Vector3.new(.35,.25,.25)
- obj19.BrickColor=BladeColor
- obj19.Material=BladeMaterial
- obj19.Reflectance=BladeRefl
- obj19.CanCollide=false
- obj19.TopSurface=10
- obj19.BottomSurface=10
- obj19.LeftSurface=10
- obj19.RightSurface=10
- obj19.FrontSurface=10
- obj19.BackSurface=10
- obj19:breakJoints()
- local objm19=Instance.new('BlockMesh',obj19)
- objm19.Scale=Vector3.new(.1495,.35,1)
- local objw19=Instance.new('Weld',obj19)
- objw19.Part0=obj19
- objw19.Part1=obj1
- objw19.C0=CFrame.new(0,0,3.9)*CFrame.Angles(math.rad(90),math.rad(90),0)
- local obj20=Instance.new('Part',Sword)
- obj20.Name='Handle'
- obj20.formFactor='Custom'
- obj20.Size=Vector3.new(.35,.3,3.5)
- obj20.BrickColor=HandleColor
- obj20.Material=HandleMaterial
- obj20.CanCollide=false
- obj20.TopSurface=10
- obj20.BottomSurface=10
- obj20.LeftSurface=10
- obj20.RightSurface=10
- obj20.FrontSurface=10
- obj20.BackSurface=10
- obj20:breakJoints()
- local objm20=Instance.new('BlockMesh',obj20)
- objm20.Scale=Vector3.new(.16,1,1)
- local objw20=Instance.new('Weld',obj20)
- objw20.Part0=obj20
- objw20.Part1=obj1
- objw20.C0=CFrame.new(0,0,2.75)*CFrame.Angles(math.rad(90),math.rad(-90),0)
- local obj21=Instance.new('Part',Sword)
- obj21.Name='Handle'
- obj21.formFactor='Custom'
- obj21.Size=Vector3.new(.25,1.15,4.25)
- obj21.Transparency=1
- obj21.BrickColor=HandleColor
- obj21.CanCollide=false
- obj21.TopSurface=10
- obj21.BottomSurface=10
- obj21.LeftSurface=10
- obj21.RightSurface=10
- obj21.FrontSurface=10
- obj21.BackSurface=10
- obj21:breakJoints()
- local objw21=Instance.new('Weld',obj21)
- objw21.Part0=obj21
- objw21.Part1=obj1
- objw21.C0=CFrame.new(0,0,3)*CFrame.Angles(math.rad(90),math.rad(-90),0)
- local gu=Instance.new(string.reverse('iuGecafruS'),obj21)
- gu.Name='noooplsdontremoveme'
- gu.Adornee=obj21
- gu.Face='Right'
- gu.CanvasSize=Vector2.new(450,200)
- local tb=Instance.new(string.reverse('lebaLtxeT'),gu)
- tb.Name='noooooooplsstap'
- tb.Size=UDim2.new(.25,0,.25,0)
- tb.Position=UDim2.new(.375,0,.375,0)
- tb.TextTransparency=.96
- tb.BackgroundTransparency=1
- tb.TextColor3=Color3.new(1,1,1)
- tb.TextScaled=true
- tb.BorderSizePixel=0
- tb.TextStrokeTransparency=.96
- tb.Text=string.reverse'777yobradec'
- local obj22=Instance.new('Part',Sword)
- obj22.Name='Handle'
- obj22.formFactor='Custom'
- obj22.Size=Vector3.new(1.2,.1,.35)
- obj22.BrickColor=WrapColor
- obj22.Material=WrapMaterial
- obj22.CanCollide=false
- obj22.TopSurface=10
- obj22.BottomSurface=10
- obj22.LeftSurface=10
- obj22.RightSurface=10
- obj22.FrontSurface=10
- obj22.BackSurface=10
- obj22:breakJoints()
- local objm22=Instance.new('SpecialMesh',obj22)
- objm22.MeshId='http://www.roblox.com/asset?id=3270017'
- objm22.Scale=Vector3.new(1,.125,2)
- local objw22=Instance.new('Weld',obj22)
- objw22.Part0=obj22
- objw22.Part1=obj1
- objw22.C0=CFrame.new(0,0,1.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
- local obj23=Instance.new('Part',Sword)
- obj23.Name='Handle'
- obj23.formFactor='Custom'
- obj23.Size=Vector3.new(1.2,.1,.35)
- obj23.BrickColor=WrapColor
- obj23.Material=WrapMaterial
- obj23.CanCollide=false
- obj23.TopSurface=10
- obj23.BottomSurface=10
- obj23.LeftSurface=10
- obj23.RightSurface=10
- obj23.FrontSurface=10
- obj23.BackSurface=10
- obj23:breakJoints()
- local objm23=Instance.new('SpecialMesh',obj23)
- objm23.MeshId='http://www.roblox.com/asset?id=3270017'
- objm23.Scale=Vector3.new(.81,.125,2)
- local objw23=Instance.new('Weld',obj23)
- objw23.Part0=obj23
- objw23.Part1=obj1
- objw23.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
- local clang=Instance.new('Sound',obj21)
- clang.Volume=.8
- clang.Pitch=1.15
- clang.SoundId='http://www.roblox.com/asset?id=155427306'
- local rustle=Instance.new('Sound',obj21)
- rustle.Volume=.8
- rustle.Pitch=1.15
- rustle.SoundId='http://www.roblox.com/asset?id=154162195'
- local swing=Instance.new('Sound',obj21)
- swing.Volume=.25
- swing.Pitch=1
- swing.SoundId='http://www.roblox.com/asset?id=160225846'
- local smack=Instance.new('Sound',obj21)
- smack.Volume=.05
- smack.Pitch=1.75
- smack.SoundId='http://www.roblox.com/asset?id=137579113'
- obj21.Touched:connect(function(hit)
- coroutine.wrap(function()
- if hit then
- for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
- local hawm=hit.Parent and hyoom and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
- if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and damaging and not hitdb then
- smack:play''
- hyoom.Health=hyoom.Health-(math.random(30,50)*(hyoom.MaxHealth/100))
- hitdb=true
- wait(.5)
- hitdb=false
- end
- local hawm=hit.Parent and hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
- if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and ((torso.Velocity*Vector3.new(1,0,1)).magnitude>RunSpeed-10 or rutprt:findFirstChild("SpinAttackVelocity")) and equipped and not armmovement then
- if otheranims and anim=="DashSwing" then
- hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(4*(hit.Parent.Humanoid.MaxHealth/100))
- local asd=Instance.new("BodyVelocity",hit.Parent.Humanoid.Parent.Torso)
- asd.maxForce=Vector3.new(1/0,1/0,1/0)
- asd.velocity=((obj23.CFrame.p-hit.Parent.Torso.CFrame.p).unit*-15)+Vector3.new(0,5,0)
- game:service'Debris':AddItem(asd,.1)
- hyoom.Sit=true
- else
- hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(2*(hit.Parent.Humanoid.MaxHealth/100))
- end
- end
- end
- end)()
- end)
- local asd=Instance.new("PointLight",hed)
- asd.Brightness=123
- asd.Shadows=false
- asd.Range=3
- asd.Color=BrickColor.new("Really black").Color
- local footstep=Instance.new('Sound',rutprt)
- footstep.Pitch=1.235
- footstep.Volume=.02
- footstep.SoundId='http://www.roblox.com/asset?id=154162195'
- local slide=Instance.new('Sound',rutprt)
- slide.Pitch=.675
- slide.Volume=.075
- slide.SoundId='http://www.roblox.com/asset?id=179650551'
- maus.Button1Down:connect(function()
- if equipped and not otheranims and not sitting and not armmovement then
- if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 then
- otheranims=true
- anim="DashSwing"
- local dashvelocity=Instance.new("BodyVelocity",rutprt)
- dashvelocity.maxForce=Vector3.new(1/0,1/0,1/0)
- dashvelocity.Name="DashAttackVelocity"
- dashvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*(RunSpeed*1.5)+Vector3.new(0,2.5,0)
- local dashrotvelo=Instance.new("BodyAngularVelocity",rutprt)
- dashrotvelo.Name="DashAttackRotVelocity"
- dashrotvelo.maxTorque=Vector3.new(0,math.huge,0)
- dashrotvelo.angularvelocity=Vector3.new(0,40,0)
- game:service'Debris':AddItem(dashvelocity,.5)
- game:service'Debris':AddItem(dashrotvelo,.5)
- for asdasd=1,5 do
- dashvelocity.velocity=dashvelocity.velocity-((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed*.3
- dashrotvelo.angularvelocity=dashrotvelo.angularvelocity-Vector3.new(0,8,0)
- wait(.085)
- end
- otheranims=false
- else
- trailing=true
- armmovement=true
- swing.Pitch=math.random(85,100)*.01
- if Swing=='Swing1' then
- armanim='Swing1P1'
- wait(.35)
- swing:play''
- damaging=true
- armanim='Swing1P2'
- wait(.45)
- Swing='Swing2'
- elseif Swing=='Swing2' then
- armanim='Swing2P1'
- wait(.35)
- swing:play''
- damaging=true
- armanim='Swing2P2'
- wait(.45)
- Swing='Swing3'
- elseif Swing=='Swing3' then
- armanim='Swing3P1'
- wait(.35)
- swing:play''
- damaging=true
- armanim='Swing3P2'
- wait(.45)
- Swing='Swing1'
- end
- trailing=false
- armmovement=false
- damaging=false
- end
- end
- end)
- plr.Chatted:connect(function(m)
- if m:lower():sub(1,3)=='/e ' then m=m:sub(4)
- if m:lower():sub(1,5)=='dance' and not otheranims and surfing then
- dnc=true
- anim='Dance'
- end
- end
- end)
- maus.KeyDown:connect(function(kei)
- if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then
- chr.Humanoid.WalkSpeed=RunSpeed
- end
- if kei=="v" and not otheranims and not sneaking and not sitting and not flying and not armmovement and not disabled and not lit then
- if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 then
- otheranims=true
- anim="Sliding"
- local tempvelocity=Instance.new('BodyVelocity',rutprt)
- tempvelocity.Name="TemporaryVelocity"
- tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
- tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
- coroutine.resume(coroutine.create(function()
- local totesvelocity=RunSpeed
- repeat
- if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
- elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
- totesvelocity=totesvelocity-(.5*(RunSpeed/100))
- tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
- end
- wait''
- until tempvelocity.Parent==nil
- end))
- coroutine.resume(coroutine.create(function()
- repeat slide:play'' wait'1.35' until tempvelocity.Parent~=rutprt end))
- coroutine.resume(coroutine.create(function()
- repeat
- local rei=Ray.new(rleg.CFrame.p,((rleg.CFrame*CFrame.new(0,1.25,0)).p-rleg.CFrame.p).unit*-2)
- local parthit,point=Workspace:FindPartOnRay(rei)
- if parthit and point and parthit.CanCollide then
- local asdf=Instance.new('Part',Sword)
- asdf.CanCollide=false
- asdf.Anchored=true
- asdf.Name="Smokin' hawt"
- asdf.formFactor='Custom'
- asdf.Size=Vector3.new(.5,.5,.5)
- asdf.BrickColor=parthit.BrickColor
- asdf.CFrame=rleg.CFrame*CFrame.new(0,-.9,0)
- asdf.TopSurface=10
- asdf.Material='Neon'
- asdf.BottomSurface=10
- asdf.LeftSurface=10
- asdf.RightSurface=10
- asdf.FrontSurface=10
- asdf.BackSurface=10
- game:service'Debris':AddItem(asdf,1.5)
- local asdfg=Instance.new("SpecialMesh",asdf)
- asdfg.MeshType="Sphere"
- coroutine.wrap(function()
- for jkl=1,4,.15 do asdfg.Scale=Vector3.new(jkl,jkl,jkl) asdf.Transparency=asdf.Transparency+.05 asdf.CFrame=asdf.CFrame+Vector3.new(0,.05,0) wait'' end
- end)()
- end
- wait''
- until tempvelocity.Parent==nil
- end))
- end
- end
- if kei=='c' and not otheranims and not sitting and not flying and not lit and not disabled then
- if sneaking then
- sneaking=false
- chr.Humanoid.WalkSpeed=WlkSpeed
- elseif not sneaking then
- chr.Humanoid.WalkSpeed=SneakSpeed
- sneaking=true
- anim='Pre-Sneak'
- wait(.5)
- anim='Sneaking'
- end
- end
- if kei=='g' then
- if not armmovement and not otheranims and equipped and not sitting and not flying and not sneaking then
- trailing=false
- lit=true armmovement=true armanim='Glowing'
- light=Instance.new('Part',Sword)
- light.Name='LightOrbASD'
- light.formFactor='Custom'
- light.Size=Vector3.new(.6,.6,.6)
- light.BrickColor=LightColor
- light.Material="Neon"
- light.Transparency=.6
- light.CanCollide=false
- light.TopSurface=10
- light.BottomSurface=10
- light.LeftSurface=10
- light.RightSurface=10
- light.FrontSurface=10
- light.BackSurface=10
- light.Locked=true
- light:breakJoints()
- local lightm=Instance.new('SpecialMesh',light)
- lightm.MeshType='Sphere'
- lightw=Instance.new('Weld',light)
- lightw.Part0=light
- lightw.Part1=obj1
- lightw.C0=CFrame.new(0,5.5,0)*CFrame.Angles(0,0,0)
- lgt=Instance.new('PointLight',light)
- lgt.Brightness=123123
- lgt.Color=light.BrickColor.Color
- lgt.Shadows=true
- lgt.Range=0
- light2=Instance.new('Part',light)
- light2.Name='LightOrbASD2'
- light2.formFactor='Custom'
- light2.Size=Vector3.new(.25,.25,.25)
- light2.BrickColor=LightColor
- light2.Material="Neon"
- light2.CanCollide=false
- light2.TopSurface=10
- light2.BottomSurface=10
- light2.LeftSurface=10
- light2.RightSurface=10
- light2.FrontSurface=10
- light2.BackSurface=10
- light2.Locked=true
- light2:breakJoints()
- local lightm2=Instance.new('SpecialMesh',light2)
- lightm2.MeshType='Sphere'
- lightw2=Instance.new('Weld',light2)
- lightw2.Part0=light2
- lightw2.Part1=light
- lightw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- end end
- if kei=='e' and not otheranims and not armmovement and not disabled and not lit and not sneaking then
- otheranims=true
- anim="PreSuperJump"
- chr.Humanoid.WalkSpeed=0
- wait''
- local rang=Instance.new('Part',TrailModel)
- rang.formFactor='Custom'
- rang.Transparency=1
- rang.BrickColor=BrickColor.new("Institutional white")
- rang.Size=Vector3.new(10,10,10)
- rang.Name='rang'
- rang.Material="Neon"
- rang.TopSurface=10
- rang.BottomSurface=10
- rang.Locked=true
- rang.FrontSurface=10
- rang.LeftSurface=10
- rang.RightSurface=10
- rang.BackSurface=10
- rang.CanCollide=false
- rang.Anchored=true
- rang.CFrame=rutprt.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0)
- local rmsh=Instance.new('SpecialMesh',rang)
- rmsh.MeshId="http://www.roblox.com/asset/?id=3270017"
- rmsh.Scale=Vector3.new(2,2,1.5)
- game:service'Debris':AddItem(rang,.8)
- coroutine.wrap(function()
- for asdd=10,0,-.4 do
- rang.CFrame=rutprt.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(90),0,0)
- rmsh.Scale=Vector3.new(asdd,asdd,1.5)
- rang.Transparency=rang.Transparency-.05 wait'0'
- end
- end)()
- wait'.8'
- chr.Humanoid.WalkSpeed=WlkSpeed
- chr.Humanoid.Jump=true
- anim="SuperJump"
- local aasdd=Instance.new("BodyVelocity",rutprt)
- aasdd.maxForce=Vector3.new(0,1/0,0)
- aasdd.velocity=Vector3.new(0,111,0)
- game:service'Debris':AddItem(aasdd,.175)
- wait(.5)
- otheranims=false
- end
- if kei=='w' then fldb.w=true end
- if kei=='a' then fldb.a=true end
- if kei=='s' then fldb.s=true end
- if kei=='d' then fldb.d=true end
- if kei=='x' and not otheranims and not armmovement and equipped and not disabled and not lit and not sneaking then
- if not sitting then
- chr.Humanoid.WalkSpeed=0
- sitting=true
- anim='Sitting'
- elseif sitting then
- chr.Humanoid.WalkSpeed=WlkSpeed
- sitting=false
- end
- end
- if kei=='m' then
- if not armmovement and not otheranims and equipped and not sitting and not tpdb and not flying and not disabled and not sneaking then
- tpdb=true
- local ray=Ray.new(rutprt.CFrame.p,((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*30)
- local p,b=workspace:FindPartOnRay(ray,chr)
- if p and p.CanCollide then
- rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-((rutprt.CFrame.p-b).magnitude))
- else
- rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-30)
- end
- wait(2)
- tpdb=false
- end
- end
- if kei=="f" and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking and not disabled and not flying then
- otheranims=true
- trailing=true
- anim="SpinAttack"
- local spinvelocity=Instance.new("BodyAngularVelocity",rutprt)
- spinvelocity.Name="SpinAttackVelocity"
- spinvelocity.maxTorque=Vector3.new(0,math.huge,0)
- end
- if kei=='r' and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking then
- trailing=false
- runnin=false
- armmovement=true
- disabled=true
- armanim='Healing'
- chr.Humanoid.WalkSpeed=0
- heal=Instance.new('Part',TrailModel)
- heal.Name='healOrbASD'
- heal.formFactor='Custom'
- heal.Size=Vector3.new(.85,.85,.85)
- heal.BrickColor=HealOrbColor
- heal.Transparency=.6
- heal.Material="Neon"
- heal.Reflectance=.5
- heal.CanCollide=false
- heal.TopSurface=10
- heal.BottomSurface=10
- heal.LeftSurface=10
- heal.RightSurface=10
- heal.FrontSurface=10
- heal.BackSurface=10
- heal.Locked=true
- heal:breakJoints()
- local healm=Instance.new('SpecialMesh',heal)
- healm.MeshType='Sphere'
- healw=Instance.new('Weld',heal)
- healw.Part0=heal
- healw.Part1=torso
- healw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- local asd=Instance.new('PointLight',heal)
- asd.Brightness=123123
- asd.Color=heal.BrickColor.Color
- asd.Shadows=true
- asd.Range=8
- local heal2=Instance.new('Part',heal)
- heal2.Name='healOrbASD2'
- heal2.formFactor='Custom'
- heal2.Size=Vector3.new(.4,.4,.4)
- heal2.BrickColor=HealOrbColor
- heal2.Material="Neon"
- heal2.CanCollide=false
- heal2.Reflectance=.5
- heal2.TopSurface=10
- heal2.BottomSurface=10
- heal2.LeftSurface=10
- heal2.RightSurface=10
- heal2.FrontSurface=10
- heal2.BackSurface=10
- heal2.Locked=true
- heal2:breakJoints()
- local healm2=Instance.new('SpecialMesh',heal2)
- healm2.MeshType='Sphere'
- healw2=Instance.new('Weld',heal2)
- healw2.Part0=heal2
- healw2.Part1=heal
- healw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- other=Instance.new('Part',TrailModel)
- other.Name='otherOrbASD'
- other.formFactor='Custom'
- other.Size=Vector3.new(.85,.85,.85)
- other.BrickColor=HealOrbColor
- other.Material="Neon"
- other.Transparency=.6
- other.Reflectance=.5
- other.CanCollide=false
- other.TopSurface=10
- other.BottomSurface=10
- other.LeftSurface=10
- other.RightSurface=10
- other.FrontSurface=10
- other.BackSurface=10
- other.Locked=true
- other:breakJoints()
- local otherm=Instance.new('SpecialMesh',other)
- otherm.MeshType='Sphere'
- otherw=Instance.new('Weld',other)
- otherw.Part0=other
- otherw.Part1=torso
- otherw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- local asd2=Instance.new('PointLight',other)
- asd2.Brightness=123123
- asd2.Color=other.BrickColor.Color
- asd2.Shadows=true
- asd2.Range=8
- local other2=Instance.new('Part',other)
- other2.Name='otherOrbASD2'
- other2.formFactor='Custom'
- other2.Size=Vector3.new(.4,.4,.4)
- other2.BrickColor=HealOrbColor
- other2.CanCollide=false
- other2.Material="Neon"
- other2.Reflectance=.5
- other2.TopSurface=10
- other2.BottomSurface=10
- other2.LeftSurface=10
- other2.RightSurface=10
- other2.FrontSurface=10
- other2.BackSurface=10
- other2.Locked=true
- other2:breakJoints()
- local otherm2=Instance.new('SpecialMesh',other2)
- otherm2.MeshType='Sphere'
- otherw2=Instance.new('Weld',other2)
- otherw2.Part0=other2
- otherw2.Part1=other
- otherw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- end
- if kei=='z' and not armmovement and not otheranims and not disabled and not sitting and not lit and not shootdb and equipped and not sneaking then
- armmovement=true
- shootdb=true
- armanim='Swing2P1'
- wait(.25)
- trailing=true
- armanim='Swing2P2'
- wait()
- local blast=Instance.new('Part',TrailModel)
- blast.Name='BlastOrb'
- blast.formFactor='Custom'
- blast.Size=Vector3.new(2,2,2)
- blast.BrickColor=AttackOrbColor
- blast.Transparency=.6
- blast.CanCollide=false
- blast.Material="Neon"
- blast.TopSurface=10
- blast.BottomSurface=10
- blast.LeftSurface=10
- blast.RightSurface=10
- blast.FrontSurface=10
- blast.BackSurface=10
- blast.Locked=true
- blast:breakJoints()
- blast.CFrame=obj1.CFrame*CFrame.new(0,-6,0)
- local whizz=Instance.new('Sound',blast)
- whizz.Volume=.25
- whizz.Pitch=2
- whizz.Looped=true
- whizz.SoundId='http://www.roblox.com/asset?id=133116870'
- whizz:play''
- local blastm=Instance.new('SpecialMesh',blast)
- blastm.MeshType='Sphere'
- local blastlt2=Instance.new('PointLight',blast)
- blastlt2.Brightness=123123
- blastlt2.Color=blast.BrickColor.Color
- blastlt2.Shadows=true
- blastlt2.Range=10
- local blast2=Instance.new('Part',blast)
- blast2.Name='BlastOrb'
- blast2.formFactor='Custom'
- blast2.Size=Vector3.new(1.25,1.25,1.25)
- blast2.BrickColor=AttackOrbColor
- blast2.Transparency=0
- blast2.CanCollide=false
- blast2.Anchored=true
- blast2.Material="Neon"
- blast2.TopSurface=10
- blast2.BottomSurface=10
- blast2.LeftSurface=10
- blast2.RightSurface=10
- blast2.FrontSurface=10
- blast2.BackSurface=10
- blast2.Locked=true
- blast2:breakJoints()
- local blastm2=Instance.new('SpecialMesh',blast2)
- blastm2.MeshType='Sphere'
- local blvel=Instance.new('BodyVelocity',blast)
- blvel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- blvel.velocity=Vector3.new(math.cos(syne)/5,0,math.sin(syne)/5)+(((obj1.CFrame*CFrame.new(0,-6,0)).p-(maus.Hit.p+Vector3.new(0,.5,0))).unit*-80)
- game:service'Debris':AddItem(blast,30)
- game:service'Debris':AddItem(blast2,30)
- blast.Touched:connect(function(hit)
- coroutine.wrap(function()
- if hit then
- for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
- local hawm=hit.Parent and hyoom and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
- if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr then
- hyoom.Health=hyoom.Health-(.8*(hyoom.MaxHealth/100))
- end
- end
- end)()
- end)
- coroutine.resume(coroutine.create(function()
- armmovement=false
- trailing=false
- wait(25)
- shootdb=false
- end))
- coroutine.resume(coroutine.create(function()
- repeat
- blast2.CFrame=blast.CFrame
- local pos1=blast.CFrame
- wait(-1)
- local pos2=blast.CFrame
- blast2.CFrame=blast.CFrame
- local dees=(pos1.p-pos2.p).magnitude
- local treel=Instance.new('Part',TrailModel)
- treel.Name='treelOrbASD'
- treel.formFactor='Custom'
- treel.Size=Vector3.new(.5,dees,.5)
- treel.BrickColor=AttackOrbColor
- treel.Anchored=true
- treel.Transparency=0
- treel.Material="Neon"
- treel.CanCollide=false
- treel.TopSurface=10
- treel.BottomSurface=10
- treel.LeftSurface=10
- treel.RightSurface=10
- treel.FrontSurface=10
- treel.BackSurface=10
- treel.Locked=true
- treel:breakJoints()
- treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
- blvel.velocity=(((blast.CFrame).p-(maus.Hit.p)).unit*-80)
- local asdf=Instance.new('PointLight',treel)
- asdf.Color=treel.BrickColor.Color
- asdf.Range=6
- asdf.Shadows=true
- asdf.Brightness=123123
- local treelm=Instance.new('CylinderMesh',treel)
- game:service'Debris':AddItem(treel,.6)
- coroutine.wrap(function()
- wait()
- for asd=1.05,-0,-.075 do treelm.Scale=Vector3.new(asd,1,asd) wait(-1)
- end
- end)()
- until not blast
- end))
- end
- end)
- maus.KeyUp:connect(function(kei)
- if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then
- chr.Humanoid.WalkSpeed=WlkSpeed
- end
- if kei=='w' then fldb.w=false end
- if kei=='a' then fldb.a=false end
- if kei=='s' then fldb.s=false end
- if kei=='d' then fldb.d=false end
- if kei=='g' and lit then
- lit=false armmovement=false
- if Sword:findFirstChild('LightOrbASD') then Sword.LightOrbASD:Destroy() end
- end
- if kei=="f" and otheranims and rutprt:findFirstChild("SpinAttackVelocity") then
- otheranims=false
- trailing=false
- if rutprt:findFirstChild("SpinAttackVelocity") then rutprt.SpinAttackVelocity:Destroy'' end end
- if kei=='r' and not lit and not otheranims and disabled and armmovement and not sneaking then
- disabled=false armmovement=false chr.Humanoid.WalkSpeed=WlkSpeed
- if TrailModel:findFirstChild('healOrbASD') then TrailModel.healOrbASD:Destroy() end
- if TrailModel:findFirstChild('otherOrbASD') then TrailModel.otherOrbASD:Destroy() end
- end
- if kei=="v" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
- otheranims=false
- rutprt["TemporaryVelocity"]:destroy''
- end
- end)
- local currenthealth=chr.Humanoid.Health
- chr.Humanoid.Changed:connect(function(ch)
- if ch=='Jump' then
- if sitting then
- chr.Humanoid.Jump=false
- end
- if sneaking then
- sneaking=false
- end
- end
- hp=chr.Humanoid.Health
- if hp<currenthealth and currenthealth>2 then
- local damagetaken=currenthealth-hp
- chr.Humanoid.Health=currenthealth-damagetaken*.5
- currenthealth=chr.Humanoid.Health
- end
- if ch=="PlatformStand" then
- chr.Humanoid.PlatformStand=false
- end
- end)
- chr.Humanoid.Jumping:connect(function()
- jump:Play()
- end)
- game:service'RunService'.RenderStepped:connect(function()
- if rutprt:findFirstChild("SpinAttackVelocity") then
- rutprt.SpinAttackVelocity.angularvelocity=TwnVector3(rutprt.SpinAttackVelocity.angularvelocity,Vector3.new(0,35,0),.01)
- end
- if sneaking and not runnin then
- footstep.Volume=.05
- footstep.Pitch=1
- elseif not sneaking and not runnin then
- footstep.Volume=.055
- footstep.Pitch=1.235
- elseif not sneaking and runnin then
- footstep.Volume=.06
- footstep.Pitch=1.235
- end
- if anim~=lastanim then
- runtime=0
- end
- lastanim=anim
- chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
- syne=syne+.95
- if not otheranims and not sitting and not sneaking then
- if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
- anim="Idling"
- elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then
- anim="Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then
- anim="Sprinting"
- elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
- anim='Jumping'
- elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
- anim='Falling'
- end
- end
- if sneaking then
- if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 and anim~='Pre-Sneak' then
- anim="SneakIdle"
- elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 25 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
- anim="SneakWalk"
- end
- end
- if anim=="Idling" then
- if lastanim=='Sprinting' then
- idlesineinc=20
- else
- idlesineinc=35
- end
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(0,math.rad(0),-(math.cos(syne/idlesineinc)/25)+math.rad(37.5)),.1)
- trailing=false
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/idlesineinc)/25,-.1)*CFrame.Angles(math.rad(50),0,math.rad(-5)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1)
- trailing=false
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Walking" then
- tik=tik+1
- if tik==18 then
- footstep:play''
- elseif tik>=36 then tik=0
- footstep:play''
- end
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/6)/8),math.rad(0),-(math.cos(syne/6)/8)+math.rad(37.5)),.1)
- trailing=false
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/3)/10,-.1)*CFrame.Angles(math.cos(syne/6)/10+math.rad(50),0,math.cos(syne/3)/10+math.rad(-5)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1)
- trailing=false
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
- end
- if anim=="Sprinting" then
- tik=tik+1
- if tik==13 then
- footstep:play''
- elseif tik>=26 then tik=0
- footstep:play''
- end
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)-math.cos(syne/4)/5),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)-math.cos(syne/4)/5),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/4)/3.5),math.rad(0),-(math.cos(syne/4)/3.5)+math.rad(37.5)),.1)
- trailing=false
- elseif not armmovement and equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,(math.cos(syne/2.5)/5)+.4,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,(math.cos(syne/2.5)/5)+.2,-.333)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(45)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(80),math.rad(-20),math.rad(-70)),.1)
- trailing=true
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2))*CFrame.Angles(math.cos(syne/4)*2,0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2)*CFrame.Angles(-(math.cos(syne/4)*2),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),-math.cos(syne/4)/5,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5)/1.5)*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-15),math.cos(syne/4)/5,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
- end
- if anim=="Jumping" then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(30),0,math.rad(15)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.45,-.2)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),0,math.rad(-5)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(.2,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Falling" then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Sliding" then
- if not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
- elseif equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(45),math.rad(85),math.rad(0)),.1)
- end
- if anim=="DashSwing" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,.5,-.3)*CFrame.Angles(math.rad(65),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.3,-.4)*CFrame.Angles(math.rad(65),0,math.rad(45)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-32.5)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,-1.4,-1)*CFrame.Angles(math.rad(65),0,math.rad(7.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.2,0)*CFrame.Angles(math.rad(-22.5),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.1+rutprt.Weld.C0.y+.05,0)*CFrame.Angles(math.rad(5),math.rad(TwnSingleNumber(rutprt.Weld.C0:toEulerAnglesXYZ().y,179,.1)),math.rad(-12)),.1)
- end
- if anim=="SpinAttack" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(-30)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(30)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,-.15)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(87.5)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.25)*CFrame.Angles(math.rad(-20),math.rad(0),0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.5+math.cos(syne/20)/2,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.025)
- end
- if equipped then
- objw1.Part1=rarm
- objw1.C1=CFrame.new(-.4,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
- elseif not equipped then
- objw1.Part1=torso
- objw1.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- end
- if anim=='Sitting' and equipped and sitting then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(-37.5)),.25)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(37.5)),.25)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,.4,-.3)*CFrame.Angles(math.rad(130),math.rad(60),math.rad(10)),.125)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(-12)),.25)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(12)),.25)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),.25)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,1,-.25)*CFrame.Angles(math.rad(-7.5),math.rad(0),math.rad(0)),.25)
- end
- if anim=="PreSuperJump" then
- if not equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.05)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.05)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.05)
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(40),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(20),0,math.rad(57)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.4,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.05)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.05)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.05)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.6,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.05)
- end
- if anim=="SuperJump" then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(28)),.1)
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(50),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(30),0,math.rad(57)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.2)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.2)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
- chr.Humanoid.Jump=true
- end
- if armmovement then
- if equipped and armanim=='Swing1P1' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-22.5)),.125)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(40)),.125)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125)
- end
- if equipped and armanim=='Swing1P2' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-27.5)),.3)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3)
- end
- if equipped and armanim=='Swing2P1' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(99),0,math.rad(55)),.125)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.6,-.475)*CFrame.Angles(math.rad(99),0,math.rad(70)),.125)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.125)
- end
- if equipped and armanim=='Swing2P2' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.65,.6,-.475)*CFrame.Angles(math.rad(59),0,math.rad(-80)),.3)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.45,0)*CFrame.Angles(math.rad(59),0,math.rad(-55)),.3)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.3)
- end
- if equipped and armanim=='Swing3P1' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-17.5)),.3)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3)
- end
- if equipped and armanim=='Swing3P2' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-42.5)),.125)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(60)),.125)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125)
- end
- if equipped and armanim=='Glowing' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(math.rad(40),0,math.rad(-10)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.7,.25,-.4)*CFrame.Angles(math.rad(35),0,math.rad(50)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)),.1)
- lightw.C0=Lerp(lightw.C0,CFrame.new(math.cos(syne/4)*1.5,math.sin(syne/75)*1.75+3.5,-math.sin(syne/4)*1.5)*CFrame.Angles(0,0,0),.1)
- end
- if equipped and armanim=='Healing' then
- chr.Humanoid.Health=chr.Humanoid.Health+.215
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(-30)),.125)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(30)),.125)
- objw1.C0=Lerp(objw1.C0,CFrame.new(-.1,.2,-.3)*CFrame.Angles(math.rad(10),math.rad(60),math.rad(0)),.125)
- healw.C0=Lerp(healw.C0,CFrame.new(math.cos(syne/5)*4.5,math.sin(syne/45)*4-1.2,-math.sin(syne/5)*4.5)*CFrame.Angles(0,0,0),.1)
- otherw.C0=Lerp(otherw.C0,CFrame.new(math.sin(syne/5)*4.5,-math.sin(syne/45)*4-1.2,-math.cos(syne/5)*4.5)*CFrame.Angles(0,0,0),.1)
- end
- if equipped and armanim=='ShootP1' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.3,.325,0)*CFrame.Angles(math.rad(29),0,math.rad(-30)),.2)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.85,.325,-.4)*CFrame.Angles(math.rad(9),0,math.rad(47.5)),.2)
- objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,.5,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2)
- end
- if equipped and armanim=='ShootP2' then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.95,.375,-.4)*CFrame.Angles(math.rad(129),0,math.rad(-42.5)),.2)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.375,0)*CFrame.Angles(math.rad(129),0,math.rad(25)),.2)
- objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,1,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2)
- end
- end
- if anim=='Pre-Sneak' then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,0)*CFrame.Angles(math.rad(-12.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1,-.5)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.1)
- end
- if anim=='SneakWalk' then
- tik=tik+1
- if tik>=34 then tik=0
- footstep:play''
- end
- chr.Humanoid.WalkSpeed=SneakSpeed-math.cos(syne/5)*5
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.cos(syne/10)/2.5+math.rad(5),0,math.rad(12)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/10)/2.5+math.rad(5),0,math.rad(-12)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(60),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(40),0,math.rad(62.5)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,math.cos(syne/10)/3-1,-math.sin(syne/10)/1.5-.4)*CFrame.Angles(math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-math.cos(syne/10)/3-1,math.sin(syne/10)/1.5-.4)*CFrame.Angles(-math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(-math.cos(syne/5)/5+math.rad(9),-math.sin(syne/10)/6.1,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,math.cos(syne/5)/5-1.1,-math.cos(syne/5)/2)*CFrame.Angles(math.cos(syne/5)/5+math.rad(-14),math.sin(syne/10)/6,math.rad(0)),.1)
- end
- if anim=='SneakIdle' then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
- elseif equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
- objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
- end
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.1)
- end
- if sitting then chr.Humanoid.WalkSpeed=0 end
- if lit then
- if lgt then
- lgt.Range=TwnSingleNumber(lgt.Range,22.5,.1)
- end
- end
- end)
- local bin=Instance.new('HopperBin',plr.Backpack)
- bin.Name='Sword'
- bin.Selected:connect(function()
- if not otheranims and not armmovement and not sitting and not flying then
- equipped=true
- objw22.Part1=torso
- objw22.C0=CFrame.new(0,.6,-.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(35))
- objw23.Part1=torso
- objw23.C0=CFrame.new(0,.6,.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(35))
- objw1.Part1=rarm
- objw1.C1=CFrame.new(-.4,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
- objw1.C0=CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/6)/8),math.rad(0),-(math.cos(syne/6)/8)+math.rad(37.5))
- end
- end)
- bin.Deselected:connect(function()
- if not otheranims and not armmovement and not sitting and not flying then
- equipped=false
- objw22.Part1=obj1
- objw22.C0=CFrame.new(0,0,1.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
- objw23.Part1=obj1
- objw23.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
- objw1.Part1=torso
- objw1.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- objw1.C0=CFrame.new(0,0,-.15)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(87.5))
- end
- end)
- maus.TargetFilter=TrailModel
- coroutine.wrap(function()
- while true do
- if trailing then
- local pos1=obj1.CFrame*CFrame.new(0,-5,0)
- wait()
- local pos2=obj1.CFrame*CFrame.new(0,-5,0)
- local dees=(pos1.p-pos2.p).magnitude
- local treel=Instance.new('Part',TrailModel)
- treel.Name='treelOrbASD'
- treel.formFactor='Custom'
- treel.Size=Vector3.new(.1,dees,.1)
- treel.BrickColor=BladeColor--BrickColor.new(Color3.new(0,0,0))
- treel.Anchored=true
- treel.Transparency=.5
- treel.CanCollide=false
- treel.Material="Neon"
- treel.TopSurface=10
- treel.BottomSurface=10
- treel.LeftSurface=10
- treel.RightSurface=10
- treel.FrontSurface=10
- treel.BackSurface=10
- treel.Locked=true
- treel:breakJoints()
- treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
- local treelm=Instance.new('CylinderMesh',treel)
- game:service'Debris':AddItem(treel,1)
- coroutine.wrap(function()
- for asd=.7,-0,-.1 do treelm.Scale=Vector3.new(asd,1,asd) wait(0)
- end
- end)()
- elseif not trailing and not lit and armanim~='Healing' then
- wait''
- end
- if lit then
- local pos1=light2.CFrame
- wait()
- local pos2=light2.CFrame
- local dees=(pos1.p-pos2.p).magnitude
- local treel=Instance.new('Part',TrailModel)
- treel.Name='treelOrbASD'
- treel.formFactor='Custom'
- treel.Size=Vector3.new(.1,dees,.1)
- treel.BrickColor=LightColor
- treel.Anchored=true
- treel.Transparency=0
- treel.CanCollide=false
- treel.Material="Neon"
- treel.TopSurface=10
- treel.BottomSurface=10
- treel.LeftSurface=10
- treel.RightSurface=10
- treel.FrontSurface=10
- treel.BackSurface=10
- treel.Locked=true
- treel:breakJoints()
- treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
- local treelm=Instance.new('CylinderMesh',treel)
- game:service'Debris':AddItem(treel,2)
- coroutine.wrap(function()
- for asd=.65,0,-.05 do treelm.Scale=Vector3.new(asd,1,asd) wait(0)
- end
- end)()
- elseif not lit and armanim~='Healing' and not trailing then
- wait''
- end
- if armanim=='Healing' then
- local pos1=other.CFrame
- local pos3=heal.CFrame
- wait()
- local pos4=heal.CFrame
- local pos2=other.CFrame
- local dees=(pos1.p-pos2.p).magnitude
- local dee2=(pos3.p-pos4.p).magnitude
- local treel=Instance.new('Part',TrailModel)
- treel.Name='treel1TrailASD'
- treel.formFactor='Custom'
- treel.Size=Vector3.new(.1,dees,.1)
- treel.BrickColor=HealOrbColor
- treel.Anchored=true
- treel.Transparency=0
- treel.Reflectance=.5
- treel.CanCollide=false
- treel.Material="Neon"
- treel.TopSurface=10
- treel.BottomSurface=10
- treel.LeftSurface=10
- treel.RightSurface=10
- treel.FrontSurface=10
- treel.BackSurface=10
- treel.Locked=true
- treel:breakJoints()
- treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
- local treelm=Instance.new('CylinderMesh',treel)
- game:service'Debris':AddItem(treel,2)
- local treel2=Instance.new('Part',TrailModel)
- treel2.Name='treel2TrailASD'
- treel2.formFactor='Custom'
- treel2.Size=Vector3.new(.1,dee2,.1)
- treel2.BrickColor=HealOrbColor
- treel2.Anchored=true
- treel2.Transparency=0
- treel2.Reflectance=.5
- treel2.CanCollide=false
- treel2.TopSurface=10
- treel2.Material="Neon"
- treel2.BottomSurface=10
- treel2.LeftSurface=10
- treel2.RightSurface=10
- treel2.FrontSurface=10
- treel2.BackSurface=10
- treel2.Locked=true
- treel2:breakJoints()
- treel2.CFrame=CFrame.new(Avg(pos3,pos4).p,pos4.p)*CFrame.Angles(math.pi/2,0,0)
- local treelm2=Instance.new('CylinderMesh',treel2)
- game:service'Debris':AddItem(treel2,2)
- coroutine.wrap(function()
- for asd=.9,-0,-.075 do treelm2.Scale=Vector3.new(asd,1,asd) treelm.Scale=Vector3.new(asd,1,asd) wait(0)
- end
- end)()
- elseif not trailing and not lit and armanim~='Healing' then
- wait''
- end
- end
- end)()
- coroutine.resume(coroutine.create(function()
- for i,x in pairs(chr:GetChildren()) do if x:IsA('Part') then x.Material='Neon' elseif x:IsA('Hat') then x.Handle.Material='Neon' end end end))
- for lalal,lal in pairs(chr:GetChildren()) do if lal.ClassName=='Part' then
- for lalalalal,lalalal in pairs(lal:GetChildren()) do if lalalal.ClassName=='CharacterMesh' then lalalal:Destroy() end end
- elseif lal.ClassName=='CharacterMesh' then lal:Destroy() end end
- wait'.5'
- local pseudohead=hed:Clone()
- for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
- pseudohead.Name='PseudoHead'
- pseudohead.Parent=chr.Head
- local pseudoweld=Instance.new('Weld',torso)
- pseudoweld.Part0=hed
- pseudoweld.Name='PseudoHedWld'
- pseudoweld.Part1=pseudohead
- hed.Transparency=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement