Goo345

Untitled

Aug 8th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 143.32 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. --//============================================================\\--
  146. --||CREATED BY SHACKLUSTER EDIT BY SUPER_TOAN OR AKA ICINGWATERS
  147. --\\============================================================//--
  148.  
  149. function CreateSound(ID, PARENT, VOLUME, PITCH)
  150. local NSound = nil
  151. coroutine.resume(coroutine.create(function()
  152. NSound = Instance.new("Sound", PARENT)
  153. NSound.Volume = VOLUME
  154. NSound.Pitch = PITCH
  155. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  156. swait()
  157. NSound:play()
  158. game:GetService("Debris"):AddItem(NSound, 10)
  159. end))
  160. return NSound
  161. end
  162.  
  163. --Very lazi from here to below except the animations but who cares /shrug
  164. function chatfunc(text)
  165. local chat = coroutine.wrap(function()
  166. if char:FindFirstChild("TalkingBillBoard")~= nil then
  167. char:FindFirstChild("TalkingBillBoard"):destroy()
  168. end
  169. local naeeym2 = Instance.new("BillboardGui",char)
  170. naeeym2.Size = UDim2.new(0,100,0,40)
  171. naeeym2.StudsOffset = Vector3.new(0,3,0)
  172. naeeym2.Adornee = char.Head
  173. naeeym2.Name = "TalkingBillBoard"
  174. local tecks2 = Instance.new("TextLabel",naeeym2)
  175. tecks2.BackgroundTransparency = 1
  176. tecks2.BorderSizePixel = 0
  177. tecks2.Text = ""
  178. tecks2.Font = "Fantasy"
  179. tecks2.TextSize = 30
  180. tecks2.TextStrokeTransparency = 0
  181. tecks2.TextColor3 = Color3.new(255,0,0)
  182. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  183. tecks2.Size = UDim2.new(1,0,0.5,0)
  184. local tecks3 = Instance.new("TextLabel",naeeym2)
  185. tecks3.BackgroundTransparency = 1
  186. tecks3.BorderSizePixel = 0
  187. tecks3.Text = ""
  188. tecks3.Font = "Fantasy"
  189. tecks3.TextSize = 30
  190. tecks3.TextStrokeTransparency = 0
  191. tecks3.TextColor3 = Color3.new(255,0,0)
  192. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  193. tecks3.Size = UDim2.new(1,0,0.5,0)
  194. coroutine.resume(coroutine.create(function()
  195. while tecks3 ~= nil do
  196. swait()
  197. tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  198. tecks3.Rotation = math.random(-3,3)
  199. tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  200. tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  201. end
  202. end))
  203. for i = 1,string.len(text),1 do
  204. tecks2.Text = string.sub(text,1,i)
  205. tecks3.Text = string.sub(text,1,i)
  206. wait(0.01)
  207. end
  208. wait(2)
  209. for i = 1, 50 do
  210. swait()
  211. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  212. tecks2.Rotation = tecks2.Rotation - 2
  213. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  214. tecks2.TextTransparency = tecks2.TextTransparency + .04
  215. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  216. tecks3.Rotation = tecks2.Rotation + 2
  217. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  218. tecks3.TextTransparency = tecks2.TextTransparency + .04
  219. end
  220. naeeym2:Destroy()
  221. end)
  222. chat()
  223. end
  224. function onChatted(msg)
  225. chatfunc(msg)
  226. end
  227. --plr.Chatted:connect(onChatted)
  228.  
  229. GlowParticle = Instance.new("ParticleEmitter",ra)
  230. GlowParticle.LightEmission = 1
  231. GlowParticle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  232. GlowParticle.Size = NumberSequence.new(0,0.6)
  233. GlowParticle.Rotation = NumberRange.new(0, 360)
  234. GlowParticle.Texture = "http://www.roblox.com/asset/?id=1523916715"
  235. GlowParticle.Transparency = NumberSequence.new(0,1)
  236. GlowParticle.LockedToPart = true
  237. GlowParticle.Lifetime = NumberRange.new(1)
  238. GlowParticle.Rate = 999
  239. GlowParticle.Speed = NumberRange.new(0)
  240. GlowParticle.VelocitySpread = 500
  241.  
  242. function TargetSelect(person)
  243. local dd=coroutine.wrap(function()
  244. if targetted ~= person then
  245. targetted = person
  246. GlowParticle.Enabled = true
  247. end
  248. end)
  249. dd()
  250. end
  251.  
  252. if targetted == nil then
  253. GlowParticle.Enabled = false
  254. end
  255.  
  256. function chatfunc(text)
  257. local chat = coroutine.wrap(function()
  258. if char:FindFirstChild("TalkingBillBoard")~= nil then
  259. char:FindFirstChild("TalkingBillBoard"):destroy()
  260. end
  261. local naeeym2 = Instance.new("BillboardGui",char)
  262. naeeym2.Size = UDim2.new(0,100,0,40)
  263. naeeym2.StudsOffset = Vector3.new(0,3,0)
  264. naeeym2.Adornee = char.Head
  265. naeeym2.Name = "TalkingBillBoard"
  266. local tecks2 = Instance.new("TextLabel",naeeym2)
  267. tecks2.BackgroundTransparency = 1
  268. tecks2.BorderSizePixel = 0
  269. tecks2.Text = ""
  270. tecks2.Font = "Fantasy"
  271. tecks2.TextSize = 30
  272. tecks2.TextStrokeTransparency = 0
  273. tecks2.TextColor3 = Color3.new(255,0,0)
  274. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  275. tecks2.Size = UDim2.new(1,0,0.5,0)
  276. local tecks3 = Instance.new("TextLabel",naeeym2)
  277. tecks3.BackgroundTransparency = 1
  278. tecks3.BorderSizePixel = 0
  279. tecks3.Text = ""
  280. tecks3.Font = "Fantasy"
  281. tecks3.TextSize = 30
  282. tecks3.TextStrokeTransparency = 0
  283. tecks3.TextColor3 = Color3.new(255,0,0)
  284. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  285. tecks3.Size = UDim2.new(1,0,0.5,0)
  286. coroutine.resume(coroutine.create(function()
  287. while tecks3 ~= nil do
  288. swait()
  289. tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  290. tecks3.Rotation = math.random(-3,3)
  291. tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  292. tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  293. end
  294. end))
  295. for i = 1,string.len(text),1 do
  296. tecks2.Text = string.sub(text,1,i)
  297. tecks3.Text = string.sub(text,1,i)
  298. wait(0.01)
  299. end
  300. wait(2)
  301. for i = 1, 50 do
  302. swait()
  303. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  304. tecks2.Rotation = tecks2.Rotation - 2
  305. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  306. tecks2.TextTransparency = tecks2.TextTransparency + .04
  307. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  308. tecks3.Rotation = tecks2.Rotation + 2
  309. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  310. tecks3.TextTransparency = tecks2.TextTransparency + .04
  311. end
  312. naeeym2:Destroy()
  313. end)
  314. chat()
  315. end
  316. function onChatted(msg)
  317. chatfunc(msg)
  318. end
  319.  
  320. --
  321. local Player = game:GetService('Players').LocalPlayer
  322. repeat wait() until Player.Character
  323. local Character = Player.Character
  324.  
  325. --All The Settings for Trails in this Script
  326. TrailSettings = {
  327. Lifetime = -999,
  328. Texture = 'http://www.roblox.com/asset/?id=18662154',
  329. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  330. Color1 = ColorSequence.new(BrickColor.new('').Color,BrickColor.new('').Color),
  331. Color2 = ColorSequence.new(BrickColor.new('').Color,BrickColor.new('').Color),
  332. AllBody = true,
  333. UpperBodyOnly = false,
  334. LowerBodyOnly = false,
  335. Accessories = false,
  336. Extras = true,
  337. R15 = false, --Change to true if you're using R15
  338. R15Parts = {
  339. 'UpperTorso',
  340. 'LowerTorso',
  341. }
  342. }
  343.  
  344. local Trail; --Making other Trails uses this in this Script
  345.  
  346. --UpperBody Function
  347. UpperBody = function()
  348. if TrailSettings.R15 == false then
  349. A0 = Instance.new('Attachment',Character.Torso)
  350. A1 = Instance.new('Attachment',Character.Head)
  351. A2 = Instance.new('Attachment',Character['Right Arm'])
  352. A3 = Instance.new('Attachment',Character['Left Arm'])
  353. Trail = Instance.new('Trail',Character)
  354. Trail.Attachment0 = A0
  355. Trail.Attachment1 = A1
  356. Trail.Texture = TrailSettings.Texture
  357. Trail.Color = TrailSettings.Color1
  358. Trail.Lifetime = TrailSettings.Lifetime
  359. local Trail2 = Trail:Clone()
  360. Trail2.Parent = Character
  361. Trail2.Attachment1 = A2
  362. local Trail3 = Trail:Clone()
  363. Trail3.Parent = Character
  364. Trail3.Attachment1 = A3
  365. local Trail6 = Trail:Clone()
  366. Trail6.Parent = Character
  367. Trail6.Attachment0 = A1
  368. Trail6.Attachment1 = A2
  369. local Trail7 = Trail:Clone()
  370. Trail7.Parent = Character
  371. Trail7.Attachment0 = A1
  372. Trail7.Attachment1 = A3
  373. else
  374. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  375. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  376. A1 = Instance.new('Attachment',Character.Head)
  377. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  378. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  379. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  380. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  381. Trail = Instance.new('Trail',Character)
  382. Trail.Attachment0 = A0
  383. Trail.Attachment1 = A1
  384. Trail.Texture = TrailSettings.Texture
  385. Trail.Color = TrailSettings.Color1
  386. Trail.Lifetime = TrailSettings.Lifetime
  387. local Trail2 = Trail:Clone()
  388. Trail2.Parent = Character
  389. Trail2.Attachment1 = A2
  390. local Trail3 = Trail:Clone()
  391. Trail3.Parent = Character
  392. Trail3.Attachment1 = A3
  393. local Trail6 = Trail:Clone()
  394. Trail6.Parent = Character
  395. Trail6.Attachment0 = A1
  396. Trail6.Attachment1 = A2
  397. local Trail7 = Trail:Clone()
  398. Trail7.Parent = Character
  399. Trail7.Attachment0 = A1
  400. Trail7.Attachment1 = A3
  401. --R15 Trails
  402. local Trail1R = Trail:Clone()
  403. Trail1R.Parent = Character
  404. Trail1R.Attachment1 = A2R
  405. local Trail2R = Trail:Clone()
  406. Trail2R.Parent = Character
  407. Trail2R.Attachment1 = A3R
  408. local Trail6R = Trail:Clone()
  409. Trail6.Parent = Character
  410. Trail6.Attachment0 = A1
  411. Trail6.Attachment1 = A2R
  412. local Trail7R = Trail:Clone()
  413. Trail7.Parent = Character
  414. Trail7.Attachment0 = A1
  415. Trail7.Attachment1 = A3R
  416. end
  417. end
  418.  
  419. --Lower Body Function
  420. LowerBody = function()
  421. if TrailSettings.R15 == false then
  422. A4 = Instance.new('Attachment',Character['Right Leg'])
  423. A5 = Instance.new('Attachment',Character['Left Leg'])
  424. local Trail4 = Trail:Clone()
  425. Trail4.Parent = Character
  426. Trail4.Attachment1 = A4
  427. local Trail5 = Trail:Clone()
  428. Trail5.Parent = Character
  429. Trail5.Attachment1 = A5
  430. local Trail8 = Trail:Clone()
  431. Trail8.Parent = Character
  432. Trail8.Attachment0 = A2
  433. Trail8.Attachment1 = A4
  434. Trail8.Color = TrailSettings.Color2
  435. local Trail9 = Trail:Clone()
  436. Trail9.Parent = Character
  437. Trail9.Attachment0 = A3
  438. Trail9.Attachment1 = A5
  439. Trail9.Color = TrailSettings.Color2
  440. local FT = Trail:Clone()
  441. FT.Parent = Character
  442. FT.Attachment0 = A4
  443. FT.Attachment1 = A5
  444. FT.Color = TrailSettings.Color2
  445. else
  446. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  447. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  448. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  449. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  450. local Trail4 = Trail:Clone()
  451. Trail4.Parent = Character
  452. Trail4.Attachment1 = A4
  453. local Trail5 = Trail:Clone()
  454. Trail5.Parent = Character
  455. Trail5.Attachment1 = A5
  456. local Trail8 = Trail:Clone()
  457. Trail8.Parent = Character
  458. Trail8.Attachment0 = A2
  459. Trail8.Attachment1 = A4
  460. Trail8.Color = TrailSettings.Color2
  461. local Trail9 = Trail:Clone()
  462. Trail9.Parent = Character
  463. Trail9.Attachment0 = A3
  464. Trail9.Attachment1 = A5
  465. Trail9.Color = TrailSettings.Color2
  466. local FT = Trail:Clone()
  467. FT.Parent = Character
  468. FT.Attachment0 = A4
  469. FT.Attachment1 = A5
  470. FT.Color = TrailSettings.Color2
  471. --R15 Trails
  472. local Trail3R = Trail:Clone()
  473. Trail3R.Parent = Character
  474. Trail3R.Attachment1 = A4R
  475. local Trail4R = Trail:Clone()
  476. Trail4R.Parent = Character
  477. Trail4R.Attachment1 = A5R
  478. local Trail8 = Trail:Clone()
  479. Trail8.Parent = Character
  480. Trail8.Attachment0 = A2R
  481. Trail8.Attachment1 = A4R
  482. Trail8.Color = TrailSettings.Color2
  483. local Trail9 = Trail:Clone()
  484. Trail9.Parent = Character
  485. Trail9.Attachment0 = A3R
  486. Trail9.Attachment1 = A5R
  487. Trail9.Color = TrailSettings.Color2
  488. local FT2R = Trail:Clone()
  489. FT2R.Parent = Character
  490. FT2R.Attachment0 = A4R
  491. FT2R.Attachment1 = A5R
  492. FT2R.Color = TrailSettings.Color2
  493. end
  494. end
  495.  
  496. --All Body Function calling Both Functions
  497. AllBody = function()
  498. UpperBody()
  499. LowerBody()
  500. end
  501.  
  502. --Checking to make sure that Only some Variables are Selected else do All Body
  503. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  504. TrailSettings.UpperBodyOnly = false
  505. TrailSettings.LowerBodyOnly = false
  506. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  507. TrailSettings.UpperBodyOnly = false
  508. TrailSettings.LowerBodyOnly = false
  509. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  510. TrailSettings.UpperBodyOnly = false
  511. TrailSettings.LowerBodyOnly = false
  512. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  513. TrailSettings.AllBody = true
  514. TrailSettings.UpperBodyOnly = false
  515. TrailSettings.LowerBodyOnly = false
  516. end
  517.  
  518. --Call Trail Functions
  519. if TrailSettings.UpperBodyOnly == true then
  520. UpperBody()
  521. print('Called Upper Body Trail')
  522. elseif TrailSettings.LowerBodyOnly == true then
  523. LowerBody()
  524. print('Called Lower Body Trail')
  525. elseif TrailSettings.AllBody == true then
  526. AllBody()
  527. print('Called Full Body Trail')
  528. end
  529.  
  530. --Trails for Accessories
  531. if TrailSettings.Accessories == true then
  532. for Index,Item in pairs(Character:GetChildren()) do
  533. if Item:IsA'Accessory' then
  534. local AA = Instance.new('Attachment',Item.Handle)
  535. local ATrail = Trail:Clone()
  536. ATrail.Parent = Character
  537. ATrail.Attachment1 = AA
  538. end
  539. end
  540. end
  541.  
  542. --Extras
  543. if TrailSettings.Extras == true then
  544. --Making an Invisible Platform Part
  545. local a = Instance.new('Part',Character)
  546. a.CanCollide = false
  547. a.Size = Vector3.new(2,.2,2)
  548. a.Transparency = 1
  549.  
  550. --Constantly putting it under your feet
  551. if TrailSettings.R15 == false then
  552. spawn(function()
  553. game:GetService('RunService').RenderStepped:connect(function()
  554. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  555. end)
  556. end)
  557. else
  558. spawn(function()
  559. game:GetService('RunService').RenderStepped:connect(function()
  560. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  561. end)
  562. end)
  563. end
  564.  
  565. --Make a Trail from both feet to the Platform
  566. spawn(function()
  567. repeat wait() until Trail
  568. local AB = Instance.new('Attachment',a)
  569. local ABT = Trail:Clone()
  570. ABT.Parent = Character
  571. ABT.Attachment0 = A4
  572. ABT.Attachment1 = AB
  573. ABT.Color = TrailSettings.Color2
  574. local ABT2 = Trail:Clone()
  575. ABT2.Parent = Character
  576. ABT2.Attachment0 = A5
  577. ABT2.Attachment1 = AB
  578. ABT2.Color = TrailSettings.Color2
  579. end)
  580. end
  581. --
  582.  
  583.  
  584. Player = game:GetService("Players").LocalPlayer
  585. PlayerGui = Player.PlayerGui
  586. Cam = workspace.CurrentCamera
  587. Backpack = Player.Backpack
  588. repeat wait() until Player.Character
  589. Character = Player.Character
  590. repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
  591. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  592. Mouse = Player:GetMouse()
  593. RootPart = Character["HumanoidRootPart"]
  594. Torso = Character["Torso"]
  595. Head = Character["Head"]
  596. RightArm = Character["Right Arm"]
  597. LeftArm = Character["Left Arm"]
  598. RightLeg = Character["Right Leg"]
  599. LeftLeg = Character["Left Leg"]
  600. RootJoint = RootPart["RootJoint"]
  601. Neck = Torso["Neck"]
  602. RightShoulder = Torso["Right Shoulder"]
  603. LeftShoulder = Torso["Left Shoulder"]
  604. RightHip = Torso["Right Hip"]
  605. LeftHip = Torso["Left Hip"]
  606.  
  607. script:ClearAllChildren()
  608. wait(0.2)
  609.  
  610. Player = owner
  611. PlayerGui = Player.PlayerGui
  612. Cam = workspace.CurrentCamera
  613. Backpack = Player.Backpack
  614. Character = Player.Character
  615. Humanoid = Character.Humanoid
  616. RootPart = Character["HumanoidRootPart"]
  617. Torso = Character["Torso"]
  618. Head = Character["Head"]
  619. RightArm = Character["Right Arm"]
  620. LeftArm = Character["Left Arm"]
  621. RightLeg = Character["Right Leg"]
  622. LeftLeg = Character["Left Leg"]
  623. RootJoint = RootPart["RootJoint"]
  624. Neck = Torso["Neck"]
  625. RightShoulder = Torso["Right Shoulder"]
  626. LeftShoulder = Torso["Left Shoulder"]
  627. RightHip = Torso["Right Hip"]
  628. LeftHip = Torso["Left Hip"]
  629. local TIME = 0
  630. local sick = Instance.new("Sound",Torso)
  631.  
  632. IT = Instance.new
  633. CF = CFrame.new
  634. VT = Vector3.new
  635. RAD = math.rad
  636. C3 = Color3.new
  637. UD2 = UDim2.new
  638. BRICKC = BrickColor.new
  639. ANGLES = CFrame.Angles
  640. EULER = CFrame.fromEulerAnglesXYZ
  641. COS = math.cos
  642. ACOS = math.acos
  643. SIN = math.sin
  644. ASIN = math.asin
  645. ABS = math.abs
  646. MRANDOM = math.random
  647. FLOOR = math.floor
  648.  
  649. --//=================================\\
  650. --|| USEFUL VALUES
  651. --\\=================================//
  652.  
  653. Animation_Speed = 3
  654. local FORCERESET = false
  655. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  656. local Speed = 16
  657. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  658. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  659. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  660. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  661. local DAMAGEMULTIPLIER = 1
  662. local ANIM = "Idle"
  663. local ATTACK = false
  664. local EQUIPPED = false
  665. local HOLD = false
  666. local COMBO = 1
  667. local Rooted = false
  668. local SINE = 0
  669. local KEYHOLD = false
  670. local CHANGE = 2 / Animation_Speed
  671. local WALKINGANIM = false
  672. local VALUE1 = false
  673. local VALUE2 = false
  674. local ROBLOXIDLEANIMATION = IT("Animation")
  675. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  676. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  677. --ROBLOXIDLEANIMATION.Parent = Humanoid
  678. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  679. WEAPONGUI.Name = "BanishV3Gui"
  680. local Weapon = IT("Model")
  681. Weapon.Name = "Adds"
  682. local Effects = IT("Folder", Weapon)
  683. Effects.Name = "Effects"
  684. local ANIMATOR = Humanoid.Animator
  685. local ANIMATE = Character:FindFirstChild("Animate")
  686. local UNANCHOR = true
  687. local TOBANISH = {}
  688. script.Parent = PlayerGui
  689.  
  690. --//=================================\\
  691. --\\=================================//
  692.  
  693.  
  694. --//=================================\\
  695. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  696. --\\=================================//
  697.  
  698. ArtificialHB = Instance.new("BindableEvent", script)
  699. ArtificialHB.Name = "ArtificialHB"
  700.  
  701. script:WaitForChild("ArtificialHB")
  702.  
  703. frame = Frame_Speed
  704. tf = 0
  705. allowframeloss = false
  706. tossremainder = false
  707. lastframe = tick()
  708. script.ArtificialHB:Fire()
  709.  
  710. game:GetService("RunService").Heartbeat:connect(function(s, p)
  711. tf = tf + s
  712. if tf >= frame then
  713. if allowframeloss then
  714. script.ArtificialHB:Fire()
  715. lastframe = tick()
  716. else
  717. for i = 1, math.floor(tf / frame) do
  718. script.ArtificialHB:Fire()
  719. end
  720. lastframe = tick()
  721. end
  722. if tossremainder then
  723. tf = 0
  724. else
  725. tf = tf - frame * math.floor(tf / frame)
  726. end
  727. end
  728. end)
  729.  
  730. --//=================================\\
  731. --\\=================================//
  732.  
  733. --//=================================\\
  734. --|| SOME FUNCTIONS
  735. --\\=================================//
  736.  
  737. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  738. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  739. end
  740.  
  741. function PositiveAngle(NUMBER)
  742. if NUMBER >= 0 then
  743. NUMBER = 0
  744. end
  745. return NUMBER
  746. end
  747.  
  748. function NegativeAngle(NUMBER)
  749. if NUMBER <= 0 then
  750. NUMBER = 0
  751. end
  752. return NUMBER
  753. end
  754.  
  755. function Swait(NUMBER)
  756. if NUMBER == 0 or NUMBER == nil then
  757. ArtificialHB.Event:wait()
  758. else
  759. for i = 1, NUMBER do
  760. ArtificialHB.Event:wait()
  761. end
  762. end
  763. end
  764.  
  765. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  766. local NEWMESH = IT(MESH)
  767. if MESH == "SpecialMesh" then
  768. NEWMESH.MeshType = MESHTYPE
  769. if MESHID ~= "nil" and MESHID ~= "" then
  770. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  771. end
  772. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  773. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  774. end
  775. end
  776. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  777. NEWMESH.Scale = SCALE
  778. NEWMESH.Parent = PARENT
  779. return NEWMESH
  780. end
  781.  
  782. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  783. local NEWPART = IT("Part")
  784. NEWPART.formFactor = FORMFACTOR
  785. NEWPART.Reflectance = REFLECTANCE
  786. NEWPART.Transparency = TRANSPARENCY
  787. NEWPART.CanCollide = false
  788. NEWPART.Locked = true
  789. NEWPART.Anchored = true
  790. if ANCHOR == false then
  791. NEWPART.Anchored = false
  792. end
  793. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  794. NEWPART.Name = NAME
  795. NEWPART.Size = SIZE
  796. NEWPART.Position = Torso.Position
  797. NEWPART.Material = MATERIAL
  798. NEWPART:BreakJoints()
  799. NEWPART.Parent = PARENT
  800. return NEWPART
  801. end
  802.  
  803. local function weldBetween(a, b)
  804. local weldd = Instance.new("ManualWeld")
  805. weldd.Part0 = a
  806. weldd.Part1 = b
  807. weldd.C0 = CFrame.new()
  808. weldd.C1 = b.CFrame:inverse() * a.CFrame
  809. weldd.Parent = a
  810. return weldd
  811. end
  812.  
  813.  
  814. function QuaternionFromCFrame(cf)
  815. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  816. local trace = m00 + m11 + m22
  817. if trace > 0 then
  818. local s = math.sqrt(1 + trace)
  819. local recip = 0.5 / s
  820. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  821. else
  822. local i = 0
  823. if m11 > m00 then
  824. i = 1
  825. end
  826. if m22 > (i == 0 and m00 or m11) then
  827. i = 2
  828. end
  829. if i == 0 then
  830. local s = math.sqrt(m00 - m11 - m22 + 1)
  831. local recip = 0.5 / s
  832. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  833. elseif i == 1 then
  834. local s = math.sqrt(m11 - m22 - m00 + 1)
  835. local recip = 0.5 / s
  836. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  837. elseif i == 2 then
  838. local s = math.sqrt(m22 - m00 - m11 + 1)
  839. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  840. end
  841. end
  842. end
  843.  
  844. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  845. local xs, ys, zs = x + x, y + y, z + z
  846. local wx, wy, wz = w * xs, w * ys, w * zs
  847. local xx = x * xs
  848. local xy = x * ys
  849. local xz = x * zs
  850. local yy = y * ys
  851. local yz = y * zs
  852. local zz = z * zs
  853. 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))
  854. end
  855.  
  856. function QuaternionSlerp(a, b, t)
  857. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  858. local startInterp, finishInterp;
  859. if cosTheta >= 0.0001 then
  860. if (1 - cosTheta) > 0.0001 then
  861. local theta = ACOS(cosTheta)
  862. local invSinTheta = 1 / SIN(theta)
  863. startInterp = SIN((1 - t) * theta) * invSinTheta
  864. finishInterp = SIN(t * theta) * invSinTheta
  865. else
  866. startInterp = 1 - t
  867. finishInterp = t
  868. end
  869. else
  870. if (1 + cosTheta) > 0.0001 then
  871. local theta = ACOS(-cosTheta)
  872. local invSinTheta = 1 / SIN(theta)
  873. startInterp = SIN((t - 1) * theta) * invSinTheta
  874. finishInterp = SIN(t * theta) * invSinTheta
  875. else
  876. startInterp = t - 1
  877. finishInterp = t
  878. end
  879. end
  880. 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
  881. end
  882.  
  883. function Clerp(a, b, t)
  884. local qa = {QuaternionFromCFrame(a)}
  885. local qb = {QuaternionFromCFrame(b)}
  886. local ax, ay, az = a.x, a.y, a.z
  887. local bx, by, bz = b.x, b.y, b.z
  888. local _t = 1 - t
  889. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  890. end
  891.  
  892. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  893. local frame = IT("Frame")
  894. frame.BackgroundTransparency = TRANSPARENCY
  895. frame.BorderSizePixel = BORDERSIZEPIXEL
  896. frame.Position = POSITION
  897. frame.Size = SIZE
  898. frame.BackgroundColor3 = COLOR
  899. frame.BorderColor3 = BORDERCOLOR
  900. frame.Name = NAME
  901. frame.Parent = PARENT
  902. return frame
  903. end
  904.  
  905. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  906. local label = IT("TextLabel")
  907. label.BackgroundTransparency = 1
  908. label.Size = UD2(1, 0, 1, 0)
  909. label.Position = UD2(0, 0, 0, 0)
  910. label.TextColor3 = TEXTCOLOR
  911. label.TextStrokeTransparency = STROKETRANSPARENCY
  912. label.TextTransparency = TRANSPARENCY
  913. label.FontSize = TEXTFONTSIZE
  914. label.Font = TEXTFONT
  915. label.BorderSizePixel = BORDERSIZEPIXEL
  916. label.TextScaled = false
  917. label.Text = TEXT
  918. label.Name = NAME
  919. label.Parent = PARENT
  920. return label
  921. end
  922.  
  923. function NoOutlines(PART)
  924. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  925. end
  926.  
  927. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  928. local NEWWELD = IT(TYPE)
  929. NEWWELD.Part0 = PART0
  930. NEWWELD.Part1 = PART1
  931. NEWWELD.C0 = C0
  932. NEWWELD.C1 = C1
  933. NEWWELD.Parent = PARENT
  934. return NEWWELD
  935. end
  936.  
  937. local S = IT("Sound")
  938. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  939. local NEWSOUND = nil
  940. coroutine.resume(coroutine.create(function()
  941. NEWSOUND = S:Clone()
  942. NEWSOUND.Parent = PARENT
  943. NEWSOUND.Volume = VOLUME
  944. NEWSOUND.Pitch = PITCH
  945. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  946. NEWSOUND:play()
  947. if DOESLOOP == true then
  948. NEWSOUND.Looped = true
  949. else
  950. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  951. NEWSOUND:remove()
  952. end
  953. end))
  954. return NEWSOUND
  955. end
  956.  
  957. function CFrameFromTopBack(at, top, back)
  958. local right = top:Cross(back)
  959. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  960. end
  961.  
  962. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  963. function WACKYEFFECT(Table)
  964. local TYPE = (Table.EffectType or "Sphere")
  965. local SIZE = (Table.Size or VT(1,1,1))
  966. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  967. local TRANSPARENCY = (Table.Transparency or 0)
  968. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  969. local CFRAME = (Table.CFrame or Torso.CFrame)
  970. local MOVEDIRECTION = (Table.MoveToPos or nil)
  971. local ROTATION1 = (Table.RotationX or 0)
  972. local ROTATION2 = (Table.RotationY or 0)
  973. local ROTATION3 = (Table.RotationZ or 0)
  974. local MATERIAL = (Table.Material or "Neon")
  975. local COLOR = (Table.Color or C3(1,1,1))
  976. local TIME = (Table.Time or 45)
  977. local SOUNDID = (Table.SoundID or nil)
  978. local SOUNDPITCH = (Table.SoundPitch or nil)
  979. local SOUNDVOLUME = (Table.SoundVolume or nil)
  980. coroutine.resume(coroutine.create(function()
  981. local PLAYSSOUND = false
  982. local SOUND = nil
  983. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  984. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  985. PLAYSSOUND = true
  986. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  987. end
  988. EFFECT.Color = COLOR
  989. local MSH = nil
  990. if TYPE == "Sphere" then
  991. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  992. elseif TYPE == "Block" then
  993. MSH = IT("BlockMesh",EFFECT)
  994. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  995. elseif TYPE == "Wave" then
  996. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  997. elseif TYPE == "Ring" then
  998. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  999. elseif TYPE == "Slash" then
  1000. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1001. elseif TYPE == "Round Slash" then
  1002. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1003. elseif TYPE == "Swirl" then
  1004. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1005. elseif TYPE == "Skull" then
  1006. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1007. elseif TYPE == "Crystal" then
  1008. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1009. end
  1010. if MSH ~= nil then
  1011. local MOVESPEED = nil
  1012. if MOVEDIRECTION ~= nil then
  1013. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1014. end
  1015. local GROWTH = SIZE - ENDSIZE
  1016. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1017. if TYPE == "Block" then
  1018. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1019. else
  1020. EFFECT.CFrame = CFRAME
  1021. end
  1022. for LOOP = 1, TIME+1 do
  1023. Swait()
  1024. MSH.Scale = MSH.Scale - GROWTH/TIME
  1025. if TYPE == "Wave" then
  1026. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1027. end
  1028. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1029. if TYPE == "Block" then
  1030. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1031. else
  1032. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1033. end
  1034. if MOVEDIRECTION ~= nil then
  1035. local ORI = EFFECT.Orientation
  1036. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1037. EFFECT.Orientation = ORI
  1038. end
  1039. end
  1040. if PLAYSSOUND == false then
  1041. EFFECT:remove()
  1042. else
  1043. SOUND.Stopped:Connect(function()
  1044. EFFECT:remove()
  1045. end)
  1046. end
  1047. else
  1048. if PLAYSSOUND == false then
  1049. EFFECT:remove()
  1050. else
  1051. repeat Swait() until SOUND.Playing == false
  1052. EFFECT:remove()
  1053. end
  1054. end
  1055. end))
  1056. end
  1057.  
  1058. function MakeForm(PART,TYPE)
  1059. if TYPE == "Cyl" then
  1060. local MSH = IT("CylinderMesh",PART)
  1061. elseif TYPE == "Ball" then
  1062. local MSH = IT("SpecialMesh",PART)
  1063. MSH.MeshType = "Sphere"
  1064. elseif TYPE == "Wedge" then
  1065. local MSH = IT("SpecialMesh",PART)
  1066. MSH.MeshType = "Wedge"
  1067. end
  1068. end
  1069.  
  1070. function SpawnTrail(FROM,TO,BIG)
  1071. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
  1072. MakeForm(TRAIL,"Cyl")
  1073. local DIST = (FROM - TO).Magnitude
  1074. if BIG == true then
  1075. TRAIL.Size = VT(10,DIST,10)
  1076. else
  1077. TRAIL.Size = VT(10,DIST,10)
  1078. end
  1079. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1080. coroutine.resume(coroutine.create(function()
  1081. for i = 1, 5 do
  1082. Swait()
  1083. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1084. end
  1085. TRAIL:remove()
  1086. end))
  1087. end
  1088.  
  1089. Debris = game:GetService("Debris")
  1090.  
  1091. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1092. local DIRECTION = CF(StartPos,EndPos).lookVector
  1093. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1094. end
  1095.  
  1096. function turnto(position)
  1097. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1098. end
  1099. local asd = Instance.new("ParticleEmitter")
  1100. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1101. asd.LightEmission = .1
  1102. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1103. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1104. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1105. asd.Transparency = bbb
  1106. asd.Size = aaa
  1107. asd.ZOffset = .9
  1108. asd.Acceleration = Vector3.new(0, -15, 0)
  1109. asd.LockedToPart = false
  1110. asd.EmissionDirection = "Back"
  1111. asd.Lifetime = NumberRange.new(1, 2)
  1112. asd.Rotation = NumberRange.new(-100, 100)
  1113. asd.RotSpeed = NumberRange.new(-100, 100)
  1114. asd.Speed = NumberRange.new(10)
  1115. asd.Enabled = false
  1116. asd.VelocitySpread = 999
  1117.  
  1118. function getbloody(victim,amount)
  1119. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1120. PART.CFrame = victim.CFrame
  1121. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1122. Debris:AddItem(PART,5)
  1123. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1124. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1125. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1126. local prtcl = asd:Clone()
  1127. prtcl.Parent = PART
  1128. prtcl:Emit(amount*10)
  1129. end
  1130.  
  1131. local Particle = IT("ParticleEmitter",nil)
  1132. Particle.Enabled = false
  1133. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1134. Particle.LightEmission = 0.5
  1135. Particle.Rate = 150
  1136. Particle.ZOffset = 1
  1137. Particle.Rotation = NumberRange.new(-180, 180)
  1138. Particle.RotSpeed = NumberRange.new(-180, 180)
  1139. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1140. Particle.Color = ColorSequence.new(C3(1,1,1),C3(0.4,0,0))
  1141.  
  1142. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1143. function ParticleEmitter(Table)
  1144. local PRTCL = Particle:Clone()
  1145. local Speed = Table.Speed or 5
  1146. local Drag = Table.Drag or 0
  1147. local Size1 = Table.Size1 or 1
  1148. local Size2 = Table.Size2 or 5
  1149. local Lifetime1 = Table.Lifetime1 or 1
  1150. local Lifetime2 = Table.Lifetime2 or 1.5
  1151. local Parent = Table.Parent or Torso
  1152. local Emit = Table.Emit or 100
  1153. local Offset = Table.Offset or 360
  1154. local Acel = Table.Acel or VT(0,0,0)
  1155. local Enabled = Table.Enabled or false
  1156. PRTCL.Parent = Parent
  1157. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1158. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1159. PRTCL.Speed = NumberRange.new(Speed)
  1160. PRTCL.VelocitySpread = Offset
  1161. PRTCL.Drag = Drag
  1162. PRTCL.Acceleration = Acel
  1163. if Enabled == false then
  1164. PRTCL:Emit(Emit)
  1165. Debris:AddItem(PRTCL,Lifetime2)
  1166. else
  1167. PRTCL.Enabled = true
  1168. end
  1169. return PRTCL
  1170. end
  1171.  
  1172.  
  1173. --//=================================\\
  1174. --|| WEAPON CREATION
  1175. --\\=================================//
  1176.  
  1177. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1178. MakeForm(LeftHole,"Cyl")
  1179. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1180. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  1181. MakeForm(Eye,"Ball")
  1182. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1183. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  1184. MakeForm(Eye,"Ball")
  1185. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1186. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Black", "Eye", VT(0.1,1,1)/2,false)
  1187. MakeForm(Eye,"Ball")
  1188. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1189. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  1190. MakeForm(Eye,"Ball")
  1191. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1192. local A = IT("Attachment",Torso)
  1193. A.Position = VT(1,1.3,0)
  1194. A.Orientation = VT(-0.098, -89.999, 0.227)
  1195. local B = IT("Attachment",Torso)
  1196. B.Position = VT(-1.3,-0.6,0)
  1197. B.Orientation = VT(-88.911, -68.808, 158.782)
  1198. local ChainLink = IT("Beam",Torso)
  1199. ChainLink.Texture = "rbxassetid://73042633"
  1200. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1201. ChainLink.TextureSpeed = 1
  1202. ChainLink.FaceCamera = true
  1203. ChainLink.Width0 = 1
  1204. ChainLink.Width1 = 1
  1205. ChainLink.TextureLength = 3
  1206. ChainLink.Attachment0 = A
  1207. ChainLink.Attachment1 = B
  1208. ChainLink.CurveSize0 = 1.6
  1209. ChainLink.CurveSize1 = 1.6
  1210. ChainLink.FaceCamera = true
  1211. ChainLink.Transparency = NumberSequence.new(0)
  1212. local ChainLink = IT("Beam",Torso)
  1213. ChainLink.Texture = "rbxassetid://73042633"
  1214. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1215. ChainLink.TextureSpeed = 1
  1216. ChainLink.FaceCamera = true
  1217. ChainLink.Width0 = 1
  1218. ChainLink.Width1 = 1
  1219. ChainLink.TextureLength = 3
  1220. ChainLink.Attachment0 = B
  1221. ChainLink.Attachment1 = A
  1222. ChainLink.CurveSize0 = 1.6
  1223. ChainLink.CurveSize1 = 1.6
  1224. ChainLink.FaceCamera = true
  1225. ChainLink.Transparency = NumberSequence.new(0)
  1226. local A = IT("Attachment",Torso)
  1227. A.Position = VT(1.3,-0.85,0)
  1228. A.Orientation = VT(-0.098, -89.999, 0.227)
  1229. local B = IT("Attachment",Torso)
  1230. B.Position = VT(-1,2,0)
  1231. B.Orientation = VT(-88.911, -68.808, 158.782)
  1232. local ChainLink = IT("Beam",Torso)
  1233. ChainLink.Texture = "rbxassetid://73042633"
  1234. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1235. ChainLink.TextureSpeed = 1
  1236. ChainLink.FaceCamera = true
  1237. ChainLink.Width0 = 1
  1238. ChainLink.Width1 = 1
  1239. ChainLink.TextureLength = 3
  1240. ChainLink.Attachment0 = A
  1241. ChainLink.Attachment1 = B
  1242. ChainLink.CurveSize0 = 1.3
  1243. ChainLink.CurveSize1 = 1.3
  1244. ChainLink.FaceCamera = true
  1245. ChainLink.Transparency = NumberSequence.new(0)
  1246. local ChainLink = IT("Beam",Torso)
  1247. ChainLink.Texture = "rbxassetid://73042633"
  1248. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1249. ChainLink.TextureSpeed = 1
  1250. ChainLink.FaceCamera = true
  1251. ChainLink.Width0 = 1
  1252. ChainLink.Width1 = 1
  1253. ChainLink.TextureLength = 3
  1254. ChainLink.Attachment0 = B
  1255. ChainLink.Attachment1 = A
  1256. ChainLink.CurveSize0 = 1.3
  1257. ChainLink.CurveSize1 = 1.3
  1258. ChainLink.FaceCamera = true
  1259. ChainLink.Transparency = NumberSequence.new(0)
  1260.  
  1261. local A = IT("Attachment",RightBarrel)
  1262. A.Position = VT(0,-2.5,0)
  1263. local B = IT("Attachment",RightBarrel)
  1264. B.Position = VT(0,2.5,0)
  1265. local Trail = IT("Trail",RightBarrel)
  1266. Trail.Attachment0 = A
  1267. Trail.Attachment1 = B
  1268. Trail.Lifetime = 0.2
  1269. Trail.Color = ColorSequence.new(BRICKC"White".Color)
  1270. Trail.Transparency = NumberSequence.new(0, 1)
  1271. Trail.Enabled = false
  1272.  
  1273. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  1274. PRT.LockedToPart = true
  1275. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  1276. PRT.LockedToPart = true
  1277. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  1278. PRT.LockedToPart = true
  1279. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  1280. PRT.LockedToPart = true
  1281. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  1282. PRT.LockedToPart = true
  1283. for _, c in pairs(Character:GetDescendants()) do
  1284. if c and c.Parent then
  1285. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1286. local ACCESSORY = c.Parent
  1287. c.Parent = Character
  1288. if c then
  1289. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1290. weldBetween(Head,c)
  1291. else
  1292. weldBetween(Torso,c)
  1293. end
  1294. end
  1295. end
  1296. end
  1297. end
  1298. local BODY = {}
  1299. for _, c in pairs(Character:GetDescendants()) do
  1300. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1301. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1302. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1303. end
  1304. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1305. elseif c:IsA("JointInstance") then
  1306. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1307. end
  1308. end
  1309. function refit()
  1310. Character.Parent = workspace
  1311. for e = 1, #BODY do
  1312. if BODY[e] ~= nil then
  1313. local STUFF = BODY[e]
  1314. local PART = STUFF[1]
  1315. local PARENT = STUFF[2]
  1316. local MATERIAL = STUFF[3]
  1317. local COLOR = STUFF[4]
  1318. local TRANSPARENCY = STUFF[5]
  1319. --local SIZE = STUFF[6]
  1320. local NAME = STUFF[7]
  1321. if PART.ClassName == "Part" and PART ~= RootPart then
  1322. PART.Material = MATERIAL
  1323. PART.Transparency = TRANSPARENCY
  1324. PART.Name = NAME
  1325. end
  1326. if PART.Parent ~= PARENT then
  1327. Humanoid:remove()
  1328. PART.Parent = PARENT
  1329. Humanoid = IT("Humanoid",Character)
  1330. end
  1331. end
  1332. end
  1333. end
  1334.  
  1335.  
  1336. --[[
  1337. Thanks for using Build-To-Lua by jarredbcv.
  1338. ]]--
  1339.  
  1340. New = function(Object, Parent, Name, Data)
  1341. local Object = Instance.new(Object)
  1342. for Index, Value in pairs(Data or {}) do
  1343. Object[Index] = Value
  1344. end
  1345. Object.Parent = Parent
  1346. Object.Name = Name
  1347. return Object
  1348. end
  1349.  
  1350. for i = 1, 35 do
  1351. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1352. FACE.Color = C3(0,0,0)
  1353. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1354. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1355. end
  1356.  
  1357. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  1358. MakeForm(Eye,"Ball")
  1359. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1360. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  1361. MakeForm(Eye,"Ball")
  1362. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1363. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  1364. MakeForm(Eye,"Ball")
  1365. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1366. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  1367. MakeForm(Eye,"Ball")
  1368. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1369.  
  1370. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "White", "BraceletPart", VT(1.01,0.3,1.01),false)
  1371. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1372. for i = 1, 3 do
  1373. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Black", "BraceletPart", VT(0.2,1.02,0.2),false)
  1374. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1375. MakeForm(Part,"Cyl")
  1376. end
  1377. for i = 1, 3 do
  1378. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "White", "BraceletPart", VT(0.2,1.02,0.2),false)
  1379. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
  1380. MakeForm(Part,"Cyl")
  1381. end
  1382. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "White", "BraceletPart", VT(0.51,0.6,0.25),false)
  1383. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
  1384. MakeForm(Part,"Wedge")
  1385. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "White", "BraceletPart", VT(0.51,0.6,0.25),false)
  1386. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
  1387. MakeForm(Part,"Wedge")
  1388. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "White", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
  1389. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
  1390. MakeForm(Part,"Wedge")
  1391. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "White", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
  1392. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
  1393. MakeForm(Part,"Wedge")
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401. for _, c in pairs(Weapon:GetChildren()) do
  1402. if c.ClassName == "Part" then
  1403. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1404. local AURA = c:Clone()
  1405. AURA:BreakJoints()
  1406. AURA.Parent = c
  1407. AURA.CFrame = c.CFrame
  1408. AURA.Size = AURA.Size*1.001
  1409. AURA.Transparency = 0.8
  1410. AURA.BrickColor = BRICKC"White"
  1411. AURA.Material = "Neon"
  1412. weldBetween(c,AURA)
  1413. end
  1414. end
  1415.  
  1416. local SKILLTEXTCOLOR = BRICKC"White".Color
  1417. local SKILLFONT = "Bodoni"
  1418. local SKILLTEXTSIZE = 7
  1419.  
  1420. Humanoid.DisplayDistanceType = "None"
  1421. local naeeym2 = IT("BillboardGui",Character)
  1422. naeeym2.AlwaysOnTop = true
  1423. naeeym2.Size = UDim2.new(5,35,2,15)
  1424. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1425. naeeym2.MaxDistance = 75
  1426. naeeym2.Adornee = Character.Head
  1427. naeeym2.Name = "Name"
  1428. local tecks2 = IT("TextLabel",naeeym2)
  1429. tecks2.BackgroundTransparency = 1
  1430. tecks2.TextScaled = true
  1431. tecks2.BorderSizePixel = 0
  1432. tecks2.Text = ""
  1433. tecks2.Font = "Fantasy"
  1434. tecks2.TextSize = 30
  1435. tecks2.TextStrokeTransparency = 0
  1436. tecks2.TextColor3 = C3(1,1,1)
  1437. tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
  1438. tecks2.Size = UDim2.new(1,0,0.5,0)
  1439. tecks2.Parent = naeeym2
  1440. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1441. MakeForm(LeftHole,"Cyl")
  1442. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1443. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  1444. MakeForm(Eye,"Ball")
  1445. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1446. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  1447. MakeForm(Eye,"Ball")
  1448. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1449. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  1450. MakeForm(Eye,"Ball")
  1451. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1452. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  1453. MakeForm(Eye,"Ball")
  1454. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1455. local A = IT("Attachment",Torso)
  1456. A.Position = VT(1,1.3,0)
  1457. A.Orientation = VT(-0.098, -89.999, 0.227)
  1458. local B = IT("Attachment",Torso)
  1459. B.Position = VT(-1.3,-0.6,0)
  1460. B.Orientation = VT(-88.911, -68.808, 158.782)
  1461. local ChainLink = IT("Beam",Torso)
  1462. ChainLink.Texture = "rbxassetid://73042633"
  1463. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1464. ChainLink.TextureSpeed = 1
  1465. ChainLink.FaceCamera = true
  1466. ChainLink.Width0 = 1
  1467. ChainLink.Width1 = 1
  1468. ChainLink.TextureLength = 3
  1469. ChainLink.Attachment0 = A
  1470. ChainLink.Attachment1 = B
  1471. ChainLink.CurveSize0 = 1.6
  1472. ChainLink.CurveSize1 = 1.6
  1473. ChainLink.FaceCamera = true
  1474. ChainLink.Transparency = NumberSequence.new(0)
  1475. local ChainLink = IT("Beam",Torso)
  1476. ChainLink.Texture = "rbxassetid://73042633"
  1477. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1478. ChainLink.TextureSpeed = 1
  1479. ChainLink.FaceCamera = true
  1480. ChainLink.Width0 = 1
  1481. ChainLink.Width1 = 1
  1482. ChainLink.TextureLength = 3
  1483. ChainLink.Attachment0 = B
  1484. ChainLink.Attachment1 = A
  1485. ChainLink.CurveSize0 = 1.6
  1486. ChainLink.CurveSize1 = 1.6
  1487. ChainLink.FaceCamera = true
  1488. ChainLink.Transparency = NumberSequence.new(0)
  1489. local A = IT("Attachment",Torso)
  1490. A.Position = VT(1.3,-0.85,0)
  1491. A.Orientation = VT(-0.098, -89.999, 0.227)
  1492. local B = IT("Attachment",Torso)
  1493. B.Position = VT(-1,2,0)
  1494. B.Orientation = VT(-88.911, -68.808, 158.782)
  1495. local ChainLink = IT("Beam",Torso)
  1496. ChainLink.Texture = "rbxassetid://73042633"
  1497. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1498. ChainLink.TextureSpeed = 1
  1499. ChainLink.FaceCamera = true
  1500. ChainLink.Width0 = 1
  1501. ChainLink.Width1 = 1
  1502. ChainLink.TextureLength = 3
  1503. ChainLink.Attachment0 = A
  1504. ChainLink.Attachment1 = B
  1505. ChainLink.CurveSize0 = 1.3
  1506. ChainLink.CurveSize1 = 1.3
  1507. ChainLink.FaceCamera = true
  1508. ChainLink.Transparency = NumberSequence.new(0)
  1509. local ChainLink = IT("Beam",Torso)
  1510. ChainLink.Texture = "rbxassetid://73042633"
  1511. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  1512. ChainLink.TextureSpeed = 1
  1513. ChainLink.FaceCamera = true
  1514. ChainLink.Width0 = 1
  1515. ChainLink.Width1 = 1
  1516. ChainLink.TextureLength = 3
  1517. ChainLink.Attachment0 = B
  1518. ChainLink.Attachment1 = A
  1519. ChainLink.CurveSize0 = 1.3
  1520. ChainLink.CurveSize1 = 1.3
  1521. ChainLink.FaceCamera = true
  1522. ChainLink.Transparency = NumberSequence.new(0)
  1523.  
  1524. local A = IT("Attachment",RightBarrel)
  1525. A.Position = VT(0,-2.5,0)
  1526. local B = IT("Attachment",RightBarrel)
  1527. B.Position = VT(0,2.5,0)
  1528. local Trail = IT("Trail",RightBarrel)
  1529. Trail.Attachment0 = A
  1530. Trail.Attachment1 = B
  1531. Trail.Lifetime = 0.2
  1532. Trail.Color = ColorSequence.new(BRICKC"White".Color)
  1533. Trail.Transparency = NumberSequence.new(0, 1)
  1534. Trail.Enabled = false
  1535.  
  1536. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  1537. PRT.LockedToPart = true
  1538. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  1539. PRT.LockedToPart = true
  1540. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  1541. PRT.LockedToPart = true
  1542. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  1543. PRT.LockedToPart = true
  1544. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  1545. PRT.LockedToPart = true
  1546. for _, c in pairs(Character:GetDescendants()) do
  1547. if c and c.Parent then
  1548. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1549. local ACCESSORY = c.Parent
  1550. c.Parent = Character
  1551. if c then
  1552. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1553. weldBetween(Head,c)
  1554. else
  1555. weldBetween(Torso,c)
  1556. end
  1557. end
  1558. end
  1559. end
  1560. end
  1561. local BODY = {}
  1562. for _, c in pairs(Character:GetDescendants()) do
  1563. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1564. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1565. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1566. end
  1567. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1568. elseif c:IsA("JointInstance") then
  1569. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1570. end
  1571. end
  1572. function refit()
  1573. Character.Parent = workspace
  1574. for e = 1, #BODY do
  1575. if BODY[e] ~= nil then
  1576. local STUFF = BODY[e]
  1577. local PART = STUFF[1]
  1578. local PARENT = STUFF[2]
  1579. local MATERIAL = STUFF[3]
  1580. local COLOR = STUFF[4]
  1581. local TRANSPARENCY = STUFF[5]
  1582. --local SIZE = STUFF[6]
  1583. local NAME = STUFF[7]
  1584. if PART.ClassName == "Part" and PART ~= RootPart then
  1585. PART.Material = MATERIAL
  1586. PART.Transparency = TRANSPARENCY
  1587. PART.Name = NAME
  1588. end
  1589. if PART.Parent ~= PARENT then
  1590. Humanoid:remove()
  1591. PART.Parent = PARENT
  1592. Humanoid = IT("Humanoid",Character)
  1593. end
  1594. end
  1595. end
  1596. end
  1597.  
  1598.  
  1599. local Particle = IT("ParticleEmitter",nil)
  1600. Particle.Enabled = false
  1601. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1602. Particle.LightEmission = 0.5
  1603. Particle.Rate = 150
  1604. Particle.ZOffset = 0.2
  1605. Particle.Rotation = NumberRange.new(-180, 180)
  1606. Particle.RotSpeed = NumberRange.new(-180, 180)
  1607. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1608. Particle.Color = ColorSequence.new(C3(1,1,1),C3(0.4,0,0))
  1609.  
  1610. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1611. function ParticleEmitter(Table)
  1612. local PRTCL = Particle:Clone()
  1613. local Speed = Table.Speed or 5
  1614. local Drag = Table.Drag or 0
  1615. local Size1 = Table.Size1 or 1
  1616. local Size2 = Table.Size2 or 5
  1617. local Lifetime1 = Table.Lifetime1 or 1
  1618. local Lifetime2 = Table.Lifetime2 or 1.5
  1619. local Parent = Table.Parent or Torso
  1620. local Emit = Table.Emit or 100
  1621. local Offset = Table.Offset or 360
  1622. local Acel = Table.Acel or VT(0,0,0)
  1623. local Enabled = Table.Enabled or false
  1624. PRTCL.Parent = Parent
  1625. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1626. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1627. PRTCL.Speed = NumberRange.new(Speed)
  1628. PRTCL.VelocitySpread = Offset
  1629. PRTCL.Drag = Drag
  1630. PRTCL.Acceleration = Acel
  1631. if Enabled == false then
  1632. PRTCL:Emit(Emit)
  1633. Debris:AddItem(PRTCL,Lifetime2)
  1634. else
  1635. PRTCL.Enabled = true
  1636. end
  1637. return PRTCL
  1638. end
  1639.  
  1640. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1641. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1642. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1643. MakeForm(Part,"Wedge")
  1644. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1645. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1646. MakeForm(Part,"Wedge")
  1647. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1648. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1649. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1650. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1651. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1652. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1653. MakeForm(Part,"Cyl")
  1654. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1655. for i = 1, 8 do
  1656. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1657. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1658. end
  1659. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1660. MakeForm(Part,"Cyl")
  1661. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1662. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1663. MakeForm(Part,"Ball")
  1664. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1665. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1666. MakeForm(Part,"Wedge")
  1667. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1668. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1669. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1670. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1671. MakeForm(Part,"Cyl")
  1672. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1673. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1674. MakeForm(Part,"Cyl")
  1675. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1676. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1677. MakeForm(Part,"Cyl")
  1678. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1679. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1680. MakeForm(Part,"Wedge")
  1681. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1682. local LASTPART = Handle
  1683. for i = 1, 10 do
  1684. if LASTPART == Handle then
  1685. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1686. LASTPART = Part
  1687. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1688. else
  1689. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1690. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1691. LASTPART = Part
  1692. end
  1693. end
  1694.  
  1695. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1696. MakeForm(Barrel,"Cyl")
  1697. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1698. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1699. MakeForm(Part,"Cyl")
  1700. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1701. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1702. MakeForm(Part,"Wedge")
  1703. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1704. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1705. MakeForm(Hole,"Cyl")
  1706. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1707. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1708. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1709. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1710. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1711. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1712. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1713. coroutine.resume(coroutine.create(function()
  1714. while wait() do
  1715. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1716. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1717. end
  1718. end))
  1719.  
  1720. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1721. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1722.  
  1723. for _, c in pairs(Weapon:GetDescendants()) do
  1724. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1725. c.Material = "Glass"
  1726. c.Color = C3(0,0,0)
  1727. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1728. c.Color = C3(1,1,1)
  1729. c.Material = "Neon"
  1730. end
  1731. end
  1732.  
  1733. local Particle = IT("ParticleEmitter",nil)
  1734. Particle.Enabled = false
  1735. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1736. Particle.LightEmission = 0.5
  1737. Particle.Rate = 150
  1738. Particle.ZOffset = 0.2
  1739. Particle.Rotation = NumberRange.new(-180, 180)
  1740. Particle.RotSpeed = NumberRange.new(-180, 180)
  1741. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1742. Particle.Color = ColorSequence.new(C3(1,1,1),C3(0.4,0,0))
  1743.  
  1744. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1745. function ParticleEmitter(Table)
  1746. local PRTCL = Particle:Clone()
  1747. local Speed = Table.Speed or 5
  1748. local Drag = Table.Drag or 0
  1749. local Size1 = Table.Size1 or 1
  1750. local Size2 = Table.Size2 or 5
  1751. local Lifetime1 = Table.Lifetime1 or 1
  1752. local Lifetime2 = Table.Lifetime2 or 1.5
  1753. local Parent = Table.Parent or Torso
  1754. local Emit = Table.Emit or 100
  1755. local Offset = Table.Offset or 360
  1756. local Acel = Table.Acel or VT(0,0,0)
  1757. local Enabled = Table.Enabled or false
  1758. PRTCL.Parent = Parent
  1759. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1760. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1761. PRTCL.Speed = NumberRange.new(Speed)
  1762. PRTCL.VelocitySpread = Offset
  1763. PRTCL.Drag = Drag
  1764. PRTCL.Acceleration = Acel
  1765. if Enabled == false then
  1766. PRTCL:Emit(Emit)
  1767. Debris:AddItem(PRTCL,Lifetime2)
  1768. else
  1769. PRTCL.Enabled = true
  1770. end
  1771. return PRTCL
  1772. end
  1773.  
  1774. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1775. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1776. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1777. MakeForm(Part,"Wedge")
  1778. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1779. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1780. MakeForm(Part,"Wedge")
  1781. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1782. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1783. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1784. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1785. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1786. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1787. MakeForm(Part,"Cyl")
  1788. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1789. for i = 1, 8 do
  1790. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1791. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1792. end
  1793. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1794. MakeForm(Part,"Cyl")
  1795. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1796. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1797. MakeForm(Part,"Ball")
  1798. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1799. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1800. MakeForm(Part,"Wedge")
  1801. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1802. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1803. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1804. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1805. MakeForm(Part,"Cyl")
  1806. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1807. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1808. MakeForm(Part,"Cyl")
  1809. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1810. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1811. MakeForm(Part,"Cyl")
  1812. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1813. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1814. MakeForm(Part,"Wedge")
  1815. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1816. local LASTPART = Handle
  1817. for i = 1, 10 do
  1818. if LASTPART == Handle then
  1819. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1820. LASTPART = Part
  1821. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1822. else
  1823. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1824. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1825. LASTPART = Part
  1826. end
  1827. end
  1828.  
  1829. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1830. MakeForm(Barrel,"Cyl")
  1831. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1832. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1833. MakeForm(Part,"Cyl")
  1834. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1835. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1836. MakeForm(Part,"Wedge")
  1837. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1838. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1839. MakeForm(Hole,"Cyl")
  1840. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1841. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1842. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1843. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1844. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1845. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1846. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1847. coroutine.resume(coroutine.create(function()
  1848. while wait() do
  1849. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1850. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1851. end
  1852. end))
  1853.  
  1854. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1855. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1856.  
  1857. for _, c in pairs(Weapon:GetDescendants()) do
  1858. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1859. c.Material = "Glass"
  1860. c.Color = C3(0,0,0)
  1861. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1862. c.Color = C3(1,1,1)
  1863. c.Material = "Neon"
  1864. end
  1865. end
  1866.  
  1867. Weapon.Parent = Character
  1868. for _, c in pairs(Weapon:GetChildren()) do
  1869. if c.ClassName == "Part" then
  1870. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1871. end
  1872. end
  1873.  
  1874. local SKILLTEXTCOLOR = C3(1,1,1)
  1875. local SKILLFONT = "Fantasy"
  1876. local SKILLTEXTSIZE = 6
  1877.  
  1878. Humanoid.Died:connect(function()
  1879. refit()
  1880. end)
  1881.  
  1882. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1883. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1884. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1885. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1886. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1887. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1888. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1889.  
  1890. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] SHOT!", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  1891. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] MORNING STAR!", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  1892. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] (BROKEN)", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1893. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] WARP!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1894. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] DASH!", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  1895. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Y] HYPER SHOT!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1896. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1897.  
  1898. function printbye(Name)
  1899. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1900. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1901. end
  1902.  
  1903. workspace.ChildAdded:connect(function(instance)
  1904. for BANISH = 1, #TOBANISH do
  1905. if TOBANISH[BANISH] ~= nil then
  1906. if instance.Name == TOBANISH[BANISH] then
  1907. coroutine.resume(coroutine.create(function()
  1908. printbye(instance.Name)
  1909. instance:ClearAllChildren()
  1910. Debris:AddItem(instance,0.0005)
  1911. end))
  1912. end
  1913. end
  1914. end
  1915. end)
  1916.  
  1917. --//=================================\\
  1918. --|| DAMAGING
  1919. --\\=================================//
  1920.  
  1921. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1922. if hit.Parent == nil then
  1923. return
  1924. end
  1925. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1926. for _, v in pairs(hit.Parent:children()) do
  1927. if v:IsA("Humanoid") then
  1928. h = v
  1929. end
  1930. end
  1931. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1932.  
  1933. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1934. end
  1935.  
  1936. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1937. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1938. if hit.Parent.DebounceHit.Value == true then
  1939. return
  1940. end
  1941. end
  1942. if insta == true then
  1943. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1944. end
  1945. local c = Create("ObjectValue"){
  1946. Name = "creator",
  1947. Value = game:service("Players").LocalPlayer,
  1948. Parent = h,
  1949. }
  1950. game:GetService("Debris"):AddItem(c, .5)
  1951. if HitSound ~= nil and HitPitch ~= nil then
  1952. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1953. end
  1954. local Damage = math.random(minim, maxim)
  1955. local blocked = false
  1956. local block = hit.Parent:findFirstChild("Block")
  1957. if block ~= nil then
  1958. if block.className == "IntValue" then
  1959. if block.Value > 0 then
  1960. blocked = true
  1961. block.Value = block.Value - 1
  1962. print(block.Value)
  1963. end
  1964. end
  1965. end
  1966. if blocked == false then
  1967. h.Health = h.Health - Damage
  1968. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1969. else
  1970. h.Health = h.Health - (Damage / 2)
  1971. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1972. end
  1973. if Type == "Knockdown" then
  1974. local hum = hit.Parent.Humanoid
  1975. hum.PlatformStand = true
  1976. coroutine.resume(coroutine.create(function(HHumanoid)
  1977. swait(1)
  1978. HHumanoid.PlatformStand = false
  1979. end), hum)
  1980. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1981. local bodvol = Create("BodyVelocity"){
  1982. velocity = angle * knockback,
  1983. P = 5000,
  1984. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1985. Parent = hit,
  1986. }
  1987. local rl = Create("BodyAngularVelocity"){
  1988. P = 3000,
  1989. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1990. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1991. Parent = hit,
  1992. }
  1993. game:GetService("Debris"):AddItem(bodvol, .5)
  1994. game:GetService("Debris"):AddItem(rl, .5)
  1995. elseif Type == "Normal" then
  1996. local vp = Create("BodyVelocity"){
  1997. P = 500,
  1998. maxForce = Vector3.new(math.huge, 0, math.huge),
  1999. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2000. }
  2001. if knockback > 0 then
  2002. vp.Parent = hit.Parent.Torso
  2003. end
  2004. game:GetService("Debris"):AddItem(vp, .5)
  2005. elseif Type == "Up" then
  2006. local bodyVelocity = Create("BodyVelocity"){
  2007. velocity = Vector3.new(0, 20, 0),
  2008. P = 5000,
  2009. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2010. Parent = hit,
  2011. }
  2012. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2013. elseif Type == "DarkUp" then
  2014. coroutine.resume(coroutine.create(function()
  2015. for i = 0, 1, 0.1 do
  2016. swait()
  2017. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2018. end
  2019. end))
  2020. local bodyVelocity = Create("BodyVelocity"){
  2021. velocity = Vector3.new(0, 20, 0),
  2022. P = 5000,
  2023. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2024. Parent = hit,
  2025. }
  2026. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2027. elseif Type == "Snare" then
  2028. local bp = Create("BodyPosition"){
  2029. P = 2000,
  2030. D = 100,
  2031. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2032. position = hit.Parent.Torso.Position,
  2033. Parent = hit.Parent.Torso,
  2034. }
  2035. game:GetService("Debris"):AddItem(bp, 1)
  2036. elseif Type == "Freeze" then
  2037. local BodPos = Create("BodyPosition"){
  2038. P = 50000,
  2039. D = 1000,
  2040. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2041. position = hit.Parent.Torso.Position,
  2042. Parent = hit.Parent.Torso,
  2043. }
  2044. local BodGy = Create("BodyGyro") {
  2045. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2046. P = 20e+003,
  2047. Parent = hit.Parent.Torso,
  2048. cframe = hit.Parent.Torso.CFrame,
  2049. }
  2050. hit.Parent.Torso.Anchored = true
  2051. coroutine.resume(coroutine.create(function(Part)
  2052. swait(1.5)
  2053. Part.Anchored = false
  2054. end), hit.Parent.Torso)
  2055. game:GetService("Debris"):AddItem(BodPos, 3)
  2056. game:GetService("Debris"):AddItem(BodGy, 3)
  2057. end
  2058. local debounce = Create("BoolValue"){
  2059. Name = "DebounceHit",
  2060. Parent = hit.Parent,
  2061. Value = true,
  2062. }
  2063. game:GetService("Debris"):AddItem(debounce, Delay)
  2064. c = Create("ObjectValue"){
  2065. Name = "creator",
  2066. Value = Player,
  2067. Parent = h,
  2068. }
  2069. game:GetService("Debris"):AddItem(c, .5)
  2070. end
  2071. end
  2072.  
  2073. function Kill(Char)
  2074. local NewCharacter = IT("Model",Effects)
  2075. NewCharacter.Name = "Ow im ded ;-;"
  2076. for _, c in pairs(Char:GetDescendants()) do
  2077. if c:IsA("BasePart") and c.Transparency == 0 then
  2078. if c.Parent == Char then
  2079. getbloody(c,5)
  2080. end
  2081. c:BreakJoints()
  2082. c.Material = "Glass"
  2083. c.Color = C3(1,1,1)
  2084. c.CanCollide = true
  2085. c.Transparency = 0.3
  2086. if c:FindFirstChildOfClass("SpecialMesh") then
  2087. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2088. end
  2089. if c.Name == "Head" then
  2090. c:ClearAllChildren()
  2091. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2092. end
  2093. if c.ClassName == "MeshPart" then
  2094. c.TextureID = ""
  2095. end
  2096. if c:FindFirstChildOfClass("BodyPosition") then
  2097. c:FindFirstChildOfClass("BodyPosition"):remove()
  2098. end
  2099. if c:FindFirstChildOfClass("ParticleEmitter") then
  2100. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2101. end
  2102. c.Parent = NewCharacter
  2103. c.Name = "DeadPart"
  2104. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2105. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2106. end
  2107. end
  2108. Char:remove()
  2109. Debris:AddItem(NewCharacter,5)
  2110. end
  2111.  
  2112. function ApplyAoE(POSITION,RANGE,BRUTAL)
  2113. local CHILDREN = workspace:GetDescendants()
  2114. for index, CHILD in pairs(CHILDREN) do
  2115. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2116. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2117. if HUM then
  2118. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2119. if TORSO then
  2120. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2121. if BRUTAL == true then
  2122. Kill(CHILD)
  2123. else
  2124. CHILD:BreakJoints()
  2125. end
  2126. end
  2127. end
  2128. end
  2129. end
  2130. end
  2131. end
  2132.  
  2133. function BulletDetection(FROM,TO,BRUTAL)
  2134. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  2135. coroutine.resume(coroutine.create(function()
  2136. if AIMHIT ~= nil then
  2137. if AIMHIT.Parent ~= Character then
  2138. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2139. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  2140. if BRUTAL == true then
  2141. Kill(AIMHIT.Parent)
  2142. else
  2143. getbloody(AIMHIT,15)
  2144. AIMHIT.Parent:BreakJoints()
  2145. if AIMHIT.Name == "Head" then
  2146. AIMHIT.Name = "HEADSHOT"
  2147. AIMHIT:remove()
  2148. end
  2149. end
  2150. else
  2151. if BRUTAL == true then
  2152. Kill(AIMHIT.Parent.Parent)
  2153. else
  2154. AIMHIT.Parent.Parent:BreakJoints()
  2155. end
  2156. end
  2157. end
  2158. end
  2159. end
  2160. end))
  2161. SpawnTrail(FROM,AIMPOS)
  2162. return AIMHIT,AIMPOS,NORMAL
  2163. end
  2164.  
  2165. function Banish(Foe)
  2166. if Foe then
  2167. coroutine.resume(coroutine.create(function()
  2168. --if game.Players:FindFirstChild(Foe.Name) then
  2169. table.insert(TOBANISH,Foe.Name)
  2170. printbye(Foe.Name)
  2171. --end
  2172. Foe.Archivable = true
  2173. local CLONE = Foe:Clone()
  2174. Foe:Destroy()
  2175. CLONE.Parent = Effects
  2176. CLONE:BreakJoints()
  2177. local MATERIALS = {"Glass","Neon"}
  2178. for _, c in pairs(CLONE:GetDescendants()) do
  2179. if c:IsA("BasePart") then
  2180. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2181. CreateSound(340722848, c, 10, 1, false)
  2182. end
  2183. c.Anchored = true
  2184. c.Transparency = c.Transparency + 0.2
  2185. c.Material = MATERIALS[MRANDOM(1,2)]
  2186. c.Color = C3(1,1,1)
  2187. if c.ClassName == "MeshPart" then
  2188. c.TextureID = ""
  2189. end
  2190. if c:FindFirstChildOfClass("SpecialMesh") then
  2191. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2192. end
  2193. if c:FindFirstChildOfClass("Decal") then
  2194. c:FindFirstChildOfClass("Decal"):remove()
  2195. end
  2196. c.Name = "Banished"
  2197. c.CanCollide = false
  2198. else
  2199. c:remove()
  2200. end
  2201. end
  2202. local A = false
  2203. for i = 1, 35 do
  2204. if A == false then
  2205. A = true
  2206. elseif A == true then
  2207. A = false
  2208. end
  2209. for _, c in pairs(CLONE:GetDescendants()) do
  2210. if c:IsA("BasePart") then
  2211. c.Anchored = true
  2212. c.Material = MATERIALS[MRANDOM(1,2)]
  2213. c.Transparency = c.Transparency + 0.8/35
  2214. if A == false then
  2215. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2216. elseif A == true then
  2217. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2218. end
  2219. end
  2220. end
  2221. Swait()
  2222. end
  2223. CLONE:remove()
  2224. end))
  2225. end
  2226. end
  2227.  
  2228. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2229. local CHILDREN = workspace:GetDescendants()
  2230. for index, CHILD in pairs(CHILDREN) do
  2231. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2232. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2233. if HUM then
  2234. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2235. if TORSO then
  2236. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2237. if ISBANISH == true then
  2238. Banish(CHILD)
  2239. else
  2240. if ISBANISH == "Gravity" then
  2241. HUM.PlatformStand = true
  2242. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2243. local grav = Instance.new("BodyPosition",TORSO)
  2244. grav.D = 15
  2245. grav.P = 20000
  2246. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2247. grav.position = TORSO.Position
  2248. grav.Name = "V3BanishForce"..Player.Name
  2249. else
  2250. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2251. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2252. end
  2253. else
  2254. HUM.PlatformStand = false
  2255. end
  2256. end
  2257. elseif ISBANISH == "Gravity" then
  2258. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2259. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2260. HUM.PlatformStand = false
  2261. end
  2262. end
  2263. end
  2264. end
  2265. end
  2266. end
  2267. end
  2268.  
  2269. --//=================================\\
  2270. --|| ATTACK FUNCTIONS AND STUFF
  2271. --\\=================================//
  2272.  
  2273. function Colorful_Death()
  2274. ATTACK = true
  2275. Rooted = false
  2276. for i=0, 0.05, 0.1 / Animation_Speed do
  2277. Swait()
  2278. turnto(Mouse.Hit.p)
  2279. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2280. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2281. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2283. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2284. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2285. end
  2286. repeat
  2287. for i=0, 0.05, 0.1 / Animation_Speed do
  2288. Swait()
  2289. turnto(Mouse.Hit.p)
  2290. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2294. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2295. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2296. end
  2297. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2298. SpawnTrail(Hole.Position,POS)
  2299. if HIT ~= nil then
  2300. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2301. Banish(HIT.Parent)
  2302. end
  2303. end
  2304. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2305. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2306. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2307. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2308. for i=0, 0.05, 0.1 / Animation_Speed do
  2309. Swait()
  2310. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2311. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2314. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2315. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2316. end
  2317. until KEYHOLD == false
  2318. ATTACK = false
  2319. Rooted = false
  2320. end
  2321.  
  2322.  
  2323. function TakeOnMe()
  2324. Speed = 5
  2325. local MEME = CreateSound(0, Effects, 2, 1, false)
  2326. ATTACK = true
  2327. Rooted = false
  2328. local DANCE = true
  2329. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2330. if NEWKEY == "p" then
  2331. DANCE = false
  2332. end
  2333. end)
  2334. PLAYSONG = false
  2335. while true do
  2336. for i = 1, 15 do
  2337. Swait()
  2338. MEME.Parent = Effects
  2339. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2340. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2341. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2342. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2343. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2344. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2345. end
  2346. if DANCE == false then
  2347. break
  2348. end
  2349. for i = 1, 15 do
  2350. Swait()
  2351. MEME.Parent = Effects
  2352. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2353. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2354. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2355. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2356. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2357. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2358. end
  2359. end
  2360. PLAYSONG = true
  2361. KEY:Disconnect()
  2362. MEME:remove()
  2363. Speed = 25
  2364. ATTACK = false
  2365. Rooted = false
  2366. end
  2367.  
  2368. function RTaunt()
  2369. ATTACK = true
  2370. Rooted = true
  2371. local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
  2372. repeat
  2373. Swait()
  2374. TAUNT.Parent = Torso
  2375. TAUNT.Playing = true
  2376. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2380. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2381. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2382. until TAUNT.TimePosition >= 1.25
  2383. for i=0, 1.6, 0.1 / Animation_Speed do
  2384. Swait()
  2385. TAUNT.Parent = Torso
  2386. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  2387. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2388. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2389. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2390. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2391. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2392. end
  2393. ATTACK = false
  2394. Rooted = false
  2395. end
  2396.  
  2397. function Morning_Star()
  2398. ATTACK = true
  2399. Rooted = true
  2400. for i=0, 1, 0.1 / Animation_Speed do
  2401. Swait()
  2402. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2403. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2404. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2405. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2406. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2407. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2408. end
  2409. coroutine.resume(coroutine.create(function()
  2410. local POS = Mouse.Hit.p
  2411. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,2000,0))
  2412. MakeForm(RAY,"Cyl")
  2413. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  2414. MakeForm(SPHERE,"Ball")
  2415. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Strike", VT(0,0,0))
  2416. MakeForm(SHIELD,"Ball")
  2417. SHIELD.CFrame = CF(POS)
  2418. RAY.CFrame = CF(POS)
  2419. SPHERE.CFrame = CF(POS)
  2420. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2421. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2422. for i = 1, 200 do
  2423. Swait()
  2424. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1000,25,1000), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2425. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2426. SPHERE.Size = SPHERE.Size + VT(0.1,0.1,0.1)
  2427. SHIELD.Size = SPHERE.Size + VT(0.1,0.1,0,1)
  2428. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2429. end
  2430. for i = 1, 45 do
  2431. Swait()
  2432. RAY.Transparency = RAY.Transparency + 1/45
  2433. SPHERE.Transparency = RAY.Transparency
  2434. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2435. end
  2436. RAY:remove()
  2437. SHIELD:remove()
  2438. SPHERE:remove()
  2439. end))
  2440. for i=0, 1, 0.1 / Animation_Speed do
  2441. Swait()
  2442. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2443. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2444. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2445. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2446. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2447. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2448. end
  2449. ATTACK = false
  2450. Rooted = false
  2451. end
  2452.  
  2453. function Deathbound()
  2454. ATTACK = true
  2455. Rooted = true
  2456. for i=0, 1, 0.1 / Animation_Speed do
  2457. Swait()
  2458. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2459. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2460. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2461. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2462. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2463. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2464. end
  2465. local DONE = false
  2466. local GATE = nil
  2467. local GATESPIN = true
  2468. coroutine.resume(coroutine.create(function()
  2469. repeat
  2470. Swait()
  2471. if GATE ~= nil then
  2472. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  2473. end
  2474. until GATESPIN == false
  2475. end))
  2476. coroutine.resume(coroutine.create(function()
  2477. repeat
  2478. Swait()
  2479. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2480. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2481. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2482. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2483. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2485. until DONE == true
  2486. Swait(50)
  2487. for i = 1, 35 do
  2488. Swait(4)
  2489. local FIRED = false
  2490. local CHILDREN = workspace:GetDescendants()
  2491. for index, CHILD in pairs(CHILDREN) do
  2492. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2493. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2494. if HUM then
  2495. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2496. if TORSO then
  2497. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2498. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2499. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2500. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  2501. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2502. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2503. Kill(CHILD)
  2504. FIRED = true
  2505. break
  2506. end
  2507. end
  2508. end
  2509. end
  2510. end
  2511. if FIRED == false then
  2512. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2513. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  2514. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,01), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2515. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2516. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2517. if HITBOD ~= nil then
  2518. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2519. Kill(HITBOD.Parent)
  2520. end
  2521. end
  2522. end
  2523. end
  2524. for i = 1, 45 do
  2525. Swait()
  2526. GATE.Size = GATE.Size - VT(30,30,30)
  2527. end
  2528. GATESPIN = false
  2529. GATE:remove()
  2530. end))
  2531. Swait(15)
  2532. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2533. GATE = CreatePart(3, Effects, "Neon", 0, 1, "White", "Gate", VT(0,0,0))
  2534. local DECAL = IT("Decal",GATE)
  2535. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  2536. DECAL.Face = "Top"
  2537. GATE.CFrame = CF(HITPOS)
  2538. CreateSound(160772554, GATE, 7, 1.3, false)
  2539. for i = 1, 45 do
  2540. Swait()
  2541. GATE.Size = GATE.Size + VT(3,0,3)
  2542. end
  2543. CreateSound(145080998, RightHole, 7, 1, false)
  2544. CreateSound(145080998, LeftHole, 7, 1, false)
  2545. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2546. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2547. ATTACK = false
  2548. Rooted = false
  2549. DONE = true
  2550. end
  2551.  
  2552. function Dash()
  2553. ATTACK = true
  2554. Rooted = false
  2555. local TARGET = nil
  2556. local TORS = nil
  2557. local GYRO = IT("BodyGyro",RootPart)
  2558. GYRO.D = 175
  2559. GYRO.P = 20000
  2560. GYRO.MaxTorque = VT(0,40000,0)
  2561. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2562. local RANGE = 5
  2563. CreateSound(541909867, Torso, 7, 1, false)
  2564. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2565. for i=0, 1, 0.1 / Animation_Speed do
  2566. Swait()
  2567. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  2568. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2569. local CHILDREN = workspace:GetDescendants()
  2570. for index, CHILD in pairs(CHILDREN) do
  2571. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2572. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2573. if HUM then
  2574. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2575. if TORSO then
  2576. if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  2577. RANGE = (TORSO.Position - LeftHole.Position).Magnitude
  2578. TARGET = HUM
  2579. TORS = TORSO
  2580. end
  2581. end
  2582. end
  2583. end
  2584. end
  2585. if TARGET then
  2586. break
  2587. end
  2588. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  2589. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
  2590. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2591. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2592. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2593. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2594. end
  2595. GYRO:remove()
  2596. if TORS and TARGET then
  2597. Rooted = true
  2598. local BODYPOSITION = IT("BodyPosition", TORS)
  2599. BODYPOSITION.P = 2000
  2600. BODYPOSITION.D = 100
  2601. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2602. for i=0, 1, 0.1 / Animation_Speed do
  2603. Swait()
  2604. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2605. BODYPOSITION.Position = TORS.Position
  2606. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  2607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  2608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2610. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2612. end
  2613. for i=0, 0.4, 0.1 / Animation_Speed do
  2614. Swait()
  2615. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2616. BODYPOSITION.Position = TORS.Position
  2617. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  2618. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  2619. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2620. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2621. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2622. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2623. end
  2624. local LOOP = 0
  2625. local LOOP2 = 0
  2626. for i=0, 5, 0.1 / Animation_Speed do
  2627. Swait()
  2628. LOOP = LOOP + 1
  2629. TORS.Anchored = true
  2630. LOOP2 = LOOP2 + 1
  2631. if LOOP2 >= 5 then
  2632. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2633. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2634. CreateSound(145080998, RightHole, 7, 1, false)
  2635. SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
  2636. LOOP2 = 0
  2637. getbloody(TORS,1)
  2638. end
  2639. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2640. BODYPOSITION.Position = TORS.Position
  2641. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  2642. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  2643. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2644. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2645. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2646. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2647. end
  2648. BODYPOSITION:remove()
  2649. if TORS then
  2650. TORS.Anchored = false
  2651. Kill(TORS.Parent)
  2652. end
  2653. end
  2654. ATTACK = false
  2655. Rooted = false
  2656. end
  2657.  
  2658. function Taunt()
  2659. ATTACK = true
  2660. Rooted = true
  2661. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  2662. coroutine.resume(coroutine.create(function()
  2663. repeat
  2664. Swait()
  2665. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2666. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2667. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2668. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2669. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2670. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2671. until ATTACK == false
  2672. end))
  2673. repeat wait() until TAUNT.Playing == false
  2674. ATTACK = false
  2675. Rooted = false
  2676. end
  2677.  
  2678.  
  2679. function Debree(POS,SWAIT)
  2680. coroutine.resume(coroutine.create(function()
  2681. local HOLDER = IT("Model",Effects)
  2682. HOLDER.Name = "Debree"
  2683. local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2684. MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  2685. MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  2686. MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  2687. repeat Swait() until HITFLOOR ~= nil
  2688. local O = 0
  2689. for i = 1, 18 do
  2690. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
  2691. Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2692. O = O - (45/4)/5+i/4
  2693. coroutine.resume(coroutine.create(function()
  2694. Swait(SWAIT)
  2695. for i = 1, 60 do
  2696. Swait()
  2697. local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
  2698. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2699. end
  2700. for i = 1, 50 do
  2701. Swait()
  2702. Part.Size = Part.Size * 0.9
  2703. end
  2704. end))
  2705. end
  2706. local O = 0
  2707. for i = 1, 18 do
  2708. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
  2709. Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2710. O = O + (45/4)/5-i/4
  2711. coroutine.resume(coroutine.create(function()
  2712. Swait(SWAIT)
  2713. for i = 1, 60 do
  2714. Swait()
  2715. local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
  2716. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2717. end
  2718. for i = 1, 50 do
  2719. Swait()
  2720. Part.Size = Part.Size * 0.9
  2721. end
  2722. end))
  2723. end
  2724. Swait(SWAIT+110)
  2725. HOLDER:remove()
  2726. end))
  2727. end
  2728.  
  2729.  
  2730.  
  2731.  
  2732. function WarpVector()
  2733. ATTACK = false
  2734. Rooted = true
  2735.  
  2736. Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75)
  2737. UNANCHOR = false
  2738.  
  2739. RootPart.Anchored = true
  2740. for i=0, 2, 0.1 / Animation_Speed do
  2741. Swait()
  2742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2748. end
  2749.  
  2750. local POS = RootPart.Position
  2751. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS)
  2752. Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150)
  2753. for i=0, 2, 0.1 / Animation_Speed do
  2754. Swait()
  2755. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2756. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2759. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2760. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2761. end
  2762. UNANCHOR = true
  2763. ATTACK = false
  2764. Rooted = false
  2765. end
  2766.  
  2767. function Banisher_Bullet()
  2768. ATTACK = true
  2769. Rooted = false
  2770. for i=2, 2, 2 / Animation_Speed do
  2771. Swait()
  2772. turnto(Mouse.Hit.p)
  2773. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  2774. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  2775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2777. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2778. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2779. end
  2780. repeat
  2781. for i=0, 0.2, 0.1 / Animation_Speed do
  2782. Swait()
  2783. turnto(Mouse.Hit.p)
  2784. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  2785. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  2786. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2787. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2788. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2789. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2790. end
  2791. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2792. SpawnTrail(Hole.Position,POS)
  2793. if HIT ~= nil then
  2794. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2795. Banish(HIT.Parent)
  2796. end
  2797. end
  2798. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2799. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2800. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2801. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2802. for i=0, 0.3, 0.1 / Animation_Speed do
  2803. Swait()
  2804. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  2805. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  2806. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2807. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2808. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2809. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2810. end
  2811. until KEYHOLD == false
  2812. ATTACK = false
  2813. Rooted = false
  2814. end
  2815.  
  2816. function AttackTemplate()
  2817. ATTACK = true
  2818. Rooted = false
  2819. for i=0, 1, 0.1 / Animation_Speed do
  2820. Swait()
  2821. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2822. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2823. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2824. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2825. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2826. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2827. end
  2828. ATTACK = false
  2829. Rooted = false
  2830. end
  2831.  
  2832. --//=================================\\
  2833. --|| ASSIGN THINGS TO KEYS
  2834. --\\=================================//
  2835. function MouseDown(Mouse)
  2836. if ATTACK == false then
  2837. end
  2838. end
  2839.  
  2840. function MouseUp(Mouse)
  2841. HOLD = false
  2842. end
  2843.  
  2844. function KeyDown(Key)
  2845. KEYHOLD = true
  2846. if Key == "z" and ATTACK == false then
  2847. Banisher_Bullet()
  2848. end
  2849.  
  2850. if Key == "v" and ATTACK == false then
  2851. Morning_Star()
  2852. end
  2853.  
  2854. if Key == "b" and ATTACK == false then
  2855. RTaunt()
  2856. end
  2857.  
  2858. if Key == "y" and ATTACK == false then
  2859. Colorful_Death()
  2860. end
  2861.  
  2862. if Key == "n" and ATTACK == false then
  2863. TakeOnMe()
  2864. end
  2865.  
  2866. if Key == "q" and ATTACK == false then
  2867. Dash()
  2868. end
  2869.  
  2870. if Key == "t" and ATTACK == false then
  2871. Taunt()
  2872. end
  2873.  
  2874. if Key == "x" and ATTACK == false then
  2875. Deathbound()
  2876. end
  2877.  
  2878. if Key == "c" and ATTACK == false then
  2879. WarpVector()
  2880. end
  2881. end
  2882.  
  2883. function KeyUp(Key)
  2884. KEYHOLD = false
  2885. end
  2886.  
  2887. Mouse.Button1Down:connect(function(NEWKEY)
  2888. MouseDown(NEWKEY)
  2889. end)
  2890. Mouse.Button1Up:connect(function(NEWKEY)
  2891. MouseUp(NEWKEY)
  2892. end)
  2893. Mouse.KeyDown:connect(function(NEWKEY)
  2894. KeyDown(NEWKEY)
  2895. end)
  2896. Mouse.KeyUp:connect(function(NEWKEY)
  2897. KeyUp(NEWKEY)
  2898. end)
  2899.  
  2900. --//=================================\\
  2901. --\\=================================//
  2902.  
  2903.  
  2904. function unanchor()
  2905. if UNANCHOR == true then
  2906. g = Character:GetChildren()
  2907. for i = 1, #g do
  2908. if g[i].ClassName == "Part" then
  2909. g[i].Anchored = false
  2910. end
  2911. end
  2912. end
  2913. end
  2914.  
  2915.  
  2916. --//=================================\\
  2917. --|| WRAP THE WHOLE SCRIPT UP
  2918. --\\=================================//
  2919.  
  2920. Humanoid.Changed:connect(function(Jump)
  2921. if Jump == "Jump" and (Disable_Jump == true) then
  2922. Humanoid.Jump = false
  2923. end
  2924. end)
  2925.  
  2926. local CONNECT = nil
  2927.  
  2928. while true do
  2929. Swait()
  2930. ANIMATE.Parent = nil
  2931. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2932. Humanoid = IT("Humanoid",Character)
  2933. end
  2934. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2935. v:Stop();
  2936. end
  2937. SINE = SINE + CHANGE
  2938. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2939. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2940. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2941. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2942. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2943. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2944. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2945. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2946. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2947. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2948. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2949. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2950. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2951. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2952. end
  2953. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2954. ANIM = "Jump"
  2955. if ATTACK == false then
  2956. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2958. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  2959. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2960. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2962. end
  2963. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2964. ANIM = "Fall"
  2965. if ATTACK == false then
  2966. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  2969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2970. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  2972. end
  2973. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2974. ANIM = "Idle"
  2975. if ATTACK == false then
  2976. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed)
  2977. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.16 / Animation_Speed)
  2978. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  2979. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed)
  2980. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  2981. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  2982. end
  2983. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2984. ANIM = "Walk"
  2985. if ATTACK == false then
  2986. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  2987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  2988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  2989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2990. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2991. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2992. end
  2993. end
  2994. unanchor()
  2995. Humanoid.MaxHealth = "inf"
  2996. Humanoid.Health = "inf"
  2997. if Rooted == false then
  2998. Disable_Jump = false
  2999. Humanoid.WalkSpeed = Speed
  3000. elseif Rooted == true then
  3001. Disable_Jump = true
  3002. Humanoid.WalkSpeed = 0
  3003. end
  3004. sick.Parent = Torso
  3005. sick:resume()
  3006. sick.Volume = 50
  3007. sick.Pitch = 0.9
  3008. sick.SoundId = "rbxassetid://383141805"
  3009. sick.Name = "BanishV3Music"
  3010. end
  3011. if Head:FindFirstChild("face") then
  3012. Head.face.Texture = "rbxassetid://176217464"
  3013. end
  3014.  
  3015. Humanoid.Changed:connect(function(Jump)
  3016. if Jump == "Jump" and (Disable_Jump == true) then
  3017. Humanoid.Jump = false
  3018. end
  3019. end)
  3020.  
  3021. local BLINKLOOP = 0
  3022.  
  3023. while true do
  3024. Swait()
  3025. script.Parent = WEAPONGUI
  3026. ANIMATE.Parent = nil
  3027. Humanoid.Parent = Character
  3028. if Humanoid then
  3029. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3030. IDLEANIMATION:Play()
  3031. end
  3032. SINE = SINE + CHANGE
  3033. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3034. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3035. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3036. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3037. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3038. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3039. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3040. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3041. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3042. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3043. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3044. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3045. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3046. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3047. end
  3048. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3049. ANIM = "Jump"
  3050. if ATTACK == false then
  3051. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3055. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3056. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3057. end
  3058. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3059. ANIM = "Fall"
  3060. if ATTACK == false then
  3061. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3062. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3063. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3064. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3065. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3066. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3067. end
  3068. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3069. ANIM = "Idle"
  3070. if ATTACK == false then
  3071. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  3072. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  3073. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3074. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3075. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3076. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3077. end
  3078. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3079. ANIM = "Walk"
  3080. if ATTACK == false then
  3081. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3082. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3083. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3084. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3085. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3086. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3087. end
  3088. end
  3089. unanchor()
  3090. Humanoid.MaxHealth = "inf"
  3091. Humanoid.Health = "inf"
  3092. if Rooted == false then
  3093. Disable_Jump = false
  3094. Humanoid.WalkSpeed = Speed
  3095. elseif Rooted == true then
  3096. Disable_Jump = true
  3097. Humanoid.WalkSpeed = 0
  3098. end
  3099. sick.SoundId = "rbxassetid://383141805"
  3100. sick.Looped = true
  3101. sick.Pitch = 0.9
  3102. sick.Volume = 50
  3103. sick.Playing = true
  3104. sick.Parent = Torso
  3105. if Head:FindFirstChild("face") then
  3106. Head.face.Texture = "rbxassetid://404306534"
  3107. end
  3108. BLINKLOOP = BLINKLOOP + 1
  3109. if BLINKLOOP >=650 then
  3110. BLINKLOOP = 0
  3111. Blink()
  3112. end
  3113. if #GHOSTS>0 then
  3114. for e=1,#GHOSTS do
  3115. if GHOSTS[e]~=nil then
  3116. local Thing=GHOSTS[e]
  3117. if Thing~=nil then
  3118. if Thing:FindFirstChild("Head") then
  3119. if Thing:FindFirstChild("Head"):FindFirstChild("face") then
  3120. Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570"
  3121. end
  3122. if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
  3123. Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
  3124. end
  3125. end
  3126. local TORSO = Thing:FindFirstChild("Torso")
  3127. if TORSO then
  3128. TORSO.Anchored = false
  3129. local ROOT = Thing.HumanoidRootPart
  3130. local RootJoint1 = ROOT:FindFirstChild("RootJoint")
  3131. local Neck1 = TORSO:FindFirstChild("Neck")
  3132. local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
  3133. local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
  3134. local RightHip1 = TORSO:FindFirstChild("Right Hip")
  3135. local LeftHip1 = TORSO:FindFirstChild("Left Hip")
  3136. if ROOT and RootJoint1 then
  3137. local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
  3138. if VELOCITY < 1 then
  3139. RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
  3140. Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
  3141. RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
  3142. LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
  3143. RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
  3144. LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
  3145. elseif VELOCITY > 1 then
  3146. RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
  3147. Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
  3148. RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
  3149. LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
  3150. RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0))
  3151. LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
  3152. end
  3153. end
  3154. local Human = Thing.Humanoid
  3155. if Human then
  3156. Human.HipHeight = 0.3
  3157. for _, c in pairs(Thing:GetChildren()) do
  3158. if c.ClassName == "Part" and c.Transparency < 1 then
  3159. c.Color = C3(0,0,0)
  3160. c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
  3161. elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  3162. c:remove()
  3163. end
  3164. end
  3165. if Human then
  3166. local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
  3167. IDLEANIMATION:Play()
  3168. end
  3169. local list = game.Workspace:children()
  3170. local torso = nil
  3171. local dist = 50
  3172. local temp = nil
  3173. local human = nil
  3174. local temp2 = nil
  3175. local OwnerInDanger = false
  3176. for x = 1, #list do
  3177. temp2 = list[x]
  3178. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
  3179. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  3180. human = temp2:findFirstChildOfClass("Humanoid")
  3181. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3182. if (temp.Position - Torso.Position).magnitude < 15 then
  3183. OwnerInDanger = true
  3184. newdist = (temp.Position - TORSO.Position).magnitude
  3185. dist = (Torso.Position - temp.Position).magnitude
  3186. Human:MoveTo(temp.Position)
  3187. torso = temp
  3188. if newdist < 7 then
  3189. torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
  3190. CreateSound(814168787, temp, 1, 2, false)
  3191. ApplyDamage(human,MRANDOM(15,35),temp)
  3192. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3193. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3194. end
  3195. end
  3196. end
  3197. end
  3198. end
  3199. if OwnerInDanger == false then
  3200. for x = 1, #list do
  3201. temp2 = list[x]
  3202. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
  3203. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  3204. human = temp2:findFirstChildOfClass("Humanoid")
  3205. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3206. if (temp.Position - Torso.Position).magnitude < dist then
  3207. newdist = (temp.Position - TORSO.Position).magnitude
  3208. Human:MoveTo(temp.Position)
  3209. torso = temp
  3210. if newdist < 15 then
  3211. if MRANDOM(1,35) == 1 then
  3212. CreateSound(438665935, temp, 1, 3, false)
  3213. ApplyDamage(human,MRANDOM(2,20),temp)
  3214. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3215. end
  3216. end
  3217. end
  3218. end
  3219. end
  3220. end
  3221. end
  3222. if torso == nil then
  3223. Human.WalkSpeed = Speed -0.2
  3224. if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
  3225. Human:MoveTo(TORSO.Position)
  3226. elseif (Torso.Position - TORSO.Position).magnitude > 15 then
  3227. Human:MoveTo(Torso.Position)
  3228. elseif (Torso.Position - TORSO.Position).magnitude < 11 then
  3229. Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
  3230. end
  3231. else
  3232. if OwnerInDanger == false then
  3233. Human.WalkSpeed = Speed*1.2
  3234. else
  3235. Human.WalkSpeed = Speed*5
  3236. end
  3237. end
  3238. if Human.Health == 0 then
  3239. Thing:remove()
  3240. table.remove(GHOSTS,e)
  3241. else
  3242. Human.Health = Human.Health + 0.5
  3243. end
  3244. else
  3245. Thing:remove()
  3246. table.remove(GHOSTS,e)
  3247. end
  3248. else
  3249. Thing:remove()
  3250. table.remove(GHOSTS,e)
  3251. end
  3252. end
  3253. end
  3254. end
  3255. end
  3256. refit()
  3257. end
  3258.  
  3259. --//=================================\\
  3260. --\\=================================//
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266. --//====================================================\\--
  3267. --|| END OF SCRIPT
  3268. --\\====================================================//--
Add Comment
Please, Sign In to add comment