Advertisement
Void_scripter0

Wanderer

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