SHARE
TWEET

wanderer

vallentganteng May 27th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7. -----------------------
  8. --[[ Name : Wanderer ]]--
  9. -------------------------------------------------------
  10. --A script By makhail07
  11.  
  12. --Discord Creterisk#2958
  13.  
  14. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  15. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  16. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  17. --YOU FUCKING SKIDS,
  18. --For Those who log/decompile this, If you sell or trade this,
  19. --and I find out who you are, i will take massive action.
  20.  
  21. -------------------------------------------------------
  22.  
  23. local FavIDs = {
  24.     340106355, --Nefl Crystals
  25.     927529620, --Dimension
  26.     876981900, --Fantasy
  27.     398987889, --Ordinary Days
  28.     1117396305, --Oh wait, it's you.
  29.     885996042, --Action Winter Journey
  30.     919231299, --Sprawling Idiot Effigy
  31.     743466274, --Good Day Sunshine
  32.     727411183, --Knife Fight
  33.     1402748531, --The Earth Is Counting On You!
  34.     595230126 --Robot Language
  35.     }
  36.  
  37.  
  38.  
  39. --The reality of my life isn't real but a Universe -makhail07
  40. wait(0.2)
  41. local plr = game:service'Players'.LocalPlayer
  42. print('Local User is '..plr.Name)
  43. print('Wanderer Loaded')
  44. print('A lone Wanderer searching for hope.')
  45. local char = plr.Character
  46. local hum = char.Humanoid
  47. local hed = char.Head
  48. local root = char.HumanoidRootPart
  49. local rootj = root.RootJoint
  50. local tors = char.Torso
  51. local ra = char["Right Arm"]
  52. local la = char["Left Arm"]
  53. local rl = char["Right Leg"]
  54. local ll = char["Left Leg"]
  55. local neck = tors["Neck"]
  56. local mouse = plr:GetMouse()
  57. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  58. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  59. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  60. local maincolor = BrickColor.new("Cool yellow")
  61.  
  62. -------------------------------------------------------
  63. --Start Good Stuff--
  64. -------------------------------------------------------
  65. cam = game.Workspace.CurrentCamera
  66. CF = CFrame.new
  67. angles = CFrame.Angles
  68. attack = false
  69. Euler = CFrame.fromEulerAnglesXYZ
  70. Rad = math.rad
  71. IT = Instance.new
  72. BrickC = BrickColor.new
  73. Cos = math.cos
  74. Acos = math.acos
  75. Sin = math.sin
  76. Asin = math.asin
  77. Abs = math.abs
  78. Mrandom = math.random
  79. Floor = math.floor
  80. -------------------------------------------------------
  81. --End Good Stuff--
  82. -------------------------------------------------------
  83. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  84. RSH, LSH = nil, nil
  85. RW = Instance.new("Weld")
  86. LW = Instance.new("Weld")
  87. RH = tors["Right Hip"]
  88. LH = tors["Left Hip"]
  89. RSH = tors["Right Shoulder"]
  90. LSH = tors["Left Shoulder"]
  91. RSH.Parent = nil
  92. LSH.Parent = nil
  93. RW.Name = "RW"
  94. RW.Part0 = tors
  95. RW.C0 = CF(1.5, 0.5, 0)
  96. RW.C1 = CF(0, 0.5, 0)
  97. RW.Part1 = ra
  98. RW.Parent = tors
  99. LW.Name = "LW"
  100. LW.Part0 = tors
  101. LW.C0 = CF(-1.5, 0.5, 0)
  102. LW.C1 = CF(0, 0.5, 0)
  103. LW.Part1 = la
  104. LW.Parent = tors
  105. Effects = {}
  106. -------------------------------------------------------
  107. --Start HeartBeat--
  108. -------------------------------------------------------
  109. ArtificialHB = Instance.new("BindableEvent", script)
  110. ArtificialHB.Name = "Heartbeat"
  111. script:WaitForChild("Heartbeat")
  112.  
  113. frame = 1 / 60
  114. tf = 0
  115. allowframeloss = false
  116. tossremainder = false
  117.  
  118.  
  119. lastframe = tick()
  120. script.Heartbeat:Fire()
  121.  
  122.  
  123. game:GetService("RunService").Heartbeat:connect(function(s, p)
  124.     tf = tf + s
  125.     if tf >= frame then
  126.         if allowframeloss then
  127.             script.Heartbeat:Fire()
  128.             lastframe = tick()
  129.         else
  130.             for i = 1, math.floor(tf / frame) do
  131.                 script.Heartbeat:Fire()
  132.             end
  133.             lastframe = tick()
  134.         end
  135.         if tossremainder then
  136.             tf = 0
  137.         else
  138.             tf = tf - frame * math.floor(tf / frame)
  139.         end
  140.     end
  141. end)
  142. -------------------------------------------------------
  143. --End HeartBeat--
  144. -------------------------------------------------------
  145.  
  146. -------------------------------------------------------
  147. --Start Important Functions--
  148. -------------------------------------------------------
  149. function swait(num)
  150.     if num == 0 or num == nil then
  151.         game:service("RunService").Stepped:wait(0)
  152.     else
  153.         for i = 0, num do
  154.             game:service("RunService").Stepped:wait(0)
  155.         end
  156.     end
  157. end
  158. function thread(f)
  159.     coroutine.resume(coroutine.create(f))
  160. end
  161. function clerp(a, b, t)
  162.     local qa = {
  163.         QuaternionFromCFrame(a)
  164.     }
  165.     local qb = {
  166.         QuaternionFromCFrame(b)
  167.     }
  168.     local ax, ay, az = a.x, a.y, a.z
  169.     local bx, by, bz = b.x, b.y, b.z
  170.     local _t = 1 - t
  171.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  172. end
  173. function QuaternionFromCFrame(cf)
  174.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  175.     local trace = m00 + m11 + m22
  176.     if trace > 0 then
  177.         local s = math.sqrt(1 + trace)
  178.         local recip = 0.5 / s
  179.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  180.     else
  181.         local i = 0
  182.         if m00 < m11 then
  183.             i = 1
  184.         end
  185.         if m22 > (i == 0 and m00 or m11) then
  186.             i = 2
  187.         end
  188.         if i == 0 then
  189.             local s = math.sqrt(m00 - m11 - m22 + 1)
  190.             local recip = 0.5 / s
  191.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  192.         elseif i == 1 then
  193.             local s = math.sqrt(m11 - m22 - m00 + 1)
  194.             local recip = 0.5 / s
  195.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  196.         elseif i == 2 then
  197.             local s = math.sqrt(m22 - m00 - m11 + 1)
  198.             local recip = 0.5 / s
  199.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  200.         end
  201.     end
  202. end
  203. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  204.     local xs, ys, zs = x + x, y + y, z + z
  205.     local wx, wy, wz = w * xs, w * ys, w * zs
  206.     local xx = x * xs
  207.     local xy = x * ys
  208.     local xz = x * zs
  209.     local yy = y * ys
  210.     local yz = y * zs
  211.     local zz = z * zs
  212.     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))
  213. end
  214. function QuaternionSlerp(a, b, t)
  215.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  216.     local startInterp, finishInterp
  217.     if cosTheta >= 1.0E-4 then
  218.         if 1 - cosTheta > 1.0E-4 then
  219.             local theta = math.acos(cosTheta)
  220.             local invSinTheta = 1 / Sin(theta)
  221.             startInterp = Sin((1 - t) * theta) * invSinTheta
  222.             finishInterp = Sin(t * theta) * invSinTheta
  223.         else
  224.             startInterp = 1 - t
  225.             finishInterp = t
  226.         end
  227.     elseif 1 + cosTheta > 1.0E-4 then
  228.         local theta = math.acos(-cosTheta)
  229.         local invSinTheta = 1 / Sin(theta)
  230.         startInterp = Sin((t - 1) * theta) * invSinTheta
  231.         finishInterp = Sin(t * theta) * invSinTheta
  232.     else
  233.         startInterp = t - 1
  234.         finishInterp = t
  235.     end
  236.     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
  237. end
  238. function rayCast(Position, Direction, Range, Ignore)
  239.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  240. end
  241. local RbxUtility = LoadLibrary("RbxUtility")
  242. local Create = RbxUtility.Create
  243.  
  244. -------------------------------------------------------
  245. --Start Damage Function--
  246. -------------------------------------------------------
  247. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  248.     if hit.Parent == nil then
  249.         return
  250.     end
  251.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  252.     for _, v in pairs(hit.Parent:children()) do
  253.         if v:IsA("Humanoid") then
  254.             h = v
  255.         end
  256.     end
  257.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  258.    
  259.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  260.          end
  261.  
  262.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  263.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  264.             if hit.Parent.DebounceHit.Value == true then
  265.                 return
  266.             end
  267.         end
  268.          if insta == true then
  269.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  270.          end
  271.         local c = Create("ObjectValue"){
  272.             Name = "creator",
  273.             Value = game:service("Players").LocalPlayer,
  274.             Parent = h,
  275.         }
  276.         game:GetService("Debris"):AddItem(c, .5)
  277.         if HitSound ~= nil and HitPitch ~= nil then
  278.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  279.         end
  280.         local Damage = math.random(minim, maxim)
  281.         local blocked = false
  282.         local block = hit.Parent:findFirstChild("Block")
  283.         if block ~= nil then
  284.             if block.className == "IntValue" then
  285.                 if block.Value > 0 then
  286.                     blocked = true
  287.                     block.Value = block.Value - 1
  288.                     print(block.Value)
  289.                 end
  290.             end
  291.         end
  292.         if blocked == false then
  293.             h.Health = h.Health - Damage
  294.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  295.         else
  296.             h.Health = h.Health - (Damage / 2)
  297.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  298.         end
  299.         if Type == "Knockdown" then
  300.             local hum = hit.Parent.Humanoid
  301.             hum.PlatformStand = true
  302.             coroutine.resume(coroutine.create(function(HHumanoid)
  303.                 swait(1)
  304.                 HHumanoid.PlatformStand = false
  305.             end), hum)
  306.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  307.             local bodvol = Create("BodyVelocity"){
  308.                 velocity = angle * knockback,
  309.                 P = 5000,
  310.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  311.                 Parent = hit,
  312.             }
  313.             local rl = Create("BodyAngularVelocity"){
  314.                 P = 3000,
  315.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  316.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  317.                 Parent = hit,
  318.             }
  319.             game:GetService("Debris"):AddItem(bodvol, .5)
  320.             game:GetService("Debris"):AddItem(rl, .5)
  321.         elseif Type == "Normal" then
  322.             local vp = Create("BodyVelocity"){
  323.                 P = 500,
  324.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  325.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  326.             }
  327.             if knockback > 0 then
  328.                 vp.Parent = hit.Parent.Torso
  329.             end
  330.             game:GetService("Debris"):AddItem(vp, .5)
  331.         elseif Type == "Up" then
  332.             local bodyVelocity = Create("BodyVelocity"){
  333.                 velocity = Vector3.new(0, 20, 0),
  334.                 P = 5000,
  335.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  336.                 Parent = hit,
  337.             }
  338.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  339.         elseif Type == "Firedmg" then
  340.             coroutine.resume(coroutine.create(function()
  341.                 for i = 1, 18 do
  342.                 if hit.Parent:FindFirstChild("Torso") ~= nil then
  343.                     BlockEffect(BrickColor.new("Daisy orange"), hit.Parent.Head.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 1)
  344.                     wait()
  345.                 end
  346.             end
  347.         end))
  348.         elseif Type == "DarkUp" then
  349.             coroutine.resume(coroutine.create(function()
  350.                 for i = 0, 1, 0.1 do
  351.                     swait()
  352.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  353.                 end
  354.             end))
  355.             local bodyVelocity = Create("BodyVelocity"){
  356.                 velocity = Vector3.new(0, 20, 0),
  357.                 P = 5000,
  358.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  359.                 Parent = hit,
  360.             }
  361.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  362.         elseif Type == "Snare" then
  363.             local bp = Create("BodyPosition"){
  364.                 P = 2000,
  365.                 D = 100,
  366.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  367.                 position = hit.Parent.Torso.Position,
  368.                 Parent = hit.Parent.Torso,
  369.             }
  370.             game:GetService("Debris"):AddItem(bp, 1)
  371.         elseif Type == "Freeze" then
  372.             local BodPos = Create("BodyPosition"){
  373.                 P = 50000,
  374.                 D = 1000,
  375.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  376.                 position = hit.Parent.Torso.Position,
  377.                 Parent = hit.Parent.Torso,
  378.             }
  379.             local BodGy = Create("BodyGyro") {
  380.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  381.                 P = 20e+003,
  382.                 Parent = hit.Parent.Torso,
  383.                 cframe = hit.Parent.Torso.CFrame,
  384.             }
  385.             hit.Parent.Torso.Anchored = true
  386.             coroutine.resume(coroutine.create(function(Part)
  387.                 swait(1.5)
  388.                 Part.Anchored = false
  389.             end), hit.Parent.Torso)
  390.             game:GetService("Debris"):AddItem(BodPos, 3)
  391.             game:GetService("Debris"):AddItem(BodGy, 3)
  392.         end
  393.         local debounce = Create("BoolValue"){
  394.             Name = "DebounceHit",
  395.             Parent = hit.Parent,
  396.             Value = true,
  397.         }
  398.         game:GetService("Debris"):AddItem(debounce, Delay)
  399.         c = Create("ObjectValue"){
  400.             Name = "creator",
  401.             Value = Player,
  402.             Parent = h,
  403.         }
  404.         game:GetService("Debris"):AddItem(c, .5)
  405.     end
  406. end
  407. -------------------------------------------------------
  408. --End Damage Function--
  409. -------------------------------------------------------
  410.  
  411. -------------------------------------------------------
  412. --Start Damage Function Customization--
  413. -------------------------------------------------------
  414. function ShowDamage(Pos, Text, Time, Color)
  415.     local Rate = (1 / 30)
  416.     local Pos = (Pos or Vector3.new(0, 0, 0))
  417.     local Text = (Text or "")
  418.     local Time = (Time or 2)
  419.     local Color = (Color or Color3.new(1, 0, 1))
  420.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  421.     EffectPart.Anchored = true
  422.     local BillboardGui = Create("BillboardGui"){
  423.         Size = UDim2.new(3, 0, 3, 0),
  424.         Adornee = EffectPart,
  425.         Parent = EffectPart,
  426.     }
  427.     local TextLabel = Create("TextLabel"){
  428.         BackgroundTransparency = 1,
  429.         Size = UDim2.new(1, 0, 1, 0),
  430.         Text = Text,
  431.         Font = "Bodoni",
  432.         TextColor3 = Color,
  433.         TextScaled = true,
  434.         TextStrokeColor3 = Color3.fromRGB(0,0,0),
  435.         Parent = BillboardGui,
  436.     }
  437.     game.Debris:AddItem(EffectPart, (Time))
  438.     EffectPart.Parent = game:GetService("Workspace")
  439.     delay(0, function()
  440.         local Frames = (Time / Rate)
  441.         for Frame = 1, Frames do
  442.             wait(Rate)
  443.             local Percent = (Frame / Frames)
  444.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  445.             TextLabel.TextTransparency = Percent
  446.         end
  447.         if EffectPart and EffectPart.Parent then
  448.             EffectPart:Destroy()
  449.         end
  450.     end)
  451. end
  452. -------------------------------------------------------
  453. --End Damage Function Customization--
  454. -------------------------------------------------------
  455.  
  456. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  457.   for _, c in pairs(workspace:children()) do
  458.     local hum = c:findFirstChild("Humanoid")
  459.     if hum ~= nil then
  460.       local head = c:findFirstChild("Head")
  461.       if head ~= nil then
  462.         local targ = head.Position - Part.Position
  463.         local mag = targ.magnitude
  464.         if magni >= mag and c.Name ~= plr.Name then
  465.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  466.         end
  467.       end
  468.     end
  469.   end
  470. end
  471.  
  472.  
  473. CFuncs = {
  474.     Part = {
  475.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  476.             local Part = Create("Part")({
  477.                 Parent = Parent,
  478.                 Reflectance = Reflectance,
  479.                 Transparency = Transparency,
  480.                 CanCollide = false,
  481.                 Locked = true,
  482.                 BrickColor = BrickColor.new(tostring(BColor)),
  483.                 Name = Name,
  484.                 Size = Size,
  485.                 Material = Material
  486.             })
  487.             RemoveOutlines(Part)
  488.             return Part
  489.         end
  490.     },
  491.     Mesh = {
  492.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  493.             local Msh = Create(Mesh)({
  494.                 Parent = Part,
  495.                 Offset = OffSet,
  496.                 Scale = Scale
  497.             })
  498.             if Mesh == "SpecialMesh" then
  499.                 Msh.MeshType = MeshType
  500.                 Msh.MeshId = MeshId
  501.             end
  502.             return Msh
  503.         end
  504.     },
  505.     Mesh = {
  506.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  507.             local Msh = Create(Mesh)({
  508.                 Parent = Part,
  509.                 Offset = OffSet,
  510.                 Scale = Scale
  511.             })
  512.             if Mesh == "SpecialMesh" then
  513.                 Msh.MeshType = MeshType
  514.                 Msh.MeshId = MeshId
  515.             end
  516.             return Msh
  517.         end
  518.     },
  519.     Weld = {
  520.         Create = function(Parent, Part0, Part1, C0, C1)
  521.             local Weld = Create("Weld")({
  522.                 Parent = Parent,
  523.                 Part0 = Part0,
  524.                 Part1 = Part1,
  525.                 C0 = C0,
  526.                 C1 = C1
  527.             })
  528.             return Weld
  529.         end
  530.     },
  531.     Sound = {
  532.         Create = function(id, par, vol, pit)
  533.             coroutine.resume(coroutine.create(function()
  534.                 local S = Create("Sound")({
  535.                     Volume = vol,
  536.                     Pitch = pit or 1,
  537.                     SoundId = id,
  538.                     Parent = par or workspace
  539.                 })
  540.                 wait()
  541.                 S:play()
  542.                 game:GetService("Debris"):AddItem(S, 6)
  543.             end))
  544.         end
  545.     },
  546.     ParticleEmitter = {
  547.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  548.             local fp = Create("ParticleEmitter")({
  549.                 Parent = Parent,
  550.                 Color = ColorSequence.new(Color1, Color2),
  551.                 LightEmission = LightEmission,
  552.                 Size = Size,
  553.                 Texture = Texture,
  554.                 Transparency = Transparency,
  555.                 ZOffset = ZOffset,
  556.                 Acceleration = Accel,
  557.                 Drag = Drag,
  558.                 LockedToPart = LockedToPart,
  559.                 VelocityInheritance = VelocityInheritance,
  560.                 EmissionDirection = EmissionDirection,
  561.                 Enabled = Enabled,
  562.                 Lifetime = LifeTime,
  563.                 Rate = Rate,
  564.                 Rotation = Rotation,
  565.                 RotSpeed = RotSpeed,
  566.                 Speed = Speed,
  567.                 VelocitySpread = VelocitySpread
  568.             })
  569.             return fp
  570.         end
  571.     }
  572. }
  573. function RemoveOutlines(part)
  574.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  575. end
  576. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  577.     local Part = Create("Part")({
  578.         formFactor = FormFactor,
  579.         Parent = Parent,
  580.         Reflectance = Reflectance,
  581.         Transparency = Transparency,
  582.         CanCollide = false,
  583.         Locked = true,
  584.         BrickColor = BrickColor.new(tostring(BColor)),
  585.         Name = Name,
  586.         Size = Size,
  587.         Material = Material
  588.     })
  589.     RemoveOutlines(Part)
  590.     return Part
  591. end
  592. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  593.     local Msh = Create(Mesh)({
  594.         Parent = Part,
  595.         Offset = OffSet,
  596.         Scale = Scale
  597.     })
  598.     if Mesh == "SpecialMesh" then
  599.         Msh.MeshType = MeshType
  600.         Msh.MeshId = MeshId
  601.     end
  602.     return Msh
  603. end
  604. function CreateWeld(Parent, Part0, Part1, C0, C1)
  605.     local Weld = Create("Weld")({
  606.         Parent = Parent,
  607.         Part0 = Part0,
  608.         Part1 = Part1,
  609.         C0 = C0,
  610.         C1 = C1
  611.     })
  612.     return Weld
  613. end
  614.  
  615.  
  616. -------------------------------------------------------
  617. --Start Effect Function--
  618. -------------------------------------------------------
  619. EffectModel = Instance.new("Model", char)
  620. Effects = {
  621.   Block = {
  622.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  623.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  624.       prt.Anchored = true
  625.       prt.CFrame = cframe
  626.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  627.       game:GetService("Debris"):AddItem(prt, 10)
  628.       if Type == 1 or Type == nil then
  629.         table.insert(Effects, {
  630.           prt,
  631.           "Block1",
  632.           delay,
  633.           x3,
  634.           y3,
  635.           z3,
  636.           msh
  637.         })
  638.       elseif Type == 2 then
  639.         table.insert(Effects, {
  640.           prt,
  641.           "Block2",
  642.           delay,
  643.           x3,
  644.           y3,
  645.           z3,
  646.           msh
  647.         })
  648.       else
  649.         table.insert(Effects, {
  650.           prt,
  651.           "Block3",
  652.           delay,
  653.           x3,
  654.           y3,
  655.           z3,
  656.           msh
  657.         })
  658.       end
  659.     end
  660.   },
  661.   Sphere = {
  662.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  663.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  664.       prt.Anchored = true
  665.       prt.CFrame = cframe
  666.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  667.       game:GetService("Debris"):AddItem(prt, 10)
  668.       table.insert(Effects, {
  669.         prt,
  670.         "Cylinder",
  671.         delay,
  672.         x3,
  673.         y3,
  674.         z3,
  675.         msh
  676.       })
  677.     end
  678.   },
  679.   Cylinder = {
  680.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  681.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  682.       prt.Anchored = true
  683.       prt.CFrame = cframe
  684.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  685.       game:GetService("Debris"):AddItem(prt, 10)
  686.       table.insert(Effects, {
  687.         prt,
  688.         "Cylinder",
  689.         delay,
  690.         x3,
  691.         y3,
  692.         z3,
  693.         msh
  694.       })
  695.     end
  696.   },
  697.   Wave = {
  698.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  699.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  700.       prt.Anchored = true
  701.       prt.CFrame = cframe
  702.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  703.       game:GetService("Debris"):AddItem(prt, 10)
  704.       table.insert(Effects, {
  705.         prt,
  706.         "Cylinder",
  707.         delay,
  708.         x3 / 60,
  709.         y3 / 60,
  710.         z3 / 60,
  711.         msh
  712.       })
  713.     end
  714.   },
  715.   Ring = {
  716.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  717.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  718.       prt.Anchored = true
  719.       prt.CFrame = cframe
  720.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  721.       game:GetService("Debris"):AddItem(prt, 10)
  722.       table.insert(Effects, {
  723.         prt,
  724.         "Cylinder",
  725.         delay,
  726.         x3,
  727.         y3,
  728.         z3,
  729.         msh
  730.       })
  731.     end
  732.   },
  733.   Break = {
  734.     Create = function(brickcolor, cframe, x1, y1, z1)
  735.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  736.       prt.Anchored = true
  737.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  738.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  739.       local num = math.random(10, 50) / 1000
  740.       game:GetService("Debris"):AddItem(prt, 10)
  741.       table.insert(Effects, {
  742.         prt,
  743.         "Shatter",
  744.         num,
  745.         prt.CFrame,
  746.         math.random() - math.random(),
  747.         0,
  748.         math.random(50, 100) / 100
  749.       })
  750.     end
  751.   },
  752. Spiral = {
  753.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  754.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  755.       prt.Anchored = true
  756.       prt.CFrame = cframe
  757.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  758.       game:GetService("Debris"):AddItem(prt, 10)
  759.       table.insert(Effects, {
  760.         prt,
  761.         "Cylinder",
  762.         delay,
  763.         x3,
  764.         y3,
  765.         z3,
  766.         msh
  767.       })
  768.     end
  769.   },
  770. Push = {
  771.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  772.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  773.       prt.Anchored = true
  774.       prt.CFrame = cframe
  775.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  776.       game:GetService("Debris"):AddItem(prt, 10)
  777.       table.insert(Effects, {
  778.         prt,
  779.         "Cylinder",
  780.         delay,
  781.         x3,
  782.         y3,
  783.         z3,
  784.         msh
  785.       })
  786.     end
  787.   }
  788. }
  789. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  790.     local fp = IT("Part")
  791.     fp.formFactor = formfactor
  792.     fp.Parent = parent
  793.     fp.Reflectance = reflectance
  794.     fp.Transparency = transparency
  795.     fp.CanCollide = false
  796.     fp.Locked = true
  797.     fp.BrickColor = brickcolor
  798.     fp.Name = name
  799.     fp.Size = size
  800.     fp.Position = tors.Position
  801.     RemoveOutlines(fp)
  802.     fp.Material = "SmoothPlastic"
  803.     fp:BreakJoints()
  804.     return fp
  805. end
  806.  
  807. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  808.     local mesh = IT(Mesh)
  809.     mesh.Parent = part
  810.     if Mesh == "SpecialMesh" then
  811.         mesh.MeshType = meshtype
  812.     if meshid ~= "nil" then
  813.         mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  814.         end
  815.     end
  816.     mesh.Offset = offset
  817.     mesh.Scale = scale
  818.     return mesh
  819. end
  820.  
  821. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  822.     local type = type
  823.     local rng = Instance.new("Part", char)
  824.     rng.Anchored = true
  825.     rng.BrickColor = color
  826.     rng.CanCollide = false
  827.     rng.FormFactor = 3
  828.     rng.Name = "Ring"
  829.     rng.Material = "Neon"
  830.     rng.Size = Vector3.new(1, 1, 1)
  831.     rng.Transparency = 0
  832.     rng.TopSurface = 0
  833.     rng.BottomSurface = 0
  834.     rng.CFrame = pos
  835.     local rngm = Instance.new("SpecialMesh", rng)
  836.     rngm.MeshType = MType
  837.     rngm.Scale = scale
  838.     local scaler2 = 1
  839.     if type == "Add" then
  840.         scaler2 = 1 * value
  841.     elseif type == "Divide" then
  842.         scaler2 = 1 / value
  843.     end
  844.     coroutine.resume(coroutine.create(function()
  845.         for i = 0, 10 / bonuspeed, 0.1 do
  846.             swait()
  847.             if type == "Add" then
  848.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  849.             elseif type == "Divide" then
  850.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  851.             end
  852.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  853.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  854.         end
  855.         rng:Destroy()
  856.     end))
  857. end
  858.  
  859. function Eviscerate(dude)
  860.     if dude.Name ~= char then
  861.         local bgf = IT("BodyGyro", dude.Head)
  862.         bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  863.         local val = IT("BoolValue", dude)
  864.         val.Name = "IsHit"
  865.         local ds = coroutine.wrap(function()
  866.             dude:WaitForChild("Head"):BreakJoints()
  867.             wait(0.5)
  868.             target = nil
  869.             coroutine.resume(coroutine.create(function()
  870.                 for i, v in pairs(dude:GetChildren()) do
  871.                     if v:IsA("Accessory") then
  872.                         v:Destroy()
  873.                     end
  874.                     if v:IsA("Humanoid") then
  875.                         v:Destroy()
  876.                     end
  877.                     if v:IsA("CharacterMesh") then
  878.                         v:Destroy()
  879.                     end
  880.                     if v:IsA("Model") then
  881.                         v:Destroy()
  882.                     end
  883.                     if v:IsA("Part") or v:IsA("MeshPart") then
  884.                         for x, o in pairs(v:GetChildren()) do
  885.                             if o:IsA("Decal") then
  886.                                 o:Destroy()
  887.                             end
  888.                         end
  889.                         coroutine.resume(coroutine.create(function()
  890.                             v.Material = "Neon"
  891.                             v.CanCollide = false
  892.                             local PartEmmit1 = IT("ParticleEmitter", v)
  893.                             PartEmmit1.LightEmission = 1
  894.                             PartEmmit1.Texture = "rbxassetid://284205403"
  895.                             PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  896.                             PartEmmit1.Rate = 150
  897.                             PartEmmit1.Lifetime = NumberRange.new(1)
  898.                             PartEmmit1.Size = NumberSequence.new({
  899.                                 NumberSequenceKeypoint.new(0, 0.75, 0),
  900.                                 NumberSequenceKeypoint.new(1, 0, 0)
  901.                             })
  902.                             PartEmmit1.Transparency = NumberSequence.new({
  903.                                 NumberSequenceKeypoint.new(0, 0, 0),
  904.                                 NumberSequenceKeypoint.new(1, 1, 0)
  905.                             })
  906.                             PartEmmit1.Speed = NumberRange.new(0, 0)
  907.                             PartEmmit1.VelocitySpread = 30000
  908.                             PartEmmit1.Rotation = NumberRange.new(-500, 500)
  909.                             PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  910.                             local BodPoss = IT("BodyPosition", v)
  911.                             BodPoss.P = 3000
  912.                             BodPoss.D = 1000
  913.                             BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  914.                             BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  915.                             v.Color = maincolor.Color
  916.                             coroutine.resume(coroutine.create(function()
  917.                                 for i = 0, 49 do
  918.                                     swait(1)
  919.                                     v.Transparency = v.Transparency + 0.08
  920.                                 end
  921.                                 wait(0.5)
  922.                                 PartEmmit1.Enabled = false
  923.                                 wait(3)
  924.                                 v:Destroy()
  925.                                 dude:Destroy()
  926.                             end))
  927.                         end))
  928.                     end
  929.                 end
  930.             end))
  931.         end)
  932.         ds()
  933.     end
  934. end
  935.  
  936. function FindNearestHead(Position, Distance, SinglePlayer)
  937.     if SinglePlayer then
  938.         return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  939.     end
  940.     local List = {}
  941.     for i, v in pairs(workspace:GetChildren()) do
  942.         if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  943.             table.insert(List, v)
  944.         end
  945.     end
  946.     return List
  947. end
  948.  
  949. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  950.     local type = type
  951.     local rng = Instance.new("Part", char)
  952.     rng.Anchored = true
  953.     rng.BrickColor = color
  954.     rng.CanCollide = false
  955.     rng.FormFactor = 3
  956.     rng.Name = "Ring"
  957.     rng.Material = "Neon"
  958.     rng.Size = Vector3.new(1, 1, 1)
  959.     rng.Transparency = 0
  960.     rng.TopSurface = 0
  961.     rng.BottomSurface = 0
  962.     rng.CFrame = pos
  963.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  964.     local rngm = Instance.new("SpecialMesh", rng)
  965.     rngm.MeshType = MType
  966.     rngm.Scale = Vector3.new(x1, y1, z1)
  967.     local scaler2 = 1
  968.     local speeder = FastSpeed
  969.     if type == "Add" then
  970.         scaler2 = 1 * value
  971.     elseif type == "Divide" then
  972.         scaler2 = 1 / value
  973.     end
  974.     coroutine.resume(coroutine.create(function()
  975.         for i = 0, 10 / bonuspeed, 0.1 do
  976.             swait()
  977.             if type == "Add" then
  978.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  979.             elseif type == "Divide" then
  980.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  981.             end
  982.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  983.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  984.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  985.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  986.         end
  987.         rng:Destroy()
  988.     end))
  989. end
  990.  
  991. function SoulSteal(dude)
  992. if dude.Name ~= char then
  993. local bgf = IT("BodyGyro", dude.Head)
  994. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  995. local val = IT("BoolValue", dude)
  996. val.Name = "IsHit"
  997. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  998. local soulst = coroutine.wrap(function()
  999. local soul = Instance.new("Part",dude)
  1000. soul.Size = Vector3.new(1,1,1)
  1001. soul.CanCollide = false
  1002. soul.Anchored = false
  1003. soul.Position = torso.Position
  1004. soul.Transparency = 1
  1005. local PartEmmit1 = IT("ParticleEmitter", soul)
  1006. PartEmmit1.LightEmission = 1
  1007. PartEmmit1.Texture = "rbxassetid://569507414"
  1008. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1009. PartEmmit1.Rate = 250
  1010. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1011. PartEmmit1.Size = NumberSequence.new({
  1012.     NumberSequenceKeypoint.new(0, 1, 0),
  1013.     NumberSequenceKeypoint.new(1, 0, 0)
  1014. })
  1015. PartEmmit1.Transparency = NumberSequence.new({
  1016.     NumberSequenceKeypoint.new(0, 0, 0),
  1017.     NumberSequenceKeypoint.new(1, 1, 0)
  1018. })
  1019. PartEmmit1.Speed = NumberRange.new(0, 0)
  1020. PartEmmit1.VelocitySpread = 30000
  1021. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1022. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1023. local BodPoss = IT("BodyPosition", soul)
  1024. BodPoss.P = 3000
  1025. BodPoss.D = 1000
  1026. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1027. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1028. wait(1.6)
  1029. soul.Touched:connect(function(hit)
  1030.     if hit.Parent == char then
  1031.     soul:Destroy()
  1032.     end
  1033. end)
  1034. wait(1.2)
  1035. while soul do
  1036.     swait()
  1037.     PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1038.     BodPoss.Position = tors.Position
  1039. end
  1040. end)
  1041.     soulst()
  1042.     end
  1043. end
  1044. function FaceMouse()
  1045. local   Cam = workspace.CurrentCamera
  1046.     return {
  1047.         CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1048.         Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1049.     }
  1050. end
  1051. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1052.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1053.   prt.Anchored = true
  1054.   prt.CFrame = cframe
  1055.   local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1056.   game:GetService("Debris"):AddItem(prt, 10)
  1057.   if Type == 1 or Type == nil then
  1058.     table.insert(Effects, {
  1059.       prt,
  1060.       "Block1",
  1061.       delay,
  1062.       x3,
  1063.       y3,
  1064.       z3,
  1065.       msh
  1066.     })
  1067.   elseif Type == 2 then
  1068.     table.insert(Effects, {
  1069.       prt,
  1070.       "Block2",
  1071.       delay,
  1072.       x3,
  1073.       y3,
  1074.       z3,
  1075.       msh
  1076.     })
  1077.   elseif Type == 3 then
  1078.     table.insert(Effects, {
  1079.       prt,
  1080.       "Block3",
  1081.       delay,
  1082.       x3,
  1083.       y3,
  1084.       z3,
  1085.       msh
  1086.     })
  1087.   end
  1088. end
  1089. -------------------------------------------------------
  1090. --End Effect Function--
  1091. -------------------------------------------------------
  1092. function Cso(ID, PARENT, VOLUME, PITCH)
  1093.     local NSound = nil
  1094.     coroutine.resume(coroutine.create(function()
  1095.         NSound = IT("Sound", PARENT)
  1096.         NSound.Volume = VOLUME
  1097.         NSound.Pitch = PITCH
  1098.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1099.         swait()
  1100.         NSound:play()
  1101.         game:GetService("Debris"):AddItem(NSound, 10)
  1102.     end))
  1103.     return NSound
  1104. end
  1105. function CameraEnshaking(Length, Intensity)
  1106.     coroutine.resume(coroutine.create(function()
  1107.         local intensity = 1 * Intensity
  1108.         local rotM = 0.01 * Intensity
  1109.         for i = 0, Length, 0.1 do
  1110.             swait()
  1111.             intensity = intensity - 0.05 * Intensity / Length
  1112.             rotM = rotM - 5.0E-4 * Intensity / Length
  1113.             hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1114.             cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1115.         end
  1116.         hum.CameraOffset = Vector3.new(0, 0, 0)
  1117.     end))
  1118. end
  1119. -------------------------------------------------------
  1120. --End Important Functions--
  1121. -------------------------------------------------------
  1122.  
  1123. --[[
  1124.         Thanks for using Build-To-Lua by jarredbcv.
  1125. ]]--
  1126.  
  1127. New = function(Object, Parent, Name, Data)
  1128.     local Object = Instance.new(Object)
  1129.     for Index, Value in pairs(Data or {}) do
  1130.         Object[Index] = Value
  1131.     end
  1132.     Object.Parent = Parent
  1133.     Object.Name = Name
  1134.     return Object
  1135. end
  1136.    
  1137. Lamp = New("Model",char,"Lamp",{})
  1138. Handle = New("Part",Lamp,"Handle",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.600000024, 0.610000014, 0.539999962),CFrame = CFrame.new(-109.839981, 1.79380095, -43.7700005, 0.999977291, -2.22814856e-06, -2.28935824e-06, -7.29543899e-07, -0.999977469, -5.85511816e-06, 1.10829581e-06, 4.96105622e-06, -1.00000715),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1139. Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 1),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  1140. Lampo = New("Part",Lamp,"Lampo",{BrickColor = BrickColor.new("Cool yellow"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-109.859985, 1.05100787, -43.7600021, 0.999969721, -9.99071062e-07, -2.26510087e-06, 9.99070835e-07, -0.999969959, -5.96146037e-07, 2.2651011e-06, -5.96145583e-07, -1.00000954),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.992157, 0.917647, 0.552941),})
  1141. Mesh = New("CylinderMesh",Lampo,"Mesh",{Scale = Vector3.new(0.800000012, 1, 0.800000012),})
  1142. mot = New("Motor",Lampo,"mot",{Part0 = Lampo,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, -0, -1, -0, -0, -0, -1),C1 = CFrame.new(-0.0200042725, 0.742809892, -0.00999450684, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1143. --PointLight = New("PointLight",Lampo,"PointLight",{Color = Color3.new(1, 0.835294, 0),Brightness = 34.9849996566772,Range = 25.060000419617,})
  1144. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-109.839989, 1.55099273, -43.7600021, 0.99998486, -4.99542864e-07, -1.13255635e-06, 4.99542864e-07, -0.99998498, -2.98074156e-07, 1.13255635e-06, -2.98074156e-07, -1.00000477),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1145. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 1),})
  1146. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, -0, -1, -0, -0, -0, -1),C1 = CFrame.new(-7.62939453e-06, 0.242813706, -0.00999832153, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1147. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-109.839989, 0.551022768, -43.7600021, 0.999969721, -9.99071062e-07, -2.26510087e-06, 9.99070835e-07, -0.999969959, -5.96146037e-07, 2.2651011e-06, -5.96145583e-07, -1.00000954),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1148. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 1),})
  1149. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, -0, -1, -0, -0, -0, -1),C1 = CFrame.new(-7.62939453e-06, 1.2428062, -0.00999069214, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1150. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-110.280014, 1.05100274, -43.7900009, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1151. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1152. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(-0.440040588, 0.742815137, 0.0200042725, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1153. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-109.400032, 1.05100369, -43.75, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1154. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1155. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(0.439964294, 0.742813826, -0.0199966431, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1156. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-110.120018, 1.05100298, -43.409996, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1157. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1158. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(-0.280044556, 0.742816925, -0.359996796, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1159. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-109.600037, 1.05100322, -44.1300087, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1160. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1161. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(0.239952087, 0.742812157, 0.36000824, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1162. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-110.060028, 1.05100274, -44.1500092, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1163. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1164. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(-0.220046997, 0.742812872, 0.380008698, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1165. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-109.65004, 1.05100369, -43.359993, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1166. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1167. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(0.189949036, 0.742816329, -0.409999847, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1168.  
  1169. local NewInstance = function(instance,parent,properties)
  1170.     local inst = Instance.new(instance,parent)
  1171.     if(properties)then
  1172.         for i,v in next, properties do
  1173.             pcall(function() inst[i] = v end)
  1174.         end
  1175.     end
  1176.     return inst;
  1177. end
  1178.  
  1179. --local HW = NewInstance('Weld',char,{Part0 = tors, Part1 = Handle, C0 = CF(1, -0.8, -0.2) * angles(Rad(180), Rad(60), Rad(-40))})
  1180. local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, -0.8, 0.6) * angles(Rad(90), Rad(0), Rad(0))})
  1181.  
  1182. -------------------------------------------------------
  1183. --Start Customization--
  1184. -------------------------------------------------------
  1185. local Player_Size = 1
  1186. if Player_Size ~= 1 then
  1187. root.Size = root.Size * Player_Size
  1188. tors.Size = tors.Size * Player_Size
  1189. hed.Size = hed.Size * Player_Size
  1190. ra.Size = ra.Size * Player_Size
  1191. la.Size = la.Size * Player_Size
  1192. rl.Size = rl.Size * Player_Size
  1193. ll.Size = ll.Size * Player_Size
  1194. ----------------------------------------------------------------------------------
  1195. rootj.Parent = root
  1196. neck.Parent = tors
  1197. RW.Parent = tors
  1198. LW.Parent = tors
  1199. RH.Parent = tors
  1200. LH.Parent = tors
  1201. ----------------------------------------------------------------------------------
  1202. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1203. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1204. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1205. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1206. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1207. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1208. ----------------------------------------------------------------------------------
  1209. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1210. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1211. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1212. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1213. --hat.Parent = Character
  1214. end
  1215. ----------------------------------------------------------------------------------
  1216. local SONG = 999743730
  1217. local SONG2 = 0
  1218. local Music = Instance.new("Sound",tors)
  1219. Music.Volume = 2.5
  1220. Music.Looped = true
  1221. Music.Pitch = 1 --Pitcher
  1222. ----------------------------------------------------------------------------------
  1223. local equipped = false
  1224. local idle = 0
  1225. local change = 1
  1226. local val = 0
  1227. local toim = 0
  1228. local idleanim = 0.4
  1229. local sine = 0
  1230. local Sit = 1
  1231. local Mode = "Latern"
  1232. ----------------------------------------------------------------------------------
  1233. hum.WalkSpeed = 12
  1234. hum.JumpPower = 57
  1235. local ROBLOXIDLEANIMATION = IT("Animation")
  1236. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1237. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1238. local ANIMATOR = hum.Animator
  1239. local ANIMATE = char.Animate
  1240. ANIMATE.Parent = nil
  1241. ----------------------------------------------------------------------------------
  1242. local naeeym2 = Instance.new("BillboardGui",char)
  1243. naeeym2.AlwaysOnTop = true
  1244. naeeym2.Size = UDim2.new(5,35,2,35)
  1245. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1246. naeeym2.Adornee = hed
  1247. naeeym2.Name = "Name"
  1248. local tecks2 = Instance.new("TextLabel",naeeym2)
  1249. tecks2.BackgroundTransparency = 1
  1250. tecks2.TextScaled = true
  1251. tecks2.BorderSizePixel = 0
  1252. tecks2.Text = "Wanderer"
  1253. tecks2.Font = "Fantasy"
  1254. tecks2.TextSize = 30
  1255. tecks2.TextTransparency = 0
  1256. tecks2.TextStrokeTransparency = 0
  1257. tecks2.TextColor3 = Color3.fromRGB(253, 234, 141)
  1258. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1259. tecks2.Size = UDim2.new(1,0,0.5,0)
  1260. tecks2.Parent = naeeym2
  1261. ----------------------------------------------------------------------------------
  1262. game:service'Lighting'.TimeOfDay = "00:00:00"
  1263. local light = Instance.new("PointLight", Lampo)
  1264. light.Name = "Light"
  1265. light.Range = 8
  1266. light.Brightness = 35
  1267. light.Shadows = true
  1268. ----------------------------------------------------------------------------------
  1269. Reaper = IT("Model")
  1270. Reaper.Parent = char
  1271. Reaper.Name = "Reaper"
  1272. RHe = IT("Part")
  1273. RHe.Parent = Reaper
  1274. RHe.BrickColor = BrickColor.new("Dark stone grey")
  1275. RHe.Locked = true
  1276. RHe.CanCollide = false
  1277. RHe.Transparency = 0
  1278. PMesh = IT("SpecialMesh")
  1279. RHe.formFactor =  "Symmetric"
  1280. PMesh.MeshType = "FileMesh"
  1281. PMesh.MeshId = "rbxassetid://77353021"
  1282. --PMesh.TextureId = "rbxassetid://116524836"
  1283. PMesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  1284. PMesh.Parent = RHe
  1285. local RWeld = IT("Weld")
  1286. RWeld.Parent = RHe
  1287. RWeld.Part0 = RHe
  1288. RWeld.Part1 = tors
  1289. RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(0), Rad(-20), Rad(90))
  1290. -------------------------------------------------------
  1291. --End Customization--
  1292. -------------------------------------------------------
  1293.  
  1294.  
  1295. -------------------------------------------------------
  1296. --Start Attacks N Stuff--
  1297. -------------------------------------------------------
  1298. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1299.   local  Hitboxpart = Instance.new("Part", EffectModel)
  1300.   RemoveOutlines(Hitboxpart)
  1301.   Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1302.   Hitboxpart.CanCollide = false
  1303.   Hitboxpart.Transparency = 1
  1304.   Hitboxpart.Anchored = true
  1305.   Hitboxpart.CFrame = Pose
  1306.   game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1307.   MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1308. end
  1309. function LaternSmack()
  1310.     attack = true
  1311.     hum.WalkSpeed = 3.01
  1312.     for i = 0, 1.4, 0.1 do
  1313.         swait()
  1314.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-6), Rad(0), Rad(0)), 0.15)
  1315.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1316.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1317.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1318.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(186), Rad(13 + 4.5 * Sin(sine / 20)), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1319.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-36), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1320.         HW.C0 = clerp(HW.C0, CF(0, -1, -0.4) * angles(Rad(235), Rad(-.6), Rad(0)), 0.2)
  1321.     end
  1322.     local Flame = Cso("213656638", Lampo, 1.7, .9)
  1323.     if Flame then
  1324.     Flame.TimePosition = .5
  1325.     end
  1326.     Cso("145878848", Lampo, 3, 1)
  1327.     HitboxFunction(Lampo.CFrame * CF(0, 0, 1), 0.01, 1, 1, 1, 7, 10, 20, 3, "Firedmg")
  1328.     for i = 0, 1.7, 0.1 do
  1329.         swait()
  1330.         BlockEffect(maincolor, Lampo.CFrame, 21, 41, 21, -3.5, -3.5, -3.5, 0.08, 3)
  1331.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(10)), 0.15)
  1332.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(21 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-10)), 0.3)
  1333.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(9)), 0.15)
  1334.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(26)), 0.15)
  1335.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-18 + 4.5 * Sin(sine / 20))), 0.2)
  1336.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.2)
  1337.         HW.C0 = clerp(HW.C0, CF(0, -1.1, 0) * angles(Rad(148 + 4.5 * Cos(sine / 20)), Rad(-.6), Rad(0)), 0.2)
  1338.     end
  1339.     attack = false
  1340.     hum.WalkSpeed = 12
  1341. end
  1342. function LaternSpin()
  1343.     attack = true
  1344. end
  1345. function Taunt()
  1346.     attack = true
  1347.     hum.WalkSpeed = 1.01
  1348.     coroutine.resume(coroutine.create(function()
  1349.         for i = 0, 0.3, 0.1 do
  1350.         swait(35)
  1351.         Cso("145878848", Lampo, 3, 1)
  1352.         end
  1353.     end))
  1354.     for i = 0, 16, 0.1 do
  1355.         swait()
  1356.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1357.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.3)
  1358.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1359.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1360.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125 + 25 * Cos(sine / 7)), Rad(13 + 4.5 * Sin(sine / 20)), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1361.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1362.         HW.C0 = clerp(HW.C0, CF(0, -0.6, 0.6) * angles(Rad(67 + 35 * Cos(sine / 7)), Rad(-.6), Rad(0)), 0.1)
  1363.     end
  1364.     hum.WalkSpeed = 12
  1365.     attack = false
  1366. end
  1367. function EquipBlade()
  1368.     attack = true
  1369.     hum.WalkSpeed = 0
  1370.     for i = 0, 4, 0.1 do
  1371.         swait()
  1372.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1373.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.3)
  1374.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1375.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1376.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-6 + 4.5 * Sin(sine / 20))), 0.1)
  1377.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1378.         HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(175), Rad(0), Rad(0)), 0.1)
  1379.     end
  1380.     coroutine.resume(coroutine.create(function()
  1381.         HW.Part0 = tors
  1382.         for i = 0, 3, 0.1 do
  1383.             swait()
  1384.             HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 4.5 * Sin(sine / 20)), Rad(60), Rad(-40)), 0.15)
  1385.         end
  1386.     end))
  1387.     for i = 0, 5, 0.1 do
  1388.         swait()
  1389.         RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(-34), Rad(-20), Rad(90))
  1390.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-20)), 0.15)
  1391.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.3)
  1392.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1393.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1394.         RW.C0 = clerp(RW.C0, CF(0.9* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, -1.1* Player_Size) * angles(Rad(58), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.1)
  1395.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1396.         HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1397.     end
  1398.     RWeld.Part1 = ra
  1399.     for i = 0, 5, 0.1 do
  1400.         swait()
  1401.         RWeld.C0 = CF(-1, 0, -1.9) * angles(Rad(-90), Rad(0), Rad(90))
  1402.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1403.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1404.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1405.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1406.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(58), Rad(13 + 4.5 * Sin(sine / 20)), Rad(24 + 4.5 * Sin(sine / 20))), 0.1)
  1407.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1408.         HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1409.     end
  1410.     attack = false
  1411.     Mode = "Blade"
  1412.     hum.WalkSpeed = 12
  1413. end
  1414. function DequipBlade()
  1415.     attack = true
  1416.     hum.WalkSpeed = 0
  1417.     RWeld.Part1 = tors
  1418.     for i = 0, 5, 0.1 do
  1419.         swait()
  1420.         RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(-34), Rad(-20), Rad(90))
  1421.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-20)), 0.15)
  1422.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.15)
  1423.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1424.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1425.         RW.C0 = clerp(RW.C0, CF(0.9* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, -1.1* Player_Size) * angles(Rad(58), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.15)
  1426.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-36), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.15)
  1427.         HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1428.     end
  1429.     HW.Part0 = ra
  1430.     RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(0), Rad(-20), Rad(90))
  1431.     for i = 0, 4, 0.1 do
  1432.         swait()
  1433.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1434.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.3)
  1435.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1436.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1437.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-6 + 4.5 * Sin(sine / 20))), 0.15)
  1438.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1439.         HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(175), Rad(0), Rad(0)), 0.1)
  1440.     end
  1441.     attack = false
  1442.     Mode = "Latern"
  1443.     hum.WalkSpeed = 12
  1444. end
  1445. -------------------------------------------------------
  1446. --End Attacks N Stuff--
  1447. -------------------------------------------------------
  1448. mouse.Button1Down:connect(function(key)
  1449.     if attack == false then
  1450.         if Mode == "Latern" then
  1451.         LaternSmack()
  1452.         end
  1453.     end
  1454. end)
  1455. mouse.KeyDown:connect(function(key)
  1456.     if attack == false then
  1457.         if key == 't' and Mode == "Latern" then
  1458.             Taunt()
  1459.         elseif key == 'p' and Mode == "Latern" then
  1460.             EquipBlade()
  1461.         elseif key == 'p' and Mode == "Blade" then
  1462.             DequipBlade()
  1463.         end
  1464.     end
  1465. end)
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473. -------------------------------------------------------
  1474. --Start Animations--
  1475. -------------------------------------------------------
  1476. print("By Makhail07")
  1477. while true do
  1478.     swait()
  1479.     sine = sine + change
  1480.     --ANIMATE.Parent = nil
  1481.     --local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  1482.     --IDLEANIMATION:Play()
  1483.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1484.     local velderp = root.Velocity.y
  1485.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1486.     if equipped == true or equipped == false then
  1487.         if attack == false then
  1488.             idle = idle + 1
  1489.         else
  1490.             idle = 0
  1491.         end
  1492.         if 1 < root.Velocity.y and hitfloor == nil then
  1493.             Anim = "Jump"
  1494.             if attack == false then
  1495.                 if Mode == "Latern" then
  1496.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1497.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1498.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1499.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1500.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1501.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1502.                 HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(147), Rad(0), Rad(0)), 0.1)
  1503.                 elseif Mode == "Blade" then
  1504.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1505.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1506.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1507.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1508.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1509.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1510.                 HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1511.                 end
  1512.             end
  1513.         elseif -1 > root.Velocity.y and hitfloor == nil then
  1514.             Anim = "Fall"
  1515.             if attack == false then
  1516.                 if Mode == "Latern" then
  1517.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1518.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1519.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1520.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1521.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1522.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1523.                 HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(175), Rad(0), Rad(0)), 0.1)
  1524.                 elseif Mode == "Blade" then
  1525.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1526.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1527.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1528.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1529.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1530.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1531.                 HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(195 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1532.                 end
  1533.             end
  1534.         elseif torvel < 1 and hitfloor ~= nil then
  1535.             Anim = "Idle"
  1536.             change = 1
  1537.             if attack == false then
  1538.                 if Mode == "Latern" then
  1539.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1540.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1541.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1542.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1543.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(13 + 4.5 * Sin(sine / 20)), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1544.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1545.                 HW.C0 = clerp(HW.C0, CF(0, -0.8, 0.6) * angles(Rad(67), Rad(-.6), Rad(10 * Cos(sine / 20))), 0.1)
  1546.             elseif Mode == "Blade" then
  1547.                 RWeld.C0 = CF(-1, 0, -2.1) * angles(Rad(-180), Rad(0), Rad(90))
  1548.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1549.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1550.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1551.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1552.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(13 + 4.5 * Sin(sine / 20)), Rad(24 + 4.5 * Sin(sine / 20))), 0.1)
  1553.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1554.                 HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1555.                 end
  1556.             end
  1557.         elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  1558.             Anim = "Walk"
  1559.             change = 1
  1560.             if attack == false then
  1561.                 if Mode == "Latern" then
  1562.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.10 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(4 * Cos(sine / 7))), 0.15)
  1563.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1564.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1565.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1566.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(13 + 4.5 * Sin(sine / 12)), Rad(13 + 4.5 * Sin(sine / 12))), 0.1)
  1567.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37)  * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) ,   Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1568.                 HW.C0 = clerp(HW.C0, CF(0, -0.7, 0.6) * angles(Rad(67 + 8 * Cos(sine / 7)), Rad(0), Rad(18 * Cos(sine / 7))), 0.1)
  1569.                 elseif Mode == "Blade" then
  1570.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.10 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(4 * Cos(sine / 7))), 0.15)
  1571.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1572.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1573.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1574.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(13 + 4.5 * Sin(sine / 20)), Rad(24 + 4.5 * Sin(sine / 20))), 0.1)
  1575.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37)  * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) ,   Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1576.                 HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 15 * Cos(sine / 3.5)), Rad(60), Rad(-40)), 0.1)
  1577.                 end
  1578.             end
  1579.         end
  1580.     end
  1581.     Music.SoundId = "rbxassetid://"..SONG
  1582.     Music.Looped = true
  1583.     Music.Pitch = 1
  1584.     Music.Volume = 2.5
  1585.     Music.Parent = tors
  1586.     Music:Resume()
  1587.     if 0 < #Effects then
  1588.         for e = 1, #Effects do
  1589.             if Effects[e] ~= nil then
  1590.                 local Thing = Effects[e]
  1591.                 if Thing ~= nil then
  1592.                     local Part = Thing[1]
  1593.                     local Mode = Thing[2]
  1594.                     local Delay = Thing[3]
  1595.                     local IncX = Thing[4]
  1596.                     local IncY = Thing[5]
  1597.                     local IncZ = Thing[6]
  1598.                     if 1 >= Thing[1].Transparency then
  1599.                         if Thing[2] == "Block1" then
  1600.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1601.                             local Mesh = Thing[1].Mesh
  1602.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1603.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1604.                         elseif Thing[2] == "Block2" then
  1605.                             Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1606.                             local Mesh = Thing[7]
  1607.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1608.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1609.                         elseif Thing[2] == "Block3" then
  1610.                             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)
  1611.                             local Mesh = Thing[7]
  1612.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1613.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1614.                         elseif Thing[2] == "Cylinder" then
  1615.                             local Mesh = Thing[1].Mesh
  1616.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1617.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1618.                         elseif Thing[2] == "Blood" then
  1619.                             local Mesh = Thing[7]
  1620.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1621.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1622.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1623.                         elseif Thing[2] == "Elec" then
  1624.                             local Mesh = Thing[1].Mesh
  1625.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1626.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1627.                         elseif Thing[2] == "Disappear" then
  1628.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1629.                         elseif Thing[2] == "Shatter" then
  1630.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1631.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1632.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1633.                             Thing[6] = Thing[6] + Thing[5]
  1634.                         end
  1635.                     else
  1636.                         Part.Parent = nil
  1637.                         table.remove(Effects, e)
  1638.                     end
  1639.                 end
  1640.             end
  1641.         end
  1642.     end
  1643. end
  1644. -------------------------------------------------------
  1645. --End Animations And Script--
  1646. -------------------------------------------------------
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top