Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- -----------------------
- --[[ Name : Son ]]--
- -------------------------------------------------------
- wait(1.5)
- print('Local User is '..plr.Name)
- print('0 Loaded')
- print([[
- 0
- ]])
- local plr = owner
- 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 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("Really red")
- -------------------------------------------------------
- --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 = {}
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- newWeld(tors, ll, -0.5, -1, 0)
- ll.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(tors, rl, 0.5, -1, 0)
- rl.Weld.C1 = CFrame.new(0, 1, 0)
- -------------------------------------------------------
- --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
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- 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 = Player,
- 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()
- local Att = IT("Attachment",v)
- Att.Position = Vector3.new(1,1.3,0)
- Att.Orientation = Vector3.new(-0.098, -89.999, 0.227)
- local Batt = IT("Attachment",v)
- Batt.Position = Vector3.new(-1.3,-0.6,0)
- Batt.Orientation = Vector3.new(-88.911, -68.808, 158.782)
- local ChainLink = IT("Beam",v)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(Color3.new(0,0,0))
- ChainLink.TextureSpeed = 1
- ChainLink.FaceCamera = true
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = Att
- ChainLink.Attachment1 = Batt
- ChainLink.CurveSize0 = 1.6
- ChainLink.CurveSize1 = 1.6
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- local ChainLink2 = IT("Beam",v)
- ChainLink2.Texture = "rbxassetid://73042633"
- ChainLink2.Color = ColorSequence.new(Color3.new(0,0,0))
- ChainLink2.TextureSpeed = 1
- ChainLink2.FaceCamera = true
- ChainLink2.Width0 = 1
- ChainLink2.Width1 = 1
- ChainLink2.TextureLength = 3
- ChainLink2.Attachment0 = Batt
- ChainLink2.Attachment1 = Att
- ChainLink2.CurveSize0 = 1.6
- ChainLink2.CurveSize1 = 1.6
- ChainLink2.FaceCamera = true
- ChainLink2.Transparency = NumberSequence.new(0)
- v.Material = "Neon"
- v.CanCollide = false
- v.Transparency = 0.5
- local PartEmmit1 = IT("ParticleEmitter", v)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://1351966707"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 150
- PartEmmit1.Lifetime = NumberRange.new(1)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequence.new(0, 0.75, 0),
- NumberSequence.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequence.new(0, 0, 0),
- NumberSequence.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 = 20000
- --BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = v.Position + Vector3.new(Mrandom(-5, 5), Mrandom(-5, 5), Mrandom(-5, 5))
- v.Color = maincolor.Color
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- swait(1)
- v.Transparency = v.Transparency + 0.01
- end
- wait(0.5)
- ChainLink.Enabled = false
- ChainLink2.Enabled = false
- PartEmmit1.Enabled = false
- wait(2.5)
- 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 HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
- local Hitboxpart = Instance.new("Part", EffectModel)
- RemoveOutlines(Hitboxpart)
- Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
- Hitboxpart.CanCollide = false
- Hitboxpart.Transparency = 1
- Hitboxpart.Anchored = true
- Hitboxpart.CFrame = Pose
- game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
- MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
- 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({
- NumberSequenceKeyPoint2.new(0, 1, 0),
- NumberSequenceKeyPoint2.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeyPoint2.new(0, 0, 0),
- NumberSequenceKeyPoint2.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
- Effects = {
- Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("BlockMesh",p)
- m.Scale = meshstart
- coroutine.wrap(function()
- for i = 0, 1, factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- if spin == true then
- p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- end
- end
- p:Destroy()
- end)()
- return p
- end,
- Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshType = "Sphere"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- end
- p:Destroy()
- end)()
- return p
- end,
- Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("CylinderMesh",p)
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- end
- p:Destroy()
- end)()
- return p
- end,
- Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = Vector3.new()
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://20329976"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
- end
- p:Destroy()
- end)()
- return p
- end,
- Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = Vector3.new()
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://3270017"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- end
- p:Destroy()
- end)()
- return p
- end,
- Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = Vector3.new()
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = meshid
- m.TextureId = textid
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
- end
- p:Destroy()
- end)()
- return p
- end,
- Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshType = "Sphere"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- p.CFrame = p.CFrame * CFrame.new(0,move,0)
- end
- p:Destroy()
- end)()
- return p
- end,
- }
- function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- 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 = "Brick"
- rngm.Scale = Vector3.new(x1,y1,z1)
- local scaler2 = 1
- local speeder = FastSpeed/10
- 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/10
- 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, scaler2*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = tors.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local S = IT("Sound")
- function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function ManSlaughter(MAN)
- if MAN then
- local ROOT = MAN:FindFirstChild("HumanoidRootPart")
- if ROOT then
- ROOT:Remove()
- end
- local MANHUM = MAN:FindFirstChildOfClass("Humanoid")
- if MANHUM then
- MANHUM.BreakJointsOnDeath = false
- MANHUM.Health = 0
- end
- if MAN:FindFirstChild("R6Ragdoll") == nil and MAN:FindFirstChild("R15Ragdoll") == nil then
- if MAN:FindFirstChild("UpperTorso") then
- local SCRIPT = script.R15Ragdoll:Clone()
- SCRIPT.Parent = MAN
- SCRIPT.Disabled = false
- else
- local SCRIPT = script.R6Ragdoll:Clone()
- SCRIPT.Parent = MAN
- SCRIPT.Disabled = false
- end
- local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
- if TORSO then
- --NewSound({ID = 146594648,PARENT = TORSO,VOLUME = 1,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 75,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
- end
- end
- MAN:BreakJoints()
- if MAN:FindFirstChild("Slaughtered") == nil then
- local MARK = IT("Folder",MAN)
- MARK.Name = "Slaughtered"
- else
- if MAN:FindFirstChild("Slaughtered") then
- local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
- if TORSO then
- TORSO.RotVelocity = Vector3.new(0,Mrandom(-25,25),0)
- end
- end
- end
- end
- end
- -------------------------------------------------------
- --End Effect Function--
- -------------------------------------------------------
- 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
- 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
- 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
- function CrP(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = tors.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- function CrM(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- local Effs = IT("Folder", char)
- Effs.Name = "Effects"
- 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 = CrP(3, Effs, 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)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CrM("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 == "Wave" then
- MSH = CrM("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CrM("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CrM("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CrM("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CrM("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, Vector3.new(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CrM("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CrM("SpecialMesh", EFFECT, "FileMesh", "9756362", "", 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
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
- EFFECT:remove()
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
- EFFECT:remove()
- end
- end
- end))
- end
- -------------------------------------------------------
- --End Important Functions--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Customization--
- -------------------------------------------------------
- ----------------------------------------------------------------------------------
- local SONG = 243263854
- local SONG2 = 194920243 --243263854
- local Music = Instance.new("Sound",char)
- Music.SoundId = "rbxassetid://"..SONG
- Music.Volume = 6
- Music.Looped = true
- Music.Pitch = 1 --Pitcher
- Music:Play()
- local yeeto = Instance.new("Sound",char)
- yeeto.SoundId = "rbxassetid://184605339"
- yeeto.Volume = 4
- --yeeto.Looped = true
- yeeto.Pitch = 1 --Pitcher
- --yeeto:Play()
- ----------------------------------------------------------------------------------
- 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 movelegs = false
- local FF = Instance.new("ForceField",char)
- FF.Visible = false
- local Speed = 16
- local RB1S = false
- local lastsongpos = 0
- local Music2 = Music:Clone()
- local lastsongpos2 = 0
- ----------------------------------------------------------------------------------
- hum.JumpPower = 55
- hum.Animator.Parent = nil
- hum.MaxHealth = 99999999999
- hum.Health = 99999999999
- ----------------------------------------------------------------------------------
- Chain = New("Model",char,"Chain",{})
- Point = New("Part",Chain,"Point",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.7005, 2.86986685, -148.580124, 0.965958238, -0.0191269666, -0.257942855, 0.258650512, 0.0714298263, 0.963314772, 3.57627869e-07, -0.997237265, 0.0739439502),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Point,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.68663, 2.91086268, -149.657074, -0.965905905, -0.00156756863, 0.258809477, -0.258813441, 0.00584816188, -0.965889812, -7.86572855e-07, -0.999939978, -0.00605218112),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, -0.965921998, -0.258817881, -2.51208178e-07, -0.00156683335, 0.00584749365, -0.999973416, 0.258813262, -0.965904236, -0.00605329964),C1 = CFrame.new(0.0240020752, 1.07669067, -0.0437240601, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.1017, 2.82552886, -149.662079, -0.965905905, 0.257441521, 0.0266205836, -0.258813441, -0.960785151, -0.0993473008, -7.88856596e-07, -0.102847375, 0.994655311),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, -0.965921998, -0.258817881, -2.53492601e-07, 0.257445335, -0.960799575, -0.102851734, 0.0266202167, -0.099348031, 0.994688451),C1 = CFrame.new(-0.399017334, 1.08352661, -0.0192337036, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.398315, 3.0171051, -149.719086, -0.965905905, 0.258814126, 5.83007932e-07, -0.258813441, -0.965907633, -1.04308128e-07, -7.90402737e-07, 2.01165676e-06, 0.999958336),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, -0.965921998, -0.258817881, -2.55038572e-07, 0.258817881, -0.965921998, 1.09523296e-06, -1.75214808e-07, 6.47257934e-07, 0.999991775),C1 = CFrame.new(0.329986572, 1.14060974, -0.0203323364, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.266541, 2.73373199, -149.385101, 0.0453173071, -0.956288278, 0.288822532, 0.0121410117, -0.288570344, -0.957362115, 0.99885726, 0.0468902923, -0.00146462023),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, 0.0453172997, 0.0121419746, 0.998890638, -0.956304193, -0.288575172, 0.046892371, 0.288826793, -0.957376361, -0.00146560301),C1 = CFrame.new(-0.582000732, 0.803894043, -0.0446605682, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.264709, 2.75389814, -149.042114, -0.0701534227, -0.333289921, -0.940193772, -0.0219321251, 0.942804217, -0.332578003, 0.997260392, -0.00271295011, -0.0734513775),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, -0.0701553524, -0.0219317432, 0.997293711, -0.333294928, 0.942818224, -0.00271208468, -0.940209448, -0.332583606, -0.0734533668),C1 = CFrame.new(-0.575012207, 0.463241577, -0.000343322754, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.289581, 2.76172781, -148.636124, 0.0453173071, -0.956288278, 0.288822532, 0.0121410117, -0.288570344, -0.957362115, 0.99885726, 0.0468902923, -0.00146462023),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, 0.0453172997, 0.0121419746, 0.998890638, -0.956304193, -0.288575172, 0.046892371, 0.288826793, -0.957376361, -0.00146560301),C1 = CFrame.new(-0.597015381, 0.059387207, 0.0436382294, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.057175, 2.81778479, -148.419128, 0.965458572, -0.258467168, -0.0323005356, 0.258693874, 0.965935469, 0.00299943238, 0.0304262135, -0.0112540126, 0.999431968),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, 0.965474606, 0.258698314, 0.0304266941, -0.258470953, 0.965949833, -0.0112534743, -0.0323018245, 0.00300021749, 0.999465346),C1 = CFrame.new(-0.358016968, -0.157455444, 0.0537376404, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.38797, 2.9784615, -148.519135, 0.965949774, -0.258648992, 9.64850187e-07, 0.258648276, 0.965952218, -7.74860382e-07, 5.97616463e-07, -1.2665987e-06, 0.999958277),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, 0.965965867, 0.258652687, 6.20833234e-08, -0.258652776, 0.965966582, -3.54833304e-07, 2.06326717e-07, -2.57057451e-08, 0.999991715),C1 = CFrame.new(0.329986572, -0.0590515137, 0.0285072327, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.080872, 3.04936862, -148.763123, 0.0512153581, -0.982873321, -0.176904932, 0.0137147531, -0.176427424, 0.984198987, -0.998551726, -0.0528336875, 0.00444188714),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, 0.0512169749, 0.0137142316, -0.998585105, -0.982889593, -0.176430643, -0.0528348386, -0.176907361, 0.984213769, 0.00444291392),C1 = CFrame.new(0.644973755, 0.18347168, -0.000442504883, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.177124, 2.96042705, -149.482101, -0.0868454352, -0.961993933, -0.258814305, -0.0232569501, -0.257766634, 0.965907574, -0.995908678, 0.089902319, 1.05276704e-05),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, -0.0868461281, -0.0232581012, -0.995941877, -0.962009966, -0.257770956, 0.0899058655, -0.25881809, 0.965922058, 1.1447798e-05),C1 = CFrame.new(0.528991699, 0.895996094, -0.114463806, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.034515, 3.0773139, -149.108124, -0.0868461281, 0.337937325, -0.937149048, -0.0232581012, -0.941135049, -0.337219, -0.995941877, -0.00748940045, 0.0895933807),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point,C0 = CFrame.new(0, 0, 0, -0.0868461281, -0.0232581012, -0.995941877, 0.337937325, -0.941135049, -0.00748940045, -0.937149048, -0.337219, 0.0895933807),C1 = CFrame.new(0.696990967, 0.528640747, -0.0109939575, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Chain = New("Model",char,"Chain",{})
- Point2 = New("Part",Chain,"Point2",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.7005, 2.86986685, -148.580124, 0.965958238, -0.0191269666, -0.257942855, 0.258650512, 0.0714298263, 0.963314772, 3.57627869e-07, -0.997237265, 0.0739439502),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Point2,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.68663, 2.91086268, -149.657074, -0.965905905, -0.00156756863, 0.258809477, -0.258813441, 0.00584816188, -0.965889812, -7.86572855e-07, -0.999939978, -0.00605218112),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, -0.965921998, -0.258817881, -2.51208178e-07, -0.00156683335, 0.00584749365, -0.999973416, 0.258813262, -0.965904236, -0.00605329964),C1 = CFrame.new(0.0240020752, 1.07669067, -0.0437240601, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.1017, 2.82552886, -149.662079, -0.965905905, 0.257441521, 0.0266205836, -0.258813441, -0.960785151, -0.0993473008, -7.88856596e-07, -0.102847375, 0.994655311),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, -0.965921998, -0.258817881, -2.53492601e-07, 0.257445335, -0.960799575, -0.102851734, 0.0266202167, -0.099348031, 0.994688451),C1 = CFrame.new(-0.399017334, 1.08352661, -0.0192337036, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.398315, 3.0171051, -149.719086, -0.965905905, 0.258814126, 5.83007932e-07, -0.258813441, -0.965907633, -1.04308128e-07, -7.90402737e-07, 2.01165676e-06, 0.999958336),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, -0.965921998, -0.258817881, -2.55038572e-07, 0.258817881, -0.965921998, 1.09523296e-06, -1.75214808e-07, 6.47257934e-07, 0.999991775),C1 = CFrame.new(0.329986572, 1.14060974, -0.0203323364, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.266541, 2.73373199, -149.385101, 0.0453173071, -0.956288278, 0.288822532, 0.0121410117, -0.288570344, -0.957362115, 0.99885726, 0.0468902923, -0.00146462023),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, 0.0453172997, 0.0121419746, 0.998890638, -0.956304193, -0.288575172, 0.046892371, 0.288826793, -0.957376361, -0.00146560301),C1 = CFrame.new(-0.582000732, 0.803894043, -0.0446605682, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.264709, 2.75389814, -149.042114, -0.0701534227, -0.333289921, -0.940193772, -0.0219321251, 0.942804217, -0.332578003, 0.997260392, -0.00271295011, -0.0734513775),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, -0.0701553524, -0.0219317432, 0.997293711, -0.333294928, 0.942818224, -0.00271208468, -0.940209448, -0.332583606, -0.0734533668),C1 = CFrame.new(-0.575012207, 0.463241577, -0.000343322754, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.289581, 2.76172781, -148.636124, 0.0453173071, -0.956288278, 0.288822532, 0.0121410117, -0.288570344, -0.957362115, 0.99885726, 0.0468902923, -0.00146462023),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, 0.0453172997, 0.0121419746, 0.998890638, -0.956304193, -0.288575172, 0.046892371, 0.288826793, -0.957376361, -0.00146560301),C1 = CFrame.new(-0.597015381, 0.059387207, 0.0436382294, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-153.057175, 2.81778479, -148.419128, 0.965458572, -0.258467168, -0.0323005356, 0.258693874, 0.965935469, 0.00299943238, 0.0304262135, -0.0112540126, 0.999431968),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, 0.965474606, 0.258698314, 0.0304266941, -0.258470953, 0.965949833, -0.0112534743, -0.0323018245, 0.00300021749, 0.999465346),C1 = CFrame.new(-0.358016968, -0.157455444, 0.0537376404, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.38797, 2.9784615, -148.519135, 0.965949774, -0.258648992, 9.64850187e-07, 0.258648276, 0.965952218, -7.74860382e-07, 5.97616463e-07, -1.2665987e-06, 0.999958277),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, 0.965965867, 0.258652687, 6.20833234e-08, -0.258652776, 0.965966582, -3.54833304e-07, 2.06326717e-07, -2.57057451e-08, 0.999991715),C1 = CFrame.new(0.329986572, -0.0590515137, 0.0285072327, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.080872, 3.04936862, -148.763123, 0.0512153581, -0.982873321, -0.176904932, 0.0137147531, -0.176427424, 0.984198987, -0.998551726, -0.0528336875, 0.00444188714),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, 0.0512169749, 0.0137142316, -0.998585105, -0.982889593, -0.176430643, -0.0528348386, -0.176907361, 0.984213769, 0.00444291392),C1 = CFrame.new(0.644973755, 0.18347168, -0.000442504883, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.177124, 2.96042705, -149.482101, -0.0868454352, -0.961993933, -0.258814305, -0.0232569501, -0.257766634, 0.965907574, -0.995908678, 0.089902319, 1.05276704e-05),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, -0.0868461281, -0.0232581012, -0.995941877, -0.962009966, -0.257770956, 0.0899058655, -0.25881809, 0.965922058, 1.1447798e-05),C1 = CFrame.new(0.528991699, 0.895996094, -0.114463806, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- Ring = New("Part",Chain,"Ring",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.399999797, 0.400000036, 0.200000003),CFrame = CFrame.new(-152.034515, 3.0773139, -149.108124, -0.0868461281, 0.337937325, -0.937149048, -0.0232581012, -0.941135049, -0.337219, -0.995941877, -0.00748940045, 0.0895933807),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.5, 0.25, 0.25),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Point2,C0 = CFrame.new(0, 0, 0, -0.0868461281, -0.0232581012, -0.995941877, 0.337937325, -0.941135049, -0.00748940045, -0.937149048, -0.337219, 0.0895933807),C1 = CFrame.new(0.696990967, 0.528640747, -0.0109939575, 0.965965867, 0.258652687, 6.20833234e-08, -0.0191266965, 0.0714299977, -0.997253895, -0.257944643, 0.963321745, 0.0739456117),})
- local ChainW = NewInstance('Weld',char,{Part0 = rl, Part1 = Point, C0 = CF(0, 0, -0.5) * angles(Rad(90), Rad(0), Rad(0))})
- local ChainW2 = NewInstance('Weld',char,{Part0 = la, Part1 = Point2, C0 = CF(0, 0, -0.5) * angles(Rad(90), Rad(0), Rad(0))})
- ----------------------------------------------------------------------------------
- Collar = IT("Model")
- Collar.Parent = char
- Collar.Name = "Collar"
- RHet = IT("Part")
- RHet.Parent = Collar
- RHet.Color = Color3.fromRGB(0, 0, 0)
- RHet.Locked = true
- RHet.CanCollide = false
- RHet.Transparency = 0
- PMesh = IT("SpecialMesh")
- RHet.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "rbxassetid://330282083"
- --PMesh.TextureId = "rbxassetid://379194031"
- PMesh.Scale = Vector3.new(0.8 , 0.8 , 0.8 )
- PMesh.Parent = RHet
- local RWeld = IT("Weld")
- RWeld.Parent = RHet
- RWeld.Part0 = RHet
- RWeld.Part1 = tors
- RWeld.C0 = CF(0, -1.5, 0) * angles(0, 0, 0)
- ----------------------------------------------------------------------------------
- Cape = IT("Model")
- Cape.Parent = char
- Cape.Name = "Cape"
- RHer = IT("Part")
- RHer.Parent = Cape
- RHer.Color = Color3.fromRGB(0, 0, 0)
- RHer.Locked = true
- RHer.CanCollide = false
- RHer.Transparency = 0
- PMesh = IT("SpecialMesh")
- RHer.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "rbxassetid://63717022"
- --PMesh.TextureId = "rbxassetid://4855443"
- PMesh.Scale = Vector3.new(1.5 , -3.4 , 1.7 )
- PMesh.Parent = RHer
- local RWeld = IT("Weld")
- RWeld.Parent = RHer
- RWeld.Part0 = RHer
- RWeld.Part1 = tors
- RWeld.C0 = CF(0, 1.7, -0.9) * angles(Rad(10), 0, 0)
- ----------------------------------------------------------------------------------
- Banditto = IT("Model")
- Banditto.Parent = char
- Banditto.Name = "Banditto"
- RHee = IT("Part")
- RHee.Parent = Banditto
- RHee.Color = Color3.fromRGB(0, 0, 0)
- RHee.Locked = true
- RHee.CanCollide = false
- RHee.Transparency = 0
- PMesh = IT("SpecialMesh")
- RHee.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "rbxassetid://57780106"
- --PMesh.TextureId = "rbxassetid://13996320"
- PMesh.Scale = Vector3.new(1,1,1)
- PMesh.Parent = RHee
- local RWeld = IT("Weld")
- RWeld.Parent = RHee
- RWeld.Part0 = RHee
- RWeld.Part1 = hed
- RWeld.C0 = CF(0, 0.8, 0) * angles(0, 0, 0)
- ----------------------------------------------------------------------------------
- HoodBoi = IT("Model")
- HoodBoi.Parent = char
- HoodBoi.Name = "HoodBoi"
- RHey = IT("Part")
- RHey.Parent = HoodBoi
- RHey.Color = Color3.fromRGB(0, 0, 0)
- RHey.Locked = true
- RHey.CanCollide = false
- RHey.Transparency = 0
- PMesh = IT("SpecialMesh")
- RHey.formFactor = "Symmetric"
- PMesh.MeshType = "FileMesh"
- PMesh.MeshId = "rbxassetid://85855767"
- --PMesh.TextureId = "rbxassetid://13996320"
- PMesh.Scale = Vector3.new(1,1,1)
- PMesh.Parent = RHey
- local RWeld = IT("Weld")
- RWeld.Parent = RHey
- RWeld.Part0 = RHey
- RWeld.Part1 = hed
- RWeld.C0 = CF(0, 0.25, 0) * angles(0, 0, 0)
- ----------------------------------------------------------------------------------
- local TorsTors = script.Turoso:Clone();
- TorsTors.Parent = char
- TorsTors.Anchored = false
- local RightLegg = script.RightLe:Clone();
- RightLegg.Parent = char
- RightLegg.Anchored = false
- local LeftLegg = script.LeftLe:Clone();
- LeftLegg.Parent = char
- LeftLegg.Anchored = false
- local RightAArm = script.RightAr:Clone();
- RightAArm.Parent = char
- RightAArm.Anchored = false
- local LeftAArm = script.LeftAr:Clone();
- LeftAArm.Parent = char
- LeftAArm.Anchored = false
- local Headd = script.Hued:Clone();
- Headd.Parent = char
- Headd.Anchored = false
- local FHeadd = script.FHued:Clone();
- FHeadd.Parent = char
- FHeadd.Anchored = false
- script.RightLe:Destroy()
- script.LeftLe:Destroy()
- script.RightAr:Destroy()
- script.LeftAr:Destroy()
- script.Hued:Destroy()
- script.FHued:Destroy()
- -----------------------------------------
- local RightLWeld = IT("Weld")
- RightLWeld.Parent = RightLegg
- RightLWeld.Part0 = RightLegg
- RightLWeld.Part1 = rl
- RightLWeld.C0 = CF(0, 0, 0) * angles(0, 0, 0)
- -----------------------------------------
- local LeftLWeld = IT("Weld")
- LeftLWeld.Parent = LeftLegg
- LeftLWeld.Part0 = LeftLegg
- LeftLWeld.Part1 = ll
- LeftLWeld.C0 = CF(0, 0, 0) * angles(0, 0, 0)
- -----------------------------------------
- local RightAWeld = IT("Weld")
- RightAWeld.Parent = RightAArm
- RightAWeld.Part0 = RightAArm
- RightAWeld.Part1 = ra
- RightAWeld.C0 = CF(0, 0, 0) * angles(0, 0, 0)
- -----------------------------------------
- local LeftAWeld = IT("Weld")
- LeftAWeld.Parent = LeftAArm
- LeftAWeld.Part0 = LeftAArm
- LeftAWeld.Part1 = la
- LeftAWeld.C0 = CF(0, 0, 0) * angles(0, 0, 0)
- -----------------------------------------------------
- local TorsTorsWeld = IT("Weld")
- TorsTorsWeld.Parent = TorsTors
- TorsTorsWeld.Part0 = TorsTors
- TorsTorsWeld.Part1 = tors
- TorsTorsWeld.C0 = CF(0, 0, 0) * angles(0, 0, 0)
- -----------------------------------------------------
- local HeaddWeld = IT("Weld")
- HeaddWeld.Parent = Headd
- HeaddWeld.Part0 = Headd
- HeaddWeld.Part1 = hed
- HeaddWeld.C0 = CF(0, 0, 0) * angles(0, 0, 0)
- -----------------------------------------------------
- local FHeaddWeld = IT("Weld")
- FHeaddWeld.Parent = FHeadd
- FHeaddWeld.Part0 = FHeadd
- FHeaddWeld.Part1 = hed
- FHeaddWeld.C0 = CF(0, -8, 0) * angles(0, 0, 0)
- FHeadd.Transparency = 1
- Horns = IT("Model")
- Horns.Parent = char
- Horns.Name = "Horns"
- HoP = IT("Part")
- HoP.Parent = Horns
- HoP.BrickColor = BrickColor.new("Really black")
- HoP.Locked = true
- HoP.CanCollide = false
- HoP.Transparency = 1
- HoP.formFactor = "Symmetric"
- VoMesh = IT("SpecialMesh")
- VoMesh.MeshType = "FileMesh"
- VoMesh.MeshId = "rbxassetid://434078905"
- --VoMesh.TextureId = "rbxassetid://19367734"
- VoMesh.Scale = Vector3.new(13.428, 12.331, 12.292)
- VoMesh.Parent = HoP
- local HornsWeld = IT("Weld")
- HornsWeld.Parent = HoP
- HornsWeld.Part0 = HoP
- HornsWeld.Part1 = FHeadd
- HornsWeld.C0 = CF(0, -1, 0.5) * angles(Rad(0), Rad(180), Rad(0))
- -----------------------------------------------------
- RightHand = IT("Model")
- RightHand.Parent = char
- RightHand.Name = "RightHand"
- Vo = IT("Part")
- Vo.Parent = RightHand
- Vo.BrickColor = BrickColor.new("Really black")
- Vo.Locked = true
- Vo.CanCollide = false
- Vo.Transparency = 0
- Vo.formFactor = "Symmetric"
- VoMesh = IT("SpecialMesh")
- VoMesh.MeshType = "FileMesh"
- VoMesh.MeshId = "rbxassetid://434059892"
- --VoMesh.TextureId = "rbxassetid://19367734"
- VoMesh.Scale = Vector3.new(11.5, 11.5, 11.5)
- VoMesh.Parent = Vo
- local Handy1Weld = IT("Weld")
- Handy1Weld.Parent = Vo
- Handy1Weld.Part0 = Vo
- Handy1Weld.Part1 = root
- Handy1Weld.C0 = CF(1, 7, 0) * angles(Rad(180), Rad(0), Rad(90))
- -----------------------------------------------------
- LeftHand = IT("Model")
- LeftHand.Parent = char
- LeftHand.Name = "LeftHand"
- Voy = IT("Part")
- Voy.Parent = LeftHand
- Voy.BrickColor = BrickColor.new("Really black")
- Voy.Locked = true
- Voy.CanCollide = false
- Voy.Transparency = 0
- Voy.formFactor = "Symmetric"
- VoMeshy = IT("SpecialMesh")
- VoMeshy.MeshType = "FileMesh"
- VoMeshy.MeshId = "rbxassetid://1219187505"
- --VoMesh.TextureId = "rbxassetid://19367734"
- VoMeshy.Scale = Vector3.new(11.5, 11.5, 11.5)
- VoMeshy.Parent = Voy
- local Handy2Weld = IT("Weld")
- Handy2Weld.Parent = Voy
- Handy2Weld.Part0 = Voy
- Handy2Weld.Part1 = root
- Handy2Weld.C0 = CF(0, 7, 1) * angles(Rad(0), Rad(0), Rad(90))
- ----------------------------------------------------------------------
- local InnerEye = Instance.new("Part")
- InnerEye.Name = "Adds"
- InnerEye.Parent = char
- InnerEye.Size = Vector3.new(0.2, 0.2, 0.2)
- InnerEye.Archivable = true
- InnerEye.Transparency = 1
- InnerEye.Shape = "Ball"
- InnerEye.BrickColor = BrickColor.new("Royal purple")
- InnerEye.Material = "Neon"
- InnerEye.CanCollide = false
- local InnerMesh = Instance.new("SpecialMesh", InnerEye)
- InnerMesh.MeshType = "Cylinder"
- InnerMesh.Scale = Vector3.new(20,20,20)
- local weld1en = Instance.new("Weld")
- weld1en.Parent = FHeadd
- weld1en.Part0 = FHeadd
- weld1en.Part1 = InnerEye
- weld1en.C1 = CFrame.new(-0.9, 0, -0.065)
- weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(90),Rad(0))
- ----------------------------------------------------------------------------------
- -------------------------------------------------------
- --End Customization--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Attacks N Stuff--
- -------------------------------------------------------
- function AttackTemplate()
- attack = true
- for i = 0, 7, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(15 - 5 * Cos(sine / 20)), Rad(0), Rad(15)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
- end
- attack = false
- end
- function Blink()
- coroutine.resume(coroutine.create(function()
- if InnerEye ~= nil then
- for i = 1, 5 do
- swait()
- InnerMesh.Scale = InnerMesh.Scale - Vector3.new(0, 0, 3)
- end
- for i = 1, 7 do
- swait()
- InnerMesh.Scale = InnerMesh.Scale + Vector3.new(0, 0, 3)
- end
- InnerMesh.Scale = Vector3.new(20, 20, 20)
- end
- end))
- end
- function Learn()
- local TARGET = Mouse.Target
- if TARGET ~= nil then
- if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
- local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
- if ROOT and HUM.Health > 0 then
- local FOE = Mouse.Target.Parent
- local HEAD = FOE:FindFirstChild("Head")
- local TORS = FOE:FindFirstChild("Torso")
- local RARM = FOE:FindFirstChild("Right Arm")
- local LARM = FOE:FindFirstChild("Left Arm")
- local RLEG = FOE:FindFirstChild("Right Leg")
- local LLEG = FOE:FindFirstChild("Left Leg")
- if HEAD then
- Speed = 0
- attack = true
- root.CFrame = ROOT.CFrame * CF(0, 0, 3.5)
- for _, c in pairs(FOE:GetChildren()) do
- if c.ClassName == "Part" then
- c.Anchored = true
- end
- end
- local Death = Cso("1489926028", HEAD, 6, 1)
- --wait(0.4)
- for i = 0, 10, 0.1 do
- swait()
- --YesShakes(0.15,0.05, FOE:FindFirstChild("Character"))
- TORS.CFrame = TORS.CFrame * CF(0, 0 + 0.01 * i, 0)
- HEAD.CFrame = HEAD.CFrame * CF(0, 0 + 0.01 * i, 0)
- RARM.CFrame = RARM.CFrame * CF(0, 0 + 0.01 * i, 0)
- LARM.CFrame = LARM.CFrame * CF(0, 0 + 0.01 * i, 0)
- RLEG.CFrame = RLEG.CFrame * CF(0, 0 + 0.01 * i, 0)
- LLEG.CFrame = LLEG.CFrame * CF(0, 0 + 0.01 * i, 0)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(55)), 0.2)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0), Rad(0 + 3 * i), Rad(-55)), 0.2)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(90 + 5 * i), Rad(0), Rad(35)), 0.2)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-15)), 0.2)
- end
- if ROOT.Name == "HumanoidRootPart" then
- ROOT:remove()
- end
- for _, c in pairs(FOE:GetChildren()) do
- if c.ClassName == "Part" then
- c.Anchored = false
- end
- end
- ROOT.Anchored = false
- ManSlaughter(FOE)
- Cso("907333406", hed, 6, 1)
- for i = 0, 6, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(-55)), 0.2)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(30), Rad(0), Rad(55)), 0.2)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(-45), Rad(0), Rad(35)), 0.2)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-15)), 0.2)
- end
- Speed = 16
- attack = false
- end
- end
- end
- end
- end
- function CONSUME()
- local TARGET = Mouse.Target
- if TARGET ~= nil then
- if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
- local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
- if ROOT and HUM.Health > 0 then
- local FOE = Mouse.Target.Parent
- local HEAD = FOE:FindFirstChild("Head")
- if HEAD then
- Speed = 0
- attack = true
- root.CFrame = ROOT.CFrame * CF(0, 0, 3.5)
- local CFRAME = root.CFrame
- local DEAD = false
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- root.CFrame = CFRAME
- HEAD.CFrame = ra.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * angles(Rad(-90), Rad(0), Rad(0))
- HEAD.Velocity = Vector3.new(0,0,0)
- HUM.PlatformStand = true
- until DEAD == true
- end))
- for i = 0, 10, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(55)), 0.2)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(30), Rad(0), Rad(-55)), 0.2)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(167), Rad(0), Rad(5)), 0.2)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-15)), 0.2)
- end
- Cso(2991758919, tors, 8, 1)
- Eviscerate(FOE)
- DEAD = true
- Speed = 16
- attack = false
- end
- end
- end
- end
- end
- function Taunt()
- attack = true
- Speed = 0
- local Laugh = Cso("2359904597", hed, 2.5, 1)
- wait(0.1)
- repeat
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2) ) * angles(Rad(15), Rad(0 + 2 * Sin(sine / 38)), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(30 - 5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 2) - Rad(0) , 0) * angles(Rad(15), Rad(0 + 1 * Cos(sine / 20)), Rad(0 - 4 * Sin(sine / 38))) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(3)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 2) + Rad(0) , 0) * angles(Rad(15), Rad(-0 + 1 * Cos(sine / 20)), Rad(0 - 4 * Sin(sine / 38))) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-3)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 2), 0) * angles(Rad(25), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 2), 0) * angles(Rad(25), Rad(0), Rad(-10 - 3 * Sin(sine / 20))), 0.1)
- until Laugh.Playing == false
- Speed = 16
- attack = false
- end
- local Yeetedon = false
- function yeet()
- attack = true
- --[[RHey.Transparency = 1
- RHee.Transparency = 1
- RHer.Transparency = 1
- RHet.Transparency = 1
- TorsTors.Transparency = 1
- RightLegg.Transparency = 1
- LeftLegg.Transparency = 1
- RightAArm.Transparency = 1
- LeftAArm.Transparency = 1
- Headd.Transparency = 1]]
- Cso("260433239", tors, 4, 1.1)
- SONG = 194920243
- Music.SoundId = "rbxassetid://194920243"
- --LowSMusic:Play()
- --[[yeeto:play()
- for i = 0, 60, 0.1 do
- swait()
- VoMeshy.Scale = Vector3.new(11.5 + 0.3 * i, 11.5 + 0.3 * i, 11.5 + 0.3 * i)
- VoMesh.Scale = Vector3.new(11.5 + 0.3 * i, 11.5 + 0.3 * i, 11.5 + 0.3 * i)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.3 * i) * angles(Rad(30), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(15 - 5 * Cos(sine / 20)), Rad(0), Rad(15)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.1 - 0.1 * Cos(sine / 20) - Rad(0) , -0.6) * angles(Rad(30), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.1 - 0.1 * Cos(sine / 20) + Rad(0) , -0.6) * angles(Rad(30), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(180), Rad(0), Rad(-35)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(180), Rad(0), Rad(35)), 0.1)
- end
- for i = 0, 60, 0.1 do
- swait()
- print(VoMesh.Scale)
- VoMeshy.Scale = Vector3.new(29.5 + 0.3 * i, 29.5 + 0.3 * i, 29.5 + 0.3 * i)
- VoMesh.Scale = Vector3.new(29.5 + 0.3 * i, 29.5 + 0.3 * i, 29.5 + 0.3 * i)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 18) * angles(Rad(-65), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(-65 - 5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.1 - 0.1 * Cos(sine / 2) - Rad(0) , -0.6) * angles(Rad(-65), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.1 - 0.1 * Cos(sine / 2) + Rad(0) , -0.6) * angles(Rad(-65), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.1 * Cos(sine / 2), 0) * angles(Rad(-75), Rad(0), Rad(35)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.1 * Cos(sine / 2), 0) * angles(Rad(-75), Rad(0), Rad(-35)), 0.1)
- end]]
- VoMeshy.Scale = Vector3.new(47.5, 47.5, 47.5)
- VoMesh.Scale = Vector3.new(47.5, 47.5, 47.5)
- RHey.Transparency = 1
- RHee.Transparency = 1
- RHer.Transparency = 1
- RHet.Transparency = 1
- TorsTors.Transparency = 1
- RightLegg.Transparency = 1
- LeftLegg.Transparency = 1
- RightAArm.Transparency = 1
- LeftAArm.Transparency = 1
- Headd.Transparency = 1
- FHeadd.Transparency = 0
- HoP.Transparency = 0
- InnerEye.Transparency = 0
- attack = false
- Yeetedon = true
- Speed = 47
- end
- function ya()
- attack = true
- --[[RHey.Transparency = 1
- RHee.Transparency = 1
- RHer.Transparency = 1
- RHet.Transparency = 1
- TorsTors.Transparency = 1
- RightLegg.Transparency = 1
- LeftLegg.Transparency = 1
- RightAArm.Transparency = 1
- LeftAArm.Transparency = 1
- Headd.Transparency = 1]]
- --Cso("1452402780", tors, 4, 1.7)
- SONG = 243263854
- Music.SoundId = "rbxassetid://243263854"
- --LowSMusic:Stop()
- --[[yeeto:play()
- for i = 0, 60, 0.1 do
- swait()
- VoMeshy.Scale = Vector3.new(11.5 + 0.3 * i, 11.5 + 0.3 * i, 11.5 + 0.3 * i)
- VoMesh.Scale = Vector3.new(11.5 + 0.3 * i, 11.5 + 0.3 * i, 11.5 + 0.3 * i)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.3 * i) * angles(Rad(30), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(15 - 5 * Cos(sine / 20)), Rad(0), Rad(15)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.1 - 0.1 * Cos(sine / 20) - Rad(0) , -0.6) * angles(Rad(30), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.1 - 0.1 * Cos(sine / 20) + Rad(0) , -0.6) * angles(Rad(30), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(180), Rad(0), Rad(-35)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(180), Rad(0), Rad(35)), 0.1)
- end
- for i = 0, 60, 0.1 do
- swait()
- print(VoMesh.Scale)
- VoMeshy.Scale = Vector3.new(29.5 + 0.3 * i, 29.5 + 0.3 * i, 29.5 + 0.3 * i)
- VoMesh.Scale = Vector3.new(29.5 + 0.3 * i, 29.5 + 0.3 * i, 29.5 + 0.3 * i)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 18) * angles(Rad(-65), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(-65 - 5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.1 - 0.1 * Cos(sine / 2) - Rad(0) , -0.6) * angles(Rad(-65), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.1 - 0.1 * Cos(sine / 2) + Rad(0) , -0.6) * angles(Rad(-65), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.1 * Cos(sine / 2), 0) * angles(Rad(-75), Rad(0), Rad(35)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.1 * Cos(sine / 2), 0) * angles(Rad(-75), Rad(0), Rad(-35)), 0.1)
- end]]
- VoMeshy.Scale = Vector3.new(11.5, 11.5, 11.5)
- VoMesh.Scale = Vector3.new(11.5, 11.5, 11.5)
- RHey.Transparency = 0
- RHee.Transparency = 0
- RHer.Transparency = 0
- RHet.Transparency = 0
- TorsTors.Transparency = 0
- RightLegg.Transparency = 0
- LeftLegg.Transparency = 0
- RightAArm.Transparency = 0
- LeftAArm.Transparency = 0
- Headd.Transparency = 0
- FHeadd.Transparency = 1
- HoP.Transparency = 1
- InnerEye.Transparency = 1
- attack = false
- Yeetedon = false
- Speed = 16
- end
- function Roar()
- attack = true
- Speed = 0
- local Roar = Cso("1687284211", char, 2, 1.5)
- wait(0.2)
- repeat
- swait()
- Handy1Weld.C0 = clerp(Handy1Weld.C0, CF(4, 15, 0) * angles(Rad(180), Rad(-26 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- Handy2Weld.C0 = clerp(Handy2Weld.C0, CF(2, 15, 4) * angles(Rad(0), Rad(-26 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(-25 - 5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
- until Roar.Playing == false
- attack = false
- Speed = 47
- end
- function Father()
- attack = true
- Speed = 16
- for i = 0, 5.3, 0.1 do
- swait()
- Handy1Weld.C0 = clerp(Handy1Weld.C0, CF(35, 15, 0) * angles(Rad(180), Rad(-35 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- Handy2Weld.C0 = clerp(Handy2Weld.C0, CF(2, 15, 4) * angles(Rad(0 + 8 * Sin(sine / 38)), Rad(0 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(35 - 5 * Cos(sine / 20)), Rad(20), Rad(0)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
- end
- for i = 0, 1, 0.1 do
- swait()
- Handy1Weld.C0 = clerp(Handy1Weld.C0, CF(6, 5, -20) * angles(Rad(180), Rad(46), Rad(90)), 0.4)
- Handy2Weld.C0 = clerp(Handy2Weld.C0, CF(2, 15, 4) * angles(Rad(0 + 8 * Sin(sine / 38)), Rad(0 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(35 - 5 * Cos(sine / 20)), Rad(20), Rad(0)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
- end
- Magic(0.5, "Add", Vo.CFrame * CF(0,0,0), Vector3.new(50, 50, 50), 1, BrickC("Really black"), "Sphere")
- Magic(1.5, "Add", Vo.CFrame * CF(0,0,0), Vector3.new(50, 50, 50), 1, BrickC("Royal purple"), "Sphere")
- Magic(3.5, "Add", Vo.CFrame * CF(0,0,0), Vector3.new(50, 50, 50), 1, BrickC("Really black"), "Sphere")
- Magic(6.5, "Add", Vo.CFrame * CF(0,0,0), Vector3.new(50, 50, 50), 1, BrickC("Royal purple"), "Sphere")
- Magic(9.5, "Add", Vo.CFrame * CF(0,0,0), Vector3.new(50, 50, 50), 1, BrickC("Really black"), "Sphere")
- MagniDamage(Vo.CFrame,50,80,90,100,"Knockdown")
- for i = 0, 8, 0.1 do
- swait()
- Handy1Weld.C0 = clerp(Handy1Weld.C0, CF(6, 5, -20) * angles(Rad(180), Rad(46), Rad(90)), 0.4)
- Handy2Weld.C0 = clerp(Handy2Weld.C0, CF(2, 15, 4) * angles(Rad(0 + 8 * Sin(sine / 38)), Rad(0 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(35 - 5 * Cos(sine / 20)), Rad(20), Rad(0)), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
- end
- attack = false
- Speed = 47
- end
- Mouse.KeyDown:connect(function(key)
- if attack == false then
- if key == "z" and Yeetedon == false then
- Learn()
- elseif key == "z" and Yeetedon == true then
- Father()
- elseif key == "x" and Yeetedon == false then
- CONSUME()
- elseif key == "f" and Yeetedon == false then
- yeet()
- elseif key == "f" and Yeetedon == true then
- ya()
- elseif key == "t" and Yeetedon == true then
- Roar()
- elseif key == "t" and Yeetedon == false then
- Taunt()
- end
- end
- end)
- -------------------------------------------------------
- --End Attacks N Stuff--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Animations--
- -------------------------------------------------------
- local BLINKLOOP = 0
- 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, char)
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- 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 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)
- local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
- if Mrandom(1,300) == 1 then
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- swait()
- Music.Pitch = 0.6
- --LocaShakes(0.15,0.05)
- neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0), Rad(Mrandom(-15,15)), Rad(0)), 1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(Mrandom(-15,15)), Rad(0), Rad(Mrandom(-15,15))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(Mrandom(-15,15)), Rad(0), Rad(Mrandom(-15,15))), 0.1)
- end
- end))
- end
- if Yeetedon == false and attack == false then
- ChainW.C0 = clerp(ChainW.C0, CF(0, 0, -0.5) * angles(Rad(90), Rad(0), Rad(0)), 0.5)
- ChainW2.C0 = clerp(ChainW2.C0, CF(0, 0, -0.5) * angles(Rad(90), Rad(0), Rad(0)), 0.5)
- Handy1Weld.C0 = clerp(Handy1Weld.C0, CF(1, 7, 0) * angles(Rad(180 - 8 * Sin(sine / 38)), Rad(0 + 13 * Sin(sine / 38)), Rad(90 + 8 * Sin(sine / 38))), 0.1)
- Handy2Weld.C0 = clerp(Handy2Weld.C0, CF(1, 7, 1) * angles(Rad(0 + 8 * Sin(sine / 38)), Rad(0 + 13 * Sin(sine / 38)), Rad(90 + 8 * Sin(sine / 38))), 0.1)
- elseif Yeetedon == true and attack == false then
- ChainW.C0 = clerp(ChainW.C0, CF(990, 990, 990) * angles(Rad(180), Rad(0 + 3 * Sin(sine / 38)), Rad(90 + 8 * Sin(sine / 38))), 0.5)
- ChainW2.C0 = clerp(ChainW2.C0, CF(990, 990, 990) * angles(Rad(0), Rad(0 + 3 * Sin(sine / 38)), Rad(90 + 8 * Sin(sine / 38))), 0.5)
- Handy1Weld.C0 = clerp(Handy1Weld.C0, CF(4, 15, 0) * angles(Rad(180 + 8 * Sin(sine / 38)), Rad(0 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- Handy2Weld.C0 = clerp(Handy2Weld.C0, CF(2, 15, 4) * angles(Rad(0 + 8 * Sin(sine / 38)), Rad(0 + 6 * Sin(sine / 38)), Rad(90)), 0.1)
- end
- Music.Pitch = 1
- if(State == 'Jump')then
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -.2 - 0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -.9 - 0.1 * Cos(sine / 20), -.5) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * 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, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -1 - 0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -.8 - 0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif(State == 'Idle')then
- change = 0.65
- if attack == false and Yeetedon == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(7), Rad(0 + 2 * Sin(sine / 38)), Rad(-10)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(10 - 5 * Cos(sine / 20)), Rad(23), Rad(0 - 13 * Sin(sine / 38))), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20), -0.3) * angles(Rad(7), Rad(40 + 1 * Cos(sine / 20)), Rad(0 - 2 * Sin(sine / 38))) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20), -0.1) * angles(Rad(7), Rad(20 + 1 * Cos(sine / 20)), Rad(0 - 2 * Sin(sine / 38))) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(5 - 6 * Cos(sine / 20)), Rad(10), Rad(12 + 6 * Sin(sine / 38))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(5 - 6 * Cos(sine / 20)), Rad(10), Rad(-12 - 6 * Sin(sine / 38))), 0.1)
- elseif attack == false and Yeetedon == true then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(10 - 5 * Cos(sine / 20)), Rad(0), Rad(0 - 13 * Sin(sine / 38))), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
- end
- elseif(State == 'Walk')then
- change = 0.65
- if attack == false and Yeetedon == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0 - 0.25 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(-0.5 + 3 * Sin(sine / (WALKSPEEDVALUE / 2))) -Rad(TiltVelocity.z) * 1, Rad(0) -Rad(TiltVelocity.x) * 1, Rad(0 - 0.75 * Cos(sine / (WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1)
- neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2, -0.2 + 0.6 * Cos(sine / WALKSPEEDVALUE) / 2) * angles(Rad(-15 - 10 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5 * -math.rad(TiltVelocity.z) * 10, Rad(0 - 5 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0 - 25 * math.sin(sine / WALKSPEEDVALUE)*-math.rad(TiltVelocity.x)*5.5)), 0.3)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2, -0.2 - 0.6 * Cos(sine / WALKSPEEDVALUE) / 2) * angles(Rad(-15 + 10 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5 * -math.rad(TiltVelocity.z) * 10, Rad(0 - 5 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0 - 25 * math.sin(sine / WALKSPEEDVALUE)*math.rad(TiltVelocity.x)*5.5)), 0.3)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE), 0 - 0.2 * Cos(sine / WALKSPEEDVALUE)) * angles(Rad(50 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 * -math.rad(TiltVelocity.z) * 10, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(5 - 7 * Sin(sine / (WALKSPEEDVALUE / 2))) - root.RotVelocity.Y / 75), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE), 0 + 0.2 * Cos(sine / WALKSPEEDVALUE)) * angles(Rad(-50 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75 * -math.rad(TiltVelocity.z) * 10, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-5 + 7 * Sin(sine / (WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / -75), 0.1)
- elseif attack == false and Yeetedon == true then
- Handy1Weld.C0 = clerp(Handy1Weld.C0, CF(7, 15, 0) * angles(Rad(180 - 8 * Sin(sine / 38)), Rad(0 + 13 * Sin(sine / 38)), Rad(90 + 8 * Sin(sine / 38))), 0.1)
- Handy2Weld.C0 = clerp(Handy2Weld.C0, CF(0, 15, 7) * angles(Rad(-40 + 8 * Sin(sine / 38)), Rad(0 + 13 * Sin(sine / 38)), Rad(90 + 8 * Sin(sine / 38))), 0.1)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20) ) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(10 - 5 * Cos(sine / 20)), Rad(23), Rad(0 - 13 * Sin(sine / 38))), 0.1)
- rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5, -0.9 - 0.1 * Cos(sine / 20) - Rad(0) , 0) * angles(Rad(0), Rad(0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
- ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5, -0.9 - 0.1 * Cos(sine / 20) + Rad(0) , 0) * angles(Rad(0), Rad(-0 + 1 * Cos(sine / 20)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
- end
- end
- end
- for _, c in pairs(char:GetChildren()) do
- if c.ClassName == "Part" and c.Name ~= "Detail" and c.Name ~= "Adds" and c.Name ~= "Ring" and c.Name ~= "RingOfFire" then
- c.Transparency = 1
- if c == hed then
- if c:FindFirstChild("face") then
- c.face:remove()
- end
- end
- elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
- c:remove()
- elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
- c:remove()
- end
- end
- BLINKLOOP = BLINKLOOP + 1
- if BLINKLOOP >= 650 then
- BLINKLOOP = 0
- Blink()
- end
- hum.Name = "Void Prince"
- hum.WalkSpeed = Speed
- coroutine.resume(coroutine.create(function()
- if Music.Parent == nil or Music == nil then
- Music = Music2:Clone()
- Music.Parent = char
- Music.Name = "BGMusic"
- Music.Pitch = 1
- Music.Volume = 6
- Music.Looped = true
- Music.archivable = false
- Music.TimePosition = lastsongpos
- Music.SoundId = "rbxassetid://"..SONG
- else
- lastsongpos = Music.TimePosition
- end
- end))
- 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