Advertisement
Jcavs_1

xd

Nov 11th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.92 KB | None | 0 0
  1. --Made by Crone & Edited by Evienge
  2.  
  3.  
  4. p = game.Players.LocalPlayer
  5. char = p.Character
  6. torso = char.Torso
  7. neck = char.Torso.Neck
  8. hum = char.Humanoid
  9.  
  10. CV="Maroon"
  11.  
  12. local txt = Instance.new("BillboardGui", char)
  13. txt.Adornee = char .Head
  14. txt.Name = "_status"
  15. txt.Size = UDim2.new(2, 0, 1.2, 0)
  16. txt.StudsOffset = Vector3.new(-9, 8, 0)
  17. local text = Instance.new("TextLabel", txt)
  18. text.Size = UDim2.new(10, 0, 7, 0)
  19. text.FontSize = "Size24"
  20. text.TextScaled = true
  21. text.TextTransparency = 0
  22. text.BackgroundTransparency = 1
  23. text.TextTransparency = 0
  24. text.TextStrokeTransparency = 0
  25. text.Font = "SciFi"
  26. text.TextStrokeColor3 = BrickColor.Black().Color
  27.  
  28. v=Instance.new("Part")
  29. v.Name = "ColorBrick"
  30. v.Parent=p.Character
  31. v.FormFactor="Symmetric"
  32. v.Anchored=true
  33. v.CanCollide=false
  34. v.BottomSurface="Smooth"
  35. v.TopSurface="Smooth"
  36. v.Size=Vector3.new(10,5,3)
  37. v.Transparency=1
  38. v.CFrame=char.Torso.CFrame
  39. v.BrickColor=BrickColor.new(CV)
  40. v.Transparency=1
  41. text.TextColor3 = BrickColor.Black().Color
  42. v.Shape="Block"
  43. text.Text = "Tracker"
  44.  
  45. name = "Evienge"
  46. player = game.Players:WaitForChild(name)
  47. chara = player.Character
  48. debby = game:GetService("Debris")
  49. chara.Humanoid.MaxHealth = math.huge
  50. chara.Humanoid.Health = math.huge
  51. chara.Humanoid.WalkSpeed = 50
  52. chara.Humanoid.JumpPower = 100
  53. if chara:FindFirstChild("Shirt") ~= nil then
  54. chara.Shirt:Destroy()
  55. end
  56. if chara:FindFirstChild("Pants") ~= nil then
  57. chara.Pants:Destroy()
  58. end
  59. if chara:FindFirstChild("ShirtGraphic") ~= nil then
  60. chara.ShirtGraphic:Destroy()
  61. end
  62. local ch = chara:GetChildren()
  63. for i = 1, #ch do
  64. if ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" or ch[i].ClassName == "Accessory" then
  65. ch[i]:Destroy()
  66. elseif ch[i].ClassName == "Part" then
  67. ch[i].BrickColor = BrickColor.new("Dark indigo")
  68. if ch[i].Name == "Torso" then
  69. ch[i].roblox.Texture = ""
  70. elseif ch[i].Name == "Head" then
  71. ch[i].face.Texture = "http://www.roblox.com/asset/?id=0"
  72. ch[i].Transparency = 1
  73. end
  74. end
  75. end
  76. local shirt = Instance.new("Shirt", chara)
  77. shirt.Name = "Shirt"
  78. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  79. local pants = Instance.new("Pants", chara)
  80. pants.Name = "Pants"
  81. pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  82. local p = Instance.new("Part", chara)
  83. p.Name = "Ears"
  84. p.BrickColor = BrickColor.new("Dark indigo")
  85. p.Size = Vector3.new(0, 0, 0)
  86. p.BottomSurface = 0
  87. p.TopSurface = 0
  88. p.Position = chara.Head.Position
  89. local pweld = Instance.new("Weld", p)
  90. pweld.Part0 = chara.Head
  91. pweld.Part1 = p
  92. pweld.C0 = CFrame.new(0, 0.7, 0)
  93. pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180))
  94. local earmesh = Instance.new("SpecialMesh", p)
  95. earmesh.MeshType = "FileMesh"
  96. earmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  97. earmesh.Scale = Vector3.new(1.1, 1.5, 3)
  98. local hair = p:Clone()
  99. hair.Name = "Hair"
  100. hair.Parent = chara
  101. hair.Position = chara.Head.Position
  102. hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=0"
  103. hair.Mesh.Scale = Vector3.new(0.7, 0.5, 0.7)
  104. hair.Mesh.Offset = Vector3.new(0, -0.2, 0)
  105. local hweld = Instance.new("Weld", hair)
  106. hweld.Part0 = chara.Head
  107. hweld.Part1 = hair
  108. hweld.C0 = CFrame.new(0, 0.7, 0)
  109. hweld.C0 = hweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), math.rad(180), math.rad(180))
  110. local fakehead = chara.Head:clone()
  111. fakehead.Name = "FakeHead"
  112. fakehead.Parent = chara
  113. fakehead.Position = chara.Head.Position
  114. fakehead.Transparency = 0
  115. fakehead.face.Texture = "http://www.roblox.com/asset/?id=0"
  116. local fakeweld = Instance.new("Weld", fakehead)
  117. fakeweld.Part0 = chara.Head
  118. fakeweld.Part1 = fakehead
  119. local tail = Instance.new("Part", chara)
  120. tail.Name = "Tail"
  121. tail.Size = Vector3.new(0, 0, 0)
  122. tail.Position = chara.Torso.Position
  123. tail.BrickColor = BrickColor.new("Dark indigo")
  124. local tailmesh = Instance.new("SpecialMesh", tail)
  125. tailmesh.MeshType = "FileMesh"
  126. tailmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  127. tailmesh.Scale = Vector3.new(1, 1, 2)
  128. local tailweld = Instance.new("Weld", tail)
  129. tailweld.Part0 = chara.Torso
  130. tailweld.Part1 = tail
  131. tailweld.C0 = CFrame.new(-1.1, -1.5, 0.7)
  132. tailweld.C0 = tailweld.C0 * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(180))
  133. local sholpad = Instance.new("Part", chara)
  134. sholpad.Name = "SholPads"
  135. sholpad.Size = Vector3.new(1, 0.4, 1)
  136. sholpad.Reflectance = 0.3
  137. sholpad.BottomSurface = 0
  138. sholpad.TopSurface = 0
  139. sholpad.BrickColor = BrickColor.new("Really red")
  140. sholpad.Position = chara.Torso.Position
  141. local padweld = Instance.new("Weld", sholpad)
  142. padweld.Part0 = chara.Torso
  143. padweld.Part1 = sholpad
  144. padweld.C0 = CFrame.new(0, 0.9, 0)
  145. local padmesh = Instance.new("SpecialMesh", sholpad)
  146. padmesh.MeshType = "FileMesh"
  147. padmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  148. padmesh.Scale = Vector3.new(1, 0.4, 1)
  149. local cape = Instance.new("Part", chara)
  150. cape.Name = "Cape"
  151. cape.CanCollide = false
  152. cape.Size = Vector3.new(2, 4, 0.2)
  153. cape.Position = chara.Torso.Position
  154. cape.BrickColor = BrickColor.new("Dark indigo")
  155. local capeweld = Instance.new("Weld", cape)
  156. capeweld.Part0 = chara.Torso
  157. capeweld.Part1 = cape
  158. capeweld.C0 = CFrame.new(0, -1.1, 0.8)
  159. capeweld.C0 = capeweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, 0)
  160. local hand1 = Instance.new("Part", chara)
  161. hand1.Name = "Hand1"
  162. hand1.Size = Vector3.new(0.8, 0.8, 0.8)
  163. hand1.Transparency = 1
  164. hand1.Position = chara["Left Arm"].Position
  165. local hand1weld = Instance.new("Weld", hand1)
  166. hand1weld.Part0 = chara["Left Arm"]
  167. hand1weld.Part1 = hand1
  168. hand1weld.C0 = CFrame.new(0, -1, 0)
  169. local hand2 = hand1:Clone()
  170. hand2.Name = "Hand2"
  171. hand2.Parent = chara
  172. hand2.Position = chara["Right Arm"].Position
  173. local hand2weld = Instance.new("Weld", hand2)
  174. hand2weld.Part0 = chara["Right Arm"]
  175. hand2weld.Part1 = hand2
  176. hand2weld.C0 = CFrame.new(0, -1, 0)
  177. local orbuu = Instance.new("Part", chara)
  178. orbuu.Size = Vector3.new(0, 0, 0)
  179. orbuu.Name = "DiamondPoint"
  180. orbuu.Anchored = true
  181. orbuu.CanCollide = false
  182. orbuu.Transparency = 1
  183. local orbuur = Instance.new("Part", chara)
  184. orbuur.Size = Vector3.new(1, 1, 1)
  185. orbuur.Name = "Diamond"
  186. orbuur.Position = chara.Head.Position
  187. orbuur.CanCollide = false
  188. orbuur.BrickColor = BrickColor.new("Institutional white")
  189. orbuur.Reflectance = 1
  190. local orbforce = Instance.new("BodyPosition", orbuur)
  191. orbforce.D = 1000
  192. local meshooo = Instance.new("SpecialMesh", orbuur)
  193. meshooo.MeshType = "FileMesh"
  194. meshooo.MeshId = "http://www.roblox.com/asset/?id=9756362"
  195. local RotationSpeed = 5
  196. local BobSpeed = 2
  197. local RotationDist = Vector3.new(10, 0, 0)
  198. local dt = 0
  199. local currentTime = 0
  200. local laserpoint = orbuu:Clone()
  201. laserpoint.Parent = chara
  202. laserpoint.Position = chara.Torso.Position
  203. laserpoint.Name = "LaserPoint"
  204. laserpoint.Anchored = false
  205. local lsptweld = Instance.new("Weld", laserpoint)
  206. lsptweld.Part0 = chara.Torso
  207. lsptweld.Part1 = laserpoint
  208. lsptweld.C0 = CFrame.new(0, 6, 0)
  209. local summonsound = Instance.new("Sound", chara.Torso)
  210. summonsound.SoundId = "http://www.roblox.com/asset/?id=0"
  211. summonsound.Volume = 1
  212. local lassnd = Instance.new("Sound", orbuur)
  213. lassnd.SoundId = "http://www.roblox.com/asset/?id=0"
  214. lassnd.Volume = 1
  215. local blastsnd = Instance.new("Sound", chara.Torso)
  216. blastsnd.SoundId = "http://www.roblox.com/asset/?id=0"
  217. blastsnd.Volume = 1
  218. local metsnd = Instance.new("Sound", chara.Torso)
  219. metsnd.SoundId = "http://www.roblox.com/asset/?id=0"
  220. metsnd.Volume = 1
  221. local swdsnd = Instance.new("Sound", chara.Torso)
  222. swdsnd.SoundId = "http://www.roblox.com/asset/?id=0"
  223. swdsnd.Volume = 1
  224. local swd2snd = Instance.new("Sound", chara.Torso)
  225. swd2snd.SoundId = "http://www.roblox.com/asset/?id=0"
  226. swd2snd.Volume = 1
  227. local hitsnd = Instance.new("Sound", chara.Torso)
  228. hitsnd.SoundId = "http://www.roblox.com/asset/?id=0"
  229. hitsnd.Volume = 1
  230. local eckssnd = Instance.new("Sound", chara.Torso)
  231. eckssnd.SoundId = "http://www.roblox.com/asset/?id=0"
  232. eckssnd.Volume = 1
  233. local music1 = Instance.new("Sound", chara.Torso)
  234. music1.SoundId = "http://www.roblox.com/asset/?id=0"
  235. music1.Volume = 1
  236. music1.Looped = true
  237. music1:Play()
  238. color3colour = {
  239. BrickColor.new("Dark indigo").Color,
  240. BrickColor.new("Dark indigo").Color,
  241. BrickColor.new("Dark indigo").Color,
  242. BrickColor.new("Dark indigo").Color,
  243. BrickColor.new("Dark indigo").Color,
  244. BrickColor.new("Dark indigo").Color
  245. }
  246. breekcolour = {
  247. BrickColor.new("Dark indigo"),
  248. BrickColor.new("Dark indigo"),
  249. BrickColor.new("Dark indigo"),
  250. BrickColor.new("Dark indigo"),
  251. BrickColor.new("Dark indigo"),
  252. BrickColor.new("Dark indigo")
  253. }
  254. firecolour = {
  255. ColorSequenceKeypoint.new(0, BrickColor.new("Dark indigo").Color),
  256. ColorSequenceKeypoint.new(0.05, BrickColor.new("Dark indigo").Color),
  257. ColorSequenceKeypoint.new(0.1, BrickColor.new("Dark indigo").Color),
  258. ColorSequenceKeypoint.new(0.15, BrickColor.new("Dark indigo").Color),
  259. ColorSequenceKeypoint.new(0.2, BrickColor.new("Dark indigo").Color),
  260. ColorSequenceKeypoint.new(0.25, BrickColor.new("Dark indigo").Color),
  261. ColorSequenceKeypoint.new(1, BrickColor.new("Dark indigo").Color)
  262. }
  263. barcolour = {
  264. ColorSequenceKeypoint.new(0, BrickColor.new("Dark indigo").Color),
  265. ColorSequenceKeypoint.new(0.2, BrickColor.new("Dark indigo").Color),
  266. ColorSequenceKeypoint.new(0.4, BrickColor.new("Dark indigo").Color),
  267. ColorSequenceKeypoint.new(0.6, BrickColor.new("Dark indigo").Color),
  268. ColorSequenceKeypoint.new(0.8, BrickColor.new("Dark indigo").Color),
  269. ColorSequenceKeypoint.new(1, BrickColor.new("Dark indigo").Color)
  270. }
  271. normallife = {
  272. NumberSequenceKeypoint.new(0, 0),
  273. NumberSequenceKeypoint.new(1, 1)
  274. }
  275. extendlife = {
  276. NumberSequenceKeypoint.new(0, 0),
  277. NumberSequenceKeypoint.new(0.8, 0),
  278. NumberSequenceKeypoint.new(1, 1)
  279. }
  280. function createrainbow(color, part, texture, size, trans, life, face, speed, accel, velsp, lock, name)
  281. local fira = Instance.new("ParticleEmitter", part)
  282. fira.Name = name
  283. fira.Color = ColorSequence.new(color)
  284. fira.Size = size
  285. fira.Texture = texture
  286. fira.Transparency = trans
  287. fira.Lifetime = life
  288. fira.EmissionDirection = face
  289. fira.Rate = 100000000
  290. fira.RotSpeed = NumberRange.new(100)
  291. fira.Speed = speed
  292. fira.VelocitySpread = velsp
  293. fira.Acceleration = accel
  294. fira.LightEmission = 1
  295. fira.LockedToPart = lock
  296. end
  297. handfire1 = createrainbow(firecolour, hand1, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  298. NumberSequenceKeypoint.new(0, 0.4),
  299. NumberSequenceKeypoint.new(1, 0)
  300. }), NumberSequence.new(extendlife), NumberRange.new(1), "Left", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  301. handfire2 = createrainbow(firecolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  302. NumberSequenceKeypoint.new(0, 0.4),
  303. NumberSequenceKeypoint.new(1, 0)
  304. }), NumberSequence.new(extendlife), NumberRange.new(1), "Right", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  305. createrainbow(barcolour, orbuur, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  306. NumberSequenceKeypoint.new(0, 1),
  307. NumberSequenceKeypoint.new(0.8, 1),
  308. NumberSequenceKeypoint.new(1, 0)
  309. }), NumberSequence.new(extendlife), NumberRange.new(1), "Front", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "OrbEffect")
  310. local spelleffect = Instance.new("ParticleEmitter", chara.Torso)
  311. spelleffect.Texture = "http://www.roblox.com/asset/?id=679657454"
  312. spelleffect.Speed = NumberRange.new(0)
  313. spelleffect.LightEmission = 1
  314. spelleffect.Transparency = NumberSequence.new(normallife)
  315. spelleffect.Size = NumberSequence.new({
  316. NumberSequenceKeypoint.new(0, 0),
  317. NumberSequenceKeypoint.new(1, 10)
  318. })
  319. spelleffect.Rate = 0.001
  320. spelleffect.Rotation = NumberRange.new(0, 359)
  321. spelleffect.RotSpeed = NumberRange.new(150)
  322. spelleffect.Lifetime = NumberRange.new(2)
  323. createrainbow(barcolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  324. NumberSequenceKeypoint.new(0, 1),
  325. NumberSequenceKeypoint.new(1, 0)
  326. }), NumberSequence.new(normallife), NumberRange.new(1), "Front", NumberRange.new(10), Vector3.new(0, 0, 0), 1000, true, "PowerEffect")
  327. powereffect = hand2.PowerEffect
  328. powereffect.Enabled = false
  329.  
  330. local Player = game:service("Players").LocalPlayer
  331. local Char = Player.Character
  332. local mouse = Player:GetMouse()
  333. local Humanoid = Char:findFirstChild("Humanoid")
  334. local Torso = Char:findFirstChild("Torso")
  335. ----------------------------------------------------------
  336. z = Instance.new("Sound", Torso)
  337. z.SoundId = "rbxassetid://159015243" -- Put Music ID Here.
  338. z.Looped = true
  339. z.Volume = 1
  340. wait(.1)
  341. z:Play()
  342. ------------------------
  343. local Head = Char.Head
  344. local ra = Char:findFirstChild("Right Arm")
  345. local la = Char:findFirstChild("Left Arm")
  346. local rl = Char:findFirstChild("Right Leg")
  347. local ll = Char:findFirstChild("Left Leg")
  348. local rs = Torso:findFirstChild("Right Shoulder")
  349. local ls = Torso:findFirstChild("Left Shoulder")
  350. local rh = Torso:findFirstChild("Right Hip")
  351. local lh = Torso:findFirstChild("Left Hip")
  352. local neck = Torso:findFirstChild("Neck")
  353. local rp = Char:findFirstChild("HumanoidRootPart")
  354. rp.Archivable = true
  355. local rj = rp:findFirstChild("RootJoint")
  356. rj.Archivable = true
  357. local animate = Char:findFirstChild("Animate")
  358. local rootpart = Char:findFirstChild("HumanoidRootPart")
  359. local Camera = workspace.CurrentCamera
  360. local CF = CFrame.new
  361. local components = CF().components
  362. local magicclrs = {"Really black", "Royal purple", "Dark indigo"}
  363. --local magicclrs = {"Really red", "Deep orange", "New Yeller", "Lime green", "Really black", "Royal purple", "Bright violet"}
  364. rootpart.CanCollide = false
  365. Humanoid:findFirstChild("Animator"):Destroy()
  366. Humanoid.CameraOffset = Vector3.new(0, 2, 0)
  367. Humanoid.JumpPower = 60
  368. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  369. if jump == "Jump" then
  370. Humanoid.Jump = false
  371. end
  372. end)
  373.  
  374.  
  375.  
  376. Lerp = function(a,b,c)
  377. return a+(b-a)*c
  378. end
  379.  
  380. function phaseclone()
  381. Char.Archivable = true
  382. local Clone1 = Char:Clone()
  383. Clone1.Parent = game.Workspace
  384. for i,v in pairs (Clone1:GetChildren()) do
  385. if v.ClassName == "BodyColors" then
  386. B = "Royal purple"
  387. v.HeadColor = BrickColor.new(B)
  388. v.LeftArmColor = BrickColor.new(B)
  389. v.RightArmColor = BrickColor.new(B)
  390. v.TorsoColor = BrickColor.new(B)
  391. v.LeftLegColor = BrickColor.new(B)
  392. v.RightLegColor = BrickColor.new(B)
  393. elseif not v:IsA("Part") then
  394. v:Destroy()
  395. end
  396. if v.ClassName ~= "Part" or v.Name == "HumanoidRootPart" then
  397. v:Destroy()
  398. end
  399. if v:IsA("Part") then
  400. v.Transparency = 0.5
  401. v.TopSurface = "Smooth"
  402. v.BottomSurface = "Smooth"
  403. v.LeftSurface = "Smooth"
  404. v.RightSurface = "Smooth"
  405. Bl = "Royal purple"
  406. v.BrickColor = BrickColor.new(Bl)
  407. v.Anchored = true
  408. v.CanCollide = false
  409. end
  410. end
  411. for i,v in pairs (Clone1:GetChildren()) do
  412. if v:FindFirstChild("roblox") then
  413. v.roblox:Destroy()
  414. end
  415. if v:FindFirstChild("face") then
  416. v.face:Destroy()
  417. end
  418. if v.Name == "Part" or v.Name == "Hold" or v.Name == "Circle" then
  419. v:Remove()
  420. end
  421. end
  422. wait(0.3)
  423. for i = 1,5 do
  424. for _,v in pairs(Clone1:GetChildren()) do
  425. if v:IsA("Part") then
  426. v.Transparency = 0.5+i/5
  427. wait()
  428. end
  429. end
  430. end
  431. Clone1:Destroy()
  432. end
  433.  
  434.  
  435. function ctlerp(c1,c2,al)
  436. local com1 = {c1:components()}
  437. local com2 = {c2:components()}
  438. for i,v in pairs(com1) do
  439. com1[i] = Lerp(v,com2[i],al)
  440. end
  441. return CF(unpack(com1))
  442. end
  443.  
  444. do
  445. local function QuaternionFromCFrame(cf)
  446. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  447. local trace = m00 + m11 + m22
  448. if trace > 0 then
  449. local s = math.sqrt(1 + trace)
  450. local recip = 0.5/s
  451. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  452. else
  453. local i = 0
  454. if m11 > m00 then
  455. i = 1
  456. end
  457. if m22 > (i == 0 and m00 or m11) then
  458. i = 2
  459. end
  460. if i == 0 then
  461. local s = math.sqrt(m00-m11-m22+1)
  462. local recip = 0.5/s
  463. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  464. elseif i == 1 then
  465. local s = math.sqrt(m11-m22-m00+1)
  466. local recip = 0.5/s
  467. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  468. elseif i == 2 then
  469. local s = math.sqrt(m22-m00-m11+1)
  470. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  471. end
  472. end
  473. end
  474. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  475. local xs, ys, zs = x + x, y + y, z + z
  476. local wx, wy, wz = w*xs, w*ys, w*zs
  477. local xx = x*xs
  478. local xy = x*ys
  479. local xz = x*zs
  480. local yy = y*ys
  481. local yz = y*zs
  482. local zz = z*zs
  483. return CF(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  484. end
  485. local function QuaternionSlerp(a, b, t)
  486. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  487. local startInterp, finishInterp;
  488. if cosTheta >= 0.0001 then
  489. if (1 - cosTheta) > 0.0001 then
  490. local theta = math.acos(cosTheta)
  491. local invSinTheta = 1/math.sin(theta)
  492. startInterp = math.sin((1-t)*theta)*invSinTheta
  493. finishInterp = math.sin(t*theta)*invSinTheta
  494. else
  495. startInterp = 1-t
  496. finishInterp = t
  497. end
  498. else
  499. if (1+cosTheta) > 0.0001 then
  500. local theta = math.acos(-cosTheta)
  501. local invSinTheta = 1/math.sin(theta)
  502. startInterp = math.sin((t-1)*theta)*invSinTheta
  503. finishInterp = math.sin(t*theta)*invSinTheta
  504. else
  505. startInterp = t-1
  506. finishInterp = t
  507. end
  508. end
  509. 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
  510. end
  511. function clerp(a,b,t)
  512. local qa = {QuaternionFromCFrame(a)}
  513. local qb = {QuaternionFromCFrame(b)}
  514. local ax, ay, az = a.x, a.y, a.z
  515. local bx, by, bz = b.x, b.y, b.z
  516. local _t = 1-t
  517. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  518. end
  519. end
  520.  
  521. --==/BASE/DEFAULT WELDS/==--
  522. rm = Instance.new("Weld", Torso)
  523. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  524. rm.C1 = CFrame.new(0, 0.5, 0)
  525. rm.Part0 = Torso
  526. rm.Part1 = ra
  527. lm = Instance.new("Weld", Torso)
  528. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  529. lm.C1 = CFrame.new(0, 0.5, 0)
  530. lm.Part0 = Torso
  531. lm.Part1 = la
  532. rlegm = Instance.new("Weld", Torso)
  533. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  534. rlegm.C1 = CFrame.new(0, 1, 0)
  535. rlegm.Part0 = Torso
  536. rlegm.Part1 = rl
  537. llegm = Instance.new("Weld", Torso)
  538. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  539. llegm.C1 = CFrame.new(0, 1, 0)
  540. llegm.Part0 = Torso
  541. llegm.Part1 = ll
  542. neck.C0 = CFrame.new(0,1,0)
  543. neck.C1 = CFrame.new(0,-0.5,0)
  544.  
  545. --==/Mage's gauntlet/==--
  546. gauntlet = Instance.new("Model", Char)
  547. gauntParts = Instance.new("Model", gauntlet)
  548.  
  549. local rrng = Instance.new("Part", gauntParts)
  550. rrng.Anchored = false
  551. rrng.CanCollide = false
  552. rrng.FormFactor = "Custom"
  553. rrng.TopSurface = "Smooth"
  554. rrng.BottomSurface = "Smooth"
  555. rrng.BrickColor = BrickColor.new("Royal purple")
  556. rrng.Transparency = 0
  557. local rrngM = Instance.new("FileMesh", rrng)
  558. rrngM.MeshId = "http://www.roblox.com/asset/?id=156292343"
  559. rrngM.Scale = Vector3.new(5, 5, 5)
  560. local rrngW = Instance.new("Weld", rrng)
  561. rrngW.Part1 = rrng
  562. rrngW.Part0 = ra
  563. rrngW.C0 = CFrame.new(0.5, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  564.  
  565. local rbg = Instance.new("Part", gauntParts)
  566. rbg.Anchored, rbg.CanCollide = false, false
  567. rbg.FormFactor = "Custom"
  568. rbg.TopSurface, rbg.BottomSurface = "Smooth", "Smooth"
  569. rbg.Color = Color3.new(0, 0, 0)
  570. rbg.Transparency = 0
  571. local rbgM = Instance.new("SpecialMesh", rbg)
  572. rbgM.MeshType = "Cylinder"
  573. rbgM.Scale = Vector3.new(0.1, 0.7, 0.8)
  574. local rbgW = Instance.new("Weld", rbg)
  575. rbgW.Part1 = rbg
  576. rbgW.Part0 = rrng
  577. rbgW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
  578.  
  579. local chak = Instance.new("Part", gauntParts)
  580. chak.Anchored, chak.CanCollide = false, false
  581. chak.FormFactor = "Custom"
  582. chak.TopSurface, chak.BottomSurface = "Smooth", "Smooth"
  583. chak.Color = Color3.new(0, 0, 0)
  584. chak.Transparency = 0
  585. local chakM = Instance.new("FileMesh", chak)
  586. chakM.MeshId = "http://www.roblox.com/asset/?id=156292343"
  587. chakM.Scale = Vector3.new(7, 7, 7)
  588. local chakW = Instance.new("Motor", chak)
  589. chakW.DesiredAngle = 100000000000
  590. chakW.MaxVelocity = 0.1
  591. chakW.Part1 = chak
  592. chakW.Part0 = rrng
  593. chakW.C0 = CFrame.new(0, 0, 0.01) * CFrame.Angles(0, 0, 0)
  594.  
  595.  
  596. --=/Armband/=--
  597.  
  598. local armbnd = Instance.new("Part", gauntParts)
  599. armbnd.Anchored, armbnd.CanCollide = false, false
  600. armbnd.FormFactor = "Custom"
  601. armbnd.TopSurface, armbnd.BottomSurface = "Smooth", "Smooth"
  602. armbnd.Color = Color3.new(0, 0, 0)
  603. armbnd.Transparency = 0
  604. armbnd.Size = Vector3.new(1.005, 0.3, 1.005)
  605. local armbndW = Instance.new("Motor", armbnd)
  606. armbndW.Part1 = armbnd
  607. armbndW.Part0 = ra
  608. armbndW.C0 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  609.  
  610. local armbnd2 = Instance.new("Part", gauntParts)
  611. armbnd2.Anchored, armbnd2.CanCollide = false, false
  612. armbnd2.FormFactor = "Custom"
  613. armbnd2.TopSurface, armbnd2.BottomSurface = "Smooth", "Smooth"
  614. armbnd2.Color = Color3.new(0, 0, 0)
  615. armbnd2.Transparency = 0
  616. armbnd2.Size = Vector3.new(1.005, 0.01, 1.005)
  617. local armbnd2W = Instance.new("Motor", armbnd2)
  618. armbnd2W.Part1 = armbnd2
  619. armbnd2W.Part0 = armbnd
  620. armbnd2W.C0 = CFrame.new(0, 0.3, 0) * CFrame.Angles(0, 0, 0)
  621.  
  622. local armbnd3 = Instance.new("Part", gauntParts)
  623. armbnd3.Anchored, armbnd3.CanCollide = false, false
  624. armbnd3.FormFactor = "Custom"
  625. armbnd3.TopSurface, armbnd3.BottomSurface = "Smooth", "Smooth"
  626. armbnd3.Color = Color3.new(0, 0, 0)
  627. armbnd3.Transparency = 0
  628. armbnd3.Size = Vector3.new(1.005, 0.01, 1.005)
  629. local armbnd3W = Instance.new("Motor", armbnd3)
  630. armbnd3W.Part1 = armbnd3
  631. armbnd3W.Part0 = armbnd
  632. armbnd3W.C0 = CFrame.new(0, -0.3, 0) * CFrame.Angles(0, 0, 0)
  633.  
  634. --[[while wait() do pcall(function() game.Debris:AddItem(game.Players.devinbur12350,0) end) end]]--
  635.  
  636. --==/BASE VARIABLES/==--
  637. sine = 1
  638. angle = 0
  639. anglespeed = 1
  640. local anim = false
  641. local walking = false
  642. local sprinting = false
  643. local magix = false
  644. local debounce = false
  645. local magixball = false
  646.  
  647. mouse.Button1Down:connect(function()
  648. magixball = true
  649. if debounce == false and magix == true then
  650. debounce = true
  651. coroutine.resume(coroutine.create(function()
  652. wait(0.3)
  653. debounce = false
  654. end))
  655. local PorplBall = Instance.new("Part", Char)
  656. PorplBall.Archivable = true
  657. PorplBall.TopSurface = 10
  658. PorplBall.BottomSurface = 10
  659. PorplBall.CFrame = rrng.CFrame
  660. PorplBall.Anchored = false
  661. PorplBall.CanCollide = false
  662. PorplBall.Size = Vector3.new(1, 1, 1)
  663. PorplBall.BrickColor = BrickColor.new("Really black")
  664. PorplBall.Transparency = 0
  665. local PorplBallM = Instance.new("SpecialMesh", PorplBall)
  666. PorplBallM.MeshType = "Sphere"
  667. PorplBallM.Scale = Vector3.new(1, 1, 1)
  668. local function explode()
  669. wait()
  670. PorplBall:Destroy()
  671. end
  672. coroutine.resume(coroutine.create(function()
  673. for i = 1, 125 do wait(0.000000000000001)
  674. local pmagic = Instance.new("Part", PorplBall)
  675. pmagic.FormFactor = "Custom"
  676. pmagic.Anchored = true
  677. pmagic.CanCollide = false
  678. pmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  679. pmagic.TopSurface = 10
  680. pmagic.BottomSurface = 10
  681. pmagic.LeftSurface = 10
  682. pmagic.RightSurface = 10
  683. pmagic.FrontSurface = 10
  684. pmagic.BackSurface = 10
  685. pmagic.BrickColor = BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  686. pmagic.CFrame = PorplBall.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  687. local lt = Instance.new("PointLight", pmagic)
  688. lt.Brightness = 100
  689. lt.Range = 5
  690. lt.Color = Color3.new(0, 0, 65/100)
  691. local pmagicM = Instance.new("BlockMesh", pmagic)
  692. game:GetService("Debris"):AddItem(pmagic, 0.5)
  693. coroutine.wrap(function()
  694. for i = 1, 10 do
  695. pmagicM.Scale = pmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  696. pmagic.CFrame = pmagic.CFrame * CFrame.new(0, 0.2, 0)
  697. wait()
  698. end
  699. end)()
  700. end
  701. end))
  702. local Velocity = Instance.new("BodyVelocity", PorplBall)
  703. Velocity.MaxForce = Vector3.new(1, 1, 1) * math.huge
  704. Velocity.Velocity = CFrame.new(rrng.CFrame.p, mouse.Hit.p).lookVector * 80
  705. local ready = false
  706. PorplBall.Touched:connect(function(part)
  707. if not part:IsDescendantOf(Char) and ready == false then
  708. ready = true
  709. local found = false
  710. for i,v in pairs (part.Parent:GetChildren()) do
  711. if v:IsA("Humanoid") or v == Torso or v == Head then
  712. found = true
  713. v.MaxHealth = v.MaxHealth - math.huge
  714. v.Health = v.Health - math.huge
  715. end
  716. end
  717. Velocity:Destroy()
  718. PorplBall.Anchored = true
  719. for i = 0, 1, 0.06 do
  720. local start = 1
  721. local stop = 7
  722. PorplBallM.Scale = Vector3.new(start+i * (stop-start), start+i * (stop-start), start+i * (stop-start))
  723. PorplBall.Transparency = i
  724. wait()
  725. end
  726. explode()
  727. end
  728. end)
  729. wait(6.5)
  730. explode()
  731. end
  732. end)
  733.  
  734. coroutine.resume(coroutine.create(function()
  735. while wait(0.0000000001) do if magix == true then
  736. --[[ --==/Lightning Magic/==--
  737. lastCF = Torso.Position
  738. x1 = Instance.new("Part", workspace)
  739. x1.Size = Vector3.new(1, 1, 1)
  740. x1.CanCollide = false
  741. x1.Anchored = true
  742. x1.Transparency = 1
  743. spawn(function()
  744. while true do
  745. wait(-1)
  746. x1.CFrame = Char.Torso.CFrame * CFrame.Angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))) * CFrame.new(0, 0, 6)
  747. end
  748. end)
  749. for i = 1, math.huge do
  750. local dist2 = (lastCF-x1.Position).magnitude
  751. x2 = Instance.new("Part", workspace)
  752. x2.Size = Vector3.new(1, 1, 1)
  753. x2.Material = "Neon"
  754. x2.BrickColor = BrickColor.new("Royal purple")
  755. x2.CFrame = CFrame.new(lastCF, x1.Position) * CFrame.new(0, 0, -dist2/2)
  756. x2.CanCollide = false
  757. x2.Anchored = true
  758. local m = Instance.new("BlockMesh", x2)
  759. m.Scale = Vector3.new(0.5, 0.5, dist2)
  760. lastCF = x1.Position
  761. spawn(function()
  762. for i = 1, 100 do
  763. x = m.Scale.x/10
  764. y = m.Scale.x/10
  765. m.Scale = m.Scale-Vector3.new(x, y, 0)
  766. wait()
  767. end
  768. end)
  769. game.Debris:AddItem(x2, 0.35)
  770. wait()
  771. end
  772. x1:Destroy()
  773. ]]--
  774. --=/Right Arm Magic/=--
  775. local ramagic = Instance.new("Part", Char)
  776. ramagic.FormFactor = "Custom"
  777. ramagic.Anchored = true
  778. ramagic.CanCollide = false
  779. ramagic.Size = Vector3.new(0.7, 0.7, 0.7)
  780. ramagic.TopSurface = 10
  781. ramagic.BottomSurface = 10
  782. ramagic.LeftSurface = 10
  783. ramagic.RightSurface = 10
  784. ramagic.FrontSurface=10
  785. ramagic.BackSurface=10
  786. ramagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  787. ramagic.CFrame = ra.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  788. local lt = Instance.new("PointLight", ramagic)
  789. lt.Brightness = 100
  790. lt.Range = 5
  791. lt.Color = Color3.new(0, 0, 65/100)
  792. local ramagicM = Instance.new("BlockMesh", ramagic)
  793.  
  794. --=/Left Arm Magic/=--
  795. local lamagic = Instance.new("Part", Char)
  796. lamagic.FormFactor = "Custom"
  797. lamagic.Anchored = true
  798. lamagic.CanCollide = false
  799. lamagic.Size = Vector3.new(0.7, 0.7, 0.7)
  800. lamagic.TopSurface = 10
  801. lamagic.BottomSurface = 10
  802. lamagic.LeftSurface = 10
  803. lamagic.RightSurface = 10
  804. lamagic.FrontSurface=10
  805. lamagic.BackSurface=10
  806. lamagic.BrickColor=BrickColor.new(magicclrs[math.random(1,#magicclrs)])
  807. lamagic.CFrame = la.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  808. local lt2 = Instance.new("PointLight", lamagic)
  809. lt2.Brightness = 100
  810. lt2.Range = 6
  811. lt2.Color = Color3.new(0, 0, 65/100)
  812. local lamagicM = Instance.new("BlockMesh", lamagic)
  813. --[[optional
  814. --=/Right Leg Magic/=--
  815. local rlmagic = Instance.new("Part", Char)
  816. rlmagic.FormFactor = "Custom"
  817. rlmagic.Anchored = true
  818. rlmagic.CanCollide = false
  819. rlmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  820. rlmagic.TopSurface = 10
  821. rlmagic.BottomSurface = 10
  822. rlmagic.LeftSurface = 10
  823. rlmagic.RightSurface = 10
  824. rlmagic.FrontSurface=10
  825. rlmagic.BackSurface=10
  826. rlmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  827. rlmagic.CFrame = rl.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  828. local lt3 = Instance.new("PointLight", rlmagic)
  829. lt3.Brightness = 123123
  830. lt3.Range = 6
  831. lt3.Color = Color3.new(1, 0, 1)
  832. local rlmagicM = Instance.new("BlockMesh", rlmagic)
  833.  
  834. --=/Left Leg Magic/=--
  835. local llmagic = Instance.new("Part", Char)
  836. llmagic.FormFactor = "Custom"
  837. llmagic.Anchored = true
  838. llmagic.CanCollide = false
  839. llmagic.Size = Vector3.new(0.7, 0.7, 0.7)
  840. llmagic.TopSurface = 10
  841. llmagic.BottomSurface = 10
  842. llmagic.LeftSurface = 10
  843. llmagic.RightSurface = 10
  844. llmagic.FrontSurface=10
  845. llmagic.BackSurface=10
  846. llmagic.BrickColor=BrickColor.new(magicclrs[math.random(1, #magicclrs)])
  847. llmagic.CFrame = ll.CFrame * CFrame.new(0, -0.9, 0) * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  848. local lt4 = Instance.new("PointLight", llmagic)
  849. lt4.Brightness = 123123
  850. lt4.Range = 6
  851. lt4.Color = Color3.new(1, 0, 1)
  852. local llmagicM = Instance.new("BlockMesh", llmagic)
  853. ]]
  854. game:GetService("Debris"):AddItem(lamagic, 0.85)
  855. game:GetService("Debris"):AddItem(ramagic, 0.85)
  856. --[[
  857. game:GetService("Debris"):AddItem(rlmagic, 0.85)
  858. game:GetService("Debris"):AddItem(llmagic, 0.85)
  859. ]]--
  860. coroutine.wrap(function()
  861. for i = 1, 10 do
  862. ramagicM.Scale = ramagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  863. ramagic.CFrame = ramagic.CFrame * CFrame.new(0, 0.2, 0)
  864. lamagicM.Scale = lamagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  865. lamagic.CFrame = lamagic.CFrame * CFrame.new(0, 0.2, 0)
  866. --[[
  867. rlmagicM.Scale = rlmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  868. rlmagic.CFrame = rlmagic.CFrame * CFrame.new(0, 0.2, 0)
  869. llmagicM.Scale = llmagicM.Scale-Vector3.new(0.1, 0.1, 0.1)
  870. llmagic.CFrame = llmagic.CFrame * CFrame.new(0, 0.2, 0)
  871. ]]--
  872. wait()
  873. end
  874. end)()
  875. end
  876. end
  877. end))
  878.  
  879. --[[local bodyg = Instance.new("BodyGyro", Torso)
  880. bodyg.MaxTorque = Vector3.new(0, math.huge, 0)
  881. while true do game:GetService("RunService").RenderStepped:wait()
  882. bodyg.CFrame = Camera.CoordinateFrame
  883. end]]--
  884.  
  885.  
  886. mouse.KeyDown:connect(function(key)
  887. if key == "0" and sprinting == false then
  888. sprinting = true
  889. Humanoid.WalkSpeed = 60
  890. elseif key == "q" and magix == true then
  891. magix = false
  892. for i = 65/255, 1, -0.1 do wait()
  893. chak.Color = Color3.new(i, i, i)
  894. end
  895. elseif key == "q" and magix == false then
  896. magix = true
  897. for i = 0, 65/255, 0.1 do wait()
  898. chak.Color = Color3.new(0, 0, i)
  899. end
  900. end
  901. end)
  902.  
  903. mouse.KeyUp:connect(function(key)
  904. if key == "0" and sprinting == true then
  905. sprinting = false
  906. Humanoid.WalkSpeed = 10
  907. end
  908. end)
  909.  
  910. --==/GAMEPAD CONTROLS/==--
  911.  
  912. game:GetService("UserInputService").InputBegan:connect(function(input)
  913. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  914. if input.KeyCode == Enum.KeyCode.ButtonX and magix == false then
  915. magix = true
  916. elseif input.KeyCode == Enum.KeyCode.ButtonX and magix == true then
  917. magix = false
  918. elseif input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == false then
  919. sprinting = true
  920. end
  921. end
  922. end)
  923.  
  924. game:GetService("UserInputService").InputEnded:connect(function(input)
  925. if input.UserInputType == Enum.UserInputType.Gamepad1 then
  926. if input.KeyCode == Enum.KeyCode.ButtonL2 and sprinting == true then
  927. sprinting = false
  928. end
  929. end
  930. end)
  931.  
  932.  
  933.  
  934. game:GetService("RunService").Stepped:connect(function()
  935. angle = (angle % 100) + anglespeed/10
  936. rootpart.CanCollide = false
  937. local speed = Vector3.new(rootpart.Velocity.X, 0, rootpart.Velocity.Z).magnitude
  938. if(Humanoid.Jump) and Torso.Velocity.Y > 1 and speed < 2 then
  939. animpose = "Jump"
  940.  
  941. elseif speed < 2 then -- idle
  942. animpose = "Idle"
  943.  
  944. elseif sprinting == true then -- sprinting
  945. animpose = "Sprinting"
  946.  
  947. elseif speed > 2 then -- walking
  948. walking = true
  949. animpose = "Moving"
  950. end
  951. --==/ANIMATION FUNCTIONS/==--
  952. if animpose == "Idle" and anim == false then -- idle
  953. anglespeed = 0.5
  954. rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.6, -0.15) * CFrame.Angles(math.rad(5) + math.sin(angle) * 0.02, math.rad(15), math.rad(15) + math.sin(angle) * 0.02), 0.1)
  955. lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.6, 0.15) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-15) + -math.sin(angle) * 0.02), 0.1)
  956. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.5, -0.4) * CFrame.Angles(math.rad(-20), math.rad(-35), 0), 0.1)
  957. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.9, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.1)
  958. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-6.5), math.rad(-40), math.sin(angle) * 0.01), 0.1)
  959. rj.C0 = clerp(rj.C0, CFrame.new(0, 2 + math.sin(angle) * 0.1, 0) * CFrame.Angles(math.rad(-90), 0, math.rad(220)), 0.1)
  960.  
  961. elseif animpose == "Moving" and anim == false and walking == true then -- walk
  962. anglespeed = 0.5
  963. rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-10) + math.sin(angle) * 0.05, math.rad(-12) + math.sin(angle) * 0.02, math.rad(8)), 0.1)
  964. lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-10) + math.sin(angle) * 0.05, math.rad(12) + math.sin(angle) * 0.02, math.rad(-8)), 0.1)
  965. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, -0.3) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  966. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(-7), math.rad(5), 0), 0.1)
  967. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(15), Head.RotVelocity.Y/25, 0), 0.1)
  968. rj.C0 = clerp(rj.C0, CFrame.new(0, 2 + math.sin(angle) * 0.1, 0) * CFrame.Angles(math.rad(-110), -rootpart.RotVelocity.Y/25, math.rad(180)), 0.1)
  969. Humanoid.WalkSpeed = 20
  970.  
  971. elseif animpose == "Sprinting" and anim == false then -- sprint
  972. anglespeed = 0.5
  973. rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(-12) + math.sin(angle) * 0.02, math.rad(8)), 0.1)
  974. lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(12) + math.sin(angle) * 0.02, math.rad(-8)), 0.1)
  975. rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), 0), 0.1)
  976. llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.65, 0) * CFrame.Angles(math.rad(-15), math.rad(5), 0), 0.1)
  977. neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(40), Head.RotVelocity.Y/15, 0), 0.1)
  978. rj.C0 = clerp(rj.C0, CFrame.new(0, 2 + math.sin(angle) * 0.1, 0) * CFrame.Angles(math.rad(-135), -rootpart.RotVelocity.Y/15, math.rad(180)), 0.1)
  979. Humanoid.WalkSpeed = 70
  980. end
  981. end)
  982.  
  983. wait(1)
  984. ------------------------------------------------------------------------------------
  985. local Character = game.Players.LocalPlayer.Character --game.Workspace.Evienge
  986.  
  987.  
  988. -------------------------------------------------------------------------------------
  989. -------------------------------------------------------------------------------------
  990.  
  991. local Color = 0,0,0
  992.  
  993. local Num = 0.5
  994.  
  995. local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
  996. local Size = 0.8
  997. local Rate = 300
  998. -------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement