SHARE
TWEET

Untitled

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