Advertisement
doryna2281337

Untitled

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