Advertisement
Leodu41

dddd

Oct 1st, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = game:GetService("Players").LocalPlayer
  2. char = plr.Character
  3. hum = char.Humanoid
  4. local cam = game.Workspace.CurrentCamera
  5. Camera = cam
  6. local CamInterrupt = false
  7. local TwoD = false
  8. local TargetInfo = {nil, nil}
  9. cam.CameraType = "Custom"
  10. t = char.Torso
  11. h = char.Head
  12. ra = char["Right Arm"]
  13. la = char["Left Arm"]
  14. rl = char["Right Leg"]
  15. ll = char["Left Leg"]
  16. tors = char.Torso
  17. lleg = char["Left Leg"]
  18. root = char.HumanoidRootPart
  19. hed = char.Head
  20. rleg = char["Right Leg"]
  21. rarm = char["Right Arm"]
  22. larm = char["Left Arm"]
  23. radian = math.rad
  24. random = math.random
  25. Vec3 = Vector3.new
  26. Inst = Instance.new
  27. cFrame = CFrame.new
  28. Euler = CFrame.fromEulerAnglesXYZ
  29. vt = Vector3.new
  30. bc = BrickColor.new
  31. br = BrickColor.random
  32. it = Instance.new
  33. cf = CFrame.new
  34.  
  35. local Booleans = {
  36. CamFollow = true,
  37. GyroUse = true
  38. }
  39.  
  40. function lerp(object, newCFrame, alpha)
  41. return object:lerp(newCFrame, alpha)
  42. end
  43.  
  44. local Directer = Inst("BodyGyro", root)
  45. Directer.MaxTorque = Vec3(0, 0, 0)
  46. Directer.P = 600000
  47. local CPart = Inst("Part")
  48. CPart.Anchored = true
  49. CPart.CanCollide = false
  50. CPart.Locked = true
  51. CPart.Transparency = 1
  52.  
  53. local rainbowmode = false
  54. local chaosmode = false
  55.  
  56. local kan = Instance.new("Sound",char)
  57. kan.Volume = 5
  58. kan.TimePosition = 0
  59. kan.PlaybackSpeed = 1
  60. kan.Pitch = 1
  61. kan.SoundId = "rbxassetid://3592649229"
  62. kan.Name = "wrecked"
  63. kan.Looped = true
  64. kan:Play()
  65.  
  66. local currentThemePlaying = kan.SoundId
  67. local currentPitch = kan.Pitch
  68. local currentVol = kan.Volume
  69. function newTheme(ID,timepos,pitch,vol)
  70. local kanz = kan
  71. --kanz:Stop()
  72. kanz.Volume = vol
  73. --kanz.TimePosition = timepos
  74. kanz.PlaybackSpeed = pitch
  75. kanz.Pitch = pitch
  76. kanz.SoundId = ID
  77. kanz.Name = "wrecked"
  78. kanz.Looped = true
  79. currentThemePlaying = kanz.SoundId
  80. currentVol = kanz.Volume
  81. currentPitch = kanz.Pitch
  82. --kanz:Play()
  83. --coroutine.resume(coroutine.create(function()
  84. --wait(0.05)
  85. --end))
  86. end
  87.  
  88.  
  89. function newThemeCust(ID,timepos,pitch,vol)
  90. local kanz = kan
  91. kanz:Stop()
  92. kanz.Volume = vol
  93. kanz.TimePosition = timepos
  94. kanz.PlaybackSpeed = pitch
  95. kanz.Pitch = pitch
  96. kanz.SoundId = ID
  97. kanz.Name = "wrecked"
  98. kanz.Looped = true
  99. currentThemePlaying = kanz.SoundId
  100. currentVol = kanz.Volume
  101. currentPitch = kanz.Pitch
  102. kanz:Play()
  103. coroutine.resume(coroutine.create(function()
  104. wait(0.05)
  105. end))
  106. end
  107.  
  108. local mutedtog = false
  109.  
  110. function CameraEnshaking(Length,Intensity)
  111. coroutine.resume(coroutine.create(function()
  112. local intensity = 1*Intensity
  113. local rotM = 0.01*Intensity
  114. for i = 0, Length, 0.1 do
  115. swait()
  116. intensity = intensity - 0.05*Intensity/Length
  117. rotM = rotM - 0.0005*Intensity/Length
  118. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  119. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  120. end
  121. Humanoid.CameraOffset = Vec3(0, 0, 0)
  122. end))
  123. end
  124. CamShake=function(Part,Distan,Power,Times)
  125. local de=Part.Position
  126. for i,v in pairs(workspace:children()) do
  127. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  128. for _,c in pairs(v:children()) do
  129. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  130. local Noob=v.Humanoid
  131. if Noob~=nil then
  132. coroutine.resume(coroutine.create(function()
  133. FV = Instance.new("BoolValue", Noob)
  134. FV.Name = "CameraShake"
  135. for ShakeNum=1,Times do
  136. swait()
  137. local ef=Power
  138. if ef>=1 then
  139. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  140. else
  141. ef=Power*10
  142. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  143. end
  144. end
  145. Humanoid.CameraOffset = Vector3.new(0,0,0)
  146. FV:Destroy()
  147. end))
  148. CameraShake(Times, Power, Noob)
  149. end
  150. end
  151. end
  152. end
  153. end
  154. end
  155.  
  156.  
  157. function chatfunc(text,color,typet,font,timeex)
  158. local chat = coroutine.wrap(function()
  159. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  160. Character:FindFirstChild("TalkingBillBoard"):destroy()
  161. end
  162. local naeeym2 = Instance.new("BillboardGui",Character)
  163. naeeym2.Size = UDim2.new(0,100,0,40)
  164. naeeym2.StudsOffset = Vector3.new(0,3,0)
  165. naeeym2.Adornee = Character.Head
  166. naeeym2.Name = "TalkingBillBoard"
  167. local tecks2 = Instance.new("TextLabel",naeeym2)
  168. tecks2.BackgroundTransparency = 1
  169. tecks2.BorderSizePixel = 0
  170. tecks2.Text = "lunar"
  171. tecks2.Font = font
  172. tecks2.TextSize = 30
  173. tecks2.TextStrokeTransparency = 0
  174. tecks2.TextColor3 = color
  175. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  176. tecks2.Size = UDim2.new(1,0,0.5,0)
  177. local tecks3 = Instance.new("TextLabel",naeeym2)
  178. tecks3.BackgroundTransparency = 1
  179. tecks3.BorderSizePixel = 0
  180. tecks3.Text = ""
  181. tecks3.Font = font
  182. tecks3.TextSize = 30
  183. tecks3.TextStrokeTransparency = 0
  184. if typet == "Inverted" then
  185. tecks3.TextColor3 = Color3.new(0,0,0)
  186. tecks3.TextStrokeColor3 = color
  187. elseif typet == "Normal" then
  188. tecks3.TextColor3 = color
  189. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  190. end
  191. tecks3.Size = UDim2.new(1,0,0.5,0)
  192. coroutine.resume(coroutine.create(function()
  193. while true do
  194. swait(1)
  195. if chaosmode == true then
  196. tecks2.TextColor3 = BrickColor.random().Color
  197. tecks3.TextStrokeColor3 = BrickColor.random().Color
  198. end
  199. end
  200. end))
  201. modet.TextTransparency = modet.TextTransparency + 1
  202. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  203. for i = 0, 74*timeex do
  204. swait()
  205. modet.TextTransparency = 1
  206. modet.TextStrokeTransparency = 1
  207. tecks2.Text = text
  208. tecks3.Text = text
  209. end
  210. local randomrot = math.random(1,2)
  211. if randomrot == 1 then
  212. for i = 1, 50 do
  213. swait()
  214. tecks2.Text = text
  215. tecks3.Text = text
  216. modet.TextTransparency = modet.TextTransparency - .02
  217. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  218. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  219. tecks2.TextTransparency = tecks2.TextTransparency + .04
  220. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  221. tecks3.TextTransparency = tecks2.TextTransparency + .04
  222. end
  223. elseif randomrot == 2 then
  224. for i = 1, 50 do
  225. swait()
  226. tecks2.Text = text
  227. tecks3.Text = text
  228. modet.TextTransparency = modet.TextTransparency - .02
  229. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  230. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  231. tecks2.TextTransparency = tecks2.TextTransparency + .04
  232. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  233. tecks3.TextTransparency = tecks2.TextTransparency + .04
  234. end
  235. end
  236. modet.TextTransparency = 0
  237. modet.TextStrokeTransparency = 0
  238. if toggleTag == false then
  239. modet.TextTransparency = 1
  240. modet.TextStrokeTransparency = 1
  241. end
  242. naeeym2:Destroy()
  243. end)
  244. chat()
  245. end
  246.  
  247. function bosschatfunc(text,color,watval)
  248. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  249. coroutine.resume(coroutine.create(function()
  250. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  251. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  252. end
  253. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  254. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  255. scrg.Name = "Dialog"
  256. local txtlb = Instance.new("TextLabel",scrg)
  257. txtlb.Text = ""
  258. txtlb.Font = "Bodoni"
  259. txtlb.TextColor3 = Color3.new(0,0,0)
  260. txtlb.TextStrokeTransparency = 0
  261. txtlb.BackgroundTransparency = 0.75
  262. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  263. txtlb.TextStrokeColor3 = color
  264. txtlb.TextScaled = true
  265. txtlb.Size = UDim2.new(1,0,0.25,0)
  266. txtlb.TextXAlignment = "Left"
  267. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  268. local txtlb2 = Instance.new("TextLabel",scrg)
  269. txtlb2.Text = "Lunar Banisher"
  270. txtlb2.Font = "Arcade"
  271. txtlb2.TextColor3 = Color3.new(0,0,0)
  272. txtlb2.TextStrokeTransparency = 0
  273. txtlb2.BackgroundTransparency = 1
  274. txtlb2.TextStrokeColor3 = color
  275. txtlb2.TextSize = 40
  276. txtlb2.Size = UDim2.new(1,0,0.25,0)
  277. txtlb2.TextXAlignment = "Left"
  278. txtlb2.Position = UDim2.new(0,0,1,0)
  279. local fvalen = 0.55
  280. local fval = -0.49
  281. coroutine.resume(coroutine.create(function()
  282. while true do
  283. swait()
  284. if chaosmode == true then
  285. txtlb.Rotation = math.random(-1,1)
  286. txtlb2.Rotation = math.random(-1,1)
  287. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  288. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  289. txtlb.TextStrokeColor3 = BrickColor.random().Color
  290. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  291. end
  292. end
  293. end))
  294. coroutine.resume(coroutine.create(function()
  295. while true do
  296. swait()
  297. if scrg.Parent ~= nil then
  298. fvalen = fvalen - 0.0001
  299. elseif scrg.Parent == nil then
  300. break
  301. end
  302. end
  303. end))
  304. local flol = 1.75
  305. local flil = 1.6
  306. coroutine.resume(coroutine.create(function()
  307. for i = 0, 9 do
  308. swait()
  309. fval = fval + 0.05
  310. flol = flol - 0.1
  311. flil = flil - 0.1
  312. txtlb.Text = ""
  313. txtlb.Position = UDim2.new(0,0,flol,0)
  314. txtlb2.Position = UDim2.new(0,0,flil,0)
  315. end
  316. txtlb.Text = text
  317. wait(watval)
  318. local valinc = 0
  319. for i = 0, 99 do
  320. swait()
  321. valinc = valinc + 0.0001
  322. flol = flol + valinc
  323. flil = flil + valinc
  324. txtlb.Rotation = txtlb.Rotation + valinc*20
  325. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  326. txtlb.Position = UDim2.new(0,0,flol,0)
  327. txtlb2.Position = UDim2.new(0,0,flil,0)
  328. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  329. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  330. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  331. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  332. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  333. end
  334. scrg:Destroy()
  335. end))
  336. end))
  337. end
  338. end
  339.  
  340. local disably = false
  341. function warnedpeople(text,represfont,color,color2)
  342. if disably ~= true then
  343. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  344. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  345. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  346. coroutine.resume(coroutine.create(function()
  347. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  348. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  349. end
  350. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  351. scrg.Name = "Spinny"
  352. local frm = Instance.new("Frame",scrg)
  353. frm.BackgroundTransparency = 0.25
  354. frm.BackgroundColor3 = color
  355. frm.BorderSizePixel = 0
  356. frm.Rotation = 45
  357. frm.Size = UDim2.new(3,0,0,100)
  358. frm.Position = UDim2.new(-4,0,0,0)
  359. local frm2 = frm:Clone()
  360. frm2.Parent = scrg
  361. frm2.BackgroundColor3 = color2
  362. frm2.Position = UDim2.new(-4.05,0,0,0)
  363. local imlb = Instance.new("ImageLabel",scrg)
  364. imlb.BackgroundTransparency = 1
  365. imlb.BackgroundColor3 = Color3.new(0,0,0)
  366. imlb.Image = "rbxassetid://2344851144"
  367. imlb.Size = UDim2.new(0,750,0,750)
  368. imlb.ImageColor3 = color2
  369. imlb.ImageTransparency = 0.25
  370. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  371. local imlb2 = imlb:Clone()
  372. imlb2.Image = "rbxassetid://2325939897"
  373. imlb2.Size = UDim2.new(1,0,1,0)
  374. imlb2.ImageColor3 = color
  375. imlb2.ImageTransparency = 0
  376. imlb2.Position = UDim2.new(0,0,0,0)
  377. local imlb3 = imlb:Clone()
  378. imlb3.Image = "rbxassetid://2344830904"
  379. imlb3.Size = UDim2.new(1,0,1,0)
  380. imlb3.ImageColor3 = color2
  381. imlb3.ImageTransparency = 0
  382. imlb3.Position = UDim2.new(0,0,0,0)
  383. local imlb4 = imlb:Clone()
  384. imlb4.Image = "rbxassetid://2344870656"
  385. imlb4.Size = UDim2.new(3,0,3,0)
  386. imlb4.ImageColor3 = Color3.new(1,1,1)
  387. imlb4.ImageTransparency = 0
  388. imlb4.Position = UDim2.new(-1,0,-1,0)
  389. local imlb5 = imlb:Clone()
  390. imlb5.Image = "rbxassetid://2344870656"
  391. imlb5.Size = UDim2.new(10,0,10,0)
  392. imlb5.ImageColor3 = color2
  393. imlb5.ImageTransparency = 0
  394. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  395. imlb2.Parent = imlb
  396. imlb3.Parent = imlb
  397. imlb4.Parent = imlb
  398. imlb5.Parent = imlb
  399. local txtlb2 = Instance.new("TextLabel",imlb)
  400. txtlb2.Text = text
  401. txtlb2.Font = represfont
  402. txtlb2.TextColor3 = color
  403. txtlb2.TextStrokeTransparency = 0
  404. txtlb2.BackgroundTransparency = 1
  405. txtlb2.TextStrokeColor3 = color2
  406. txtlb2.TextScaled = true
  407. txtlb2.Size = UDim2.new(1,0,1,0)
  408. txtlb2.Position = UDim2.new(0,0,0,0)
  409. local fvalen = 0.55
  410. local fval = -0.49
  411. coroutine.resume(coroutine.create(function()
  412. while true do
  413. swait()
  414. if chaosmode == true then
  415. txtlb2.Rotation = math.random(-1,1)
  416. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  417. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  418. imlb.ImageColor3 = BrickColor.random().Color
  419. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  420. end
  421. end
  422. end))
  423. coroutine.resume(coroutine.create(function()
  424. while true do
  425. swait()
  426. if scrg.Parent ~= nil then
  427. fvalen = fvalen - 0.0001
  428. elseif scrg.Parent == nil then
  429. break
  430. end
  431. end
  432. end))
  433. local flol = -5
  434. local flil = 1.6
  435. coroutine.resume(coroutine.create(function()
  436. for i = 0, 49 do
  437. swait()
  438. flol = flol + 0.125
  439. flil = flil - 0.1
  440. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  441. frm.Rotation = frm.Rotation - 0.25
  442. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  443. frm2.Rotation = frm.Rotation + 0.325
  444. imlb3.Rotation = imlb3.Rotation - 10
  445. imlb2.Rotation = imlb.Rotation + 7.5
  446. imlb.Rotation = imlb.Rotation + 5
  447. txtlb2.Rotation = txtlb2.Rotation - 5.125
  448. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  449. end
  450. for i = 0, 99 do
  451. swait()
  452. fval = fval + 0.05
  453. flol = flol + 0.005
  454. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  455. frm.Rotation = frm.Rotation - 0.075
  456. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  457. frm2.Rotation = frm2.Rotation + 0.125
  458. imlb3.Rotation = imlb3.Rotation - 2
  459. imlb2.Rotation = imlb.Rotation + 1.5
  460. imlb.Rotation = imlb.Rotation + 1
  461. txtlb2.Rotation = txtlb2.Rotation - 1.125
  462. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  463. end
  464. local valinc = 0
  465. local vinc2 = 1
  466. for i = 0, 99 do
  467. swait()
  468. vinc2 = vinc2 + 0.25
  469. valinc = valinc + 0.0001
  470. flol = flol + valinc
  471. flil = flil + valinc
  472. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  473. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  474. imlb.Rotation = imlb.Rotation + 1*vinc2
  475. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  476. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  477. frm.Rotation = frm.Rotation + 0.1*vinc2
  478. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  479. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  480. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  481. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  482. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  483. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  484. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  485. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  486. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  487. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  488. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  489. end
  490. scrg:Destroy()
  491. end))
  492. end))
  493. end
  494. end
  495. end
  496.  
  497. local Create = LoadLibrary("RbxUtility").Create
  498.  
  499. CFuncs = {
  500. ["Part"] = {
  501. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  502. local Part = Create("Part"){
  503. Parent = Parent,
  504. Reflectance = Reflectance,
  505. Transparency = Transparency,
  506. CanCollide = false,
  507. Locked = true,
  508. BrickColor = BrickColor.new(tostring(BColor)),
  509. Name = Name,
  510. Size = Size,
  511. Material = Material,
  512. }
  513. RemoveOutlines(Part)
  514. return Part
  515. end;
  516. };
  517.  
  518. ["Mesh"] = {
  519. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  520. local Msh = Create(Mesh){
  521. Parent = Part,
  522. Offset = OffSet,
  523. Scale = Scale,
  524. }
  525. if Mesh == "SpecialMesh" then
  526. Msh.MeshType = MeshType
  527. Msh.MeshId = MeshId
  528. end
  529. return Msh
  530. end;
  531. };
  532.  
  533. ["Mesh"] = {
  534. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  535. local Msh = Create(Mesh){
  536. Parent = Part,
  537. Offset = OffSet,
  538. Scale = Scale,
  539. }
  540. if Mesh == "SpecialMesh" then
  541. Msh.MeshType = MeshType
  542. Msh.MeshId = MeshId
  543. end
  544. return Msh
  545. end;
  546. };
  547.  
  548. ["Weld"] = {
  549. Create = function(Parent, Part0, Part1, C0, C1)
  550. local Weld = Create("Weld"){
  551. Parent = Parent,
  552. Part0 = Part0,
  553. Part1 = Part1,
  554. C0 = C0,
  555. C1 = C1,
  556. }
  557. return Weld
  558. end;
  559. };
  560.  
  561. ["Sound"] = {
  562. Create = function(id, par, vol, pit)
  563. coroutine.resume(coroutine.create(function()
  564. local S = Create("Sound"){
  565. Volume = vol,
  566. Name = "EffectSoundo",
  567. Pitch = pit or 1,
  568. SoundId = id,
  569. Parent = par or workspace,
  570. }
  571. wait()
  572. S:play()
  573. game:GetService("Debris"):AddItem(S, 10)
  574. end))
  575. end;
  576. };
  577.  
  578. ["TimeSound"] = {
  579. Create = function(id, par, vol, pit, timepos)
  580. coroutine.resume(coroutine.create(function()
  581. local S = Create("Sound"){
  582. Volume = vol,
  583. Name = "EffectSoundo",
  584. Pitch = pit or 1,
  585. SoundId = id,
  586. TimePosition = timepos,
  587. Parent = par or workspace,
  588. }
  589. wait()
  590. S:play()
  591. game:GetService("Debris"):AddItem(S, 10)
  592. end))
  593. end;
  594. };
  595. ["EchoSound"] = {
  596. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  597. coroutine.resume(coroutine.create(function()
  598. local Sas = Create("Sound"){
  599. Volume = vol,
  600. Name = "EffectSoundo",
  601. Pitch = pit or 1,
  602. SoundId = id,
  603. TimePosition = timepos,
  604. Parent = par or workspace,
  605. }
  606. local E = Create("EchoSoundEffect"){
  607. Delay = echodelay,
  608. Name = "Echo",
  609. Feedback = fedb,
  610. DryLevel = dryl,
  611. Parent = Sas,
  612. }
  613. wait()
  614. Sas:play()
  615. game:GetService("Debris"):AddItem(Sas, delays)
  616. end))
  617. end;
  618. };
  619.  
  620. ["LongSound"] = {
  621. Create = function(id, par, vol, pit)
  622. coroutine.resume(coroutine.create(function()
  623. local S = Create("Sound"){
  624. Volume = vol,
  625. Pitch = pit or 1,
  626. SoundId = id,
  627. Parent = par or workspace,
  628. }
  629. wait()
  630. S:play()
  631. game:GetService("Debris"):AddItem(S, 60)
  632. end))
  633. end;
  634. };
  635.  
  636. ["ParticleEmitter"] = {
  637. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  638. local fp = Create("ParticleEmitter"){
  639. Parent = Parent,
  640. Color = ColorSequence.new(Color1, Color2),
  641. LightEmission = LightEmission,
  642. Size = Size,
  643. Texture = Texture,
  644. Transparency = Transparency,
  645. ZOffset = ZOffset,
  646. Acceleration = Accel,
  647. Drag = Drag,
  648. LockedToPart = LockedToPart,
  649. VelocityInheritance = VelocityInheritance,
  650. EmissionDirection = EmissionDirection,
  651. Enabled = Enabled,
  652. Lifetime = LifeTime,
  653. Rate = Rate,
  654. Rotation = Rotation,
  655. RotSpeed = RotSpeed,
  656. Speed = Speed,
  657. VelocitySpread = VelocitySpread,
  658. }
  659. return fp
  660. end;
  661. };
  662.  
  663. CreateTemplate = {
  664.  
  665. };
  666. }
  667.  
  668.  
  669.  
  670. New = function(Object, Parent, Name, Data)
  671. local Object = Instance.new(Object)
  672. for Index, Value in pairs(Data or {}) do
  673. Object[Index] = Value
  674. end
  675. Object.Parent = Parent
  676. Object.Name = Name
  677. return Object
  678. end
  679. local halocolor = BrickColor.new("Pastel light blue")
  680. local halocolor2 = BrickColor.new("Cool yellow")
  681. local starcolor = BrickColor.new("Bright yellow")
  682. local lunacolor = BrickColor.new("Navy blue")
  683. local lunacolor2 = BrickColor.new("Bright blue")
  684. local wepcolor = BrickColor.new("Really black")
  685. local maincolor = BrickColor.new("Really black")
  686. local m = Instance.new("Model",char)
  687. local m2 = Instance.new("Model",char)
  688. local m3 = Instance.new("Model",char)
  689. local mw1 = Instance.new("Model",char)
  690. local mw2 = Instance.new("Model",char)
  691.  
  692.  
  693.  
  694.  
  695. local extrawingmod1 = Instance.new("Model",char)
  696. local extrawingmod2 = Instance.new("Model",char)
  697.  
  698. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  699. local p = Instance.new("Part")
  700. p.TopSurface = 0
  701. p.BottomSurface = 0
  702. p.Parent = parent
  703. p.Size = Vector3.new(0.1,0.1,0.1)
  704. p.Transparency = transparency
  705. p.Reflectance = reflectance
  706. p.CanCollide = false
  707. p.Locked = true
  708. p.BrickColor = brickcolor
  709. p.Material = material
  710. return p
  711. end
  712.  
  713. function CreateMesh(parent,meshtype,x1,y1,z1)
  714. local mesh = Instance.new("SpecialMesh",parent)
  715. mesh.MeshType = meshtype
  716. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  717. return mesh
  718. end
  719.  
  720. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  721. local mesh = Instance.new("SpecialMesh",parent)
  722. mesh.MeshType = "FileMesh"
  723. mesh.MeshId = meshid
  724. mesh.Scale = Vector3.new(x1,y1,z1)
  725. return mesh
  726. end
  727.  
  728.  
  729. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  730. local mesh = Instance.new("SpecialMesh",parent)
  731. mesh.MeshType = "FileMesh"
  732. mesh.MeshId = meshid
  733. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  734. mesh.Scale = Vector3.new(x1,y1,z1)
  735. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  736. return mesh
  737. end
  738.  
  739. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  740. local weld = Instance.new("Weld")
  741. weld.Parent = parent
  742. weld.Part0 = part0
  743. weld.Part1 = part1
  744. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  745. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  746. return weld
  747. end
  748.  
  749.  
  750. --------------
  751. --------------
  752. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  753. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  754. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  755. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  756.  
  757. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  758. CreateMesh(handle,"Brick",0,0,0)
  759. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  760. local valuaring = 10
  761. for i = 0, 49 do
  762. valuaring = valuaring + 10
  763. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  764. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  765. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  766. end
  767.  
  768. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  769. CreateMesh(handle,"Brick",0,0,0)
  770. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  771. local valuaring = 10
  772. for i = 0, 49 do
  773. valuaring = valuaring + 10
  774. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  775. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  776. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  777. end
  778.  
  779.  
  780. local handle = CreateParta(m,1,1,"Neon",maincolor)
  781. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  782. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  783.  
  784. --- Left wing.
  785.  
  786. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  787. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  788. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  789.  
  790. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  792. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  793. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  795. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  796. A0 = Instance.new('Attachment',wed)
  797. A0.Position = vt(0,0.25,0.25)
  798. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  799. CreateMesh(wed,"Wedge",0.05,0.5,3)
  800. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  801. A1 = Instance.new('Attachment',wed)
  802. A1.Position = vt(0,-0.25,-2)
  803. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  804. CreateMesh(wed,"Wedge",0.05,3,0.5)
  805. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  806.  
  807. tl1 = Instance.new('Trail',wed)
  808. tl1.Attachment0 = A1
  809. tl1.Attachment1 = A0
  810. tl1.Texture = "rbxassetid://2108945559"
  811. tl1.LightEmission = 1
  812. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  813. tl1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  814. tl1.Lifetime = 0.6
  815.  
  816.  
  817. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  818. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  819. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  820.  
  821. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  822. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  823. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  824. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  825. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  826. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  827. A0 = Instance.new('Attachment',wed)
  828. A0.Position = vt(0,0.25,0.25)
  829. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  830. CreateMesh(wed,"Wedge",0.05,0.5,3)
  831. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  832. A1 = Instance.new('Attachment',wed)
  833. A1.Position = vt(0,-0.25,-2)
  834. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  835. CreateMesh(wed,"Wedge",0.05,3,0.5)
  836. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  837.  
  838. tl2 = Instance.new('Trail',wed)
  839. tl2.Attachment0 = A1
  840. tl2.Attachment1 = A0
  841. tl2.Texture = "rbxassetid://2108945559"
  842. tl2.LightEmission = 1
  843. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  844. tl2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  845. tl2.Lifetime = 0.6
  846.  
  847. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  848. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  849. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  850.  
  851. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  852. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  853. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  854. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  855. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  856. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  857. A0 = Instance.new('Attachment',wed)
  858. A0.Position = vt(0,0.25,0.25)
  859. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,3)
  861. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  862. A1 = Instance.new('Attachment',wed)
  863. A1.Position = vt(0,-0.25,-2)
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,3,0.5)
  866. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867.  
  868. tl3 = Instance.new('Trail',wed)
  869. tl3.Attachment0 = A1
  870. tl3.Attachment1 = A0
  871. tl3.Texture = "rbxassetid://2108945559"
  872. tl3.LightEmission = 1
  873. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  874. tl3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  875. tl3.Lifetime = 0.6
  876.  
  877. tl1.Enabled = false
  878. tl2.Enabled = false
  879. tl3.Enabled = false
  880. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  881. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  882. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  883.  
  884. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  885. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  886. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  887. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  888. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  889. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  890. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  891. CreateMesh(wed,"Wedge",0.05,0.5,3)
  892. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  893. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,3,0.5)
  895. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  896.  
  897. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  898. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  899. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  900.  
  901. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  902. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  903. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  904. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  906. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  907. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  908. CreateMesh(wed,"Wedge",0.05,0.5,3)
  909. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  910. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  911. CreateMesh(wed,"Wedge",0.05,3,0.5)
  912. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  913.  
  914. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  915. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  916. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  917.  
  918. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  919. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  920. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  921. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  922. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  923. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  924. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  925. CreateMesh(wed,"Wedge",0.05,0.5,3)
  926. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  927. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  928. CreateMesh(wed,"Wedge",0.05,3,0.5)
  929. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  930.  
  931. -- Right wing.
  932.  
  933. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  934. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  935. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  936.  
  937. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  939. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  940. A0 = Instance.new('Attachment',wed)
  941. A0.Position = vt(0,0.25,0.25)
  942. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  944. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  946. CreateMesh(wed,"Wedge",0.05,0.5,3)
  947. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  948. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  949. CreateMesh(wed,"Wedge",0.05,3,0.5)
  950. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  951. A1 = Instance.new('Attachment',wed)
  952. A1.Position = vt(0,2,0.25)
  953.  
  954. tr1 = Instance.new('Trail',wed)
  955. tr1.Attachment0 = A1
  956. tr1.Attachment1 = A0
  957. tr1.Texture = "rbxassetid://2108945559"
  958. tr1.LightEmission = 1
  959. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  960. tr1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  961. tr1.Lifetime = 0.6
  962.  
  963. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  964. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  965. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  966.  
  967. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  969. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  970. A0 = Instance.new('Attachment',wed)
  971. A0.Position = vt(0,0.25,0.25)
  972. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,3)
  977. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,3,0.5)
  980. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. A1 = Instance.new('Attachment',wed)
  982. A1.Position = vt(0,2,0.25)
  983.  
  984. tr2 = Instance.new('Trail',wed)
  985. tr2.Attachment0 = A1
  986. tr2.Attachment1 = A0
  987. tr2.Texture = "rbxassetid://2108945559"
  988. tr2.LightEmission = 1
  989. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  990. tr2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  991. tr2.Lifetime = 0.6
  992.  
  993. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  994. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  995. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  996.  
  997. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  998. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  999. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1000. A0 = Instance.new('Attachment',wed)
  1001. A0.Position = vt(0,0.25,0.25)
  1002. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1003. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1004. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1005. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1007. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1008. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1010. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1011. A1 = Instance.new('Attachment',wed)
  1012. A1.Position = vt(0,2,0.25)
  1013.  
  1014. tr3 = Instance.new('Trail',wed)
  1015. tr3.Attachment0 = A1
  1016. tr3.Attachment1 = A0
  1017. tr3.Texture = "rbxassetid://2108945559"
  1018. tr3.LightEmission = 1
  1019. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1020. tr3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  1021. tr3.Lifetime = 0.6
  1022.  
  1023.  
  1024. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1025. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1026. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1027.  
  1028. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1030. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1031. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1033. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1034. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1035. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1036. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1037. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1039. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1040.  
  1041. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1042. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1043. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1044.  
  1045. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1046. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1047. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1048. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1049. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1050. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1051. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1052. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1053. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1054. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1056. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057.  
  1058. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1059. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1060. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1061.  
  1062. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1064. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1065. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1066. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1067. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1068. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1069. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1070. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1071. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1072. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1073. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1074.  
  1075. --HERES THE RING
  1076.  
  1077.  
  1078. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1079. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1080. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1081. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1082. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1083. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1084. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1085. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1086. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087.  
  1088.  
  1089. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1090. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1091. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1092.  
  1093. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1094. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1095. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096.  
  1097.  
  1098.  
  1099. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1100. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1101. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102.  
  1103. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1104. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1105. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106.  
  1107. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1108. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1109. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1110.  
  1111. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1112. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1113. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1115. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1116. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1117.  
  1118. --- second ring
  1119.  
  1120.  
  1121. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1122. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1123. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1124.  
  1125. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1126. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1127. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128.  
  1129.  
  1130.  
  1131. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1132. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1133. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1134.  
  1135. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1136. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1137. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1138.  
  1139. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1140. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1141. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1142.  
  1143. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1144. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1145. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1146. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1147. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1148. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1149.  
  1150.  
  1151.  
  1152. for i, v in pairs(m:GetChildren()) do
  1153. if v:IsA("Part") then
  1154. v.BrickColor = BrickColor.new("Really black")
  1155. v.Material = "Glass"
  1156. end
  1157. end
  1158. for i, v in pairs(m2:GetChildren()) do
  1159. if v:IsA("Part") then
  1160. v.BrickColor = BrickColor.new("Crimson")
  1161. v.Material = "Granite"
  1162. end
  1163. end
  1164. for i, v in pairs(m3:GetChildren()) do
  1165. if v:IsA("Part") then
  1166. v.BrickColor = BrickColor.new("Really blue")
  1167. v.Material = "Neon"
  1168. end
  1169. end
  1170. for i, v in pairs(mw2:GetChildren()) do
  1171. if v:IsA("Part") then
  1172. v.BrickColor = BrickColor.new("Really blue")
  1173. v.Material = "Neon"
  1174. end
  1175. end
  1176. for i, v in pairs(mw1:GetChildren()) do
  1177. if v:IsA("Part") then
  1178. v.Transparency = 1
  1179. v.BrickColor = BrickColor.new("Really blue")
  1180. v.Material = "Neon"
  1181. end
  1182. end
  1183. for i, v in pairs(extrawingmod1:GetChildren()) do
  1184. if v:IsA("Part") then
  1185. v.Transparency = 1
  1186. v.BrickColor = BrickColor.new("White")
  1187. v.Material = "Neon"
  1188. end
  1189. end
  1190. for i, v in pairs(extrawingmod2:GetChildren()) do
  1191. if v:IsA("Part") then
  1192. v.Transparency = 1
  1193. v.BrickColor = BrickColor.new("White")
  1194. v.Material = "Neon"
  1195. end
  1196. end
  1197. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  1198. local SECONDRUINCOLOR = BrickColor.new("Navy blue")
  1199. local THIRDRUINCOLOR = BrickColor.new("Really black")
  1200.  
  1201. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  1202. for i, v in pairs(mw2:GetChildren()) do
  1203. if v:IsA("Part") then
  1204. v.BrickColor = one
  1205. v.Material = "Neon"
  1206. end
  1207. end
  1208. refec.Color = ColorSequence.new(one.Color)
  1209. refec2.Color = ColorSequence.new(one.Color)
  1210. refec3.Color = ColorSequence.new(one.Color)
  1211. tr1.Color = ColorSequence.new(one.Color)
  1212. tr2.Color = ColorSequence.new(one.Color)
  1213. tr3.Color = ColorSequence.new(one.Color)
  1214. imgl2.ImageColor3 = one.Color
  1215. circl.ImageColor3 = two.Color
  1216. techc.ImageColor3 = one.Color
  1217. circl2.ImageColor3 = one.Color
  1218. ned.TextColor3 = two.Color
  1219. ned.TextStrokeColor3 = one.Color
  1220. for i, v in pairs(mw1:GetChildren()) do
  1221. if v:IsA("Part") then
  1222. v.Transparency = 0
  1223. v.BrickColor = two
  1224. v.Material = "Neon"
  1225. end
  1226. end
  1227. tl1.Color = ColorSequence.new(two.Color)
  1228. tl2.Color = ColorSequence.new(two.Color)
  1229. tl3.Color = ColorSequence.new(two.Color)
  1230. for i, v in pairs(m:GetChildren()) do
  1231. if v:IsA("Part") then
  1232. v.BrickColor = three
  1233. v.Material = "Ice"
  1234. end
  1235. end
  1236. for i, v in pairs(m2:GetChildren()) do
  1237. if v:IsA("Part") then
  1238. v.BrickColor = four
  1239. v.Material = "Ice"
  1240. end
  1241. end
  1242. for i, v in pairs(m3:GetChildren()) do
  1243. if v:IsA("Part") then
  1244. v.BrickColor = five
  1245. v.Material = "Neon"
  1246. end
  1247. end
  1248. for i, v in pairs(extrawingmod1:GetChildren()) do
  1249. if v:IsA("Part") then
  1250. v.Transparency = exonetran
  1251. v.BrickColor = exone
  1252. v.Material = "Neon"
  1253. end
  1254. end
  1255. for i, v in pairs(extrawingmod2:GetChildren()) do
  1256. if v:IsA("Part") then
  1257. v.Transparency = extwotran
  1258. v.BrickColor = extwo
  1259. v.Material = "Neon"
  1260. end
  1261. end
  1262. end
  1263.  
  1264. function bosschatfunc(text,color,watval)
  1265. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1266. coroutine.resume(coroutine.create(function()
  1267. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1268. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1269. end
  1270. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1271. scrg.Name = "Dialog"
  1272. local txtlb = Instance.new("TextLabel",scrg)
  1273. txtlb.Text = ""
  1274. txtlb.Font = "Bodoni"
  1275. txtlb.TextColor3 = Color3.new(0,0,0)
  1276. txtlb.TextStrokeTransparency = 0
  1277. txtlb.BackgroundTransparency = 0.75
  1278. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1279. txtlb.TextStrokeColor3 = color
  1280. txtlb.TextScaled = true
  1281. txtlb.Size = UDim2.new(1,0,0.25,0)
  1282. txtlb.TextXAlignment = "Left"
  1283. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1284. local txtlb2 = Instance.new("TextLabel",scrg)
  1285. txtlb2.Text = "Chaotic:"
  1286. txtlb2.Font = "Arcade"
  1287. txtlb2.TextColor3 = Color3.new(0,0,0)
  1288. txtlb2.TextStrokeTransparency = 0
  1289. txtlb2.BackgroundTransparency = 1
  1290. txtlb2.TextStrokeColor3 = color
  1291. txtlb2.TextSize = 40
  1292. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1293. txtlb2.TextXAlignment = "Left"
  1294. txtlb2.Position = UDim2.new(0,0,1,0)
  1295. local fvalen = 0.55
  1296. local fval = -0.49
  1297. coroutine.resume(coroutine.create(function()
  1298. while true do
  1299. Swait()
  1300. if MODE == "Sanity" then
  1301. txtlb.Rotation = math.random(-1,1)
  1302. txtlb2.Rotation = math.random(-1,1)
  1303. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1304. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1305. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1306. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1307. end
  1308. end
  1309. end))
  1310. coroutine.resume(coroutine.create(function()
  1311. while true do
  1312. Swait()
  1313. if scrg.Parent ~= nil then
  1314. fvalen = fvalen - 0.0001
  1315. elseif scrg.Parent == nil then
  1316. break
  1317. end
  1318. end
  1319. end))
  1320. local flol = 1.75
  1321. local flil = 1.6
  1322. coroutine.resume(coroutine.create(function()
  1323. for i = 0, 9 do
  1324. Swait()
  1325. fval = fval + 0.05
  1326. flol = flol - 0.1
  1327. flil = flil - 0.1
  1328. txtlb.Text = ""
  1329. txtlb.Position = UDim2.new(0,0,flol,0)
  1330. txtlb2.Position = UDim2.new(0,0,flil,0)
  1331. end
  1332. txtlb.Text = text
  1333. wait(watval)
  1334. local valinc = 0
  1335. for i = 0, 99 do
  1336. Swait()
  1337. valinc = valinc + 0.0001
  1338. flol = flol + valinc
  1339. flil = flil + valinc
  1340. txtlb.Rotation = txtlb.Rotation + valinc*20
  1341. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1342. txtlb.Position = UDim2.new(0,0,flol,0)
  1343. txtlb2.Position = UDim2.new(0,0,flil,0)
  1344. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1345. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1346. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1347. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1348. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1349. end
  1350. scrg:Destroy()
  1351. end))
  1352. end))
  1353. end
  1354. end
  1355.  
  1356. function BigBlack(text,color,watval)
  1357. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1358. coroutine.resume(coroutine.create(function()
  1359. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1360. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1361. end
  1362. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1363. scrg.Name = "Dialog"
  1364. local txtlb = Instance.new("TextLabel",scrg)
  1365. txtlb.Text = ""
  1366. txtlb.Font = "Bodoni"
  1367. txtlb.TextColor3 = Color3.new(0,0,0)
  1368. txtlb.TextStrokeTransparency = 1
  1369. txtlb.BackgroundTransparency = 1
  1370. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1371. txtlb.TextStrokeColor3 = color
  1372. txtlb.TextScaled = true
  1373. txtlb.Size = UDim2.new(1,0,1,0)
  1374. txtlb.TextXAlignment = "Center"
  1375. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  1376. local txtlb2 = Instance.new("TextLabel",scrg)
  1377. txtlb2.Text = "Chaotic:"
  1378. txtlb2.Font = "Arcade"
  1379. txtlb2.TextColor3 = Color3.new(0,0,0)
  1380. txtlb2.TextStrokeTransparency = 0
  1381. txtlb2.BackgroundTransparency = 1
  1382. txtlb2.TextStrokeColor3 = color
  1383. txtlb2.TextSize = 40
  1384. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1385. txtlb2.TextXAlignment = "Left"
  1386. txtlb2.Position = UDim2.new(0,0,1,0)
  1387. local fvalen = 0.55
  1388. local fval = -0.49
  1389. coroutine.resume(coroutine.create(function()
  1390. while true do
  1391. Swait()
  1392. if MODE == "Sanity" then
  1393. txtlb.Rotation = math.random(-1,1)
  1394. txtlb2.Rotation = math.random(-1,1)
  1395. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1396. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1397. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1398. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1399. end
  1400. end
  1401. end))
  1402. coroutine.resume(coroutine.create(function()
  1403. while true do
  1404. Swait()
  1405. if scrg.Parent ~= nil then
  1406. fvalen = fvalen - 0.0001
  1407. elseif scrg.Parent == nil then
  1408. break
  1409. end
  1410. end
  1411. end))
  1412. local flol = 1.05
  1413. local flil = 0.75
  1414. local flil2 = -0.2
  1415. coroutine.resume(coroutine.create(function()
  1416. for i = 1,string.len(text),1 do
  1417. wait()
  1418. text.Text = string.sub(text,1,i)
  1419. end
  1420. end))
  1421. coroutine.resume(coroutine.create(function()
  1422. for i = 0, 1 do
  1423. fval = fval + 0.05
  1424. flol = flol - 0.1
  1425. flil2 = flil2 + 0.1
  1426. txtlb.Text = ""
  1427. txtlb.Position = UDim2.new(flil2,0,0,0)
  1428. txtlb.BackgroundTransparency = 1 - 0.1
  1429. txtlb2.Position = UDim2.new(flil2,0,0,0)
  1430. end
  1431.  
  1432. for i = 0, 99 do
  1433. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency - 0.01
  1434. txtlb.TextTransparency = txtlb.TextTransparency - 0.01
  1435. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency - 0.01
  1436. txtlb2.TextTransparency = txtlb2.TextTransparency - 0.01
  1437. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency - 0.0025
  1438. end
  1439.  
  1440. txtlb.Text = text
  1441. wait(watval)
  1442. local valinc = 0
  1443. for i = 0, 99 do
  1444. Swait()
  1445. valinc = valinc + 0.0002
  1446. flol = flol + valinc
  1447. flil2 = flil2 + valinc
  1448. txtlb.Rotation = txtlb.Rotation + valinc*15
  1449. txtlb2.Rotation = txtlb2.Rotation - valinc*15
  1450. txtlb.Position = UDim2.new(flil2,0,0,0)
  1451. txtlb2.Position = UDim2.new(flil2,0,0,0)
  1452. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1453. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1454. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1455. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1456. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1457. end
  1458. scrg:Destroy()
  1459. end))
  1460. end))
  1461. end
  1462. end
  1463. ------
  1464.  
  1465.  
  1466. function RemoveOutlines(part)
  1467. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1468. end
  1469. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1470. local Part = Create("Part")({
  1471. Parent = Parent,
  1472. Reflectance = Reflectance,
  1473. Transparency = Transparency,
  1474. CanCollide = false,
  1475. Locked = true,
  1476. BrickColor = BrickColor.new(tostring(BColor)),
  1477. Name = Name,
  1478. Size = Size,
  1479. Material = Material
  1480. })
  1481. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1482. RemoveOutlines(Part)
  1483. return Part
  1484. end
  1485. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1486. local Msh = Create(Mesh)({
  1487. Parent = Part,
  1488. Offset = OffSet,
  1489. Scale = Scale
  1490. })
  1491. if Mesh == "SpecialMesh" then
  1492. Msh.MeshType = MeshType
  1493. Msh.MeshId = MeshId
  1494. end
  1495. return Msh
  1496. end
  1497. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1498. local Weld = Create("Weld")({
  1499. Parent = Parent,
  1500. Part0 = Part0,
  1501. Part1 = Part1,
  1502. C0 = C0,
  1503. C1 = C1
  1504. })
  1505. return Weld
  1506. end
  1507.  
  1508.  
  1509.  
  1510. Player = plr
  1511. PlayerGui = Player.PlayerGui
  1512. Cam = workspace.CurrentCamera
  1513. Backpack = Player.Backpack
  1514. Character = Player.Character
  1515. Humanoid = Character.Humanoid
  1516. RootPart = Character["HumanoidRootPart"]
  1517. Torso = Character["Torso"]
  1518. Head = Character["Head"]
  1519. RightArm = Character["Right Arm"]
  1520. LeftArm = Character["Left Arm"]
  1521. RightLeg = Character["Right Leg"]
  1522. LeftLeg = Character["Left Leg"]
  1523. RootJoint = RootPart["RootJoint"]
  1524. Neck = Torso["Neck"]
  1525. RightShoulder = Torso["Right Shoulder"]
  1526. LeftShoulder = Torso["Left Shoulder"]
  1527. RightHip = Torso["Right Hip"]
  1528. LeftHip = Torso["Left Hip"]
  1529. local sick = Instance.new("Sound",Torso)
  1530. sick.SoundId = "rbxassetid://1306847940"
  1531. sick.Looped = true
  1532. sick.Pitch = 1
  1533. sick.Volume = 0
  1534. sick.TimePosition = 0
  1535. Character.Archivable = true
  1536. Humanoid.DisplayDistanceType = "None"
  1537.  
  1538. local naeeym2 = Instance.new("BillboardGui",Character)
  1539. naeeym2.AlwaysOnTop = true
  1540. naeeym2.Size = UDim2.new(5,35,2,35)
  1541. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1542. naeeym2.Adornee = Character.Head
  1543. naeeym2.Name = "Name"
  1544. local tecks2 = Instance.new("TextLabel",naeeym2)
  1545. tecks2.BackgroundTransparency = 1
  1546. tecks2.TextScaled = true
  1547. tecks2.BorderSizePixel = 0
  1548. tecks2.Text = "Lunar"
  1549. tecks2.Font = "Antique"
  1550. tecks2.TextSize = 30
  1551. tecks2.TextTransparency = 1
  1552. tecks2.TextStrokeTransparency = 1
  1553. tecks2.TextColor3 = Color3.new(0/255,0/255,255/255)
  1554. tecks2.Size = UDim2.new(1,0,0.5,0)
  1555. tecks2.Parent = naeeym2
  1556.  
  1557. IT = Instance.new
  1558. CF = CFrame.new
  1559. VT = Vector3.new
  1560. RAD = math.rad
  1561. C3 = Color3.new
  1562. UD2 = UDim2.new
  1563. BRICKC = BrickColor.new
  1564. ANGLES = CFrame.Angles
  1565. EULER = CFrame.fromEulerAnglesXYZ
  1566. COS = math.cos
  1567. ACOS = math.acos
  1568. SIN = math.sin
  1569. ASIN = math.asin
  1570. ABS = math.abs
  1571. MRANDOM = math.random
  1572. FLOOR = math.floor
  1573.  
  1574. --//=================================\\
  1575. --|| USEFUL VALUES
  1576. --\\=================================//
  1577.  
  1578. Animation_Speed = 3
  1579. local FORCERESET = false
  1580. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1581. local Speed = 16
  1582. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1583. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1584. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1585. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1586. local DAMAGEMULTIPLIER = 1
  1587. local ANIM = "Idle"
  1588. local ATTACK = false
  1589. local EQUIPPED = false
  1590. local HOLD = false
  1591. local COMBO = 1
  1592. local Rooted = false
  1593. local INTRO = false
  1594. local Gun = IT("Model")
  1595. Gun.Name = "Gun"
  1596. local SINE = 0
  1597. local KEYHOLD = false
  1598. local CHANGE = 2 / Animation_Speed
  1599. local WALKINGANIM = false
  1600. local VALUE1 = false
  1601. local VALUE2 = false
  1602. local ROBLOXIDLEANIMATION = IT("Animation")
  1603. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1604. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1605. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1606. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1607. WEAPONGUI.Name = "BanishV3Gui"
  1608. local Weapon = IT("Model")
  1609. Weapon.Name = "Adds"
  1610. local FaceGradient = IT("Folder", Character)
  1611. FaceGradient.Name = "FaceGradient"
  1612. local Effects = IT("Folder", Weapon)
  1613. Effects.Name = "Effects"
  1614. local ANIMATOR = Humanoid.Animator
  1615. local ANIMATE = Character:FindFirstChild("Animate")
  1616. local UNANCHOR = true
  1617. local TOBANISH = {}
  1618. script.Parent = PlayerGui
  1619.  
  1620. --//=================================\\
  1621. --\\=================================//
  1622.  
  1623.  
  1624. --//=================================\\
  1625. --|| CUSTOMIZATION
  1626. --\\=================================//
  1627.  
  1628. Class_Name = "Sharpshooter"
  1629. Weapon_Name = "Add-ons"
  1630.  
  1631. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  1632. Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  1633.  
  1634. Custom_Color_3 = BRICKC("Navy blue"); --Color for the abilities.
  1635. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  1636. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  1637. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  1638. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  1639.  
  1640. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  1641. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  1642. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  1643. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  1644. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  1645.  
  1646.  
  1647. Player_Size = 1 --Size of the player.
  1648. Animation_Speed = 3
  1649. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1650.  
  1651. local Speed = 16
  1652. local Effects2 = {}
  1653.  
  1654. --//=================================\\
  1655. --|| END OF CUSTOMIZATION
  1656. --\\=================================//
  1657.  
  1658.  
  1659. --//=================================\\
  1660. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1661. --\\=================================//
  1662.  
  1663. ArtificialHB = Instance.new("BindableEvent", script)
  1664. ArtificialHB.Name = "ArtificialHB"
  1665.  
  1666. script:WaitForChild("ArtificialHB")
  1667.  
  1668. frame = Frame_Speed
  1669. tf = 0
  1670. allowframeloss = false
  1671. tossremainder = false
  1672. lastframe = tick()
  1673. script.ArtificialHB:Fire()
  1674.  
  1675. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1676. tf = tf + s
  1677. if tf >= frame then
  1678. if allowframeloss then
  1679. script.ArtificialHB:Fire()
  1680. lastframe = tick()
  1681. else
  1682. for i = 1, math.floor(tf / frame) do
  1683. script.ArtificialHB:Fire()
  1684. end
  1685. lastframe = tick()
  1686. end
  1687. if tossremainder then
  1688. tf = 0
  1689. else
  1690. tf = tf - frame * math.floor(tf / frame)
  1691. end
  1692. end
  1693. end)
  1694.  
  1695. --//=================================\\
  1696. --\\=================================//
  1697.  
  1698. --//=================================\\
  1699. --|| SOME FUNCTIONS
  1700. --\\=================================//
  1701.  
  1702. function Clerp(a, b, t)
  1703. local qa = {QuaternionFromCFrame(a)}
  1704. local qb = {QuaternionFromCFrame(b)}
  1705. local ax, ay, az = a.x, a.y, a.z
  1706. local bx, by, bz = b.x, b.y, b.z
  1707. local _t = 1 - t
  1708. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1709. end
  1710.  
  1711. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1712. local frame = IT("Frame")
  1713. frame.BackgroundTransparency = TRANSPARENCY
  1714. frame.BorderSizePixel = BORDERSIZEPIXEL
  1715. frame.Position = POSITION
  1716. frame.Size = SIZE
  1717. frame.BackgroundColor3 = COLOR
  1718. frame.BorderColor3 = BORDERCOLOR
  1719. frame.Name = NAME
  1720. frame.Parent = PARENT
  1721. return frame
  1722. end
  1723.  
  1724. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1725. local label = IT("TextLabel")
  1726. label.BackgroundTransparency = 1
  1727. label.Size = UD2(1, 0, 1, 0)
  1728. label.Position = UD2(0, 0, 0, 0)
  1729. label.TextColor3 = TEXTCOLOR
  1730. label.TextStrokeTransparency = STROKETRANSPARENCY
  1731. label.TextTransparency = TRANSPARENCY
  1732. label.FontSize = TEXTFONTSIZE
  1733. label.Font = TEXTFONT
  1734. label.BorderSizePixel = BORDERSIZEPIXEL
  1735. label.TextScaled = false
  1736. label.Text = TEXT
  1737. label.Name = NAME
  1738. label.Parent = PARENT
  1739. return label
  1740. end
  1741.  
  1742. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1743. if FLOOR ~= nil then
  1744. coroutine.resume(coroutine.create(function()
  1745. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1746. PART.CFrame = CF(POSITION)
  1747. for i = 1, 45 do
  1748. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1749. RingPiece.Material = FLOOR.Material
  1750. RingPiece.Color = FLOOR.Color
  1751. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1752. Debris:AddItem(RingPiece,SWAIT)
  1753. end
  1754. PART:remove()
  1755. end))
  1756. end
  1757. end
  1758.  
  1759. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1760. if FLOOR ~= nil then
  1761. for i = 1, AMOUNT do
  1762. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1763. DEBREE.Material = FLOOR.Material
  1764. DEBREE.Color = FLOOR.Color
  1765. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1766. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1767. coroutine.resume(coroutine.create(function()
  1768. Swait(15)
  1769. DEBREE.Parent = workspace
  1770. DEBREE.CanCollide = true
  1771. Debris:AddItem(DEBREE,SWAIT)
  1772. end))
  1773. end
  1774. end
  1775. end
  1776.  
  1777. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1778. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1779. end
  1780.  
  1781. function PositiveAngle(NUMBER)
  1782. if NUMBER >= 0 then
  1783. NUMBER = 0
  1784. end
  1785. return NUMBER
  1786. end
  1787.  
  1788. function NegativeAngle(NUMBER)
  1789. if NUMBER <= 0 then
  1790. NUMBER = 0
  1791. end
  1792. return NUMBER
  1793. end
  1794.  
  1795. function Swait(NUMBER)
  1796. if NUMBER == 0 or NUMBER == nil then
  1797. ArtificialHB.Event:wait()
  1798. else
  1799. for i = 1, NUMBER do
  1800. ArtificialHB.Event:wait()
  1801. end
  1802. end
  1803. end
  1804.  
  1805. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1806. local NEWMESH = IT(MESH)
  1807. if MESH == "SpecialMesh" then
  1808. NEWMESH.MeshType = MESHTYPE
  1809. if MESHID ~= "nil" and MESHID ~= "" then
  1810. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1811. end
  1812. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1813. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1814. end
  1815. end
  1816. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1817. NEWMESH.Scale = SCALE
  1818. NEWMESH.Parent = PARENT
  1819. return NEWMESH
  1820. end
  1821.  
  1822. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1823. local NEWPART = IT("Part")
  1824. NEWPART.formFactor = FORMFACTOR
  1825. NEWPART.Reflectance = REFLECTANCE
  1826. NEWPART.Transparency = TRANSPARENCY
  1827. NEWPART.CanCollide = false
  1828. NEWPART.Locked = true
  1829. NEWPART.Anchored = true
  1830. if ANCHOR == false then
  1831. NEWPART.Anchored = false
  1832. end
  1833. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1834. NEWPART.Name = NAME
  1835. NEWPART.Size = SIZE
  1836. NEWPART.Position = Torso.Position
  1837. NEWPART.Material = MATERIAL
  1838. NEWPART:BreakJoints()
  1839. NEWPART.Parent = PARENT
  1840. return NEWPART
  1841. end
  1842.  
  1843. local function weldBetween(a, b)
  1844. local weldd = Instance.new("ManualWeld")
  1845. weldd.Part0 = a
  1846. weldd.Part1 = b
  1847. weldd.C0 = CFrame.new()
  1848. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1849. weldd.Parent = a
  1850. return weldd
  1851. end
  1852.  
  1853.  
  1854. function QuaternionFromCFrame(cf)
  1855. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1856. local trace = m00 + m11 + m22
  1857. if trace > 0 then
  1858. local s = math.sqrt(1 + trace)
  1859. local recip = 0.5 / s
  1860. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1861. else
  1862. local i = 0
  1863. if m11 > m00 then
  1864. i = 1
  1865. end
  1866. if m22 > (i == 0 and m00 or m11) then
  1867. i = 2
  1868. end
  1869. if i == 0 then
  1870. local s = math.sqrt(m00 - m11 - m22 + 1)
  1871. local recip = 0.5 / s
  1872. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1873. elseif i == 1 then
  1874. local s = math.sqrt(m11 - m22 - m00 + 1)
  1875. local recip = 0.5 / s
  1876. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1877. elseif i == 2 then
  1878. local s = math.sqrt(m22 - m00 - m11 + 1)
  1879. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1880. end
  1881. end
  1882. end
  1883.  
  1884. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1885. local xs, ys, zs = x + x, y + y, z + z
  1886. local wx, wy, wz = w * xs, w * ys, w * zs
  1887. local xx = x * xs
  1888. local xy = x * ys
  1889. local xz = x * zs
  1890. local yy = y * ys
  1891. local yz = y * zs
  1892. local zz = z * zs
  1893. 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))
  1894. end
  1895.  
  1896. function QuaternionSlerp(a, b, t)
  1897. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1898. local startInterp, finishInterp;
  1899. if cosTheta >= 0.0001 then
  1900. if (1 - cosTheta) > 0.0001 then
  1901. local theta = ACOS(cosTheta)
  1902. local invSinTheta = 1 / SIN(theta)
  1903. startInterp = SIN((1 - t) * theta) * invSinTheta
  1904. finishInterp = SIN(t * theta) * invSinTheta
  1905. else
  1906. startInterp = 1 - t
  1907. finishInterp = t
  1908. end
  1909. else
  1910. if (1 + cosTheta) > 0.0001 then
  1911. local theta = ACOS(-cosTheta)
  1912. local invSinTheta = 1 / SIN(theta)
  1913. startInterp = SIN((t - 1) * theta) * invSinTheta
  1914. finishInterp = SIN(t * theta) * invSinTheta
  1915. else
  1916. startInterp = t - 1
  1917. finishInterp = t
  1918. end
  1919. end
  1920. 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
  1921. end
  1922.  
  1923. function Clerp(a, b, t)
  1924. local qa = {QuaternionFromCFrame(a)}
  1925. local qb = {QuaternionFromCFrame(b)}
  1926. local ax, ay, az = a.x, a.y, a.z
  1927. local bx, by, bz = b.x, b.y, b.z
  1928. local _t = 1 - t
  1929. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1930. end
  1931.  
  1932. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1933. local frame = IT("Frame")
  1934. frame.BackgroundTransparency = TRANSPARENCY
  1935. frame.BorderSizePixel = BORDERSIZEPIXEL
  1936. frame.Position = POSITION
  1937. frame.Size = SIZE
  1938. frame.BackgroundColor3 = COLOR
  1939. frame.BorderColor3 = BORDERCOLOR
  1940. frame.Name = NAME
  1941. frame.Parent = PARENT
  1942. return frame
  1943. end
  1944.  
  1945. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1946. local label = IT("TextLabel")
  1947. label.BackgroundTransparency = 1
  1948. label.Size = UD2(1, 0, 1, 0)
  1949. label.Position = UD2(0, 0, 0, 0)
  1950. label.TextColor3 = TEXTCOLOR
  1951. label.TextStrokeTransparency = STROKETRANSPARENCY
  1952. label.TextTransparency = TRANSPARENCY
  1953. label.FontSize = TEXTFONTSIZE
  1954. label.Font = TEXTFONT
  1955. label.BorderSizePixel = BORDERSIZEPIXEL
  1956. label.TextScaled = false
  1957. label.Text = TEXT
  1958. label.Name = NAME
  1959. label.Parent = PARENT
  1960. return label
  1961. end
  1962.  
  1963. function NoOutlines(PART)
  1964. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1965. end
  1966.  
  1967. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1968. local NEWWELD = IT(TYPE)
  1969. NEWWELD.Part0 = PART0
  1970. NEWWELD.Part1 = PART1
  1971. NEWWELD.C0 = C0
  1972. NEWWELD.C1 = C1
  1973. NEWWELD.Parent = PARENT
  1974. return NEWWELD
  1975. end
  1976.  
  1977. local S = IT("Sound")
  1978. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1979. local NEWSOUND = nil
  1980. coroutine.resume(coroutine.create(function()
  1981. NEWSOUND = S:Clone()
  1982. NEWSOUND.Parent = PARENT
  1983. NEWSOUND.Volume = VOLUME
  1984. NEWSOUND.Pitch = PITCH
  1985. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1986. NEWSOUND:play()
  1987. if DOESLOOP == true then
  1988. NEWSOUND.Looped = true
  1989. else
  1990. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1991. NEWSOUND:remove()
  1992. end
  1993. end))
  1994. return NEWSOUND
  1995. end
  1996.  
  1997. function CFrameFromTopBack(at, top, back)
  1998. local right = top:Cross(back)
  1999. 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)
  2000. end
  2001.  
  2002. --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})
  2003. function WACKYEFFECT(Table)
  2004. local TYPE = (Table.EffectType or "Sphere")
  2005. local SIZE = (Table.Size or VT(1,1,1))
  2006. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2007. local TRANSPARENCY = (Table.Transparency or 0)
  2008. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2009. local CFRAME = (Table.CFrame or Torso.CFrame)
  2010. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2011. local ROTATION1 = (Table.RotationX or 0)
  2012. local ROTATION2 = (Table.RotationY or 0)
  2013. local ROTATION3 = (Table.RotationZ or 0)
  2014. local MATERIAL = (Table.Material or "Neon")
  2015. local COLOR = (Table.Color or C3(1,1,1))
  2016. local TIME = (Table.Time or 45)
  2017. local SOUNDID = (Table.SoundID or nil)
  2018. local SOUNDPITCH = (Table.SoundPitch or nil)
  2019. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2020. coroutine.resume(coroutine.create(function()
  2021. local PLAYSSOUND = false
  2022. local SOUND = nil
  2023. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2024. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2025. PLAYSSOUND = true
  2026. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2027. end
  2028. EFFECT.Color = COLOR
  2029. local MSH = nil
  2030. if TYPE == "Sphere" then
  2031. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2032. elseif TYPE == "Block" then
  2033. MSH = IT("BlockMesh",EFFECT)
  2034. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2035. elseif TYPE == "Wave" then
  2036. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2037. elseif TYPE == "Ring" then
  2038. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2039. elseif TYPE == "Slash" then
  2040. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2041. elseif TYPE == "Round Slash" then
  2042. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2043. elseif TYPE == "Swirl" then
  2044. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2045. elseif TYPE == "Skull" then
  2046. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2047. elseif TYPE == "Crystal" then
  2048. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2049. end
  2050. if MSH ~= nil then
  2051. local MOVESPEED = nil
  2052. if MOVEDIRECTION ~= nil then
  2053. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2054. end
  2055. local GROWTH = SIZE - ENDSIZE
  2056. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2057. if TYPE == "Block" then
  2058. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2059. else
  2060. EFFECT.CFrame = CFRAME
  2061. end
  2062. for LOOP = 1, TIME+1 do
  2063. Swait()
  2064. MSH.Scale = MSH.Scale - GROWTH/TIME
  2065. if TYPE == "Wave" then
  2066. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2067. end
  2068. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2069. if TYPE == "Block" then
  2070. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2071. else
  2072. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2073. end
  2074. if MOVEDIRECTION ~= nil then
  2075. local ORI = EFFECT.Orientation
  2076. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2077. EFFECT.Orientation = ORI
  2078. end
  2079. end
  2080. if PLAYSSOUND == false then
  2081. EFFECT:remove()
  2082. else
  2083. SOUND.Stopped:Connect(function()
  2084. EFFECT:remove()
  2085. end)
  2086. end
  2087. else
  2088. if PLAYSSOUND == false then
  2089. EFFECT:remove()
  2090. else
  2091. repeat Swait() until SOUND.Playing == false
  2092. EFFECT:remove()
  2093. end
  2094. end
  2095. end))
  2096. end
  2097.  
  2098. local DECAL = IT("Decal")
  2099. function MakeRing()
  2100. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Navy blue"), "MagicRing", VT(0, 0, 0), true)
  2101. local MSH = IT("BlockMesh", RING)
  2102. local TOP = DECAL:Clone()
  2103. local BOTTOM = DECAL:Clone()
  2104. TOP.Parent = RING
  2105. BOTTOM.Parent = RING
  2106. TOP.Face = "Top"
  2107. BOTTOM.Face = "Bottom"
  2108. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  2109. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  2110. local function REMOVE()
  2111. coroutine.resume(coroutine.create(function()
  2112. local SIZE = MSH.Scale.X
  2113. for i = 1, 35 do
  2114. Swait()
  2115. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  2116. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  2117. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  2118. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  2119. end
  2120. RING:remove()
  2121. end))
  2122. end
  2123. return RING, MSH, REMOVE
  2124. end
  2125.  
  2126. function MakeForm(PART,TYPE)
  2127. if TYPE == "Cyl" then
  2128. local MSH = IT("CylinderMesh",PART)
  2129. elseif TYPE == "Ball" then
  2130. local MSH = IT("SpecialMesh",PART)
  2131. MSH.MeshType = "Sphere"
  2132. elseif TYPE == "Wedge" then
  2133. local MSH = IT("SpecialMesh",PART)
  2134. MSH.MeshType = "Wedge"
  2135. end
  2136. end
  2137.  
  2138. function SpawnTrail(FROM,TO,BIG)
  2139. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  2140. MakeForm(TRAIL,"Cyl")
  2141. local DIST = (FROM - TO).Magnitude
  2142. if BIG == true then
  2143. TRAIL.Size = VT(0.5,DIST,0.5)
  2144. else
  2145. TRAIL.Size = VT(0.25,DIST,0.25)
  2146. end
  2147. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2148. coroutine.resume(coroutine.create(function()
  2149. for i = 1, 5 do
  2150. Swait()
  2151. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2152. end
  2153. TRAIL:remove()
  2154. end))
  2155. end
  2156. --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})
  2157. function WACKYEFFECT(Table)
  2158. local TYPE = (Table.EffectType or "Sphere")
  2159. local SIZE = (Table.Size or VT(1,1,1))
  2160. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2161. local TRANSPARENCY = (Table.Transparency or 0)
  2162. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2163. local CFRAME = (Table.CFrame or Torso.CFrame)
  2164. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2165. local ROTATION1 = (Table.RotationX or 0)
  2166. local ROTATION2 = (Table.RotationY or 0)
  2167. local ROTATION3 = (Table.RotationZ or 0)
  2168. local MATERIAL = (Table.Material or "Neon")
  2169. local COLOR = (Table.Color or C3(1,1,1))
  2170. local TIME = (Table.Time or 45)
  2171. local SOUNDID = (Table.SoundID or nil)
  2172. local SOUNDPITCH = (Table.SoundPitch or nil)
  2173. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2174. coroutine.resume(coroutine.create(function()
  2175. local PLAYSSOUND = false
  2176. local SOUND = nil
  2177. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2178. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2179. PLAYSSOUND = true
  2180. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2181. end
  2182. EFFECT.Color = COLOR
  2183. local MSH = nil
  2184. if TYPE == "Sphere" then
  2185. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2186. elseif TYPE == "Block" or TYPE == "Box" then
  2187. MSH = IT("BlockMesh",EFFECT)
  2188. MSH.Scale = SIZE
  2189. elseif TYPE == "Wave" then
  2190. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2191. elseif TYPE == "Ring" then
  2192. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2193. elseif TYPE == "Slash" then
  2194. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2195. elseif TYPE == "Round Slash" then
  2196. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2197. elseif TYPE == "Swirl" then
  2198. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2199. elseif TYPE == "Skull" then
  2200. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2201. elseif TYPE == "Crystal" then
  2202. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2203. end
  2204. if MSH ~= nil then
  2205. local MOVESPEED = nil
  2206. if MOVEDIRECTION ~= nil then
  2207. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2208. end
  2209. local GROWTH = SIZE - ENDSIZE
  2210. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2211. if TYPE == "Block" then
  2212. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2213. else
  2214. EFFECT.CFrame = CFRAME
  2215. end
  2216. for LOOP = 1, TIME+1 do
  2217. Swait()
  2218. MSH.Scale = MSH.Scale - GROWTH/TIME
  2219. if TYPE == "Wave" then
  2220. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2221. end
  2222. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2223. if TYPE == "Block" then
  2224. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2225. else
  2226. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2227. end
  2228. if MOVEDIRECTION ~= nil then
  2229. local ORI = EFFECT.Orientation
  2230. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2231. EFFECT.Orientation = ORI
  2232. end
  2233. end
  2234. if PLAYSSOUND == false then
  2235. EFFECT:remove()
  2236. else
  2237. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2238. EFFECT:remove()
  2239. end
  2240. else
  2241. if PLAYSSOUND == false then
  2242. EFFECT:remove()
  2243. else
  2244. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2245. EFFECT:remove()
  2246. end
  2247. end
  2248. end))
  2249. end
  2250.  
  2251. function MakeForm(PART,TYPE)
  2252. if TYPE == "Cyl" then
  2253. local MSH = IT("CylinderMesh",PART)
  2254. elseif TYPE == "Ball" then
  2255. local MSH = IT("SpecialMesh",PART)
  2256. MSH.MeshType = "Sphere"
  2257. elseif TYPE == "Wedge" then
  2258. local MSH = IT("SpecialMesh",PART)
  2259. MSH.MeshType = "Wedge"
  2260. end
  2261. end
  2262.  
  2263. function SpawnTrail(FROM,TO,BIG)
  2264. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  2265. MakeForm(TRAIL,"Cyl")
  2266. local DIST = (FROM - TO).Magnitude
  2267. if BIG == true then
  2268. TRAIL.Size = VT(0.5,DIST,0.5)
  2269. else
  2270. TRAIL.Size = VT(0.25,DIST,0.25)
  2271. end
  2272. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2273. coroutine.resume(coroutine.create(function()
  2274. for i = 1, 5 do
  2275. Swait()
  2276. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2277. end
  2278. TRAIL:remove()
  2279. end))
  2280. end
  2281.  
  2282. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  2283. local TORSO = Torso
  2284. local HUM = Humanoid
  2285. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2286. coroutine.wrap(function()
  2287. VT = Vector3.new
  2288. MRANDOM = math.random
  2289. local A = TIME
  2290. local B = INTENSITY
  2291. local C = true
  2292. local HUMANOID = Humanoid
  2293. local TIMER = A or 35
  2294. local SHAKE = B or 5
  2295. local FADE = C or true
  2296. if HUMANOID then
  2297. local FADER = SHAKE / TIMER
  2298. for i = 1, TIMER do
  2299. wait()
  2300. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  2301. end
  2302. HUMANOID.CameraOffset = VT(0, 0, 0)
  2303. end
  2304.  
  2305. end)()
  2306. end
  2307. end
  2308.  
  2309. function chatfunc(text)
  2310. local chat = coroutine.wrap(function()
  2311. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2312. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2313. end
  2314. local Bill = Instance.new("BillboardGui",Character)
  2315. Bill.Size = UDim2.new(0,100,0,40)
  2316. Bill.StudsOffset = Vector3.new(0,3,0)
  2317. Bill.Adornee = Character.Head
  2318. Bill.Name = "TalkingBillBoard"
  2319. local Hehe = Instance.new("TextLabel",Bill)
  2320. Hehe.BackgroundTransparency = 1
  2321. Hehe.BorderSizePixel = 0
  2322. Hehe.Text = ""
  2323. Hehe.Font = "Bodoni"
  2324. Hehe.TextSize = 40
  2325. Hehe.TextStrokeTransparency = 0
  2326. Hehe.Size = UDim2.new(1,0,0.5,0)
  2327. coroutine.resume(coroutine.create(function()
  2328. while Hehe ~= nil do
  2329. Swait()
  2330. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2331. Hehe.Rotation = math.random(-2.5,2.5)
  2332. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  2333. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  2334. end
  2335. end))
  2336. for i = 1,string.len(text),1 do
  2337. Swait()
  2338. Hehe.Text = string.sub(text,1,i)
  2339. end
  2340. Swait(90)--Re[math.random(1, 93)]
  2341. for i = 0, 1, .025 do
  2342. Swait()
  2343. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2344. Hehe.TextStrokeTransparency = i
  2345. Hehe.TextTransparency = i
  2346. end
  2347. Bill:Destroy()
  2348. end)
  2349. chat()
  2350. end
  2351.  
  2352. Debris = game:GetService("Debris")
  2353.  
  2354. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2355. local DIRECTION = CF(StartPos,EndPos).lookVector
  2356. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2357. end
  2358.  
  2359. function turnto(position)
  2360. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2361. end
  2362.  
  2363. --//=================================\\
  2364. --|| RAGDOLL STUFF
  2365. --\\=================================//
  2366.  
  2367. function recurse(root,callback,i)
  2368. i= i or 0
  2369. for _,v in pairs(root:GetChildren()) do
  2370. i = i + 1
  2371. callback(i,v)
  2372.  
  2373. if #v:GetChildren() > 0 then
  2374. i = recurse(v,callback,i)
  2375. end
  2376. end
  2377.  
  2378. return i
  2379. end
  2380.  
  2381. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2382. attachmentName = attachmentName.."RigAttachment"
  2383. local constraint = Instance.new(className.."Constraint")
  2384. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2385. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2386. constraint.Name = "RagdollConstraint"..part1.Name
  2387.  
  2388. for _,propertyData in next,properties or {} do
  2389. constraint[propertyData[1]] = propertyData[2]
  2390. end
  2391.  
  2392. constraint.Parent = character
  2393. end
  2394.  
  2395. function getAttachment0(character, attachmentName)
  2396. for _,child in next,character:GetChildren() do
  2397. local attachment = child:FindFirstChild(attachmentName)
  2398. if attachment then
  2399. return attachment
  2400. end
  2401. end
  2402. end
  2403.  
  2404. function ArtificialHitbox(Part)
  2405. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2406. HITBOX.CanCollide = true
  2407. HITBOX.CFrame = Part.CFrame
  2408. weldBetween(Part,HITBOX)
  2409. end
  2410.  
  2411. function R15Ragdoll(character,KeepArms)
  2412. character:BreakJoints()
  2413. coroutine.resume(coroutine.create(function()
  2414. recurse(character, function(_,v)
  2415. if v:IsA("Attachment") then
  2416. v.Axis = Vector3.new(0, 1, 0)
  2417. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2418. v.Rotation = Vector3.new(0, 0, 0)
  2419. end
  2420. end)
  2421. for _,child in next,character:GetChildren() do
  2422. if child:IsA("Accoutrement") then
  2423. for _,part in next,child:GetChildren() do
  2424. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  2425. local attachment1 = part:FindFirstChildOfClass("Attachment")
  2426. local attachment0 = getAttachment0(character,attachment1.Name)
  2427. if attachment0 and attachment1 then
  2428. local constraint = Instance.new("HingeConstraint")
  2429. constraint.Attachment0 = attachment0
  2430. constraint.Attachment1 = attachment1
  2431. constraint.LimitsEnabled = true
  2432. constraint.UpperAngle = 0
  2433. constraint.LowerAngle = 0
  2434. constraint.Parent = character
  2435. end
  2436. ArtificialHitbox(part)
  2437. elseif part.Name == "HumanoidRootPart" then
  2438. part:remove()
  2439. end
  2440. end
  2441. end
  2442. end
  2443.  
  2444. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2445. {"LimitsEnabled",true};
  2446. {"UpperAngle",5};
  2447. })
  2448. if character:FindFirstChild("Head") then
  2449. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  2450. {"LimitsEnabled",true};
  2451. {"UpperAngle",15};
  2452. })
  2453. end
  2454.  
  2455. local handProperties = {
  2456. {"LimitsEnabled", true};
  2457. {"UpperAngle",0};
  2458. {"LowerAngle",0};
  2459. }
  2460. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2461. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2462.  
  2463. local shinProperties = {
  2464. {"LimitsEnabled", true};
  2465. {"UpperAngle", 0};
  2466. {"LowerAngle", -75};
  2467. }
  2468. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2469. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2470.  
  2471. local footProperties = {
  2472. {"LimitsEnabled", true};
  2473. {"UpperAngle", 15};
  2474. {"LowerAngle", -45};
  2475. }
  2476. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2477. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2478. if KeepArms == true then
  2479. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  2480. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2481. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  2482. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2483. end
  2484. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2485. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2486. Debris:AddItem(character,5)
  2487. end))
  2488. end
  2489.  
  2490. function Ragdoll(Character2,CharTorso,KeepArms)
  2491. coroutine.resume(coroutine.create(function()
  2492. Character2:BreakJoints()
  2493. local hum = Character2:findFirstChild("Humanoid")
  2494. hum:remove()
  2495. local function Scan(ch)
  2496. local e
  2497. for e = 1,#ch do
  2498. Scan(ch[e]:GetChildren())
  2499. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2500. ch[e]:remove()
  2501. end
  2502. end
  2503. end
  2504. local NEWHUM = IT("Humanoid")
  2505. NEWHUM.Name = "Corpse"
  2506. NEWHUM.Health = 0
  2507. NEWHUM.MaxHealth = 0
  2508. NEWHUM.PlatformStand = true
  2509. NEWHUM.Parent = Character2
  2510. NEWHUM.DisplayDistanceType = "None"
  2511.  
  2512. local ch = Character2:GetChildren()
  2513. local i
  2514. for i = 1,#ch do
  2515. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2516. ch[i]:remove()
  2517. end
  2518. end
  2519.  
  2520. local Torso2 = Character2.Torso
  2521. local movevector = Vector3.new()
  2522.  
  2523. if Torso2 then
  2524. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  2525. local Head = Character2:FindFirstChild("Head")
  2526. if Head then
  2527. local Neck = Instance.new("Weld")
  2528. Neck.Name = "Neck"
  2529. Neck.Part0 = Torso2
  2530. Neck.Part1 = Head
  2531. Neck.C0 = CFrame.new(0, 1.5, 0)
  2532. Neck.C1 = CFrame.new()
  2533. Neck.Parent = Torso2
  2534.  
  2535. end
  2536. local Limb = Character2:FindFirstChild("Right Arm")
  2537. if Limb and KeepArms == true then
  2538.  
  2539. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2540. local Joint = Instance.new("Glue")
  2541. Joint.Name = "RightShoulder"
  2542. Joint.Part0 = Torso2
  2543. Joint.Part1 = Limb
  2544. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2545. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2546. Joint.Parent = Torso2
  2547.  
  2548. local B = Instance.new("Part")
  2549. B.TopSurface = 0
  2550. B.BottomSurface = 0
  2551. B.formFactor = "Symmetric"
  2552. B.Size = Vector3.new(1, 1, 1)
  2553. B.Transparency = 1
  2554. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2555. B.Parent = Character2
  2556. local W = Instance.new("Weld")
  2557. W.Part0 = Limb
  2558. W.Part1 = B
  2559. W.C0 = CFrame.new(0, -0.5, 0)
  2560. W.Parent = Limb
  2561.  
  2562. end
  2563. local Limb = Character2:FindFirstChild("Left Arm")
  2564. if Limb and KeepArms == true then
  2565.  
  2566. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2567. local Joint = Instance.new("Glue")
  2568. Joint.Name = "LeftShoulder"
  2569. Joint.Part0 = Torso2
  2570. Joint.Part1 = Limb
  2571. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2572. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2573. Joint.Parent = Torso2
  2574.  
  2575. local B = Instance.new("Part")
  2576. B.TopSurface = 0
  2577. B.BottomSurface = 0
  2578. B.formFactor = "Symmetric"
  2579. B.Size = Vector3.new(1, 1, 1)
  2580. B.Transparency = 1
  2581. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2582. B.Parent = Character2
  2583. local W = Instance.new("Weld")
  2584. W.Part0 = Limb
  2585. W.Part1 = B
  2586. W.C0 = CFrame.new(0, -0.5, 0)
  2587. W.Parent = Limb
  2588.  
  2589. end
  2590. local Limb = Character2:FindFirstChild("Right Leg")
  2591. if Limb then
  2592.  
  2593. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2594. local Joint = Instance.new("Glue")
  2595. Joint.Name = "RightHip"
  2596. Joint.Part0 = Torso2
  2597. Joint.Part1 = Limb
  2598. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2599. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2600. Joint.Parent = Torso2
  2601.  
  2602. local B = Instance.new("Part")
  2603. B.TopSurface = 0
  2604. B.BottomSurface = 0
  2605. B.formFactor = "Symmetric"
  2606. B.Size = Vector3.new(1, 1, 1)
  2607. B.Transparency = 1
  2608. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2609. B.Parent = Character2
  2610. local W = Instance.new("Weld")
  2611. W.Part0 = Limb
  2612. W.Part1 = B
  2613. W.C0 = CFrame.new(0, -0.5, 0)
  2614. W.Parent = Limb
  2615.  
  2616. end
  2617. local Limb = Character2:FindFirstChild("Left Leg")
  2618. if Limb then
  2619.  
  2620. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2621. local Joint = Instance.new("Glue")
  2622. Joint.Name = "LeftHip"
  2623. Joint.Part0 = Torso2
  2624. Joint.Part1 = Limb
  2625. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2626. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2627. Joint.Parent = Torso2
  2628.  
  2629. local B = Instance.new("Part")
  2630. B.TopSurface = 0
  2631. B.BottomSurface = 0
  2632. B.formFactor = "Symmetric"
  2633. B.Size = Vector3.new(1, 1, 1)
  2634. B.Transparency = 1
  2635. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2636. B.Parent = Character2
  2637. local W = Instance.new("Weld")
  2638. W.Part0 = Limb
  2639. W.Part1 = B
  2640. W.C0 = CFrame.new(0, -0.5, 0)
  2641. W.Parent = Limb
  2642.  
  2643. end
  2644. --[
  2645. local Bar = Instance.new("Part")
  2646. Bar.TopSurface = 0
  2647. Bar.BottomSurface = 0
  2648. Bar.formFactor = "Symmetric"
  2649. Bar.Size = Vector3.new(1, 1, 1)
  2650. Bar.Transparency = 1
  2651. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2652. Bar.Parent = Character2
  2653. local Weld = Instance.new("Weld")
  2654. Weld.Part0 = Torso2
  2655. Weld.Part1 = Bar
  2656. Weld.C0 = CFrame.new(0, 0.5, 0)
  2657. Weld.Parent = Torso2
  2658. --]]
  2659. end
  2660. Character2.Parent = workspace
  2661. Debris:AddItem(Character2,5)
  2662.  
  2663. return Character2,Torso2
  2664. end))
  2665. end
  2666.  
  2667. --//=================================\\
  2668. --|| WEAPON CREATION
  2669. --\\=================================//
  2670.  
  2671.  
  2672. local Particle = IT("ParticleEmitter",nil)
  2673. Particle.Enabled = false
  2674. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2675. Particle.LightEmission = 0.5
  2676. Particle.Rate = 150
  2677. Particle.ZOffset = 0.2
  2678. Particle.Rotation = NumberRange.new(-180, 180)
  2679. Particle.RotSpeed = NumberRange.new(-180, 180)
  2680. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2681. Particle.Color = ColorSequence.new(C3(0/255,0/255,255/255),C3(0.4,0,0))
  2682.  
  2683. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2684. function ParticleEmitter(Table)
  2685. local PRTCL = Particle:Clone()
  2686. local Speed = Table.Speed or 5
  2687. local Drag = Table.Drag or 0
  2688. local Size1 = Table.Size1 or 1
  2689. local Size2 = Table.Size2 or 5
  2690. local Lifetime1 = Table.Lifetime1 or 1
  2691. local Lifetime2 = Table.Lifetime2 or 1.5
  2692. local Parent = Table.Parent or Torso
  2693. local Emit = Table.Emit or 100
  2694. local Offset = Table.Offset or 360
  2695. local Acel = Table.Acel or VT(0,0,0)
  2696. local Enabled = Table.Enabled or false
  2697. PRTCL.Parent = Parent
  2698. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2699. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2700. PRTCL.Speed = NumberRange.new(Speed)
  2701. PRTCL.VelocitySpread = Offset
  2702. PRTCL.Drag = Drag
  2703. PRTCL.Acceleration = Acel
  2704. if Enabled == false then
  2705. PRTCL:Emit(Emit)
  2706. Debris:AddItem(PRTCL,Lifetime2)
  2707. else
  2708. PRTCL.Enabled = true
  2709. end
  2710. return PRTCL
  2711. end
  2712.  
  2713. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2714. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2715. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2716. MakeForm(Part,"Wedge")
  2717. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2718. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2719. MakeForm(Part,"Wedge")
  2720. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2721. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2722. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2723. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2724. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2725. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2726. MakeForm(Part,"Cyl")
  2727. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2728. for i = 1, 8 do
  2729. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2730. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2731. end
  2732. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2733. MakeForm(Part,"Cyl")
  2734. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2735. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2736. MakeForm(Part,"Ball")
  2737. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2738. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2739. MakeForm(Part,"Wedge")
  2740. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2741. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2742. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2743. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2744. MakeForm(Part,"Cyl")
  2745. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2746. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2747. MakeForm(Part,"Cyl")
  2748. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2749. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2750. MakeForm(Part,"Cyl")
  2751. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2752. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  2753. MakeForm(Part,"Wedge")
  2754. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  2755. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2756. MakeForm(Part,"Cyl")
  2757. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2758. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  2759. MakeForm(Part,"Wedge")
  2760. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2761. local LASTPART = Handle
  2762. for i = 1, 10 do
  2763. if LASTPART == Handle then
  2764. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2765. LASTPART = Part
  2766. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2767. else
  2768. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2769. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2770. LASTPART = Part
  2771. end
  2772. end
  2773.  
  2774. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  2775. MakeForm(Barrel,"Cyl")
  2776. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2777. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2778. MakeForm(Part,"Cyl")
  2779. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2780. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2781. MakeForm(Part,"Wedge")
  2782. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2783. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2784. MakeForm(Hole,"Cyl")
  2785. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
  2786. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2787. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2788. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2789. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2790. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2791. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2792. coroutine.resume(coroutine.create(function()
  2793. while wait() do
  2794. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2795. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2796. end
  2797. end))
  2798.  
  2799. for _, c in pairs(Gun:GetDescendants()) do
  2800. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2801. c.Material = "Glass"
  2802. c.Color = C3(0,0,0)
  2803. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2804. c.Color = C3(0/255,0/255,255/255)
  2805. c.Material = "Neon"
  2806. end
  2807. end
  2808.  
  2809. for i = 1, 35 do
  2810. local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2811. FACE.Color = C3(0,0,0)
  2812. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2813. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2814. end
  2815.  
  2816. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
  2817. MakeForm(Eye,"Ball")
  2818. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  2819. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
  2820. MakeForm(Eye,"Ball")
  2821. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  2822. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
  2823. MakeForm(Eye,"Ball")
  2824. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  2825. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
  2826. MakeForm(Eye,"Ball")
  2827. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  2828.  
  2829. local A = IT("Attachment",Torso)
  2830. A.Position = VT(1,1.3,0)
  2831. A.Orientation = VT(-0.098, -89.999, 0.227)
  2832. local B = IT("Attachment",Torso)
  2833. B.Position = VT(-1.3,-0.6,0)
  2834. B.Orientation = VT(-88.911, -68.808, 158.782)
  2835. local ChainLink = IT("Beam",Torso)
  2836. ChainLink.Texture = "rbxassetid://73042633"
  2837. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2838. ChainLink.TextureSpeed = 1
  2839. ChainLink.FaceCamera = true
  2840. ChainLink.Width0 = 1
  2841. ChainLink.Width1 = 1
  2842. ChainLink.TextureLength = 3
  2843. ChainLink.Attachment0 = A
  2844. ChainLink.Attachment1 = B
  2845. ChainLink.CurveSize0 = 1.6
  2846. ChainLink.CurveSize1 = 1.6
  2847. ChainLink.FaceCamera = true
  2848. ChainLink.Transparency = NumberSequence.new(0)
  2849. local ChainLink = IT("Beam",Torso)
  2850. ChainLink.Texture = "rbxassetid://73042633"
  2851. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2852. ChainLink.TextureSpeed = 1
  2853. ChainLink.FaceCamera = true
  2854. ChainLink.Width0 = 1
  2855. ChainLink.Width1 = 1
  2856. ChainLink.TextureLength = 3
  2857. ChainLink.Attachment0 = B
  2858. ChainLink.Attachment1 = A
  2859. ChainLink.CurveSize0 = 1.6
  2860. ChainLink.CurveSize1 = 1.6
  2861. ChainLink.FaceCamera = true
  2862. ChainLink.Transparency = NumberSequence.new(0)
  2863. local A = IT("Attachment",Torso)
  2864. A.Position = VT(1.3,-0.85,0)
  2865. A.Orientation = VT(-0.098, -89.999, 0.227)
  2866. local B = IT("Attachment",Torso)
  2867. B.Position = VT(-1,2,0)
  2868. B.Orientation = VT(-88.911, -68.808, 158.782)
  2869. local ChainLink = IT("Beam",Torso)
  2870. ChainLink.Texture = "rbxassetid://73042633"
  2871. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2872. ChainLink.TextureSpeed = 1
  2873. ChainLink.FaceCamera = true
  2874. ChainLink.Width0 = 1
  2875. ChainLink.Width1 = 1
  2876. ChainLink.TextureLength = 3
  2877. ChainLink.Attachment0 = A
  2878. ChainLink.Attachment1 = B
  2879. ChainLink.CurveSize0 = 1.3
  2880. ChainLink.CurveSize1 = 1.3
  2881. ChainLink.FaceCamera = true
  2882. ChainLink.Transparency = NumberSequence.new(0)
  2883. local ChainLink = IT("Beam",Torso)
  2884. ChainLink.Texture = "rbxassetid://73042633"
  2885. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2886. ChainLink.TextureSpeed = 1
  2887. ChainLink.FaceCamera = true
  2888. ChainLink.Width0 = 1
  2889. ChainLink.Width1 = 1
  2890. ChainLink.TextureLength = 3
  2891. ChainLink.Attachment0 = B
  2892. ChainLink.Attachment1 = A
  2893. ChainLink.CurveSize0 = 1.3
  2894. ChainLink.CurveSize1 = 1.3
  2895. ChainLink.FaceCamera = true
  2896. ChainLink.Transparency = NumberSequence.new(0)
  2897.  
  2898. Weapon.Parent = Character
  2899. for _, c in pairs(Weapon:GetChildren()) do
  2900. if c.ClassName == "Part" then
  2901. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2902. end
  2903. end
  2904.  
  2905. Weapon.Parent = Character
  2906. Gun.Parent = nil
  2907.  
  2908. for _, c in pairs(Gun:GetChildren()) do
  2909. if c.ClassName == "Part" then
  2910. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2911. end
  2912. end
  2913.  
  2914. for _, c in pairs(Weapon:GetChildren()) do
  2915. if c.ClassName == "Part" then
  2916. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2917. end
  2918. end
  2919.  
  2920. local EXE = Instance.new("Shirt")
  2921. EXE.ShirtTemplate = "rbxassetid://338740550"
  2922. EXE.Parent = Character
  2923. EXE.Name = "Cloth"
  2924. local LOL = Instance.new("Pants")
  2925. LOL.PantsTemplate = "rbxassetid://338750779"
  2926. LOL.Parent = Character
  2927. LOL.Name = "Cloth"
  2928.  
  2929. Head.Color = C3(21,71,109)
  2930. Torso.Color = C3(21,71,109)
  2931. LeftArm.Color = C3(21,71,109)
  2932. LeftLeg.Color = C3(21,71,109)
  2933. RightArm.Color = C3(21,71,109)
  2934. RightLeg.Color = C3(21,71,109)
  2935.  
  2936. local SKILLTEXTCOLOR = C3(0/255,0/255,255/255)
  2937. local SKILLFONT = "Antique"
  2938. local SKILLTEXTSIZE = 7
  2939.  
  2940. Humanoid.Died:connect(function()
  2941. ATTACK = true
  2942. end)
  2943.  
  2944. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 1 Frame")
  2945. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 2 Frame")
  2946. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 3 Frame")
  2947. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 4 Frame")
  2948. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 5 Frame")
  2949.  
  2950. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  2951. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  2952. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  2953. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  2954. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  2955.  
  2956. function printbye(Name)
  2957. 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, "}
  2958. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2959. end
  2960. if INTRO == false and INSTANT == false then
  2961. INTRO = true
  2962. coroutine.resume(coroutine.create(function()
  2963. sick:Play()
  2964. Intro()
  2965. end))
  2966. end
  2967.  
  2968. workspace.ChildAdded:connect(function(instance)
  2969. for BANISH = 1, #TOBANISH do
  2970. if TOBANISH[BANISH] ~= nil then
  2971. if instance.Name == TOBANISH[BANISH] then
  2972. coroutine.resume(coroutine.create(function()
  2973. printbye(instance.Name)
  2974. instance:ClearAllChildren()
  2975. Debris:AddItem(instance,0.0005)
  2976. end))
  2977. end
  2978. end
  2979. end
  2980. end)
  2981.  
  2982. --//=================================\\
  2983. --|| DAMAGING
  2984. --\\=================================//
  2985.  
  2986. function ApplyDamage(Humanoid,Damage,OneShot)
  2987. Damage = Damage * DAMAGEMULTIPLIER
  2988. local DEAD = false
  2989. if Humanoid.Health < 2000 and OneShot == false then
  2990. if Humanoid.Health - Damage > 0 then
  2991. Humanoid.Health = Humanoid.Health - Damage
  2992. else
  2993. Humanoid.Parent:BreakJoints()
  2994. DEAD = true
  2995. end
  2996. else
  2997. DEAD = true
  2998. Humanoid.Parent:BreakJoints()
  2999. end
  3000. if DEAD == true then
  3001. local PARTS = {}
  3002. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  3003. if CHILD:IsA("BasePart") then
  3004. table.insert(PARTS,CHILD)
  3005. end
  3006. end
  3007. coroutine.resume(coroutine.create(function()
  3008. wait(2)
  3009. repeat
  3010. Swait()
  3011. local PIECE = nil
  3012. if MRANDOM(1,5) == 1 then
  3013. for E = 1, #PARTS do
  3014. if MRANDOM(1,5) == 1 then
  3015. PIECE = PARTS[E]
  3016. table.remove(PARTS,E)
  3017. break
  3018. end
  3019. end
  3020. end
  3021. if PIECE ~= nil then
  3022. if PIECE.Name == "Head" then
  3023. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  3024. else
  3025. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  3026. end
  3027. PIECE:remove()
  3028. end
  3029. until #PARTS == 0
  3030. end))
  3031. end
  3032. end
  3033.  
  3034.  
  3035. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  3036. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3037. defence.Name = ("HitBy"..Player.Name)
  3038. game:GetService("Debris"):AddItem(defence, 0.001)
  3039. Damage = Damage * DAMAGEMULTIPLIER
  3040. if Humanoid.Health ~= 0 then
  3041. local CritChance = MRANDOM(1,100)
  3042. if Damage > Humanoid.Health then
  3043. Damage = math.ceil(Humanoid.Health)
  3044. if Damage == 0 then
  3045. Damage = 0.1
  3046. end
  3047. end
  3048. Humanoid.Health = Humanoid.Health - Damage
  3049. end
  3050. end
  3051.  
  3052. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  3053. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3054. defence.Name = ("HitBy"..Player.Name)
  3055. game:GetService("Debris"):AddItem(defence, 0.001)
  3056. Damage = Damage * DAMAGEMULTIPLIER
  3057. if Humanoid.Health ~= 0 then
  3058. local CritChance = MRANDOM(1,100)
  3059. if Damage > Humanoid.Health then
  3060. Damage = math.ceil(Humanoid.Health)
  3061. if Damage == 0 then
  3062. Damage = 0.1
  3063. end
  3064. end
  3065. Humanoid.Health = Humanoid.Health - Damage
  3066. end
  3067. end
  3068.  
  3069. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3070. local CHILDREN = workspace:GetDescendants()
  3071. for index, CHILD in pairs(CHILDREN) do
  3072. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3073. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3074. if HUM then
  3075. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3076. if TORSO then
  3077. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3078. if INSTAKILL == true then
  3079. CHILD:BreakJoints()
  3080. else
  3081. local DMG = MRANDOM(MINDMG,MAXDMG)
  3082. ApplyDamage(HUM,DMG,TORSO)
  3083. end
  3084. if FLING > 0 then
  3085. for _, c in pairs(CHILD:GetChildren()) do
  3086. if c:IsA("BasePart") then
  3087. local bv = Instance.new("BodyVelocity")
  3088. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3089. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3090. bv.Parent = c
  3091. Debris:AddItem(bv,0.05)
  3092. end
  3093. end
  3094. end
  3095. end
  3096. end
  3097. end
  3098. end
  3099. end
  3100. end
  3101.  
  3102. function CameraEnshaking(Length, Intensity)
  3103. coroutine.resume(coroutine.create(function()
  3104. local intensity = 1 * Intensity
  3105. local rotM = 0.01 * Intensity
  3106. for i = 0, Length, 0.1 do
  3107. Swait()
  3108. intensity = intensity - 0.05 * Intensity / Length
  3109. rotM = rotM - 5.0E-4 * Intensity / Length
  3110. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  3111. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  3112. end
  3113. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  3114. end))
  3115. end
  3116.  
  3117. function KillChildren(v)
  3118. v:BreakJoints()
  3119. for _, c in pairs(v:GetChildren()) do
  3120. if c:IsA("BasePart") then
  3121. if c.Transparency < 1 then
  3122. if c:FindFirstChildOfClass("Decal") then
  3123. c:FindFirstChildOfClass("Decal"):remove()
  3124. end
  3125. particles(c)
  3126. c.PE.Enabled = true
  3127. c.Parent = Effects
  3128. c.CanCollide = false
  3129. c.Material = "Neon"
  3130. c.Color = C3(0/255,0/255,255/255)
  3131. c.Transparency = 1
  3132. local grav = Instance.new("BodyPosition",c)
  3133. grav.P = 20000
  3134. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3135. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  3136. grav.Name = "GravityForce"
  3137. coroutine.resume(coroutine.create(function()
  3138. for i = 1, 20 do
  3139. Swait()
  3140. c.Transparency = c.Transparency + 1/20
  3141. end
  3142. c.PE.Enabled = false
  3143. Debris:AddItem(c,2)
  3144. end))
  3145. end
  3146. end
  3147. end
  3148. end
  3149.  
  3150. function ApplyAoE(POSITION,RANGE)
  3151. local CHILDREN = workspace:GetDescendants()
  3152. for index, CHILD in pairs(CHILDREN) do
  3153. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3154. local LISTED = false
  3155. for LIST = 1, #WHITELIST do
  3156. if WHITELIST[LIST] ~= nil then
  3157. if CHILD.Name == WHITELIST[LIST] then
  3158. LISTED = true
  3159. end
  3160. end
  3161. end
  3162. if LISTED == false then
  3163. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3164. if HUM then
  3165. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3166. if TORSO then
  3167. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  3168. KillChildren(CHILD)
  3169. end
  3170. end
  3171. end
  3172. end
  3173. end
  3174. end
  3175. end
  3176.  
  3177. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  3178. coroutine.resume(coroutine.create(function()
  3179. local METEOR = IT("Model",Effects)
  3180. METEOR.Name = "Meteorite"
  3181. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3182. METEOR.PrimaryPart = CENTER
  3183. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3184. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3185. for i = 1, 15 do
  3186. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Navy blue", "Fire", VT(5.1,1,5.1)*SIZE)
  3187. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3188. end
  3189. if ISDEBREE ~= true then
  3190. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3191. else
  3192. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3193. end
  3194. local IMPACT = false
  3195. CreateSound(463593339, CENTER, 10, 0.6)
  3196. if SIZE >= 3.5 then
  3197. for i = 1, MRANDOM(3,7) do
  3198. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  3199. end
  3200. end
  3201. for i = 1, 200 do
  3202. Swait()
  3203. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3204. if HITFLOOR == nil then
  3205. local ORI = CENTER.Orientation
  3206. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3207. else
  3208. if HITFLOOR.Anchored == true then
  3209. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3210. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3211. end
  3212. IMPACT = true
  3213. break
  3214. end
  3215. end
  3216. if IMPACT == true then
  3217. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3218. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  3219. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3220. ApplyAoE(CENTER.Position,30*SIZE)
  3221. end
  3222. METEOR:remove()
  3223. end))
  3224. end
  3225.  
  3226. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  3227. local CHILDREN = workspace:GetDescendants()
  3228. for index, CHILD in pairs(CHILDREN) do
  3229. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3230. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3231. if HUM then
  3232. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3233. if TORSO then
  3234. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3235. if BRUTAL == true then
  3236. Kill(CHILD)
  3237. else
  3238. CHILD:BreakJoints()
  3239. end
  3240. end
  3241. end
  3242. end
  3243. end
  3244. end
  3245. end
  3246.  
  3247. function Kill(Char)
  3248. local NewCharacter = IT("Model",Effects)
  3249. NewCharacter.Name = "Ow im ded ;-;"
  3250. for _, c in pairs(Char:GetDescendants()) do
  3251. if c:IsA("BasePart") and c.Transparency == 0 then
  3252. c:BreakJoints()
  3253. c.Material = "Glass"
  3254. c.Color = C3(0/255,0/255,255/255)
  3255. c.CanCollide = true
  3256. c.Transparency = 0.3
  3257. if c:FindFirstChildOfClass("SpecialMesh") then
  3258. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3259. end
  3260. if c.Name == "Head" then
  3261. c:ClearAllChildren()
  3262. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3263. end
  3264. if c.ClassName == "MeshPart" then
  3265. c.TextureID = ""
  3266. end
  3267. if c:FindFirstChildOfClass("BodyPosition") then
  3268. c:FindFirstChildOfClass("BodyPosition"):remove()
  3269. end
  3270. if c:FindFirstChildOfClass("ParticleEmitter") then
  3271. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3272. end
  3273. c.Parent = NewCharacter
  3274. c.Name = "DeadPart"
  3275. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3276. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3277. end
  3278. end
  3279. Char:remove()
  3280. Debris:AddItem(NewCharacter,5)
  3281. end
  3282.  
  3283. function ApplyAoE(POSITION,RANGE,BRUTAL)
  3284. local CHILDREN = workspace:GetDescendants()
  3285. for index, CHILD in pairs(CHILDREN) do
  3286. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3287. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3288. if HUM then
  3289. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3290. if TORSO then
  3291. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3292. if BRUTAL == true then
  3293. Kill(CHILD)
  3294. else
  3295. CHILD:BreakJoints()
  3296. end
  3297. end
  3298. end
  3299. end
  3300. end
  3301. end
  3302. end
  3303.  
  3304. function ApplyAoE(POSITION,RANGE,BRUTAL)
  3305. local CHILDREN = workspace:GetDescendants()
  3306. for index, CHILD in pairs(CHILDREN) do
  3307. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3308. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3309. if HUM then
  3310. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3311. if TORSO then
  3312. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3313. if BRUTAL == true then
  3314. Kill(CHILD)
  3315. else
  3316. CHILD:BreakJoints()
  3317. end
  3318. end
  3319. end
  3320. end
  3321. end
  3322. end
  3323. end
  3324.  
  3325. function Banish(Foe)
  3326. if Foe then
  3327. coroutine.resume(coroutine.create(function()
  3328. --if game.Players:FindFirstChild(Foe.Name) then
  3329. table.insert(TOBANISH,Foe.Name)
  3330. printbye(Foe.Name)
  3331. --end
  3332. Foe.Archivable = true
  3333. local CLONE = Foe:Clone()
  3334. Foe:Destroy()
  3335. CLONE.Parent = Effects
  3336. CLONE:BreakJoints()
  3337. local MATERIALS = {"Glass","Neon"}
  3338. for _, c in pairs(CLONE:GetDescendants()) do
  3339. if c:IsA("BasePart") then
  3340. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3341. CreateSound(138271815, c, 10, 1, false)
  3342. end
  3343. c.Anchored = true
  3344. c.Transparency = c.Transparency + 0.2
  3345. c.Material = MATERIALS[MRANDOM(1,2)]
  3346. c.Color = C3(0/255,0/255,255/255)
  3347. if c.ClassName == "MeshPart" then
  3348. c.TextureID = ""
  3349. end
  3350. if c:FindFirstChildOfClass("SpecialMesh") then
  3351. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3352. end
  3353. if c:FindFirstChildOfClass("Decal") then
  3354. c:FindFirstChildOfClass("Decal"):remove()
  3355. end
  3356. c.Name = "Banished"
  3357. c.CanCollide = false
  3358. else
  3359. c:remove()
  3360. end
  3361. end
  3362. local A = false
  3363. for i = 1, 35 do
  3364. if A == false then
  3365. A = true
  3366. elseif A == true then
  3367. A = false
  3368. end
  3369. for _, c in pairs(CLONE:GetDescendants()) do
  3370. if c:IsA("BasePart") then
  3371. c.Anchored = true
  3372. c.Material = MATERIALS[MRANDOM(1,2)]
  3373. c.Transparency = c.Transparency + 0.8/35
  3374. if A == false then
  3375. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3376. elseif A == true then
  3377. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3378. end
  3379. end
  3380. end
  3381. Swait()
  3382. end
  3383. CLONE:remove()
  3384. end))
  3385. end
  3386. end
  3387.  
  3388.  
  3389. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3390. local CHILDREN = workspace:GetDescendants()
  3391. for index, CHILD in pairs(CHILDREN) do
  3392. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3393. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3394. if HUM then
  3395. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3396. if TORSO then
  3397. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3398. if ISBANISH == true then
  3399. Banish(CHILD)
  3400. else
  3401. if ISBANISH == "Gravity" then
  3402. HUM.PlatformStand = true
  3403. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3404. local grav = Instance.new("BodyPosition",TORSO)
  3405. grav.D = 15
  3406. grav.P = 20000
  3407. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3408. grav.position = TORSO.Position
  3409. grav.Name = "V3BanishForce"..Player.Name
  3410. else
  3411. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3412. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3413. end
  3414. else
  3415. HUM.PlatformStand = false
  3416. end
  3417. end
  3418. elseif ISBANISH == "Gravity" then
  3419. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3420. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3421. HUM.PlatformStand = false
  3422. end
  3423. end
  3424. end
  3425. end
  3426. end
  3427. end
  3428. end
  3429.  
  3430. function SpawnSmite(POS)
  3431. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  3432. local EMITPOS = HITPOS
  3433. if HITFLOOR ~= nil then
  3434. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  3435. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  3436. EMITPOS = HITPOS
  3437. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3438. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  3439. EMITPOS = HITPOS
  3440. end
  3441. end
  3442. if HITFLOOR ~= nil then
  3443. ApplyAoE(EMITPOS,10)
  3444. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3445. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3446. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3447. for i = 1, 5 do
  3448. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  3449. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3450. end
  3451. end
  3452. end
  3453.  
  3454. --//=================================\\
  3455. --|| ATTACK FUNCTIONS AND STUFF
  3456. --\\=================================//
  3457.  
  3458. function eh()
  3459. ATTACK = true
  3460. Rooted = false
  3461. Speed = 20
  3462. Swait()
  3463. local CHILDREN = workspace:GetDescendants()
  3464. for index, CHILD in pairs(CHILDREN) do
  3465. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3466. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3467. if HUM then
  3468. local TORSO = CHILD:FindFirstChild("Head")
  3469. if TORSO then
  3470. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  3471. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3472. TORSO:remove()
  3473. if CHILD:FindFirstChild("Torso") then
  3474. Ragdoll(CHILD,Torso,true)
  3475. elseif CHILD:FindFirstChild("UpperTorso") then
  3476. R15Ragdoll(CHILD,true)
  3477. end
  3478. end
  3479. end
  3480. end
  3481. end
  3482. end
  3483. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3484. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1})
  3485. for i=0, 0.3, 0.1 / Animation_Speed do
  3486. Swait()
  3487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  3488. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3489. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3490. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  3491. 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.25 / Animation_Speed)
  3492. 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.25 / Animation_Speed)
  3493. end
  3494. Speed = 20
  3495. ATTACK = false
  3496. Rooted = false
  3497. end
  3498.  
  3499. function Taunt()
  3500. ATTACK = true
  3501. Rooted = true
  3502. CreateSound("1238240145", Torso, 6, 0.9)
  3503. for i=0, 0.6, 0.1 / Animation_Speed do
  3504. Swait()
  3505. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3506. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3508. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3509. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3510. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3511. end
  3512. for i=0, 0.6, 0.1 / Animation_Speed do
  3513. Swait()
  3514. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3515. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3516. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3517. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3518. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3519. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3520. end
  3521. for i=0, 0.6, 0.1 / Animation_Speed do
  3522. Swait()
  3523. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3524. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3527. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3528. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3529. end
  3530. for i=0, 0.6, 0.1 / Animation_Speed do
  3531. Swait()
  3532. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3535. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3536. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3537. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3538. end
  3539. for i=0, 0.6, 0.1 / Animation_Speed do
  3540. Swait()
  3541. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3542. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3543. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3544. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3545. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3546. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3547. end
  3548. for i=0, 0.6, 0.1 / Animation_Speed do
  3549. Swait()
  3550. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3551. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3552. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3553. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3554. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3555. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3556. end
  3557. ATTACK = false
  3558. Rooted = false
  3559. end
  3560.  
  3561. function TakeOnMe()
  3562. Speed = 16
  3563. local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  3564. ATTACK = true
  3565. Rooted = false
  3566. local DANCE = true
  3567. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3568. if NEWKEY == "p" then
  3569. DANCE = false
  3570. end
  3571. end)
  3572. PLAYSONG = false
  3573. while true do
  3574. for i = 1, 15 do
  3575. Swait()
  3576. MEME.Parent = Effects
  3577. 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)
  3578. 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.15 / Animation_Speed)
  3579. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3580. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3581. 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.15 / Animation_Speed)
  3582. 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.15 / Animation_Speed)
  3583. end
  3584. if DANCE == false then
  3585. break
  3586. end
  3587. for i = 1, 15 do
  3588. Swait()
  3589. MEME.Parent = Effects
  3590. 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)
  3591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  3592. if MRANDOM(1,7) == 1 then
  3593. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3594. end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3595. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3596. 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.15 / Animation_Speed)
  3597. 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.15 / Animation_Speed)
  3598. end
  3599. end
  3600. PLAYSONG = true
  3601. KEY:Disconnect()
  3602. MEME:remove()
  3603. Speed = 25
  3604. ATTACK = false
  3605. Rooted = false
  3606. end
  3607.  
  3608. function Intro()
  3609. ATTACK = true
  3610. Rooted = true
  3611. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3612. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,1,0).p
  3613. BigBlack("GoodBye Script Showcaser!!!",MAINRUINCOLOR.Color,3)
  3614. for i=0, 6, 0.1 / Animation_Speed do
  3615. Swait()
  3616. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3617. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3618. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  3619. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  3620. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  3621. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  3622. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  3623. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  3624. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  3625. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 5 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3626. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3627. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  3628. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  3629. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3630. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3631. end
  3632. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3633. WACKYEFFECT({EffectType = "Block", Size = VT(8,8,8), Size2 = VT(17,17,17), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3634. CreateSound(1208650519, Torso, 2, 0.8)
  3635. CreateSound(333446256, Character, 10, 1)
  3636. BigBlack("hahahahaha...",MAINRUINCOLOR.Color,6)
  3637. for i=0, 17, 0.1 / Animation_Speed do
  3638. Swait()
  3639. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3640. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3641. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  3642. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  3643. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  3644. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  3645. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  3646. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  3647. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  3648. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 4 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3649. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3650. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  3651. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  3652. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3653. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3654. end
  3655. WACKYEFFECT({Time = 50 ,EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.CFrame.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3656. WACKYEFFECT({Time = 150 ,EffectType = "Block", Size = VT(0,0,0), Size2 = VT(90,90,90), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.CFrame.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3657. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3658. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3659. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3660. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3661. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3662. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3663. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3664. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3665. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3666. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3667. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3668. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3669. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3670. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3671. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3672. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3673. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3674. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3675. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3676. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3677. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3678. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3679. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3680. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3681. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3682. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3683. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3684. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3685. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3686. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3687. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3688. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3689. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3690. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3691. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3692. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3693. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3694. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3695. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3696. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3697. CreateSound(1841058541,Character,3,1,false)
  3698. for i=0, 0.7, 0.1 / Animation_Speed do
  3699. Swait()
  3700. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  3701. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  3702. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  3703. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  3704. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  3705. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  3706. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  3707. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  3708. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3709. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  3710. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3711. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3712. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3713. end
  3714. Head.Color = C3(0/255,0/255,255/255)
  3715. Torso.Color = C3(0/255,0/255,255/255)
  3716. LeftArm.Color = C3(0/255,0/255,255/255)
  3717. LeftLeg.Color = C3(0/255,0/255,255/255)
  3718. RightArm.Color = C3(0/255,0/255,255/255)
  3719. RightLeg.Color = C3(0/255,0/255,255/255)
  3720. EXE.ShirtTemplate = "rbxassetid://692429048"
  3721. LOL.PantsTemplate = "rbxassetid://692430604"
  3722. Gun.Parent = Character
  3723. tecks2.TextTransparency = 0
  3724. for i = 1, 100 do
  3725. Swait()
  3726. for _, c in pairs(Character:GetChildren()) do
  3727. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3728. c.Transparency = 0
  3729. end
  3730. end
  3731. for _, c in pairs(Weapon:GetChildren()) do
  3732. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3733. c.Transparency = 0
  3734. end
  3735. end
  3736. end
  3737. TRANSFORMED = true
  3738. ATTACK = false
  3739. Rooted = false
  3740. end
  3741.  
  3742. function Shot()
  3743. ATTACK = true
  3744. Rooted = false
  3745. for i=0, 0.2, 0.05 / Animation_Speed do
  3746. Swait()
  3747. turnto(Mouse.Hit.p)
  3748. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3749. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3750. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3751. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3752. 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)
  3753. 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)
  3754. end
  3755. repeat
  3756. for i=0, 0.2, 0.05 / Animation_Speed do
  3757. Swait()
  3758. turnto(Mouse.Hit.p)
  3759. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3763. 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)
  3764. 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)
  3765. end
  3766. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3767. SpawnTrail(Hole.Position,POS)
  3768. if HIT ~= nil then
  3769. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3770. Banish(HIT.Parent)
  3771. end
  3772. end
  3773. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3774. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3775. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3776. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3777. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3778. for i=0, 0.2, 0.05 / Animation_Speed do
  3779. Swait()
  3780. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3781. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3783. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3784. 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)
  3785. 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)
  3786. end
  3787. until KEYHOLD == false
  3788. ATTACK = false
  3789. Rooted = false
  3790. end
  3791.  
  3792. function Shot2()
  3793. ATTACK = true
  3794. Rooted = false
  3795. for i=0, 0.2, 0.05 / Animation_Speed do
  3796. Swait()
  3797. turnto(Mouse.Hit.p)
  3798. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3799. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3800. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3801. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3802. 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)
  3803. 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)
  3804. end
  3805. repeat
  3806. for i=0, 0.2, 0.05 / Animation_Speed do
  3807. Swait()
  3808. turnto(Mouse.Hit.p)
  3809. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3810. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3811. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3812. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3813. 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)
  3814. 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)
  3815. end
  3816. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3817. SpawnTrail(Hole.Position,POS)
  3818. if HIT ~= nil then
  3819. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3820. Kill(HIT.Parent)
  3821. end
  3822. end
  3823. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3824. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3825. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3826. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3827. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3828. for i=0, 0.2, 0.05 / Animation_Speed do
  3829. Swait()
  3830. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3831. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3834. 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)
  3835. 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)
  3836. end
  3837. until KEYHOLD == false
  3838. ATTACK = false
  3839. Rooted = false
  3840. end
  3841.  
  3842. function AttackTemplate()
  3843. ATTACK = true
  3844. Rooted = false
  3845. for i=0, 1, 0.1 / Animation_Speed do
  3846. Swait()
  3847. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3848. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3851. 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)
  3852. 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)
  3853. end
  3854. ATTACK = false
  3855. Rooted = false
  3856. end
  3857.  
  3858. function Finisher()
  3859. local TARGET = Mouse.Target
  3860. if TARGET ~= nil then
  3861. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  3862. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  3863. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  3864. if ROOT and HUM.Health > 0 then
  3865. local FOE = Mouse.Target.Parent
  3866. ATTACK = true
  3867. Rooted = true
  3868. RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  3869. ROOT.Anchored = true
  3870. CreateSound(670796769, Torso, 9999, 0.6, false)
  3871. CreateSound(159882598, Torso, 5, 0.9, false)
  3872. for i=0, 0.4, 0.1 / Animation_Speed do
  3873. Swait()
  3874. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3875. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3878. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3879. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3880. end
  3881. HUM.PlatformStand = true
  3882. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  3883. coroutine.resume(coroutine.create(function()
  3884. Swait()
  3885. ROOT.Anchored = true
  3886. end))
  3887. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  3888. for i=0, 0.2, 0.1 / Animation_Speed do
  3889. Swait()
  3890. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3891. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3892. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3893. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3894. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3895. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3896. end
  3897. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3898. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3899. for i=0, 0.2, 0.1 / Animation_Speed do
  3900. Swait()
  3901. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  3902. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  3903. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3904. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3905. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3906. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3907. end
  3908. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3909. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3910. local AMMO = 6
  3911. local FIRING = true
  3912. local SHOOTING = false
  3913. local TIMER = 70
  3914. CreateSound(147722227, GunPoint, 6, 1.3, false)
  3915. for i=0, 0.2, 0.1 / Animation_Speed do
  3916. Swait()
  3917. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3918. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3919. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3920. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3921. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3922. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3923. end
  3924. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3925. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3926. for i = 1, 6 do
  3927. local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
  3928. local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  3929. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3930. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3931. HUM.Health = HUM.Health/1.5
  3932. for i=0, 0.2, 0.1 / Animation_Speed do
  3933. Swait()
  3934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3938. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3940. end
  3941. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3942. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3943. for i=0, 0.2, 0.1 / Animation_Speed do
  3944. Swait()
  3945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3949. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3950. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3951. end
  3952. end
  3953. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3954. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3955. ApplyDamage(HUM,0,true)
  3956. FOE:BreakJoints()
  3957. ROOT.Anchored = false
  3958. for i=0, 0.3, 0.1 / Animation_Speed do
  3959. Swait()
  3960. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  3962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3964. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3965. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3966. end
  3967. ATTACK = false
  3968. Rooted = false
  3969. end
  3970. end
  3971. end
  3972. end
  3973.  
  3974. --//=================================\\
  3975. --|| ASSIGN THINGS TO KEYS
  3976. --\\=================================//
  3977.  
  3978. function MouseDown(Mouse)
  3979. if ATTACK == false then
  3980. end
  3981. end
  3982.  
  3983. function MouseUp(Mouse)
  3984. HOLD = false
  3985. end
  3986.  
  3987. function KeyDown(Key)
  3988. KEYHOLD = true
  3989. if Key == "z" and ATTACK == false then
  3990. Shot()
  3991. end
  3992.  
  3993. if Key == "v" and ATTACK == false then
  3994. Shot2()
  3995. end
  3996.  
  3997. if Key == "x" and ATTACK == false then
  3998. Finisher()
  3999. end
  4000.  
  4001. if Key == "t" and ATTACK == false then
  4002. Taunt()
  4003. end
  4004.  
  4005. if Key == "c" and ATTACK == false then
  4006. eh()
  4007. end
  4008. end
  4009.  
  4010. local OVMID = 561833161
  4011. local OVMPIT = 1
  4012. local OVMVOL = 1
  4013. plr.Chatted:connect(function(message)
  4014. if ATTACK == false then
  4015. if message:sub(1,5) == "play/" then
  4016. OVMID = message:sub(6)
  4017. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4018. elseif message:sub(1,6) == "pitch/" then
  4019. OVMPIT = message:sub(7)
  4020. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4021. elseif message:sub(1,4) == "vol/" then
  4022. OVMVOL = message:sub(5)
  4023. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4024. elseif message:sub(1,7) == "sr/" then
  4025. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4026. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  4027. elseif message:sub(1,9) == "te/" then
  4028. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4029. end
  4030. end
  4031. end)
  4032.  
  4033. function KeyUp(Key)
  4034. KEYHOLD = false
  4035. end
  4036.  
  4037. Mouse.Button1Down:connect(function(NEWKEY)
  4038. MouseDown(NEWKEY)
  4039. end)
  4040. Mouse.Button1Up:connect(function(NEWKEY)
  4041. MouseUp(NEWKEY)
  4042. end)
  4043. Mouse.KeyDown:connect(function(NEWKEY)
  4044. KeyDown(NEWKEY)
  4045. end)
  4046. Mouse.KeyUp:connect(function(NEWKEY)
  4047. KeyUp(NEWKEY)
  4048. end)
  4049.  
  4050. --//=================================\\
  4051. --\\=================================//
  4052.  
  4053.  
  4054. function unanchor()
  4055. if UNANCHOR == true then
  4056. g = Character:GetChildren()
  4057. for i = 1, #g do
  4058. if g[i].ClassName == "Part" then
  4059. g[i].Anchored = false
  4060. end
  4061. end
  4062. end
  4063. end
  4064.  
  4065.  
  4066. --//=================================\\
  4067. --|| WRAP THE WHOLE SCRIPT UP
  4068. --\\=================================//
  4069.  
  4070. Humanoid.Changed:connect(function(Jump)
  4071. if Jump == "Jump" and (Disable_Jump == true) then
  4072. Humanoid.Jump = false
  4073. end
  4074. end)
  4075.  
  4076. local FF = IT("ForceField",Character)
  4077. FF.Visible = false
  4078. INSTANT = false
  4079. Speed = 20
  4080.  
  4081. while true do
  4082. Swait()
  4083. SINE = SINE + CHANGE
  4084. ANIMATE.Parent = nil
  4085. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  4086. IDLEANIMATION:Play()
  4087. if TRANSFORMED == true then
  4088. tecks2.TextTransparency = 0
  4089. for _, c in pairs(Character:GetChildren()) do
  4090. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  4091. c.Anchored = false
  4092. c.Transparency = 0
  4093. end
  4094. end
  4095. for _, c in pairs(Weapon:GetChildren()) do
  4096. if c.ClassName == "Part" then
  4097. c.Transparency = 0
  4098. end
  4099. end
  4100. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4101. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4102. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  4103. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  4104. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  4105. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  4106. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  4107. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  4108. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  4109. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  4110. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  4111. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  4112. if ATTACK == false and VALUE2 == false then
  4113. end
  4114. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4115. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4116. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  4117. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  4118. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  4119. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4120. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4121. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4122. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4123. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4124. end
  4125. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4126. ANIM = "Jump"
  4127. if ATTACK == false then
  4128. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4129. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4130. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4131. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4132. 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)
  4133. 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)
  4134. end
  4135. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4136. ANIM = "Fall"
  4137. if ATTACK == false then
  4138. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4142. 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)
  4143. 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)
  4144. end
  4145. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4146. ANIM = "Idle"
  4147. if ATTACK == false then
  4148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  4149. if MRANDOM(1,7) == 1 then
  4150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  4151. end
  4152. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  4153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  4154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  4155. 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.25 / Animation_Speed)
  4156. 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.25 / Animation_Speed)
  4157. end
  4158. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4159. ANIM = "Walk"
  4160. if ATTACK == false then
  4161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  4163. if MRANDOM(1,7) == 1 then
  4164. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  4165. end
  4166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4167. 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)
  4168. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  4169. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  4170. end
  4171. end
  4172. end
  4173. --end
  4174. Humanoid.DisplayDistanceType = "None"
  4175. unanchor()
  4176. Humanoid.MaxHealth = "inf"
  4177. Humanoid.Health = "inf"
  4178. if Rooted == false then
  4179. Disable_Jump = false
  4180. Humanoid.WalkSpeed = Speed
  4181. elseif Rooted == true then
  4182. Disable_Jump = true
  4183. Humanoid.WalkSpeed = 0
  4184. end
  4185. if Head:FindFirstChild("face") then
  4186. Head.face.Texture = "rbxassetid://403870689"
  4187. end
  4188. for _, c in pairs(Character:GetChildren()) do
  4189. if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  4190. c:remove()
  4191. end
  4192. if c:FindFirstChildOfClass("ParticleEmitter") then
  4193. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4194. end
  4195. end
  4196. local MATHS = {"0","1"}
  4197. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  4198. Humanoid.PlatformStand = false
  4199. if INTRO == false and INSTANT == false then
  4200. INTRO = true
  4201. coroutine.resume(coroutine.create(function()
  4202. sick:Play()
  4203. Intro()
  4204. end))
  4205. end
  4206. if INSTANT == true then
  4207. if TRANSFORMED == false then
  4208. sick.TimePosition = 60
  4209. sick:Play()
  4210. end
  4211. TRANSFORMED = true
  4212. end
  4213. script.Parent = PlayerGui
  4214. Character.Parent = workspace
  4215. Humanoid.Parent = Character
  4216. end
  4217. plr = owner
  4218. char = plr.Character
  4219. hum = char.Humanoid
  4220. local cam = game.Workspace.CurrentCamera
  4221. Camera = cam
  4222. local CamInterrupt = false
  4223. local TwoD = false
  4224. local TargetInfo = {nil, nil}
  4225. cam.CameraType = "Custom"
  4226. t = char.Torso
  4227. h = char.Head
  4228. ra = char["Right Arm"]
  4229. la = char["Left Arm"]
  4230. rl = char["Right Leg"]
  4231. ll = char["Left Leg"]
  4232. tors = char.Torso
  4233. lleg = char["Left Leg"]
  4234. root = char.HumanoidRootPart
  4235. hed = char.Head
  4236. rleg = char["Right Leg"]
  4237. rarm = char["Right Arm"]
  4238. larm = char["Left Arm"]
  4239. radian = math.rad
  4240. random = math.random
  4241. Vec3 = Vector3.new
  4242. Inst = Instance.new
  4243. cFrame = CFrame.new
  4244. Euler = CFrame.fromEulerAnglesXYZ
  4245. vt = Vector3.new
  4246. bc = BrickColor.new
  4247. br = BrickColor.random
  4248. it = Instance.new
  4249. cf = CFrame.new
  4250.  
  4251. local Booleans = {
  4252. CamFollow = true,
  4253. GyroUse = true
  4254. }
  4255.  
  4256. function lerp(object, newCFrame, alpha)
  4257. return object:lerp(newCFrame, alpha)
  4258. end
  4259.  
  4260. local Directer = Inst("BodyGyro", root)
  4261. Directer.MaxTorque = Vec3(0, 0, 0)
  4262. Directer.P = 600000
  4263. local CPart = Inst("Part")
  4264. CPart.Anchored = true
  4265. CPart.CanCollide = false
  4266. CPart.Locked = true
  4267. CPart.Transparency = 1
  4268.  
  4269. local rainbowmode = false
  4270. local chaosmode = false
  4271.  
  4272. local kan = Instance.new("Sound",char)
  4273. kan.Volume = 5
  4274. kan.TimePosition = 0
  4275. kan.PlaybackSpeed = 1
  4276. kan.Pitch = 1
  4277. kan.SoundId = "rbxassetid://561833161"
  4278. kan.Name = "wrecked"
  4279. kan.Looped = true
  4280. kan:Play()
  4281.  
  4282. local currentThemePlaying = kan.SoundId
  4283. local currentPitch = kan.Pitch
  4284. local currentVol = kan.Volume
  4285. function newTheme(ID,timepos,pitch,vol)
  4286. local kanz = kan
  4287. --kanz:Stop()
  4288. kanz.Volume = vol
  4289. --kanz.TimePosition = timepos
  4290. kanz.PlaybackSpeed = pitch
  4291. kanz.Pitch = pitch
  4292. kanz.SoundId = ID
  4293. kanz.Name = "wrecked"
  4294. kanz.Looped = true
  4295. currentThemePlaying = kanz.SoundId
  4296. currentVol = kanz.Volume
  4297. currentPitch = kanz.Pitch
  4298. --kanz:Play()
  4299. --coroutine.resume(coroutine.create(function()
  4300. --wait(0.05)
  4301. --end))
  4302. end
  4303.  
  4304.  
  4305. function newThemeCust(ID,timepos,pitch,vol)
  4306. local kanz = kan
  4307. kanz:Stop()
  4308. kanz.Volume = vol
  4309. kanz.TimePosition = timepos
  4310. kanz.PlaybackSpeed = pitch
  4311. kanz.Pitch = pitch
  4312. kanz.SoundId = ID
  4313. kanz.Name = "wrecked"
  4314. kanz.Looped = true
  4315. currentThemePlaying = kanz.SoundId
  4316. currentVol = kanz.Volume
  4317. currentPitch = kanz.Pitch
  4318. kanz:Play()
  4319. coroutine.resume(coroutine.create(function()
  4320. wait(0.05)
  4321. end))
  4322. end
  4323.  
  4324. local mutedtog = false
  4325.  
  4326. function CameraEnshaking(Length,Intensity)
  4327. coroutine.resume(coroutine.create(function()
  4328. local intensity = 1*Intensity
  4329. local rotM = 0.01*Intensity
  4330. for i = 0, Length, 0.1 do
  4331. swait()
  4332. intensity = intensity - 0.05*Intensity/Length
  4333. rotM = rotM - 0.0005*Intensity/Length
  4334. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  4335. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  4336. end
  4337. Humanoid.CameraOffset = Vec3(0, 0, 0)
  4338. end))
  4339. end
  4340. CamShake=function(Part,Distan,Power,Times)
  4341. local de=Part.Position
  4342. for i,v in pairs(workspace:children()) do
  4343. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  4344. for _,c in pairs(v:children()) do
  4345. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  4346. local Noob=v.Humanoid
  4347. if Noob~=nil then
  4348. coroutine.resume(coroutine.create(function()
  4349. FV = Instance.new("BoolValue", Noob)
  4350. FV.Name = "CameraShake"
  4351. for ShakeNum=1,Times do
  4352. swait()
  4353. local ef=Power
  4354. if ef>=1 then
  4355. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  4356. else
  4357. ef=Power*10
  4358. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  4359. end
  4360. end
  4361. Humanoid.CameraOffset = Vector3.new(0,0,0)
  4362. FV:Destroy()
  4363. end))
  4364. CameraShake(Times, Power, Noob)
  4365. end
  4366. end
  4367. end
  4368. end
  4369. end
  4370. end
  4371.  
  4372.  
  4373. function chatfunc(text,color,typet,font,timeex)
  4374. local chat = coroutine.wrap(function()
  4375. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  4376. Character:FindFirstChild("TalkingBillBoard"):destroy()
  4377. end
  4378. local naeeym2 = Instance.new("BillboardGui",Character)
  4379. naeeym2.Size = UDim2.new(0,100,0,40)
  4380. naeeym2.StudsOffset = Vector3.new(0,3,0)
  4381. naeeym2.Adornee = Character.Head
  4382. naeeym2.Name = "TalkingBillBoard"
  4383. local tecks2 = Instance.new("TextLabel",naeeym2)
  4384. tecks2.BackgroundTransparency = 1
  4385. tecks2.BorderSizePixel = 0
  4386. tecks2.Text = ""
  4387. tecks2.Font = font
  4388. tecks2.TextSize = 30
  4389. tecks2.TextStrokeTransparency = 0
  4390. tecks2.TextColor3 = color
  4391. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  4392. tecks2.Size = UDim2.new(1,0,0.5,0)
  4393. local tecks3 = Instance.new("TextLabel",naeeym2)
  4394. tecks3.BackgroundTransparency = 1
  4395. tecks3.BorderSizePixel = 0
  4396. tecks3.Text = ""
  4397. tecks3.Font = font
  4398. tecks3.TextSize = 30
  4399. tecks3.TextStrokeTransparency = 0
  4400. if typet == "Inverted" then
  4401. tecks3.TextColor3 = Color3.new(0,0,0)
  4402. tecks3.TextStrokeColor3 = color
  4403. elseif typet == "Normal" then
  4404. tecks3.TextColor3 = color
  4405. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  4406. end
  4407. tecks3.Size = UDim2.new(1,0,0.5,0)
  4408. coroutine.resume(coroutine.create(function()
  4409. while true do
  4410. swait(1)
  4411. if chaosmode == true then
  4412. tecks2.TextColor3 = BrickColor.random().Color
  4413. tecks3.TextStrokeColor3 = BrickColor.random().Color
  4414. end
  4415. end
  4416. end))
  4417. modet.TextTransparency = modet.TextTransparency + 1
  4418. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  4419. for i = 0, 74*timeex do
  4420. swait()
  4421. modet.TextTransparency = 1
  4422. modet.TextStrokeTransparency = 1
  4423. tecks2.Text = text
  4424. tecks3.Text = text
  4425. end
  4426. local randomrot = math.random(1,2)
  4427. if randomrot == 1 then
  4428. for i = 1, 50 do
  4429. swait()
  4430. tecks2.Text = text
  4431. tecks3.Text = text
  4432. modet.TextTransparency = modet.TextTransparency - .02
  4433. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  4434. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4435. tecks2.TextTransparency = tecks2.TextTransparency + .04
  4436. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4437. tecks3.TextTransparency = tecks2.TextTransparency + .04
  4438. end
  4439. elseif randomrot == 2 then
  4440. for i = 1, 50 do
  4441. swait()
  4442. tecks2.Text = text
  4443. tecks3.Text = text
  4444. modet.TextTransparency = modet.TextTransparency - .02
  4445. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  4446. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4447. tecks2.TextTransparency = tecks2.TextTransparency + .04
  4448. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4449. tecks3.TextTransparency = tecks2.TextTransparency + .04
  4450. end
  4451. end
  4452. modet.TextTransparency = 0
  4453. modet.TextStrokeTransparency = 0
  4454. if toggleTag == false then
  4455. modet.TextTransparency = 1
  4456. modet.TextStrokeTransparency = 1
  4457. end
  4458. naeeym2:Destroy()
  4459. end)
  4460. chat()
  4461. end
  4462.  
  4463. function bosschatfunc(text,color,watval)
  4464. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4465. coroutine.resume(coroutine.create(function()
  4466. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  4467. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  4468. end
  4469. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  4470. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  4471. scrg.Name = "Dialog"
  4472. local txtlb = Instance.new("TextLabel",scrg)
  4473. txtlb.Text = ""
  4474. txtlb.Font = "Bodoni"
  4475. txtlb.TextColor3 = Color3.new(0,0,0)
  4476. txtlb.TextStrokeTransparency = 0
  4477. txtlb.BackgroundTransparency = 0.75
  4478. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  4479. txtlb.TextStrokeColor3 = color
  4480. txtlb.TextScaled = true
  4481. txtlb.Size = UDim2.new(1,0,0.25,0)
  4482. txtlb.TextXAlignment = "Left"
  4483. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  4484. local txtlb2 = Instance.new("TextLabel",scrg)
  4485. txtlb2.Text = "Lunar Banisher"
  4486. txtlb2.Font = "Arcade"
  4487. txtlb2.TextColor3 = Color3.new(0,0,0)
  4488. txtlb2.TextStrokeTransparency = 0
  4489. txtlb2.BackgroundTransparency = 1
  4490. txtlb2.TextStrokeColor3 = color
  4491. txtlb2.TextSize = 40
  4492. txtlb2.Size = UDim2.new(1,0,0.25,0)
  4493. txtlb2.TextXAlignment = "Left"
  4494. txtlb2.Position = UDim2.new(0,0,1,0)
  4495. local fvalen = 0.55
  4496. local fval = -0.49
  4497. coroutine.resume(coroutine.create(function()
  4498. while true do
  4499. swait()
  4500. if chaosmode == true then
  4501. txtlb.Rotation = math.random(-1,1)
  4502. txtlb2.Rotation = math.random(-1,1)
  4503. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4504. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4505. txtlb.TextStrokeColor3 = BrickColor.random().Color
  4506. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  4507. end
  4508. end
  4509. end))
  4510. coroutine.resume(coroutine.create(function()
  4511. while true do
  4512. swait()
  4513. if scrg.Parent ~= nil then
  4514. fvalen = fvalen - 0.0001
  4515. elseif scrg.Parent == nil then
  4516. break
  4517. end
  4518. end
  4519. end))
  4520. local flol = 1.75
  4521. local flil = 1.6
  4522. coroutine.resume(coroutine.create(function()
  4523. for i = 0, 9 do
  4524. swait()
  4525. fval = fval + 0.05
  4526. flol = flol - 0.1
  4527. flil = flil - 0.1
  4528. txtlb.Text = ""
  4529. txtlb.Position = UDim2.new(0,0,flol,0)
  4530. txtlb2.Position = UDim2.new(0,0,flil,0)
  4531. end
  4532. txtlb.Text = text
  4533. wait(watval)
  4534. local valinc = 0
  4535. for i = 0, 99 do
  4536. swait()
  4537. valinc = valinc + 0.0001
  4538. flol = flol + valinc
  4539. flil = flil + valinc
  4540. txtlb.Rotation = txtlb.Rotation + valinc*20
  4541. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  4542. txtlb.Position = UDim2.new(0,0,flol,0)
  4543. txtlb2.Position = UDim2.new(0,0,flil,0)
  4544. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  4545. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  4546. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  4547. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  4548. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  4549. end
  4550. scrg:Destroy()
  4551. end))
  4552. end))
  4553. end
  4554. end
  4555.  
  4556. local disably = false
  4557. function warnedpeople(text,represfont,color,color2)
  4558. if disably ~= true then
  4559. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  4560. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  4561. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4562. coroutine.resume(coroutine.create(function()
  4563. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  4564. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  4565. end
  4566. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  4567. scrg.Name = "Spinny"
  4568. local frm = Instance.new("Frame",scrg)
  4569. frm.BackgroundTransparency = 0.25
  4570. frm.BackgroundColor3 = color
  4571. frm.BorderSizePixel = 0
  4572. frm.Rotation = 45
  4573. frm.Size = UDim2.new(3,0,0,100)
  4574. frm.Position = UDim2.new(-4,0,0,0)
  4575. local frm2 = frm:Clone()
  4576. frm2.Parent = scrg
  4577. frm2.BackgroundColor3 = color2
  4578. frm2.Position = UDim2.new(-4.05,0,0,0)
  4579. local imlb = Instance.new("ImageLabel",scrg)
  4580. imlb.BackgroundTransparency = 1
  4581. imlb.BackgroundColor3 = Color3.new(0,0,0)
  4582. imlb.Image = "rbxassetid://2344851144"
  4583. imlb.Size = UDim2.new(0,750,0,750)
  4584. imlb.ImageColor3 = color2
  4585. imlb.ImageTransparency = 0.25
  4586. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  4587. local imlb2 = imlb:Clone()
  4588. imlb2.Image = "rbxassetid://2325939897"
  4589. imlb2.Size = UDim2.new(1,0,1,0)
  4590. imlb2.ImageColor3 = color
  4591. imlb2.ImageTransparency = 0
  4592. imlb2.Position = UDim2.new(0,0,0,0)
  4593. local imlb3 = imlb:Clone()
  4594. imlb3.Image = "rbxassetid://2344830904"
  4595. imlb3.Size = UDim2.new(1,0,1,0)
  4596. imlb3.ImageColor3 = color2
  4597. imlb3.ImageTransparency = 0
  4598. imlb3.Position = UDim2.new(0,0,0,0)
  4599. local imlb4 = imlb:Clone()
  4600. imlb4.Image = "rbxassetid://2344870656"
  4601. imlb4.Size = UDim2.new(3,0,3,0)
  4602. imlb4.ImageColor3 = Color3.new(1,1,1)
  4603. imlb4.ImageTransparency = 0
  4604. imlb4.Position = UDim2.new(-1,0,-1,0)
  4605. local imlb5 = imlb:Clone()
  4606. imlb5.Image = "rbxassetid://2344870656"
  4607. imlb5.Size = UDim2.new(10,0,10,0)
  4608. imlb5.ImageColor3 = color2
  4609. imlb5.ImageTransparency = 0
  4610. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  4611. imlb2.Parent = imlb
  4612. imlb3.Parent = imlb
  4613. imlb4.Parent = imlb
  4614. imlb5.Parent = imlb
  4615. local txtlb2 = Instance.new("TextLabel",imlb)
  4616. txtlb2.Text = text
  4617. txtlb2.Font = represfont
  4618. txtlb2.TextColor3 = color
  4619. txtlb2.TextStrokeTransparency = 0
  4620. txtlb2.BackgroundTransparency = 1
  4621. txtlb2.TextStrokeColor3 = color2
  4622. txtlb2.TextScaled = true
  4623. txtlb2.Size = UDim2.new(1,0,1,0)
  4624. txtlb2.Position = UDim2.new(0,0,0,0)
  4625. local fvalen = 0.55
  4626. local fval = -0.49
  4627. coroutine.resume(coroutine.create(function()
  4628. while true do
  4629. swait()
  4630. if chaosmode == true then
  4631. txtlb2.Rotation = math.random(-1,1)
  4632. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4633. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4634. imlb.ImageColor3 = BrickColor.random().Color
  4635. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  4636. end
  4637. end
  4638. end))
  4639. coroutine.resume(coroutine.create(function()
  4640. while true do
  4641. swait()
  4642. if scrg.Parent ~= nil then
  4643. fvalen = fvalen - 0.0001
  4644. elseif scrg.Parent == nil then
  4645. break
  4646. end
  4647. end
  4648. end))
  4649. local flol = -5
  4650. local flil = 1.6
  4651. coroutine.resume(coroutine.create(function()
  4652. for i = 0, 49 do
  4653. swait()
  4654. flol = flol + 0.125
  4655. flil = flil - 0.1
  4656. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  4657. frm.Rotation = frm.Rotation - 0.25
  4658. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  4659. frm2.Rotation = frm.Rotation + 0.325
  4660. imlb3.Rotation = imlb3.Rotation - 10
  4661. imlb2.Rotation = imlb.Rotation + 7.5
  4662. imlb.Rotation = imlb.Rotation + 5
  4663. txtlb2.Rotation = txtlb2.Rotation - 5.125
  4664. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  4665. end
  4666. for i = 0, 99 do
  4667. swait()
  4668. fval = fval + 0.05
  4669. flol = flol + 0.005
  4670. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  4671. frm.Rotation = frm.Rotation - 0.075
  4672. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  4673. frm2.Rotation = frm2.Rotation + 0.125
  4674. imlb3.Rotation = imlb3.Rotation - 2
  4675. imlb2.Rotation = imlb.Rotation + 1.5
  4676. imlb.Rotation = imlb.Rotation + 1
  4677. txtlb2.Rotation = txtlb2.Rotation - 1.125
  4678. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  4679. end
  4680. local valinc = 0
  4681. local vinc2 = 1
  4682. for i = 0, 99 do
  4683. swait()
  4684. vinc2 = vinc2 + 0.25
  4685. valinc = valinc + 0.0001
  4686. flol = flol + valinc
  4687. flil = flil + valinc
  4688. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  4689. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  4690. imlb.Rotation = imlb.Rotation + 1*vinc2
  4691. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  4692. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  4693. frm.Rotation = frm.Rotation + 0.1*vinc2
  4694. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  4695. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  4696. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  4697. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  4698. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  4699. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  4700. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  4701. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  4702. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  4703. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  4704. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  4705. end
  4706. scrg:Destroy()
  4707. end))
  4708. end))
  4709. end
  4710. end
  4711. end
  4712.  
  4713. local Create = LoadLibrary("RbxUtility").Create
  4714.  
  4715. CFuncs = {
  4716. ["Part"] = {
  4717. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  4718. local Part = Create("Part"){
  4719. Parent = Parent,
  4720. Reflectance = Reflectance,
  4721. Transparency = Transparency,
  4722. CanCollide = false,
  4723. Locked = true,
  4724. BrickColor = BrickColor.new(tostring(BColor)),
  4725. Name = Name,
  4726. Size = Size,
  4727. Material = Material,
  4728. }
  4729. RemoveOutlines(Part)
  4730. return Part
  4731. end;
  4732. };
  4733.  
  4734. ["Mesh"] = {
  4735. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4736. local Msh = Create(Mesh){
  4737. Parent = Part,
  4738. Offset = OffSet,
  4739. Scale = Scale,
  4740. }
  4741. if Mesh == "SpecialMesh" then
  4742. Msh.MeshType = MeshType
  4743. Msh.MeshId = MeshId
  4744. end
  4745. return Msh
  4746. end;
  4747. };
  4748.  
  4749. ["Mesh"] = {
  4750. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4751. local Msh = Create(Mesh){
  4752. Parent = Part,
  4753. Offset = OffSet,
  4754. Scale = Scale,
  4755. }
  4756. if Mesh == "SpecialMesh" then
  4757. Msh.MeshType = MeshType
  4758. Msh.MeshId = MeshId
  4759. end
  4760. return Msh
  4761. end;
  4762. };
  4763.  
  4764. ["Weld"] = {
  4765. Create = function(Parent, Part0, Part1, C0, C1)
  4766. local Weld = Create("Weld"){
  4767. Parent = Parent,
  4768. Part0 = Part0,
  4769. Part1 = Part1,
  4770. C0 = C0,
  4771. C1 = C1,
  4772. }
  4773. return Weld
  4774. end;
  4775. };
  4776.  
  4777. ["Sound"] = {
  4778. Create = function(id, par, vol, pit)
  4779. coroutine.resume(coroutine.create(function()
  4780. local S = Create("Sound"){
  4781. Volume = vol,
  4782. Name = "EffectSoundo",
  4783. Pitch = pit or 1,
  4784. SoundId = id,
  4785. Parent = par or workspace,
  4786. }
  4787. wait()
  4788. S:play()
  4789. game:GetService("Debris"):AddItem(S, 10)
  4790. end))
  4791. end;
  4792. };
  4793.  
  4794. ["TimeSound"] = {
  4795. Create = function(id, par, vol, pit, timepos)
  4796. coroutine.resume(coroutine.create(function()
  4797. local S = Create("Sound"){
  4798. Volume = vol,
  4799. Name = "EffectSoundo",
  4800. Pitch = pit or 1,
  4801. SoundId = id,
  4802. TimePosition = timepos,
  4803. Parent = par or workspace,
  4804. }
  4805. wait()
  4806. S:play()
  4807. game:GetService("Debris"):AddItem(S, 10)
  4808. end))
  4809. end;
  4810. };
  4811. ["EchoSound"] = {
  4812. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  4813. coroutine.resume(coroutine.create(function()
  4814. local Sas = Create("Sound"){
  4815. Volume = vol,
  4816. Name = "EffectSoundo",
  4817. Pitch = pit or 1,
  4818. SoundId = id,
  4819. TimePosition = timepos,
  4820. Parent = par or workspace,
  4821. }
  4822. local E = Create("EchoSoundEffect"){
  4823. Delay = echodelay,
  4824. Name = "Echo",
  4825. Feedback = fedb,
  4826. DryLevel = dryl,
  4827. Parent = Sas,
  4828. }
  4829. wait()
  4830. Sas:play()
  4831. game:GetService("Debris"):AddItem(Sas, delays)
  4832. end))
  4833. end;
  4834. };
  4835.  
  4836. ["LongSound"] = {
  4837. Create = function(id, par, vol, pit)
  4838. coroutine.resume(coroutine.create(function()
  4839. local S = Create("Sound"){
  4840. Volume = vol,
  4841. Pitch = pit or 1,
  4842. SoundId = id,
  4843. Parent = par or workspace,
  4844. }
  4845. wait()
  4846. S:play()
  4847. game:GetService("Debris"):AddItem(S, 60)
  4848. end))
  4849. end;
  4850. };
  4851.  
  4852. ["ParticleEmitter"] = {
  4853. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  4854. local fp = Create("ParticleEmitter"){
  4855. Parent = Parent,
  4856. Color = ColorSequence.new(Color1, Color2),
  4857. LightEmission = LightEmission,
  4858. Size = Size,
  4859. Texture = Texture,
  4860. Transparency = Transparency,
  4861. ZOffset = ZOffset,
  4862. Acceleration = Accel,
  4863. Drag = Drag,
  4864. LockedToPart = LockedToPart,
  4865. VelocityInheritance = VelocityInheritance,
  4866. EmissionDirection = EmissionDirection,
  4867. Enabled = Enabled,
  4868. Lifetime = LifeTime,
  4869. Rate = Rate,
  4870. Rotation = Rotation,
  4871. RotSpeed = RotSpeed,
  4872. Speed = Speed,
  4873. VelocitySpread = VelocitySpread,
  4874. }
  4875. return fp
  4876. end;
  4877. };
  4878.  
  4879. CreateTemplate = {
  4880.  
  4881. };
  4882. }
  4883.  
  4884.  
  4885.  
  4886. New = function(Object, Parent, Name, Data)
  4887. local Object = Instance.new(Object)
  4888. for Index, Value in pairs(Data or {}) do
  4889. Object[Index] = Value
  4890. end
  4891. Object.Parent = Parent
  4892. Object.Name = Name
  4893. return Object
  4894. end
  4895. local halocolor = BrickColor.new("Pastel light blue")
  4896. local halocolor2 = BrickColor.new("Cool yellow")
  4897. local starcolor = BrickColor.new("Bright yellow")
  4898. local lunacolor = BrickColor.new("Navy blue")
  4899. local lunacolor2 = BrickColor.new("Bright blue")
  4900. local wepcolor = BrickColor.new("Really black")
  4901. local maincolor = BrickColor.new("Really black")
  4902. local m = Instance.new("Model",char)
  4903. local m2 = Instance.new("Model",char)
  4904. local m3 = Instance.new("Model",char)
  4905. local mw1 = Instance.new("Model",char)
  4906. local mw2 = Instance.new("Model",char)
  4907.  
  4908.  
  4909.  
  4910.  
  4911. local extrawingmod1 = Instance.new("Model",char)
  4912. local extrawingmod2 = Instance.new("Model",char)
  4913.  
  4914. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  4915. local p = Instance.new("Part")
  4916. p.TopSurface = 0
  4917. p.BottomSurface = 0
  4918. p.Parent = parent
  4919. p.Size = Vector3.new(0.1,0.1,0.1)
  4920. p.Transparency = transparency
  4921. p.Reflectance = reflectance
  4922. p.CanCollide = false
  4923. p.Locked = true
  4924. p.BrickColor = brickcolor
  4925. p.Material = material
  4926. return p
  4927. end
  4928.  
  4929. function CreateMesh(parent,meshtype,x1,y1,z1)
  4930. local mesh = Instance.new("SpecialMesh",parent)
  4931. mesh.MeshType = meshtype
  4932. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  4933. return mesh
  4934. end
  4935.  
  4936. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  4937. local mesh = Instance.new("SpecialMesh",parent)
  4938. mesh.MeshType = "FileMesh"
  4939. mesh.MeshId = meshid
  4940. mesh.Scale = Vector3.new(x1,y1,z1)
  4941. return mesh
  4942. end
  4943.  
  4944.  
  4945. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  4946. local mesh = Instance.new("SpecialMesh",parent)
  4947. mesh.MeshType = "FileMesh"
  4948. mesh.MeshId = meshid
  4949. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  4950. mesh.Scale = Vector3.new(x1,y1,z1)
  4951. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  4952. return mesh
  4953. end
  4954.  
  4955. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  4956. local weld = Instance.new("Weld")
  4957. weld.Parent = parent
  4958. weld.Part0 = part0
  4959. weld.Part1 = part1
  4960. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  4961. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  4962. return weld
  4963. end
  4964.  
  4965.  
  4966. --------------
  4967. --------------
  4968. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4969. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4970. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4971. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4972.  
  4973. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  4974. CreateMesh(handle,"Brick",0,0,0)
  4975. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4976. local valuaring = 10
  4977. for i = 0, 49 do
  4978. valuaring = valuaring + 10
  4979. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  4980. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  4981. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4982. end
  4983.  
  4984. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  4985. CreateMesh(handle,"Brick",0,0,0)
  4986. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4987. local valuaring = 10
  4988. for i = 0, 49 do
  4989. valuaring = valuaring + 10
  4990. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4991. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  4992. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4993. end
  4994.  
  4995.  
  4996. local handle = CreateParta(m,1,1,"Neon",maincolor)
  4997. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4998. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4999.  
  5000. --- Left wing.
  5001.  
  5002. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  5003. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5004. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5005.  
  5006. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5007. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5008. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5009. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5010. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5011. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5012. A0 = Instance.new('Attachment',wed)
  5013. A0.Position = vt(0,0.25,0.25)
  5014. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5015. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5016. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5017. A1 = Instance.new('Attachment',wed)
  5018. A1.Position = vt(0,-0.25,-2)
  5019. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5020. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5021. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5022.  
  5023. tl1 = Instance.new('Trail',wed)
  5024. tl1.Attachment0 = A1
  5025. tl1.Attachment1 = A0
  5026. tl1.Texture = "rbxassetid://2108945559"
  5027. tl1.LightEmission = 1
  5028. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5029. tl1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5030. tl1.Lifetime = 0.6
  5031.  
  5032.  
  5033. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  5034. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5035. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5036.  
  5037. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5039. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5040. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5041. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5042. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5043. A0 = Instance.new('Attachment',wed)
  5044. A0.Position = vt(0,0.25,0.25)
  5045. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5046. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5047. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5048. A1 = Instance.new('Attachment',wed)
  5049. A1.Position = vt(0,-0.25,-2)
  5050. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5051. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5052. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5053.  
  5054. tl2 = Instance.new('Trail',wed)
  5055. tl2.Attachment0 = A1
  5056. tl2.Attachment1 = A0
  5057. tl2.Texture = "rbxassetid://2108945559"
  5058. tl2.LightEmission = 1
  5059. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5060. tl2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5061. tl2.Lifetime = 0.6
  5062.  
  5063. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  5064. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5065. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5066.  
  5067. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5068. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5069. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5070. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5071. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5072. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5073. A0 = Instance.new('Attachment',wed)
  5074. A0.Position = vt(0,0.25,0.25)
  5075. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5076. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5077. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5078. A1 = Instance.new('Attachment',wed)
  5079. A1.Position = vt(0,-0.25,-2)
  5080. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5081. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5082. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5083.  
  5084. tl3 = Instance.new('Trail',wed)
  5085. tl3.Attachment0 = A1
  5086. tl3.Attachment1 = A0
  5087. tl3.Texture = "rbxassetid://2108945559"
  5088. tl3.LightEmission = 1
  5089. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5090. tl3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5091. tl3.Lifetime = 0.6
  5092.  
  5093. tl1.Enabled = false
  5094. tl2.Enabled = false
  5095. tl3.Enabled = false
  5096. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  5097. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5098. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5099.  
  5100. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5101. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5102. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5103. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5104. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5105. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5106. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5107. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5108. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5109. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5110. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5111. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5112.  
  5113. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  5114. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5115. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5116.  
  5117. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5118. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5119. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5120. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5121. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5122. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5123. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5124. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5125. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5126. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5127. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5128. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5129.  
  5130. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  5131. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5132. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5133.  
  5134. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5135. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5136. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5137. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5138. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5139. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5140. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5141. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5142. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5143. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5144. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5145. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5146.  
  5147. -- Right wing.
  5148.  
  5149. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  5150. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5151. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5152.  
  5153. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5154. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5155. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5156. A0 = Instance.new('Attachment',wed)
  5157. A0.Position = vt(0,0.25,0.25)
  5158. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5159. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5160. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5161. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5162. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5163. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5164. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5165. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5166. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5167. A1 = Instance.new('Attachment',wed)
  5168. A1.Position = vt(0,2,0.25)
  5169.  
  5170. tr1 = Instance.new('Trail',wed)
  5171. tr1.Attachment0 = A1
  5172. tr1.Attachment1 = A0
  5173. tr1.Texture = "rbxassetid://2108945559"
  5174. tr1.LightEmission = 1
  5175. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5176. tr1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5177. tr1.Lifetime = 0.6
  5178.  
  5179. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  5180. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5181. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5182.  
  5183. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5184. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5185. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5186. A0 = Instance.new('Attachment',wed)
  5187. A0.Position = vt(0,0.25,0.25)
  5188. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5189. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5190. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5191. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5192. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5193. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5194. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5195. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5196. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5197. A1 = Instance.new('Attachment',wed)
  5198. A1.Position = vt(0,2,0.25)
  5199.  
  5200. tr2 = Instance.new('Trail',wed)
  5201. tr2.Attachment0 = A1
  5202. tr2.Attachment1 = A0
  5203. tr2.Texture = "rbxassetid://2108945559"
  5204. tr2.LightEmission = 1
  5205. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5206. tr2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5207. tr2.Lifetime = 0.6
  5208.  
  5209. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  5210. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5211. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5212.  
  5213. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5214. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5215. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5216. A0 = Instance.new('Attachment',wed)
  5217. A0.Position = vt(0,0.25,0.25)
  5218. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5219. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5220. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5221. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5222. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5223. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5224. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5225. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5226. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5227. A1 = Instance.new('Attachment',wed)
  5228. A1.Position = vt(0,2,0.25)
  5229.  
  5230. tr3 = Instance.new('Trail',wed)
  5231. tr3.Attachment0 = A1
  5232. tr3.Attachment1 = A0
  5233. tr3.Texture = "rbxassetid://2108945559"
  5234. tr3.LightEmission = 1
  5235. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5236. tr3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5237. tr3.Lifetime = 0.6
  5238.  
  5239.  
  5240. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  5241. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5242. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5243.  
  5244. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5245. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5246. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5247. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5248. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5249. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5250. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5251. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5252. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5253. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5254. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5255. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5256.  
  5257. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  5258. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5259. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5260.  
  5261. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5262. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5263. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5264. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5265. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5266. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5267. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5268. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5269. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5270. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5271. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5272. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5273.  
  5274. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  5275. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5276. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5277.  
  5278. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5279. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5280. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5281. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5282. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5283. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5284. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5285. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5286. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5287. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5288. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5289. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5290.  
  5291. --HERES THE RING
  5292.  
  5293.  
  5294. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  5295. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  5296. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5297. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5298. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  5299. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5300. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5301. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  5302. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5303.  
  5304.  
  5305. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5306. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5307. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5308.  
  5309. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5310. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5311. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5312.  
  5313.  
  5314.  
  5315. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5316. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5317. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5318.  
  5319. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5320. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5321. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5322.  
  5323. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  5324. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  5325. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5326.  
  5327. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5328. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  5329. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5330. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  5331. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  5332. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  5333.  
  5334. --- second ring
  5335.  
  5336.  
  5337. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5338. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5339. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5340.  
  5341. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5342. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5343. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5344.  
  5345.  
  5346.  
  5347. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5348. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5349. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5350.  
  5351. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5352. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5353. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5354.  
  5355. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  5356. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  5357. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5358.  
  5359. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5360. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  5361. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5362. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  5363. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  5364. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  5365.  
  5366.  
  5367.  
  5368. for i, v in pairs(m:GetChildren()) do
  5369. if v:IsA("Part") then
  5370. v.BrickColor = BrickColor.new("Really black")
  5371. v.Material = "Glass"
  5372. end
  5373. end
  5374. for i, v in pairs(m2:GetChildren()) do
  5375. if v:IsA("Part") then
  5376. v.BrickColor = BrickColor.new("Crimson")
  5377. v.Material = "Granite"
  5378. end
  5379. end
  5380. for i, v in pairs(m3:GetChildren()) do
  5381. if v:IsA("Part") then
  5382. v.BrickColor = BrickColor.new("Really blue")
  5383. v.Material = "Neon"
  5384. end
  5385. end
  5386. for i, v in pairs(mw2:GetChildren()) do
  5387. if v:IsA("Part") then
  5388. v.BrickColor = BrickColor.new("Really blue")
  5389. v.Material = "Neon"
  5390. end
  5391. end
  5392. for i, v in pairs(mw1:GetChildren()) do
  5393. if v:IsA("Part") then
  5394. v.Transparency = 1
  5395. v.BrickColor = BrickColor.new("Really blue")
  5396. v.Material = "Neon"
  5397. end
  5398. end
  5399. for i, v in pairs(extrawingmod1:GetChildren()) do
  5400. if v:IsA("Part") then
  5401. v.Transparency = 1
  5402. v.BrickColor = BrickColor.new("White")
  5403. v.Material = "Neon"
  5404. end
  5405. end
  5406. for i, v in pairs(extrawingmod2:GetChildren()) do
  5407. if v:IsA("Part") then
  5408. v.Transparency = 1
  5409. v.BrickColor = BrickColor.new("White")
  5410. v.Material = "Neon"
  5411. end
  5412. end
  5413. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  5414. local SECONDRUINCOLOR = BrickColor.new("Navy blue")
  5415. local THIRDRUINCOLOR = BrickColor.new("Really black")
  5416.  
  5417. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  5418. for i, v in pairs(mw2:GetChildren()) do
  5419. if v:IsA("Part") then
  5420. v.BrickColor = one
  5421. v.Material = "Neon"
  5422. end
  5423. end
  5424. refec.Color = ColorSequence.new(one.Color)
  5425. refec2.Color = ColorSequence.new(one.Color)
  5426. refec3.Color = ColorSequence.new(one.Color)
  5427. tr1.Color = ColorSequence.new(one.Color)
  5428. tr2.Color = ColorSequence.new(one.Color)
  5429. tr3.Color = ColorSequence.new(one.Color)
  5430. imgl2.ImageColor3 = one.Color
  5431. circl.ImageColor3 = two.Color
  5432. techc.ImageColor3 = one.Color
  5433. circl2.ImageColor3 = one.Color
  5434. ned.TextColor3 = two.Color
  5435. ned.TextStrokeColor3 = one.Color
  5436. for i, v in pairs(mw1:GetChildren()) do
  5437. if v:IsA("Part") then
  5438. v.Transparency = 0
  5439. v.BrickColor = two
  5440. v.Material = "Neon"
  5441. end
  5442. end
  5443. tl1.Color = ColorSequence.new(two.Color)
  5444. tl2.Color = ColorSequence.new(two.Color)
  5445. tl3.Color = ColorSequence.new(two.Color)
  5446. for i, v in pairs(m:GetChildren()) do
  5447. if v:IsA("Part") then
  5448. v.BrickColor = three
  5449. v.Material = "Ice"
  5450. end
  5451. end
  5452. for i, v in pairs(m2:GetChildren()) do
  5453. if v:IsA("Part") then
  5454. v.BrickColor = four
  5455. v.Material = "Ice"
  5456. end
  5457. end
  5458. for i, v in pairs(m3:GetChildren()) do
  5459. if v:IsA("Part") then
  5460. v.BrickColor = five
  5461. v.Material = "Neon"
  5462. end
  5463. end
  5464. for i, v in pairs(extrawingmod1:GetChildren()) do
  5465. if v:IsA("Part") then
  5466. v.Transparency = exonetran
  5467. v.BrickColor = exone
  5468. v.Material = "Neon"
  5469. end
  5470. end
  5471. for i, v in pairs(extrawingmod2:GetChildren()) do
  5472. if v:IsA("Part") then
  5473. v.Transparency = extwotran
  5474. v.BrickColor = extwo
  5475. v.Material = "Neon"
  5476. end
  5477. end
  5478. end
  5479.  
  5480. function bosschatfunc(text,color,watval)
  5481. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  5482. coroutine.resume(coroutine.create(function()
  5483. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  5484. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  5485. end
  5486. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  5487. scrg.Name = "Dialog"
  5488. local txtlb = Instance.new("TextLabel",scrg)
  5489. txtlb.Text = ""
  5490. txtlb.Font = "Bodoni"
  5491. txtlb.TextColor3 = Color3.new(0,0,0)
  5492. txtlb.TextStrokeTransparency = 0
  5493. txtlb.BackgroundTransparency = 0.75
  5494. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  5495. txtlb.TextStrokeColor3 = color
  5496. txtlb.TextScaled = true
  5497. txtlb.Size = UDim2.new(1,0,0.25,0)
  5498. txtlb.TextXAlignment = "Left"
  5499. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  5500. local txtlb2 = Instance.new("TextLabel",scrg)
  5501. txtlb2.Text = "Chaotic:"
  5502. txtlb2.Font = "Arcade"
  5503. txtlb2.TextColor3 = Color3.new(0,0,0)
  5504. txtlb2.TextStrokeTransparency = 0
  5505. txtlb2.BackgroundTransparency = 1
  5506. txtlb2.TextStrokeColor3 = color
  5507. txtlb2.TextSize = 40
  5508. txtlb2.Size = UDim2.new(1,0,0.25,0)
  5509. txtlb2.TextXAlignment = "Left"
  5510. txtlb2.Position = UDim2.new(0,0,1,0)
  5511. local fvalen = 0.55
  5512. local fval = -0.49
  5513. coroutine.resume(coroutine.create(function()
  5514. while true do
  5515. Swait()
  5516. if MODE == "Sanity" then
  5517. txtlb.Rotation = math.random(-1,1)
  5518. txtlb2.Rotation = math.random(-1,1)
  5519. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5520. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5521. txtlb.TextStrokeColor3 = BrickColor.random().Color
  5522. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  5523. end
  5524. end
  5525. end))
  5526. coroutine.resume(coroutine.create(function()
  5527. while true do
  5528. Swait()
  5529. if scrg.Parent ~= nil then
  5530. fvalen = fvalen - 0.0001
  5531. elseif scrg.Parent == nil then
  5532. break
  5533. end
  5534. end
  5535. end))
  5536. local flol = 1.75
  5537. local flil = 1.6
  5538. coroutine.resume(coroutine.create(function()
  5539. for i = 0, 9 do
  5540. Swait()
  5541. fval = fval + 0.05
  5542. flol = flol - 0.1
  5543. flil = flil - 0.1
  5544. txtlb.Text = ""
  5545. txtlb.Position = UDim2.new(0,0,flol,0)
  5546. txtlb2.Position = UDim2.new(0,0,flil,0)
  5547. end
  5548. txtlb.Text = text
  5549. wait(watval)
  5550. local valinc = 0
  5551. for i = 0, 99 do
  5552. Swait()
  5553. valinc = valinc + 0.0001
  5554. flol = flol + valinc
  5555. flil = flil + valinc
  5556. txtlb.Rotation = txtlb.Rotation + valinc*20
  5557. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  5558. txtlb.Position = UDim2.new(0,0,flol,0)
  5559. txtlb2.Position = UDim2.new(0,0,flil,0)
  5560. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  5561. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  5562. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  5563. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  5564. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  5565. end
  5566. scrg:Destroy()
  5567. end))
  5568. end))
  5569. end
  5570. end
  5571.  
  5572. function BigBlack(text,color,watval)
  5573. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  5574. coroutine.resume(coroutine.create(function()
  5575. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  5576. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  5577. end
  5578. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  5579. scrg.Name = "Dialog"
  5580. local txtlb = Instance.new("TextLabel",scrg)
  5581. txtlb.Text = ""
  5582. txtlb.Font = "Bodoni"
  5583. txtlb.TextColor3 = Color3.new(0,0,0)
  5584. txtlb.TextStrokeTransparency = 1
  5585. txtlb.BackgroundTransparency = 1
  5586. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  5587. txtlb.TextStrokeColor3 = color
  5588. txtlb.TextScaled = true
  5589. txtlb.Size = UDim2.new(1,0,1,0)
  5590. txtlb.TextXAlignment = "Center"
  5591. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  5592. local txtlb2 = Instance.new("TextLabel",scrg)
  5593. txtlb2.Text = "Chaotic:"
  5594. txtlb2.Font = "Arcade"
  5595. txtlb2.TextColor3 = Color3.new(0,0,0)
  5596. txtlb2.TextStrokeTransparency = 0
  5597. txtlb2.BackgroundTransparency = 1
  5598. txtlb2.TextStrokeColor3 = color
  5599. txtlb2.TextSize = 40
  5600. txtlb2.Size = UDim2.new(1,0,0.25,0)
  5601. txtlb2.TextXAlignment = "Left"
  5602. txtlb2.Position = UDim2.new(0,0,1,0)
  5603. local fvalen = 0.55
  5604. local fval = -0.49
  5605. coroutine.resume(coroutine.create(function()
  5606. while true do
  5607. Swait()
  5608. if MODE == "Sanity" then
  5609. txtlb.Rotation = math.random(-1,1)
  5610. txtlb2.Rotation = math.random(-1,1)
  5611. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5612. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5613. txtlb.TextStrokeColor3 = BrickColor.random().Color
  5614. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  5615. end
  5616. end
  5617. end))
  5618. coroutine.resume(coroutine.create(function()
  5619. while true do
  5620. Swait()
  5621. if scrg.Parent ~= nil then
  5622. fvalen = fvalen - 0.0001
  5623. elseif scrg.Parent == nil then
  5624. break
  5625. end
  5626. end
  5627. end))
  5628. local flol = 1.05
  5629. local flil = 0.75
  5630. local flil2 = -0.2
  5631. coroutine.resume(coroutine.create(function()
  5632. for i = 1,string.len(text),1 do
  5633. wait()
  5634. text.Text = string.sub(text,1,i)
  5635. end
  5636. end))
  5637. coroutine.resume(coroutine.create(function()
  5638. for i = 0, 1 do
  5639. fval = fval + 0.05
  5640. flol = flol - 0.1
  5641. flil2 = flil2 + 0.1
  5642. txtlb.Text = ""
  5643. txtlb.Position = UDim2.new(flil2,0,0,0)
  5644. txtlb.BackgroundTransparency = 1 - 0.1
  5645. txtlb2.Position = UDim2.new(flil2,0,0,0)
  5646. end
  5647.  
  5648. for i = 0, 99 do
  5649. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency - 0.01
  5650. txtlb.TextTransparency = txtlb.TextTransparency - 0.01
  5651. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency - 0.01
  5652. txtlb2.TextTransparency = txtlb2.TextTransparency - 0.01
  5653. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency - 0.0025
  5654. end
  5655.  
  5656. txtlb.Text = text
  5657. wait(watval)
  5658. local valinc = 0
  5659. for i = 0, 99 do
  5660. Swait()
  5661. valinc = valinc + 0.0002
  5662. flol = flol + valinc
  5663. flil2 = flil2 + valinc
  5664. txtlb.Rotation = txtlb.Rotation + valinc*15
  5665. txtlb2.Rotation = txtlb2.Rotation - valinc*15
  5666. txtlb.Position = UDim2.new(flil2,0,0,0)
  5667. txtlb2.Position = UDim2.new(flil2,0,0,0)
  5668. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  5669. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  5670. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  5671. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  5672. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  5673. end
  5674. scrg:Destroy()
  5675. end))
  5676. end))
  5677. end
  5678. end
  5679. ------
  5680.  
  5681.  
  5682. function RemoveOutlines(part)
  5683. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  5684. end
  5685. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  5686. local Part = Create("Part")({
  5687. Parent = Parent,
  5688. Reflectance = Reflectance,
  5689. Transparency = Transparency,
  5690. CanCollide = false,
  5691. Locked = true,
  5692. BrickColor = BrickColor.new(tostring(BColor)),
  5693. Name = Name,
  5694. Size = Size,
  5695. Material = Material
  5696. })
  5697. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  5698. RemoveOutlines(Part)
  5699. return Part
  5700. end
  5701. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  5702. local Msh = Create(Mesh)({
  5703. Parent = Part,
  5704. Offset = OffSet,
  5705. Scale = Scale
  5706. })
  5707. if Mesh == "SpecialMesh" then
  5708. Msh.MeshType = MeshType
  5709. Msh.MeshId = MeshId
  5710. end
  5711. return Msh
  5712. end
  5713. function CreateWeld(Parent, Part0, Part1, C0, C1)
  5714. local Weld = Create("Weld")({
  5715. Parent = Parent,
  5716. Part0 = Part0,
  5717. Part1 = Part1,
  5718. C0 = C0,
  5719. C1 = C1
  5720. })
  5721. return Weld
  5722. end
  5723.  
  5724.  
  5725.  
  5726. Player = plr
  5727. PlayerGui = Player.PlayerGui
  5728. Cam = workspace.CurrentCamera
  5729. Backpack = Player.Backpack
  5730. Character = Player.Character
  5731. Humanoid = Character.Humanoid
  5732. RootPart = Character["HumanoidRootPart"]
  5733. Torso = Character["Torso"]
  5734. Head = Character["Head"]
  5735. RightArm = Character["Right Arm"]
  5736. LeftArm = Character["Left Arm"]
  5737. RightLeg = Character["Right Leg"]
  5738. LeftLeg = Character["Left Leg"]
  5739. RootJoint = RootPart["RootJoint"]
  5740. Neck = Torso["Neck"]
  5741. RightShoulder = Torso["Right Shoulder"]
  5742. LeftShoulder = Torso["Left Shoulder"]
  5743. RightHip = Torso["Right Hip"]
  5744. LeftHip = Torso["Left Hip"]
  5745. local sick = Instance.new("Sound",Torso)
  5746. sick.SoundId = "rbxassetid://1306847940"
  5747. sick.Looped = true
  5748. sick.Pitch = 1
  5749. sick.Volume = 0
  5750. sick.TimePosition = 0
  5751. Character.Archivable = true
  5752. Humanoid.DisplayDistanceType = "None"
  5753.  
  5754. local naeeym2 = Instance.new("BillboardGui",Character)
  5755. naeeym2.AlwaysOnTop = true
  5756. naeeym2.Size = UDim2.new(5,35,2,35)
  5757. naeeym2.StudsOffset = Vector3.new(0,3,0)
  5758. naeeym2.Adornee = Character.Head
  5759. naeeym2.Name = "Name"
  5760. local tecks2 = Instance.new("TextLabel",naeeym2)
  5761. tecks2.BackgroundTransparency = 1
  5762. tecks2.TextScaled = true
  5763. tecks2.BorderSizePixel = 0
  5764. tecks2.Text = "Lunar"
  5765. tecks2.Font = "Antique"
  5766. tecks2.TextSize = 30
  5767. tecks2.TextTransparency = 1
  5768. tecks2.TextStrokeTransparency = 1
  5769. tecks2.TextColor3 = Color3.new(0/255,0/255,255/255)
  5770. tecks2.Size = UDim2.new(1,0,0.5,0)
  5771. tecks2.Parent = naeeym2
  5772.  
  5773. IT = Instance.new
  5774. CF = CFrame.new
  5775. VT = Vector3.new
  5776. RAD = math.rad
  5777. C3 = Color3.new
  5778. UD2 = UDim2.new
  5779. BRICKC = BrickColor.new
  5780. ANGLES = CFrame.Angles
  5781. EULER = CFrame.fromEulerAnglesXYZ
  5782. COS = math.cos
  5783. ACOS = math.acos
  5784. SIN = math.sin
  5785. ASIN = math.asin
  5786. ABS = math.abs
  5787. MRANDOM = math.random
  5788. FLOOR = math.floor
  5789.  
  5790. --//=================================\\
  5791. --|| USEFUL VALUES
  5792. --\\=================================//
  5793.  
  5794. Animation_Speed = 3
  5795. local FORCERESET = false
  5796. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  5797. local Speed = 16
  5798. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  5799. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  5800. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  5801. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  5802. local DAMAGEMULTIPLIER = 1
  5803. local ANIM = "Idle"
  5804. local ATTACK = false
  5805. local EQUIPPED = false
  5806. local HOLD = false
  5807. local COMBO = 1
  5808. local Rooted = false
  5809. local INTRO = false
  5810. local Gun = IT("Model")
  5811. Gun.Name = "Gun"
  5812. local SINE = 0
  5813. local KEYHOLD = false
  5814. local CHANGE = 2 / Animation_Speed
  5815. local WALKINGANIM = false
  5816. local VALUE1 = false
  5817. local VALUE2 = false
  5818. local ROBLOXIDLEANIMATION = IT("Animation")
  5819. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  5820. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  5821. --ROBLOXIDLEANIMATION.Parent = Humanoid
  5822. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  5823. WEAPONGUI.Name = "BanishV3Gui"
  5824. local Weapon = IT("Model")
  5825. Weapon.Name = "Adds"
  5826. local FaceGradient = IT("Folder", Character)
  5827. FaceGradient.Name = "FaceGradient"
  5828. local Effects = IT("Folder", Weapon)
  5829. Effects.Name = "Effects"
  5830. local ANIMATOR = Humanoid.Animator
  5831. local ANIMATE = Character:FindFirstChild("Animate")
  5832. local UNANCHOR = true
  5833. local TOBANISH = {}
  5834. script.Parent = PlayerGui
  5835.  
  5836. --//=================================\\
  5837. --\\=================================//
  5838.  
  5839.  
  5840. --//=================================\\
  5841. --|| CUSTOMIZATION
  5842. --\\=================================//
  5843.  
  5844. Class_Name = "Sharpshooter"
  5845. Weapon_Name = "Add-ons"
  5846.  
  5847. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  5848. Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  5849.  
  5850. Custom_Color_3 = BRICKC("Navy blue"); --Color for the abilities.
  5851. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  5852. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  5853. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  5854. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  5855.  
  5856. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  5857. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  5858. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  5859. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  5860. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  5861.  
  5862.  
  5863. Player_Size = 1 --Size of the player.
  5864. Animation_Speed = 3
  5865. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  5866.  
  5867. local Speed = 16
  5868. local Effects2 = {}
  5869.  
  5870. --//=================================\\
  5871. --|| END OF CUSTOMIZATION
  5872. --\\=================================//
  5873.  
  5874.  
  5875. --//=================================\\
  5876. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  5877. --\\=================================//
  5878.  
  5879. ArtificialHB = Instance.new("BindableEvent", script)
  5880. ArtificialHB.Name = "ArtificialHB"
  5881.  
  5882. script:WaitForChild("ArtificialHB")
  5883.  
  5884. frame = Frame_Speed
  5885. tf = 0
  5886. allowframeloss = false
  5887. tossremainder = false
  5888. lastframe = tick()
  5889. script.ArtificialHB:Fire()
  5890.  
  5891. game:GetService("RunService").Heartbeat:connect(function(s, p)
  5892. tf = tf + s
  5893. if tf >= frame then
  5894. if allowframeloss then
  5895. script.ArtificialHB:Fire()
  5896. lastframe = tick()
  5897. else
  5898. for i = 1, math.floor(tf / frame) do
  5899. script.ArtificialHB:Fire()
  5900. end
  5901. lastframe = tick()
  5902. end
  5903. if tossremainder then
  5904. tf = 0
  5905. else
  5906. tf = tf - frame * math.floor(tf / frame)
  5907. end
  5908. end
  5909. end)
  5910.  
  5911. --//=================================\\
  5912. --\\=================================//
  5913.  
  5914. --//=================================\\
  5915. --|| SOME FUNCTIONS
  5916. --\\=================================//
  5917.  
  5918. function Clerp(a, b, t)
  5919. local qa = {QuaternionFromCFrame(a)}
  5920. local qb = {QuaternionFromCFrame(b)}
  5921. local ax, ay, az = a.x, a.y, a.z
  5922. local bx, by, bz = b.x, b.y, b.z
  5923. local _t = 1 - t
  5924. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  5925. end
  5926.  
  5927. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  5928. local frame = IT("Frame")
  5929. frame.BackgroundTransparency = TRANSPARENCY
  5930. frame.BorderSizePixel = BORDERSIZEPIXEL
  5931. frame.Position = POSITION
  5932. frame.Size = SIZE
  5933. frame.BackgroundColor3 = COLOR
  5934. frame.BorderColor3 = BORDERCOLOR
  5935. frame.Name = NAME
  5936. frame.Parent = PARENT
  5937. return frame
  5938. end
  5939.  
  5940. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  5941. local label = IT("TextLabel")
  5942. label.BackgroundTransparency = 1
  5943. label.Size = UD2(1, 0, 1, 0)
  5944. label.Position = UD2(0, 0, 0, 0)
  5945. label.TextColor3 = TEXTCOLOR
  5946. label.TextStrokeTransparency = STROKETRANSPARENCY
  5947. label.TextTransparency = TRANSPARENCY
  5948. label.FontSize = TEXTFONTSIZE
  5949. label.Font = TEXTFONT
  5950. label.BorderSizePixel = BORDERSIZEPIXEL
  5951. label.TextScaled = false
  5952. label.Text = TEXT
  5953. label.Name = NAME
  5954. label.Parent = PARENT
  5955. return label
  5956. end
  5957.  
  5958. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  5959. if FLOOR ~= nil then
  5960. coroutine.resume(coroutine.create(function()
  5961. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  5962. PART.CFrame = CF(POSITION)
  5963. for i = 1, 45 do
  5964. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  5965. RingPiece.Material = FLOOR.Material
  5966. RingPiece.Color = FLOOR.Color
  5967. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  5968. Debris:AddItem(RingPiece,SWAIT)
  5969. end
  5970. PART:remove()
  5971. end))
  5972. end
  5973. end
  5974.  
  5975. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  5976. if FLOOR ~= nil then
  5977. for i = 1, AMOUNT do
  5978. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  5979. DEBREE.Material = FLOOR.Material
  5980. DEBREE.Color = FLOOR.Color
  5981. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  5982. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  5983. coroutine.resume(coroutine.create(function()
  5984. Swait(15)
  5985. DEBREE.Parent = workspace
  5986. DEBREE.CanCollide = true
  5987. Debris:AddItem(DEBREE,SWAIT)
  5988. end))
  5989. end
  5990. end
  5991. end
  5992.  
  5993. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  5994. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  5995. end
  5996.  
  5997. function PositiveAngle(NUMBER)
  5998. if NUMBER >= 0 then
  5999. NUMBER = 0
  6000. end
  6001. return NUMBER
  6002. end
  6003.  
  6004. function NegativeAngle(NUMBER)
  6005. if NUMBER <= 0 then
  6006. NUMBER = 0
  6007. end
  6008. return NUMBER
  6009. end
  6010.  
  6011. function Swait(NUMBER)
  6012. if NUMBER == 0 or NUMBER == nil then
  6013. ArtificialHB.Event:wait()
  6014. else
  6015. for i = 1, NUMBER do
  6016. ArtificialHB.Event:wait()
  6017. end
  6018. end
  6019. end
  6020.  
  6021. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  6022. local NEWMESH = IT(MESH)
  6023. if MESH == "SpecialMesh" then
  6024. NEWMESH.MeshType = MESHTYPE
  6025. if MESHID ~= "nil" and MESHID ~= "" then
  6026. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  6027. end
  6028. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  6029. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  6030. end
  6031. end
  6032. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  6033. NEWMESH.Scale = SCALE
  6034. NEWMESH.Parent = PARENT
  6035. return NEWMESH
  6036. end
  6037.  
  6038. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  6039. local NEWPART = IT("Part")
  6040. NEWPART.formFactor = FORMFACTOR
  6041. NEWPART.Reflectance = REFLECTANCE
  6042. NEWPART.Transparency = TRANSPARENCY
  6043. NEWPART.CanCollide = false
  6044. NEWPART.Locked = true
  6045. NEWPART.Anchored = true
  6046. if ANCHOR == false then
  6047. NEWPART.Anchored = false
  6048. end
  6049. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  6050. NEWPART.Name = NAME
  6051. NEWPART.Size = SIZE
  6052. NEWPART.Position = Torso.Position
  6053. NEWPART.Material = MATERIAL
  6054. NEWPART:BreakJoints()
  6055. NEWPART.Parent = PARENT
  6056. return NEWPART
  6057. end
  6058.  
  6059. local function weldBetween(a, b)
  6060. local weldd = Instance.new("ManualWeld")
  6061. weldd.Part0 = a
  6062. weldd.Part1 = b
  6063. weldd.C0 = CFrame.new()
  6064. weldd.C1 = b.CFrame:inverse() * a.CFrame
  6065. weldd.Parent = a
  6066. return weldd
  6067. end
  6068.  
  6069.  
  6070. function QuaternionFromCFrame(cf)
  6071. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  6072. local trace = m00 + m11 + m22
  6073. if trace > 0 then
  6074. local s = math.sqrt(1 + trace)
  6075. local recip = 0.5 / s
  6076. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  6077. else
  6078. local i = 0
  6079. if m11 > m00 then
  6080. i = 1
  6081. end
  6082. if m22 > (i == 0 and m00 or m11) then
  6083. i = 2
  6084. end
  6085. if i == 0 then
  6086. local s = math.sqrt(m00 - m11 - m22 + 1)
  6087. local recip = 0.5 / s
  6088. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  6089. elseif i == 1 then
  6090. local s = math.sqrt(m11 - m22 - m00 + 1)
  6091. local recip = 0.5 / s
  6092. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  6093. elseif i == 2 then
  6094. local s = math.sqrt(m22 - m00 - m11 + 1)
  6095. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  6096. end
  6097. end
  6098. end
  6099.  
  6100. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  6101. local xs, ys, zs = x + x, y + y, z + z
  6102. local wx, wy, wz = w * xs, w * ys, w * zs
  6103. local xx = x * xs
  6104. local xy = x * ys
  6105. local xz = x * zs
  6106. local yy = y * ys
  6107. local yz = y * zs
  6108. local zz = z * zs
  6109. 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))
  6110. end
  6111.  
  6112. function QuaternionSlerp(a, b, t)
  6113. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  6114. local startInterp, finishInterp;
  6115. if cosTheta >= 0.0001 then
  6116. if (1 - cosTheta) > 0.0001 then
  6117. local theta = ACOS(cosTheta)
  6118. local invSinTheta = 1 / SIN(theta)
  6119. startInterp = SIN((1 - t) * theta) * invSinTheta
  6120. finishInterp = SIN(t * theta) * invSinTheta
  6121. else
  6122. startInterp = 1 - t
  6123. finishInterp = t
  6124. end
  6125. else
  6126. if (1 + cosTheta) > 0.0001 then
  6127. local theta = ACOS(-cosTheta)
  6128. local invSinTheta = 1 / SIN(theta)
  6129. startInterp = SIN((t - 1) * theta) * invSinTheta
  6130. finishInterp = SIN(t * theta) * invSinTheta
  6131. else
  6132. startInterp = t - 1
  6133. finishInterp = t
  6134. end
  6135. end
  6136. 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
  6137. end
  6138.  
  6139. function Clerp(a, b, t)
  6140. local qa = {QuaternionFromCFrame(a)}
  6141. local qb = {QuaternionFromCFrame(b)}
  6142. local ax, ay, az = a.x, a.y, a.z
  6143. local bx, by, bz = b.x, b.y, b.z
  6144. local _t = 1 - t
  6145. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  6146. end
  6147.  
  6148. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  6149. local frame = IT("Frame")
  6150. frame.BackgroundTransparency = TRANSPARENCY
  6151. frame.BorderSizePixel = BORDERSIZEPIXEL
  6152. frame.Position = POSITION
  6153. frame.Size = SIZE
  6154. frame.BackgroundColor3 = COLOR
  6155. frame.BorderColor3 = BORDERCOLOR
  6156. frame.Name = NAME
  6157. frame.Parent = PARENT
  6158. return frame
  6159. end
  6160.  
  6161. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  6162. local label = IT("TextLabel")
  6163. label.BackgroundTransparency = 1
  6164. label.Size = UD2(1, 0, 1, 0)
  6165. label.Position = UD2(0, 0, 0, 0)
  6166. label.TextColor3 = TEXTCOLOR
  6167. label.TextStrokeTransparency = STROKETRANSPARENCY
  6168. label.TextTransparency = TRANSPARENCY
  6169. label.FontSize = TEXTFONTSIZE
  6170. label.Font = TEXTFONT
  6171. label.BorderSizePixel = BORDERSIZEPIXEL
  6172. label.TextScaled = false
  6173. label.Text = TEXT
  6174. label.Name = NAME
  6175. label.Parent = PARENT
  6176. return label
  6177. end
  6178.  
  6179. function NoOutlines(PART)
  6180. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  6181. end
  6182.  
  6183. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  6184. local NEWWELD = IT(TYPE)
  6185. NEWWELD.Part0 = PART0
  6186. NEWWELD.Part1 = PART1
  6187. NEWWELD.C0 = C0
  6188. NEWWELD.C1 = C1
  6189. NEWWELD.Parent = PARENT
  6190. return NEWWELD
  6191. end
  6192.  
  6193. local S = IT("Sound")
  6194. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  6195. local NEWSOUND = nil
  6196. coroutine.resume(coroutine.create(function()
  6197. NEWSOUND = S:Clone()
  6198. NEWSOUND.Parent = PARENT
  6199. NEWSOUND.Volume = VOLUME
  6200. NEWSOUND.Pitch = PITCH
  6201. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  6202. NEWSOUND:play()
  6203. if DOESLOOP == true then
  6204. NEWSOUND.Looped = true
  6205. else
  6206. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  6207. NEWSOUND:remove()
  6208. end
  6209. end))
  6210. return NEWSOUND
  6211. end
  6212.  
  6213. function CFrameFromTopBack(at, top, back)
  6214. local right = top:Cross(back)
  6215. 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)
  6216. end
  6217.  
  6218. --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})
  6219. function WACKYEFFECT(Table)
  6220. local TYPE = (Table.EffectType or "Sphere")
  6221. local SIZE = (Table.Size or VT(1,1,1))
  6222. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  6223. local TRANSPARENCY = (Table.Transparency or 0)
  6224. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  6225. local CFRAME = (Table.CFrame or Torso.CFrame)
  6226. local MOVEDIRECTION = (Table.MoveToPos or nil)
  6227. local ROTATION1 = (Table.RotationX or 0)
  6228. local ROTATION2 = (Table.RotationY or 0)
  6229. local ROTATION3 = (Table.RotationZ or 0)
  6230. local MATERIAL = (Table.Material or "Neon")
  6231. local COLOR = (Table.Color or C3(1,1,1))
  6232. local TIME = (Table.Time or 45)
  6233. local SOUNDID = (Table.SoundID or nil)
  6234. local SOUNDPITCH = (Table.SoundPitch or nil)
  6235. local SOUNDVOLUME = (Table.SoundVolume or nil)
  6236. coroutine.resume(coroutine.create(function()
  6237. local PLAYSSOUND = false
  6238. local SOUND = nil
  6239. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  6240. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  6241. PLAYSSOUND = true
  6242. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  6243. end
  6244. EFFECT.Color = COLOR
  6245. local MSH = nil
  6246. if TYPE == "Sphere" then
  6247. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  6248. elseif TYPE == "Block" then
  6249. MSH = IT("BlockMesh",EFFECT)
  6250. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  6251. elseif TYPE == "Wave" then
  6252. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  6253. elseif TYPE == "Ring" then
  6254. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  6255. elseif TYPE == "Slash" then
  6256. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6257. elseif TYPE == "Round Slash" then
  6258. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6259. elseif TYPE == "Swirl" then
  6260. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6261. elseif TYPE == "Skull" then
  6262. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  6263. elseif TYPE == "Crystal" then
  6264. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  6265. end
  6266. if MSH ~= nil then
  6267. local MOVESPEED = nil
  6268. if MOVEDIRECTION ~= nil then
  6269. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  6270. end
  6271. local GROWTH = SIZE - ENDSIZE
  6272. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  6273. if TYPE == "Block" then
  6274. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6275. else
  6276. EFFECT.CFrame = CFRAME
  6277. end
  6278. for LOOP = 1, TIME+1 do
  6279. Swait()
  6280. MSH.Scale = MSH.Scale - GROWTH/TIME
  6281. if TYPE == "Wave" then
  6282. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  6283. end
  6284. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  6285. if TYPE == "Block" then
  6286. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6287. else
  6288. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  6289. end
  6290. if MOVEDIRECTION ~= nil then
  6291. local ORI = EFFECT.Orientation
  6292. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  6293. EFFECT.Orientation = ORI
  6294. end
  6295. end
  6296. if PLAYSSOUND == false then
  6297. EFFECT:remove()
  6298. else
  6299. SOUND.Stopped:Connect(function()
  6300. EFFECT:remove()
  6301. end)
  6302. end
  6303. else
  6304. if PLAYSSOUND == false then
  6305. EFFECT:remove()
  6306. else
  6307. repeat Swait() until SOUND.Playing == false
  6308. EFFECT:remove()
  6309. end
  6310. end
  6311. end))
  6312. end
  6313.  
  6314. local DECAL = IT("Decal")
  6315. function MakeRing()
  6316. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Navy blue"), "MagicRing", VT(0, 0, 0), true)
  6317. local MSH = IT("BlockMesh", RING)
  6318. local TOP = DECAL:Clone()
  6319. local BOTTOM = DECAL:Clone()
  6320. TOP.Parent = RING
  6321. BOTTOM.Parent = RING
  6322. TOP.Face = "Top"
  6323. BOTTOM.Face = "Bottom"
  6324. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  6325. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  6326. local function REMOVE()
  6327. coroutine.resume(coroutine.create(function()
  6328. local SIZE = MSH.Scale.X
  6329. for i = 1, 35 do
  6330. Swait()
  6331. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  6332. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  6333. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  6334. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  6335. end
  6336. RING:remove()
  6337. end))
  6338. end
  6339. return RING, MSH, REMOVE
  6340. end
  6341.  
  6342. function MakeForm(PART,TYPE)
  6343. if TYPE == "Cyl" then
  6344. local MSH = IT("CylinderMesh",PART)
  6345. elseif TYPE == "Ball" then
  6346. local MSH = IT("SpecialMesh",PART)
  6347. MSH.MeshType = "Sphere"
  6348. elseif TYPE == "Wedge" then
  6349. local MSH = IT("SpecialMesh",PART)
  6350. MSH.MeshType = "Wedge"
  6351. end
  6352. end
  6353.  
  6354. function SpawnTrail(FROM,TO,BIG)
  6355. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  6356. MakeForm(TRAIL,"Cyl")
  6357. local DIST = (FROM - TO).Magnitude
  6358. if BIG == true then
  6359. TRAIL.Size = VT(0.5,DIST,0.5)
  6360. else
  6361. TRAIL.Size = VT(0.25,DIST,0.25)
  6362. end
  6363. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  6364. coroutine.resume(coroutine.create(function()
  6365. for i = 1, 5 do
  6366. Swait()
  6367. TRAIL.Transparency = TRAIL.Transparency + 0.1
  6368. end
  6369. TRAIL:remove()
  6370. end))
  6371. end
  6372. --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})
  6373. function WACKYEFFECT(Table)
  6374. local TYPE = (Table.EffectType or "Sphere")
  6375. local SIZE = (Table.Size or VT(1,1,1))
  6376. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  6377. local TRANSPARENCY = (Table.Transparency or 0)
  6378. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  6379. local CFRAME = (Table.CFrame or Torso.CFrame)
  6380. local MOVEDIRECTION = (Table.MoveToPos or nil)
  6381. local ROTATION1 = (Table.RotationX or 0)
  6382. local ROTATION2 = (Table.RotationY or 0)
  6383. local ROTATION3 = (Table.RotationZ or 0)
  6384. local MATERIAL = (Table.Material or "Neon")
  6385. local COLOR = (Table.Color or C3(1,1,1))
  6386. local TIME = (Table.Time or 45)
  6387. local SOUNDID = (Table.SoundID or nil)
  6388. local SOUNDPITCH = (Table.SoundPitch or nil)
  6389. local SOUNDVOLUME = (Table.SoundVolume or nil)
  6390. coroutine.resume(coroutine.create(function()
  6391. local PLAYSSOUND = false
  6392. local SOUND = nil
  6393. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  6394. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  6395. PLAYSSOUND = true
  6396. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  6397. end
  6398. EFFECT.Color = COLOR
  6399. local MSH = nil
  6400. if TYPE == "Sphere" then
  6401. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  6402. elseif TYPE == "Block" or TYPE == "Box" then
  6403. MSH = IT("BlockMesh",EFFECT)
  6404. MSH.Scale = SIZE
  6405. elseif TYPE == "Wave" then
  6406. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  6407. elseif TYPE == "Ring" then
  6408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  6409. elseif TYPE == "Slash" then
  6410. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6411. elseif TYPE == "Round Slash" then
  6412. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6413. elseif TYPE == "Swirl" then
  6414. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6415. elseif TYPE == "Skull" then
  6416. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  6417. elseif TYPE == "Crystal" then
  6418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  6419. end
  6420. if MSH ~= nil then
  6421. local MOVESPEED = nil
  6422. if MOVEDIRECTION ~= nil then
  6423. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  6424. end
  6425. local GROWTH = SIZE - ENDSIZE
  6426. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  6427. if TYPE == "Block" then
  6428. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6429. else
  6430. EFFECT.CFrame = CFRAME
  6431. end
  6432. for LOOP = 1, TIME+1 do
  6433. Swait()
  6434. MSH.Scale = MSH.Scale - GROWTH/TIME
  6435. if TYPE == "Wave" then
  6436. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  6437. end
  6438. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  6439. if TYPE == "Block" then
  6440. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6441. else
  6442. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  6443. end
  6444. if MOVEDIRECTION ~= nil then
  6445. local ORI = EFFECT.Orientation
  6446. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  6447. EFFECT.Orientation = ORI
  6448. end
  6449. end
  6450. if PLAYSSOUND == false then
  6451. EFFECT:remove()
  6452. else
  6453. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  6454. EFFECT:remove()
  6455. end
  6456. else
  6457. if PLAYSSOUND == false then
  6458. EFFECT:remove()
  6459. else
  6460. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  6461. EFFECT:remove()
  6462. end
  6463. end
  6464. end))
  6465. end
  6466.  
  6467. function MakeForm(PART,TYPE)
  6468. if TYPE == "Cyl" then
  6469. local MSH = IT("CylinderMesh",PART)
  6470. elseif TYPE == "Ball" then
  6471. local MSH = IT("SpecialMesh",PART)
  6472. MSH.MeshType = "Sphere"
  6473. elseif TYPE == "Wedge" then
  6474. local MSH = IT("SpecialMesh",PART)
  6475. MSH.MeshType = "Wedge"
  6476. end
  6477. end
  6478.  
  6479. function SpawnTrail(FROM,TO,BIG)
  6480. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  6481. MakeForm(TRAIL,"Cyl")
  6482. local DIST = (FROM - TO).Magnitude
  6483. if BIG == true then
  6484. TRAIL.Size = VT(0.5,DIST,0.5)
  6485. else
  6486. TRAIL.Size = VT(0.25,DIST,0.25)
  6487. end
  6488. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  6489. coroutine.resume(coroutine.create(function()
  6490. for i = 1, 5 do
  6491. Swait()
  6492. TRAIL.Transparency = TRAIL.Transparency + 0.1
  6493. end
  6494. TRAIL:remove()
  6495. end))
  6496. end
  6497.  
  6498. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  6499. local TORSO = Torso
  6500. local HUM = Humanoid
  6501. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  6502. coroutine.wrap(function()
  6503. VT = Vector3.new
  6504. MRANDOM = math.random
  6505. local A = TIME
  6506. local B = INTENSITY
  6507. local C = true
  6508. local HUMANOID = Humanoid
  6509. local TIMER = A or 35
  6510. local SHAKE = B or 5
  6511. local FADE = C or true
  6512. if HUMANOID then
  6513. local FADER = SHAKE / TIMER
  6514. for i = 1, TIMER do
  6515. wait()
  6516. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  6517. end
  6518. HUMANOID.CameraOffset = VT(0, 0, 0)
  6519. end
  6520.  
  6521. end)()
  6522. end
  6523. end
  6524.  
  6525. function chatfunc(text)
  6526. local chat = coroutine.wrap(function()
  6527. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  6528. Character:FindFirstChild("TalkingBillBoard"):destroy()
  6529. end
  6530. local Bill = Instance.new("BillboardGui",Character)
  6531. Bill.Size = UDim2.new(0,100,0,40)
  6532. Bill.StudsOffset = Vector3.new(0,3,0)
  6533. Bill.Adornee = Character.Head
  6534. Bill.Name = "TalkingBillBoard"
  6535. local Hehe = Instance.new("TextLabel",Bill)
  6536. Hehe.BackgroundTransparency = 1
  6537. Hehe.BorderSizePixel = 0
  6538. Hehe.Text = ""
  6539. Hehe.Font = "Bodoni"
  6540. Hehe.TextSize = 40
  6541. Hehe.TextStrokeTransparency = 0
  6542. Hehe.Size = UDim2.new(1,0,0.5,0)
  6543. coroutine.resume(coroutine.create(function()
  6544. while Hehe ~= nil do
  6545. Swait()
  6546. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  6547. Hehe.Rotation = math.random(-2.5,2.5)
  6548. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  6549. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  6550. end
  6551. end))
  6552. for i = 1,string.len(text),1 do
  6553. Swait()
  6554. Hehe.Text = string.sub(text,1,i)
  6555. end
  6556. Swait(90)--Re[math.random(1, 93)]
  6557. for i = 0, 1, .025 do
  6558. Swait()
  6559. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  6560. Hehe.TextStrokeTransparency = i
  6561. Hehe.TextTransparency = i
  6562. end
  6563. Bill:Destroy()
  6564. end)
  6565. chat()
  6566. end
  6567.  
  6568. Debris = game:GetService("Debris")
  6569.  
  6570. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  6571. local DIRECTION = CF(StartPos,EndPos).lookVector
  6572. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  6573. end
  6574.  
  6575. function turnto(position)
  6576. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  6577. end
  6578.  
  6579. --//=================================\\
  6580. --|| RAGDOLL STUFF
  6581. --\\=================================//
  6582.  
  6583. function recurse(root,callback,i)
  6584. i= i or 0
  6585. for _,v in pairs(root:GetChildren()) do
  6586. i = i + 1
  6587. callback(i,v)
  6588.  
  6589. if #v:GetChildren() > 0 then
  6590. i = recurse(v,callback,i)
  6591. end
  6592. end
  6593.  
  6594. return i
  6595. end
  6596.  
  6597. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  6598. attachmentName = attachmentName.."RigAttachment"
  6599. local constraint = Instance.new(className.."Constraint")
  6600. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  6601. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  6602. constraint.Name = "RagdollConstraint"..part1.Name
  6603.  
  6604. for _,propertyData in next,properties or {} do
  6605. constraint[propertyData[1]] = propertyData[2]
  6606. end
  6607.  
  6608. constraint.Parent = character
  6609. end
  6610.  
  6611. function getAttachment0(character, attachmentName)
  6612. for _,child in next,character:GetChildren() do
  6613. local attachment = child:FindFirstChild(attachmentName)
  6614. if attachment then
  6615. return attachment
  6616. end
  6617. end
  6618. end
  6619.  
  6620. function ArtificialHitbox(Part)
  6621. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  6622. HITBOX.CanCollide = true
  6623. HITBOX.CFrame = Part.CFrame
  6624. weldBetween(Part,HITBOX)
  6625. end
  6626.  
  6627. function R15Ragdoll(character,KeepArms)
  6628. character:BreakJoints()
  6629. coroutine.resume(coroutine.create(function()
  6630. recurse(character, function(_,v)
  6631. if v:IsA("Attachment") then
  6632. v.Axis = Vector3.new(0, 1, 0)
  6633. v.SecondaryAxis = Vector3.new(0, 0, 1)
  6634. v.Rotation = Vector3.new(0, 0, 0)
  6635. end
  6636. end)
  6637. for _,child in next,character:GetChildren() do
  6638. if child:IsA("Accoutrement") then
  6639. for _,part in next,child:GetChildren() do
  6640. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  6641. local attachment1 = part:FindFirstChildOfClass("Attachment")
  6642. local attachment0 = getAttachment0(character,attachment1.Name)
  6643. if attachment0 and attachment1 then
  6644. local constraint = Instance.new("HingeConstraint")
  6645. constraint.Attachment0 = attachment0
  6646. constraint.Attachment1 = attachment1
  6647. constraint.LimitsEnabled = true
  6648. constraint.UpperAngle = 0
  6649. constraint.LowerAngle = 0
  6650. constraint.Parent = character
  6651. end
  6652. ArtificialHitbox(part)
  6653. elseif part.Name == "HumanoidRootPart" then
  6654. part:remove()
  6655. end
  6656. end
  6657. end
  6658. end
  6659.  
  6660. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  6661. {"LimitsEnabled",true};
  6662. {"UpperAngle",5};
  6663. })
  6664. if character:FindFirstChild("Head") then
  6665. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  6666. {"LimitsEnabled",true};
  6667. {"UpperAngle",15};
  6668. })
  6669. end
  6670.  
  6671. local handProperties = {
  6672. {"LimitsEnabled", true};
  6673. {"UpperAngle",0};
  6674. {"LowerAngle",0};
  6675. }
  6676. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  6677. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  6678.  
  6679. local shinProperties = {
  6680. {"LimitsEnabled", true};
  6681. {"UpperAngle", 0};
  6682. {"LowerAngle", -75};
  6683. }
  6684. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  6685. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  6686.  
  6687. local footProperties = {
  6688. {"LimitsEnabled", true};
  6689. {"UpperAngle", 15};
  6690. {"LowerAngle", -45};
  6691. }
  6692. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  6693. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  6694. if KeepArms == true then
  6695. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  6696. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  6697. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  6698. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  6699. end
  6700. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  6701. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  6702. Debris:AddItem(character,5)
  6703. end))
  6704. end
  6705.  
  6706. function Ragdoll(Character2,CharTorso,KeepArms)
  6707. coroutine.resume(coroutine.create(function()
  6708. Character2:BreakJoints()
  6709. local hum = Character2:findFirstChild("Humanoid")
  6710. hum:remove()
  6711. local function Scan(ch)
  6712. local e
  6713. for e = 1,#ch do
  6714. Scan(ch[e]:GetChildren())
  6715. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  6716. ch[e]:remove()
  6717. end
  6718. end
  6719. end
  6720. local NEWHUM = IT("Humanoid")
  6721. NEWHUM.Name = "Corpse"
  6722. NEWHUM.Health = 0
  6723. NEWHUM.MaxHealth = 0
  6724. NEWHUM.PlatformStand = true
  6725. NEWHUM.Parent = Character2
  6726. NEWHUM.DisplayDistanceType = "None"
  6727.  
  6728. local ch = Character2:GetChildren()
  6729. local i
  6730. for i = 1,#ch do
  6731. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  6732. ch[i]:remove()
  6733. end
  6734. end
  6735.  
  6736. local Torso2 = Character2.Torso
  6737. local movevector = Vector3.new()
  6738.  
  6739. if Torso2 then
  6740. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  6741. local Head = Character2:FindFirstChild("Head")
  6742. if Head then
  6743. local Neck = Instance.new("Weld")
  6744. Neck.Name = "Neck"
  6745. Neck.Part0 = Torso2
  6746. Neck.Part1 = Head
  6747. Neck.C0 = CFrame.new(0, 1.5, 0)
  6748. Neck.C1 = CFrame.new()
  6749. Neck.Parent = Torso2
  6750.  
  6751. end
  6752. local Limb = Character2:FindFirstChild("Right Arm")
  6753. if Limb and KeepArms == true then
  6754.  
  6755. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  6756. local Joint = Instance.new("Glue")
  6757. Joint.Name = "RightShoulder"
  6758. Joint.Part0 = Torso2
  6759. Joint.Part1 = Limb
  6760. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6761. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6762. Joint.Parent = Torso2
  6763.  
  6764. local B = Instance.new("Part")
  6765. B.TopSurface = 0
  6766. B.BottomSurface = 0
  6767. B.formFactor = "Symmetric"
  6768. B.Size = Vector3.new(1, 1, 1)
  6769. B.Transparency = 1
  6770. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6771. B.Parent = Character2
  6772. local W = Instance.new("Weld")
  6773. W.Part0 = Limb
  6774. W.Part1 = B
  6775. W.C0 = CFrame.new(0, -0.5, 0)
  6776. W.Parent = Limb
  6777.  
  6778. end
  6779. local Limb = Character2:FindFirstChild("Left Arm")
  6780. if Limb and KeepArms == true then
  6781.  
  6782. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  6783. local Joint = Instance.new("Glue")
  6784. Joint.Name = "LeftShoulder"
  6785. Joint.Part0 = Torso2
  6786. Joint.Part1 = Limb
  6787. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6788. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6789. Joint.Parent = Torso2
  6790.  
  6791. local B = Instance.new("Part")
  6792. B.TopSurface = 0
  6793. B.BottomSurface = 0
  6794. B.formFactor = "Symmetric"
  6795. B.Size = Vector3.new(1, 1, 1)
  6796. B.Transparency = 1
  6797. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6798. B.Parent = Character2
  6799. local W = Instance.new("Weld")
  6800. W.Part0 = Limb
  6801. W.Part1 = B
  6802. W.C0 = CFrame.new(0, -0.5, 0)
  6803. W.Parent = Limb
  6804.  
  6805. end
  6806. local Limb = Character2:FindFirstChild("Right Leg")
  6807. if Limb then
  6808.  
  6809. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  6810. local Joint = Instance.new("Glue")
  6811. Joint.Name = "RightHip"
  6812. Joint.Part0 = Torso2
  6813. Joint.Part1 = Limb
  6814. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6815. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6816. Joint.Parent = Torso2
  6817.  
  6818. local B = Instance.new("Part")
  6819. B.TopSurface = 0
  6820. B.BottomSurface = 0
  6821. B.formFactor = "Symmetric"
  6822. B.Size = Vector3.new(1, 1, 1)
  6823. B.Transparency = 1
  6824. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6825. B.Parent = Character2
  6826. local W = Instance.new("Weld")
  6827. W.Part0 = Limb
  6828. W.Part1 = B
  6829. W.C0 = CFrame.new(0, -0.5, 0)
  6830. W.Parent = Limb
  6831.  
  6832. end
  6833. local Limb = Character2:FindFirstChild("Left Leg")
  6834. if Limb then
  6835.  
  6836. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  6837. local Joint = Instance.new("Glue")
  6838. Joint.Name = "LeftHip"
  6839. Joint.Part0 = Torso2
  6840. Joint.Part1 = Limb
  6841. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6842. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6843. Joint.Parent = Torso2
  6844.  
  6845. local B = Instance.new("Part")
  6846. B.TopSurface = 0
  6847. B.BottomSurface = 0
  6848. B.formFactor = "Symmetric"
  6849. B.Size = Vector3.new(1, 1, 1)
  6850. B.Transparency = 1
  6851. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6852. B.Parent = Character2
  6853. local W = Instance.new("Weld")
  6854. W.Part0 = Limb
  6855. W.Part1 = B
  6856. W.C0 = CFrame.new(0, -0.5, 0)
  6857. W.Parent = Limb
  6858.  
  6859. end
  6860. --[
  6861. local Bar = Instance.new("Part")
  6862. Bar.TopSurface = 0
  6863. Bar.BottomSurface = 0
  6864. Bar.formFactor = "Symmetric"
  6865. Bar.Size = Vector3.new(1, 1, 1)
  6866. Bar.Transparency = 1
  6867. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  6868. Bar.Parent = Character2
  6869. local Weld = Instance.new("Weld")
  6870. Weld.Part0 = Torso2
  6871. Weld.Part1 = Bar
  6872. Weld.C0 = CFrame.new(0, 0.5, 0)
  6873. Weld.Parent = Torso2
  6874. --]]
  6875. end
  6876. Character2.Parent = workspace
  6877. Debris:AddItem(Character2,5)
  6878.  
  6879. return Character2,Torso2
  6880. end))
  6881. end
  6882.  
  6883. --//=================================\\
  6884. --|| WEAPON CREATION
  6885. --\\=================================//
  6886.  
  6887.  
  6888. local Particle = IT("ParticleEmitter",nil)
  6889. Particle.Enabled = false
  6890. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  6891. Particle.LightEmission = 0.5
  6892. Particle.Rate = 150
  6893. Particle.ZOffset = 0.2
  6894. Particle.Rotation = NumberRange.new(-180, 180)
  6895. Particle.RotSpeed = NumberRange.new(-180, 180)
  6896. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  6897. Particle.Color = ColorSequence.new(C3(0/255,0/255,255/255),C3(0.4,0,0))
  6898.  
  6899. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  6900. function ParticleEmitter(Table)
  6901. local PRTCL = Particle:Clone()
  6902. local Speed = Table.Speed or 5
  6903. local Drag = Table.Drag or 0
  6904. local Size1 = Table.Size1 or 1
  6905. local Size2 = Table.Size2 or 5
  6906. local Lifetime1 = Table.Lifetime1 or 1
  6907. local Lifetime2 = Table.Lifetime2 or 1.5
  6908. local Parent = Table.Parent or Torso
  6909. local Emit = Table.Emit or 100
  6910. local Offset = Table.Offset or 360
  6911. local Acel = Table.Acel or VT(0,0,0)
  6912. local Enabled = Table.Enabled or false
  6913. PRTCL.Parent = Parent
  6914. PRTCL.Size = NumberSequence.new(Size1,Size2)
  6915. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  6916. PRTCL.Speed = NumberRange.new(Speed)
  6917. PRTCL.VelocitySpread = Offset
  6918. PRTCL.Drag = Drag
  6919. PRTCL.Acceleration = Acel
  6920. if Enabled == false then
  6921. PRTCL:Emit(Emit)
  6922. Debris:AddItem(PRTCL,Lifetime2)
  6923. else
  6924. PRTCL.Enabled = true
  6925. end
  6926. return PRTCL
  6927. end
  6928.  
  6929. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  6930. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  6931. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  6932. MakeForm(Part,"Wedge")
  6933. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  6934. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  6935. MakeForm(Part,"Wedge")
  6936. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  6937. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  6938. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6939. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  6940. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6941. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  6942. MakeForm(Part,"Cyl")
  6943. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6944. for i = 1, 8 do
  6945. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  6946. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  6947. end
  6948. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  6949. MakeForm(Part,"Cyl")
  6950. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6951. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  6952. MakeForm(Part,"Ball")
  6953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6954. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  6955. MakeForm(Part,"Wedge")
  6956. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  6957. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  6958. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6959. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  6960. MakeForm(Part,"Cyl")
  6961. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6962. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  6963. MakeForm(Part,"Cyl")
  6964. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6965. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  6966. MakeForm(Part,"Cyl")
  6967. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6968. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  6969. MakeForm(Part,"Wedge")
  6970. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  6971. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  6972. MakeForm(Part,"Cyl")
  6973. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6974. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  6975. MakeForm(Part,"Wedge")
  6976. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  6977. local LASTPART = Handle
  6978. for i = 1, 10 do
  6979. if LASTPART == Handle then
  6980. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  6981. LASTPART = Part
  6982. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6983. else
  6984. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  6985. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  6986. LASTPART = Part
  6987. end
  6988. end
  6989.  
  6990. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  6991. MakeForm(Barrel,"Cyl")
  6992. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6993. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  6994. MakeForm(Part,"Cyl")
  6995. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  6996. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  6997. MakeForm(Part,"Wedge")
  6998. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  6999. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  7000. MakeForm(Hole,"Cyl")
  7001. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
  7002. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  7003. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  7004. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  7005. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  7006. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  7007. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  7008. coroutine.resume(coroutine.create(function()
  7009. while wait() do
  7010. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  7011. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  7012. end
  7013. end))
  7014.  
  7015. for _, c in pairs(Gun:GetDescendants()) do
  7016. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  7017. c.Material = "Glass"
  7018. c.Color = C3(0,0,0)
  7019. elseif c.ClassName == "Part" and c.Name == "Eye" then
  7020. c.Color = C3(0/255,0/255,255/255)
  7021. c.Material = "Neon"
  7022. end
  7023. end
  7024.  
  7025. for i = 1, 35 do
  7026. local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  7027. FACE.Color = C3(0,0,0)
  7028. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  7029. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  7030. end
  7031.  
  7032. Weapon.Parent = Character
  7033. for _, c in pairs(Weapon:GetChildren()) do
  7034. if c.ClassName == "Part" then
  7035. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  7036. end
  7037. end
  7038.  
  7039. Weapon.Parent = Character
  7040. Gun.Parent = nil
  7041.  
  7042. for _, c in pairs(Gun:GetChildren()) do
  7043. if c.ClassName == "Part" then
  7044. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  7045. end
  7046. end
  7047.  
  7048. for _, c in pairs(Weapon:GetChildren()) do
  7049. if c.ClassName == "Part" then
  7050. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  7051. end
  7052. end
  7053.  
  7054. local EXE = Instance.new("Shirt")
  7055. EXE.ShirtTemplate = "rbxassetid://338740550"
  7056. EXE.Parent = Character
  7057. EXE.Name = "Cloth"
  7058. local LOL = Instance.new("Pants")
  7059. LOL.PantsTemplate = "rbxassetid://338750779"
  7060. LOL.Parent = Character
  7061. LOL.Name = "Cloth"
  7062.  
  7063. Head.Color = C3(21,71,109)
  7064. Torso.Color = C3(21,71,109)
  7065. LeftArm.Color = C3(21,71,109)
  7066. LeftLeg.Color = C3(21,71,109)
  7067. RightArm.Color = C3(21,71,109)
  7068. RightLeg.Color = C3(21,71,109)
  7069.  
  7070. local SKILLTEXTCOLOR = C3(0/255,0/255,255/255)
  7071. local SKILLFONT = "Antique"
  7072. local SKILLTEXTSIZE = 7
  7073.  
  7074. Humanoid.Died:connect(function()
  7075. ATTACK = true
  7076. end)
  7077.  
  7078. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 1 Frame")
  7079. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 2 Frame")
  7080. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 3 Frame")
  7081. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 4 Frame")
  7082. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 5 Frame")
  7083.  
  7084. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  7085. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  7086. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  7087. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  7088. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  7089.  
  7090. function printbye(Name)
  7091. 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, "}
  7092. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  7093. end
  7094. if INTRO == false and INSTANT == false then
  7095. INTRO = true
  7096. coroutine.resume(coroutine.create(function()
  7097. sick:Play()
  7098. Intro()
  7099. end))
  7100. end
  7101.  
  7102. workspace.ChildAdded:connect(function(instance)
  7103. for BANISH = 1, #TOBANISH do
  7104. if TOBANISH[BANISH] ~= nil then
  7105. if instance.Name == TOBANISH[BANISH] then
  7106. coroutine.resume(coroutine.create(function()
  7107. printbye(instance.Name)
  7108. instance:ClearAllChildren()
  7109. Debris:AddItem(instance,0.0005)
  7110. end))
  7111. end
  7112. end
  7113. end
  7114. end)
  7115.  
  7116. --//=================================\\
  7117. --|| DAMAGING
  7118. --\\=================================//
  7119.  
  7120. function ApplyDamage(Humanoid,Damage,OneShot)
  7121. Damage = Damage * DAMAGEMULTIPLIER
  7122. local DEAD = false
  7123. if Humanoid.Health < 2000 and OneShot == false then
  7124. if Humanoid.Health - Damage > 0 then
  7125. Humanoid.Health = Humanoid.Health - Damage
  7126. else
  7127. Humanoid.Parent:BreakJoints()
  7128. DEAD = true
  7129. end
  7130. else
  7131. DEAD = true
  7132. Humanoid.Parent:BreakJoints()
  7133. end
  7134. if DEAD == true then
  7135. local PARTS = {}
  7136. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  7137. if CHILD:IsA("BasePart") then
  7138. table.insert(PARTS,CHILD)
  7139. end
  7140. end
  7141. coroutine.resume(coroutine.create(function()
  7142. wait(2)
  7143. repeat
  7144. Swait()
  7145. local PIECE = nil
  7146. if MRANDOM(1,5) == 1 then
  7147. for E = 1, #PARTS do
  7148. if MRANDOM(1,5) == 1 then
  7149. PIECE = PARTS[E]
  7150. table.remove(PARTS,E)
  7151. break
  7152. end
  7153. end
  7154. end
  7155. if PIECE ~= nil then
  7156. if PIECE.Name == "Head" then
  7157. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  7158. else
  7159. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  7160. end
  7161. PIECE:remove()
  7162. end
  7163. until #PARTS == 0
  7164. end))
  7165. end
  7166. end
  7167.  
  7168.  
  7169. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  7170. local defence = Instance.new("BoolValue",Humanoid.Parent)
  7171. defence.Name = ("HitBy"..Player.Name)
  7172. game:GetService("Debris"):AddItem(defence, 0.001)
  7173. Damage = Damage * DAMAGEMULTIPLIER
  7174. if Humanoid.Health ~= 0 then
  7175. local CritChance = MRANDOM(1,100)
  7176. if Damage > Humanoid.Health then
  7177. Damage = math.ceil(Humanoid.Health)
  7178. if Damage == 0 then
  7179. Damage = 0.1
  7180. end
  7181. end
  7182. Humanoid.Health = Humanoid.Health - Damage
  7183. end
  7184. end
  7185.  
  7186. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  7187. local defence = Instance.new("BoolValue",Humanoid.Parent)
  7188. defence.Name = ("HitBy"..Player.Name)
  7189. game:GetService("Debris"):AddItem(defence, 0.001)
  7190. Damage = Damage * DAMAGEMULTIPLIER
  7191. if Humanoid.Health ~= 0 then
  7192. local CritChance = MRANDOM(1,100)
  7193. if Damage > Humanoid.Health then
  7194. Damage = math.ceil(Humanoid.Health)
  7195. if Damage == 0 then
  7196. Damage = 0.1
  7197. end
  7198. end
  7199. Humanoid.Health = Humanoid.Health - Damage
  7200. end
  7201. end
  7202.  
  7203. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  7204. local CHILDREN = workspace:GetDescendants()
  7205. for index, CHILD in pairs(CHILDREN) do
  7206. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7207. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7208. if HUM then
  7209. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7210. if TORSO then
  7211. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7212. if INSTAKILL == true then
  7213. CHILD:BreakJoints()
  7214. else
  7215. local DMG = MRANDOM(MINDMG,MAXDMG)
  7216. ApplyDamage(HUM,DMG,TORSO)
  7217. end
  7218. if FLING > 0 then
  7219. for _, c in pairs(CHILD:GetChildren()) do
  7220. if c:IsA("BasePart") then
  7221. local bv = Instance.new("BodyVelocity")
  7222. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7223. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  7224. bv.Parent = c
  7225. Debris:AddItem(bv,0.05)
  7226. end
  7227. end
  7228. end
  7229. end
  7230. end
  7231. end
  7232. end
  7233. end
  7234. end
  7235.  
  7236. function CameraEnshaking(Length, Intensity)
  7237. coroutine.resume(coroutine.create(function()
  7238. local intensity = 1 * Intensity
  7239. local rotM = 0.01 * Intensity
  7240. for i = 0, Length, 0.1 do
  7241. Swait()
  7242. intensity = intensity - 0.05 * Intensity / Length
  7243. rotM = rotM - 5.0E-4 * Intensity / Length
  7244. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  7245. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  7246. end
  7247. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  7248. end))
  7249. end
  7250.  
  7251. function KillChildren(v)
  7252. v:BreakJoints()
  7253. for _, c in pairs(v:GetChildren()) do
  7254. if c:IsA("BasePart") then
  7255. if c.Transparency < 1 then
  7256. if c:FindFirstChildOfClass("Decal") then
  7257. c:FindFirstChildOfClass("Decal"):remove()
  7258. end
  7259. particles(c)
  7260. c.PE.Enabled = true
  7261. c.Parent = Effects
  7262. c.CanCollide = false
  7263. c.Material = "Neon"
  7264. c.Color = C3(0/255,0/255,255/255)
  7265. c.Transparency = 1
  7266. local grav = Instance.new("BodyPosition",c)
  7267. grav.P = 20000
  7268. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7269. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  7270. grav.Name = "GravityForce"
  7271. coroutine.resume(coroutine.create(function()
  7272. for i = 1, 20 do
  7273. Swait()
  7274. c.Transparency = c.Transparency + 1/20
  7275. end
  7276. c.PE.Enabled = false
  7277. Debris:AddItem(c,2)
  7278. end))
  7279. end
  7280. end
  7281. end
  7282. end
  7283.  
  7284. function ApplyAoE(POSITION,RANGE)
  7285. local CHILDREN = workspace:GetDescendants()
  7286. for index, CHILD in pairs(CHILDREN) do
  7287. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7288. local LISTED = false
  7289. for LIST = 1, #WHITELIST do
  7290. if WHITELIST[LIST] ~= nil then
  7291. if CHILD.Name == WHITELIST[LIST] then
  7292. LISTED = true
  7293. end
  7294. end
  7295. end
  7296. if LISTED == false then
  7297. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7298. if HUM then
  7299. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7300. if TORSO then
  7301. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  7302. KillChildren(CHILD)
  7303. end
  7304. end
  7305. end
  7306. end
  7307. end
  7308. end
  7309. end
  7310.  
  7311. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  7312. coroutine.resume(coroutine.create(function()
  7313. local METEOR = IT("Model",Effects)
  7314. METEOR.Name = "Meteorite"
  7315. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7316. METEOR.PrimaryPart = CENTER
  7317. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7318. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7319. for i = 1, 15 do
  7320. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Navy blue", "Fire", VT(5.1,1,5.1)*SIZE)
  7321. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7322. end
  7323. if ISDEBREE ~= true then
  7324. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7325. else
  7326. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7327. end
  7328. local IMPACT = false
  7329. CreateSound(463593339, CENTER, 10, 0.6)
  7330. if SIZE >= 3.5 then
  7331. for i = 1, MRANDOM(3,7) do
  7332. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  7333. end
  7334. end
  7335. for i = 1, 200 do
  7336. Swait()
  7337. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  7338. if HITFLOOR == nil then
  7339. local ORI = CENTER.Orientation
  7340. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7341. else
  7342. if HITFLOOR.Anchored == true then
  7343. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  7344. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  7345. end
  7346. IMPACT = true
  7347. break
  7348. end
  7349. end
  7350. if IMPACT == true then
  7351. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  7352. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  7353. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  7354. ApplyAoE(CENTER.Position,30*SIZE)
  7355. end
  7356. METEOR:remove()
  7357. end))
  7358. end
  7359.  
  7360. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  7361. local CHILDREN = workspace:GetDescendants()
  7362. for index, CHILD in pairs(CHILDREN) do
  7363. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7364. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7365. if HUM then
  7366. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7367. if TORSO then
  7368. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7369. if BRUTAL == true then
  7370. Kill(CHILD)
  7371. else
  7372. CHILD:BreakJoints()
  7373. end
  7374. end
  7375. end
  7376. end
  7377. end
  7378. end
  7379. end
  7380.  
  7381. function Kill(Char)
  7382. local NewCharacter = IT("Model",Effects)
  7383. NewCharacter.Name = "Ow im ded ;-;"
  7384. for _, c in pairs(Char:GetDescendants()) do
  7385. if c:IsA("BasePart") and c.Transparency == 0 then
  7386. c:BreakJoints()
  7387. c.Material = "Glass"
  7388. c.Color = C3(0/255,0/255,255/255)
  7389. c.CanCollide = true
  7390. c.Transparency = 0.3
  7391. if c:FindFirstChildOfClass("SpecialMesh") then
  7392. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  7393. end
  7394. if c.Name == "Head" then
  7395. c:ClearAllChildren()
  7396. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  7397. end
  7398. if c.ClassName == "MeshPart" then
  7399. c.TextureID = ""
  7400. end
  7401. if c:FindFirstChildOfClass("BodyPosition") then
  7402. c:FindFirstChildOfClass("BodyPosition"):remove()
  7403. end
  7404. if c:FindFirstChildOfClass("ParticleEmitter") then
  7405. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  7406. end
  7407. c.Parent = NewCharacter
  7408. c.Name = "DeadPart"
  7409. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  7410. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  7411. end
  7412. end
  7413. Char:remove()
  7414. Debris:AddItem(NewCharacter,5)
  7415. end
  7416.  
  7417. function ApplyAoE(POSITION,RANGE,BRUTAL)
  7418. local CHILDREN = workspace:GetDescendants()
  7419. for index, CHILD in pairs(CHILDREN) do
  7420. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7421. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7422. if HUM then
  7423. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7424. if TORSO then
  7425. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7426. if BRUTAL == true then
  7427. Kill(CHILD)
  7428. else
  7429. CHILD:BreakJoints()
  7430. end
  7431. end
  7432. end
  7433. end
  7434. end
  7435. end
  7436. end
  7437.  
  7438. function ApplyAoE(POSITION,RANGE,BRUTAL)
  7439. local CHILDREN = workspace:GetDescendants()
  7440. for index, CHILD in pairs(CHILDREN) do
  7441. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7442. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7443. if HUM then
  7444. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7445. if TORSO then
  7446. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7447. if BRUTAL == true then
  7448. Kill(CHILD)
  7449. else
  7450. CHILD:BreakJoints()
  7451. end
  7452. end
  7453. end
  7454. end
  7455. end
  7456. end
  7457. end
  7458.  
  7459. function Banish(Foe)
  7460. if Foe then
  7461. coroutine.resume(coroutine.create(function()
  7462. --if game.Players:FindFirstChild(Foe.Name) then
  7463. table.insert(TOBANISH,Foe.Name)
  7464. printbye(Foe.Name)
  7465. --end
  7466. Foe.Archivable = true
  7467. local CLONE = Foe:Clone()
  7468. Foe:Destroy()
  7469. CLONE.Parent = Effects
  7470. CLONE:BreakJoints()
  7471. local MATERIALS = {"Glass","Neon"}
  7472. for _, c in pairs(CLONE:GetDescendants()) do
  7473. if c:IsA("BasePart") then
  7474. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  7475. CreateSound(138271815, c, 10, 1, false)
  7476. end
  7477. c.Anchored = true
  7478. c.Transparency = c.Transparency + 0.2
  7479. c.Material = MATERIALS[MRANDOM(1,2)]
  7480. c.Color = C3(0/255,0/255,255/255)
  7481. if c.ClassName == "MeshPart" then
  7482. c.TextureID = ""
  7483. end
  7484. if c:FindFirstChildOfClass("SpecialMesh") then
  7485. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  7486. end
  7487. if c:FindFirstChildOfClass("Decal") then
  7488. c:FindFirstChildOfClass("Decal"):remove()
  7489. end
  7490. c.Name = "Banished"
  7491. c.CanCollide = false
  7492. else
  7493. c:remove()
  7494. end
  7495. end
  7496. local A = false
  7497. for i = 1, 35 do
  7498. if A == false then
  7499. A = true
  7500. elseif A == true then
  7501. A = false
  7502. end
  7503. for _, c in pairs(CLONE:GetDescendants()) do
  7504. if c:IsA("BasePart") then
  7505. c.Anchored = true
  7506. c.Material = MATERIALS[MRANDOM(1,2)]
  7507. c.Transparency = c.Transparency + 0.8/35
  7508. if A == false then
  7509. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  7510. elseif A == true then
  7511. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  7512. end
  7513. end
  7514. end
  7515. Swait()
  7516. end
  7517. CLONE:remove()
  7518. end))
  7519. end
  7520. end
  7521.  
  7522.  
  7523. function ApplyAoE(POSITION,RANGE,ISBANISH)
  7524. local CHILDREN = workspace:GetDescendants()
  7525. for index, CHILD in pairs(CHILDREN) do
  7526. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7527. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7528. if HUM then
  7529. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7530. if TORSO then
  7531. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7532. if ISBANISH == true then
  7533. Banish(CHILD)
  7534. else
  7535. if ISBANISH == "Gravity" then
  7536. HUM.PlatformStand = true
  7537. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  7538. local grav = Instance.new("BodyPosition",TORSO)
  7539. grav.D = 15
  7540. grav.P = 20000
  7541. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7542. grav.position = TORSO.Position
  7543. grav.Name = "V3BanishForce"..Player.Name
  7544. else
  7545. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  7546. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  7547. end
  7548. else
  7549. HUM.PlatformStand = false
  7550. end
  7551. end
  7552. elseif ISBANISH == "Gravity" then
  7553. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  7554. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  7555. HUM.PlatformStand = false
  7556. end
  7557. end
  7558. end
  7559. end
  7560. end
  7561. end
  7562. end
  7563.  
  7564. function SpawnSmite(POS)
  7565. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  7566. local EMITPOS = HITPOS
  7567. if HITFLOOR ~= nil then
  7568. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  7569. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  7570. EMITPOS = HITPOS
  7571. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  7572. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  7573. EMITPOS = HITPOS
  7574. end
  7575. end
  7576. if HITFLOOR ~= nil then
  7577. ApplyAoE(EMITPOS,10)
  7578. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  7579. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  7580. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  7581. for i = 1, 5 do
  7582. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  7583. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  7584. end
  7585. end
  7586. end
  7587.  
  7588. --//=================================\\
  7589. --|| ATTACK FUNCTIONS AND STUFF
  7590. --\\=================================//
  7591.  
  7592. function eh()
  7593. ATTACK = true
  7594. Rooted = false
  7595. Speed = 20
  7596. Swait()
  7597. local CHILDREN = workspace:GetDescendants()
  7598. for index, CHILD in pairs(CHILDREN) do
  7599. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7600. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7601. if HUM then
  7602. local TORSO = CHILD:FindFirstChild("Head")
  7603. if TORSO then
  7604. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  7605. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7606. TORSO:remove()
  7607. if CHILD:FindFirstChild("Torso") then
  7608. Ragdoll(CHILD,Torso,true)
  7609. elseif CHILD:FindFirstChild("UpperTorso") then
  7610. R15Ragdoll(CHILD,true)
  7611. end
  7612. end
  7613. end
  7614. end
  7615. end
  7616. end
  7617. for i=0, 0.3, 0.1 / Animation_Speed do
  7618. Swait()
  7619. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  7620. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  7621. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  7622. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  7623. 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.25 / Animation_Speed)
  7624. 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.25 / Animation_Speed)
  7625. end
  7626. Speed = 20
  7627. ATTACK = false
  7628. Rooted = false
  7629. end
  7630.  
  7631. function Taunt()
  7632. ATTACK = true
  7633. Rooted = true
  7634. CreateSound("1238240145", Torso, 6, 0.9)
  7635. for i=0, 0.6, 0.1 / Animation_Speed do
  7636. Swait()
  7637. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7638. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  7639. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7640. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7641. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7642. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7643. end
  7644. for i=0, 0.6, 0.1 / Animation_Speed do
  7645. Swait()
  7646. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7647. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  7648. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7649. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7650. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7651. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7652. end
  7653. for i=0, 0.6, 0.1 / Animation_Speed do
  7654. Swait()
  7655. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7656. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  7657. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7658. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7659. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7660. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7661. end
  7662. for i=0, 0.6, 0.1 / Animation_Speed do
  7663. Swait()
  7664. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  7666. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7668. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7669. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7670. end
  7671. for i=0, 0.6, 0.1 / Animation_Speed do
  7672. Swait()
  7673. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7674. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  7675. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7676. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7677. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7678. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7679. end
  7680. for i=0, 0.6, 0.1 / Animation_Speed do
  7681. Swait()
  7682. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7683. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  7684. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7685. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7686. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7687. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7688. end
  7689. ATTACK = false
  7690. Rooted = false
  7691. end
  7692.  
  7693. function TakeOnMe()
  7694. Speed = 16
  7695. local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  7696. ATTACK = true
  7697. Rooted = false
  7698. local DANCE = true
  7699. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  7700. if NEWKEY == "p" then
  7701. DANCE = false
  7702. end
  7703. end)
  7704. PLAYSONG = false
  7705. while true do
  7706. for i = 1, 15 do
  7707. Swait()
  7708. MEME.Parent = Effects
  7709. 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)
  7710. 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.15 / Animation_Speed)
  7711. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7712. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7713. 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.15 / Animation_Speed)
  7714. 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.15 / Animation_Speed)
  7715. end
  7716. if DANCE == false then
  7717. break
  7718. end
  7719. for i = 1, 15 do
  7720. Swait()
  7721. MEME.Parent = Effects
  7722. 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)
  7723. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  7724. if MRANDOM(1,7) == 1 then
  7725. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  7726. end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7727. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7728. 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.15 / Animation_Speed)
  7729. 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.15 / Animation_Speed)
  7730. end
  7731. end
  7732. PLAYSONG = true
  7733. KEY:Disconnect()
  7734. MEME:remove()
  7735. Speed = 25
  7736. ATTACK = false
  7737. Rooted = false
  7738. end
  7739.  
  7740. function Intro()
  7741. ATTACK = true
  7742. Rooted = true
  7743. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  7744. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,1,0).p
  7745. for i=0, 6, 0.1 / Animation_Speed do
  7746. Swait()
  7747. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 5 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7748. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  7750. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  7751. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7752. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7753. end
  7754. CreateSound(1208650519, Torso, 2, 0.8)
  7755. CreateSound(333446256, Character, 10, 1)
  7756. for i=0, 17, 0.1 / Animation_Speed do
  7757. Swait()
  7758. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 4 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7759. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7760. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  7761. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  7762. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7763. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7764. end
  7765. CreateSound(1841058541,Character,3,1,false)
  7766. for i=0, 0.7, 0.1 / Animation_Speed do
  7767. Swait()
  7768. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  7769. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  7770. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  7771. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7772. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  7773. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  7774. end
  7775. Head.Color = C3(0/255,0/255,255/255)
  7776. Torso.Color = C3(0/255,0/255,255/255)
  7777. LeftArm.Color = C3(0/255,0/255,255/255)
  7778. LeftLeg.Color = C3(0/255,0/255,255/255)
  7779. RightArm.Color = C3(0/255,0/255,255/255)
  7780. RightLeg.Color = C3(0/255,0/255,255/255)
  7781. EXE.ShirtTemplate = "rbxassetid://760717023"
  7782. LOL.PantsTemplate = "rbxassetid://770508500"
  7783. Gun.Parent = Character
  7784. tecks2.TextTransparency = 0
  7785. for i = 1, 100 do
  7786. Swait()
  7787. for _, c in pairs(Character:GetChildren()) do
  7788. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  7789. c.Transparency = 0
  7790. end
  7791. end
  7792. for _, c in pairs(Weapon:GetChildren()) do
  7793. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  7794. c.Transparency = 0
  7795. end
  7796. end
  7797. end
  7798. TRANSFORMED = true
  7799. ATTACK = false
  7800. Rooted = false
  7801. end
  7802.  
  7803. function Shot()
  7804. ATTACK = true
  7805. Rooted = false
  7806. for i=0, 0.2, 0.05 / Animation_Speed do
  7807. Swait()
  7808. turnto(Mouse.Hit.p)
  7809. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7810. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7811. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7812. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7813. 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)
  7814. 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)
  7815. end
  7816. repeat
  7817. for i=0, 0.2, 0.05 / Animation_Speed do
  7818. Swait()
  7819. turnto(Mouse.Hit.p)
  7820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7824. 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)
  7825. 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)
  7826. end
  7827. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  7828. SpawnTrail(Hole.Position,POS)
  7829. if HIT ~= nil then
  7830. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  7831. Banish(HIT.Parent)
  7832. end
  7833. end
  7834. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  7835. for i=0, 0.2, 0.05 / Animation_Speed do
  7836. Swait()
  7837. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7838. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  7839. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7840. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7841. 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)
  7842. 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)
  7843. end
  7844. until KEYHOLD == false
  7845. ATTACK = false
  7846. Rooted = false
  7847. end
  7848.  
  7849. function MagicMissiles()
  7850. ATTACK = true
  7851. Rooted = true
  7852. local SELECTING = true
  7853. local SPOTS = {}
  7854. coroutine.resume(coroutine.create(function()
  7855. local LOOP = 0
  7856. repeat
  7857. LOOP = LOOP + 1
  7858. Swait()
  7859. if LOOP >= 10 then
  7860. LOOP = 0
  7861. for i = 1, #SPOTS do
  7862. if SPOTS[i] ~= nil then
  7863. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  7864. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  7865. end
  7866. end
  7867. end
  7868. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  7869. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  7870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7872. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  7873. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  7874. until SELECTING == false
  7875. Rooted = false
  7876. repeat
  7877. LOOP = LOOP + 1
  7878. Swait()
  7879. if LOOP >= 10 then
  7880. LOOP = 0
  7881. for i = 1, #SPOTS do
  7882. if SPOTS[i] ~= nil then
  7883. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  7884. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  7885. end
  7886. end
  7887. end
  7888. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  7889. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  7890. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7891. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7892. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  7893. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  7894. until ATTACK == false
  7895. end))
  7896. repeat
  7897. repeat Swait() until HOLD == true
  7898. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  7899. if DIST > 65 then
  7900. DIST = 65
  7901. end
  7902. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  7903. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  7904. if HITFLOOR ~= nil then
  7905. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  7906. end
  7907. repeat Swait() until HOLD == false
  7908. until #SPOTS == 5
  7909. SELECTING = false
  7910. for i = 1, #SPOTS do
  7911. if SPOTS[i] ~= nil then
  7912. local POS = SPOTS[i]
  7913. coroutine.resume(coroutine.create(function()
  7914. local MISSILE = IT("Model",Effects)
  7915. MISSILE.Name = "Missile"
  7916. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  7917. MakeForm(BASEPART,"Cyl")
  7918. MISSILE.PrimaryPart = BASEPART
  7919. BASEPART.CFrame = POS*CF(0,-30*3,0)
  7920. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  7921. MakeForm(HEAD,"Ball")
  7922. HEAD.CFrame = BASEPART.CFrame*CF(0,-1,0)
  7923. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  7924. MakeForm(TAIL,"Cyl")
  7925. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  7926. for i = 1, 10 do
  7927. Swait()
  7928. for _, c in pairs(MISSILE:GetChildren()) do
  7929. if c.ClassName == "Part" then
  7930. c.Transparency = c.Transparency - 1/10
  7931. end
  7932. end
  7933. end
  7934. for i = 1, 15*1.5 do
  7935. Swait()
  7936. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  7937. end
  7938. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  7939. MISSILE:remove()
  7940. end))
  7941. end
  7942. end
  7943. wait(0.6)
  7944. ATTACK = false
  7945. Rooted = false
  7946. end
  7947.  
  7948. function Shot2()
  7949. ATTACK = true
  7950. Rooted = false
  7951. for i=0, 0.2, 0.05 / Animation_Speed do
  7952. Swait()
  7953. turnto(Mouse.Hit.p)
  7954. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7955. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7956. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7957. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7958. 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)
  7959. 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)
  7960. end
  7961. repeat
  7962. for i=0, 0.2, 0.05 / Animation_Speed do
  7963. Swait()
  7964. turnto(Mouse.Hit.p)
  7965. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7966. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7967. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7968. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7969. 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)
  7970. 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)
  7971. end
  7972. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  7973. SpawnTrail(Hole.Position,POS)
  7974. if HIT ~= nil then
  7975. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  7976. Kill(HIT.Parent)
  7977. end
  7978. end
  7979. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  7980. for i=0, 0.2, 0.05 / Animation_Speed do
  7981. Swait()
  7982. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7983. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  7984. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7985. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7986. 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)
  7987. 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)
  7988. end
  7989. until KEYHOLD == false
  7990. ATTACK = false
  7991. Rooted = false
  7992. end
  7993.  
  7994. function AttackTemplate()
  7995. ATTACK = true
  7996. Rooted = false
  7997. for i=0, 1, 0.1 / Animation_Speed do
  7998. Swait()
  7999. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  8000. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  8001. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8002. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8003. 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)
  8004. 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)
  8005. end
  8006. ATTACK = false
  8007. Rooted = false
  8008. end
  8009.  
  8010. function Finisher()
  8011. local TARGET = Mouse.Target
  8012. if TARGET ~= nil then
  8013. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  8014. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  8015. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  8016. if ROOT and HUM.Health > 0 then
  8017. local FOE = Mouse.Target.Parent
  8018. ATTACK = true
  8019. Rooted = true
  8020. RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  8021. ROOT.Anchored = true
  8022. CreateSound(670796769, Torso, 9999, 0.6, false)
  8023. CreateSound(159882598, Torso, 5, 0.9, false)
  8024. for i=0, 0.4, 0.1 / Animation_Speed do
  8025. Swait()
  8026. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8027. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8029. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8030. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8032. end
  8033. HUM.PlatformStand = true
  8034. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  8035. coroutine.resume(coroutine.create(function()
  8036. Swait()
  8037. ROOT.Anchored = true
  8038. end))
  8039. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  8040. for i=0, 0.2, 0.1 / Animation_Speed do
  8041. Swait()
  8042. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8043. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8044. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8045. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8046. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8047. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8048. end
  8049. for i=0, 0.2, 0.1 / Animation_Speed do
  8050. Swait()
  8051. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  8052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  8053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8055. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8056. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8057. end
  8058. local AMMO = 6
  8059. local FIRING = true
  8060. local SHOOTING = false
  8061. local TIMER = 70
  8062. CreateSound(147722227, GunPoint, 6, 1.3, false)
  8063. for i=0, 0.2, 0.1 / Animation_Speed do
  8064. Swait()
  8065. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8069. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8070. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8071. end
  8072. for i = 1, 6 do
  8073. local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
  8074. local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  8075. HUM.Health = HUM.Health/1.5
  8076. for i=0, 0.2, 0.1 / Animation_Speed do
  8077. Swait()
  8078. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8079. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8080. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8081. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8082. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8083. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8084. end
  8085. for i=0, 0.2, 0.1 / Animation_Speed do
  8086. Swait()
  8087. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8091. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8093. end
  8094. end
  8095. ApplyDamage(HUM,0,true)
  8096. FOE:BreakJoints()
  8097. ROOT.Anchored = false
  8098. for i=0, 0.3, 0.1 / Animation_Speed do
  8099. Swait()
  8100. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8101. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  8102. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8103. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8104. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8105. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8106. end
  8107. ATTACK = false
  8108. Rooted = false
  8109. end
  8110. end
  8111. end
  8112. end
  8113.  
  8114. --//=================================\\
  8115. --|| ASSIGN THINGS TO KEYS
  8116. --\\=================================//
  8117.  
  8118. function MouseDown(Mouse)
  8119. if ATTACK == false then
  8120. end
  8121. end
  8122.  
  8123. function MouseUp(Mouse)
  8124. HOLD = false
  8125. end
  8126.  
  8127. function KeyDown(Key)
  8128. KEYHOLD = true
  8129.  
  8130. if Key == "b" and ATTACK == false then
  8131. MagicMissiles()
  8132. end
  8133.  
  8134. if Key == "z" and ATTACK == false then
  8135. Shot()
  8136. end
  8137.  
  8138. if Key == "v" and ATTACK == false then
  8139. Shot2()
  8140. end
  8141.  
  8142. if Key == "x" and ATTACK == false then
  8143. Finisher()
  8144. end
  8145.  
  8146. if Key == "t" and ATTACK == false then
  8147. Taunt()
  8148. end
  8149.  
  8150. if Key == "c" and ATTACK == false then
  8151. eh()
  8152. end
  8153. end
  8154.  
  8155. local OVMID = 561833161
  8156. local OVMPIT = 1
  8157. local OVMVOL = 1
  8158. plr.Chatted:connect(function(message)
  8159. if ATTACK == false then
  8160. if message:sub(1,5) == "play/" then
  8161. OVMID = message:sub(6)
  8162. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8163. elseif message:sub(1,6) == "pitch/" then
  8164. OVMPIT = message:sub(7)
  8165. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8166. elseif message:sub(1,4) == "vol/" then
  8167. OVMVOL = message:sub(5)
  8168. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8169. elseif message:sub(1,7) == "sr/" then
  8170. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8171. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8172. elseif message:sub(1,9) == "te/" then
  8173. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8174. end
  8175. end
  8176. end)
  8177.  
  8178. function KeyUp(Key)
  8179. KEYHOLD = false
  8180. end
  8181.  
  8182. Mouse.Button1Down:connect(function(NEWKEY)
  8183. MouseDown(NEWKEY)
  8184. end)
  8185. Mouse.Button1Up:connect(function(NEWKEY)
  8186. MouseUp(NEWKEY)
  8187. end)
  8188. Mouse.KeyDown:connect(function(NEWKEY)
  8189. KeyDown(NEWKEY)
  8190. end)
  8191. Mouse.KeyUp:connect(function(NEWKEY)
  8192. KeyUp(NEWKEY)
  8193. end)
  8194.  
  8195. --//=================================\\
  8196. --\\=================================//
  8197.  
  8198.  
  8199. function unanchor()
  8200. if UNANCHOR == true then
  8201. g = Character:GetChildren()
  8202. for i = 1, #g do
  8203. if g[i].ClassName == "Part" then
  8204. g[i].Anchored = false
  8205. end
  8206. end
  8207. end
  8208. end
  8209.  
  8210.  
  8211. --//=================================\\
  8212. --|| WRAP THE WHOLE SCRIPT UP
  8213. --\\=================================//
  8214.  
  8215. Humanoid.Changed:connect(function(Jump)
  8216. if Jump == "Jump" and (Disable_Jump == true) then
  8217. Humanoid.Jump = false
  8218. end
  8219. end)
  8220.  
  8221. local FF = IT("ForceField",Character)
  8222. FF.Visible = false
  8223. INSTANT = false
  8224. Speed = 20
  8225.  
  8226. while true do
  8227. Swait()
  8228. SINE = SINE + CHANGE
  8229. ANIMATE.Parent = nil
  8230. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  8231. IDLEANIMATION:Play()
  8232. if TRANSFORMED == true then
  8233. tecks2.TextTransparency = 0
  8234. for _, c in pairs(Character:GetChildren()) do
  8235. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  8236. c.Anchored = false
  8237. c.Transparency = 0
  8238. end
  8239. end
  8240. for _, c in pairs(Weapon:GetChildren()) do
  8241. if c.ClassName == "Part" then
  8242. c.Transparency = 0
  8243. end
  8244. end
  8245. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  8246. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  8247. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  8248. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  8249. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  8250. if ATTACK == false and VALUE2 == false then
  8251. end
  8252. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  8253. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  8254. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  8255. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  8256. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  8257. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  8258. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8259. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8260. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8261. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8262. end
  8263. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  8264. ANIM = "Jump"
  8265. if ATTACK == false then
  8266. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8267. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8268. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  8269. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  8270. 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)
  8271. 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)
  8272. end
  8273. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  8274. ANIM = "Fall"
  8275. if ATTACK == false then
  8276. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8277. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8278. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  8279. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  8280. 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)
  8281. 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)
  8282. end
  8283. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  8284. ANIM = "Idle"
  8285. if ATTACK == false then
  8286. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  8287. if MRANDOM(1,7) == 1 then
  8288. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  8289. end
  8290. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  8291. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  8292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  8293. 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.25 / Animation_Speed)
  8294. 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.25 / Animation_Speed)
  8295. end
  8296. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  8297. ANIM = "Walk"
  8298. if ATTACK == false then
  8299. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8300. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  8301. if MRANDOM(1,7) == 1 then
  8302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  8303. end
  8304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  8305. 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)
  8306. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  8307. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  8308. end
  8309. end
  8310. end
  8311. --end
  8312. Humanoid.DisplayDistanceType = "None"
  8313. unanchor()
  8314. Humanoid.MaxHealth = "inf"
  8315. Humanoid.Health = "inf"
  8316. if Rooted == false then
  8317. Disable_Jump = false
  8318. Humanoid.WalkSpeed = Speed
  8319. elseif Rooted == true then
  8320. Disable_Jump = true
  8321. Humanoid.WalkSpeed = 0
  8322. end
  8323. if Head:FindFirstChild("face") then
  8324. Head.face.Texture = "rbxassetid://403870689"
  8325. end
  8326. for _, c in pairs(Character:GetChildren()) do
  8327. if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  8328. c:remove()
  8329. end
  8330. if c:FindFirstChildOfClass("ParticleEmitter") then
  8331. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  8332. end
  8333. end
  8334. local MATHS = {"0","1"}
  8335. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  8336. Humanoid.PlatformStand = false
  8337. if INTRO == false and INSTANT == false then
  8338. INTRO = true
  8339. coroutine.resume(coroutine.create(function()
  8340. sick:Play()
  8341. Intro()
  8342. end))
  8343. end
  8344. if INSTANT == true then
  8345. if TRANSFORMED == false then
  8346. sick.TimePosition = 60
  8347. sick:Play()
  8348. end
  8349. TRANSFORMED = true
  8350. end
  8351. script.Parent = PlayerGui
  8352. Character.Parent = workspace
  8353. Humanoid.Parent = Character
  8354. end
  8355. --//=================================\\
  8356. --\\=================================//
  8357.  
  8358.  
  8359.  
  8360.  
  8361.  
  8362. --//====================================================\\--
  8363. --|| END OF SCRIPT
  8364. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement