The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Sun God Powers V2 script pastebin roblox
By Sun God Powers V2 on 2024-11-26 08:00 am | Syntax: LUA | Views: 16



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. --//====================================================\\--
  2. --||      CREATED BY MEWY23
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://434297181"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37.  
  38. local FF = Instance.new("ForceField",Character)
  39. FF.Visible = false
  40.  
  41. IT = Instance.new
  42. CF = CFrame.new
  43. VT = Vector3.new
  44. RAD = math.rad
  45. C3 = Color3.new
  46. UD2 = UDim2.new
  47. BRICKC = BrickColor.new
  48. ANGLES = CFrame.Angles
  49. EULER = CFrame.fromEulerAnglesXYZ
  50. COS = math.cos
  51. ACOS = math.acos
  52. SIN = math.sin
  53. ASIN = math.asin
  54. ABS = math.abs
  55. MRANDOM = math.random
  56. FLOOR = math.floor
  57.  
  58. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  59.  local NEWMESH = IT(MESH)
  60.  if MESH == "SpecialMesh" then
  61.   NEWMESH.MeshType = MESHTYPE
  62.   if MESHID ~= "nil" and MESHID ~= "" then
  63.    NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  64.   end
  65.   if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  66.    NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  67.   end
  68.  end
  69.  NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  70.  NEWMESH.Scale = SCALE
  71.  NEWMESH.Parent = PARENT
  72.  return NEWMESH
  73. end
  74.  
  75. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  76.  local NEWPART = IT("Part")
  77.  NEWPART.formFactor = FORMFACTOR
  78.  NEWPART.Reflectance = REFLECTANCE
  79.  NEWPART.Transparency = TRANSPARENCY
  80.  NEWPART.CanCollide = false
  81.  NEWPART.Locked = true
  82.  NEWPART.Anchored = true
  83.  NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  84.  NEWPART.Name = NAME
  85.  NEWPART.Size = SIZE
  86.  NEWPART.Position = Torso.Position
  87.  NEWPART.Material = MATERIAL
  88.  NEWPART:BreakJoints()
  89.  NEWPART.Parent = PARENT
  90.  return NEWPART
  91. end
  92.  
  93.  
  94. --//=================================\\
  95. --||    CUSTOMIZATION
  96. --\\=================================//
  97.  
  98. Class_Name = "Template"
  99. Weapon_Name = "Add-ons"
  100.  
  101. Custom_Colors = {
  102.  Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  103.  Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  104.  
  105.  Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  106.  Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  107.  Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  108.  Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  109.  Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  110.  
  111.  Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  112.  Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  113.  Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  114.  Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  115.  Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  116. }
  117.  
  118.  
  119. Player_Size = 1 --Size of the player.
  120. Animation_Speed = 3
  121. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  122.  
  123. local Speed = 16
  124. local Effects2 = {}
  125.  
  126. --//=================================\\
  127. --||    END OF CUSTOMIZATION
  128. --\\=================================//
  129.  
  130.  local function weldBetween(a, b)
  131.      local weldd = Instance.new("ManualWeld")
  132.      weldd.Part0 = a
  133.      weldd.Part1 = b
  134.      weldd.C0 = CFrame.new()
  135.      weldd.C1 = b.CFrame:inverse() * a.CFrame
  136.      weldd.Parent = a
  137.      return weldd
  138.  end
  139.  
  140. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  141. local acs = Instance.new("Part")
  142. acs.CanCollide = false
  143. acs.Anchored = false
  144. acs.Size = Vector3.new(0,0,0)
  145. acs.CFrame = attachmentpart.CFrame
  146. acs.Parent = Character
  147. acs.BrickColor = color
  148.     local meshs = Instance.new("SpecialMesh")
  149.     meshs.MeshId = mesh
  150.     meshs.TextureId = texture
  151.     meshs.Parent = acs
  152.     meshs.Scale = scale
  153.     meshs.Offset = offset
  154. weldBetween(attachmentpart,acs)
  155. end
  156.  
  157. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  158. if TYPE == "Gem" then
  159.  local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  160.  acs.Anchored = false
  161.     acs.CanCollide = false
  162.  acs.CFrame = PART.CFrame
  163.  local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  164. weldBetween(PART,acs)
  165. elseif TYPE == "Skull" then
  166.  local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  167.  acs.Anchored = false
  168.     acs.CanCollide = false
  169.  acs.CFrame = PART.CFrame
  170.  local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  171. weldBetween(PART,acs)
  172. elseif TYPE == "Eye" then
  173.  local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  174.  acs.Anchored = false
  175.     acs.CanCollide = false
  176.  acs.CFrame = PART.CFrame
  177.  local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  178. weldBetween(PART,acs)
  179. end
  180. end
  181.  
  182. local FIREHAND = IT("Attachment",RightArm)
  183. FIREHAND.Position = VT(0,-1.2,0)
  184.  
  185. --//=================================\\
  186. --||        USEFUL VALUES
  187. --\\=================================//
  188.  
  189. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  190. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  191. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  192. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  193. local CO1 = 0
  194. local CO2 = 0
  195. local CO3 = 0
  196. local CO4 = 0
  197. local CHANGEDEFENSE = 0
  198. local CHANGEDAMAGE = 0
  199. local CHANGEMOVEMENT = 0
  200. local ANIM = "Idle"
  201. local ATTACK = false
  202. local EQUIPPED = false
  203. local HOLD = false
  204. local COMBO = 1
  205. local LASTPOINT = nil
  206. local BLCF = nil
  207. local SCFR = nil
  208. local STAGGERHITANIM = false
  209. local STAGGERANIM = false
  210. local STUNANIM = false
  211. local CRITCHANCENUMBER = 0
  212. local IDLENUMBER = 0
  213. local DONUMBER = 0
  214. local HANDIDLE = false
  215. local SINE = 0
  216. local CHANGE = 2 / Animation_Speed
  217. local WALKINGANIM = false
  218. local WALK = 0
  219. local DISABLEJUMPING = false
  220. local HASBEENBLOCKED = false
  221. local STUNDELAYNUMBER = 0
  222. local MANADELAYNUMBER = 0
  223. local SECONDARYMANADELAYNUMBER = 0
  224. local ROBLOXIDLEANIMATION = IT("Animation")
  225. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  226. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  227. --ROBLOXIDLEANIMATION.Parent = Humanoid
  228. local WEAPONGUI = IT("ScreenGui", nil)
  229. WEAPONGUI.Name = "Weapon GUI"
  230. local WEAPONTOOL = IT("HopperBin", nil)
  231. WEAPONTOOL.Name = Weapon_Name
  232. local Weapon = IT("Model")
  233. Weapon.Name = Weapon_Name
  234. local Effects = IT("Folder", Weapon)
  235. Effects.Name = "Effects"
  236. local ANIMATOR = Humanoid.Animator
  237. local ANIMATE = Character.Animate
  238. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  239. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  240. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  241. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  242. local UNANCHOR = true
  243. local CIRCLESOUND = "462809305"
  244. local FIREBALL = "463598785"
  245. local EXPLOSION = "416328540"
  246. local RING1 = "462798941"
  247. local RING2 = "462798912"
  248.  
  249. --//=================================\\
  250. --\\=================================//
  251.  
  252. --//=================================\\
  253. --||     STATS
  254. --\\=================================//
  255.  
  256. if Character:FindFirstChild("Stats") ~= nil then
  257. Character:FindFirstChild("Stats").Parent = nil
  258. end
  259.  
  260. local Stats = IT("Folder", nil)
  261. Stats.Name = "Stats"
  262. local ChangeStat = IT("Folder", Stats)
  263. ChangeStat.Name = "ChangeStat"
  264. local Defense = IT("NumberValue", Stats)
  265. Defense.Name = "Defense"
  266. Defense.Value = 1
  267. local Movement = IT("NumberValue", Stats)
  268. Movement.Name = "Movement"
  269. Movement.Value = 1
  270. local Damage = IT("NumberValue", Stats)
  271. Damage.Name = "Damage"
  272. Damage.Value = 1
  273. local Mana = IT("NumberValue", Stats)
  274. Mana.Name = "Mana"
  275. Mana.Value = 0
  276. local SecondaryMana = IT("NumberValue", Stats)
  277. SecondaryMana.Name = "SecondaryMana"
  278. SecondaryMana.Value = 0
  279. local CanCrit = IT("BoolValue", Stats)
  280. CanCrit.Name = "CanCrit"
  281. CanCrit.Value = false
  282. local CritChance = IT("NumberValue", Stats)
  283. CritChance.Name = "CritChance"
  284. CritChance.Value = 20
  285. local CanPenetrateArmor = IT("BoolValue", Stats)
  286. CanPenetrateArmor.Name = "CanPenetrateArmor"
  287. CanPenetrateArmor.Value = false
  288. local AntiTeamKill = IT("BoolValue", Stats)
  289. AntiTeamKill.Name = "AntiTeamKill"
  290. AntiTeamKill.Value = false
  291. local Rooted = IT("BoolValue", Stats)
  292. Rooted.Name = "Rooted"
  293. Rooted.Value = false
  294. local Block = IT("BoolValue", Stats)
  295. Block.Name = "Block"
  296. Block.Value = false
  297. local RecentEnemy = IT("ObjectValue", Stats)
  298. RecentEnemy.Name = "RecentEnemy"
  299. RecentEnemy.Value = nil
  300. local StaggerHit = IT("BoolValue", Stats)
  301. StaggerHit.Name = "StaggerHit"
  302. StaggerHit.Value = false
  303. local Stagger = IT("BoolValue", Stats)
  304. Stagger.Name = "Stagger"
  305. Stagger.Value = false
  306. local Stun = IT("BoolValue", Stats)
  307. Stun.Name = "Stun"
  308. Stun.Value = false
  309. local StunValue = IT("NumberValue", Stats)
  310. StunValue.Name = "StunValue"
  311. StunValue.Value = 0
  312.  
  313.  
  314. --//=================================\\
  315. --\\=================================//
  316.  
  317.  
  318.  
  319.  
  320.  
  321. --//=================================\\
  322. --||       DEBUFFS / BUFFS
  323. --\\=================================//
  324.  
  325. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  326. DEFENSECHANGE1.Name = "ChangeDefense"
  327. DEFENSECHANGE1.Value = 0
  328.  
  329. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  330. MOVEMENTCHANGE1.Name = "ChangeMovement"
  331. MOVEMENTCHANGE1.Value = 0
  332.  
  333. --//=================================\\
  334. --\\=================================//
  335.  
  336.  
  337.  
  338.  
  339.  
  340. --//=================================\\
  341. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  342. --\\=================================//
  343.  
  344. ArtificialHB = Instance.new("BindableEvent", script)
  345. ArtificialHB.Name = "ArtificialHB"
  346.  
  347. script:WaitForChild("ArtificialHB")
  348.  
  349. frame = Frame_Speed
  350. tf = 0
  351. allowframeloss = false
  352. tossremainder = false
  353. lastframe = tick()
  354. script.ArtificialHB:Fire()
  355.  
  356. game:GetService("RunService").Heartbeat:connect(function(s, p)
  357.  tf = tf + s
  358.  if tf >= frame then
  359.   if allowframeloss then
  360.    script.ArtificialHB:Fire()
  361.    lastframe = tick()
  362.   else
  363.    for i = 1, math.floor(tf / frame) do
  364.     script.ArtificialHB:Fire()
  365.    end
  366.   lastframe = tick()
  367.   end
  368.   if tossremainder then
  369.    tf = 0
  370.   else
  371.    tf = tf - frame * math.floor(tf / frame)
  372.   end
  373.  end
  374. end)
  375.  
  376. --//=================================\\
  377. --\\=================================//
  378.  
  379.  
  380.  
  381.  
  382.  
  383. --//=================================\\
  384. --||        SOME FUNCTIONS
  385. --\\=================================//
  386.  
  387. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  388.  return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  389. end
  390.  
  391. function PositiveAngle(NUMBER)
  392.  if NUMBER >= 0 then
  393.   NUMBER = 0
  394.  end
  395.  return NUMBER
  396. end
  397.  
  398. function NegativeAngle(NUMBER)
  399.  if NUMBER <= 0 then
  400.   NUMBER = 0
  401.  end
  402.  return NUMBER
  403. end
  404.  
  405. function Swait(NUMBER)
  406.  if NUMBER == 0 or NUMBER == nil then
  407.   ArtificialHB.Event:wait()
  408.  else
  409.   for i = 1, NUMBER do
  410.    ArtificialHB.Event:wait()
  411.   end
  412.  end
  413. end
  414.  
  415. function QuaternionFromCFrame(cf)
  416.  local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  417.  local trace = m00 + m11 + m22
  418.  if trace > 0 then
  419.   local s = math.sqrt(1 + trace)
  420.   local recip = 0.5 / s
  421.   return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  422.  else
  423.   local i = 0
  424.   if m11 > m00 then
  425.    i = 1
  426.   end
  427.   if m22 > (i == 0 and m00 or m11) then
  428.    i = 2
  429.   end
  430.   if i == 0 then
  431.    local s = math.sqrt(m00 - m11 - m22 + 1)
  432.    local recip = 0.5 / s
  433.    return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  434.   elseif i == 1 then
  435.    local s = math.sqrt(m11 - m22 - m00 + 1)
  436.    local recip = 0.5 / s
  437.    return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  438.   elseif i == 2 then
  439.    local s = math.sqrt(m22 - m00 - m11 + 1)
  440.    local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  441.   end
  442.  end
  443. end
  444.  
  445. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  446.  local xs, ys, zs = x + x, y + y, z + z
  447.  local wx, wy, wz = w * xs, w * ys, w * zs
  448.  local xx = x * xs
  449.  local xy = x * ys
  450.  local xz = x * zs
  451.  local yy = y * ys
  452.  local yz = y * zs
  453.  local zz = z * zs
  454.  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))
  455. end
  456.  
  457. function QuaternionSlerp(a, b, t)
  458.  local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  459.  local startInterp, finishInterp;
  460.  if cosTheta >= 0.0001 then
  461.   if (1 - cosTheta) > 0.0001 then
  462.    local theta = ACOS(cosTheta)
  463.    local invSinTheta = 1 / SIN(theta)
  464.    startInterp = SIN((1 - t) * theta) * invSinTheta
  465.    finishInterp = SIN(t * theta) * invSinTheta
  466.   else
  467.    startInterp = 1 - t
  468.    finishInterp = t
  469.   end
  470.  else
  471.   if (1 + cosTheta) > 0.0001 then
  472.    local theta = ACOS(-cosTheta)
  473.    local invSinTheta = 1 / SIN(theta)
  474.    startInterp = SIN((t - 1) * theta) * invSinTheta
  475.    finishInterp = SIN(t * theta) * invSinTheta
  476.   else
  477.    startInterp = t - 1
  478.    finishInterp = t
  479.   end
  480.  end
  481.  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
  482. end
  483.  
  484. function Clerp(a, b, t)
  485.  local qa = {QuaternionFromCFrame(a)}
  486.  local qb = {QuaternionFromCFrame(b)}
  487.  local ax, ay, az = a.x, a.y, a.z
  488.  local bx, by, bz = b.x, b.y, b.z
  489.  local _t = 1 - t
  490.  return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  491. end
  492.  
  493. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  494.  local frame = IT("Frame")
  495.  frame.BackgroundTransparency = TRANSPARENCY
  496.  frame.BorderSizePixel = BORDERSIZEPIXEL
  497.  frame.Position = POSITION
  498.  frame.Size = SIZE
  499.  frame.BackgroundColor3 = COLOR
  500.  frame.BorderColor3 = BORDERCOLOR
  501.  frame.Name = NAME
  502.  frame.Parent = PARENT
  503.  return frame
  504. end
  505.  
  506. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  507.  local label = IT("TextLabel")
  508.  label.BackgroundTransparency = 1
  509.  label.Size = UD2(1, 0, 1, 0)
  510.  label.Position = UD2(0, 0, 0, 0)
  511.  label.TextColor3 = C3(255, 255, 255)
  512.  label.TextStrokeTransparency = STROKETRANSPARENCY
  513.  label.TextTransparency = TRANSPARENCY
  514.  label.FontSize = TEXTFONTSIZE
  515.  label.Font = TEXTFONT
  516.  label.BorderSizePixel = BORDERSIZEPIXEL
  517.  label.TextScaled = true
  518.  label.Text = TEXT
  519.  label.Name = NAME
  520.  label.Parent = PARENT
  521.  return label
  522. end
  523.  
  524. function NoOutlines(PART)
  525.  PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  526. end
  527.  
  528.  
  529. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  530.  local NEWWELD = IT(TYPE)
  531.  NEWWELD.Part0 = PART0
  532.  NEWWELD.Part1 = PART1
  533.  NEWWELD.C0 = C0
  534.  NEWWELD.C1 = C1
  535.  NEWWELD.Parent = PARENT
  536.  return NEWWELD
  537. end
  538.  
  539. function CreateSound(ID, PARENT, VOLUME, PITCH)
  540.  coroutine.resume(coroutine.create(function()
  541.   local NEWSOUND = IT("Sound", PARENT)
  542.   NEWSOUND.Volume = VOLUME
  543.   NEWSOUND.Pitch = PITCH
  544.   NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  545.   Swait()
  546.   NEWSOUND:play()
  547.   game:GetService("Debris"):AddItem(NEWSOUND, 10)
  548.  end))
  549. end
  550.  
  551. function CFrameFromTopBack(at, top, back)
  552.  local right = top:Cross(back)
  553.  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)
  554. end
  555.  
  556. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  557.  local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  558.  local mesh = IT("SpecialMesh",wave)
  559.  mesh.MeshType = "FileMesh"
  560.  mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  561.  mesh.Scale = VT(size,size,size)
  562.  mesh.Offset = VT(0,0,-size/8)
  563.  wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  564.  coroutine.resume(coroutine.create(function(PART)
  565.   for i = 1, waitt do
  566.    Swait()
  567.    mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  568.    mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  569.    if doesrotate == true then
  570.     wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  571.    end
  572.    wave.Transparency = wave.Transparency + (0.5/waitt)
  573.    if wave.Transparency > 0.99 then
  574.     wave:remove()
  575.    end
  576.   end
  577.  end))
  578. end
  579.  
  580. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  581.  local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  582.  local mesh = IT("SpecialMesh",wave)
  583.  mesh.MeshType = "FileMesh"
  584.  mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  585.  mesh.Scale = VT(size,size,size)
  586.  wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  587.  coroutine.resume(coroutine.create(function(PART)
  588.   for i = 1, waitt do
  589.    Swait()
  590.    mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  591.    if doesrotate == true then
  592.     wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  593.    end
  594.    wave.Transparency = wave.Transparency + (0.5/waitt)
  595.    if wave.Transparency > 0.99 then
  596.     wave:remove()
  597.    end
  598.   end
  599.  end))
  600. end
  601.  
  602. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  603.  local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  604.  local mesh = IT("SpecialMesh",wave)
  605.  mesh.MeshType = "FileMesh"
  606.  mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  607.  mesh.Scale = VT(size,size,size)
  608.  wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  609.  coroutine.resume(coroutine.create(function(PART)
  610.   for i = 1, waitt do
  611.    Swait()
  612.    if doesrotate == true then
  613.     wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  614.    end
  615.    wave.Transparency = wave.Transparency + (0.5/waitt)
  616.    if wave.Transparency > 0.99 then
  617.     wave.Parent = nil
  618.    end
  619.   end
  620.  end))
  621.  return wave
  622. end
  623.  
  624. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2,color)
  625.  local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  626.  local mesh = IT("SpecialMesh",wave)
  627.  mesh.MeshType = "FileMesh"
  628.  mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  629.  mesh.Scale = VT(size,size,size)
  630.  mesh.Offset = VT(0,0,0)
  631.  wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  632.  coroutine.resume(coroutine.create(function(PART)
  633.   for i = 1, waitt do
  634.    Swait()
  635.    mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  636.    if doesrotate == true then
  637.     wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  638.    end
  639.    wave.Transparency = wave.Transparency + (0.5/waitt)
  640.    if wave.Transparency > 0.99 then
  641.     wave:remove()
  642.    end
  643.   end
  644.  end))
  645. end
  646.  
  647. function MagicSphere(size,waitt,part,offset,color)
  648.  local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(0,0,0))
  649.  local mesh = IT("SpecialMesh",wave)
  650.  mesh.MeshType = "FileMesh"
  651.  mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  652.  mesh.Scale = VT(size,size,size)
  653.  mesh.Offset = VT(0,0,0)
  654.  wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  655.  coroutine.resume(coroutine.create(function(PART)
  656.   for i = 1, waitt do
  657.    Swait()
  658.    mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  659.    wave.Transparency = wave.Transparency + (1/waitt)
  660.    if wave.Transparency > 0.99 then
  661.     wave:remove()
  662.    end
  663.   end
  664.  end))
  665. end
  666.  
  667. function MagicBlock(size,waitt,part,offset,color)
  668.  local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  669.  local mesh = IT("BlockMesh",wave)
  670.  wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  671.  coroutine.resume(coroutine.create(function(PART)
  672.   for i = 1, waitt do
  673.    Swait()
  674.    mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  675.    wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  676.    wave.Transparency = wave.Transparency + (1/waitt)
  677.    if wave.Transparency > 0.99 then
  678.     wave:remove()
  679.    end
  680.   end
  681.  end))
  682. end
  683.  
  684. local EyeSizes={
  685.  NumberSequenceKeypoint.new(0,0.5,0),
  686.  NumberSequenceKeypoint.new(1,0.2,0)
  687. }
  688. local EyeTrans={
  689.  NumberSequenceKeypoint.new(0,0,0),
  690.  NumberSequenceKeypoint.new(1,1,0)
  691. }
  692. local PE=Instance.new("ParticleEmitter")
  693. PE.LightEmission=0.8
  694. PE.Size=NumberSequence.new(EyeSizes)
  695. PE.Transparency=NumberSequence.new(EyeTrans)
  696. PE.Rotation=NumberRange.new(0,360)
  697. PE.LockedToPart = false
  698. PE.Speed = NumberRange.new(0,0,0)
  699. PE.ZOffset = 0.3
  700. PE.Rate = 999
  701. PE.VelocitySpread = 90000
  702. PE.Name = "Particles"
  703.  
  704. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  705.  local particle = nil
  706.  coroutine.resume(coroutine.create(function(PART)
  707.   particle = PE:Clone()
  708.   Swait()
  709.   particle.Rate = 999
  710.   particle.Parent = art
  711.   particle.Acceleration = accel
  712.   if type == "Fire" then
  713.    local EyeSizes={
  714.     NumberSequenceKeypoint.new(0,size,size/2),
  715.     NumberSequenceKeypoint.new(1,size/4,size/8)
  716.    }
  717.    particle.Size = NumberSequence.new(EyeSizes)
  718.   elseif type == "Smoke" then
  719.    local EyeSizes={
  720.     NumberSequenceKeypoint.new(0,0.5,0),
  721.     NumberSequenceKeypoint.new(1,5,0.5)
  722.    }
  723.    particle.Size = NumberSequence.new(EyeSizes)
  724.   elseif type == "Solid" then
  725.    local EyeSizes={
  726.     NumberSequenceKeypoint.new(0,0.5,0),
  727.     NumberSequenceKeypoint.new(1,0.5,0)
  728.    }
  729.    particle.Size = NumberSequence.new(EyeSizes)
  730.   end
  731.   particle.Lifetime=NumberRange.new(lifetime)
  732.   particle.Drag = drag
  733.   if locked == true then
  734.    particle.LockedToPart = true
  735.   end
  736.   particle.Speed = NumberRange.new(speed,speed,speed)
  737.   particle.Texture = "http://www.roblox.com/asset/?id=296874871"
  738.   particle.Enabled = isenabledbydefault
  739.   particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
  740.  end))
  741. return particle
  742. end
  743.  
  744. local Decal = IT("Decal")
  745.  
  746. function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  747.  local sinkhole = IT("Part")
  748.  sinkhole.Size = VT(size,0,size)
  749.  sinkhole.CFrame = cframe
  750.  --sinkhole.Orientation = VT(0,0,0)
  751.  sinkhole.Parent = Effects
  752.  sinkhole.Material = "Neon"
  753.  sinkhole.Color = C3(1,0,0)
  754.  sinkhole.Anchored = true
  755.  sinkhole.CanCollide = false
  756.  sinkhole.Transparency = 1
  757.  local decal = Decal:Clone()
  758.  decal.Parent = sinkhole
  759.  decal.Face = "Top"
  760.  decal.Texture = "http://www.roblox.com/asset/?id=1217786509"
  761.  local decal2 = Decal:Clone()
  762.  decal2.Parent = sinkhole
  763.  decal2.Face = "Bottom"
  764.  decal2.Texture = "http://www.roblox.com/asset/?id=1217788749"
  765.  coroutine.resume(coroutine.create(function(PART)
  766.   for i = 1, waitt do
  767.    Swait()
  768.    if doesrotate == true then
  769.     sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  770.    end
  771.    if alwaysfade == true then
  772.     decal.Transparency = decal.Transparency + (1/waitt)
  773.     decal2.Transparency = decal.Transparency + (1/waitt)
  774.    end
  775.    if i > waitt-11 and (alwaysfade ~= true) then
  776.     decal.Transparency = decal.Transparency + 0.1
  777.     decal2.Transparency = decal.Transparency + 0.1
  778.    end
  779.   end
  780.   sinkhole.Parent = nil
  781.  end))
  782.  return sinkhole
  783. end
  784.  
  785. function CreateMagicRingTilSize(cframe,size,waitt)
  786.  for i = 1, size do
  787.   CreateMagicCircle(i/5,false,0,3,cframe,true)
  788.   Swait()
  789.  end
  790.  CreateMagicCircle(size/5,false,0,waitt,cframe,false)
  791. end
  792.  
  793. --//=================================\\
  794. --\\=================================//
  795.  
  796.  
  797. --//=================================\\
  798. --||      WEAPON CREATION
  799. --\\=================================//
  800.  
  801. if Player_Size ~= 1 then
  802.  for _, v in pairs (Weapon:GetChildren()) do
  803.   if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  804.    local p1 = v.Part1
  805.    v.Part1 = nil
  806.    local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  807.    v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  808.    v.Part1 = p1
  809.   elseif v.ClassName == "Part" then
  810.    for _, b in pairs (v:GetChildren()) do
  811.     if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  812.      b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  813.     end
  814.    end
  815.   end
  816.  end
  817. end
  818.  
  819. for _, c in pairs(Weapon:GetChildren()) do
  820.  if c.ClassName == "Part" then
  821.   c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  822.  end
  823. end
  824.  
  825. Weapon.Parent = Character
  826.  
  827. Humanoid.Died:connect(function()
  828.  ATTACK = true
  829. end)
  830.  
  831. print(Class_Name.." loaded.")
  832.  
  833. --//=================================\\
  834. --\\=================================//
  835.  
  836.  
  837.  
  838.  
  839.  
  840. --//=================================\\
  841. --||      DAMAGE FUNCTIONS
  842. --\\=================================//
  843.  
  844. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  845.  local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  846.  STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  847.  local BODYGYRO = IT("BodyGyro", STATPART)
  848.  local BODYPOSITION = IT("BodyPosition", STATPART)
  849.  BODYPOSITION.P = 2000
  850.  BODYPOSITION.D = 100
  851.  BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  852.  if LABELTYPE == "Normal" then
  853.   BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  854.  elseif LABELTYPE == "Debuff" then
  855.   BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  856.  elseif LABELTYPE == "Interruption" then
  857.   BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  858.  end
  859.  game:GetService("Debris"):AddItem(STATPART ,5)
  860.  local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  861.  BILLBOARDGUI.Adornee = STATPART
  862.  BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  863.  BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  864.  BILLBOARDGUI.AlwaysOnTop = false
  865.  local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  866.  TEXTLABEL.BackgroundTransparency = 1
  867.  TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  868.  TEXTLABEL.Text = TEXT
  869.  TEXTLABEL.Font = "SciFi"
  870.  TEXTLABEL.FontSize="Size42"
  871.  TEXTLABEL.TextColor3 = COLOR
  872.  TEXTLABEL.TextStrokeTransparency = 1
  873.  TEXTLABEL.TextScaled = true
  874.  TEXTLABEL.TextWrapped = true
  875.  coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  876.   wait(0.2)
  877.   for i=1, 5 do
  878.    wait()
  879.    THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  880.   end
  881.   wait(1.2)
  882.   for i=1, 5 do
  883.    wait()
  884.    THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  885.    THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  886.    THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  887.   end
  888.   THEPART.Parent = nil
  889.  end),STATPART, BODYPOSITION, TEXTLABEL)
  890. end
  891.  
  892.  
  893. --//=================================\\
  894. --||   DAMAGING
  895. --\\=================================//
  896.  
  897. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  898.  if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  899.   local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  900.   local dmg = math.random(min,max)
  901.   if humanoid.Health > 0 then
  902.    if beserk == true then
  903.     humanoid.Health = 0
  904.    else
  905.     CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  906.     hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  907.     if math.random(1,100) < critrate xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed naeeym2.Name = "TalkingBillBoard" xss=removed xss=removed xss=removed xss=removed tecks2.Text = "" tecks2.Font = "Fantasy" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed tecks3.Text = "" tecks3.Font = "Fantasy" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed FIREBALL.Shape = "Ball" xss=removed FIREBALL.Material = "Neon" xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed bv.Name = "MOVE" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed bv.Name = "DASH" i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed Trail.Texture = "rbxassetid://945758042" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed bv.Name = "DASH" xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed bv.Name = "MOVE" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed i=0, xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed eye.Shape = "Ball" xss=removed eye.Material = "Neon" xss=removed xss=removed xss=removed eye.Shape = "Ball" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed> 1 then
  908.    RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  909.    Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  910.    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)
  911.    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)
  912.   elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1 xss=removed xss=removed xss=removed xss=removed> 1 and HITFLOOR == nil then
  913.    ANIM = "Jump"
  914.    if ATTACK == false then
  915.     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  916.     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  917.     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  918.     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  919.     RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  920.     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  921.          end
  922.   elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  923.    ANIM = "Fall"
  924.    if ATTACK == false then
  925.     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  926.     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  927.     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  928.     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  929.     RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  930.     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  931.    end
  932.   elseif TORSOVELOCITY < 1 xss=removed ANIM = "Idle" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed> 1 and HITFLOOR ~= nil then
  933.    ANIM = "Walk"
  934.    WALK = WALK + 1 / Animation_Speed
  935.    if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  936.     WALK = 0
  937.     if WALKINGANIM == true then
  938.      WALKINGANIM = false
  939.     elseif WALKINGANIM == false then
  940.      WALKINGANIM = true
  941.     end
  942.    end
  943.    --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)
  944.    --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)
  945.    if ATTACK == false then
  946.     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  947.     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  948.     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  949.     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  950.     RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  951.     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  952.    end
  953.   end
  954. if #Effects2>0 then
  955. for e=1,#Effects2 do
  956. if Effects2[e]~=nil then
  957. local Thing=Effects2[e]
  958. if Thing~=nil then
  959. local Part=Thing[1]
  960. local Mode=Thing[2]
  961. local Delay=Thing[3]
  962. local IncX=Thing[4]
  963. local IncY=Thing[5]
  964. local IncZ=Thing[6]
  965. local Part2=Thing[8]
  966. if Thing[1].Transparency<=1 then
  967. if Thing[2]=="Block1" then
  968. Thing[1].CFrame=Thing[1].CFrame
  969. Mesh=Thing[1].Mesh
  970. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  971. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  972. elseif Thing[2]=="Cylinder" then
  973. Mesh=Thing[1].Mesh
  974. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  975. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  976. elseif Thing[2]=="Blood" then
  977. Mesh=Thing[7]
  978. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  979. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  980. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  981. elseif Thing[2]=="Elec" then
  982. Mesh=Thing[1].Mesh
  983. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  984. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  985. elseif Thing[2]=="Disappear" then
  986. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  987. end
  988. else
  989. Part.Parent=nil
  990. table.remove(Effects2,e)
  991. end
  992. end
  993. end
  994. end
  995. end
  996. unanchor()
  997. Humanoid.MaxHealth = "inf"
  998. Humanoid.Health = "inf"
  999. if Rooted == false then
  1000.  Disable_Jump = false
  1001.  Humanoid.WalkSpeed = Speed
  1002. elseif Rooted == true then
  1003.  Disable_Jump = true
  1004.  Humanoid.WalkSpeed = 0
  1005. end
  1006. if Head:FindFirstChild("face") then
  1007.  Head.face:remove()
  1008. end
  1009. end
  1010.  
  1011. --//=================================\\
  1012. --\\=================================//
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018. --//====================================================\\--
  1019. --||        END OF SCRIPT
  1020. --\\====================================================//--



  • Recent Roblox Scripts