Guest User

sssss

a guest
Nov 10th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.67 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27.  
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44.  
  45. --//=================================\\
  46. --|| CHATTING FUNCTIONS
  47. --\\=================================//
  48. function swait(num)
  49. if num == 0 or num == nil then
  50. ArtificialHB.Event:wait()
  51. else
  52. for i = 0, num do
  53. ArtificialHB.Event:wait()
  54. end
  55. end
  56. end
  57.  
  58. function chatfunc(text)
  59. local chat = coroutine.wrap(function()
  60. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  61. Character:FindFirstChild("TalkingBillBoard"):destroy()
  62. end
  63. local Bill = Instance.new("BillboardGui",Character)
  64. Bill.Size = UDim2.new(0,100,0,40)
  65. Bill.StudsOffset = Vector3.new(0,3,0)
  66. Bill.Adornee = Character.Head
  67. Bill.Name = "TalkingBillBoard"
  68. local Hehe = Instance.new("TextLabel",Bill)
  69. Hehe.BackgroundTransparency = 1
  70. Hehe.BorderSizePixel = 0
  71. Hehe.Text = ""
  72. Hehe.Font = "Bodoni"
  73. Hehe.TextSize = 40
  74. Hehe.TextStrokeTransparency = 0
  75. Hehe.Size = UDim2.new(1,0,0.5,0)
  76. coroutine.resume(coroutine.create(function()
  77. while Hehe ~= nil do
  78. swait()
  79. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  80. Hehe.Rotation = math.random(-5,5)
  81. Hehe.TextColor3 = Color3.new(0, 255, 255)
  82. Hehe.TextStrokeColor3 = Color3.new(0, 255, 255)
  83. end
  84. end))
  85. for i = 1,string.len(text),1 do
  86. swait()
  87. Hehe.Text = string.sub(text,1,i)
  88. end
  89. swait(90)--Re[math.random(1, 93)]
  90. for i = 0, 1, .025 do
  91. swait()
  92. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  93. Hehe.TextStrokeTransparency = i
  94. Hehe.TextTransparency = i
  95. end
  96. Bill:Destroy()
  97. end)
  98. chat()
  99. end
  100.  
  101. function onChatted(msg)
  102. chatfunc(msg)
  103. end
  104.  
  105. Player.Chatted:connect(onChatted)
  106. --//=================================\\
  107. --|| USEFUL VALUES
  108. --\\=================================//
  109.  
  110. Player_Size = 1
  111. Animation_Speed = 3
  112. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  113. local Speed = 16
  114. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  115. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  116. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  117. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  118. local CHANGEDEFENSE = 0
  119. local CHANGEDAMAGE = 0
  120. local CHANGEMOVEMENT = 0
  121. local DAMAGEMULTIPLIER = 1
  122. local ANIM = "Idle"
  123. local ATTACK = false
  124. local EQUIPPED = false
  125. local HOLD = false
  126. local COMBO = 1
  127. local Rooted = false
  128. local SINE = 0
  129. local KEYHOLD = false
  130. local CHANGE = 2 / Animation_Speed
  131. local WALKINGANIM = false
  132. local VALUE1 = false
  133. local VALUE2 = false
  134. local ROBLOXIDLEANIMATION = IT("Animation")
  135. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  136. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  137. --ROBLOXIDLEANIMATION.Parent = Humanoid
  138. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  139. WEAPONGUI.Name = "Weapon GUI"
  140. local Weapon = IT("Model")
  141. Weapon.Name = "Adds"
  142. local Effects = IT("Folder", Weapon)
  143. Effects.Name = "Effects"
  144. local ANIMATOR = Humanoid.Animator
  145. local ANIMATE = Character.Animate
  146. local UNANCHOR = true
  147.  
  148. --//=================================\\
  149. --\\=================================//
  150.  
  151.  
  152. --//=================================\\
  153. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  154. --\\=================================//
  155.  
  156. ArtificialHB = Instance.new("BindableEvent", script)
  157. ArtificialHB.Name = "ArtificialHB"
  158.  
  159. script:WaitForChild("ArtificialHB")
  160.  
  161. frame = Frame_Speed
  162. tf = 0
  163. allowframeloss = false
  164. tossremainder = false
  165. lastframe = tick()
  166. script.ArtificialHB:Fire()
  167.  
  168. game:GetService("RunService").Heartbeat:connect(function(s, p)
  169. tf = tf + s
  170. if tf >= frame then
  171. if allowframeloss then
  172. script.ArtificialHB:Fire()
  173. lastframe = tick()
  174. else
  175. for i = 1, math.floor(tf / frame) do
  176. script.ArtificialHB:Fire()
  177. end
  178. lastframe = tick()
  179. end
  180. if tossremainder then
  181. tf = 0
  182. else
  183. tf = tf - frame * math.floor(tf / frame)
  184. end
  185. end
  186. end)
  187.  
  188. --//=================================\\
  189. --\\=================================//
  190.  
  191. --//=================================\\
  192. --|| SOME FUNCTIONS
  193. --\\=================================//
  194.  
  195. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  196. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  197. end
  198.  
  199. function PositiveAngle(NUMBER)
  200. if NUMBER >= 0 then
  201. NUMBER = 0
  202. end
  203. return NUMBER
  204. end
  205.  
  206. function NegativeAngle(NUMBER)
  207. if NUMBER <= 0 then
  208. NUMBER = 0
  209. end
  210. return NUMBER
  211. end
  212.  
  213. function Swait(NUMBER)
  214. if NUMBER == 0 or NUMBER == nil then
  215. ArtificialHB.Event:wait()
  216. else
  217. for i = 1, NUMBER do
  218. ArtificialHB.Event:wait()
  219. end
  220. end
  221. end
  222.  
  223. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  224. local NEWMESH = IT(MESH)
  225. if MESH == "SpecialMesh" then
  226. NEWMESH.MeshType = MESHTYPE
  227. if MESHID ~= "nil" and MESHID ~= "" then
  228. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  229. end
  230. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  231. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  232. end
  233. end
  234. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  235. NEWMESH.Scale = SCALE
  236. NEWMESH.Parent = PARENT
  237. return NEWMESH
  238. end
  239.  
  240. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  241. local NEWPART = IT("Part")
  242. NEWPART.formFactor = FORMFACTOR
  243. NEWPART.Reflectance = REFLECTANCE
  244. NEWPART.Transparency = TRANSPARENCY
  245. NEWPART.CanCollide = false
  246. NEWPART.Locked = true
  247. NEWPART.Anchored = true
  248. if ANCHOR == false then
  249. NEWPART.Anchored = false
  250. end
  251. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  252. NEWPART.Name = NAME
  253. NEWPART.Size = SIZE
  254. NEWPART.Position = Torso.Position
  255. NEWPART.Material = MATERIAL
  256. NEWPART:BreakJoints()
  257. NEWPART.Parent = PARENT
  258. return NEWPART
  259. end
  260.  
  261. local function weldBetween(a, b)
  262. local weldd = Instance.new("ManualWeld")
  263. weldd.Part0 = a
  264. weldd.Part1 = b
  265. weldd.C0 = CFrame.new()
  266. weldd.C1 = b.CFrame:inverse() * a.CFrame
  267. weldd.Parent = a
  268. return weldd
  269. end
  270.  
  271.  
  272. function QuaternionFromCFrame(cf)
  273. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  274. local trace = m00 + m11 + m22
  275. if trace > 0 then
  276. local s = math.sqrt(1 + trace)
  277. local recip = 0.5 / s
  278. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  279. else
  280. local i = 0
  281. if m11 > m00 then
  282. i = 1
  283. end
  284. if m22 > (i == 0 and m00 or m11) then
  285. i = 2
  286. end
  287. if i == 0 then
  288. local s = math.sqrt(m00 - m11 - m22 + 1)
  289. local recip = 0.5 / s
  290. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  291. elseif i == 1 then
  292. local s = math.sqrt(m11 - m22 - m00 + 1)
  293. local recip = 0.5 / s
  294. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  295. elseif i == 2 then
  296. local s = math.sqrt(m22 - m00 - m11 + 1)
  297. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  298. end
  299. end
  300. end
  301.  
  302. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  303. local xs, ys, zs = x + x, y + y, z + z
  304. local wx, wy, wz = w * xs, w * ys, w * zs
  305. local xx = x * xs
  306. local xy = x * ys
  307. local xz = x * zs
  308. local yy = y * ys
  309. local yz = y * zs
  310. local zz = z * zs
  311. 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))
  312. end
  313.  
  314. function QuaternionSlerp(a, b, t)
  315. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  316. local startInterp, finishInterp;
  317. if cosTheta >= 0.0001 then
  318. if (1 - cosTheta) > 0.0001 then
  319. local theta = ACOS(cosTheta)
  320. local invSinTheta = 1 / SIN(theta)
  321. startInterp = SIN((1 - t) * theta) * invSinTheta
  322. finishInterp = SIN(t * theta) * invSinTheta
  323. else
  324. startInterp = 1 - t
  325. finishInterp = t
  326. end
  327. else
  328. if (1 + cosTheta) > 0.0001 then
  329. local theta = ACOS(-cosTheta)
  330. local invSinTheta = 1 / SIN(theta)
  331. startInterp = SIN((t - 1) * theta) * invSinTheta
  332. finishInterp = SIN(t * theta) * invSinTheta
  333. else
  334. startInterp = t - 1
  335. finishInterp = t
  336. end
  337. end
  338. 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
  339. end
  340.  
  341. function Clerp(a, b, t)
  342. local qa = {QuaternionFromCFrame(a)}
  343. local qb = {QuaternionFromCFrame(b)}
  344. local ax, ay, az = a.x, a.y, a.z
  345. local bx, by, bz = b.x, b.y, b.z
  346. local _t = 1 - t
  347. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  348. end
  349.  
  350. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  351. local frame = IT("Frame")
  352. frame.BackgroundTransparency = TRANSPARENCY
  353. frame.BorderSizePixel = BORDERSIZEPIXEL
  354. frame.Position = POSITION
  355. frame.Size = SIZE
  356. frame.BackgroundColor3 = COLOR
  357. frame.BorderColor3 = BORDERCOLOR
  358. frame.Name = NAME
  359. frame.Parent = PARENT
  360. return frame
  361. end
  362.  
  363. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  364. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  365. wave.Color = COLOR
  366. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  367. wave.CFrame = CFRAME
  368. coroutine.resume(coroutine.create(function(PART)
  369. for i = 1, WAIT do
  370. Swait()
  371. mesh.Scale = mesh.Scale + GROW
  372. wave.Transparency = wave.Transparency + 1 / WAIT
  373. if wave.Transparency > 0.99 then
  374. wave:remove()
  375. end
  376. end
  377. end))
  378. end
  379. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  380. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  381. local mesh
  382. if KIND == "Base" then
  383. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  384. elseif KIND == "Thin" then
  385. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  386. elseif KIND == "Round" then
  387. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  388. end
  389. wave.CFrame = CFRAME
  390. coroutine.resume(coroutine.create(function(PART)
  391. for i = 1, WAIT do
  392. Swait()
  393. mesh.Scale = mesh.Scale + GROW / 10
  394. wave.Transparency = wave.Transparency + 0.5 / WAIT
  395. if wave.Transparency > 0.99 then
  396. wave:remove()
  397. end
  398. end
  399. end))
  400. end
  401.  
  402. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  403. local label = IT("TextLabel")
  404. label.BackgroundTransparency = 1
  405. label.Size = UD2(1, 0, 1, 0)
  406. label.Position = UD2(0, 0, 0, 0)
  407. label.TextColor3 = TEXTCOLOR
  408. label.TextStrokeTransparency = STROKETRANSPARENCY
  409. label.TextTransparency = TRANSPARENCY
  410. label.FontSize = TEXTFONTSIZE
  411. label.Font = TEXTFONT
  412. label.BorderSizePixel = BORDERSIZEPIXEL
  413. label.TextScaled = false
  414. label.Text = TEXT
  415. label.Name = NAME
  416. label.Parent = PARENT
  417. return label
  418. end
  419.  
  420. function NoOutlines(PART)
  421. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  422. end
  423.  
  424. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  425. local NEWWELD = IT(TYPE)
  426. NEWWELD.Part0 = PART0
  427. NEWWELD.Part1 = PART1
  428. NEWWELD.C0 = C0
  429. NEWWELD.C1 = C1
  430. NEWWELD.Parent = PARENT
  431. return NEWWELD
  432. end
  433.  
  434. local S = IT("Sound")
  435. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  436. local NEWSOUND = nil
  437. coroutine.resume(coroutine.create(function()
  438. NEWSOUND = S:Clone()
  439. NEWSOUND.Parent = PARENT
  440. NEWSOUND.Volume = VOLUME
  441. NEWSOUND.Pitch = PITCH
  442. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  443. NEWSOUND:play()
  444. if DOESLOOP == true then
  445. NEWSOUND.Looped = true
  446. else
  447. repeat wait(1) until NEWSOUND.Playing == false
  448. NEWSOUND:remove()
  449. end
  450. end))
  451. return NEWSOUND
  452. end
  453.  
  454. function CFrameFromTopBack(at, top, back)
  455. local right = top:Cross(back)
  456. 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)
  457. end
  458.  
  459. --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})
  460. function WACKYEFFECT(Table)
  461. local TYPE = (Table.EffectType or "Sphere")
  462. local SIZE = (Table.Size or VT(1,1,1))
  463. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  464. local TRANSPARENCY = (Table.Transparency or 0)
  465. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  466. local CFRAME = (Table.CFrame or Torso.CFrame)
  467. local MOVEDIRECTION = (Table.MoveToPos or nil)
  468. local ROTATION1 = (Table.RotationX or 0)
  469. local ROTATION2 = (Table.RotationY or 0)
  470. local ROTATION3 = (Table.RotationZ or 0)
  471. local MATERIAL = (Table.Material or "Neon")
  472. local COLOR = (Table.Color or C3(1,1,1))
  473. local TIME = (Table.Time or 45)
  474. local SOUNDID = (Table.SoundID or nil)
  475. local SOUNDPITCH = (Table.SoundPitch or nil)
  476. local SOUNDVOLUME = (Table.SoundVolume or nil)
  477. coroutine.resume(coroutine.create(function()
  478. local PLAYSSOUND = false
  479. local SOUND = nil
  480. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  481. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  482. PLAYSSOUND = true
  483. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  484. end
  485. EFFECT.Color = COLOR
  486. local MSH = nil
  487. if TYPE == "Sphere" then
  488. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  489. elseif TYPE == "Block" then
  490. MSH = IT("BlockMesh",EFFECT)
  491. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  492. elseif TYPE == "Wave" then
  493. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  494. elseif TYPE == "Ring" then
  495. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  496. elseif TYPE == "Slash" then
  497. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  498. elseif TYPE == "Round Slash" then
  499. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  500. elseif TYPE == "Swirl" then
  501. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  502. elseif TYPE == "Skull" then
  503. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  504. elseif TYPE == "Crystal" then
  505. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  506. end
  507. if MSH ~= nil then
  508. local MOVESPEED = nil
  509. if MOVEDIRECTION ~= nil then
  510. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  511. end
  512. local GROWTH = SIZE - ENDSIZE
  513. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  514. if TYPE == "Block" then
  515. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  516. else
  517. EFFECT.CFrame = CFRAME
  518. end
  519. for LOOP = 1, TIME+1 do
  520. Swait()
  521. MSH.Scale = MSH.Scale - GROWTH/TIME
  522. if TYPE == "Wave" then
  523. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  524. end
  525. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  526. if TYPE == "Block" then
  527. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  528. else
  529. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  530. end
  531. if MOVEDIRECTION ~= nil then
  532. local ORI = EFFECT.Orientation
  533. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  534. EFFECT.Orientation = ORI
  535. end
  536. end
  537. if PLAYSSOUND == false then
  538. EFFECT:remove()
  539. else
  540. repeat Swait() until SOUND.Playing == false
  541. EFFECT:remove()
  542. end
  543. else
  544. if PLAYSSOUND == false then
  545. EFFECT:remove()
  546. else
  547. repeat Swait() until SOUND.Playing == false
  548. EFFECT:remove()
  549. end
  550. end
  551. end))
  552. end
  553.  
  554. function MakeForm(PART,TYPE)
  555. if TYPE == "Cyl" then
  556. local MSH = IT("CylinderMesh",PART)
  557. elseif TYPE == "Ball" then
  558. local MSH = IT("SpecialMesh",PART)
  559. MSH.MeshType = "Sphere"
  560. elseif TYPE == "Wedge" then
  561. local MSH = IT("SpecialMesh",PART)
  562. MSH.MeshType = "Wedge"
  563. end
  564. end
  565.  
  566. Debris = game:GetService("Debris")
  567.  
  568. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  569. local DIRECTION = CF(StartPos,EndPos).lookVector
  570. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  571. end
  572. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  573. if DoesCourontine == false then
  574. local Direction = CF(Part.Position, ToLocation)
  575. local Distance = (Part.Position - ToLocation).magnitude
  576. for i = 1, AmountOfTime do
  577. Swait()
  578. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  579. Direction = Part.CFrame
  580. end
  581. Part:remove()
  582. elseif DoesCourontine == true then
  583. coroutine.resume(coroutine.create(function()
  584. local Direction = CF(Part.Position, ToLocation)
  585. local Distance = (Part.Position - ToLocation).magnitude
  586. for i = 1, AmountOfTime do
  587. Swait()
  588. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  589. Direction = Part.CFrame
  590. end
  591. Part:remove()
  592. end))
  593. end
  594. end
  595.  
  596. --Converted by French Fries on Script Modules--
  597. function sandbox(var,func)
  598. local env = getfenv(func)
  599. local newenv = setmetatable({},{
  600. __index = function(self,k)
  601. if k=="script" then
  602. return var
  603. else
  604. return env[k]
  605. end
  606. end,
  607. })
  608. setfenv(func,newenv)
  609. return func
  610. end
  611. function NS(...)
  612. local tab = {...}
  613. local fat = {}
  614. for i = 1, #tab do
  615. local v = tab[i]
  616. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  617. end
  618. return NumberSequence.new(fat);
  619. end
  620.  
  621. cors = {}
  622. mas = Instance.new("Model",game:GetService("Lighting"))
  623. ParticleEmitter0 = Instance.new("ParticleEmitter")
  624. ParticleEmitter1 = Instance.new("ParticleEmitter")
  625. ParticleEmitter2 = Instance.new("ParticleEmitter")
  626. ParticleEmitter0.Name = "Flames"
  627. ParticleEmitter0.Parent = mas
  628. ParticleEmitter0.Speed = NumberRange.new(0, 15)
  629. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  630. ParticleEmitter0.Enabled = false
  631. ParticleEmitter0.LightEmission = 1
  632. ParticleEmitter0.LightInfluence = 1
  633. ParticleEmitter0.Transparency = NumberSequence.new(1,0)
  634. ParticleEmitter0.ZOffset = 1
  635. ParticleEmitter0.Size = NumberSequence.new(10,0)
  636. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  637. ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
  638. ParticleEmitter0.Rate = 9999
  639. ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
  640. ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
  641. ParticleEmitter0.VelocitySpread = 25
  642. ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  643. ParticleEmitter1.Name = "Death"
  644. ParticleEmitter1.Parent = mas
  645. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  646. ParticleEmitter1.Enabled = false
  647. ParticleEmitter1.LightEmission = 0.75
  648. ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  649. ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
  650. ParticleEmitter1.ZOffset = 0.5
  651. ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
  652. ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
  653. ParticleEmitter1.Drag = 5
  654. ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
  655. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  656. ParticleEmitter1.Rate = 999
  657. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  658. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  659. ParticleEmitter1.VelocitySpread = 360
  660. ParticleEmitter2.Name = "Wing"
  661. ParticleEmitter2.Parent = mas
  662. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  663. ParticleEmitter2.Enabled = false
  664. ParticleEmitter2.LightEmission = 1
  665. ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  666. ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
  667. ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
  668. ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
  669. ParticleEmitter2.LockedToPart = true
  670. ParticleEmitter2.Rate = 300
  671.  
  672. for i,v in pairs(mas:GetChildren()) do
  673. v.Parent = script
  674. pcall(function() v:MakeJoints() end)
  675. end
  676. mas:Destroy()
  677. for i,v in pairs(cors) do
  678. spawn(function()
  679. pcall(v)
  680. end)
  681. end
  682.  
  683.  
  684. New = function(Object, Parent, Name, Data)
  685. local Object = Instance.new(Object)
  686. for Index, Value in pairs(Data or {}) do
  687. Object[Index] = Value
  688. end
  689. Object.Parent = Parent
  690. Object.Name = Name
  691. return Object
  692. end
  693. --//=================================\\
  694. --|| WEAPON CREATION
  695. --\\=================================//
  696.  
  697. ---------------------------------------
  698. ---------------------------------------
  699.  
  700. Weapon.Parent = Character --<== This will make Attack moves working.
  701.  
  702. ---------------------------------------
  703. ---------------------------------------
  704.  
  705. --//=================================\\
  706. --|| HAIR STUFF
  707. --\\=================================//
  708.  
  709. local Hat = Character:FindFirstChild("Hat_F") or Instance.new("Hat")
  710. Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
  711. Hat.Name = "Hat_F"
  712. local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
  713. if Handle.Name ~= "Handle" then
  714. Handle.Size = Vector3.new(1, 1, 1)
  715. end
  716.  
  717. Handle.BottomSurface = 0
  718. Handle.Name = "Handle"
  719. Handle.TopSurface = 0
  720. Handle.Locked = 1
  721. local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
  722. Mesh.TextureId = "http://www.roblox.com/asset/?id=377072199"
  723. Mesh.MeshId = "http://www.roblox.com/asset/?id=375815502"
  724. Mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  725. Mesh.Offset = Vector3.new(0, 0.35, 0)
  726. Hat.Parent = Character
  727.  
  728. --//=================================\\
  729. --|| SOME SKILL STUFF
  730. --\\=================================//
  731.  
  732. local SKILLTEXTCOLOR = C3(0, 255, 255)
  733. local SKILLFONT = "Fantasy"
  734. local SKILLTEXTSIZE = 5
  735.  
  736. Humanoid.Died:connect(function()
  737. ATTACK = true
  738. end)
  739.  
  740. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  741. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  742. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  743. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  744. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  745. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  746.  
  747. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Freeze", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  748. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  749. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  750. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  751. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  752. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  753.  
  754. --//=================================\\
  755. --|| ATTACK FUNCTIONS AND STUFF
  756. --\\=================================//
  757. function freezenearest(position, range, maxstrength)
  758. for i, v in ipairs(workspace:GetChildren()) do
  759. do
  760. local body = v:GetChildren()
  761. for part = 1, #body do
  762. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  763. if v.ClassName == "Model" then
  764. v:BreakJoints()
  765. end
  766. local bv = Instance.new("BodyVelocity")
  767. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  768. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  769. bv.Parent = body[part]
  770. Debris:AddItem(bv, 0.2)
  771. body[part].Parent = Effects
  772. body[part].Material = "Neon"
  773. body[part].BrickColor = BRICKC("Medium blue")
  774. coroutine.resume(coroutine.create(function()
  775. wait(5)
  776. if body[part].Parent == Effects then
  777. body[part]:remove()
  778. end
  779. end))
  780. end
  781. end
  782. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  783. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  784. end
  785. end
  786. end
  787. end
  788.  
  789. --//=================================\\
  790. --|| ATTACK FUNCTIONS AND STUFF
  791. --\\=================================//
  792. function Freeze()
  793. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, 0, 255, 255, "CenterPart", VT(0, 0, 0))
  794. local RAY = CreatePart(3, Effects, "Neon", 0, 1, 0, 255, 255, "Laser01", VT(100, 100, 100))
  795. MakeForm(RAY, "Ball")
  796. RAY.Color = SKILLTEXTCOLOR
  797. local ECH = Mouse.Hit.p
  798. RAY.CFrame = CF(ECH)
  799. CENTER.CFrame = RAY.CFrame
  800. for i = 1, 80 do
  801. Swait()
  802. RAY.Size = RAY.Size * 0.99
  803. RAY.Transparency = RAY.Transparency - 0.016666666666666666
  804. end
  805. MagicSphere(RAY.Size / 1.01, 35, RAY.CFrame, C3(1, 1, 1), VT(-0.3, -0.3, -0.3))
  806. for i = 1, 40 do
  807. Swait()
  808. RAY.Size = RAY.Size * 1.03
  809. freezenearest(RAY.Position, RAY.Size.X / 2)
  810. RAY.Transparency = RAY.Transparency + 0.03333333333333333
  811. end
  812. RAY:remove()
  813. Debris:AddItem(CENTER, 5)
  814. end
  815.  
  816. --//=================================\\
  817. --|| ASSIGN THINGS TO KEYS
  818. --\\=================================//
  819.  
  820. function MouseDown(Mouse)
  821. if ATTACK == false then
  822. end
  823. end
  824.  
  825. function MouseUp(Mouse)
  826. HOLD = false
  827. end
  828.  
  829. function KeyDown(Key)
  830. KEYHOLD = true
  831. if Key == "e" and ATTACK == false then
  832. Freeze()
  833. end
  834. end
  835.  
  836. function KeyUp(Key)
  837. KEYHOLD = false
  838. end
  839.  
  840. Mouse.Button1Down:connect(function(NEWKEY)
  841. MouseDown(NEWKEY)
  842. end)
  843. Mouse.Button1Up:connect(function(NEWKEY)
  844. MouseUp(NEWKEY)
  845. end)
  846. Mouse.KeyDown:connect(function(NEWKEY)
  847. KeyDown(NEWKEY)
  848. end)
  849. Mouse.KeyUp:connect(function(NEWKEY)
  850. KeyUp(NEWKEY)
  851. end)
  852.  
  853. --//=================================\\
  854. --\\=================================//
  855.  
  856. function AntiTimeStop()
  857. for _, c in pairs(Character:GetChildren()) do
  858. if c:IsA("BasePart") then
  859. c.Anchored = false
  860. end
  861. end
  862. for _, c in pairs(Weapon:GetChildren()) do
  863. if c:IsA("BasePart") then
  864. c.Anchored = false
  865. end
  866. end
  867. end
  868.  
  869. --//=================================\\
  870. --|| WRAP THE WHOLE SCRIPT UP
  871. --\\=================================//
  872.  
  873. Humanoid.Changed:connect(function(Jump)
  874. if Jump == "Jump" and (Disable_Jump == true) then
  875. Humanoid.Jump = false
  876. end
  877. end)
  878.  
  879. local sick = IT("Sound")
  880.  
  881. while true do
  882. Swait()
  883. script.Parent = WEAPONGUI
  884. ANIMATE.Parent = nil
  885. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  886. v:Stop();
  887. end
  888. SINE = SINE + CHANGE
  889. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  890. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  891. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  892. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  893. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  894. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  895. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  896. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  897. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  898. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  899. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  900. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  901. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  902. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  903. end
  904. if HITFLOOR == nil then
  905. ANIM = "Midair"
  906. if ATTACK == false then
  907. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  908. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  910. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  911. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  912. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  913. end
  914. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  915. ANIM = "Idle"
  916. if ATTACK == false then
  917. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  918. 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)
  919. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  920. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  921. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  922. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  923. end
  924. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  925. ANIM = "Walk"
  926. if ATTACK == false then
  927. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  931. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  932. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  933. end
  934. end
  935. sick.SoundId = "rbxassetid://1696854181"
  936. sick.Looped = true
  937. sick.Pitch = 1
  938. sick.Volume = 2
  939. sick.Playing = true
  940. sick.Parent = Effects
  941. if Character:FindFirstChildOfClass("Accessory") then
  942. Character:FindFirstChildOfClass("Accessory"):remove()
  943. elseif Character:FindFirstChildOfClass("Hat") then
  944. Character:FindFirstChildOfClass("Hat"):remove()
  945. end
  946. for _, c in pairs(Character:GetChildren()) do
  947. if c.ClassName == "Part" then
  948. c.Material = "Neon"
  949. if c:FindFirstChildOfClass("ParticleEmitter") then
  950. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  951. end
  952. if c == Torso then
  953. c.Color = BRICKC("Steel blue").Color
  954. elseif c == RightArm then
  955. c.Color = C3(0.5, 0.5, 1)
  956. elseif c == LeftArm then
  957. c.Color = C3(0.5, 0.5, 1)
  958. elseif c == RightLeg then
  959. c.Color = BRICKC("Storm blue").Color
  960. elseif c == LeftLeg then
  961. c.Color = BRICKC("Storm blue").Color
  962. elseif c == Head then
  963. c.Color = C3(0.5, 0.5, 1)
  964. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  965. c:remove()
  966. end
  967. end
  968. end
  969. AntiTimeStop()
  970. if Rooted == false then
  971. Disable_Jump = false
  972. Humanoid.WalkSpeed = Speed
  973. elseif Rooted == true then
  974. Disable_Jump = true
  975. Humanoid.WalkSpeed = 0
  976. end
  977. end
  978.  
  979. --//=================================\\
  980. --\\=================================//
  981.  
  982. --//====================================================\\--
  983. --|| END OF SCRIPT
  984. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment