Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- -----------------------
- --[[ Name : Skol ]]--
- -------------------------------------------------------
- --A script By Creterisk/makhail07
- --Discord Creterisk#2958
- -------------------------------------------------------
- --Everything is Meaningless.....
- wait(1 / 60)
- local plr = game:service'Players'.LocalPlayer
- print('Local User is '..plr.Name)
- print('Skol Loaded')
- print[[
- Having lost his arm in the War of Ages,
- He still fights for his honor and pride making him known to all,
- and giving hope to those who have lost it.
- ]]
- local char = plr.Character
- local hum = char:FindFirstChildOfClass'Humanoid'
- local hed = char.Head
- local root = char:FindFirstChild'HumanoidRootPart'
- local rootj = root.RootJoint
- local tors = char.Torso
- local ra = char["Right Arm"]
- local la = char["Left Arm"]
- local rl = char["Right Leg"]
- local ll = char["Left Leg"]
- local neck = tors["Neck"]
- local mouse = plr:GetMouse()
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- local maincolor = BrickColor.new("Institutional white")
- -------------------------------------------------------
- --Start Whitelist and Invincibility--
- -------------------------------------------------------
- ff = Instance.new("ForceField",char)
- ff.Visible = false
- hum.Name = "Base"
- hum.MaxHealth = 1.0E298
- hum.Health = 1.0E298
- game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
- if hum.Health > 0.1 and hum.Health < 1.0E298 then
- hum.MaxHealth = 1.0E298
- hum.Health = 1.0E298
- end
- end)
- -------------------------------------------------------
- --End Whitelist and Invincibility--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Good Stuff--
- -------------------------------------------------------
- cam = game.Workspace.CurrentCamera
- CF = CFrame.new
- angles = CFrame.Angles
- attack = false
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- -------------------------------------------------------
- --End Good Stuff--
- -------------------------------------------------------
- necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RSH, LSH = nil, nil
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = tors["Right Hip"]
- LH = tors["Left Hip"]
- RSH = tors["Right Shoulder"]
- LSH = tors["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "RW"
- RW.Part0 = tors
- RW.C0 = CF(1.5, 0.5, 0)
- RW.C1 = CF(0, 0.5, 0)
- RW.Part1 = ra
- RW.Parent = tors
- LW.Name = "LW"
- LW.Part0 = tors
- LW.C0 = CF(-1.5, 0.5, 0)
- LW.C1 = CF(0, 0.5, 0)
- LW.Part1 = la
- LW.Parent = tors
- Effects = {}
- -------------------------------------------------------
- --Start HeartBeat--
- -------------------------------------------------------
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- -------------------------------------------------------
- --End HeartBeat--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Important Functions--
- -------------------------------------------------------
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- function thread(f)
- coroutine.resume(coroutine.create(f))
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m00 < m11 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s
- return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp
- if cosTheta >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((1 - t) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((t - 1) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- -------------------------------------------------------
- --Start Damage Function--
- -------------------------------------------------------
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- if insta == true then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- else
- h.Health = h.Health - (Damage / 2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- -------------------------------------------------------
- --End Damage Function--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Damage Function Customization--
- -------------------------------------------------------
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Bodoni",
- TextColor3 = Color,
- TextScaled = true,
- TextStrokeColor3 = Color3.fromRGB(0,0,0),
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- -------------------------------------------------------
- --End Damage Function Customization--
- -------------------------------------------------------
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= plr.Name then
- Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
- end
- end
- end
- end
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- },
- Sound = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace
- })
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return fp
- end
- }
- }
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- formFactor = FormFactor,
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- -------------------------------------------------------
- --Start Effect Function--
- -------------------------------------------------------
- EffectModel = Instance.new("Model", char)
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- else
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3 / 60,
- y3 / 60,
- z3 / 60,
- msh
- })
- end
- },
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Spiral = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Push = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- }
- }
- function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
- local fp = IT("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = tors.Position
- RemoveOutlines(fp)
- fp.Material = "SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh = IT(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid ~= "nil" then
- mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- function Magic(bonuspeed, type, pos, scale, value, color, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function Eviscerate(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local ds = coroutine.wrap(function()
- dude:WaitForChild("Head"):BreakJoints()
- wait(0.5)
- target = nil
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v:IsA("Humanoid") then
- v:Destroy()
- end
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- if v:IsA("Model") then
- v:Destroy()
- end
- if v:IsA("Part") or v:IsA("MeshPart") then
- for x, o in pairs(v:GetChildren()) do
- if o:IsA("Decal") then
- o:Destroy()
- end
- end
- coroutine.resume(coroutine.create(function()
- v.Material = "Neon"
- v.CanCollide = false
- local PartEmmit1 = IT("ParticleEmitter", v)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://284205403"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 150
- PartEmmit1.Lifetime = NumberRange.new(1)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.75, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-500, 500)
- PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
- local BodPoss = IT("BodyPosition", v)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- v.Color = maincolor.Color
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait(1)
- v.Transparency = v.Transparency + 0.08
- end
- wait(0.5)
- PartEmmit1.Enabled = false
- wait(3)
- v:Destroy()
- dude:Destroy()
- end))
- end))
- end
- end
- end))
- end)
- ds()
- end
- end
- function FindNearestHead(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
- table.insert(List, v)
- end
- end
- return List
- end
- function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = Vector3.new(x1, y1, z1)
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- speeder = speeder - 0.01 * FastSpeed * bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function SoulSteal(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
- local soulst = coroutine.wrap(function()
- local soul = Instance.new("Part",dude)
- soul.Size = Vector3.new(1,1,1)
- soul.CanCollide = false
- soul.Anchored = false
- soul.Position = torso.Position
- soul.Transparency = 1
- local PartEmmit1 = IT("ParticleEmitter", soul)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://569507414"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 250
- PartEmmit1.Lifetime = NumberRange.new(1.6)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-360, 360)
- PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
- local BodPoss = IT("BodyPosition", soul)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- wait(1.6)
- soul.Touched:connect(function(hit)
- if hit.Parent == char then
- soul:Destroy()
- end
- end)
- wait(1.2)
- while soul do
- swait()
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- BodPoss.Position = tors.Position
- end
- end)
- soulst()
- end
- end
- function FaceMouse()
- local Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or Vector3.new(1,1,1))
- local ENDSIZE = (Table.Size2 or Vector3.new(0,0,0))
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or tors.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or Color3.new(1,1,1))
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- coroutine.resume(coroutine.create(function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BrickC("Pearl"), "Effect", Vector3.new(1,1,1), true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = Cso(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, Vector3.new(0,0,0))
- elseif TYPE == "Block" or TYPE == "Box" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = SIZE
- elseif TYPE == "Cylinder" then
- MSH = IT("CylinderMesh",EFFECT)
- MSH.Scale = SIZE
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, Vector3.new(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, Vector3.new(0,0,0))
- elseif TYPE == "Crown" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, Vector3.new(0,0,0))
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
- else
- EFFECT.CFrame = CFRAME
- end
- for LOOP = 1, TIME+1 do
- swait()
- MSH.Scale = MSH.Scale - GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = Vector3.new(0,0,-MSH.Scale.X/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*angles(Rad(ROTATION1),Rad(ROTATION2),Rad(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- EFFECT.Transparency = 1
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- -------------------------------------------------------
- --End Effect Function--
- -------------------------------------------------------
- function Cso(ID, PARENT, VOLUME, PITCH)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = IT("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- function CameraEnshaking(Length, Intensity)
- coroutine.resume(coroutine.create(function()
- local intensity = 1 * Intensity
- local rotM = 0.01 * Intensity
- for i = 0, Length, 0.1 do
- swait()
- intensity = intensity - 0.05 * Intensity / Length
- rotM = rotM - 5.0E-4 * Intensity / Length
- hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
- cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
- end
- hum.CameraOffset = Vector3.new(0, 0, 0)
- end))
- end
- NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance)
- inst.Parent = parent
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- -------------------------------------------------------
- --End Important Functions--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Customization--
- -------------------------------------------------------
- local Player_Size = 1
- if Player_Size ~= 1 then
- root.Size = root.Size * Player_Size
- tors.Size = tors.Size * Player_Size
- hed.Size = hed.Size * Player_Size
- ra.Size = ra.Size * Player_Size
- la.Size = la.Size * Player_Size
- rl.Size = rl.Size * Player_Size
- ll.Size = ll.Size * Player_Size
- ----------------------------------------------------------------------------------
- rootj.Parent = root
- neck.Parent = tors
- RW.Parent = tors
- LW.Parent = tors
- RH.Parent = tors
- LH.Parent = tors
- ----------------------------------------------------------------------------------
- rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
- rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
- neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
- neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
- RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
- LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
- ----------------------------------------------------------------------------------
- RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
- --hat.Parent = Character
- end
- ----------------------------------------------------------------------------------
- local SONG = 353645187
- local SONG2 = 0
- local Music = Instance.new("Sound",tors)
- Music.Volume = 2.5
- Music.Looped = true
- Music.Pitch = 1 --Pitcher
- ----------------------------------------------------------------------------------
- local equipped = false
- local idle = 0
- local change = 1
- local val = 0
- local toim = 0
- local idleanim = 0.4
- local sine = 0
- local Sit = 1
- local WasAir = false
- local InAir = false
- local LandTick = 0
- local Sitt = false
- local VALUE1 = false
- ----------------------------------------------------------------------------------
- hum.WalkSpeed = 12
- hum.JumpPower = 55
- hum.Animator.Parent = nil
- -------------------------------------------------------
- --End Customization--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Appearance--
- -------------------------------------------------------
- Rusty = New("Model",char,"Rusty",{})
- Handle2 = New("Part",Rusty,"Handle2",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 2),CFrame = CFrame.new(-126.792183, 3.31964397, -79.5352478, 0.177117988, -0.984189153, -0.000990935136, -0.0330330022, -0.00695101311, 0.999430358, -0.983635128, -0.176984385, -0.0337418802),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(0.819999993, 0.400000006, 1),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.890778, 4.2931881, -79.5856781, -0.177117974, -0.730534256, 0.659506738, 0.0330330022, -0.67413646, -0.737868309, 0.983635128, -0.108904272, 0.143533468),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(1, 0.600000024, 0.600000024),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.730534196, -0.674136221, -0.108904235, 0.659506679, -0.737868071, 0.143533424),C1 = CFrame.new(-1.52587891e-05, 0.0991973877, 0.974788666, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.704048, 4.29484653, -79.5522308, -0.177117974, -0.730534256, 0.659506738, 0.0330330022, -0.67413646, -0.737868309, 0.983635128, -0.108904272, 0.143533468),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(1, 0.600000024, 0.600000024),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.730534196, -0.674136221, -0.108904235, 0.659506679, -0.737868071, 0.143533424),C1 = CFrame.new(0.000102996826, -0.0905151367, 0.975131989, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(-126.338814, 3.95237803, -79.4749222, -0.177117974, -0.659492791, -0.730546832, 0.0330330022, 0.737881064, -0.674122453, 0.983635128, -0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.400000006),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.659492731, 0.737880826, -0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(5.7220459e-05, -0.461273193, 0.629888535, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Cutter = New("Part",Rusty,"Cutter",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 4.8499999, 0.400000006),CFrame = CFrame.new(-126.795784, 6.75449228, -79.6499557, -0.177118003, -0.000986972125, -0.984189153, 0.0330330022, 0.999430239, -0.0069469884, 0.983635128, -0.033741165, -0.176984504),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Cutter,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
- mot = New("Motor",Cutter,"mot",{Part0 = Cutter,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.000986972474, 0.999430239, -0.0337411612, -0.984189153, -0.00694698794, -0.176984489),C1 = CFrame.new(-0.00127029419, -3.05175781e-05, 3.43676376, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.794533, 4.48462534, -79.5748444, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(4.95910645e-05, 0.00122070313, 1.16565561, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.794708, 4.60446787, -79.5788116, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(-4.19616699e-05, 0.00126647949, 1.28556347, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1.58999991, 0.200000003),CFrame = CFrame.new(-126.477417, 3.28551841, -79.4765015, 0.177117974, 0.000986972358, -0.984189153, -0.0330330022, -0.999430478, -0.00694698934, -0.983635128, 0.0337411724, -0.176984534),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.400000006),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.000986972474, -0.999430239, 0.0337411612, -0.984189153, -0.00694698794, -0.176984489),C1 = CFrame.new(-0.000907897949, -0.319946289, -0.0364003181, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.894981, 2.27951527, -79.5189209, 0.177117974, -0.731852353, 0.658043623, -0.0330330022, 0.663817585, 0.747165084, -0.983635128, -0.154073566, 0.0933987573),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(1, 0.600000024, 0.600000024),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, -0.731852353, 0.663817406, -0.154073507, 0.658043623, 0.747164905, 0.0933987424),C1 = CFrame.new(8.77380371e-05, 0.105514526, -1.0399847, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(-126.343544, 2.62803984, -79.4312134, 0.177117974, -0.658022285, -0.731871605, -0.0330330022, -0.747184575, 0.66379571, -0.983635128, -0.0933942795, -0.154076278),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.400000006),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, -0.658022225, -0.747184336, -0.0933942422, -0.731871605, 0.663795531, -0.154076248),C1 = CFrame.new(-2.67028809e-05, -0.455154419, -0.69516468, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.708138, 2.28057718, -79.4851913, 0.177117974, -0.731852353, 0.658043623, -0.0330330022, 0.663817585, 0.747165084, -0.983635128, -0.154073566, 0.0933987573),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(1, 0.600000024, 0.600000024),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, -0.731852353, 0.663817406, -0.154073507, 0.658043623, 0.747164905, 0.0933987424),C1 = CFrame.new(-2.67028809e-05, -0.0843505859, -1.04024649, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.890564, 2.29080272, -79.5184021, 0.177117974, -0.731852353, 0.658043623, -0.0330330022, 0.663817585, 0.747165084, -0.983635128, -0.154073566, 0.0933987573),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, -0.731852353, 0.663817406, -0.154073507, 0.658043623, 0.747164905, 0.0933987424),C1 = CFrame.new(-1.14440918e-05, 0.100997925, -1.02872562, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.804283, 2.23945904, -79.501152, -0.177117974, 0.658022285, -0.731871605, 0.0330330022, 0.747184575, 0.66379571, 0.983635128, 0.0933942795, -0.154076278),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.800000012, 0.800000012, 0.800000012),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, 0.658022225, 0.747184336, 0.0933942422, -0.731871605, 0.663795531, -0.154076248),C1 = CFrame.new(0, 0.013381958, -1.08070755, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.45755, 2.40883207, -79.444458, -0.177117974, 0.658022285, -0.731871605, 0.0330330022, 0.747184575, 0.66379571, 0.983635128, 0.0933942795, -0.154076278),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, 0.658022225, 0.747184336, 0.0933942422, -0.731871605, 0.663795531, -0.154076248),C1 = CFrame.new(5.34057617e-05, -0.339080811, -0.913687706, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.508667, 2.32092524, -79.4505692, -0.177117974, 0.658022285, -0.731871605, 0.0330330022, 0.747184575, 0.66379571, 0.983635128, 0.0933942795, -0.154076278),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, 0.658022225, 0.747184336, 0.0933942422, -0.731871605, 0.663795531, -0.154076248),C1 = CFrame.new(-8.39233398e-05, -0.287078857, -1.00128746, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.715729, 2.28009558, -79.4865875, -0.177117974, 0.658022285, -0.731871605, 0.0330330022, 0.747184575, 0.66379571, 0.983635128, 0.0933942795, -0.154076278),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, 0.658022225, 0.747184336, 0.0933942422, -0.731871605, 0.663795531, -0.154076248),C1 = CFrame.new(1.90734863e-05, -0.0766296387, -1.04067326, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.610283, 2.26520872, -79.4670563, -0.177117974, 0.658022285, -0.731871605, 0.0330330022, 0.747184575, 0.66379571, 0.983635128, 0.0933942795, -0.154076278),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.800000012, 0.800000012, 0.800000012),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, 0.658022225, 0.747184336, 0.0933942422, -0.731871605, 0.663795531, -0.154076248),C1 = CFrame.new(-3.05175781e-05, -0.183761597, -1.05631542, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.46196, 2.4933815, -79.4480591, -0.177117974, 0.658022285, -0.731871605, 0.0330330022, 0.747184575, 0.66379571, 0.983635128, 0.0933942795, -0.154076278),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.5, 0.5, 0.5),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, 0.658022225, 0.747184336, 0.0933942422, -0.731871605, 0.663795531, -0.154076248),C1 = CFrame.new(1.90734863e-05, -0.334686279, -0.829060555, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 2),CFrame = CFrame.new(-126.799034, 3.31967187, -79.5364532, 0.177117974, -0.984189272, -0.000990935601, -0.0330330022, -0.00695101405, 0.999430358, -0.983635128, -0.176984414, -0.0337418802),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),C1 = CFrame.new(-2.67028809e-05, 0.00695800781, 7.5340271e-05, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-127.156204, 4.18108511, -79.6295929, -0.177117974, -0.730534256, 0.659506738, 0.0330330022, -0.67413646, -0.737868309, 0.983635128, -0.108904272, 0.143533468),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.730534196, -0.674136221, -0.108904235, 0.659506679, -0.737868071, 0.143533424),C1 = CFrame.new(-0.00012588501, 0.368972778, 0.864494324, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.794838, 4.70447302, -79.5821304, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.5, 0.5, 0.5),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(-0.000102996826, 0.00128173828, 1.38562393, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(-126.809433, 9.25115108, -79.7362671, -0.177117974, -0.102433935, -0.978844583, 0.0330330022, 0.993390203, -0.109933302, 0.983635128, -0.0518053435, -0.172563627),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.389999986, 1, 1),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.102433927, 0.993389904, -0.0518053286, -0.978844523, -0.109933272, -0.172563583),C1 = CFrame.new(-0.00126266479, 0.0113220215, 5.93492508, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Blade = New("Part",Rusty,"Blade",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.CorrodedMetal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1.06999993, 0.200000003),CFrame = CFrame.new(-126.21685, 3.29739046, -79.4300537, 0.177117974, 0.000986972358, -0.984189153, -0.0330330022, -0.999430478, -0.00694698934, -0.983635128, 0.0337411724, -0.176984534),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("BlockMesh",Blade,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.400000006),})
- mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.000986972474, -0.999430239, 0.0337411612, -0.984189153, -0.00694698794, -0.176984489),C1 = CFrame.new(-0.000835418701, -0.584701538, -0.0263605118, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-127.096306, 4.26316881, -79.6216354, -0.177117974, -0.730534256, 0.659506738, 0.0330330022, -0.67413646, -0.737868309, 0.983635128, -0.108904272, 0.143533468),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.730534196, -0.674136221, -0.108904235, 0.659506679, -0.737868071, 0.143533424),C1 = CFrame.new(-5.7220459e-05, 0.308044434, 0.946203232, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.886513, 4.28183508, -79.5845642, -0.177117974, -0.730534256, 0.659506738, 0.0330330022, -0.67413646, -0.737868309, 0.983635128, -0.108904272, 0.143533468),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.730534196, -0.674136221, -0.108904235, 0.659506679, -0.737868071, 0.143533424),C1 = CFrame.new(1.90734863e-05, 0.0948791504, 0.963399887, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.989685, 4.30785131, -79.6040726, -0.177117974, -0.730534256, 0.659506738, 0.0330330022, -0.67413646, -0.737868309, 0.983635128, -0.108904272, 0.143533468),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.800000012, 0.800000012, 0.800000012),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.730534196, -0.674136221, -0.108904235, 0.659506679, -0.737868071, 0.143533424),C1 = CFrame.new(7.2479248e-05, 0.199691772, 0.990161896, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.800163, 4.33466005, -79.5707169, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.800000012, 0.800000012, 0.800000012),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(-5.34057617e-05, 0.00708007813, 1.01564217, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.453194, 4.1700511, -79.5027542, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(-1.14440918e-05, -0.345291138, 0.848489761, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.504562, 4.2573185, -79.5149765, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(2.67028809e-05, -0.293182373, 0.936170578, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.711617, 4.29513693, -79.55336, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(-0.000141143799, -0.0828704834, 0.975468159, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.606293, 4.31155586, -79.5350494, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.800000012, 0.800000012, 0.800000012),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(-3.43322754e-05, -0.189880371, 0.991155624, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-126.457405, 4.0853653, -79.5008469, 0.177117974, 0.659492791, -0.730546832, -0.0330330022, -0.737881064, -0.674122453, -0.983635128, 0.143531382, -0.108906999),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.5, 0.5, 0.5),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.177118018, -0.0330330022, -0.983635128, 0.659492731, -0.737880826, 0.143531352, -0.730546772, -0.674122214, -0.108906962),C1 = CFrame.new(0.000164031982, -0.340896606, 0.763792038, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- Handle = New("Part",Rusty,"Handle",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-127.160545, 4.09641981, -79.6274414, -0.177117974, -0.730534256, 0.659506738, 0.0330330022, -0.67413646, -0.737868309, 0.983635128, -0.108904272, 0.143533468),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
- Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.5, 0.5, 0.5),})
- mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.177118018, 0.0330330022, 0.983635128, -0.730534196, -0.674136221, -0.108904235, 0.659506679, -0.737868071, 0.143533424),C1 = CFrame.new(-0.000221252441, 0.373458862, 0.779808521, 0.177118018, -0.0330330022, -0.983635128, -0.984189153, -0.00695101218, -0.176984355, -0.000990934903, 0.99943012, -0.0337418728),})
- local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CFrame.new(0, -0.5, -0.6) * CFrame.Angles(Rad(35), Rad(0), Rad(0))})
- SkulHead = IT("Model")
- SkulHead.Parent = char
- SkulHead.Name = "SkulHead"
- RHe = IT("Part")
- RHe.Parent = SkulHead
- RHe.BrickColor = BrickColor.new("Really black")
- RHe.Locked = true
- RHe.CanCollide = false
- RHe.Transparency = 0
- PMesh = IT("SpecialMesh")
- RHe.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "rbxassetid://14028428"
- PMesh.TextureId = "rbxassetid://14027832"
- PMesh.Scale = Vector3.new(1.2, 1.2, 1.2)
- PMesh.Parent = RHe
- local RWeld = IT("Weld")
- RWeld.Parent = RHe
- RWeld.Part0 = RHe
- RWeld.Part1 = hed
- RWeld.C0 = CF(0, -0.3, 0) * angles(0, 0, 0)
- hed.face:Remove()
- hed.Transparency = 1
- la.Transparency = 1
- -------------------------------------------------------
- --End Appearance--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Attacks N Stuff--
- -------------------------------------------------------
- function Maniac()
- attack = true
- hum.WalkSpeed = 0
- Cso("1607788178", hed, 3, 0.9)
- for i = 0, 10, 0.1 do
- swait()
- hum.WalkSpeed = 0
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(15)), 0.1)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-20), Rad(5 - 4.5 * Sin(sine / 2))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-5 + 4.5 * Sin(sine / 2))), 0.1)
- end
- attack = false
- hum.WalkSpeed = 12
- end
- function Stobby()
- attack = true
- --Trail.Enabled = true
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- local NoConstant = false
- local Hitter = Cutter.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- if NoConstant == false then
- NoConstant = true
- Damage(hit, hit, 7, 12, 0, "Normal", root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
- end
- end
- end)
- for i = 0, 1.4, 0.1 do
- swait()
- hum.WalkSpeed = 0
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-6), Rad(0), Rad(0)), 0.2)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.2)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.2)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.2)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-186), Rad(13 + 4.5 * Sin(sine / 20)), Rad(13 + 4.5 * Sin(sine / 20))), 0.3)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-36), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.2)
- HW.C0 = clerp(HW.C0, CF(0, -0.5, -0.6) * angles(Rad(35), Rad(0), Rad(0)), 0.3)
- end
- Cso("144508058", Blade, 0.6, 0.8)
- for i = 0, 1.3, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(35)), 0.2)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-35)), 0.2)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(9)), 0.2)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-6)), 0.2)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-12 + 4.5 * Sin(sine / 20))), 0.3)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.2)
- HW.C0 = clerp(HW.C0, CF(0, -0.5, -0.6) * angles(Rad(-45), Rad(0), Rad(0)), 0.3)
- end
- hum.WalkSpeed = 12
- hum.JumpPower = 55
- attack = false
- --Trail.Enabled = false
- Hitter:Disconnect()
- end
- function Infant()
- attack = true
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-10)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(10)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(-20), Rad(15 - 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(20), Rad(-15 + 4.5 * Sin(sine / 20))), 0.1)
- HW.C0 = clerp(HW.C0, CF(0, -1.3, 0.6) * angles(Rad(-150), Rad(0), Rad(0)), 0.3)
- end
- Cso("1386772138", tors, 2, 1)
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.35)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.35)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(10)), 0.35)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-10)), 0.35)
- RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.8 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(15), Rad(-20), Rad(-25 - 4.5 * Sin(sine / 20))), 0.35)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(20), Rad(-15 + 4.5 * Sin(sine / 20))), 0.35)
- HW.C0 = clerp(HW.C0, CF(0, -1.3, 0.6) * angles(Rad(-150), Rad(0), Rad(0)), 0.3)
- end
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.35)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.35)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-10)), 0.35)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(10)), 0.35)
- RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.8 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(145), Rad(-20), Rad(-25 - 4.5 * Sin(sine / 20))), 0.35)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(20), Rad(-15 + 4.5 * Sin(sine / 20))), 0.35)
- HW.C0 = clerp(HW.C0, CF(0, -1.3, 0.6) * angles(Rad(-150), Rad(0), Rad(0)), 0.3)
- end
- attack = false
- end
- function SittyBoi()
- attack = true
- Sitt = true
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- repeat
- swait()
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- for i = 0, 1, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(75)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-75)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-20), Rad(15 - 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-15 + 4.5 * Sin(sine / 20))), 0.1)
- HW.C0 = clerp(HW.C0, CF(0, -0.5, -0.6) * angles(Rad(35), Rad(0), Rad(0)), 0.3)
- end
- until Sitt == false
- attack = false
- hum.WalkSpeed = 12
- hum.JumpPower = 55
- end
- -------------------------------------------------------
- --End Attacks N Stuff--
- -------------------------------------------------------
- mouse.Button1Down:connect(function()
- if attack == false then
- Stobby()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if (VALUE1 == false and attack == false) or Sitt == true then
- if key == "q" then
- if Sitt == false then
- SittyBoi()
- elseif Sitt == true then
- Sitt = false
- end
- end
- end
- if attack == false then
- if key == "t" then
- Maniac()
- elseif key == "z" then
- Infant()
- end
- end
- end)
- -------------------------------------------------------
- --Start Animations--
- -------------------------------------------------------
- print("By Makhail07")
- while true do
- swait()
- sine = sine + change
- local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = root.Velocity.y
- hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- end
- local Landed = false
- if(hitfloor)then
- WasAir = false
- else
- WasAir = true
- end
- if(WasAir == false)then
- if(InAir == true)then
- LandTick = time()
- Landed = true
- end
- end
- if(time()-LandTick < .3)then
- Landed = true
- end
- if(hitfloor)then
- InAir = false
- else
- InAir = true
- end
- if(not char:FindFirstChildOfClass'Shirt')then
- NewInstance("Shirt",char,{ShirtTemplate='rbxassetid://433777063'})
- else
- char:FindFirstChildOfClass'Shirt'.ShirtTemplate='rbxassetid://433777063'
- end
- if(not char:FindFirstChildOfClass'Pants')then
- NewInstance("Pants",char,{PantsTemplate='rbxassetid://433776372'})
- else
- char:FindFirstChildOfClass'Pants'.PantsTemplate='rbxassetid://433776372'
- end
- local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
- local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
- local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
- if (State == 'Walk') and torvel > 1 and attack == false then
- rootj.C1 = clerp(rootj.C1, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 2)
- neck.C1 = clerp(neck.C1, CF(0, -0.5, 0) * angles(Rad(-90), Rad(0), Rad(180)) * angles(Rad(2.5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0)), 0.6)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - rl.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(90 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + ll.RotVelocity.Y / 75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(-90 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
- elseif (State ~= 'Walk') or (torvel < 1) or (attack == true) then
- rootj.C1 = clerp(rootj.C1, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
- neck.C1 = clerp(neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
- RH.C1 = clerp(RH.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
- LH.C1 = clerp(LH.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
- end
- if hum.Sit == false then
- if(State == 'Jump')then
- hum.WalkSpeed = 34
- hum.JumpPower = 55
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif(State == 'Fall')then
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif(State == 'Land')then
- hum.WalkSpeed = 4
- hum.JumpPower = 0
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
- neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(10)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(-10)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif(State == 'Idle')then
- change = 1
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-20)), 0.1)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 2.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.1)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(10)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(8)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-20), Rad(15 - 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-15 + 4.5 * Sin(sine / 20))), 0.1)
- HW.C0 = clerp(HW.C0, CF(0, -0.5, -0.6) * angles(Rad(35), Rad(0), Rad(0)), 0.3)
- end
- elseif(State == 'Walk')then
- change = 1
- hum.WalkSpeed = 12
- hum.JumpPower = 55
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 3 * Cos(sine / (WALKSPEEDVALUE / 2)))), 0.1)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-15)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(15)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 * Player_Size) * angles(Rad(-25), Rad(-25), Rad(20) - ra.RotVelocity.Y / 75), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Cos(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-65 * Cos(sine / WALKSPEEDVALUE)), Rad(10 * Cos(sine / WALKSPEEDVALUE)) , Rad(0) + la.RotVelocity.Y / 75), 0.1)
- HW.C0 = clerp(HW.C0, CF(0, -0.5, -0.6) * angles(Rad(35), Rad(0), Rad(0)), 0.3)
- end
- end
- else
- Sit.Value = true
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.5 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-5)), 0.1)
- RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
- LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(-75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(-20), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(20), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
- end
- end
- end
- for _, c in pairs(char:GetChildren()) do
- if c.ClassName == "Part" and c.Name ~= "Detail" then
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:FindFirstChildOfClass("ParticleEmitter"):remove()
- end
- elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
- c:remove()
- end
- end
- Music.SoundId = "rbxassetid://"..SONG
- Music.Looped = true
- Music.Pitch = 1
- Music.Volume = 1.5
- Music.Parent = tors
- Music:Resume()
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if 1 >= Thing[1].Transparency then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- -------------------------------------------------------
- --End Animations And Script--
- -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement