Advertisement
soubrhomi

One thing to fe

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