AirdHeee

Reeeaaaaaaaaaaa

Jul 16th, 2019
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 212.67 KB | None | 0 0
  1. wait(.5)
  2.  
  3. local skipintro = false
  4. local pickingMode = true
  5.  
  6. Players = game:GetService("Players")
  7. Player = script.Parent.Parent.Parent:FindFirstChild(script.Parent.Parent.Name)
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. RootPart = Character["HumanoidRootPart"]
  14. Torso = Character["Torso"]
  15. Head = Character["Head"]
  16. RightArm = Character["Right Arm"]
  17. LeftArm = Character["Left Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LeftLeg = Character["Left Leg"]
  20. RootJoint = RootPart["RootJoint"]
  21. Neck = Torso["Neck"]
  22. RightShoulder = Torso["Right Shoulder"]
  23. LeftShoulder = Torso["Left Shoulder"]
  24. RightHip = Torso["Right Hip"]
  25. LeftHip = Torso["Left Hip"]
  26. neccc = 1
  27. slSINE = 0
  28. slCHANGE = 1
  29. MAINRUINCOLOR = BrickColor.Random()
  30. Debris = game:GetService("Debris")
  31. HttpService = game:GetService("HttpService")
  32.  
  33. IT = Instance.new
  34. CF = CFrame.new
  35. VT = Vector3.new
  36. RAD = math.rad
  37. C3 = Color3.new
  38. UD2 = UDim2.new
  39. BRICKC = BrickColor.new
  40. ANGLES = CFrame.Angles
  41. EULER = CFrame.fromEulerAnglesXYZ
  42. COS = math.cos
  43. ACOS = math.acos
  44. SIN = math.sin
  45. ASIN = math.asin
  46. ABS = math.abs
  47. MRANDOM = math.random
  48. FLOOR = math.floor
  49. vt = Vector3.new
  50. bc = BrickColor.new
  51. br = BrickColor.random
  52. it = Instance.new
  53. cf = CFrame.new
  54.  
  55. local SONG1 = 733456981
  56. local SONG2 = 2190980177
  57. local SONG3 = 1138145518
  58. local LatestVersion = HttpService:GetAsync("https://pastebin.com/raw/JbZGtyUh", true)
  59. local ScriptVersion = "jumpreeeeeeeowowwowowowowo"
  60.  
  61. local screenUi = Instance.new("ScreenGui", PlayerGui)
  62. screenUi.Parent = PlayerGui
  63. screenUi.Name = "guiFolder"
  64. local sideLabel = script["GuiFolder"].sideLabel:Clone()
  65. sideLabel.Parent = screenUi
  66. sideLabel.Text = "Modes:\nKarma(J)\nByeBye(K)\nInsane(L)"
  67.  
  68. if ScriptVersion == LatestVersion then
  69. sideLabel.Text = sideLabel.Text.."\n[ UPDATED! ]\n[-ENJOY-KARMA-REWORK-]"
  70. else
  71. sideLabel.Text = sideLabel.Text.."\n[ OUTDATED! ]\n[-REQUEST-NEW-SCRIPT-VERSION-]"
  72. end
  73.  
  74. coroutine.resume(coroutine.create(function()
  75. while wait() do
  76. slSINE = slSINE + slCHANGE
  77. sideLabel.BackgroundColor3 = BrickColor.Random().Color
  78. sideLabel.BorderColor3 = C3(1, 1, 1)
  79. sideLabel.TextColor3 = BrickColor.Random().Color
  80. sideLabel.TextStrokeColor3 = C3(1, 1, 1)
  81. sideLabel.Rotation = 6 - 2 * COS(slSINE / 35)
  82. end
  83. end))
  84.  
  85. Mouse.KeyDown:Connect(function(KEY)
  86. if pickingMode == true then
  87. if KEY == "j" then
  88. script["Mode"].Value = "Karma"
  89. pickingMode = false
  90. end
  91. if KEY == "k" then
  92. script["Mode"].Value = "ByeBye"
  93. pickingMode = false
  94. end
  95. if KEY == "l" then
  96. script["Mode"].Value = "Insane"
  97. pickingMode = false
  98. end
  99. end
  100. end)
  101.  
  102. repeat
  103. wait()
  104. until pickingMode ~= true
  105.  
  106. sideLabel.Text = "Side: " .. script["Mode"].Value
  107.  
  108. local sick = Instance.new("Sound",Character)
  109. if(script["Mode"].Value == "Karma")then
  110. sick.TimePosition = 115.4
  111. sick.SoundId = "rbxassetid://"..SONG1
  112. elseif(script["Mode"].Value == "ByeBye")then
  113. sick.TimePosition = 0
  114. sick.SoundId = "rbxassetid://"..SONG2
  115. elseif(script["Mode"].Value == "Insane")then
  116. sick.TimePosition = 110
  117. sick.SoundId = "rbxassetid://"..SONG3
  118. end
  119. sick.Looped = true
  120. sick.Pitch = 1
  121. sick.Volume = 1
  122. sick:Play()
  123.  
  124. --//=================================\\
  125. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  126. --\\=================================//
  127.  
  128. ArtificialHB = Instance.new("BindableEvent", script)
  129. ArtificialHB.Name = "ArtificialHB"
  130.  
  131. script:WaitForChild("ArtificialHB")
  132.  
  133. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  134. frame = Frame_Speed
  135. tf = 0
  136. allowframeloss = false
  137. tossremainder = false
  138. lastframe = tick()
  139. script.ArtificialHB:Fire()
  140.  
  141. game:GetService("RunService").Heartbeat:connect(function(s, p)
  142. tf = tf + s
  143. if tf >= frame then
  144. if allowframeloss then
  145. script.ArtificialHB:Fire()
  146. lastframe = tick()
  147. else
  148. for i = 1, math.floor(tf / frame) do
  149. script.ArtificialHB:Fire()
  150. end
  151. lastframe = tick()
  152. end
  153. if tossremainder then
  154. tf = 0
  155. else
  156. tf = tf - frame * math.floor(tf / frame)
  157. end
  158. end
  159. end)
  160.  
  161. --//=================================\\
  162. --\\=================================//
  163.  
  164. function Swait(NUMBER)
  165. if NUMBER == 0 or NUMBER == nil then
  166. ArtificialHB.Event:wait()
  167. else
  168. for i = 1, NUMBER do
  169. ArtificialHB.Event:wait()
  170. end
  171. end
  172. end
  173.  
  174. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  175. local NEWMESH = IT(MESH)
  176. if MESH == "SpecialMesh" then
  177. NEWMESH.MeshType = MESHTYPE
  178. if MESHID ~= "nil" and MESHID ~= "" then
  179. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  180. end
  181. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  182. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  183. end
  184. end
  185. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  186. NEWMESH.Scale = SCALE
  187. NEWMESH.Parent = PARENT
  188. return NEWMESH
  189. end
  190.  
  191. function CreatePartC(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, COLOR3, NAME, SIZE, ANCHOR)
  192. local NEWPART = IT("Part")
  193. NEWPART.formFactor = FORMFACTOR
  194. NEWPART.Reflectance = REFLECTANCE
  195. NEWPART.Transparency = TRANSPARENCY
  196. NEWPART.CanCollide = false
  197. NEWPART.Locked = true
  198. NEWPART.Anchored = true
  199. if ANCHOR == false then
  200. NEWPART.Anchored = false
  201. end
  202. NEWPART.Color = COLOR3
  203. NEWPART.Name = NAME
  204. NEWPART.Size = SIZE
  205. NEWPART.Position = Torso.Position
  206. NEWPART.Material = MATERIAL
  207. NEWPART:BreakJoints()
  208. NEWPART.Parent = PARENT
  209. return NEWPART
  210. end
  211.  
  212. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  213. local NEWPART = IT("Part")
  214. NEWPART.formFactor = FORMFACTOR
  215. NEWPART.Reflectance = REFLECTANCE
  216. NEWPART.Transparency = TRANSPARENCY
  217. NEWPART.CanCollide = false
  218. NEWPART.Locked = true
  219. NEWPART.Anchored = true
  220. if ANCHOR == false then
  221. NEWPART.Anchored = false
  222. end
  223. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  224. NEWPART.Name = NAME
  225. NEWPART.Size = SIZE
  226. NEWPART.Position = Torso.Position
  227. NEWPART.Material = MATERIAL
  228. NEWPART:BreakJoints()
  229. NEWPART.Parent = PARENT
  230. return NEWPART
  231. end
  232.  
  233. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  234. local p = Instance.new("Part")
  235. p.TopSurface = 0
  236. p.BottomSurface = 0
  237. p.Parent = parent
  238. p.Size = Vector3.new(0.1,0.1,0.1)
  239. p.Transparency = transparency
  240. p.Reflectance = reflectance
  241. p.CanCollide = false
  242. p.Locked = true
  243. p.BrickColor = brickcolor
  244. p.Material = material
  245. return p
  246. end
  247.  
  248. local function weldBetween(a, b)
  249. local weldd = Instance.new("ManualWeld")
  250. weldd.Part0 = a
  251. weldd.Part1 = b
  252. weldd.C0 = CFrame.new()
  253. weldd.C1 = b.CFrame:inverse() * a.CFrame
  254. weldd.Parent = a
  255. return weldd
  256. end
  257.  
  258. --//=================================\\
  259. --|| CUSTOMIZATION
  260. --\\=================================//
  261.  
  262. Player_Size = 1 --Size of the player.
  263. Animation_Speed = 3
  264.  
  265. local Speed = 20
  266. local Effects2 = {}
  267.  
  268. --//=================================\\
  269. --|| END OF CUSTOMIZATION
  270. --\\=================================//
  271.  
  272. --//=================================\\
  273. --|| USEFUL VALUES
  274. --\\=================================//
  275.  
  276. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  277. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  278. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  279. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  280. local CHANGEDEFENSE = 0
  281. local CHANGEDAMAGE = 0
  282. local CHANGEMOVEMENT = 0
  283. local ANIM = "Idle"
  284. local TOBANISH = {}
  285. local ATTACK = false
  286. local EQUIPPED = false
  287. local HOLD = false
  288. local COMBO = 1
  289. local Rooted = false
  290. local SINE = 0
  291. local KEYHOLD = false
  292. local CHANGE = 2 / Animation_Speed
  293. local WALKINGANIM = false
  294. local WALK = 0
  295. local VALUE1 = false
  296. local VALUE2 = false
  297. local ATTACKLIST = {}
  298. local ROBLOXIDLEANIMATION = IT("Animation")
  299. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  300. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  301. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  302. WEAPONGUI.Name = "Weapon GUI"
  303. local HornFolder = IT("Model", Character)
  304. HornFolder.Name = "Horns"
  305. local faceShadingFolder = IT("Model", Character)
  306. faceShadingFolder.Name = "Face Shading Folder"
  307. local Weapon = IT("Model")
  308. Weapon.Name = "Adds"
  309. local Karma = IT("Model")
  310. Weapon.Name = "Adds"
  311. local KarmaGun = IT("Model")
  312. Weapon.Name = "Adds"
  313. local KarmaGun2 = IT("Model")
  314. Weapon.Name = "Adds"
  315. local HITFLOOR = nil
  316. local Effects = IT("Folder", Weapon)
  317. Effects.Name = "Effects"
  318. local ANIMATOR = Humanoid.Animator
  319. local ANIMATE = Character.Animate
  320. local HITPLAYERSOUNDS = {"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  321. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  322. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  323. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  324. local UNANCHOR = true
  325.  
  326. local SKILLTEXTCOLOR = C3(255/255, 255/255, 255/255)
  327.  
  328. local FONTS = {
  329. Enum.Font.Antique,
  330. Enum.Font.Arcade,
  331. Enum.Font.Arial,
  332. Enum.Font.ArialBold,
  333. Enum.Font.Bodoni,
  334. Enum.Font.Cartoon,
  335. Enum.Font.Code,
  336. Enum.Font.Fantasy,
  337. Enum.Font.Garamond,
  338. Enum.Font.Highway,
  339. Enum.Font.Legacy,
  340. Enum.Font.SciFi,
  341. Enum.Font.SourceSans,
  342. Enum.Font.SourceSansBold,
  343. Enum.Font.SourceSansItalic,
  344. Enum.Font.SourceSansLight,
  345. Enum.Font.SourceSansSemibold
  346. }
  347.  
  348. --//=================================\\
  349. --|| RAINBOW LEAVE IT TO ME!
  350. --\\=================================//
  351.  
  352. local r = 255
  353. local g = 0
  354. local b = 0
  355. coroutine.resume(coroutine.create(function()
  356. while wait() do
  357. for i = 0, 254/5 do
  358. Swait()
  359. g = g + 5
  360. end
  361. for i = 0, 254/5 do
  362. Swait()
  363. r = r - 5
  364. end
  365. for i = 0, 254/5 do
  366. Swait()
  367. b = b + 5
  368. end
  369. for i = 0, 254/5 do
  370. Swait()
  371. g = g - 5
  372. end
  373. for i = 0, 254/5 do
  374. Swait()
  375. r = r + 5
  376. end
  377. for i = 0, 254/5 do
  378. Swait()
  379. b = b - 5
  380. end
  381. end
  382. end))
  383.  
  384. --//=================================\\
  385. --\\=================================//
  386.  
  387. function warnedpeople(text)
  388. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  389. coroutine.resume(coroutine.create(function()
  390. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  391. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  392. end
  393. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  394. scrg.Name = "Spinny"
  395. local wobble = Instance.new("Frame",scrg)
  396. wobble.Name = "Wobble"
  397. wobble.BackgroundTransparency = 0.5
  398. wobble.Size = UDim2.new(1.1,0,1.1,0)
  399. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  400. local wobble2 = Instance.new("Frame",scrg)
  401. wobble2.Name = "wobble2"
  402. wobble2.BackgroundTransparency = 0.5
  403. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  404. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  405. local Visuals = Instance.new("Frame",scrg)
  406. Visuals.Name = "Visuals"
  407. Visuals.BackgroundTransparency = 0.3
  408. Visuals.Size = UDim2.new(0,100,0,100)
  409. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  410. local glow = Instance.new("ImageLabel",scrg)
  411. glow.Name = "glow"
  412. glow.BackgroundTransparency = 1
  413. glow.ImageTransparency = 0
  414. glow.Image = "rbxassetid://2344870656"
  415. glow.Size = UDim2.new(0,0,0,0)
  416. glow.Position = UDim2.new(0.026,0,-0.235,0)
  417. local Visuals2 = Instance.new("Frame",scrg)
  418. Visuals2.Name = "Visuals2"
  419. Visuals2.BackgroundTransparency = 0.3
  420. Visuals2.Size = UDim2.new(0,50,0,50)
  421. Visuals2.Position = UDim2.new(0.48,0,0.867,0)
  422. local TextFrame = Instance.new("TextLabel",scrg)
  423. TextFrame.Name = "Farmer"
  424. TextFrame.Font = "Arcade"
  425. TextFrame.Text = text
  426. TextFrame.TextScaled = true
  427. TextFrame.TextSize = 60
  428. TextFrame.BackgroundTransparency = 1
  429. TextFrame.Size = UDim2.new(0.8,0,0,42)
  430. TextFrame.Position = UDim2.new(0.11,0,0.867,0)
  431. local fvalen = 0.55
  432. local fval = -0.49
  433. coroutine.resume(coroutine.create(function()
  434. while true do
  435. Swait()
  436. TextFrame.TextColor3 = BrickColor.Random().Color
  437. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  438. TextFrame.TextStrokeTransparency = 0
  439. TextFrame.Rotation = 0 + MRANDOM(-3, 3)
  440. TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
  441. TextFrame.Font = FONTS[MRANDOM(1, #FONTS)]
  442. glow.ImageColor3 = C3(0, 0, 0)
  443. wobble.Rotation = 0 - 2 * COS(SINE / 24)
  444. wobble2.Rotation = 0 - 2 * COS(SINE / 30)
  445. wobble2.BackgroundColor3 = BrickColor.Random().Color
  446. wobble2.BorderColor3 = BrickColor.Random().Color
  447. wobble2.BorderSizePixel = 2
  448. Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
  449. Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
  450. Visuals.BackgroundColor3 = BrickColor.Random().Color
  451. Visuals.BorderColor3 = BrickColor.Random().Color
  452. Visuals2.BackgroundColor3 = BrickColor.Random().Color
  453. Visuals2.BorderColor3 = BrickColor.Random().Color
  454. wobble.BackgroundColor3 = BrickColor.Random().Color
  455. wobble.BorderColor3 = BrickColor.Random().Color
  456. wobble.BorderSizePixel = 2
  457. end
  458. end))
  459. coroutine.resume(coroutine.create(function()
  460. for i = 0, 198 do
  461. Swait()
  462. end
  463. scrg:Destroy()
  464. end))
  465. end))
  466. end
  467. end
  468.  
  469. function hasarrived(whom)
  470. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  471. coroutine.resume(coroutine.create(function()
  472. if v.PlayerGui:FindFirstChild("ARRIVAL")~= nil then
  473. v.PlayerGui:FindFirstChild("ARRIVAL"):destroy()
  474. end
  475. local droppingFrame = false
  476. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  477. scrg.Name = "ARRIVAL"
  478. local mainFrame = Instance.new("Frame", scrg)
  479. mainFrame.Name = "MainFrame"
  480. mainFrame.BackgroundTransparency = 0
  481. mainFrame.BorderSizePixel = 5
  482. mainFrame.Size = UDim2.new(1, 0, -0.013, 100)
  483. mainFrame.Position = UDim2.new(0, 0, 0.365, 0)
  484. local TextFrame = Instance.new("TextLabel",mainFrame)
  485. TextFrame.Name = "TextFrame"
  486. TextFrame.Font = "Arcade"
  487. TextFrame.Text = ""
  488. TextFrame.TextScaled = true
  489. TextFrame.TextSize = 14
  490. TextFrame.TextStrokeTransparency = 0
  491. TextFrame.BackgroundTransparency = 1
  492. TextFrame.Size = UDim2.new(1, 0, 0, 92)
  493. TextFrame.Position = UDim2.new(0, 0, 0, 0)
  494. local fvalen = 0.55
  495. local fval = -0.49
  496. coroutine.resume(coroutine.create(function()
  497. while true do
  498. Swait()
  499. mainFrame.BackgroundColor3 = BrickColor.Random().Color
  500. mainFrame.BorderColor3 = C3(0, 0, 0)
  501. if(not droppingFrame)then
  502. mainFrame.Rotation = 0 - 2 * COS(SINE / 24)
  503. end
  504. TextFrame.TextColor3 = BrickColor.Random().Color
  505. TextFrame.Font = FONTS[MRANDOM(1, #FONTS)]
  506. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  507. TextFrame.TextStrokeTransparency = 0
  508. end
  509. end))
  510. for i = 1,string.len(whom),1 do
  511. TextFrame.Text = string.sub(whom,1,i)
  512. wait(0.2)
  513. end
  514. wait(2)
  515. droppingFrame = true
  516. mainFrame.Rotation = 0
  517. local vinc2 = 1
  518. for i = 0, 99 do
  519. Swait()
  520. vinc2 = vinc2 + 0.25
  521. mainFrame.Position = mainFrame.Position + UDim2.new(0,0,0.0005*vinc2,0)
  522. end
  523. scrg:Destroy()
  524. end))
  525. end
  526. end
  527.  
  528. --//=================================\\
  529. --|| SOME FUNCTIONS
  530. --\\=================================//
  531.  
  532. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  533. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  534. end
  535.  
  536. function PositiveAngle(NUMBER)
  537. if NUMBER >= 0 then
  538. NUMBER = 0
  539. end
  540. return NUMBER
  541. end
  542.  
  543. function NegativeAngle(NUMBER)
  544. if NUMBER <= 0 then
  545. NUMBER = 0
  546. end
  547. return NUMBER
  548. end
  549.  
  550.  
  551. function QuaternionFromCFrame(cf)
  552. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  553. local trace = m00 + m11 + m22
  554. if trace > 0 then
  555. local s = math.sqrt(1 + trace)
  556. local recip = 0.5 / s
  557. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  558. else
  559. local i = 0
  560. if m11 > m00 then
  561. i = 1
  562. end
  563. if m22 > (i == 0 and m00 or m11) then
  564. i = 2
  565. end
  566. if i == 0 then
  567. local s = math.sqrt(m00 - m11 - m22 + 1)
  568. local recip = 0.5 / s
  569. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  570. elseif i == 1 then
  571. local s = math.sqrt(m11 - m22 - m00 + 1)
  572. local recip = 0.5 / s
  573. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  574. elseif i == 2 then
  575. local s = math.sqrt(m22 - m00 - m11 + 1)
  576. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  577. end
  578. end
  579. end
  580.  
  581. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  582. local xs, ys, zs = x + x, y + y, z + z
  583. local wx, wy, wz = w * xs, w * ys, w * zs
  584. local xx = x * xs
  585. local xy = x * ys
  586. local xz = x * zs
  587. local yy = y * ys
  588. local yz = y * zs
  589. local zz = z * zs
  590. 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))
  591. end
  592.  
  593. function QuaternionSlerp(a, b, t)
  594. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  595. local startInterp, finishInterp;
  596. if cosTheta >= 0.0001 then
  597. if (1 - cosTheta) > 0.0001 then
  598. local theta = ACOS(cosTheta)
  599. local invSinTheta = 1 / SIN(theta)
  600. startInterp = SIN((1 - t) * theta) * invSinTheta
  601. finishInterp = SIN(t * theta) * invSinTheta
  602. else
  603. startInterp = 1 - t
  604. finishInterp = t
  605. end
  606. else
  607. if (1 + cosTheta) > 0.0001 then
  608. local theta = ACOS(-cosTheta)
  609. local invSinTheta = 1 / SIN(theta)
  610. startInterp = SIN((t - 1) * theta) * invSinTheta
  611. finishInterp = SIN(t * theta) * invSinTheta
  612. else
  613. startInterp = t - 1
  614. finishInterp = t
  615. end
  616. end
  617. 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
  618. end
  619.  
  620. function Clerp(a, b, t)
  621. local qa = {QuaternionFromCFrame(a)}
  622. local qb = {QuaternionFromCFrame(b)}
  623. local ax, ay, az = a.x, a.y, a.z
  624. local bx, by, bz = b.x, b.y, b.z
  625. local _t = 1 - t
  626. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  627. end
  628.  
  629. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  630. local frame = IT("Frame")
  631. frame.BackgroundTransparency = TRANSPARENCY
  632. frame.BorderSizePixel = BORDERSIZEPIXEL
  633. frame.Position = POSITION
  634. frame.Size = SIZE
  635. frame.BackgroundColor3 = COLOR
  636. frame.BorderColor3 = BORDERCOLOR
  637. frame.Name = NAME
  638. frame.Parent = PARENT
  639. return frame
  640. end
  641.  
  642. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  643. local label = IT("TextLabel")
  644. label.BackgroundTransparency = 1
  645. label.Size = UD2(1, 0, 1, 0)
  646. label.Position = UD2(0, 0, 0, 0)
  647. label.TextColor3 = TEXTCOLOR
  648. label.TextStrokeTransparency = STROKETRANSPARENCY
  649. label.TextTransparency = TRANSPARENCY
  650. label.FontSize = TEXTFONTSIZE
  651. label.Font = TEXTFONT
  652. label.BorderSizePixel = BORDERSIZEPIXEL
  653. label.TextScaled = false
  654. label.Text = TEXT
  655. label.Name = NAME
  656. label.Parent = PARENT
  657. return label
  658. end
  659.  
  660. function NoOutlines(PART)
  661. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  662. end
  663.  
  664.  
  665. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  666. local NEWWELD = IT(TYPE)
  667. NEWWELD.Part0 = PART0
  668. NEWWELD.Part1 = PART1
  669. NEWWELD.C0 = C0
  670. NEWWELD.C1 = C1
  671. NEWWELD.Parent = PARENT
  672. return NEWWELD
  673. end
  674.  
  675. function CreateSound(ID, PARENT, VOLUME, PITCH)
  676. local NEWSOUND = nil
  677. coroutine.resume(coroutine.create(function()
  678. NEWSOUND = IT("Sound", PARENT)
  679. NEWSOUND.Volume = VOLUME
  680. NEWSOUND.Pitch = PITCH
  681. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  682. Swait()
  683. NEWSOUND:play()
  684. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  685. end))
  686. return NEWSOUND
  687. end
  688.  
  689. function CFrameFromTopBack(at, top, back)
  690. local right = top:Cross(back)
  691. 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)
  692. end
  693.  
  694. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  695. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  696. local mesh = IT("SpecialMesh",wave)
  697. mesh.MeshType = "FileMesh"
  698. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  699. mesh.Scale = SIZE
  700. mesh.Offset = VT(0,0,-SIZE.X/8)
  701. wave.CFrame = CFRAME
  702. coroutine.resume(coroutine.create(function(PART)
  703. for i = 1, WAIT do
  704. Swait()
  705. mesh.Scale = mesh.Scale + GROW
  706. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  707. wave.Color = C3(r / 255, g / 255, b / 255)
  708. if DOESROT == true then
  709. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  710. end
  711. wave.Transparency = wave.Transparency + (0.5/WAIT)
  712. if wave.Transparency > 0.99 then
  713. wave:remove()
  714. end
  715. end
  716. end))
  717. end
  718.  
  719. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  720. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  721. local mesh = IT("SpecialMesh",wave)
  722. mesh.MeshType = "FileMesh"
  723. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  724. mesh.Scale = SIZE
  725. wave.CFrame = CFRAME
  726. coroutine.resume(coroutine.create(function(PART)
  727. for i = 1, WAIT do
  728. Swait()
  729. mesh.Scale = mesh.Scale + GROW
  730. wave.Color = C3(r / 255, g / 255, b / 255)
  731. if DOESROT == true then
  732. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  733. end
  734. wave.Transparency = wave.Transparency + (0.5/WAIT)
  735. if wave.Transparency > 0.99 then
  736. wave:remove()
  737. end
  738. end
  739. end))
  740. end
  741.  
  742. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  743. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  744. local mesh = IT("SpecialMesh",wave)
  745. mesh.MeshType = "FileMesh"
  746. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  747. mesh.Scale = SIZE
  748. wave.CFrame = CFRAME
  749. coroutine.resume(coroutine.create(function(PART)
  750. for i = 1, WAIT do
  751. Swait()
  752. mesh.Scale = mesh.Scale + GROW
  753. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  754. wave.Color = C3(r / 255, g / 255, b / 255)
  755. if DOESROT == true then
  756. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  757. end
  758. wave.Transparency = wave.Transparency + (0.5/WAIT)
  759. if wave.Transparency > 0.99 then
  760. wave:remove()
  761. end
  762. end
  763. end))
  764. end
  765.  
  766.  
  767. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  768. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(1,1,1), true)
  769. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  770. wave.CFrame = CFRAME
  771. coroutine.resume(coroutine.create(function(PART)
  772. for i = 1, WAIT do
  773. Swait()
  774. mesh.Scale = mesh.Scale * GROW
  775. wave.Color = C3(r / 255, g / 255, b / 255)
  776. wave.Transparency = wave.Transparency + (0.5/WAIT)
  777. if wave.Transparency > 0.99 then
  778. wave:remove()
  779. end
  780. end
  781. end))
  782. end
  783.  
  784. function SpliceSlice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  785. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  786. local mesh
  787. if KIND == "Base" then
  788. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  789. elseif KIND == "Thin" then
  790. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  791. elseif KIND == "Round" then
  792. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  793. end
  794. wave.CFrame = CFRAME
  795. coroutine.resume(coroutine.create(function(PART)
  796. for i = 1, WAIT do
  797. Swait()
  798. mesh.Scale = mesh.Scale + GROW / 10
  799. wave.Color = C3(r / 255, g / 255, b / 255)
  800. wave.Transparency = wave.Transparency + 0.5 / WAIT
  801. if wave.Transparency > 0.99 then
  802. wave:remove()
  803. end
  804. end
  805. end))
  806. end
  807.  
  808. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  809. local wave = CreatePart(3, Effects, "Neon", 0, 0, COLOR, "Effect", VT(1,1,1), true)
  810. local mesh = IT("SpecialMesh",wave)
  811. mesh.MeshType = "Sphere"
  812. mesh.Scale = SIZE
  813. mesh.Offset = VT(0,0,0)
  814. wave.CFrame = CFRAME
  815. coroutine.resume(coroutine.create(function(PART)
  816. for i = 1, WAIT do
  817. Swait()
  818. mesh.Scale = mesh.Scale + GROW
  819. wave.Color = C3(r / 255, g / 255, b / 255)
  820. wave.Transparency = wave.Transparency + (1/WAIT)
  821. if wave.Transparency > 0.99 then
  822. wave:remove()
  823. end
  824. end
  825. end))
  826. end
  827.  
  828. --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})
  829. function WACKYEFFECT(Table)
  830. local TYPE = (Table.EffectType or "Sphere")
  831. local SIZE = (Table.Size or VT(1,1,1))
  832. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  833. local TRANSPARENCY = (Table.Transparency or 0)
  834. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  835. local CFRAME = (Table.CFrame or Torso.CFrame)
  836. local MOVEDIRECTION = (Table.MoveToPos or nil)
  837. local ROTATION1 = (Table.RotationX or 0)
  838. local ROTATION2 = (Table.RotationY or 0)
  839. local ROTATION3 = (Table.RotationZ or 0)
  840. local MATERIAL = (Table.Material or "Neon")
  841. local COLOR = (C3(r / 255, g / 255, b / 255))
  842. local TIME = (Table.Time or 45)
  843. local SOUNDID = (Table.SoundID or nil)
  844. local SOUNDPITCH = (Table.SoundPitch or nil)
  845. local SOUNDVOLUME = (Table.SoundVolume or nil)
  846. coroutine.resume(coroutine.create(function()
  847. local PLAYSSOUND = false
  848. local SOUND = nil
  849. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  850. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  851. PLAYSSOUND = true
  852. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  853. end
  854. EFFECT.Color = COLOR
  855. local MSH = nil
  856. if TYPE == "Sphere" then
  857. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  858. elseif TYPE == "Block" or TYPE == "Box" then
  859. MSH = IT("BlockMesh",EFFECT)
  860. MSH.Scale = SIZE
  861. elseif TYPE == "Wave" then
  862. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  863. elseif TYPE == "Ring" then
  864. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  865. elseif TYPE == "Slash" then
  866. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  867. elseif TYPE == "Round Slash" then
  868. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  869. elseif TYPE == "Swirl" then
  870. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  871. elseif TYPE == "Skull" then
  872. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  873. elseif TYPE == "Crystal" then
  874. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  875. end
  876. if MSH ~= nil then
  877. local MOVESPEED = nil
  878. if MOVEDIRECTION ~= nil then
  879. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  880. end
  881. local GROWTH = SIZE - ENDSIZE
  882. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  883. if TYPE == "Block" then
  884. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  885. else
  886. EFFECT.CFrame = CFRAME
  887. end
  888. for LOOP = 1, TIME+1 do
  889. Swait()
  890. MSH.Scale = MSH.Scale - GROWTH/TIME
  891. if TYPE == "Wave" then
  892. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  893. end
  894. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  895. if TYPE == "Block" then
  896. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  897. else
  898. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  899. end
  900. if MOVEDIRECTION ~= nil then
  901. local ORI = EFFECT.Orientation
  902. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  903. EFFECT.Orientation = ORI
  904. end
  905. end
  906. if PLAYSSOUND == false then
  907. EFFECT:remove()
  908. else
  909. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  910. EFFECT:remove()
  911. end
  912. else
  913. if PLAYSSOUND == false then
  914. EFFECT:remove()
  915. else
  916. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  917. EFFECT:remove()
  918. end
  919. end
  920. end))
  921. end
  922.  
  923. function MakeForm(PART,TYPE)
  924. if TYPE == "Cyl" then
  925. local MSH = IT("CylinderMesh",PART)
  926. elseif TYPE == "Ball" then
  927. local MSH = IT("SpecialMesh",PART)
  928. MSH.MeshType = "Sphere"
  929. elseif TYPE == "Wedge" then
  930. local MSH = IT("SpecialMesh",PART)
  931. MSH.MeshType = "Wedge"
  932. end
  933. end
  934.  
  935.  
  936. function Chunks(PART)
  937. for i = 1, MRANDOM(3,5) do
  938. coroutine.resume(coroutine.create(function()
  939. local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
  940. CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  941. local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
  942. CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
  943. wait(0.1)
  944. CHUNK.CanCollide = true
  945. wait(MRANDOM(15,25)/5)
  946. for i = 1, 25 do
  947. Swait()
  948. CHUNK.Transparency = CHUNK.Transparency + 1/25
  949. end
  950. CHUNK:remove()
  951. end))
  952. end
  953. end
  954.  
  955. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  956. if FLOOR ~= nil then
  957. for i = 1, AMOUNT do
  958. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  959. DEBREE.Material = FLOOR.Material
  960. DEBREE.Color = FLOOR.Color
  961. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  962. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  963. coroutine.resume(coroutine.create(function()
  964. Swait(15)
  965. DEBREE.Parent = workspace
  966. DEBREE.CanCollide = true
  967. Debris:AddItem(DEBREE,SWAIT)
  968. end))
  969. end
  970. end
  971. end
  972.  
  973. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  974. if FLOOR ~= nil then
  975. coroutine.resume(coroutine.create(function()
  976. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  977. PART.CFrame = CF(POSITION)
  978. for i = 1, 45 do
  979. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  980. RingPiece.Material = FLOOR.Material
  981. RingPiece.Color = FLOOR.Color
  982. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  983. Debris:AddItem(RingPiece,SWAIT/100)
  984. end
  985. PART:remove()
  986. end))
  987. end
  988. end
  989.  
  990. function CheckTableForString(Table, String)
  991. for i, v in pairs(Table) do
  992. if string.find(string.lower(String), string.lower(v)) then
  993. return true
  994. end
  995. end
  996. return false
  997. end
  998.  
  999. function CheckIntangible(Hit)
  1000. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1001. if Hit and Hit.Parent then
  1002. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1003. return true
  1004. end
  1005. end
  1006. return false
  1007. end
  1008.  
  1009. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1010. local Direction = CFrame.new(StartPos, Vec).lookVector
  1011. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1012. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1013. if RayHit and CheckIntangible(RayHit) then
  1014. if DelayIfHit then
  1015. wait()
  1016. end
  1017. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1018. end
  1019. return RayHit, RayPos, RayNormal
  1020. end
  1021.  
  1022. function turnto(position)
  1023. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1024. end
  1025.  
  1026. function RemoveOutlines(part)
  1027. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1028. end
  1029.  
  1030. local Create = LoadLibrary("RbxUtility").Create
  1031.  
  1032. function CreatePartb(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1033. local Part = Create("Part")({
  1034. Parent = Parent,
  1035. Reflectance = Reflectance,
  1036. Transparency = Transparency,
  1037. CanCollide = false,
  1038. Locked = true,
  1039. BrickColor = BrickColor.new(tostring(BColor)),
  1040. Name = Name,
  1041. Size = Size,
  1042. Material = Material
  1043. })
  1044. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1045. RemoveOutlines(Part)
  1046. return Part
  1047. end
  1048.  
  1049. CFuncs = {
  1050. ["Part"] = {
  1051. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1052. local Part = Create("Part"){
  1053. Parent = Parent,
  1054. Reflectance = Reflectance,
  1055. Transparency = Transparency,
  1056. CanCollide = false,
  1057. Locked = true,
  1058. BrickColor = BrickColor.new(tostring(BColor)),
  1059. Name = Name,
  1060. Size = Size,
  1061. Material = Material,
  1062. }
  1063. RemoveOutlines(Part)
  1064. return Part
  1065. end;
  1066. };
  1067.  
  1068. ["Mesh"] = {
  1069. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1070. local Msh = Create(Mesh){
  1071. Parent = Part,
  1072. Offset = OffSet,
  1073. Scale = Scale,
  1074. }
  1075. if Mesh == "SpecialMesh" then
  1076. Msh.MeshType = MeshType
  1077. Msh.MeshId = MeshId
  1078. end
  1079. return Msh
  1080. end;
  1081. };
  1082.  
  1083. ["Mesh"] = {
  1084. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1085. local Msh = Create(Mesh){
  1086. Parent = Part,
  1087. Offset = OffSet,
  1088. Scale = Scale,
  1089. }
  1090. if Mesh == "SpecialMesh" then
  1091. Msh.MeshType = MeshType
  1092. Msh.MeshId = MeshId
  1093. end
  1094. return Msh
  1095. end;
  1096. };
  1097.  
  1098. ["Weld"] = {
  1099. Create = function(Parent, Part0, Part1, C0, C1)
  1100. local Weld = Create("Weld"){
  1101. Parent = Parent,
  1102. Part0 = Part0,
  1103. Part1 = Part1,
  1104. C0 = C0,
  1105. C1 = C1,
  1106. }
  1107. return Weld
  1108. end;
  1109. };
  1110.  
  1111. ["Sound"] = {
  1112. Create = function(id, par, vol, pit)
  1113. coroutine.resume(coroutine.create(function()
  1114. local S = Create("Sound"){
  1115. Volume = vol,
  1116. Name = "EffectSoundo",
  1117. Pitch = pit or 1,
  1118. SoundId = id,
  1119. Parent = par or workspace,
  1120. }
  1121. wait()
  1122. S:play()
  1123. game:GetService("Debris"):AddItem(S, 10)
  1124. end))
  1125. end;
  1126. };
  1127.  
  1128. ["TimeSound"] = {
  1129. Create = function(id, par, vol, pit, timepos)
  1130. coroutine.resume(coroutine.create(function()
  1131. local S = Create("Sound"){
  1132. Volume = vol,
  1133. Name = "EffectSoundo",
  1134. Pitch = pit or 1,
  1135. SoundId = id,
  1136. TimePosition = timepos,
  1137. Parent = par or workspace,
  1138. }
  1139. wait()
  1140. S:play()
  1141. game:GetService("Debris"):AddItem(S, 10)
  1142. end))
  1143. end;
  1144. };
  1145. ["EchoSound"] = {
  1146. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1147. coroutine.resume(coroutine.create(function()
  1148. local Sas = Create("Sound"){
  1149. Volume = vol,
  1150. Name = "EffectSoundo",
  1151. Pitch = pit or 1,
  1152. SoundId = id,
  1153. TimePosition = timepos,
  1154. Parent = par or workspace,
  1155. }
  1156. local E = Create("EchoSoundEffect"){
  1157. Delay = echodelay,
  1158. Name = "Echo",
  1159. Feedback = fedb,
  1160. DryLevel = dryl,
  1161. Parent = Sas,
  1162. }
  1163. wait()
  1164. Sas:play()
  1165. game:GetService("Debris"):AddItem(Sas, delays)
  1166. end))
  1167. end;
  1168. };
  1169.  
  1170. ["LongSound"] = {
  1171. Create = function(id, par, vol, pit)
  1172. coroutine.resume(coroutine.create(function()
  1173. local S = Create("Sound"){
  1174. Volume = vol,
  1175. Pitch = pit or 1,
  1176. SoundId = id,
  1177. Parent = par or workspace,
  1178. }
  1179. wait()
  1180. S:play()
  1181. game:GetService("Debris"):AddItem(S, 60)
  1182. end))
  1183. end;
  1184. };
  1185.  
  1186. ["ParticleEmitter"] = {
  1187. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1188. local fp = Create("ParticleEmitter"){
  1189. Parent = Parent,
  1190. Color = ColorSequence.new(Color1, Color2),
  1191. LightEmission = LightEmission,
  1192. Size = Size,
  1193. Texture = Texture,
  1194. Transparency = Transparency,
  1195. ZOffset = ZOffset,
  1196. Acceleration = Accel,
  1197. Drag = Drag,
  1198. LockedToPart = LockedToPart,
  1199. VelocityInheritance = VelocityInheritance,
  1200. EmissionDirection = EmissionDirection,
  1201. Enabled = Enabled,
  1202. Lifetime = LifeTime,
  1203. Rate = Rate,
  1204. Rotation = Rotation,
  1205. RotSpeed = RotSpeed,
  1206. Speed = Speed,
  1207. VelocitySpread = VelocitySpread,
  1208. }
  1209. return fp
  1210. end;
  1211. };
  1212.  
  1213. CreateTemplate = {
  1214.  
  1215. };
  1216. }
  1217.  
  1218. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1219. local type = type
  1220. local rotenable = rotatingop
  1221. local rng = Instance.new("Part", Effects)
  1222. rng.Anchored = true
  1223. rng.BrickColor = color
  1224. rng.CanCollide = false
  1225. rng.FormFactor = 3
  1226. rng.Name = "Ring"
  1227. rng.Material = "Neon"
  1228. rng.Size = Vector3.new(1, 1, 1)
  1229. rng.Transparency = 0
  1230. if typeoftrans == "In" then
  1231. rng.Transparency = 1
  1232. end
  1233. rng.TopSurface = 0
  1234. rng.BottomSurface = 0
  1235. rng.CFrame = pos
  1236. local rngm = Instance.new("SpecialMesh", rng)
  1237. rngm.MeshType = "FileMesh"
  1238. if typeofshape == "Normal" then
  1239. rngm.MeshId = "rbxassetid://662586858"
  1240. elseif typeofshape == "Round" then
  1241. rngm.MeshId = "rbxassetid://662585058"
  1242. end
  1243. rngm.Scale = scale
  1244. local scaler2 = 1/10
  1245. if type == "Add" then
  1246. scaler2 = 1*value/10
  1247. elseif type == "Divide" then
  1248. scaler2 = 1/value/10
  1249. end
  1250. local randomrot = MRANDOM(1,2)
  1251. coroutine.resume(coroutine.create(function()
  1252. for i = 0,10/bonuspeed,0.1 do
  1253. Swait()
  1254. if type == "Add" then
  1255. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1256. elseif type == "Divide" then
  1257. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1258. end
  1259. if rotenable == true then
  1260. if randomrot == 1 then
  1261. rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(rotspeed*bonuspeed/2),0)
  1262. elseif randomrot == 2 then
  1263. rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(-rotspeed*bonuspeed/2),0)
  1264. end
  1265. end
  1266. if typeoftrans == "Out" then
  1267. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1268. elseif typeoftrans == "In" then
  1269. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1270. end
  1271. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1272. end
  1273. rng:Destroy()
  1274. end))
  1275. end
  1276.  
  1277. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  1278. local type = type
  1279. local rng = Instance.new("Part", Effects)
  1280. rng.Anchored = true
  1281. rng.BrickColor = color
  1282. rng.Color = color3
  1283. rng.CanCollide = false
  1284. rng.FormFactor = 3
  1285. rng.Name = "Ring"
  1286. rng.Material = "Neon"
  1287. rng.Size = Vector3.new(1, 1, 1)
  1288. rng.Transparency = 0
  1289. rng.TopSurface = 0
  1290. rng.BottomSurface = 0
  1291. rng.CFrame = pos
  1292. local rngm = Instance.new("SpecialMesh", rng)
  1293. rngm.MeshType = "Brick"
  1294. rngm.Scale = scale
  1295. local scaler2 = 1
  1296. local scaler2b = 1
  1297. local scaler2c = 1
  1298. if type == "Add" then
  1299. scaler2 = 1*value
  1300. scaler2b = 1*value2
  1301. scaler2c = 1*value3
  1302. elseif type == "Divide" then
  1303. scaler2 = 1/value
  1304. scaler2b = 1/value2
  1305. scaler2c = 1/value3
  1306. end
  1307. coroutine.resume(coroutine.create(function()
  1308. for i = 0,10/bonuspeed,0.1 do
  1309. Swait()
  1310. if type == "Add" then
  1311. scaler2 = scaler2 - 0.01*value/bonuspeed
  1312. scaler2b = scaler2b - 0.01*value/bonuspeed
  1313. scaler2c = scaler2c - 0.01*value/bonuspeed
  1314. elseif type == "Divide" then
  1315. scaler2 = scaler2 - 0.01/value*bonuspeed
  1316. scaler2b = scaler2b - 0.01/value*bonuspeed
  1317. scaler2c = scaler2c - 0.01/value*bonuspeed
  1318. end
  1319. rng.CFrame = rng.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1320. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1321. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1322. end
  1323. rng:Destroy()
  1324. end))
  1325. end
  1326.  
  1327. function createBGCircle(size,parent,color)
  1328. local bgui = Instance.new("BillboardGui",parent)
  1329. bgui.Size = UDim2.new(size, 0, size, 0)
  1330. local imgc = Instance.new("ImageLabel",bgui)
  1331. imgc.BackgroundTransparency = 1
  1332. imgc.ImageTransparency = 0
  1333. imgc.Size = UDim2.new(1,0,1,0)
  1334. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  1335. imgc.ImageColor3 = color
  1336. return bgui,imgc
  1337. end
  1338.  
  1339. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  1340. local bgui,imgc = createBGCircle(size,guipar,color)
  1341. bgui.AlwaysOnTop = true
  1342. imgc.Image = "rbxassetid://" ..img
  1343. local rrot = MRANDOM(1,2)
  1344. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  1345. coroutine.resume(coroutine.create(function()
  1346. for i = 0, 24*delay do
  1347. Swait()
  1348. if rotationenabled == true then
  1349. if rrot == 1 then
  1350. imgc.Rotation = imgc.Rotation + rotsp
  1351. elseif rrot == 2 then
  1352. imgc.Rotation = imgc.Rotation - rotsp
  1353. end
  1354. end
  1355. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  1356. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  1357. end
  1358. bgui:Destroy()
  1359. end))
  1360. end
  1361.  
  1362. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1363. local type = type
  1364. local rng = Instance.new("Part", Effects)
  1365. rng.Anchored = true
  1366. rng.BrickColor = color
  1367. rng.CanCollide = false
  1368. rng.FormFactor = 3
  1369. rng.Name = "Ring"
  1370. rng.Material = "Neon"
  1371. rng.Size = Vector3.new(1, 1, 1)
  1372. rng.Transparency = 0
  1373. rng.TopSurface = 0
  1374. rng.BottomSurface = 0
  1375. rng.CFrame = pos
  1376. local rngm = Instance.new("SpecialMesh", rng)
  1377. rngm.MeshType = "Sphere"
  1378. rngm.Scale = scale
  1379. local scaler2 = 1
  1380. local scaler2b = 1
  1381. local scaler2c = 1
  1382. if type == "Add" then
  1383. scaler2 = 1*value
  1384. scaler2b = 1*value2
  1385. scaler2c = 1*value3
  1386. elseif type == "Divide" then
  1387. scaler2 = 1/value
  1388. scaler2b = 1/value2
  1389. scaler2c = 1/value3
  1390. end
  1391. coroutine.resume(coroutine.create(function()
  1392. for i = 0,10/bonuspeed,0.1 do
  1393. Swait()
  1394. if type == "Add" then
  1395. scaler2 = scaler2 - 0.01*value/bonuspeed
  1396. scaler2b = scaler2b - 0.01*value/bonuspeed
  1397. scaler2c = scaler2c - 0.01*value/bonuspeed
  1398. elseif type == "Divide" then
  1399. scaler2 = scaler2 - 0.01/value*bonuspeed
  1400. scaler2b = scaler2b - 0.01/value*bonuspeed
  1401. scaler2c = scaler2c - 0.01/value*bonuspeed
  1402. end
  1403. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1404. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1405. end
  1406. rng:Destroy()
  1407. end))
  1408. end
  1409.  
  1410. function createSpeech(parent, text, font, textcolor, debris)
  1411. -- Instances:
  1412. local SpeechUi = Instance.new("ScreenGui")
  1413. local SpeechFrame = Instance.new("Frame")
  1414. local SpeechLabel = Instance.new("TextLabel")
  1415. --Properties:
  1416. SpeechUi.Name = "SpeechUi"
  1417. SpeechUi.Parent = parent
  1418.  
  1419. SpeechFrame.Name = "SpeechFrame"
  1420. SpeechFrame.Parent = SpeechUi
  1421. SpeechFrame.BackgroundColor3 = C3(0, 0, 0)
  1422. SpeechFrame.BackgroundTransparency = 0.5
  1423. SpeechFrame.BorderColor3 = C3(0, 0, 0)
  1424. SpeechFrame.BorderSizePixel = 0
  1425. SpeechFrame.Position = UDim2.new(0, 0, 0.646566153, 0)
  1426. SpeechFrame.Size = UDim2.new(1, 0, 0.185929641, 100)
  1427.  
  1428. SpeechLabel.Name = "SpeechLabel"
  1429. SpeechLabel.Parent = SpeechFrame
  1430. SpeechLabel.BackgroundColor3 = C3(1, 1, 1)
  1431. SpeechLabel.BackgroundTransparency = 1
  1432. SpeechLabel.BorderSizePixel = 0
  1433. SpeechLabel.Position = UDim2.new(0, 0, 0.132701427, 0)
  1434. SpeechLabel.Size = UDim2.new(1, 0, 0, 155)
  1435. SpeechLabel.Font = font
  1436. SpeechLabel.Text = text
  1437. SpeechLabel.TextColor3 = textcolor
  1438. SpeechLabel.TextSize = 60
  1439. SpeechLabel.TextStrokeTransparency = 0
  1440. SpeechLabel.TextWrapped = true
  1441. Debris:AddItem(SpeechUi, debris)
  1442. end
  1443.  
  1444. function SpawnTrail(FROM,TO,BIG)
  1445. local TRAIL = CreatePartC(3, Effects, "Neon", 0, 0.5, C3(r / 255, g / 255, b / 255), "Trail", VT(0,0,0))
  1446. MakeForm(TRAIL,"Cyl")
  1447. local DIST = (FROM - TO).Magnitude
  1448. if BIG == true then
  1449. TRAIL.Size = VT(0.5,DIST,0.5)
  1450. else
  1451. TRAIL.Size = VT(0.25,DIST,0.25)
  1452. end
  1453. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1454. coroutine.resume(coroutine.create(function()
  1455. for i = 1, 5 do
  1456. Swait()
  1457. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1458. end
  1459. TRAIL:remove()
  1460. end))
  1461. end
  1462.  
  1463. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1464. local DIRECTION = CF(StartPos,EndPos).lookVector
  1465. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1466. end
  1467.  
  1468. function chatfunc(text)
  1469. local chat = coroutine.wrap(function()
  1470. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1471. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1472. end
  1473. local Bill = Instance.new("BillboardGui",Character)
  1474. Bill.Size = UDim2.new(0,100,0,40)
  1475. Bill.StudsOffset = VT(0,3,0)
  1476. Bill.Adornee = Character.Head
  1477. Bill.Name = "TalkingBillBoard"
  1478. local Hehe = Instance.new("TextLabel",Bill)
  1479. Hehe.BackgroundTransparency = 1
  1480. Hehe.BorderSizePixel = 0
  1481. Hehe.Text = ""
  1482. Hehe.Font = "Bodoni"
  1483. Hehe.TextSize = 40
  1484. Hehe.TextStrokeTransparency = 0
  1485. Hehe.Size = UDim2.new(1,0,0.5,0)
  1486. coroutine.resume(coroutine.create(function()
  1487. while Hehe ~= nil do
  1488. Swait()
  1489. Hehe.Font = FONTS[MRANDOM(1, #FONTS)]
  1490. Hehe.Position = UDim2.new(0, 0, .05, 0)
  1491. Hehe.TextColor3 = C3(r / 255, g / 255, b / 255)
  1492. Hehe.TextStrokeColor3 = C3(r / 255, g / 255, b / 255)
  1493. end
  1494. end))
  1495. for i = 1,string.len(text),1 do
  1496. Swait()
  1497. Hehe.Text = string.sub(text,1,i)
  1498. end
  1499. Swait(90)
  1500. for i = 0, 1, .025 do
  1501. Swait()
  1502. Hehe.TextStrokeTransparency = i
  1503. Hehe.TextTransparency = i
  1504. end
  1505. Bill:Destroy()
  1506. end)
  1507. chat()
  1508. end
  1509.  
  1510. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  1511. if DoesCourontine == false then
  1512. local Direction = CF(Part.Position, ToLocation)
  1513. local Distance = (Part.Position - ToLocation).magnitude
  1514. for i = 1, AmountOfTime do
  1515. Swait()
  1516. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  1517. Direction = Part.CFrame
  1518. end
  1519. Part:remove()
  1520. elseif DoesCourontine == true then
  1521. coroutine.resume(coroutine.create(function()
  1522. local Direction = CF(Part.Position, ToLocation)
  1523. local Distance = (Part.Position - ToLocation).magnitude
  1524. for i = 1, AmountOfTime do
  1525. Swait()
  1526. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  1527. Direction = Part.CFrame
  1528. end
  1529. Part:remove()
  1530. end))
  1531. end
  1532. end
  1533.  
  1534. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1535. for _, c in pairs(PARENT:GetChildren()) do
  1536. if c.ClassName == "Model" then
  1537. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1538. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1539. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1540. if DIST > (TORSO.Position - FROM).Magnitude then
  1541. table.insert(TABLE, c)
  1542. end
  1543. AddChildrenToTable(FROM, c, DIST, TABLE)
  1544. elseif c.ClassName == "Folder" then
  1545. AddChildrenToTable(FROM, c, DIST, TABLE)
  1546. end
  1547. end
  1548. end
  1549. end
  1550.  
  1551. function getRegion(point,range,ignore)
  1552. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1553. end
  1554.  
  1555. function printbye(Name)
  1556. local MESSAGES = {"That was your fault, ", "Sit down, ", "Take a load off, ", "Chill, ", "Begone, ", "What was the point of that, ", "Try to do the impossible and struggle, ", "I welcome you to the ban lands, ", "Welp, no return from here, ", "That was just bad luck, ","Don't try that ever again, "}
  1557. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1558. end
  1559.  
  1560. function CamShake(who,times,intense,origin)
  1561. coroutine.wrap(function()
  1562. if(script:FindFirstChild'CamShake')then
  1563. local cam = script.CamShake:Clone()
  1564. cam:WaitForChild'intensity'.Value = intense
  1565. cam:WaitForChild'times'.Value = times
  1566.  
  1567. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1568. cam.Parent = who
  1569. wait()
  1570. cam.Disabled = false
  1571. elseif(who == Player or who == Character or who:IsDescendantOf(Player))then
  1572. local intensity = intense
  1573. local cam = workspace.CurrentCamera
  1574. for i = 1, times do
  1575. local camDistFromOrigin
  1576. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1577. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1578. elseif(typeof(origin) == 'Vector3')then
  1579. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1580. end
  1581. if(camDistFromOrigin)then
  1582. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1583. end
  1584. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(MRANDOM(-intensity,intensity)/100,MRANDOM(-intensity,intensity)/100,MRANDOM(-intensity,intensity)/100)*CFrame.Angles(RAD(MRANDOM(-intensity,intensity)/100),RAD(MRANDOM(-intensity,intensity)/100),RAD(MRANDOM(-intensity,intensity)/100)),.4)
  1585. Swait()
  1586. end
  1587. end
  1588. end)()
  1589. end
  1590.  
  1591.  
  1592. function CamShakeAll(times,intense,origin)
  1593. for _,v in next, Players:players() do
  1594. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1595. end
  1596. end
  1597.  
  1598. function CamShakeAOE(origin,range,times,intense,blacklist)
  1599. local hit = {}
  1600. for _,v in next, getRegion(origin,range,blacklist or {}) do
  1601. if(Players:GetPlayerFromCharacter(v.Parent) and v.Parent and not hit[v.Parent] and v.Parent:FindFirstChildOfClass'Humanoid')then
  1602. CamShake(v,times,intense,origin)
  1603. hit[v.Parent] = true
  1604. end
  1605. end
  1606. end
  1607.  
  1608. function FocusCamAll(timer, focuson, up)
  1609. for _,v in next, Players:players() do
  1610. if(script:FindFirstChild'FocusCam')then
  1611. local focus = script.FocusCam:Clone()
  1612. focus:WaitForChild'FocusOn'.Value = focuson
  1613. focus:WaitForChild'Timer'.Value = timer
  1614. focus:WaitForChild'Up'.Value = up
  1615. focus.Parent = v.Character
  1616. wait()
  1617. focus.Disabled = false
  1618. end
  1619. end
  1620. end
  1621.  
  1622. function Weld(part0,part1,c0,c1)
  1623. local weld = IT("Weld")
  1624. weld.Parent = part0
  1625. weld.Part0 = part0
  1626. weld.Part1 = part1
  1627. weld.C0 = c0 or CF()
  1628. weld.C1 = c1 or CF()
  1629. return weld
  1630. end
  1631.  
  1632. --//=================================\\
  1633. --|| WEAPON CREATION
  1634. --\\=================================//
  1635.  
  1636. if Head:FindFirstChildOfClass("Decal") then
  1637. Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://404306534"
  1638. else
  1639. local newFace = Instance.new("Decal", Head)
  1640. newFace.Parent = Head
  1641. newFace.Face = "Front"
  1642. newFace.Texture = "rbxassetid://404306534"
  1643. end
  1644.  
  1645. New = function(Object, Parent, Name, Data)
  1646. local Object = Instance.new(Object)
  1647. for Index, Value in pairs(Data or {}) do
  1648. Object[Index] = Value
  1649. end
  1650. Object.Parent = Parent
  1651. Object.Name = Name
  1652. return Object
  1653. end
  1654.  
  1655. NewInstance = function(instance,parent,properties)
  1656. local inst = Instance.new(instance,parent)
  1657. if(properties)then
  1658. for i,v in next, properties do
  1659. pcall(function() inst[i] = v end)
  1660. end
  1661. end
  1662. return inst;
  1663. end
  1664.  
  1665. Gaunty = New("Model",Character,"Gaunty",{})
  1666. Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1667. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1668. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1669. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1670. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1671. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1672. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1673. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1674. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1675. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1676. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1677. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1678. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1679. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1680. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1681. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1682. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1683. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1684. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1685. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1686. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1687. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1688. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1689. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1690. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1691. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1692. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1693. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1694. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1695. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1696. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1697. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1698. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1699. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1700. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1701. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1702. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1703. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1704. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1705. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1706. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1707. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1708. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1709. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1710. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1711. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1712. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1713. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1714. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1715. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1716. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1717. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1718. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1719. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1720. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1721. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1722. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1723. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1724. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1725. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1726. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1727. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1728. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1729. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1730. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1731. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1732. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1733. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1734. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1735. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1736. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1737. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1738. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1739. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1740. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1741. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1742. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1743. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1744. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1745. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1746. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1747. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1748. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1749. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1750. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1751. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1752. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1753. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1754. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1755. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1756. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
  1757. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1758. Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
  1759. mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  1760. local HW1 = NewInstance('Motor', Character, {Part0 = RightArm, Part1 = Handle, C0 = CF(0,-.51,0)})
  1761.  
  1762. for _,v in next, Gaunty:children() do
  1763. v.CanCollide = false
  1764. end
  1765.  
  1766. local all, last = {}, nil
  1767. ArmourParts = {}
  1768. NeonParts = {}
  1769. function scan(p)
  1770. for _, v in pairs(p:GetChildren()) do
  1771. if v:IsA("BasePart") then
  1772. if v.BrickColor == BrickColor.new("Black") then
  1773. table.insert(ArmourParts, v)
  1774. end
  1775. if v.BrickColor == BrickColor.new("Institutional white") then
  1776. table.insert(NeonParts, v)
  1777. end
  1778. if last then
  1779. local w = Instance.new("Weld")
  1780. w.Part0, w.Part1 = last, v
  1781. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1782. w.Parent = last
  1783. end
  1784. table.insert(all, v)
  1785. last = v
  1786. end
  1787. scan(v)
  1788. end
  1789. end
  1790. scan(Gaunty)
  1791. for i, v in pairs(ArmourParts) do
  1792. v.BrickColor = BrickColor.new("Black")
  1793. v.Material = Enum.Material.Neon
  1794. end
  1795. for i, v in pairs(NeonParts) do
  1796. v.BrickColor = BrickColor.Random()
  1797. end
  1798.  
  1799. for i = 1, 10 do
  1800. local FACE = CreatePart(3, faceShadingFolder, "Neon", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  1801. FACE.Color = C3(0,0,0)
  1802. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1803. CreateWeldOrSnapOrMotor("Weld", FACE, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
  1804. end
  1805.  
  1806. local LASTPART = Head
  1807. for i = 1, 20 do
  1808. local MATH = (1-(i/25))
  1809. if LASTPART == Head then
  1810. local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1811. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1812. LASTPART = Horn
  1813. Horn.Color = BrickColor.Random().Color
  1814. else
  1815. local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1816. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1817. LASTPART = Horn
  1818. Horn.Color = BrickColor.Random().Color
  1819. end
  1820. end
  1821. local LASTPART = Head
  1822. for i = 1, 20 do
  1823. local MATH = (1-(i/25))
  1824. if LASTPART == Head then
  1825. local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1826. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1827. LASTPART = Horn
  1828. Horn.Color = BrickColor.Random().Color
  1829. else
  1830. local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1831. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1832. LASTPART = Horn
  1833. Horn.Color = BrickColor.Random().Color
  1834. end
  1835. end
  1836.  
  1837. -- IdleGun(Karma) --
  1838.  
  1839. local Handle = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
  1840. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, Torso, Handle, CF(-1.2, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1841. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1842. MakeForm(Part,"Wedge")
  1843. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1844. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  1845. MakeForm(Part,"Wedge")
  1846. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1847. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  1848. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1849. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  1850. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1851. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  1852. MakeForm(Part,"Cyl")
  1853. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1854. for i = 1, 8 do
  1855. local Piece = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  1856. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1857. end
  1858. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  1859. MakeForm(Part,"Cyl")
  1860. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1861. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  1862. MakeForm(Part,"Ball")
  1863. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1864. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  1865. MakeForm(Part,"Wedge")
  1866. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1867. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  1868. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1869. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  1870. MakeForm(Part,"Cyl")
  1871. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1872. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  1873. MakeForm(Part,"Cyl")
  1874. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1875. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  1876. MakeForm(Part,"Cyl")
  1877. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1878. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1879. MakeForm(Part,"Wedge")
  1880. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1881. local LASTPART = Handle
  1882. for i = 1, 10 do
  1883. if LASTPART == Handle then
  1884. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
  1885. LASTPART = Part
  1886. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1887. else
  1888. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
  1889. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1890. LASTPART = Part
  1891. end
  1892. end
  1893.  
  1894. local Barrel = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  1895. MakeForm(Barrel,"Cyl")
  1896. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1897. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  1898. MakeForm(Part,"Cyl")
  1899. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1900. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  1901. MakeForm(Part,"Wedge")
  1902. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1903. local Hole = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
  1904. MakeForm(Hole,"Cyl")
  1905. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1906. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
  1907. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1908. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1909. local Part = CreatePart(3, KarmaGun, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
  1910. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1911. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1912. coroutine.resume(coroutine.create(function()
  1913. while wait() do
  1914. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1915. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1916. end
  1917. end))
  1918. -- UsedGun(Karma) --
  1919.  
  1920. local Handle2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
  1921. local LeftArmGrasp = nil
  1922. if(script["Mode"].Value ~= "Insane") then
  1923. LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, RightArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1924. elseif(script["Mode"].Value == "Insane") then
  1925. LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, LeftArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1926. end
  1927. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1928. MakeForm(Part,"Wedge")
  1929. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1930. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  1931. MakeForm(Part,"Wedge")
  1932. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1933. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  1934. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1935. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  1936. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1937. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  1938. MakeForm(Part,"Cyl")
  1939. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1940. for i = 1, 8 do
  1941. local Piece = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  1942. CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1943. end
  1944. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  1945. MakeForm(Part,"Cyl")
  1946. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1947. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  1948. MakeForm(Part,"Ball")
  1949. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1950. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  1951. MakeForm(Part,"Wedge")
  1952. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1953. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  1954. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1955. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  1956. MakeForm(Part,"Cyl")
  1957. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1958. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  1959. MakeForm(Part,"Cyl")
  1960. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1961. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  1962. MakeForm(Part,"Cyl")
  1963. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1964. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1965. MakeForm(Part,"Wedge")
  1966. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1967. local LASTPART = Handle2
  1968. for i = 1, 10 do
  1969. if LASTPART == Handle then
  1970. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
  1971. LASTPART = Part
  1972. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1973. else
  1974. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
  1975. CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1976. LASTPART = Part
  1977. end
  1978. end
  1979.  
  1980. local Barrel2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  1981. MakeForm(Barrel,"Cyl")
  1982. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1983. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  1984. MakeForm(Part,"Cyl")
  1985. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1986. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  1987. MakeForm(Part,"Wedge")
  1988. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1989. local Hole2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
  1990. MakeForm(Hole,"Cyl")
  1991. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1992. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
  1993. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1994. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1995. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
  1996. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1997. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1998. coroutine.resume(coroutine.create(function()
  1999. while wait() do
  2000. GEARWELD3.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2001. GEARWELD4.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2002. end
  2003. end))
  2004.  
  2005. for _, b in pairs(Karma:GetChildren()) do
  2006. if b.ClassName == "Part" then
  2007. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2008. end
  2009. end
  2010.  
  2011. for _, b in pairs(Weapon:GetChildren()) do
  2012. if b.ClassName == "Part" then
  2013. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2014. end
  2015. end
  2016.  
  2017.  
  2018. for _, b in pairs(KarmaGun2:GetChildren()) do
  2019. if b.ClassName == "Part" then
  2020. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2021. end
  2022. end
  2023.  
  2024. for _, b in pairs(KarmaGun:GetChildren()) do
  2025. if b.ClassName == "Part" then
  2026. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2027. end
  2028. end
  2029.  
  2030. coroutine.resume(coroutine.create(function()
  2031. while true do
  2032. Swait()
  2033. for _, c in pairs(KarmaGun2:GetDescendants()) do
  2034. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2035. c.Material = "Glass"
  2036. c.Color = BrickColor.Random().Color
  2037. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2038. c.Material = "Neon"
  2039. c.Color = C3(r / 255, g / 255, b / 255)
  2040. end
  2041. end
  2042. for _, c in pairs(KarmaGun:GetDescendants()) do
  2043. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2044. c.Material = "Glass"
  2045. c.Color = BrickColor.Random().Color
  2046. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2047. c.Material = "Neon"
  2048. c.Color = C3(r / 255, g / 255, b / 255)
  2049. end
  2050. end
  2051. end
  2052. end))
  2053.  
  2054. Weapon.Parent = Character
  2055. Karma.Parent = Character
  2056. if(script["Mode"].Value ~= "Insane")then
  2057. KarmaGun.Parent = Character
  2058. KarmaGun2.Parent = nil
  2059. elseif(script["Mode"].Value == "Insane")then
  2060. KarmaGun.Parent = nil
  2061. KarmaGun2.Parent = Character
  2062. end
  2063. Humanoid.Died:connect(function()
  2064. ATTACK = true
  2065. end)
  2066.  
  2067. for _, skill in pairs(script.GuiFolder.SkillFrames:GetChildren()) do
  2068. if skill:IsA("Frame") then
  2069. skill.Parent = WEAPONGUI
  2070. if(script["Mode"].Value ~= "Insane")then
  2071. if skill.Name == "Skill 9 Frame" then
  2072. skill:Remove()
  2073. else
  2074. for _, label in pairs(skill:GetChildren()) do
  2075. if label:IsA("TextLabel") then
  2076. label.TextColor3 = SKILLTEXTCOLOR
  2077. end
  2078. end
  2079. end
  2080. end
  2081. end
  2082. end
  2083.  
  2084. for i, v in pairs(WEAPONGUI:GetDescendants()) do
  2085. if v:IsA("TextLabel") then
  2086. if(v.Text:sub(1, 7) ~= "[CLICK]")then
  2087. table.insert(ATTACKLIST, v.Text:sub(5))
  2088. elseif(v.Text:sub(1, 7) == "[CLICK]")then
  2089. table.insert(ATTACKLIST, v.Text:sub(9))
  2090. end
  2091. end
  2092. end
  2093.  
  2094. local fullscreenz = IT("Frame")
  2095. fullscreenz.Parent = WEAPONGUI
  2096. fullscreenz.BackgroundColor3 = C3(255, 255, 255)
  2097. fullscreenz.BackgroundTransparency = 1
  2098. fullscreenz.BorderColor3 = C3(17, 17, 17)
  2099. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  2100. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  2101. local imgl2 = IT("ImageLabel",fullscreenz)
  2102. imgl2.BackgroundTransparency = 1
  2103. imgl2.BorderSizePixel = 0
  2104. imgl2.ImageTransparency = 0.5
  2105. imgl2.Position = UDim2.new(0.75,-100,0.55,-100)
  2106. imgl2.Size = UDim2.new(0,800,0,800)
  2107. imgl2.Image = "rbxassetid://2076458450"
  2108. local techc = imgl2:Clone()
  2109. techc.Parent = fullscreenz
  2110. techc.ImageTransparency = 0
  2111. techc.Size = UDim2.new(0,900,0,900)
  2112. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  2113. techc.Image = "rbxassetid://2092248396"
  2114. local circl = imgl2:Clone()
  2115. circl.Parent = fullscreenz
  2116. circl.ImageTransparency = 0
  2117. circl.Size = UDim2.new(0,550,0,550)
  2118. circl.Position = UDim2.new(0.75,25,0.55,25)
  2119. circl.Image = "rbxassetid://2109052855"
  2120. local circl2 = imgl2:Clone()
  2121. circl2.Parent = fullscreenz
  2122. circl2.ImageTransparency = 0
  2123. circl2.Size = UDim2.new(0,700,0,700)
  2124. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  2125. circl2.Image = "rbxassetid://2109045978"
  2126. local imgl2b = imgl2:Clone()
  2127. imgl2b.Parent = fullscreenz
  2128. imgl2b.ImageTransparency = 0
  2129. imgl2b.Size = UDim2.new(0,600,0,600)
  2130. imgl2b.Position = UDim2.new(0.75,0,0.55,0)
  2131. local ned = IT("TextLabel",fullscreenz)
  2132. ned.ZIndex = 2
  2133. ned.Font = "SciFi"
  2134. ned.BackgroundTransparency = 1
  2135. ned.BorderSizePixel = 0.65
  2136. ned.Size = UDim2.new(0.3,0,0.2,0)
  2137. ned.Position = UDim2.new(0.7,0,0.8,0)
  2138. ned.TextColor3 = BrickColor.new("Really black").Color
  2139. ned.TextStrokeColor3 = BrickColor.new("White").Color
  2140. ned.TextScaled = true
  2141. ned.TextStrokeTransparency = 0
  2142. ned.Text = "Karma"
  2143. ned.TextSize = 24
  2144. ned.Rotation = 1
  2145. ned.TextXAlignment = "Right"
  2146. ned.TextYAlignment = "Bottom"
  2147.  
  2148. local Hearts = {}
  2149. local hrt = NewInstance("Part",Effects,{Name='Heart',Anchored=false,CanCollide=false,Material=Enum.Material.Neon,Color=C3(1,0,0),Size=VT(.05,.05,.05),Locked=true,Archivable=false})
  2150. local hrtMesh = NewInstance("SpecialMesh",hrt,{MeshId="rbxassetid://105992239",Offset=VT(0,0,0),Scale=VT(3.9,3.9,1)})
  2151. local weld = Weld(Torso,hrt,CF(.5,.25,-.65))
  2152. table.insert(Hearts,{hrt,hrtMesh})
  2153. --//=================================\\
  2154. --|| INTRO
  2155. --\\=================================//
  2156.  
  2157. local skipBtn = script.GuiFolder.skipButton:Clone()
  2158. skipBtn.Parent = screenUi
  2159. skipBtn.MouseButton1Click:Connect(function()
  2160. if(skipintro == false)then
  2161. skipintro = true
  2162. skipBtn.Text = "Skipping Intro.."
  2163. end
  2164. end)
  2165.  
  2166. coroutine.resume(coroutine.create(function()
  2167. while true do
  2168. Swait()
  2169. skipBtn.BackgroundColor3 = BrickColor.Random().Color
  2170. skipBtn.BorderColor3 = C3(1, 1, 1)
  2171. skipBtn.TextColor3 = BrickColor.Random().Color
  2172. skipBtn.TextStrokeColor3 = C3(1, 1, 1)
  2173. skipBtn.Rotation = 0 - 2 * COS(SINE / 24)
  2174. end
  2175. end))
  2176.  
  2177. function Intro()
  2178. ATTACK = true
  2179. Humanoid.WalkSpeed = 0
  2180. if(not skipintro) then
  2181. if(script["Mode"].Value == "Karma")then
  2182. warnedpeople("I'm not usually the type to hold a grudge..")
  2183. repeat
  2184. wait()
  2185. until sick.TimePosition > 120.6
  2186. if(not skipintro) then
  2187. warnedpeople("But..")
  2188. repeat
  2189. wait()
  2190. until sick.TimePosition > 121.8
  2191. end
  2192. if(not skipintro) then
  2193. warnedpeople("You've effected me.")
  2194. repeat
  2195. wait()
  2196. until sick.TimePosition > 124.1
  2197. end
  2198. if(not skipintro) then
  2199. warnedpeople("And now,")
  2200. repeat
  2201. wait()
  2202. until sick.TimePosition > 125.2
  2203. end
  2204. if(not skipintro) then
  2205. warnedpeople("I'm nothing..")
  2206. repeat
  2207. wait()
  2208. until sick.TimePosition > 127.1
  2209. end
  2210. if(not skipintro) then
  2211. warnedpeople("But rage.")
  2212. repeat
  2213. wait()
  2214. until sick.TimePosition > 129.3
  2215. end
  2216. skipBtn:Destroy()
  2217. sick.TimePosition = 129.4
  2218. hasarrived("KARMA")
  2219. Humanoid.WalkSpeed = Speed
  2220. ATTACK = false
  2221. elseif(script["Mode"].Value == "ByeBye")then
  2222. if(not skipintro) then
  2223. warnedpeople("I try to keep my cool but..")
  2224. repeat
  2225. wait()
  2226. until sick.TimePosition > 5.757
  2227. end
  2228. if(not skipintro) then
  2229. warnedpeople("My life turns in slow motion..")
  2230. repeat
  2231. wait()
  2232. until sick.TimePosition > 9.300
  2233. end
  2234. skipBtn:Destroy()
  2235. sick.TimePosition = 9.300
  2236. hasarrived("KARMA")
  2237. Humanoid.WalkSpeed = Speed
  2238. ATTACK = false
  2239. elseif(script["Mode"].Value == "Insane")then
  2240. if(not skipintro) then
  2241. repeat
  2242. Swait()
  2243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2245. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2247. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2248. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2249. until sick.TimePosition > 115
  2250. end
  2251. if(not skipintro) then
  2252. repeat
  2253. Swait()
  2254. 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/8)
  2255. 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)
  2256. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 0.1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
  2257. 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/8)
  2258. 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/8)
  2259. 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/8)
  2260. until sick.TimePosition > 117
  2261. end
  2262. local HITFLOOR,HITPOS = Raycast(RightArm.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*RootPart.Size.X, Character)
  2263. if HITFLOOR then
  2264. for i = 1, 5 do
  2265. CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
  2266. end
  2267. Chunks(RightArm)
  2268. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
  2269. end
  2270. local sp = Instance.new("Part", Hole2)
  2271. sp.Anchored = true
  2272. sp.CanCollide = false
  2273. sp.Locked = true
  2274. sp.Transparency = 0
  2275. sp.Material = "Neon"
  2276. sp.Size = Vector3.new(1,1,1)
  2277. sp.TopSurface = "SmoothNoOutlines"
  2278. sp.BottomSurface = "SmoothNoOutlines"
  2279. sp.BrickColor = BrickColor.new("Royal purple")
  2280. local spm = Instance.new("SpecialMesh", sp)
  2281. spm.MeshType = "Sphere"
  2282. spm.Scale = Vector3.new(21,21,21)
  2283. local sp2 = Instance.new("Part", Hole2)
  2284. sp2.Name = "Energy"
  2285. sp2.BrickColor = BrickColor.new("Royal purple")
  2286. sp2.Size = Vector3.new(1, 1, 1)
  2287. sp2.Shape = "Ball"
  2288. sp2.CanCollide = false
  2289. sp2.Anchored = true
  2290. sp2.Locked = true
  2291. sp2.TopSurface = 0
  2292. sp2.BottomSurface = 0
  2293. sp2.Transparency = 1
  2294. local spm2 = Instance.new("SpecialMesh",sp2)
  2295. spm2.MeshId = "rbxassetid://9982590"
  2296. spm2.Scale = Vector3.new(2,2,2)
  2297. local X = Instance.new("Part", Character)
  2298. X.Locked = true
  2299. X.Name = "Shell"
  2300. X.Anchored = false
  2301. X.CanCollide = false
  2302. X.Transparency = 0
  2303. X.Reflectance = 0
  2304. X.BottomSurface = 0
  2305. X.TopSurface = 0
  2306. X.Shape = 0
  2307. X.BrickColor = BrickColor.new("Royal purple")
  2308. X.Size = Vector3.new(2, 2, 2)
  2309. X.Material = "Neon"
  2310. local Z = Instance.new("SpecialMesh", X)
  2311. Z.MeshType = "Sphere"
  2312. Z.Scale = Vector3.new(0.5,0.5,1)
  2313. X.CFrame = Hole2.CFrame
  2314. if(not skipintro) then
  2315. repeat
  2316. Swait()
  2317. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  2318. sp.CFrame = RootPart.CFrame * CFrame.new(0,1,-2)
  2319. 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)
  2320. 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)
  2321. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45 * Player_Size, 0.2 * Player_Size, -0.125 * Player_Size) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed * 5)
  2322. 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)
  2323. 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)
  2324. 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)
  2325. until sick.TimePosition > 119
  2326. end
  2327. for i = 1, 100, 20 do
  2328. Swait()
  2329. sp.CFrame = RootPart.CFrame*CFrame.new(0,1,-2)
  2330. end
  2331. skipBtn:Destroy()
  2332. sp:Destroy()
  2333. sp2:Destroy()
  2334. X:Destroy()
  2335. sick.TimePosition = 119.1
  2336. hasarrived("KARMA")
  2337. Humanoid.WalkSpeed = Speed
  2338. ATTACK = false
  2339. end
  2340. end
  2341. end
  2342.  
  2343. coroutine.resume(coroutine.create(function()
  2344. while true do
  2345. Swait()
  2346. SINE = SINE + CHANGE
  2347. end
  2348. end))
  2349.  
  2350. Intro()
  2351.  
  2352. --//=================================\\
  2353. --|| DAMAGE FUNCTIONS
  2354. --\\=================================//
  2355.  
  2356. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  2357. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, BrickColor.Random(), "Effect", VT())
  2358. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  2359. local BODYGYRO = IT("BodyGyro", STATPART)
  2360. local BODYPOSITION = IT("BodyPosition", STATPART)
  2361. BODYPOSITION.P = 2000
  2362. BODYPOSITION.D = 100
  2363. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2364. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  2365. game:GetService("Debris"):AddItem(STATPART ,5)
  2366. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  2367. BILLBOARDGUI.Adornee = STATPART
  2368. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  2369. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  2370. BILLBOARDGUI.AlwaysOnTop = false
  2371. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  2372. TEXTLABEL.BackgroundTransparency = 1
  2373. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2374. TEXTLABEL.Text = TEXT
  2375. TEXTLABEL.Font = "SciFi"
  2376. TEXTLABEL.FontSize="Size42"
  2377. TEXTLABEL.TextColor3 = COLOR
  2378. TEXTLABEL.TextStrokeTransparency = 1
  2379. TEXTLABEL.TextScaled = true
  2380. TEXTLABEL.TextWrapped = true
  2381. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2382. if LABELTYPE == "Normal" then
  2383. for i = 1, 30 do
  2384. Swait()
  2385. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  2386. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2387. end
  2388. elseif LABELTYPE == "Debuff" then
  2389. for i = 1, 30 do
  2390. Swait()
  2391. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  2392. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2393. end
  2394. elseif LABELTYPE == "Shock" then
  2395. local ORIGIN = STATPART.Position
  2396. for i = 1, 30 do
  2397. Swait()
  2398. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  2399. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2400. end
  2401. end
  2402. THEPART.Parent = nil
  2403. end),STATPART, BODYPOSITION, TEXTLABEL)
  2404. end
  2405.  
  2406. --//=================================\\
  2407. --|| DAMAGING
  2408. --\\=================================//
  2409.  
  2410. function killnearest(position,range,maxstrength,direction)
  2411. for i,v in ipairs(workspace:GetChildren()) do
  2412. local body = v:GetChildren()
  2413. for part = 1, #body do
  2414. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2415. if(body[part].Position - position).Magnitude < range then
  2416. if v.ClassName == "Model" then
  2417. --v:BreakJoints()
  2418. end
  2419. local POS = position
  2420. coroutine.resume(coroutine.create(function()
  2421. body[part].Anchored = true
  2422. body[part].Parent = Effects
  2423. body[part].CanCollide = true
  2424. local SIZE = body[part].Size
  2425. body[part].Material = "Neon"
  2426. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  2427. for i = 1, 75 do
  2428. Swait()
  2429. body[part].Color = C3(255/255, 255/255, 255/255)
  2430. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2431. end
  2432. coroutine.resume(coroutine.create(function()
  2433. while true do
  2434. Swait()
  2435. body[part].Color = C3(255/255, 255/255, 255/255)
  2436. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2437. end
  2438. end))
  2439. body[part].Anchored = false
  2440. body[part].Velocity = direction.lookVector*maxstrength
  2441. end))
  2442. end
  2443. end
  2444. end
  2445. if v.ClassName == "Part" then
  2446. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2447. local POS = position
  2448. coroutine.resume(coroutine.create(function()
  2449. v.Anchored = true
  2450. v.Parent = Effects
  2451. local SIZE = v.Size
  2452. v.Material = "Neon"
  2453. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  2454. for i = 1, 75 do
  2455. Swait()
  2456. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2457. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2458. end
  2459. coroutine.resume(coroutine.create(function()
  2460. while true do
  2461. Swait()
  2462. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2463. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2464. end
  2465. end))
  2466. v.Anchored = false
  2467. v.Velocity = direction.lookVector*maxstrength
  2468. end))
  2469. end
  2470. end
  2471. end
  2472. end
  2473.  
  2474. function Banish(Foe)
  2475. if Foe then
  2476. coroutine.resume(coroutine.create(function()
  2477. --if game.Players:FindFirstChild(Foe.Name) then
  2478. table.insert(TOBANISH,Foe.Name)
  2479. printbye(Foe.Name)
  2480. --end
  2481. Foe.Archivable = true
  2482. local CLONE = Foe:Clone()
  2483. Foe:Destroy()
  2484. CLONE.Parent = Effects
  2485. CLONE:BreakJoints()
  2486. local MATERIALS = {"Glass","Neon"}
  2487. for _, c in pairs(CLONE:GetDescendants()) do
  2488. if c:IsA("BasePart") then
  2489. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2490. CreateSound(340722848, c, 10, 1, false)
  2491. end
  2492. c.Anchored = true
  2493. c.Transparency = c.Transparency + 0.2
  2494. c.Material = MATERIALS[MRANDOM(1,2)]
  2495. c.Color = C3(1,0,0)
  2496. if c.ClassName == "MeshPart" then
  2497. c.TextureID = ""
  2498. end
  2499. if c:FindFirstChildOfClass("SpecialMesh") then
  2500. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2501. end
  2502. if c:FindFirstChildOfClass("Decal") then
  2503. c:FindFirstChildOfClass("Decal"):remove()
  2504. end
  2505. c.Name = "Banished"
  2506. c.CanCollide = false
  2507. else
  2508. c:remove()
  2509. end
  2510. end
  2511. local A = false
  2512. for i = 1, 35 do
  2513. if A == false then
  2514. A = true
  2515. elseif A == true then
  2516. A = false
  2517. end
  2518. for _, c in pairs(CLONE:GetDescendants()) do
  2519. if c:IsA("BasePart") then
  2520. c.Anchored = true
  2521. c.Material = MATERIALS[MRANDOM(1,2)]
  2522. c.Transparency = c.Transparency + 0.8/35
  2523. if A == false then
  2524. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2525. elseif A == true then
  2526. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2527. end
  2528. end
  2529. end
  2530. Swait()
  2531. end
  2532. CLONE:remove()
  2533. end))
  2534. end
  2535. end
  2536.  
  2537. function BANISHAOE(POSITION,RANGE,ISBANISH)
  2538. local CHILDREN = workspace:GetDescendants()
  2539. for index, CHILD in pairs(CHILDREN) do
  2540. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2541. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2542. if HUM then
  2543. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2544. if TORSO then
  2545. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2546. if ISBANISH == true then
  2547. Banish(CHILD)
  2548. else
  2549. if ISBANISH == "Gravity" then
  2550. HUM.PlatformStand = true
  2551. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2552. local grav = Instance.new("BodyPosition",TORSO)
  2553. grav.D = 15
  2554. grav.P = 20000
  2555. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2556. grav.position = TORSO.Position
  2557. grav.Name = "V3BanishForce"..Player.Name
  2558. else
  2559. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2560. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2561. end
  2562. else
  2563. HUM.PlatformStand = false
  2564. end
  2565. end
  2566. elseif ISBANISH == "Gravity" then
  2567. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2568. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2569. HUM.PlatformStand = false
  2570. end
  2571. end
  2572. end
  2573. end
  2574. end
  2575. end
  2576. end
  2577.  
  2578. local DAMAGEMULTIPLIER = 1
  2579. function ManualDamage(Humanoid,Damage,TorsoPart)
  2580. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2581. defence.Name = ("HitBy"..Player.Name)
  2582. game:GetService("Debris"):AddItem(defence, 0.001)
  2583. Damage = Damage * DAMAGEMULTIPLIER
  2584. if Humanoid.Health ~= 0 then
  2585. local CritChance = MRANDOM(1,100)
  2586. if Damage > Humanoid.Health then
  2587. Damage = math.ceil(Humanoid.Health)
  2588. if Damage == 0 then
  2589. Damage = 0.1
  2590. end
  2591. end
  2592. Humanoid.Health = Humanoid.Health - Damage
  2593. end
  2594. end
  2595.  
  2596. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2597. local CHILDREN = workspace:GetDescendants()
  2598. for index, CHILD in pairs(CHILDREN) do
  2599. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2600. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2601. if HUM then
  2602. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2603. if TORSO then
  2604. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2605. if INSTAKILL == true then
  2606. CHILD:BreakJoints()
  2607. else
  2608. local DMG = MRANDOM(MINDMG,MAXDMG)
  2609. ManualDamage(HUM,DMG,TORSO)
  2610. end
  2611. if FLING > 0 then
  2612. for _, c in pairs(CHILD:GetChildren()) do
  2613. if c:IsA("BasePart") then
  2614. local bv = Instance.new("BodyVelocity")
  2615. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2616. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2617. bv.Parent = c
  2618. Debris:AddItem(bv,0.05)
  2619. end
  2620. end
  2621. end
  2622. end
  2623. end
  2624. end
  2625. end
  2626. end
  2627. end
  2628.  
  2629. function dmg(dude)
  2630. if dude.Name ~= Character then
  2631. local keptcolor = MAINRUINCOLOR
  2632. local bgf = Instance.new("BodyGyro",dude.Head)
  2633. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(RAD(-90),0,0)
  2634. --[[local val = Instance.new("BoolValue",dude)
  2635. val.Name = "IsHit"]]--
  2636. local ds = coroutine.wrap(function()
  2637. dude:WaitForChild("Head"):BreakJoints()
  2638. for i, v in pairs(dude:GetChildren()) do
  2639. if v:IsA("Part") or v:IsA("MeshPart") then
  2640. v.Name = "DEMINISHED"
  2641. end
  2642. end
  2643. wait(0.5)
  2644. CFuncs["Sound"].Create("rbxassetid://62339698", Effects, 0.75, 0.285)
  2645. coroutine.resume(coroutine.create(function()
  2646. for i, v in pairs(dude:GetChildren()) do
  2647. if v:IsA("Accessory") then
  2648. v:Destroy()
  2649. end
  2650. if v:IsA("Humanoid") then
  2651. v:Destroy()
  2652. end
  2653. if v:IsA("CharacterMesh") then
  2654. v:Destroy()
  2655. end
  2656. if v:IsA("Model") then
  2657. v:Destroy()
  2658. end
  2659. if v:IsA("Part") or v:IsA("MeshPart") then
  2660. for x, o in pairs(v:GetChildren()) do
  2661. if o:IsA("Decal") then
  2662. o:Destroy()
  2663. end
  2664. end
  2665. coroutine.resume(coroutine.create(function()
  2666. v.Material = "Neon"
  2667. v.CanCollide = false
  2668. v.Anchored = false
  2669. local bld = Instance.new("ParticleEmitter",v)
  2670. bld.LightEmission = 0.75
  2671. bld.Texture = "rbxassetid://363275192" ---284205403
  2672. bld.Color = ColorSequence.new(keptcolor.Color)
  2673. bld.Rate = 500
  2674. bld.Lifetime = NumberRange.new(1)
  2675. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  2676. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2677. bld.Speed = NumberRange.new(2,5)
  2678. bld.VelocitySpread = 50000
  2679. bld.Rotation = NumberRange.new(-500,500)
  2680. bld.RotSpeed = NumberRange.new(-500,500)
  2681. local sbs = Instance.new("BodyPosition", v)
  2682. sbs.P = 3000
  2683. sbs.D = 1000
  2684. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2685. sbs.position = v.Position + Vector3.new(MRANDOM(-2,2),10 + MRANDOM(-2,2),MRANDOM(-2,2))
  2686. v.Color = keptcolor.Color
  2687. coroutine.resume(coroutine.create(function()
  2688. for i = 0, 49 do
  2689. Swait(1)
  2690. v:BreakJoints()
  2691. v.Transparency = v.Transparency + 0.02
  2692. end
  2693. v:BreakJoints()
  2694. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  2695. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  2696. bld.Speed = NumberRange.new(10,25)
  2697. bld.Drag = 5
  2698. bld.Acceleration = vt(0,2,0)
  2699. wait(0.5)
  2700. bld.Enabled = false
  2701. wait(8)
  2702. v:Destroy()
  2703. dude:Destroy()
  2704. end))
  2705. end))
  2706. end
  2707. end
  2708. end))
  2709. end)
  2710. ds()
  2711. end
  2712. end
  2713.  
  2714. function ShowDamage(Pos, Text, Time, Color)
  2715. local Rate = 0.03333333333333333
  2716. local Pos = Pos or Vector3.new(0, 0, 0)
  2717. local Text = Text or ""
  2718. local Time = Time or 2
  2719. local Color = Color or C3(1, 0, 1)
  2720. local EffectPart = CreatePartb(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2721. EffectPart.Anchored = true
  2722. local BillboardGui = Create("BillboardGui")({
  2723. Size = UDim2.new(3, 0, 3, 0),
  2724. Adornee = EffectPart,
  2725. Parent = EffectPart
  2726. })
  2727. local TextLabel = Create("TextLabel")({
  2728. BackgroundTransparency = 1,
  2729. Size = UDim2.new(1, 0, 1, 0),
  2730. Text = Text,
  2731. TextColor3 = Color,
  2732. TextScaled = true,
  2733. Font = Enum.Font.ArialBold,
  2734. Parent = BillboardGui
  2735. })
  2736. game.Debris:AddItem(EffectPart, Time + 0.1)
  2737. EffectPart.Parent = game:GetService("Workspace")
  2738. delay(0, function()
  2739. local Frames = Time / Rate
  2740. for Frame = 1, Frames do
  2741. wait(Rate)
  2742. local Percent = Frame / Frames
  2743. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2744. TextLabel.TextTransparency = Percent
  2745. end
  2746. if EffectPart and EffectPart.Parent then
  2747. EffectPart:Destroy()
  2748. end
  2749. end)
  2750. end
  2751.  
  2752. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2753. if hit.Parent == nil then
  2754. return
  2755. end
  2756. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2757. for _, v in pairs(hit.Parent:children()) do
  2758. if v:IsA("Humanoid") then
  2759. h = v
  2760. end
  2761. end
  2762. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2763. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2764. return
  2765. end
  2766. local c = Create("ObjectValue")({
  2767. Name = "creator",
  2768. Value = script.Parent.Parent.Parent:FindFirstChild(script.Parent.Parent.Name),
  2769. Parent = h
  2770. })
  2771. game:GetService("Debris"):AddItem(c, 0.5)
  2772. if HitSound ~= nil and HitPitch ~= nil then
  2773. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2774. end
  2775. local Damage = MRANDOM(minim, maxim)
  2776. local blocked = false
  2777. local block = hit.Parent:findFirstChild("Block")
  2778. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2779. blocked = true
  2780. block.Value = block.Value - 1
  2781. print(block.Value)
  2782. end
  2783. h.Health = h.Health - Damage / 2
  2784. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2785. if Type == "Knockdown" then
  2786. local hum = hit.Parent.Humanoid
  2787. hum.PlatformStand = true
  2788. coroutine.resume(coroutine.create(function(HHumanoid)
  2789. Swait(1)
  2790. HHumanoid.PlatformStand = false
  2791. end), hum)
  2792. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2793. local bodvol = Create("BodyVelocity")({
  2794. velocity = angle * knockback,
  2795. P = 5000,
  2796. maxForce = Vector3.new(8000, 8000, 8000),
  2797. Parent = hit
  2798. })
  2799. local rl = Create("BodyAngularVelocity")({
  2800. P = 3000,
  2801. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2802. angularvelocity = Vector3.new(MRANDOM(-10, 10), MRANDOM(-10, 10), MRANDOM(-10, 10)),
  2803. Parent = hit
  2804. })
  2805. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2806. game:GetService("Debris"):AddItem(rl, 0.5)
  2807. elseif Type == "Normal" then
  2808. local vp = Create("BodyVelocity")({
  2809. P = 500,
  2810. maxForce = Vector3.new(math.huge, 0, math.huge),
  2811. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2812. })
  2813. if knockback > 0 then
  2814. vp.Parent = hit.Parent.Head
  2815. end
  2816. game:GetService("Debris"):AddItem(vp, 0.5)
  2817. elseif Type == "Up" then
  2818. local bodyVelocity = Create("BodyVelocity")({
  2819. velocity = Vector3.new(0, 20, 0),
  2820. P = 5000,
  2821. maxForce = Vector3.new(8000, 8000, 8000),
  2822. Parent = hit
  2823. })
  2824. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2825. local bodyVelocity = Create("BodyVelocity")({
  2826. velocity = Vector3.new(0, 20, 0),
  2827. P = 5000,
  2828. maxForce = Vector3.new(8000, 8000, 8000),
  2829. Parent = hit
  2830. })
  2831. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2832. elseif Type == "UpKnock" then
  2833. local hum = hit.Parent.Humanoid
  2834. hum.PlatformStand = true
  2835. if hum ~= nil then
  2836. hitr = true
  2837. end
  2838. coroutine.resume(coroutine.create(function(HHumanoid)
  2839. Swait(5)
  2840. HHumanoid.PlatformStand = false
  2841. hitr = false
  2842. end), hum)
  2843. local bodyVelocity = Create("BodyVelocity")({
  2844. velocity = Vector3.new(0, 20, 0),
  2845. P = 5000,
  2846. maxForce = Vector3.new(8000, 8000, 8000),
  2847. Parent = hit
  2848. })
  2849. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2850. local bodyVelocity = Create("BodyVelocity")({
  2851. velocity = Vector3.new(0, 20, 0),
  2852. P = 5000,
  2853. maxForce = Vector3.new(8000, 8000, 8000),
  2854. Parent = hit
  2855. })
  2856. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2857. elseif Type == "Snare" then
  2858. local bp = Create("BodyPosition")({
  2859. P = 2000,
  2860. D = 100,
  2861. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2862. position = hit.Parent.Torso.Position,
  2863. Parent = hit.Parent.Torso
  2864. })
  2865. game:GetService("Debris"):AddItem(bp, 1)
  2866. elseif Type == "Freeze" then
  2867. local BodPos = Create("BodyPosition")({
  2868. P = 50000,
  2869. D = 1000,
  2870. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2871. position = hit.Parent.Torso.Position,
  2872. Parent = hit.Parent.Torso
  2873. })
  2874. local BodGy = Create("BodyGyro")({
  2875. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2876. P = 20000,
  2877. Parent = hit.Parent.Torso,
  2878. cframe = hit.Parent.Torso.CFrame
  2879. })
  2880. hit.Parent.Torso.Anchored = true
  2881. coroutine.resume(coroutine.create(function(Part)
  2882. Swait(1.5)
  2883. Part.Anchored = false
  2884. end), hit.Parent.Torso)
  2885. game:GetService("Debris"):AddItem(BodPos, 3)
  2886. game:GetService("Debris"):AddItem(BodGy, 3)
  2887. end
  2888. local debounce = Create("BoolValue")({
  2889. Name = "DebounceHit",
  2890. Parent = hit.Parent,
  2891. Value = true
  2892. })
  2893. game:GetService("Debris"):AddItem(debounce, Delay)
  2894. c = Instance.new("ObjectValue")
  2895. c.Name = "creator"
  2896. c.Value = Player
  2897. c.Parent = h
  2898. game:GetService("Debris"):AddItem(c, 0.5)
  2899. end
  2900. end
  2901.  
  2902. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2903. for _, c in pairs(workspace:children()) do
  2904. local hum = c:findFirstChildOfClass("Humanoid")
  2905. if hum ~= nil then
  2906. local head = c:findFirstChild("Head")
  2907. if head ~= nil then
  2908. local targ = head.Position - Part.Position
  2909. local mag = targ.magnitude
  2910. if magni >= mag and c.Name ~= Player.Name then
  2911. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2912. end
  2913. end
  2914. end
  2915. end
  2916. end
  2917.  
  2918. workspace.ChildAdded:connect(function(instance)
  2919. for BANISH = 1, #TOBANISH do
  2920. if TOBANISH[BANISH] ~= nil then
  2921. if instance.Name == TOBANISH[BANISH] then
  2922. coroutine.resume(coroutine.create(function()
  2923. printbye(instance.Name)
  2924. instance:ClearAllChildren()
  2925. Debris:AddItem(instance,0.0005)
  2926. end))
  2927. end
  2928. end
  2929. end
  2930. end)
  2931.  
  2932. --//=================================\\
  2933. --|| ATTACK FUNCTIONS AND STUFF
  2934. --\\=================================//
  2935.  
  2936. function AttackTemplate()
  2937. ATTACK = true
  2938. Rooted = false
  2939. for i=0, 1, 0.1 / Animation_Speed do
  2940. Swait()
  2941. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2942. 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.1 / Animation_Speed)
  2943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2945. 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)
  2946. 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)
  2947. end
  2948. ATTACK = false
  2949. Rooted = false
  2950. end
  2951.  
  2952. function ByeBye()
  2953. turnto(Mouse.Hit.p)
  2954. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, BrickColor.Random(), "Punch", VT(50,50,50),false)
  2955. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  2956. PART.Shape = "Ball"
  2957. local bv = Instance.new("BodyVelocity")
  2958. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2959. bv.velocity = RootPart.CFrame.lookVector*600
  2960. bv.Parent = PART
  2961. bv.Name = "PROJECTILEVELOCITY"
  2962. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2.5,0.2,2.5))
  2963. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(3,0.2,3))
  2964. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2,0.6,2))
  2965. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(2.2,0.6,2.2))
  2966. CFuncs["Sound"].Create("rbxassetid://438666141", Character, 3,1)
  2967. CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
  2968. coroutine.resume(coroutine.create(function()
  2969. for i = 1, 10 do
  2970. Swait()
  2971. PART.Transparency = PART.Transparency + 0.2/10
  2972. PART.Size = PART.Size + VT(5,5,5)
  2973. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  2974. end
  2975. PART:Destroy()
  2976. end))
  2977. for i=0, 1, 0.1 / Animation_Speed do
  2978. Swait()
  2979. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  2980. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  2981. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2982. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2983. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  2984. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  2985. end
  2986. end
  2987.  
  2988. function HisGrasp()
  2989. ATTACK = true
  2990. Rooted = false
  2991. local HASGRABBED = false
  2992. local WELD = nil
  2993. local TORS = nil
  2994. local hitting = RightArm.Touched:connect(function(hit)
  2995. if hit.Parent:FindFirstChild("Humanoid") then
  2996. if hit.Parent.Humanoid.Health ~= 0 then
  2997. UNANCHOR = false
  2998. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2999. TORS.Anchored = true
  3000. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  3001. WELD = weldBetween(RightArm,TORS)
  3002. HASGRABBED = true
  3003. Rooted = true
  3004. end
  3005. end
  3006. end)
  3007. for i=0, 1, 0.1 / Animation_Speed do
  3008. Swait()
  3009. if HASGRABBED == true then
  3010. break
  3011. end
  3012. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  3013. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  3014. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3015. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3016. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3017. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3018. end
  3019. hitting:disconnect()
  3020. if HASGRABBED == true then
  3021. TORS.Anchored = false
  3022. RootPart.Anchored = true
  3023. for i=0, 2, 0.1 / Animation_Speed do
  3024. Swait()
  3025. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3026. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3027. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3028. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3029. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3030. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3031. end
  3032. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  3033. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  3034. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  3035. SOUNDPART.CFrame = RootPart.CFrame
  3036. Debris:AddItem(SOUNDPART,5)
  3037. CreateSound("1295446488", SOUNDPART, 2, 1)
  3038. warnedpeople("UP WE GO!")
  3039. for i = 1, 15 do
  3040. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  3041. end
  3042. for i=0, 2, 0.1 / Animation_Speed do
  3043. Swait()
  3044. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3045. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3047. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3048. 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)
  3049. 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)
  3050. end
  3051. for i=0, 0.25, 0.1 / Animation_Speed do
  3052. Swait()
  3053. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  3054. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  3055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3056. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3057. 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)
  3058. 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)
  3059. end
  3060. if HITFLOOR ~= nil then
  3061. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  3062. end
  3063. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  3064. WELD:remove()
  3065. warnedpeople("DOWN GOES YOUR HEARTRATE!")
  3066. for i = 1, 25 do
  3067. Swait()
  3068. killnearest(RootPart.Position,45,100,Torso.CFrame)
  3069. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  3070. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,BrickColor.Random(),VT(1,0.4,1))
  3071. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,BrickColor.Random(),VT(2.3,0.3,2.3))
  3072. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  3073. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),BrickColor.Random(), 1 + MRANDOM(1,30)/15)
  3074. end
  3075. end
  3076. UNANCHOR = true
  3077. ATTACK = false
  3078. Rooted = false
  3079. end
  3080.  
  3081. function Rush()
  3082. local ORIGIN = RootPart.Position
  3083. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  3084. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  3085. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  3086. SOUNDPART.CFrame = RootPart.CFrame
  3087. Debris:AddItem(SOUNDPART,5)
  3088. CreateSound("1295446488", SOUNDPART, 2, 1)
  3089. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  3090. Swait()
  3091. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  3092. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  3093. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  3094. SOUNDPART.CFrame = RootPart.CFrame
  3095. Debris:AddItem(SOUNDPART,5)
  3096. CreateSound("1295446488", SOUNDPART, 2, 1)
  3097. if MRANDOM(1,8) == 1 then
  3098. ATTACK = true
  3099. Rooted = true
  3100. local FRUITSTABLE = {
  3101. {MeshId = "16190555", TextureId = "16190577", Color = BrickColor.Random()},
  3102. {MeshId = "119574562", TextureId = "64374853", Color = BrickColor.Random()},
  3103. {MeshId = "24394186", TextureId = "24394178", Color = BrickColor.Random()}
  3104. }
  3105. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  3106. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  3107. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  3108. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  3109. weldBetween(RightArm,FRUITMODEL)
  3110. for i=0, 4, 0.1 / Animation_Speed do
  3111. Swait()
  3112. 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)
  3113. 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)
  3114. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3115. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3116. 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)
  3117. 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)
  3118. end
  3119. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  3120. FRUITMODEL:remove()
  3121. for i = 1, 15 do
  3122. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  3123. end
  3124. for i=0, 0.5, 0.1 / Animation_Speed do
  3125. Swait()
  3126. 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)
  3127. 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)
  3128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3129. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3130. 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)
  3131. 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)
  3132. end
  3133. ATTACK = false
  3134. Rooted = false
  3135. end
  3136. end
  3137.  
  3138. function OtherSideOfParadise()
  3139. ATTACK = true
  3140. Rooted = true
  3141. turnto(Mouse.Hit.p)
  3142. warnedpeople("THIS IS..")
  3143. CFuncs["EchoSound"].Create("rbxassetid://1548599511", Character, 4.5, 1,0,10,0.15,0.5,1)
  3144. CFuncs["EchoSound"].Create("rbxassetid://1548599511", RootPart, 30, 1,0,10,0.15,0.5,1)
  3145. CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
  3146. MagicSphere(VT(8,8,8),150,RootPart.CFrame * CF(0,0,-6),BrickColor.Random(),VT(-0.04,-0.04,-0.04))
  3147. MagicSphere(VT(7.5,7.5,7.5),150,RootPart.CFrame * CF(0,0,-6),BrickColor.Random(),VT(-0.035,-0.035,-0.035))
  3148. coroutine.resume(coroutine.create(function()
  3149. for i = 0, 15, 0.1 do
  3150. Swait()
  3151. end
  3152. for i = 1, 5 do
  3153. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),BrickColor.Random(),VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  3154. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(4.5*i,0.2,4.5*i))
  3155. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(5*i,0.2,5*i))
  3156. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(4*i,0.6,4*i))
  3157. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(5.2*i,0.6,5.2*i))
  3158. end
  3159. CFuncs["Sound"].Create("rbxassetid://438666141", Character, 3,1)
  3160. CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
  3161. warnedpeople("THE END!")
  3162. CFuncs["EchoSound"].Create("rbxassetid://1548599962", Character, 8, 1,0,10,0.15,0.5,1)
  3163. CFuncs["EchoSound"].Create("rbxassetid://1548599962", RootPart, 40, 1,0,10,0.15,0.5,1)
  3164. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  3165. coroutine.resume(coroutine.create(function()
  3166. for i = 1, 50 do
  3167. Swait()
  3168. for i = 1, 1 do
  3169. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  3170. end
  3171. for i = 1, 2 do
  3172. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),BrickColor.Random(), 1 + MRANDOM(1,30)/3)
  3173. end
  3174. end
  3175. end))
  3176. end))
  3177. for i = 0, 18, 0.1 do
  3178. Swait()
  3179. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  3180. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  3181. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3182. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3183. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  3184. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  3185. end
  3186. ATTACK = false
  3187. Rooted = false
  3188. end
  3189.  
  3190. function ShatteredHeart()
  3191. local function poof()
  3192. for i = 0, 99 do
  3193. local dis = CreateParta(Character,1,1,"Neon",MAINRUINCOLOR)
  3194. dis.CFrame = RootPart.CFrame*CFrame.new(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3195. local at1 = Instance.new("Attachment",dis)
  3196. at1.Position = vt(-25000,0,0)
  3197. local at2 = Instance.new("Attachment",dis)
  3198. at2.Position = vt(25000,0,0)
  3199. local trl = Instance.new('Trail',dis)
  3200. trl.Attachment0 = at1
  3201. trl.FaceCamera = true
  3202. trl.Attachment1 = at2
  3203. trl.Texture = "rbxassetid://1049219073"
  3204. trl.LightEmission = 1
  3205. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3206. trl.Color = ColorSequence.new(BrickColor.random().Color)
  3207. trl.Lifetime = 5
  3208. local bv = Instance.new("BodyVelocity")
  3209. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3210. bv.velocity = dis.CFrame.lookVector*MRANDOM(500,2500)
  3211. bv.Parent = dis
  3212. game:GetService("Debris"):AddItem(dis, 5)
  3213. end
  3214. symbolizeBlink(RootPart,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,RootPart,false,0,1)
  3215. symbolizeBlink(RootPart,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,RootPart,false,0,1.5)
  3216. symbolizeBlink(RootPart,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,RootPart,false,0,3)
  3217. sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  3218. sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  3219. sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  3220. sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  3221. CFuncs["Sound"].Create("rbxassetid://1841058541", RootPart, 10,1)
  3222. CFuncs["Sound"].Create("rbxassetid://2095993595", Character, 5,0.8)
  3223. CFuncs["Sound"].Create("rbxassetid://1841058541", Character, 5,1)
  3224. Humanoid.CameraOffset = vt(0,0,0)
  3225. for i = 0, 24 do
  3226. slash(MRANDOM(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),vt(0.01,0.01,0.01),MRANDOM(500,1500)/250,BrickColor.random())
  3227. end
  3228. killnearest(RootPart.Position,9999,99999,Torso.CFrame)
  3229. CamShakeAll(30, 99999, RootPart.Position)
  3230. end
  3231. ATTACK = true
  3232. Rooted = true
  3233. CFuncs["Sound"].Create("rbxassetid://1368598393", Effects, 2.5, 0.5)
  3234. CFuncs["Sound"].Create("rbxassetid://1368598393", RootPart, 10, 0.5)
  3235. CFuncs["EchoSound"].Create("rbxassetid://1718412034", Effects, 4, 1,0,10,0.15,0.5,1)
  3236. local keptcolor = MAINRUINCOLOR
  3237. warnedpeople("SHATTER!")
  3238. FocusCamAll(8, Head, true)
  3239. for i = 0,8,0.1 do
  3240. Swait()
  3241. Humanoid.CameraOffset = vt(MRANDOM(-10,10)/100,MRANDOM(-10,10)/100,MRANDOM(-10,10)/100)
  3242. slash(MRANDOM(25,50)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,25,0)*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  3243. block(10,"Add",RootPart.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  3244. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3248. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  3249. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  3250. end
  3251. poof()
  3252. local distam = 0
  3253. coroutine.resume(coroutine.create(function()
  3254. for i = 0, 99 do
  3255. wait()
  3256. distam = distam + 1
  3257. local xa = CreateParta(Character,1,1,"SmoothPlastic",BrickColor.random())
  3258. xa.Anchored = true
  3259. xa.CFrame = RootPart.CFrame*CFrame.new(MRANDOM(-distam,distam),MRANDOM(-distam,distam),MRANDOM(-distam,distam))*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3260. game:GetService("Debris"):AddItem(xa, 5)
  3261. for i = 0, 4 do
  3262. slash(MRANDOM(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),vt(0.01,0.01,0.01),MRANDOM(200,500)/250,BrickColor.random())
  3263. end
  3264. coroutine.resume(coroutine.create(function()
  3265. local eff = Instance.new("ParticleEmitter",xa)
  3266. eff.Texture = "rbxassetid://2344870656"
  3267. eff.LightEmission = 1
  3268. eff.Color = ColorSequence.new(xa.Color)
  3269. eff.Rate = 10000000
  3270. eff.Enabled = true
  3271. eff.Lifetime = NumberRange.new(2.5)
  3272. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  3273. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3274. eff.Speed = NumberRange.new(200)
  3275. eff.Drag = 5
  3276. eff.Rotation = NumberRange.new(-500,500)
  3277. eff.SpreadAngle = Vector2.new(0,900)
  3278. eff.RotSpeed = NumberRange.new(-500,500)
  3279. wait(0.2)
  3280. eff.Enabled = false
  3281. end))
  3282. coroutine.resume(coroutine.create(function()
  3283. local eff = Instance.new("ParticleEmitter",xa)
  3284. eff.Texture = "rbxassetid://2273224484"
  3285. eff.LightEmission = 1
  3286. eff.Color = ColorSequence.new(BrickColor.random().Color)
  3287. eff.Rate = 500000
  3288. eff.Lifetime = NumberRange.new(1,3)
  3289. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3290. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3291. eff.Speed = NumberRange.new(50,500)
  3292. eff.Drag = 5
  3293. eff.Rotation = NumberRange.new(-500,500)
  3294. eff.VelocitySpread = 9000
  3295. eff.RotSpeed = NumberRange.new(-50,50)
  3296. wait(0.25)
  3297. eff.Enabled = false
  3298. end))
  3299. coroutine.resume(coroutine.create(function()
  3300. for i = 0, 19 do
  3301. Swait()
  3302. Humanoid.CameraOffset = vt(MRANDOM(-10,10)/10,MRANDOM(-10,10)/10,MRANDOM(-10,10)/10)
  3303. end
  3304. Humanoid.CameraOffset = vt(0,0,0)
  3305. end))
  3306. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,MRANDOM(100,200)/200)
  3307. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  3308. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  3309. killnearest(RootPart.Position,60,100,Torso.CFrame)
  3310. CamShakeAOE(Torso.CFrame.p,60,30,250)
  3311. end
  3312. poof()
  3313. end))
  3314. Rooted = false
  3315. ATTACK = false
  3316. end
  3317.  
  3318. function Taunt()
  3319. ATTACK = true
  3320. Rooted = true
  3321. local orip0 = nil
  3322. if script["Mode"].Value == "Insane" then
  3323. orip0 = LeftArmGrasp.Part0
  3324. LeftArmGrasp.Part0 = RightArm
  3325. end
  3326. for i=0, 1, 0.1 / Animation_Speed do
  3327. Swait()
  3328. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3329. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  3330. if script["Mode"].Value ~= "Insane" then
  3331. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3332. elseif script["Mode"].Value == "Insane" then
  3333. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3334. end
  3335. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3336. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3337. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3338. end
  3339. CreateSound("907330011", Head, 10, 1.1)
  3340. for i=0, 2, 0.1 / Animation_Speed do
  3341. Swait()
  3342. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3343. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  3344. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3345. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3346. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3347. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3348. end
  3349. if script["Mode"].Value == "Insane" then
  3350. LeftArmGrasp.Part0 = orip0
  3351. end
  3352. ATTACK = false
  3353. Rooted = false
  3354. end
  3355.  
  3356. function TrustIssues()
  3357. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  3358. if HITFLOOR ~= nil then
  3359. do
  3360. local HITBODIES = {}
  3361. ATTACK = true
  3362. Rooted = true
  3363. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "White", "ABSOLUTEUM", VT(0, 0, 0))
  3364. MakeForm(ABSOLUTE, "Ball")
  3365. CreateSound("416200578", RootPart, 10, 1)
  3366. for i = 0, 8, 0.1 / Animation_Speed do
  3367. Swait()
  3368. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  3369. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  3370. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  3371. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, MAINRUINCOLOR, "ABSOLUTEUM", VT(2, 2, 2))
  3372. MakeForm(CHARGE, "Ball")
  3373. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  3374. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  3375. RightHip.C0=Clerp(RightHip.C0,cf(1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(-15 - 2 * COS(SINE / 32))),.1)
  3376. LeftHip.C0=Clerp(LeftHip.C0,cf(-1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(-90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(15 + 2 * COS(SINE / 32))),.1)
  3377. RootJoint.C0=Clerp(RootJoint.C0,EULER(-1.57,0,3.14)*cf(0,0.15 + 0.02 * COS(SINE / 32),-0.1 + 0.05 * COS(SINE / 32))*ANGLES(RAD(-15 - 2 * COS(SINE / 32)),RAD(0),RAD(0)),.1)
  3378. Torso.Neck.C0=Clerp(Torso.Neck.C0,cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)*ANGLES(RAD(-25 - 2 * COS(SINE / 37)),RAD(0 + 1 * COS(SINE / 58)),RAD(0 + 2 * COS(SINE / 53))),.1)
  3379. RightShoulder.C0=Clerp(RightShoulder.C0,cf(1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 + 5 * COS(SINE / 74)),RAD(1 - 3 * COS(SINE / 53)),RAD(-10 + 3 * COS(SINE / 45))),.1)
  3380. LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 - 3 * COS(SINE / 73)),RAD(2 - 1 * COS(SINE / 55)),RAD(13 - 3 * COS(SINE / 45))),.1)
  3381. end
  3382. for i = 1, 45 do
  3383. Swait()
  3384. RightHip.C0=Clerp(RightHip.C0,cf(1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(-15 - 2 * COS(SINE / 32))),.1)
  3385. LeftHip.C0=Clerp(LeftHip.C0,cf(-1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(-90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(15 + 2 * COS(SINE / 32))),.1)
  3386. RootJoint.C0=Clerp(RootJoint.C0,EULER(-1.57,0,3.14)*cf(0,0.15 + 0.02 * COS(SINE / 32),-0.1 + 0.05 * COS(SINE / 32))*ANGLES(RAD(-15 - 2 * COS(SINE / 32)),RAD(0),RAD(0)),.1)
  3387. Torso.Neck.C0=Clerp(Torso.Neck.C0,cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)*ANGLES(RAD(-25 - 2 * COS(SINE / 37)),RAD(0 + 1 * COS(SINE / 58)),RAD(0 + 2 * COS(SINE / 53))),.1)
  3388. RightShoulder.C0=Clerp(RightShoulder.C0,cf(1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 + 5 * COS(SINE / 74)),RAD(1 - 3 * COS(SINE / 53)),RAD(-10 + 3 * COS(SINE / 45))),.1)
  3389. LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 - 3 * COS(SINE / 73)),RAD(2 - 1 * COS(SINE / 55)),RAD(13 - 3 * COS(SINE / 45))),.1)
  3390. end
  3391. coroutine.resume(coroutine.create(function()
  3392. local IMPACT = true
  3393. local BULLET = ABSOLUTE
  3394. MakeForm(BULLET, "Ball")
  3395. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  3396. if IMPACT == false then
  3397. for i = 1, 40 do
  3398. Swait()
  3399. BULLET.Size = BULLET.Size * 0.9
  3400. end
  3401. BULLET:remove()
  3402. else
  3403. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  3404. CFuncs["EchoSound"].Create("rbxassetid://1690475123", Character, 1.5, 1,0,10,0.15,0.5,1)
  3405. CFuncs["EchoSound"].Create("rbxassetid://1690475123", RootPart, 10, 1,0,10,0.15,0.5,1)
  3406. warnedpeople("THIS IS IT!")
  3407. CreateSound("438666001", BULLET, 10, 3)
  3408. Swait(35)
  3409. BULLET.Transparency = 1
  3410. for i = 1, 20 do
  3411. for e = 1, 5 do
  3412. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), MAINRUINCOLOR, VT(1, 1, i * 4), 0)
  3413. SpliceSlice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), MAINRUINCOLOR.Color, VT(i, 0, i) / 3)
  3414. end
  3415. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  3416. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  3417. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  3418. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, MRANDOM(0, 10) / 10, 0), VT(i, i, i) * 2)
  3419. Swait(5)
  3420. killnearest(RootPart.Position,100,100,Torso.CFrame)
  3421. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, MAINRUINCOLOR, VT(i, 0, i) * 2)
  3422. end
  3423. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(0.4, 0.4, 0), VT(12, 12, 12))
  3424. Debris:AddItem(BULLET, 10)
  3425. end
  3426. end))
  3427. ATTACK = false
  3428. Rooted = false
  3429. end
  3430. end
  3431. end
  3432.  
  3433. function BanishBullet()
  3434. ATTACK = true
  3435. Rooted = true
  3436. if script["Mode"].Value ~= "Insane" then
  3437. KarmaGun2.Parent = Character
  3438. KarmaGun.Parent = nil
  3439. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3440. for i=0, 0.4, 0.05 / Animation_Speed do
  3441. Swait()
  3442. turnto(Mouse.Hit.p)
  3443. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3444. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  3445. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3446. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3447. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3448. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3449. end
  3450. repeat
  3451. for i=0, 0.1, 0.1 / Animation_Speed do
  3452. Swait()
  3453. turnto(Mouse.Hit.p)
  3454. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3455. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  3456. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3457. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3458. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3459. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3460. end
  3461. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000000, Character)
  3462. SpawnTrail(Hole2.Position,POS)
  3463. if HIT ~= nil then
  3464. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3465. Banish(HIT.Parent)
  3466. end
  3467. end
  3468. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3469. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 2})
  3470. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3471. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3472. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3473. for i=0, 0.3, 0.1 / Animation_Speed do
  3474. Swait()
  3475. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3476. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  3477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(92), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3478. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3479. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3480. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  3481. end
  3482. until KEYHOLD == false
  3483. KarmaGun2.Parent = nil
  3484. KarmaGun.Parent = Character
  3485. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3486. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel2.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3487. elseif script["Mode"].Value == "Insane" then
  3488. local orip0 = LeftArmGrasp.Part0
  3489. LeftArmGrasp.Part0 = RightArm
  3490. for i=0, 0.4, 0.05 / Animation_Speed do
  3491. Swait()
  3492. turnto(Mouse.Hit.p)
  3493. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3494. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3495. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3496. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3497. 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)
  3498. 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)
  3499. end
  3500. repeat
  3501. for i=0, 0.05, 0.05 / Animation_Speed do
  3502. Swait()
  3503. turnto(Mouse.Hit.p)
  3504. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3505. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  3506. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3507. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3508. 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)
  3509. 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)
  3510. end
  3511. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  3512. SpawnTrail(Hole2.Position,POS)
  3513. if HIT ~= nil then
  3514. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3515. Banish(HIT.Parent)
  3516. end
  3517. end
  3518. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3519. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3520. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3521. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3522. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3523. for i=0, 0.3, 0.05 / Animation_Speed do
  3524. Swait()
  3525. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  3527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3529. 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)
  3530. 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)
  3531. end
  3532. until KEYHOLD == false
  3533. LeftArmGrasp.Part0 = orip0
  3534. end
  3535. ATTACK = false
  3536. Rooted = false
  3537. end
  3538.  
  3539. function KarmaStrike()
  3540. ATTACK = true
  3541. Rooted = true
  3542. CreateSound(1368573150, RightArm, 3, 1.5)
  3543. for i=0, 2, 0.1 / Animation_Speed do
  3544. Swait()
  3545. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3546. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
  3547. 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)
  3548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(27)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(165), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3550. 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)
  3551. 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)
  3552. end
  3553. local POWER = 1
  3554. repeat
  3555. Swait()
  3556. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*POWER,0,0.01*POWER), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  3557. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3558. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 16)) * ANGLES(RAD(-25), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
  3559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 32)), RAD(0), RAD(30 + 10 * COS(SINE / 14))), 0.15 / Animation_Speed)
  3560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 + 5 * COS(SINE / 21)), RAD(0), RAD(28 + 5 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 25), 0) * ANGLES(RAD(150 + 15 * COS(SINE / 53)), RAD(0), RAD(-15 + 5 * COS(SINE / 43))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3562. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 16), -0.01) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3563. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.1 * COS(SINE / 33), -0.6) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 3 * COS(SINE / 30)), RAD(0), RAD(0 + 7 * COS(SINE / 64))), 0.15 / Animation_Speed)
  3564. POWER = POWER + 0.009
  3565. if POWER >= 6 then
  3566. POWER = 6
  3567. end
  3568. until KEYHOLD == false
  3569. BANISHAOE(Mouse.hit.Position,13*POWER,true)
  3570. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20*POWER,9999,20*POWER), Size2 = VT(0,9999,0), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
  3571. WACKYEFFECT({Time = 60, EffectType = "Block", Size = VT(5*POWER,5*POWER,5*POWER), Size2 = VT(30*POWER,30*POWER,30*POWER), Transparency = 0, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
  3572. for i=0, 1, 0.1 / Animation_Speed do
  3573. Swait()
  3574. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3575. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.6 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
  3576. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3577. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3579. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3580. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.05 * COS(SINE / 12), -0.6) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3581. end
  3582. ATTACK = false
  3583. Rooted = false
  3584. end
  3585.  
  3586. function BulletRoller()
  3587. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3588. if HITFLOOR then
  3589. ATTACK = true
  3590. Rooted = true
  3591. local orip0 = nil
  3592. if script["Mode"].Value ~= "Insane" then
  3593. KarmaGun.Parent = nil
  3594. KarmaGun2.Parent = Character
  3595. elseif script["Mode"].Value == "Insane" then
  3596. orip0 = LeftArmGrasp.Part0
  3597. LeftArmGrasp.Part0 = RightArm
  3598. end
  3599. local bv = Instance.new("BodyVelocity")
  3600. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3601. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
  3602. bv.Parent = RootPart
  3603. local GYRO = IT("BodyGyro",RootPart)
  3604. GYRO.D = 2
  3605. GYRO.P = 20000
  3606. GYRO.MaxTorque = VT(0,4000000,0)
  3607. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  3608. CreateSound(145486992,Torso,10,0.85,false)
  3609. for i=0, 0.05, 0.1 / Animation_Speed do
  3610. Swait()
  3611. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  3612. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  3613. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3614. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3615. if ANIM == "Fall" or ANIM == "Jump" then
  3616. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3617. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3618. else
  3619. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3620. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3621. end
  3622. end
  3623. bv:Remove()
  3624. local E = 360/15
  3625. for i = 1, 15 do
  3626. Swait()
  3627. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3628. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  3629. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  3630. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3631. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3632. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3633. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3634. end
  3635. local LANDED = nil
  3636. local POS = nil
  3637. coroutine.resume(coroutine.create(function()
  3638. repeat
  3639. Swait()
  3640. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3641. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3642. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3643. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3644. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3645. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3646. until LANDED ~= nil
  3647. end))
  3648. repeat
  3649. Swait()
  3650. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  3651. if HITFLOOR then
  3652. LANDED = HITFLOOR
  3653. POS = HITPOS
  3654. end
  3655. until LANDED ~= nil
  3656. GYRO:remove()
  3657. Swait(4)
  3658. ManualAoE(RootPart.Position,10,20,50,0,false)
  3659. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  3660. WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3661. for i = 0, 4 do
  3662. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0.33,0), Size2 = VT(8,0.11,8), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-10,10), RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3663. end
  3664. for i=0, 0.5, 0.1 / Animation_Speed do
  3665. Swait()
  3666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3670. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3671. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3672. end
  3673. repeat
  3674. for i=0, 0.1, 0.05 / Animation_Speed do
  3675. Swait()
  3676. turnto(Mouse.Hit.p)
  3677. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3678. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3679. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3680. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3681. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3682. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3683. end
  3684. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  3685. SpawnTrail(Hole2.Position,POS)
  3686. if HIT ~= nil then
  3687. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3688. Banish(HIT.Parent)
  3689. end
  3690. end
  3691. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3692. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3693. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3694. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3695. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3696. for i=0, 0.075, 0.05 / Animation_Speed do
  3697. Swait()
  3698. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3699. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3700. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3701. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3702. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3703. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3704. end
  3705. until KEYHOLD == false
  3706. ATTACK = false
  3707. Rooted = false
  3708. if script["Mode"].Value ~= "Insane" then
  3709. KarmaGun2.Parent = nil
  3710. KarmaGun.Parent = Character
  3711. elseif script["Mode"].Value == "Insane" then
  3712. LeftArmGrasp.Part0 = orip0
  3713. end
  3714. end
  3715. end
  3716.  
  3717. function GetAttackFromList(Attack)
  3718. if Attack == "bye bye" then
  3719. ByeBye()
  3720. elseif Attack == "his grasp" then
  3721. HisGrasp()
  3722. elseif Attack == "rush" then
  3723. Rush()
  3724. elseif Attack == "the other side of paradise" then
  3725. OtherSideOfParadise()
  3726. elseif Attack == "kristian's last hope" then
  3727. ShatteredHeart()
  3728. elseif Attack == "trust issues" then
  3729. TrustIssues()
  3730. elseif Attack == "smite" then
  3731. KarmaStrike()
  3732. elseif Attack == "debanish" then
  3733. TOBANISH = {}
  3734. chatfunc("You have been freed from the banlands.")
  3735. end
  3736. end
  3737.  
  3738. --//=================================\\
  3739. --|| ASSIGN THINGS TO KEYS
  3740. --\\=================================//
  3741.  
  3742. function MouseDown(Mouse)
  3743. ByeBye()
  3744. end
  3745.  
  3746. function MouseUp(Mouse)
  3747. HOLD = false
  3748. end
  3749.  
  3750. function KeyDown(Key)
  3751. KEYHOLD = true
  3752. if Key == "z" and ATTACK == false then
  3753. HisGrasp()
  3754. end
  3755.  
  3756. if Key == "q" and ATTACK == false then
  3757. Rush()
  3758. end
  3759.  
  3760. if Key == "e" and ATTACK == false then
  3761. BanishBullet()
  3762. end
  3763.  
  3764. if Key == "r" and ATTACK == false then
  3765. BulletRoller()
  3766. end
  3767.  
  3768. if Key == "t" and ATTACK == false then
  3769. Taunt()
  3770. end
  3771.  
  3772. if Key == "y" and ATTACK == false then
  3773. if script["Mode"].Value == "Insane" then
  3774. KarmaStrike()
  3775. end
  3776. end
  3777.  
  3778. if Key == "f" and ATTACK == false then
  3779. OtherSideOfParadise()
  3780. end
  3781.  
  3782. if Key == "g" and ATTACK == false then
  3783. ShatteredHeart()
  3784. end
  3785.  
  3786. if Key == "h" and ATTACK == false then
  3787. TrustIssues()
  3788. end
  3789.  
  3790. if Key == "x" and ATTACK == false then
  3791. TOBANISH = {}
  3792. chatfunc("You have been freed from the banlands.")
  3793. end
  3794.  
  3795. if Key == "j" and ATTACK == false then
  3796. script["Mode"].Value = "Karma"
  3797. end
  3798.  
  3799. if Key == "k" and ATTACK == false then
  3800. script["Mode"].Value = "ByeBye"
  3801. end
  3802.  
  3803. if Key == "l" and ATTACK == false then
  3804. script["Mode"].Value = "Insane"
  3805. end
  3806. end
  3807.  
  3808. function KeyUp(Key)
  3809. KEYHOLD = false
  3810. end
  3811.  
  3812. function Chatted(Message)
  3813. Message = Message:lower()
  3814. if ATTACK == false then
  3815. for i, attackFromList in ipairs(ATTACKLIST) do
  3816. local AttackFromList = attackFromList:lower()
  3817. if Message:sub(1, #AttackFromList) == AttackFromList then
  3818. GetAttackFromList(AttackFromList)
  3819. end
  3820. end
  3821. end
  3822. end
  3823.  
  3824. Mouse.Button1Down:connect(function(NEWKEY)
  3825. MouseDown(NEWKEY)
  3826. end)
  3827. Mouse.Button1Up:connect(function(NEWKEY)
  3828. MouseUp(NEWKEY)
  3829. end)
  3830. Mouse.KeyDown:connect(function(NEWKEY)
  3831. KeyDown(NEWKEY)
  3832. end)
  3833. Mouse.KeyUp:connect(function(NEWKEY)
  3834. KeyUp(NEWKEY)
  3835. end)
  3836. Player.Chatted:connect(function(NEWMESSAGE)
  3837. Chatted(NEWMESSAGE)
  3838. end)
  3839.  
  3840. --//=================================\\
  3841. --\\=================================//
  3842.  
  3843. function unanchor()
  3844. if UNANCHOR == true then
  3845. local g = Character:GetChildren()
  3846. for i = 1, #g do
  3847. if g[i].ClassName == "Part" then
  3848. g[i].Anchored = false
  3849. end
  3850. end
  3851. end
  3852. end
  3853.  
  3854.  
  3855. --//=================================\\
  3856. --|| WRAP THE WHOLE SCRIPT UP
  3857. --\\=================================//
  3858.  
  3859. Humanoid.Changed:connect(function(Jump)
  3860. if Jump == "Jump" and (Disable_Jump == true) then
  3861. Humanoid.Jump = false
  3862. end
  3863. end)
  3864.  
  3865. while true do
  3866. Swait()
  3867. ANIMATE.Parent = nil
  3868. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3869. IDLEANIMATION:Play()
  3870. neccc = MRANDOM(1, 4)
  3871. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3872. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3873. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3874. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3875. local WALKSPEEDVALUE = 0
  3876. if Speed < 35 then
  3877. WALKSPEEDVALUE = 6
  3878. else
  3879. WALKSPEEDVALUE = 3
  3880. end
  3881. for _,v in next, Hearts do
  3882. local part,mesh,count = v[1],v[2],v[3]
  3883. part.Color = C3(r / 255, g / 255, b / 255)
  3884. mesh.Scale = VT(GetClientProperty(sick,'PlaybackLoudness')/125,GetClientProperty(sick,'PlaybackLoudness')/125,1)
  3885. end
  3886. local sickPlaybackLoudness = GetClientProperty(sick,'PlaybackLoudness')
  3887. if(script["Mode"].Value ~= "Insane")then
  3888. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  3889. 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 * (1) / Animation_Speed)
  3890. 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)
  3891. if Speed < 35 then
  3892. 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(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3893. 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(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3894. else
  3895. 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(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3896. 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(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3897. end
  3898. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  3899. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3900. 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)
  3901. 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)
  3902. 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)
  3903. end
  3904. end
  3905. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3906. ANIM = "Jump"
  3907. if ATTACK == false then
  3908. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3909. 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)
  3910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3912. 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)
  3913. 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)
  3914. end
  3915. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3916. ANIM = "Fall"
  3917. if ATTACK == false then
  3918. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3919. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3920. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3921. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3922. 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)
  3923. 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)
  3924. end
  3925. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3926. ANIM = "Idle"
  3927. if ATTACK == false then
  3928. if(script["Mode"].Value ~= "Insane")then
  3929. local bouncyboi = sickPlaybackLoudness / 1200
  3930. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12) + bouncyboi) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3932. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5 + sickPlaybackLoudness / 1200, -0.3) * ANGLES(RAD(-200), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3933. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12) - bouncyboi, -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3934. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) - bouncyboi, -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3935. 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)
  3936. if MRANDOM(1, 10) == 1 then
  3937. 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)
  3938. end
  3939. elseif(script["Mode"].Value == "Insane")then
  3940. if MRANDOM(1, 10) == 1 then
  3941. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*3,0,0.01*3), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  3942. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3943. end
  3944. local bouncyboi = sickPlaybackLoudness / 1000
  3945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 16) + bouncyboi) * ANGLES(RAD(-25), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
  3946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 32)), RAD(0), RAD(30 + 10 * COS(SINE / 14))), 0.15 / Animation_Speed)
  3947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 + 5 * COS(SINE / 21)), RAD(0), RAD(28 + 5 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 25) + sickPlaybackLoudness / 1200, 0) * ANGLES(RAD(150 + 15 * COS(SINE / 53)), RAD(0), RAD(-15 + 5 * COS(SINE / 43))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3949. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 16) - bouncyboi, -0.01) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3950. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.1 * COS(SINE / 33) - bouncyboi, -0.6) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 3 * COS(SINE / 30)), RAD(0), RAD(0 + 7 * COS(SINE / 64))), 0.15 / Animation_Speed)
  3951. end
  3952. end
  3953. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  3954. ANIM = "Walk"
  3955. WALK = WALK + 1 / Animation_Speed
  3956. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3957. WALK = 0
  3958. if WALKINGANIM == true then
  3959. WALKINGANIM = false
  3960. elseif WALKINGANIM == false then
  3961. WALKINGANIM = true
  3962. end
  3963. end
  3964. --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(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3965. --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(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3966. if ATTACK == false then
  3967. if(script["Mode"].Value ~= "Insane")then
  3968. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3969. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3970. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(-200), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3971. 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)
  3972. 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)
  3973. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20 + MRANDOM(-5,5) - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  3974. if MRANDOM(1,10) == 1 then
  3975. 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)
  3976. end
  3977. elseif(script["Mode"].Value == "Insane")then
  3978. Neck.C0 = Clerp(Neck.C0,CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)*ANGLES(RAD(-17 - 5 * COS(SINE / 52)),RAD(0 - 3 * COS(SINE / 37)),RAD(0 + 2 * COS(SINE / 78))),.2)
  3979. RightShoulder.C0 = Clerp(RightShoulder.C0,CF(1.5,0.5 + 0.05 * COS(SINE / 28),0)*ANGLES(RAD(-8 - 4 * COS(SINE / 59)),RAD(-20 + 7 * COS(SINE / 62)),RAD(20 + 5 * COS(SINE / 50))),.2)
  3980. RootJoint.C0 = Clerp(RootJoint.C0,EULER(-1.57,0,3.14)*CF(0 - 0.15 * COS(SINE / 47),-0.5,0.5 + 0.1 * COS(SINE / 28))*ANGLES(RAD(70),RAD(0 - RootPart.RotVelocity.Y),RAD(0 - RootPart.RotVelocity.Y *4.5 + 3 * COS(SINE / 47))),.2)
  3981. LeftShoulder.C0 = Clerp(LeftShoulder.C0,CF(-1.5,0.5 + 0.1 * COS(SINE / 28),0)*ANGLES(RAD(-8 - 3 * COS(SINE / 55)),RAD(20 + 8 * COS(SINE / 67)),RAD(-20 - 4 * COS(SINE / 29))),.2)
  3982. RightHip.C0 = Clerp(RightHip.C0,CF(1,-0.5,-0.6)*ANGLES(RAD(0),RAD(90),RAD(0))*ANGLES(RAD(1.5),RAD(0),RAD(-20 - 5 * COS(SINE / 34))),.2)
  3983. LeftHip.C0 = Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(RAD(0),RAD(-90),RAD(0))*ANGLES(RAD(1),RAD(0),RAD(20 + 2 * COS(SINE / 38))),.2)
  3984. if MRANDOM(1,10) == 1 then
  3985. 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)
  3986. end
  3987. end
  3988. end
  3989. end
  3990. unanchor()
  3991. for _, c in pairs(HornFolder:GetChildren()) do
  3992. c.Color = C3(r / 255, g / 255, b / 255) -- BrickColor.Random().Color
  3993. end
  3994. for _, c in pairs(faceShadingFolder:GetChildren()) do
  3995. c.Color = C3(r / 255, g / 255, b / 255)
  3996. end
  3997. for i, v in pairs(NeonParts) do
  3998. v.Color = BrickColor.Random().Color
  3999. end
  4000. for i, v in pairs(ArmourParts) do
  4001. v.Color = C3(r / 255, g / 255, b / 255)
  4002. end
  4003. for _, c in pairs(Character:GetChildren()) do
  4004. if c:IsA('CharacterMesh') then
  4005. c:Destroy()
  4006. end
  4007. end
  4008. if(script["Mode"].Value == "ByeBye")then
  4009. if(sick.TimePosition > 47.0) then
  4010. sick.TimePosition = 0
  4011. end
  4012. end
  4013. if(script["Mode"].Value == "Karma")then
  4014. sick.SoundId = "rbxassetid://"..SONG1
  4015. elseif(script["Mode"].Value == "ByeBye")then
  4016. sick.SoundId = "rbxassetid://"..SONG2
  4017. elseif(script["Mode"].Value == "Insane")then
  4018. sick.SoundId = "rbxassetid://"..SONG3
  4019. end
  4020. sideLabel.Text = "Side: " .. script["Mode"].Value
  4021. if ATTACK == false then
  4022. if(script["Mode"].Value ~= "Insane")then
  4023. LeftArmGrasp.Part0 = RightArm
  4024. KarmaGun2.Parent = nil
  4025. KarmaGun.Parent = Character
  4026. elseif(script["Mode"].Value == "Insane")then
  4027. LeftArmGrasp.Part0 = LeftArm
  4028. KarmaGun2.Parent = Character
  4029. KarmaGun.Parent = nil
  4030. end
  4031. end
  4032. local fontNum = MRANDOM(1, 17)
  4033. for _, label in pairs(WEAPONGUI:GetDescendants()) do
  4034. if label:IsA("TextLabel") then
  4035. label.TextColor3 = BrickColor.Random().Color
  4036. label.TextScaled = true
  4037. label.Font = FONTS[MRANDOM(1, #FONTS)]
  4038. end
  4039. end
  4040. techc.Rotation = techc.Rotation + 1
  4041. techc.ImageColor3 = C3(r / 255, g / 255, b / 255)
  4042. circl.Rotation = circl.Rotation - sickPlaybackLoudness/75 - 1
  4043. circl.ImageColor3 = C3(r / 255, g / 255, b / 255)
  4044. circl2.Rotation = circl2.Rotation + sickPlaybackLoudness/50 + 1
  4045. circl2.ImageColor3 = C3(r / 255, g / 255, b / 255)
  4046. imgl2.Rotation = imgl2.Rotation - sickPlaybackLoudness/50 + 1
  4047. imgl2.ImageColor3 = BrickColor.Random().Color
  4048. imgl2b.Rotation = imgl2b.Rotation + sickPlaybackLoudness/25 - 1
  4049. imgl2b.ImageColor3 = BrickColor.Random().Color
  4050. ned.Rotation = 0 - 2 * math.cos(SINE / 24)
  4051. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(SINE / 32),0.8,0 - 10 * math.cos(SINE / 45))
  4052. Humanoid.MaxHealth = "inf"
  4053. Humanoid.Health = "inf"
  4054. if Rooted == false then
  4055. Disable_Jump = false
  4056. Humanoid.WalkSpeed = Speed
  4057. elseif Rooted == true then
  4058. Disable_Jump = true
  4059. Humanoid.WalkSpeed = 0
  4060. end
  4061. local MATHS = {"0","1"}
  4062. 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)]
  4063. Humanoid.PlatformStand = false
  4064. MAINRUINCOLOR = BrickColor.Random()
  4065. end
  4066.  
  4067. --//=================================\\
  4068. --\\=================================//
  4069.  
  4070.  
  4071.  
  4072.  
  4073.  
  4074. --//====================================================\\--
  4075. --|| END OF SCRIPT
  4076. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment