Advertisement
Goo345

Untitled

Aug 5th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.05 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5.  
  6. --//====================================================\\--
  7. --|| CREATED BY SHACKLUSTER
  8. --\\====================================================//--
  9.  
  10.  
  11.  
  12. wait(0.2)
  13.  
  14.  
  15.  
  16. Player = game:GetService("Players").LocalPlayer
  17. PlayerGui = Player.PlayerGui
  18. Cam = workspace.CurrentCamera
  19. Backpack = Player.Backpack
  20. Character = Player.Character
  21. Humanoid = Character.Humanoid
  22. Mouse = Player:GetMouse()
  23. RootPart = Character["HumanoidRootPart"]
  24. Torso = Character["Torso"]
  25. Head = Character["Head"]
  26. RightArm = Character["Right Arm"]
  27. LeftArm = Character["Left Arm"]
  28. RightLeg = Character["Right Leg"]
  29. LeftLeg = Character["Left Leg"]
  30. RootJoint = RootPart["RootJoint"]
  31. Neck = Torso["Neck"]
  32. RightShoulder = Torso["Right Shoulder"]
  33. LeftShoulder = Torso["Left Shoulder"]
  34. RightHip = Torso["Right Hip"]
  35. LeftHip = Torso["Left Hip"]
  36. local sick = Instance.new("Sound",Character)
  37. sick.SoundId = "rbxassetid://608726256"
  38. sick.Looped = true
  39. sick.Pitch = 0.7
  40. sick.Volume = 1
  41. sick:Play()
  42. script.Parent = PlayerGui
  43. script.Name = "Sin Ultimate"
  44.  
  45. IT = Instance.new
  46. CF = CFrame.new
  47. VT = Vector3.new
  48. RAD = math.rad
  49. C3 = Color3.new
  50. UD2 = UDim2.new
  51. BRICKC = BrickColor.new
  52. ANGLES = CFrame.Angles
  53. EULER = CFrame.fromEulerAnglesXYZ
  54. COS = math.cos
  55. ACOS = math.acos
  56. SIN = math.sin
  57. ASIN = math.asin
  58. ABS = math.abs
  59. MRANDOM = math.random
  60. FLOOR = math.floor
  61.  
  62. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  63. local NEWMESH = IT(MESH)
  64. if MESH == "SpecialMesh" then
  65. NEWMESH.MeshType = MESHTYPE
  66. if MESHID ~= "nil" and MESHID ~= "" then
  67. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  68. end
  69. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  70. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  71. end
  72. end
  73. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  74. NEWMESH.Scale = SCALE
  75. NEWMESH.Parent = PARENT
  76. return NEWMESH
  77. end
  78.  
  79. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  80. local NEWPART = IT("Part")
  81. NEWPART.formFactor = FORMFACTOR
  82. NEWPART.Reflectance = REFLECTANCE
  83. NEWPART.Transparency = TRANSPARENCY
  84. NEWPART.CanCollide = false
  85. NEWPART.Locked = true
  86. NEWPART.Anchored = true
  87. if ANCHOR == false then
  88. NEWPART.Anchored = false
  89. end
  90. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  91. NEWPART.Name = NAME
  92. NEWPART.Size = SIZE
  93. NEWPART.Position = Torso.Position
  94. NEWPART.Material = MATERIAL
  95. NEWPART:BreakJoints()
  96. NEWPART.Parent = PARENT
  97. return NEWPART
  98. end
  99.  
  100. --//=================================\\
  101. --|| CUSTOMIZATION
  102. --\\=================================//
  103.  
  104. Player_Size = 1 --Size of the player.
  105. Animation_Speed = 3
  106. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  107.  
  108. local Speed = 16
  109. local Effects2 = {}
  110.  
  111. --//=================================\\
  112. --|| END OF CUSTOMIZATION
  113. --\\=================================//
  114.  
  115. local function weldBetween(a, b)
  116. local weldd = Instance.new("ManualWeld")
  117. weldd.Part0 = a
  118. weldd.Part1 = b
  119. weldd.C0 = CFrame.new()
  120. weldd.C1 = b.CFrame:inverse() * a.CFrame
  121. weldd.Parent = a
  122. return weldd
  123. end
  124.  
  125. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  126. local acs = Instance.new("Part")
  127. acs.CanCollide = false
  128. acs.Anchored = false
  129. acs.Size = Vector3.new(0,0,0)
  130. acs.CFrame = attachmentpart.CFrame
  131. acs.Parent = Character
  132. acs.BrickColor = color
  133. local meshs = Instance.new("SpecialMesh")
  134. meshs.MeshId = mesh
  135. meshs.TextureId = texture
  136. meshs.Parent = acs
  137. meshs.Scale = scale
  138. meshs.Offset = offset
  139. weldBetween(attachmentpart,acs)
  140. end
  141.  
  142. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  143. if TYPE == "Gem" then
  144. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  145. acs.Anchored = false
  146. acs.CanCollide = false
  147. acs.CFrame = PART.CFrame
  148. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  149. weldBetween(PART,acs)
  150. elseif TYPE == "Skull" then
  151. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  152. acs.Anchored = false
  153. acs.CanCollide = false
  154. acs.CFrame = PART.CFrame
  155. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  156. weldBetween(PART,acs)
  157. elseif TYPE == "Eye" then
  158. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  159. acs.Anchored = false
  160. acs.CanCollide = false
  161. acs.CFrame = PART.CFrame
  162. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  163. weldBetween(PART,acs)
  164. end
  165. end
  166.  
  167. --//=================================\\
  168. --|| USEFUL VALUES
  169. --\\=================================//
  170.  
  171. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  172. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  173. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  174. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  175. local CHANGEDEFENSE = 0
  176. local CHANGEDAMAGE = 0
  177. local CHANGEMOVEMENT = 0
  178. local ANIM = "Idle"
  179. local ATTACK = false
  180. local EQUIPPED = false
  181. local HOLD = false
  182. local COMBO = 1
  183. local Rooted = false
  184. local SINE = 0
  185. local KEYHOLD = false
  186. local CHANGE = 2 / Animation_Speed
  187. local WALKINGANIM = false
  188. local WALK = 0
  189. local VALUE1 = false
  190. local VALUE2 = false
  191. local ROBLOXIDLEANIMATION = IT("Animation")
  192. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  193. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  194. --ROBLOXIDLEANIMATION.Parent = Humanoid
  195. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  196. WEAPONGUI.Name = "Weapon GUI"
  197. local Weapon = IT("Model")
  198. Weapon.Name = "Adds"
  199. local Effects = IT("Folder", Weapon)
  200. Effects.Name = "Effects"
  201. local ANIMATOR = Humanoid.Animator
  202. local ANIMATE = Character.Animate
  203. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  204. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  205. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  206. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  207. local UNANCHOR = true
  208.  
  209. local SKILLTEXTCOLOR = BRICKC"Maroon".Color
  210.  
  211. --//=================================\\
  212. --\\=================================//
  213.  
  214.  
  215. --//=================================\\
  216. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  217. --\\=================================//
  218.  
  219. ArtificialHB = Instance.new("BindableEvent", script)
  220. ArtificialHB.Name = "ArtificialHB"
  221.  
  222. script:WaitForChild("ArtificialHB")
  223.  
  224. frame = Frame_Speed
  225. tf = 0
  226. allowframeloss = false
  227. tossremainder = false
  228. lastframe = tick()
  229. script.ArtificialHB:Fire()
  230.  
  231. game:GetService("RunService").Heartbeat:connect(function(s, p)
  232. tf = tf + s
  233. if tf >= frame then
  234. if allowframeloss then
  235. script.ArtificialHB:Fire()
  236. lastframe = tick()
  237. else
  238. for i = 1, math.floor(tf / frame) do
  239. script.ArtificialHB:Fire()
  240. end
  241. lastframe = tick()
  242. end
  243. if tossremainder then
  244. tf = 0
  245. else
  246. tf = tf - frame * math.floor(tf / frame)
  247. end
  248. end
  249. end)
  250.  
  251. --//=================================\\
  252. --\\=================================//
  253.  
  254.  
  255.  
  256.  
  257.  
  258. --//=================================\\
  259. --|| SOME FUNCTIONS
  260. --\\=================================//
  261.  
  262. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  263. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  264. end
  265.  
  266. function PositiveAngle(NUMBER)
  267. if NUMBER >= 0 then
  268. NUMBER = 0
  269. end
  270. return NUMBER
  271. end
  272.  
  273. function NegativeAngle(NUMBER)
  274. if NUMBER <= 0 then
  275. NUMBER = 0
  276. end
  277. return NUMBER
  278. end
  279.  
  280. function Swait(NUMBER)
  281. if NUMBER == 0 or NUMBER == nil then
  282. ArtificialHB.Event:wait()
  283. else
  284. for i = 1, NUMBER do
  285. ArtificialHB.Event:wait()
  286. end
  287. end
  288. end
  289.  
  290. function QuaternionFromCFrame(cf)
  291. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  292. local trace = m00 + m11 + m22
  293. if trace > 0 then
  294. local s = math.sqrt(1 + trace)
  295. local recip = 0.5 / s
  296. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  297. else
  298. local i = 0
  299. if m11 > m00 then
  300. i = 1
  301. end
  302. if m22 > (i == 0 and m00 or m11) then
  303. i = 2
  304. end
  305. if i == 0 then
  306. local s = math.sqrt(m00 - m11 - m22 + 1)
  307. local recip = 0.5 / s
  308. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  309. elseif i == 1 then
  310. local s = math.sqrt(m11 - m22 - m00 + 1)
  311. local recip = 0.5 / s
  312. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  313. elseif i == 2 then
  314. local s = math.sqrt(m22 - m00 - m11 + 1)
  315. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  316. end
  317. end
  318. end
  319.  
  320. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  321. local xs, ys, zs = x + x, y + y, z + z
  322. local wx, wy, wz = w * xs, w * ys, w * zs
  323. local xx = x * xs
  324. local xy = x * ys
  325. local xz = x * zs
  326. local yy = y * ys
  327. local yz = y * zs
  328. local zz = z * zs
  329. 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))
  330. end
  331.  
  332. function QuaternionSlerp(a, b, t)
  333. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  334. local startInterp, finishInterp;
  335. if cosTheta >= 0.0001 then
  336. if (1 - cosTheta) > 0.0001 then
  337. local theta = ACOS(cosTheta)
  338. local invSinTheta = 1 / SIN(theta)
  339. startInterp = SIN((1 - t) * theta) * invSinTheta
  340. finishInterp = SIN(t * theta) * invSinTheta
  341. else
  342. startInterp = 1 - t
  343. finishInterp = t
  344. end
  345. else
  346. if (1 + cosTheta) > 0.0001 then
  347. local theta = ACOS(-cosTheta)
  348. local invSinTheta = 1 / SIN(theta)
  349. startInterp = SIN((t - 1) * theta) * invSinTheta
  350. finishInterp = SIN(t * theta) * invSinTheta
  351. else
  352. startInterp = t - 1
  353. finishInterp = t
  354. end
  355. end
  356. 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
  357. end
  358.  
  359. function Clerp(a, b, t)
  360. local qa = {QuaternionFromCFrame(a)}
  361. local qb = {QuaternionFromCFrame(b)}
  362. local ax, ay, az = a.x, a.y, a.z
  363. local bx, by, bz = b.x, b.y, b.z
  364. local _t = 1 - t
  365. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  366. end
  367.  
  368. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  369. local frame = IT("Frame")
  370. frame.BackgroundTransparency = TRANSPARENCY
  371. frame.BorderSizePixel = BORDERSIZEPIXEL
  372. frame.Position = POSITION
  373. frame.Size = SIZE
  374. frame.BackgroundColor3 = COLOR
  375. frame.BorderColor3 = BORDERCOLOR
  376. frame.Name = NAME
  377. frame.Parent = PARENT
  378. return frame
  379. end
  380.  
  381. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  382. local label = IT("TextLabel")
  383. label.BackgroundTransparency = 1
  384. label.Size = UD2(1, 0, 1, 0)
  385. label.Position = UD2(0, 0, 0, 0)
  386. label.TextColor3 = TEXTCOLOR
  387. label.TextStrokeTransparency = STROKETRANSPARENCY
  388. label.TextTransparency = TRANSPARENCY
  389. label.FontSize = TEXTFONTSIZE
  390. label.Font = TEXTFONT
  391. label.BorderSizePixel = BORDERSIZEPIXEL
  392. label.TextScaled = false
  393. label.Text = TEXT
  394. label.Name = NAME
  395. label.Parent = PARENT
  396. return label
  397. end
  398.  
  399. function NoOutlines(PART)
  400. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  401. end
  402.  
  403.  
  404. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  405. local NEWWELD = IT(TYPE)
  406. NEWWELD.Part0 = PART0
  407. NEWWELD.Part1 = PART1
  408. NEWWELD.C0 = C0
  409. NEWWELD.C1 = C1
  410. NEWWELD.Parent = PARENT
  411. return NEWWELD
  412. end
  413.  
  414. local sound = IT("Sound",nil)
  415.  
  416. function CreateSound(ID, PARENT, VOLUME, PITCH)
  417. local NEWSOUND = nil
  418. coroutine.resume(coroutine.create(function()
  419. NEWSOUND = sound:Clone()
  420. NEWSOUND.Parent = PARENT
  421. NEWSOUND.Volume = VOLUME
  422. NEWSOUND.Pitch = PITCH
  423. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  424. Swait()
  425. NEWSOUND:play()
  426. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  427. end))
  428. return NEWSOUND
  429. end
  430.  
  431. function CFrameFromTopBack(at, top, back)
  432. local right = top:Cross(back)
  433. 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)
  434. end
  435.  
  436. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  437. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  438. local mesh = IT("SpecialMesh",wave)
  439. mesh.MeshType = "FileMesh"
  440. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  441. mesh.Scale = SIZE
  442. mesh.Offset = VT(0,0,-SIZE.X/8)
  443. wave.CFrame = CFRAME
  444. coroutine.resume(coroutine.create(function(PART)
  445. for i = 1, WAIT do
  446. Swait()
  447. mesh.Scale = mesh.Scale + GROW
  448. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  449. if DOESROT == true then
  450. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  451. end
  452. wave.Transparency = wave.Transparency + (0.5/WAIT)
  453. if wave.Transparency > 0.99 then
  454. wave:remove()
  455. end
  456. end
  457. end))
  458. end
  459.  
  460. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  461. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  462. local mesh = IT("SpecialMesh",wave)
  463. mesh.MeshType = "FileMesh"
  464. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  465. mesh.Scale = SIZE
  466. mesh.Offset = VT(0,0,0)
  467. wave.CFrame = CFRAME
  468. coroutine.resume(coroutine.create(function(PART)
  469. for i = 1, WAIT do
  470. Swait()
  471. mesh.Scale = mesh.Scale + GROW
  472. if DOESROT == true then
  473. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  474. end
  475. wave.Transparency = wave.Transparency + (0.5/WAIT)
  476. if wave.Transparency > 0.99 then
  477. wave:remove()
  478. end
  479. end
  480. end))
  481. end
  482.  
  483. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  484. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  485. local mesh = IT("SpecialMesh",wave)
  486. mesh.MeshType = "Sphere"
  487. mesh.Scale = SIZE
  488. mesh.Offset = VT(0,0,0)
  489. wave.CFrame = CFRAME
  490. coroutine.resume(coroutine.create(function(PART)
  491. for i = 1, WAIT do
  492. Swait()
  493. mesh.Scale = mesh.Scale + GROW
  494. wave.Transparency = wave.Transparency + (1/WAIT)
  495. if wave.Transparency > 0.99 then
  496. wave:remove()
  497. end
  498. end
  499. end))
  500. end
  501.  
  502. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  503. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  504. local mesh = IT("BlockMesh",wave)
  505. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  506. coroutine.resume(coroutine.create(function(PART)
  507. for i = 1, WAIT do
  508. Swait()
  509. mesh.Scale = mesh.Scale + GROW
  510. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  511. wave.Transparency = wave.Transparency + (1/WAIT)
  512. if wave.Transparency > 0.99 then
  513. wave:remove()
  514. end
  515. end
  516. end))
  517. end
  518.  
  519. function MakeForm(PART,TYPE)
  520. if TYPE == "Cyl" then
  521. local MSH = IT("CylinderMesh",PART)
  522. elseif TYPE == "Ball" then
  523. local MSH = IT("SpecialMesh",PART)
  524. MSH.MeshType = "Sphere"
  525. elseif TYPE == "Wedge" then
  526. local MSH = IT("SpecialMesh",PART)
  527. MSH.MeshType = "Wedge"
  528. elseif TYPE == "Gem" then
  529. CreateMesh("SpecialMesh", PART, "FileMesh", "9756362", "", PART.Size, VT(0,0,0))
  530. end
  531. end
  532.  
  533. function CheckTableForString(Table, String)
  534. for i, v in pairs(Table) do
  535. if string.find(string.lower(String), string.lower(v)) then
  536. return true
  537. end
  538. end
  539. return false
  540. end
  541.  
  542. function CheckIntangible(Hit)
  543. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  544. if Hit and Hit.Parent then
  545. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  546. return true
  547. end
  548. end
  549. return false
  550. end
  551.  
  552. Debris = game:GetService("Debris")
  553.  
  554. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  555. if FLOOR ~= nil then
  556. coroutine.resume(coroutine.create(function()
  557. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  558. PART.CFrame = CF(POSITION)
  559. for i = 1, 45 do
  560. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  561. RingPiece.Material = FLOOR.Material
  562. RingPiece.Color = FLOOR.Color
  563. 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)))
  564. Debris:AddItem(RingPiece,SWAIT/100)
  565. end
  566. PART:remove()
  567. end))
  568. end
  569. end
  570.  
  571. function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset)
  572. local sinkhole = IT("Part",Effects)
  573. sinkhole.Size = VT(size,0,size)
  574. sinkhole.CFrame = cframe * CF(0,offset,0)
  575. sinkhole.Material = "Neon"
  576. sinkhole.Color = C3(1,0,0)
  577. sinkhole.Anchored = true
  578. sinkhole.CanCollide = false
  579. sinkhole.Transparency = 1
  580. local decal = IT("Decal",sinkhole)
  581. decal.Face = "Top"
  582. decal.Texture = "http://www.roblox.com/asset/?id=818983932"
  583. coroutine.resume(coroutine.create(function(PART)
  584. for i = 1, waitt do
  585. Swait()
  586. if doesrotate == true then
  587. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  588. end
  589. if i > waitt-11 then
  590. decal.Transparency = decal.Transparency + 0.1
  591. end
  592. end
  593. sinkhole:remove()
  594. end))
  595. return sinkhole
  596. end
  597.  
  598. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  599. local Direction = CFrame.new(StartPos, Vec).lookVector
  600. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  601. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  602. if RayHit and CheckIntangible(RayHit) then
  603. if DelayIfHit then
  604. wait()
  605. end
  606. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  607. end
  608. return RayHit, RayPos, RayNormal
  609. end
  610.  
  611. function turnto(position)
  612. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  613. end
  614.  
  615. --//=================================\\
  616. --|| WEAPON CREATION
  617. --\\=================================//
  618.  
  619. function CreateNeonCircle(ATTACHPART,POSITION,SIZE,DOESSPIN,COLOR,MATERIAL,THICKNESS,WIDTH)
  620. local PART = CreatePart(3, Weapon, MATERIAL, 0, 1, COLOR, "CirclePart", VT(0,0,0),false)
  621. for i = 1, 45 do
  622. local RingPiece = CreatePart(3, Weapon, MATERIAL, 0, 0, COLOR, "CirclePart", VT(THICKNESS,WIDTH,SIZE*0.65),false)
  623. local RingWeld = CreateWeldOrSnapOrMotor("Weld", RingPiece, PART, RingPiece, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*8), RAD(0)), CF(0, 0, 0) * CF(SIZE*4, 0, 0))
  624. end
  625. local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * ANGLES(RAD(0), RAD(0), RAD(0)),CF(0, 0, 0))
  626. coroutine.resume(coroutine.create(function()
  627. --[[if DOESSPIN == true then
  628. while true do
  629. wait()
  630. PartWeld.C0 = Clerp(PartWeld.C0, POSITION * ANGLES(RAD(0), RAD(SINE*2), RAD(0)), 1)
  631. end
  632. end]]--
  633. end))
  634. end
  635.  
  636. local naeeym2 = Instance.new("BillboardGui",Character)
  637. naeeym2.AlwaysOnTop = true
  638. naeeym2.Size = UDim2.new(5,35,2,35)
  639. naeeym2.StudsOffset = Vector3.new(0,3,0)
  640. naeeym2.Adornee = Character.Head
  641. naeeym2.Name = "Name"
  642. naeeym2.PlayerToHideFrom = Player
  643. local tecks2 = Instance.new("TextLabel",naeeym2)
  644. tecks2.BackgroundTransparency = 1
  645. tecks2.TextScaled = true
  646. tecks2.BorderSizePixel = 0
  647. tecks2.Text = "Sin Ultimate"
  648. tecks2.Font = "Antique"
  649. tecks2.TextSize = 30
  650. tecks2.TextStrokeTransparency = 0.9
  651. tecks2.TextColor3 = Color3.new(0,0,0)
  652. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  653. tecks2.Size = UDim2.new(1,0,0.5,0)
  654. tecks2.Parent = naeeym2
  655.  
  656. Humanoid.DisplayDistanceType = "None"
  657. Humanoid.Name = "Sin"
  658.  
  659. local Shield = IT("Part",Weapon)
  660. Shield.Name = "Barrier"
  661. Shield.Shape = "Ball"
  662. Shield.Material = "Neon"
  663. Shield.Color = C3(1,0,0)
  664. Shield.Transparency = 0.8
  665. Shield.Size = VT(0.5,0.5,0.5)
  666. local mesh = IT("SpecialMesh",Shield)
  667. mesh.MeshType = "Sphere"
  668. mesh.Scale = VT(13,13,13)
  669. Shield.CFrame = RootPart.CFrame
  670. weldBetween(RootPart,Shield)
  671.  
  672. local COLOR = "Maroon"
  673. local COLOR2 = "Really black"
  674.  
  675. local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  676. local mesh = Instance.new("SpecialMesh",gear)
  677. mesh.MeshType = "FileMesh"
  678. mesh.MeshId = "rbxassetid://156292343"
  679. mesh.Scale = VT(10,10,10)
  680. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  681. local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  682. local mesh = Instance.new("SpecialMesh",gear)
  683. mesh.MeshType = "FileMesh"
  684. mesh.MeshId = "rbxassetid://156292343"
  685. mesh.Scale = VT(7,7,7)
  686. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 6 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  687. local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  688. local mesh = Instance.new("SpecialMesh",gear)
  689. mesh.MeshType = "FileMesh"
  690. mesh.MeshId = "rbxassetid://156292343"
  691. mesh.Scale = VT(5,5,5)
  692. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 8 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  693. local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,6*Player_Size,1*Player_Size),false)
  694. local mesh = Instance.new("SpecialMesh",BottomPart)
  695. mesh.MeshType = "Sphere"
  696. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  697.  
  698. --CreateNeonCircle(RootPart,CF(0,2,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.7,false,COLOR,"Neon",0.2,0.2)
  699. --CreateNeonCircle(RootPart,CF(0,1.5,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.8,false,COLOR,"Neon",0.2,0.2)
  700. --CreateNeonCircle(RootPart,CF(0,1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.85,false,COLOR,"Neon",0.2,0.2)
  701. CreateNeonCircle(Head,CF(0,-0.55,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.07,false,COLOR,"Neon",0.05,0.05)
  702. CreateNeonCircle(RootPart,CF(0,4.4,0)*ANGLES(RAD(0),RAD(0),RAD(0)),1,true,COLOR,"Neon",0,0)
  703. CreateNeonCircle(RootPart,CF(0,3.7,0)*ANGLES(RAD(0),RAD(0),RAD(0)),1,true,COLOR,"Neon",0,0)
  704.  
  705. local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false)
  706. local mesh = Instance.new("SpecialMesh",gear)
  707. mesh.MeshType = "FileMesh"
  708. mesh.MeshId = "rbxassetid://156292343"
  709. mesh.Scale = VT(10,10,10)
  710. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0, 0, -3.3) * ANGLES(RAD(0), RAD(70), RAD(0)), CF(0, 0, 0))
  711. local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false)
  712. local mesh = Instance.new("SpecialMesh",gear)
  713. mesh.MeshType = "FileMesh"
  714. mesh.MeshId = "rbxassetid://156292343"
  715. mesh.Scale = VT(7,7,7)
  716. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0, 0, -4.3) * ANGLES(RAD(0), RAD(70), RAD(0)), CF(0, 0, 0))
  717.  
  718. local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false)
  719. local mesh = Instance.new("SpecialMesh",gear)
  720. mesh.MeshType = "FileMesh"
  721. mesh.MeshId = "rbxassetid://156292343"
  722. mesh.Scale = VT(10,10,10)
  723. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0, 0, -3.3) * ANGLES(RAD(0), RAD(-70), RAD(0)), CF(0, 0, 0))
  724. local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false)
  725. local mesh = Instance.new("SpecialMesh",gear)
  726. mesh.MeshType = "FileMesh"
  727. mesh.MeshId = "rbxassetid://156292343"
  728. mesh.Scale = VT(7,7,7)
  729. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0, 0, -4.3) * ANGLES(RAD(0), RAD(-70), RAD(0)), CF(0, 0, 0))
  730.  
  731. local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, COLOR2, "Handle", VT(1*Player_Size,4*Player_Size,1*Player_Size),false)
  732. MakeForm(BottomPart,"Cyl")
  733. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  734.  
  735. local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, COLOR2, "Handle", VT(3,3,3),false)
  736. local mesh = Instance.new("SpecialMesh",BottomPart)
  737. mesh.MeshType = "Sphere"
  738. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(-5,0,-1.9) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  739. local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, COLOR2, "Handle", VT(3,3,3),false)
  740. local mesh = Instance.new("SpecialMesh",BottomPart)
  741. mesh.MeshType = "Sphere"
  742. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(5,0,-1.9) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  743. local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, COLOR2, "Handle", VT(4*Player_Size,2*Player_Size,4*Player_Size),false)
  744. local mesh = Instance.new("SpecialMesh",BottomPart)
  745. mesh.MeshType = "Sphere"
  746. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  747. local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, COLOR2, "Handle", VT(2*Player_Size,4*Player_Size,2*Player_Size),false)
  748. local mesh = Instance.new("SpecialMesh",BottomPart)
  749. mesh.MeshType = "Sphere"
  750. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  751. local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, COLOR2, "Handle", VT(1*Player_Size,4*Player_Size,1*Player_Size),false)
  752. MakeForm(BottomPart,"Cyl")
  753. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  754.  
  755. function MakeHand()
  756. local Part1 = nil
  757. local HandWeld = nil
  758. local HAND = Weapon
  759. Part1 = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "HandPart", VT(2,2,2),false)
  760. MakeForm(Part1,"Ball")
  761. HandWeld = CreateWeldOrSnapOrMotor("Weld", RootPart, Part1, RootPart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  762. CreateNeonCircle(Part1,CF(0,1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.8,false,COLOR,"Neon",0.1,0.1)
  763. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false)
  764. MakeForm(Part,"Cyl")
  765. CreateWeldOrSnapOrMotor("Weld", Part1, Part, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  766. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false)
  767. MakeForm(Part,"Cyl")
  768. CreateWeldOrSnapOrMotor("Weld", Part1, Part, Part1, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  769. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false)
  770. MakeForm(Part,"Cyl")
  771. CreateWeldOrSnapOrMotor("Weld", Part1, Part, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  772. --CreateNeonCircle(Part1,CF(0,0,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.35,false,COLOR2,"SmoothPlastic",0.7,0.1)
  773. CreateNeonCircle(Part1,CF(0,0,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.4,false,COLOR2,"SmoothPlastic",0.7,0.1)
  774. CreateNeonCircle(Part1,CF(0,0,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.43,false,COLOR,"Neon",0.7,0.08)
  775. local Parta = CreatePart(3, HAND, "SmoothPlastic", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false)
  776. CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  777. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false)
  778. MakeForm(Part,"Cyl")
  779. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  780. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(0.71,0.2,0.71),false)
  781. MakeForm(Part,"Cyl")
  782. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  783. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false)
  784. MakeForm(Part,"Gem")
  785. Part.Mesh.Offset = VT(0,-0.65,0)
  786. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  787. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false)
  788. MakeForm(Part,"Cyl")
  789. Part.Mesh.Offset = VT(0,-1,0.5)
  790. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
  791. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false)
  792. MakeForm(Part,"Gem")
  793. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  794. local Parta = CreatePart(3, HAND, "SmoothPlastic", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false)
  795. CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(125)), CF(0, 0, 0))
  796. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false)
  797. MakeForm(Part,"Cyl")
  798. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  799. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(0.71,0.2,0.71),false)
  800. MakeForm(Part,"Cyl")
  801. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  802. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false)
  803. MakeForm(Part,"Gem")
  804. Part.Mesh.Offset = VT(0,-0.65,0)
  805. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  806. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false)
  807. MakeForm(Part,"Cyl")
  808. Part.Mesh.Offset = VT(0,-1,0.5)
  809. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
  810. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false)
  811. MakeForm(Part,"Gem")
  812. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  813. local Parta = CreatePart(3, HAND, "SmoothPlastic", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false)
  814. CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, 0, 0))
  815. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false)
  816. MakeForm(Part,"Cyl")
  817. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  818. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(0.71,0.2,0.71),false)
  819. MakeForm(Part,"Cyl")
  820. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  821. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false)
  822. MakeForm(Part,"Gem")
  823. Part.Mesh.Offset = VT(0,-0.65,0)
  824. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  825. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false)
  826. MakeForm(Part,"Cyl")
  827. Part.Mesh.Offset = VT(0,-1,0.5)
  828. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
  829. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false)
  830. MakeForm(Part,"Gem")
  831. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  832. local Parta = CreatePart(3, HAND, "SmoothPlastic", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false)
  833. CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(-180)), CF(0, 0, 0))
  834. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false)
  835. MakeForm(Part,"Cyl")
  836. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  837. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(0.71,0.2,0.71),false)
  838. MakeForm(Part,"Cyl")
  839. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
  840. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false)
  841. MakeForm(Part,"Gem")
  842. Part.Mesh.Offset = VT(0,-0.65,0)
  843. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  844. local Part = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false)
  845. MakeForm(Part,"Cyl")
  846. Part.Mesh.Offset = VT(0,-1,0.5)
  847. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
  848. local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false)
  849. MakeForm(Part,"Gem")
  850. CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  851. for _, c in pairs(HAND:GetChildren()) do
  852. if c.ClassName == "Part" then
  853. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  854. if c.Material ~= Enum.Material.Neon then
  855. c.Color = C3(0,0,0)
  856. end
  857. end
  858. end
  859. return Part1, HandWeld
  860. end
  861.  
  862. local Palm1, ArmWeld1 = MakeHand()
  863. local Palm2, ArmWeld2 = MakeHand()
  864. local Palm3, ArmWeld3 = MakeHand()
  865. local Palm4, ArmWeld4 = MakeHand()
  866.  
  867. for _, c in pairs(Weapon:GetChildren()) do
  868. if c.ClassName == "Part" then
  869. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  870. if c.Material ~= Enum.Material.Neon then
  871. c.Color = C3(0,0,0)
  872. end
  873. end
  874. end
  875.  
  876. Weapon.Parent = Character
  877.  
  878. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  879. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  880. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  881. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  882. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  883.  
  884. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Claw Force", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 1")
  885. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Sinner Wave", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
  886. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Depth's Rage", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 3")
  887. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Hellfire sync", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 4")
  888. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] True power of Sin", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5")
  889.  
  890. --//=================================\\
  891. --|| DAMAGING
  892. --\\=================================//
  893.  
  894. function killnearest(position,range)
  895. for i,v in ipairs(workspace:GetChildren()) do
  896. local body = v:GetChildren()
  897. for part = 1, #body do
  898. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  899. if(body[part].Position - position).Magnitude < range then
  900. if v.ClassName == "Model" then
  901. v:BreakJoints()
  902. end
  903. end
  904. end
  905. end
  906. end
  907. end
  908.  
  909. function fling(position,range,maxstrength)
  910. for i,v in ipairs(workspace:GetChildren()) do
  911. local body = v:GetChildren()
  912. for part = 1, #body do
  913. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  914. if(body[part].Position - position).Magnitude < range and body[part]:FindFirstChild("Flung") == nil then
  915. local bv = Instance.new("BodyVelocity")
  916. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  917. bv.Name = "Flung"
  918. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  919. bv.Parent = body[part]
  920. Debris:AddItem(bv,0.2)
  921. end
  922. end
  923. end
  924. end
  925. end
  926.  
  927. --//=================================\\
  928. --|| ATTACK FUNCTIONS AND STUFF
  929. --\\=================================//
  930.  
  931. function CastProperRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  932. local Direction = CFrame.new(StartPos, Vec).lookVector
  933. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  934. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  935. if RayHit and CheckIntangible(RayHit) then
  936. if DelayIfHit then
  937. wait()
  938. end
  939. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  940. end
  941. return RayHit, RayPos, RayNormal
  942. end
  943.  
  944. Humanoid.Died:connect(function()
  945. q = workspace:GetChildren()
  946. --CreatePentagram(1500,true,-0.1,150,CF(RootPart.Position),-3)
  947. Head.Parent = nil
  948. Head = nil
  949. for i = 1, #q do
  950. local child = q[i]
  951. if child.ClassName == "Model" and child:FindFirstChild("Humanoid") then
  952. child:BreakJoints()
  953. end
  954. end
  955. local taunt = CreateSound("135009414", workspace, 10, 1)
  956. local effect = IT("PitchShiftSoundEffect",taunt)
  957. effect.Octave = 0.700
  958. ATTACK = true
  959. end)
  960.  
  961. Humanoid.HealthChanged:connect(function()
  962. if Humanoid.Health == 0 then
  963. Humanoid.MaxHealth = "inf"
  964. Humanoid.Health = "inf"
  965. end
  966. end)
  967.  
  968. function PoseAllOut()
  969. coroutine.resume(coroutine.create(function()
  970. for i=0, 1, 0.1 / Animation_Speed do
  971. Swait()
  972. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  973. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  974. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(-145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  975. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(145)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  976. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  977. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  978. end
  979. end))
  980. end
  981.  
  982. function PoseArmCrossed()
  983. coroutine.resume(coroutine.create(function()
  984. for i=0, 1, 0.1 / Animation_Speed do
  985. Swait()
  986. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  990. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  991. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  992. end
  993. end))
  994. end
  995.  
  996. function PoseGoForward()
  997. coroutine.resume(coroutine.create(function()
  998. for i=0, 1, 0.1 / Animation_Speed do
  999. Swait()
  1000. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1004. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1006. end
  1007. end))
  1008. end
  1009.  
  1010. function ClawForce()
  1011. ATTACK = true
  1012. Rooted = false
  1013. PoseArmCrossed()
  1014. for i=0, 2, 0.1 / Animation_Speed do
  1015. Swait()
  1016. ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(10 + 0.75,8,0) * ANGLES(RAD(-15), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1017. ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-10 - 0.75,8,0) * ANGLES(RAD(-15), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1018. ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(13 + 0.75,-4,0) * ANGLES(RAD(-25), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1019. ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-13 - 0.75,-4,0) * ANGLES(RAD(-25), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1020. end
  1021. Rooted = true
  1022. for i=0, 0.2, 0.1 / Animation_Speed do
  1023. Swait()
  1024. ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(18,0,15) * ANGLES(RAD(90), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1025. ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-18,0,15) * ANGLES(RAD(90), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1026. ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(18,-15,15) * ANGLES(RAD(90), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1027. ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-18,-15,15) * ANGLES(RAD(90), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1028. end
  1029. CreateWave(VT(15,0,15),45,CF(Palm1.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2))
  1030. CreateWave(VT(15,0,15),45,CF(Palm1.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2))
  1031. CreateWave(VT(15,0,15),45,CF(Palm2.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2))
  1032. CreateWave(VT(15,0,15),45,CF(Palm2.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2))
  1033. CreateWave(VT(15,0,15),45,CF(Palm3.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2))
  1034. CreateWave(VT(15,0,15),45,CF(Palm3.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2))
  1035. CreateWave(VT(15,0,15),45,CF(Palm4.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2))
  1036. CreateWave(VT(15,0,15),45,CF(Palm4.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2))
  1037. killnearest(Palm1.Position,15)
  1038. killnearest(Palm2.Position,15)
  1039. killnearest(Palm3.Position,15)
  1040. killnearest(Palm4.Position,15)
  1041. CreateSound("289842971", Effects, 3, 0.8)
  1042. CreateSound("289842971", Effects, 3, 1)
  1043. for i=0, 1, 0.1 / Animation_Speed do
  1044. Swait()
  1045. ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(18,0,15) * ANGLES(RAD(90), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1046. ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-18,0,15) * ANGLES(RAD(90), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1047. ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(18,-15,15) * ANGLES(RAD(90), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1048. ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-18,-15,15) * ANGLES(RAD(90), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1049. end
  1050. ATTACK = false
  1051. Rooted = false
  1052. end
  1053.  
  1054. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1055. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1056. end
  1057.  
  1058. function SinnerWave()
  1059. ATTACK = true
  1060. Rooted = false
  1061. PoseAllOut()
  1062. local angle = -35
  1063. for i = 1, 3 do
  1064. turnto(Mouse.Hit.p)
  1065. coroutine.resume(coroutine.create(function()
  1066. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1067. local SpawnPosition = RayPos
  1068. local floor = RayHit
  1069. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1070. local LastPosition = RayPos
  1071. local Delay = 1
  1072. for i = 1, 4 do
  1073. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 25, {workspace})
  1074. local End = RayPos
  1075. LastPosition = End
  1076. local locatepart = Instance.new("Part",Effects)
  1077. locatepart.Size = VT(0.5,0.5,0.5)
  1078. locatepart.Position = End
  1079. locatepart.CanCollide = false
  1080. locatepart.Anchored = true
  1081. locatepart.Name = "Oof"
  1082. locatepart.Transparency = 1
  1083. if SpawnPosition and i ~= 4 then
  1084. CreateSound("971125740", locatepart, 7, 1)
  1085. killnearest(End,15)
  1086. CreateWave(VT(2,0,2),45,CF(End),true,-0.2,COLOR2,VT(1,0.2,1))
  1087. CreateWave(VT(2,0,2),45,CF(End),true,0.2,COLOR2,VT(1,0.2,1))
  1088. for i = 1, 5 do
  1089. CreateRing(VT(52,13,52),false,0,45,CF(End) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(-52,-3,-52)/45)
  1090. end
  1091. end
  1092. if i == 4 then
  1093. CreateWave(VT(15,0,15),125,CF(End),true,-0.2,COLOR,VT(1,0.2,1))
  1094. CreateWave(VT(15,0,15),125,CF(End),true,0.2,COLOR,VT(1,0.2,1))
  1095. CreateSound("215270668", Effects, 3, 1)
  1096. coroutine.resume(coroutine.create(function()
  1097. local BEAM = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(35,100000,35))
  1098. BEAM.CFrame = CF(End)
  1099. MakeForm(BEAM,"Cyl")
  1100. local BEAM1 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(22.5,100000,22.5))
  1101. BEAM1.CFrame = CF(End)
  1102. MakeForm(BEAM1,"Cyl")
  1103. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(10,100000,10))
  1104. BEAM2.CFrame = CF(End)
  1105. MakeForm(BEAM2,"Cyl")
  1106. for i = 1, 125 do
  1107. Swait()
  1108. local CFRAME = CF(End)*CF(MRANDOM(-2,2),0,MRANDOM(-2,2))
  1109. fling(End,45,100)
  1110. killnearest(End,35)
  1111. BEAM.CFrame = CFRAME
  1112. BEAM1.CFrame = CFRAME
  1113. BEAM2.CFrame = CFRAME
  1114. BEAM.Transparency = BEAM.Transparency + (0.7/125)
  1115. BEAM1.Transparency = BEAM.Transparency
  1116. BEAM2.Transparency = BEAM.Transparency
  1117. end
  1118. BEAM:remove()
  1119. BEAM1:remove()
  1120. BEAM2:remove()
  1121. end))
  1122. end
  1123. Swait(35)
  1124. game:GetService("Debris"):AddItem(locatepart, 5)
  1125. end
  1126. end))
  1127. angle = angle + 35
  1128. end
  1129. ATTACK = false
  1130. Rooted = false
  1131. end
  1132.  
  1133. function DepthsRage()
  1134. ATTACK = true
  1135. Rooted = true
  1136. CreateSound("463598785", Effects, 7, 1)
  1137. for i=0, 3, 0.1 / Animation_Speed do
  1138. Swait()
  1139. CreateRing(VT(0,0,0),false,0,10,CF(Palm1.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5))
  1140. CreateRing(VT(0,0,0),false,0,10,CF(Palm2.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5))
  1141. CreateRing(VT(0,0,0),false,0,10,CF(Palm3.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5))
  1142. CreateRing(VT(0,0,0),false,0,10,CF(Palm4.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5))
  1143. ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(-135)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1144. ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(135)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1145. ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1146. ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1147. end
  1148. CreatePentagram(185,true,0.2,170,RootPart.CFrame*CF(0,-15,0),VT(0,0,0))
  1149. local BEAM = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(130,100000,130))
  1150. BEAM.CFrame = CF(RootPart.Position)
  1151. MakeForm(BEAM,"Cyl")
  1152. local BEAM1 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(130*0.66,100000,130*0.66))
  1153. BEAM1.CFrame = CF(RootPart.Position)
  1154. MakeForm(BEAM1,"Cyl")
  1155. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(130*0.33,100000,130*0.33))
  1156. BEAM2.CFrame = CF(RootPart.Position)
  1157. MakeForm(BEAM2,"Cyl")
  1158. CreateSound("215270668", Effects, 3, 0.8)
  1159. for i = 1, 155 do
  1160. Swait()
  1161. CreateWave(VT(2,0,2),15,CF(RootPart.Position)*CF(0,-15,0),true,-0.2,COLOR2,VT(5,0.4,5))
  1162. CreateWave(VT(2,0,2),15,CF(RootPart.Position)*CF(0,-15,0),true,0.2,COLOR2,VT(5,0.4,5))
  1163. local CFRAME = CF(RootPart.Position)*CF(MRANDOM(-2,2),0,MRANDOM(-2,2))
  1164. fling(RootPart.Position,80,100)
  1165. killnearest(RootPart.Position,70)
  1166. BEAM.CFrame = CFRAME
  1167. BEAM1.CFrame = CFRAME
  1168. BEAM2.CFrame = CFRAME
  1169. BEAM.Transparency = BEAM.Transparency + (0.7/155)
  1170. BEAM1.Transparency = BEAM.Transparency
  1171. BEAM2.Transparency = BEAM.Transparency
  1172. CreateRing(VT(0,0,0),false,0,10,CF(RootPart.Position)*CF(0,-15,0) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(15,0.2,15))
  1173. end
  1174. BEAM:remove()
  1175. BEAM1:remove()
  1176. BEAM2:remove()
  1177. ATTACK = false
  1178. Rooted = false
  1179. end
  1180.  
  1181. function HellfireSync()
  1182. ATTACK = true
  1183. Rooted = false
  1184. PoseGoForward()
  1185. MagicSphere(VT(15,15,15),25,Palm1.CFrame,COLOR2,VT(-15,-15,-15)/25)
  1186. MagicSphere(VT(15,15,15),25,Palm2.CFrame,COLOR2,VT(-15,-15,-15)/25)
  1187. MagicSphere(VT(15,15,15),25,Palm3.CFrame,COLOR2,VT(-15,-15,-15)/25)
  1188. MagicSphere(VT(15,15,15),25,Palm4.CFrame,COLOR2,VT(-15,-15,-15)/25)
  1189. for i=0, 2, 0.1 / Animation_Speed do
  1190. Swait()
  1191. turnto(Mouse.Hit.p)
  1192. ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1193. ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1194. ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1195. ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1196. end
  1197. CreateSound("463598785", Effects, 7, 1)
  1198. for i = 1, 65 do
  1199. Swait()
  1200. turnto(Mouse.Hit.p)
  1201. CreateRing(VT(62,13,62),false,0,50,CF(Palm1.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(-62,-3,-62)/45)
  1202. end
  1203. CreateSound("160212892", Effects, 7, 0.8)
  1204. for i = 1, 50 do
  1205. Swait()
  1206. turnto(Mouse.Hit.p)
  1207. end
  1208. Rooted = true
  1209. local BEAM = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(35,100000,35))
  1210. MakeForm(BEAM,"Cyl")
  1211. local BEAM1 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(22.5,100000,22.5))
  1212. MakeForm(BEAM1,"Cyl")
  1213. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(10,100000,10))
  1214. MakeForm(BEAM2,"Cyl")
  1215. CreateSound("215270668", Effects, 3, 0.5)
  1216. for i = 1, 175 do
  1217. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.1)
  1218. local a = MRANDOM(-2,2)
  1219. local b = MRANDOM(-2,2)
  1220. local c = MRANDOM(-2,2)
  1221. CreateRing(VT(0,0,0),false,0,10,CF(Palm1.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5))
  1222. local RayHit, Way = CastProperRay(Palm1.CFrame*CF(0,0,-5)*CF(a,b,c).p,CF(Mouse.Hit.p)*CF(a,b,c).p,2000,Character)
  1223. turnto(Mouse.Hit.p)
  1224. local distance = (CF(Palm1.Position)*CF(a,b,c).p - Way).magnitude
  1225. BEAM.CFrame = CFrame.new(Palm1.CFrame*CF(0,0,-15)*CF(a,b,c).p, Way) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1226. BEAM.Size = Vector3.new(35, distance+15, 35)
  1227. BEAM1.CFrame = CFrame.new(Palm1.CFrame*CF(0,0,-15)*CF(a,b,c).p, Way) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1228. BEAM1.Size = Vector3.new(22.5, distance+15, 22.5)
  1229. BEAM2.CFrame = CFrame.new(Palm1.CFrame*CF(0,0,-15)*CF(a,b,c).p, Way) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1230. BEAM2.Size = Vector3.new(10, distance+15, 10)
  1231. BEAM.Transparency = BEAM.Transparency + (0.7/175)
  1232. BEAM1.Transparency = BEAM.Transparency
  1233. BEAM2.Transparency = BEAM.Transparency
  1234. killnearest(Way,35)
  1235. fling(Way,50,15)
  1236. Swait()
  1237. end
  1238. BEAM:remove()
  1239. BEAM1:remove()
  1240. BEAM2:remove()
  1241. ATTACK = false
  1242. Rooted = false
  1243. end
  1244.  
  1245. function clerp(a, b, t)
  1246. return a:lerp(b, t)
  1247. end
  1248.  
  1249. function newBezier(startpos, pos2, pos3, endpos, t)
  1250. local A = clerp(startpos, pos2, t)
  1251. local B = clerp(pos2, pos3, t)
  1252. local C = clerp(pos3, endpos, t)
  1253. local lerp1 = clerp(A, B, t)
  1254. local lerp2 = clerp(B, C, t)
  1255. local cubic = clerp(lerp1, lerp2, t)
  1256. return cubic
  1257. end
  1258.  
  1259. function SoulSteal(Target,SOUL)
  1260. local newball = Instance.new("Part", workspace)
  1261. newball.Anchored = true
  1262. newball.Shape = "Ball"
  1263. newball.Material = "Neon"
  1264. newball.Size = Vector3.new(0,0,0)
  1265. newball.CanCollide = false
  1266. newball.CFrame = CF(Target)
  1267. newball.BrickColor = BRICKC"Maroon"
  1268. newball.Transparency = 1
  1269. local POS = SOUL.Position
  1270. local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1271. local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1272. local A1 = IT("Attachment",newball)
  1273. A1.Position = Vector3.new(0, 2.5, 0)
  1274. local A2 = IT("Attachment",newball)
  1275. A2.Position = Vector3.new(0, -2.5, 0)
  1276. local Trail = IT("Trail",newball)
  1277. Trail.LightEmission = 1
  1278. Trail.FaceCamera = true
  1279. Trail.Texture = "rbxassetid://945758042"
  1280. Trail.Attachment0 = A1
  1281. Trail.Attachment1 = A2
  1282. Trail.Lifetime = 2
  1283. Trail.MinLength = 0
  1284. Trail.Transparency = NumberSequence.new(0, 1)
  1285. Trail.Color = ColorSequence.new(newball.Color)
  1286. coroutine.resume(coroutine.create(function()
  1287. for i = 0, 1, 0.07 do
  1288. Swait()
  1289. newball.CFrame = CFrame.new(newBezier(Target, onefourth, threefourths, POS, i))
  1290. end
  1291. newball.Transparency = 1
  1292. CreateSound("444667859", SOUL, 10, MRANDOM(8,12)/10)
  1293. SOUL.Size = SOUL.Size + VT(0.3,0.3,0.3)
  1294. game:GetService("Debris"):AddItem(newball, 5)
  1295. end))
  1296. end
  1297.  
  1298. function TruePowerOfSin()
  1299. ATTACK = true
  1300. Rooted = true
  1301. PoseAllOut()
  1302. local q = workspace:GetChildren()
  1303. for i = 1, #q do
  1304. if q[i]:FindFirstChildOfClass("Humanoid") and q[i] ~= Character then
  1305. local HUMAN = q[i]:FindFirstChildOfClass("Humanoid")
  1306. local TORS = q[i]:FindFirstChild("Torso") or q[i]:FindFirstChild("UpperTorso")
  1307. local grav = Instance.new("BodyPosition",TORS)
  1308. grav.P = 20000
  1309. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1310. grav.position = TORS.Position + VT(0,25,0)
  1311. grav.Name = "GravityForce"
  1312. VALUE2 = true
  1313. CreateSound("337800380", TORS, 5, MRANDOM(8,12)/10)
  1314. end
  1315. end
  1316. if VALUE2 == true then
  1317. local SOULSPHERE = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(0,0,0))
  1318. SOULSPHERE.CFrame = CF(RootPart.Position+VT(0,75,0))
  1319. MakeForm(SOULSPHERE,"Ball")
  1320. VALUE1 = true
  1321. Swait(50)
  1322. for i = 1, 25 do
  1323. Swait(5)
  1324. for i = 1, #q do
  1325. if q[i]:FindFirstChildOfClass("Humanoid") and q[i] ~= Character then
  1326. local HUMAN = q[i]:FindFirstChildOfClass("Humanoid")
  1327. local TORS = q[i]:FindFirstChild("Torso") or q[i]:FindFirstChild("UpperTorso")
  1328. SoulSteal(TORS.Position,SOULSPHERE)
  1329. local R = q[i]:GetChildren()
  1330. for o = 1, # R do
  1331. if R[o].ClassName == "LocalScript" or R[o].ClassName == "Script" then
  1332. R[o].Disabled = true
  1333. R[o]:remove()
  1334. end
  1335. end
  1336. Swait()
  1337. end
  1338. end
  1339. end
  1340. for i = 1, #q do
  1341. if q[i]:FindFirstChildOfClass("Humanoid") and q[i] ~= Character then
  1342. local HUMAN = q[i]:FindFirstChildOfClass("Humanoid")
  1343. local TORS = q[i]:FindFirstChild("Torso") or q[i]:FindFirstChild("UpperTorso")
  1344. SoulSteal(TORS.Position,SOULSPHERE)
  1345. if TORS.Parent.Parent ~= nil and TORS ~= nil then
  1346. TORS.GravityForce:remove()
  1347. local R = q[i]:GetChildren()
  1348. for o = 1, #R do
  1349. if R[o].ClassName == "LocalScript" or R[o].ClassName == "Script" then
  1350. R[o].Disabled = true
  1351. R[o]:remove()
  1352. end
  1353. end
  1354. HUMAN:remove()
  1355. end
  1356. end
  1357. end
  1358. coroutine.resume(coroutine.create(function()
  1359. Swait(100)
  1360. CreateSound("463598785", SOULSPHERE, 10, MRANDOM(8,12)/10)
  1361. MagicSphere(SOULSPHERE.Size,25,SOULSPHERE.CFrame,COLOR,SOULSPHERE.Size/50)
  1362. for i = 1, 50 do
  1363. Swait()
  1364. SOULSPHERE.Size = SOULSPHERE.Size * 0.9
  1365. end
  1366. SOULSPHERE:remove()
  1367. end))
  1368. end
  1369. VALUE2 = false
  1370. VALUE1 = false
  1371. ATTACK = false
  1372. Rooted = false
  1373. end
  1374.  
  1375. --//=================================\\
  1376. --|| ASSIGN THINGS TO KEYS
  1377. --\\=================================//
  1378.  
  1379. function MouseDown(Mouse)
  1380. if ATTACK == false then
  1381. end
  1382. end
  1383.  
  1384. function MouseUp(Mouse)
  1385. HOLD = false
  1386. end
  1387.  
  1388. function KeyDown(Key)
  1389. KEYHOLD = true
  1390. if Key == "z" and ATTACK == false then
  1391. ClawForce()
  1392. end
  1393.  
  1394. if Key == "b" and ATTACK == false then
  1395. SinnerWave()
  1396. end
  1397.  
  1398. if Key == "c" and ATTACK == false then
  1399. DepthsRage()
  1400. end
  1401.  
  1402. if Key == "v" and ATTACK == false then
  1403. HellfireSync()
  1404. end
  1405.  
  1406. if Key == "x" and ATTACK == false then
  1407. TruePowerOfSin()
  1408. end
  1409.  
  1410. if Key == "t" and ATTACK == false then
  1411. CreateSound("907328384", Effects, 5, 0.8)
  1412. end
  1413. end
  1414.  
  1415. function KeyUp(Key)
  1416. KEYHOLD = false
  1417. end
  1418.  
  1419. Mouse.Button1Down:connect(function(NEWKEY)
  1420. MouseDown(NEWKEY)
  1421. end)
  1422. Mouse.Button1Up:connect(function(NEWKEY)
  1423. MouseUp(NEWKEY)
  1424. end)
  1425. Mouse.KeyDown:connect(function(NEWKEY)
  1426. KeyDown(NEWKEY)
  1427. end)
  1428. Mouse.KeyUp:connect(function(NEWKEY)
  1429. KeyUp(NEWKEY)
  1430. end)
  1431.  
  1432. --//=================================\\
  1433. --\\=================================//
  1434.  
  1435.  
  1436. function unanchor()
  1437. if UNANCHOR == true then
  1438. g = Character:GetChildren()
  1439. for i = 1, #g do
  1440. if g[i].ClassName == "Part" then
  1441. g[i].Anchored = false
  1442. end
  1443. end
  1444. g = Weapon:GetChildren()
  1445. for i = 1, #g do
  1446. if g[i].ClassName == "Part" then
  1447. g[i].Anchored = false
  1448. end
  1449. end
  1450. end
  1451. end
  1452.  
  1453.  
  1454. --//=================================\\
  1455. --|| WRAP THE WHOLE SCRIPT UP
  1456. --\\=================================//
  1457.  
  1458. Humanoid.Changed:connect(function(Jump)
  1459. if Jump == "Jump" and (Disable_Jump == true) then
  1460. Humanoid.Jump = false
  1461. end
  1462. end)
  1463.  
  1464. local FF = IT("ForceField",Character)
  1465. FF.Visible = false
  1466.  
  1467. Humanoid.HipHeight = 15
  1468. Speed = 75
  1469.  
  1470. while true do
  1471. Swait()
  1472. ANIMATE.Parent = nil
  1473. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1474. IDLEANIMATION:Play()
  1475. SINE = SINE + CHANGE
  1476. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1477. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1478. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1479. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1480. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1481. if ATTACK == false then
  1482. ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(10 + 0.75 * COS(SINE / 52),10 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(15), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1483. ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-10 - 0.75 * COS(SINE / 52),10 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(15), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1484. ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(13 + 0.75 * COS(SINE / 52),-2 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(25), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1485. ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-13 - 0.75 * COS(SINE / 52),-2 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(25), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1486. end
  1487. if TORSOVELOCITY < 1 then
  1488. ANIM = "Idle"
  1489. if ATTACK == false then
  1490. 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)
  1491. 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)
  1492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1493. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1494. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1495. 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)
  1496. end
  1497. elseif TORSOVELOCITY > 1 then
  1498. ANIM = "Walk"
  1499. WALK = WALK + 1 / Animation_Speed
  1500. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1501. WALK = 0
  1502. if WALKINGANIM == true then
  1503. WALKINGANIM = false
  1504. elseif WALKINGANIM == false then
  1505. WALKINGANIM = true
  1506. end
  1507. end
  1508. --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)
  1509. --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)
  1510. if ATTACK == false then
  1511. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1512. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1513. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1514. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1515. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1516. 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)
  1517. end
  1518. end
  1519. sick.Parent = Character
  1520. unanchor()
  1521. Humanoid.MaxHealth = "inf"
  1522. Humanoid.Health = "inf"
  1523. if Rooted == false then
  1524. Disable_Jump = false
  1525. Humanoid.WalkSpeed = Speed
  1526. elseif Rooted == true then
  1527. Disable_Jump = true
  1528. Humanoid.WalkSpeed = 0
  1529. end
  1530. if Head:FindFirstChild("face") then
  1531. Head.face:remove()
  1532. end
  1533. if VALUE1 == true then
  1534. MagicBlock(2,30,Palm1.CFrame,COLOR,VT(-0.01,-0.01,-0.01))
  1535. MagicBlock(2,30,Palm2.CFrame,COLOR,VT(-0.01,-0.01,-0.01))
  1536. MagicBlock(2,30,Palm3.CFrame,COLOR,VT(-0.01,-0.01,-0.01))
  1537. MagicBlock(2,30,Palm4.CFrame,COLOR,VT(-0.01,-0.01,-0.01))
  1538. ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(135+(SINE*5)), RAD(0)), 2 / Animation_Speed)
  1539. ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(-135+(SINE*5)), RAD(0)), 2 / Animation_Speed)
  1540. ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(45+(SINE*5)), RAD(0)), 2 / Animation_Speed)
  1541. ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(-45+(SINE*5)), RAD(0)), 2 / Animation_Speed)
  1542. end
  1543. q = Character:GetChildren()
  1544. for u = 1, #q do
  1545. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1546. q[u]:remove()
  1547. elseif q[u].ClassName == "Shirt" then
  1548. q[u]:Destroy()
  1549. elseif q[u].ClassName == "Pants" then
  1550. q[u]:Destroy()
  1551. elseif q[u].ClassName == "CharacterMesh" then
  1552. q[u]:remove()
  1553. elseif q[u].ClassName == "ShirtGraphic" then
  1554. q[u]:remove()
  1555. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1556. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1557. end
  1558. end
  1559. end
  1560.  
  1561. --//=================================\\
  1562. --\\=================================//
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568. --//====================================================\\--
  1569. --|| END OF SCRIPT
  1570. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement