Advertisement
1x1x1x1IAMbck

Error Sans that rlly bans

Apr 21st, 2018
718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.08 KB | None | 0 0
  1.  
  2. warn'ERASE EVERYTHING!!!!'
  3. plr = game.Players.LocalPlayer
  4. char = plr.Character
  5. hum = char.Humanoid
  6. local cam = game.Workspace.CurrentCamera
  7. t = char.Torso
  8. h = char.Head
  9. ra = char["Right Arm"]
  10. la = char["Left Arm"]
  11. rl = char["Right Leg"]
  12. ll = char["Left Leg"]
  13. tors = char.Torso
  14. lleg = char["Left Leg"]
  15. root = char.HumanoidRootPart
  16. hed = char.Head
  17. rleg = char["Right Leg"]
  18. rarm = char["Right Arm"]
  19. larm = char["Left Arm"]
  20. vt = Vector3.new
  21. bc = BrickColor.new
  22. br = BrickColor.random
  23. it = Instance.new
  24. cf = CFrame.new
  25.  
  26.  
  27. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  28. local gui = it(GuiType)
  29. gui.Parent = parent
  30. gui.Text = text
  31. gui.BackgroundTransparency = backtrans
  32. gui.BackgroundColor3 = backcol
  33. gui.SizeConstraint = "RelativeXY"
  34. gui.TextXAlignment = "Center"
  35. gui.TextYAlignment = "Center"
  36. gui.Position = pos
  37. gui.Size = size
  38. gui.Font = "SourceSans"
  39. gui.FontSize = "Size14"
  40. gui.TextWrapped = false
  41. gui.TextStrokeTransparency = 0
  42. gui.TextColor = BrickColor.new("Really red")
  43. return gui
  44. end
  45. ---- GUI set
  46. local basgui = it("GuiMain")
  47. basgui.Parent = plr.PlayerGui
  48. basgui.Name = "CooldownsGUI"
  49. local basframe = it("Frame")
  50. basframe.Parent = basgui
  51. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  52. basframe.BackgroundTransparency = 1
  53. basframe.BorderColor3 = Color3.new(17, 17, 17)
  54. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  55. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  56. local x = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.5, 0), UDim2.new(0.95, 0, 0.5, 0))
  57. x.ZIndex = 2
  58. x.Font = "Highway"
  59. x.BackgroundTransparency = 0.5
  60. x.BorderSizePixel = 0.65
  61. x.TextScaled = true
  62. x.Text = "ErRoR SaNs"
  63. x.TextSize = 24
  64.  
  65. local Create = LoadLibrary("RbxUtility").Create
  66.  
  67. CFuncs = {
  68. ["Part"] = {
  69. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  70. local Part = Create("Part"){
  71. Parent = Parent,
  72. Reflectance = Reflectance,
  73. Transparency = Transparency,
  74. CanCollide = false,
  75. Locked = true,
  76. BrickColor = BrickColor.new("Black"),
  77. Name = Name,
  78. Size = Size,
  79. Material = Material,
  80. }
  81. RemoveOutlines(Part)
  82. return Part
  83. end;
  84. };
  85.  
  86. ["Mesh"] = {
  87. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  88. local Msh = Create(Mesh){
  89. Parent = Part,
  90. Offset = OffSet,
  91. Scale = Scale,
  92. }
  93. if Mesh == "SpecialMesh" then
  94. Msh.MeshType = MeshType
  95. Msh.MeshId = MeshId
  96. end
  97. return Msh
  98. end;
  99. };
  100.  
  101. ["Mesh"] = {
  102. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  103. local Msh = Create(Mesh){
  104. Parent = Part,
  105. Offset = OffSet,
  106. Scale = Scale,
  107. }
  108. if Mesh == "SpecialMesh" then
  109. Msh.MeshType = MeshType
  110. Msh.MeshId = MeshId
  111. end
  112. return Msh
  113. end;
  114. };
  115.  
  116. ["Weld"] = {
  117. Create = function(Parent, Part0, Part1, C0, C1)
  118. local Weld = Create("Weld"){
  119. Parent = Parent,
  120. Part0 = Part0,
  121. Part1 = Part1,
  122. C0 = C0,
  123. C1 = C1,
  124. }
  125. return Weld
  126. end;
  127. };
  128.  
  129. ["Sound"] = {
  130. Create = function(id, par, vol, pit)
  131. coroutine.resume(coroutine.create(function()
  132. local S = Create("Sound"){
  133. Volume = vol,
  134. Pitch = pit or 1,
  135. SoundId = id,
  136. Parent = par or workspace,
  137. }
  138. wait()
  139. S:play()
  140. game:GetService("Debris"):AddItem(S, 10)
  141. end))
  142. end;
  143. };
  144.  
  145. ["ParticleEmitter"] = {
  146. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  147. local fp = Create("ParticleEmitter"){
  148. Parent = Parent,
  149. Color = ColorSequence.new(Color1, Color2),
  150. LightEmission = LightEmission,
  151. Size = Size,
  152. Texture = Texture,
  153. Transparency = Transparency,
  154. ZOffset = ZOffset,
  155. Acceleration = Accel,
  156. Drag = Drag,
  157. LockedToPart = LockedToPart,
  158. VelocityInheritance = VelocityInheritance,
  159. EmissionDirection = EmissionDirection,
  160. Enabled = Enabled,
  161. Lifetime = LifeTime,
  162. Rate = Rate,
  163. Rotation = Rotation,
  164. RotSpeed = RotSpeed,
  165. Speed = Speed,
  166. VelocitySpread = VelocitySpread,
  167. }
  168. return fp
  169. end;
  170. };
  171.  
  172. CreateTemplate = {
  173.  
  174. };
  175. }
  176.  
  177.  
  178.  
  179. New = function(Object, Parent, Name, Data)
  180. local Object = Instance.new(Object)
  181. for Index, Value in pairs(Data or {}) do
  182. Object[Index] = Value
  183. end
  184. Object.Parent = Parent
  185. Object.Name = Name
  186. return Object
  187. end
  188.  
  189. function Explode(rad,par,pitch,vol)
  190. local expart = Instance.new("Part",char)
  191. local expart2 = Instance.new("Part",char)
  192. local rin = Instance.new("Part",char)
  193. local rin2 = Instance.new("Part",char)
  194. local partMesh = Instance.new("SpecialMesh",expart)
  195. partMesh.MeshType = "Sphere"
  196. local partMesh2 = Instance.new("SpecialMesh",expart2)
  197. partMesh2.MeshType = "Sphere"
  198. local partMesh3 = Instance.new("SpecialMesh",rin)
  199. partMesh3.MeshType = "Sphere"
  200. local partMesh4 = Instance.new("SpecialMesh",rin2)
  201. partMesh4.MeshType = "Sphere"
  202. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  203. partMesh.Scale = vt(rad,rad,rad)
  204. expart.Size = vt(1,1,1)
  205. expart.Transparency = 0
  206. expart.Anchored = true
  207. expart.Material = "Neon"
  208. expart.BrickColor = bc("Black")
  209. expart.CFrame = par.CFrame
  210. partMesh2.Scale = vt(rad,rad,rad)
  211. expart2.Size = vt(1.15,1.15,1.15)
  212. expart2.Transparency = 0.5
  213. expart2.Anchored = true
  214. expart2.Material = "Neon"
  215. expart2.BrickColor = par.BrickColor
  216. expart2.CFrame = par.CFrame
  217. rin.Size = vt(1.15,1.15,1.15)
  218. rin.Transparency = 0.75
  219. rin.Anchored = true
  220. rin.Material = "Neon"
  221. rin.BrickColor = par.BrickColor
  222. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  223. rin2.Size = vt(1.15,1.15,1.15)
  224. rin2.Transparency = 0.75
  225. rin2.Anchored = true
  226. rin2.Material = "Neon"
  227. rin2.BrickColor = par.BrickColor
  228. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  229. local hitbox = Instance.new("Part",char)
  230. hitbox.Size = Vector3.new(1,1,1)
  231. hitbox.CFrame = par.CFrame
  232. hitbox.Anchored = true
  233. hitbox.Transparency = 1
  234. hitbox.CanCollide = false
  235. partMesh3.Scale = vt(0,1,0)
  236. partMesh4.Scale = vt(0,1,0)
  237. expart.CanCollide = false
  238. expart2.CanCollide = false
  239. rin.CanCollide = false
  240. rin2.CanCollide = false
  241. pcall(function()
  242. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  243. ParticleEmitter12.Name = "ERASENEDTRAIL"
  244. ParticleEmitter12.Parent = hitbox
  245. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  246. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  247. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  248. ParticleEmitter12.Enabled = true
  249. ParticleEmitter12.Texture = "rbxassetid://3412753"
  250. ParticleEmitter12.ZOffset = -3
  251. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  252. ParticleEmitter12.Rate = 120
  253. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  254. ParticleEmitter12.VelocitySpread = 360
  255. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  256. end)
  257. hitbox.Touched:connect(function(hit)
  258. Damagefunc(hit,5,10,math.random(50,100),"Normal",root,.2,1)
  259. end)
  260. game:GetService("Debris"):AddItem(hitbox, 3)
  261. local value = 1*rad/6.5
  262. for i = 0, 199 do
  263. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  264. expart.CFrame = expart.CFrame
  265. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  266. hitbox.CFrame = expart.CFrame
  267. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  268. expart2.CFrame = expart.CFrame
  269. value = value - 0.035*rad/30
  270. if value < 7.5 then
  271. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  272. rin.CFrame = rin.CFrame
  273. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  274. rin2.CFrame = rin2.CFrame
  275. end
  276. if value < 0 then
  277. expart.Transparency = expart.Transparency + 0.025
  278. expart2.Transparency = expart2.Transparency + 0.025
  279. rin.Transparency = rin.Transparency + 0.025
  280. rin2.Transparency = rin2.Transparency + 0.025
  281. end
  282. swait()
  283. end
  284. game:GetService("Debris"):AddItem(expart, 1)
  285. game:GetService("Debris"):AddItem(expart2, 1)
  286. game:GetService("Debris"):AddItem(rin, 1)
  287. game:GetService("Debris"):AddItem(rin2, 1)
  288. end
  289.  
  290. function ExplodeShort(rad,par,pitch,vol)
  291. local expart = Instance.new("Part",char)
  292. local expart2 = Instance.new("Part",char)
  293. local partMesh = Instance.new("SpecialMesh",expart)
  294. partMesh.MeshType = "Sphere"
  295. local partMesh2 = Instance.new("SpecialMesh",expart2)
  296. partMesh2.MeshType = "Sphere"
  297. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  298. partMesh.Scale = vt(rad,rad,rad)
  299. expart.Size = vt(1,1,1)
  300. expart.Transparency = 0
  301. expart.Anchored = true
  302. expart.Material = "Neon"
  303. expart.BrickColor = bc("Black")
  304. expart.CFrame = par.CFrame
  305. partMesh2.Scale = vt(rad,rad,rad)
  306. expart2.Size = vt(1.15,1.15,1.15)
  307. expart2.Transparency = 0.5
  308. expart2.Anchored = true
  309. expart2.Material = "Neon"
  310. expart2.BrickColor = par.BrickColor
  311. expart2.CFrame = par.CFrame
  312. expart.CanCollide = false
  313. expart2.CanCollide = false
  314. local hitbox = Instance.new("Part",char)
  315. hitbox.Size = Vector3.new(1,1,1)
  316. hitbox.CFrame = par.CFrame
  317. hitbox.Anchored = true
  318. hitbox.Transparency = 1
  319. hitbox.CanCollide = false
  320. pcall(function()
  321. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  322. ParticleEmitter12.Name = "ERASENEDTRAIL"
  323. ParticleEmitter12.Parent = hitbox
  324. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  325. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  326. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  327. ParticleEmitter12.Enabled = true
  328. ParticleEmitter12.Texture = "rbxassetid://3412753"
  329. ParticleEmitter12.ZOffset = -3
  330. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  331. ParticleEmitter12.Rate = 120
  332. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  333. ParticleEmitter12.VelocitySpread = 360
  334. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  335. end)
  336. hitbox.Touched:connect(function(hit)
  337. Damagefunc(hit,5,10,math.random(10,20),"Normal",root,.2,1)
  338. end)
  339. game:GetService("Debris"):AddItem(hitbox, 1)
  340. local value = 1*rad/6.5
  341. for i = 0, 75 do
  342. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  343. expart.CFrame = expart.CFrame
  344. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  345. hitbox.CFrame = expart.CFrame
  346. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  347. expart2.CFrame = expart.CFrame
  348. value = value - 0.035*rad/5
  349. if value < 0 then
  350. value = 0
  351. expart.Transparency = expart.Transparency + 0.05
  352. expart2.Transparency = expart2.Transparency + 0.05
  353. end
  354. swait()
  355. end
  356. game:GetService("Debris"):AddItem(expart, 1)
  357. game:GetService("Debris"):AddItem(expart2, 1)
  358. end
  359.  
  360. function PulseDam(rad,par,col)
  361. local expart = Instance.new("Part",char)
  362. local expart2 = Instance.new("Part",char)
  363. local partMesh = Instance.new("SpecialMesh",expart)
  364. partMesh.MeshType = "Sphere"
  365. local partMesh2 = Instance.new("SpecialMesh",expart2)
  366. partMesh2.MeshType = "Sphere"
  367. partMesh.Scale = vt(rad,rad,rad)
  368. expart.Size = vt(1,1,1)
  369. expart.Transparency = 0
  370. expart.Anchored = true
  371. expart.Material = "Neon"
  372. expart.BrickColor = bc("Black")
  373. expart.CFrame = par.CFrame
  374. partMesh2.Scale = vt(rad,rad,rad)
  375. expart2.Size = vt(1.15,1.15,1.15)
  376. expart2.Transparency = 0.5
  377. expart2.Anchored = true
  378. expart2.Material = "Neon"
  379. expart2.BrickColor = col
  380. expart2.CFrame = par.CFrame
  381. expart.CanCollide = false
  382. expart2.CanCollide = false
  383. local hitbox = Instance.new("Part",char)
  384. hitbox.Size = Vector3.new(1,1,1)
  385. hitbox.CFrame = par.CFrame
  386. hitbox.Anchored = true
  387. hitbox.Transparency = 1
  388. hitbox.CanCollide = false
  389. pcall(function()
  390. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  391. ParticleEmitter12.Name = "ERASENEDTRAIL"
  392. ParticleEmitter12.Parent = hitbox
  393. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  394. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  395. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  396. ParticleEmitter12.Enabled = true
  397. ParticleEmitter12.Texture = "rbxassetid://3412753"
  398. ParticleEmitter12.ZOffset = -3
  399. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  400. ParticleEmitter12.Rate = 120
  401. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  402. ParticleEmitter12.VelocitySpread = 360
  403. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  404. end)
  405. hitbox.Touched:connect(function(hit)
  406. Damagefunc(hit,10,15,1,"Normal",root,.2,1)
  407. end)
  408. local value = 1*rad/10
  409. for i = 0, 34 do
  410. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  411. expart.CFrame = expart.CFrame
  412. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  413. hitbox.CFrame = expart.CFrame
  414. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  415. expart2.CFrame = expart.CFrame
  416. value = value - 0.035*rad/10
  417. if value < 0 then
  418. value = 0
  419. end
  420. swait()
  421. end
  422. for z = 0, 4 do
  423. CFuncs["Sound"].Create("rbxassetid://203691467", expart, 1, 0.25)
  424. for i = 0, 24 do
  425. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  426. expart.CFrame = expart.CFrame
  427. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  428. hitbox.CFrame = expart.CFrame
  429. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  430. expart2.CFrame = expart.CFrame
  431. value = value - 0.035*rad/10
  432. swait()
  433. end
  434. for i = 0, 49 do
  435. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  436. expart.CFrame = expart.CFrame
  437. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  438. hitbox.CFrame = expart.CFrame
  439. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  440. expart2.CFrame = expart.CFrame
  441. value = value + 0.035*rad/10
  442. swait()
  443. end
  444. CFuncs["Sound"].Create("rbxassetid://203691467", expart, 1, 0.25)
  445. for i = 0, 24 do
  446. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  447. expart.CFrame = expart.CFrame
  448. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  449. hitbox.CFrame = expart.CFrame
  450. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  451. expart2.CFrame = expart.CFrame
  452. value = value - 0.035*rad/10
  453. swait()
  454. end
  455. end
  456. for i = 0, 75 do
  457. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  458. expart.CFrame = expart.CFrame
  459. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  460. hitbox.CFrame = expart.CFrame
  461. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  462. expart2.CFrame = expart.CFrame
  463. value = value - 0.035*rad/10
  464. if value < 0 then
  465. expart.Transparency = expart.Transparency + 0.025
  466. expart2.Transparency = expart2.Transparency + 0.025
  467. end
  468. swait()
  469. end
  470. game:GetService("Debris"):AddItem(hitbox, 0.1)
  471. game:GetService("Debris"):AddItem(expart, 1)
  472. game:GetService("Debris"):AddItem(expart2, 1)
  473. end
  474.  
  475.  
  476. function PulseShort(rad,par,col,times)
  477. local expart = Instance.new("Part",char)
  478. local expart2 = Instance.new("Part",char)
  479. local partMesh = Instance.new("SpecialMesh",expart)
  480. partMesh.MeshType = "Sphere"
  481. local partMesh2 = Instance.new("SpecialMesh",expart2)
  482. partMesh2.MeshType = "Sphere"
  483. partMesh.Scale = vt(rad,rad,rad)
  484. expart.Size = vt(1,1,1)
  485. expart.Transparency = 0
  486. expart.Anchored = true
  487. expart.Material = "Neon"
  488. expart.BrickColor = bc("Black")
  489. expart.CFrame = par.CFrame
  490. partMesh2.Scale = vt(rad,rad,rad)
  491. expart2.Size = vt(1.15,1.15,1.15)
  492. expart2.Transparency = 0.5
  493. expart2.Anchored = true
  494. expart2.Material = "Neon"
  495. expart2.BrickColor = col
  496. expart2.CFrame = par.CFrame
  497. expart.CanCollide = false
  498. expart2.CanCollide = false
  499. local value = 1*rad/10
  500. for i = 0, 34 do
  501. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  502. expart.CFrame = expart.CFrame
  503. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  504. expart2.CFrame = expart.CFrame
  505. value = value - 0.035*rad/10
  506. if value < 0 then
  507. value = 0
  508. end
  509. swait()
  510. end
  511. for z = 0, times do
  512. for i = 0, 24 do
  513. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  514. expart.CFrame = expart.CFrame
  515. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  516. expart2.CFrame = expart.CFrame
  517. value = value - 0.035*rad/10
  518. swait()
  519. end
  520. for i = 0, 49 do
  521. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  522. expart.CFrame = expart.CFrame
  523. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  524. expart2.CFrame = expart.CFrame
  525. value = value + 0.035*rad/10
  526. swait()
  527. end
  528. for i = 0, 24 do
  529. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  530. expart.CFrame = expart.CFrame
  531. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  532. expart2.CFrame = expart.CFrame
  533. value = value - 0.035*rad/10
  534. swait()
  535. end
  536. end
  537. for i = 0, 75 do
  538. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  539. expart.CFrame = expart.CFrame
  540. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  541. expart2.CFrame = expart.CFrame
  542. value = value - 0.035*rad/10
  543. if value < 0 then
  544. expart.Transparency = expart.Transparency + 0.025
  545. expart2.Transparency = expart2.Transparency + 0.025
  546. end
  547. swait()
  548. end
  549. game:GetService("Debris"):AddItem(expart, 1)
  550. game:GetService("Debris"):AddItem(expart2, 1)
  551. end
  552.  
  553.  
  554.  
  555. function ExplodeLong(rad,par,pitch,vol)
  556. local expart = Instance.new("Part",char)
  557. local expart2 = Instance.new("Part",char)
  558. local partMesh = Instance.new("SpecialMesh",expart)
  559. partMesh.MeshType = "Sphere"
  560. local partMesh2 = Instance.new("SpecialMesh",expart2)
  561. partMesh2.MeshType = "Sphere"
  562. CFuncs["Sound"].Create("rbxassetid://165970126", char, vol, pitch)
  563. expart.Size = vt(1,1,1)
  564. expart.Transparency = 0
  565. expart.Anchored = true
  566. expart.Material = "Neon"
  567. expart.BrickColor = bc("Black")
  568. expart.CFrame = par.CFrame
  569. expart2.Size = vt(1.15,1.15,1.15)
  570. expart2.Transparency = 0.5
  571. expart2.Anchored = true
  572. expart2.Material = "Neon"
  573. expart2.BrickColor = par.BrickColor
  574. expart2.CFrame = par.CFrame
  575. expart.CanCollide = false
  576. expart2.CanCollide = false
  577. local hitbox = Instance.new("Part",char)
  578. hitbox.Size = Vector3.new(1,1,1)
  579. hitbox.CFrame = par.CFrame
  580. hitbox.Anchored = true
  581. hitbox.Transparency = 1
  582. hitbox.CanCollide = false
  583. pcall(function()
  584. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  585. ParticleEmitter12.Name = "ERASENEDTRAIL"
  586. ParticleEmitter12.Parent = hitbox
  587. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  588. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  589. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  590. ParticleEmitter12.Enabled = true
  591. ParticleEmitter12.Texture = "rbxassetid://3412753"
  592. ParticleEmitter12.ZOffset = -3
  593. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  594. ParticleEmitter12.Rate = 120
  595. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  596. ParticleEmitter12.VelocitySpread = 360
  597. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  598. end)
  599. hitbox.Touched:connect(function(hit)
  600. Damagefunc(hit,50,75,math.random(50,100),"Normal",root,.2,1)
  601. end)
  602. game:GetService("Debris"):AddItem(hitbox, 3)
  603. local value = 1*rad/6.5
  604. for i = 0, 175 do
  605. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  606. expart.CFrame = expart.CFrame
  607. hitbox.Size = hitbox.Size + Vector3.new(value*1.5,value*1.5,value*1.5)
  608. hitbox.CFrame = expart.CFrame
  609. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  610. expart2.CFrame = expart.CFrame
  611. value = value - 0.035*rad/30
  612. if value < 0 then
  613. expart.Transparency = expart.Transparency + 0.025
  614. expart2.Transparency = expart2.Transparency + 0.025
  615. end
  616. swait()
  617. end
  618. game:GetService("Debris"):AddItem(expart, 1)
  619. game:GetService("Debris"):AddItem(expart2, 1)
  620. end
  621.  
  622. local m = Instance.new("Model",char)
  623.  
  624. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  625. local p = Instance.new("Part")
  626. p.Parent = parent
  627. p.Size = Vector3.new(1,1,1)
  628. p.Transparency = transparency
  629. p.Reflectance = reflectance
  630. p.CanCollide = false
  631. p.Locked = true
  632. p.BrickColor = BrickColor.new("Black")
  633. p.Material = material
  634. return p
  635. end
  636.  
  637. function CreateMesh(parent,meshtype,x1,y1,z1)
  638. local mesh = Instance.new("SpecialMesh",parent)
  639. mesh.MeshType = meshtype
  640. mesh.Scale = Vector3.new(x1,y1,z1)
  641. return mesh
  642. end
  643.  
  644. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  645. local mesh = Instance.new("SpecialMesh",parent)
  646. mesh.MeshType = "FileMesh"
  647. mesh.MeshId = meshid
  648. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  649. mesh.Scale = Vector3.new(x1,y1,z1)
  650. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  651. return mesh
  652. end
  653.  
  654. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  655. local weld = Instance.new("Weld")
  656. weld.Parent = parent
  657. weld.Part0 = part0
  658. weld.Part1 = part1
  659. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  660. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  661. return weld
  662. end
  663.  
  664.  
  665. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Black"))
  666. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  667. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Black"))
  668. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  669.  
  670. Player=game:GetService("Players").LocalPlayer
  671. Character=Player.Character
  672. PlayerGui=Player.PlayerGui
  673. Backpack=Player.Backpack
  674. Torso=Character.Torso
  675. Head=Character.Head
  676. Humanoid=Character.Humanoid
  677. m=Instance.new('Model',Character)
  678. LeftArm=Character["Left Arm"]
  679. LeftLeg=Character["Left Leg"]
  680. RightArm=Character["Right Arm"]
  681. RightLeg=Character["Right Leg"]
  682. LS=Torso["Left Shoulder"]
  683. LH=Torso["Left Hip"]
  684. RS=Torso["Right Shoulder"]
  685. RH=Torso["Right Hip"]
  686. Face = Head.face
  687. Neck=Torso.Neck
  688. it=Instance.new
  689. attacktype=1
  690. vt=Vector3.new
  691. cf=CFrame.new
  692. euler=CFrame.fromEulerAnglesXYZ
  693. angles=CFrame.Angles
  694. cloaked=false
  695. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  696. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  697. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  698. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  699. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  700. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  701. RootPart=Character.HumanoidRootPart
  702. RootJoint=RootPart.RootJoint
  703. RootCF=euler(-1.57,0,3.14)
  704. attack = false
  705. attackdebounce = false
  706. deb=false
  707. equipped=true
  708. hand=false
  709. MMouse=nil
  710. combo=0
  711. mana=0
  712. trispeed=.2
  713. attackmode='none'
  714. local idle=0
  715. local Anim="Idle"
  716. local Effects={}
  717. local gun=false
  718. local shoot=false
  719. local sine = 0
  720. local change = 1
  721. player=nil
  722.  
  723. mouse=Player:GetMouse()
  724. --save shoulders
  725. RSH, LSH=nil, nil
  726. --welds
  727. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  728. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  729. LH=Torso["Left Hip"]
  730. RH=Torso["Right Hip"]
  731. TorsoColor=BrickColor.new("Black")
  732. function NoOutline(Part)
  733. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  734. end
  735. player=Player
  736. ch=Character
  737. RSH=ch.Torso["Right Shoulder"]
  738. LSH=ch.Torso["Left Shoulder"]
  739. --
  740. RSH.Parent=nil
  741. LSH.Parent=nil
  742. --
  743. RW.Name="Right Shoulder"
  744. RW.Part0=ch.Torso
  745. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  746. RW.C1=cf(0, 0.5, 0)
  747. RW.Part1=ch["Right Arm"]
  748. RW.Parent=ch.Torso
  749. --
  750. LW.Name="Left Shoulder"
  751. LW.Part0=ch.Torso
  752. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  753. LW.C1=cf(0, 0.5, 0)
  754. LW.Part1=ch["Left Arm"]
  755. LW.Parent=ch.Torso
  756.  
  757. local Stats=Instance.new("BoolValue")
  758. Stats.Name="Stats"
  759. Stats.Parent=Character
  760. local Atk=Instance.new("NumberValue")
  761. Atk.Name="Damage"
  762. Atk.Parent=Stats
  763. Atk.Value=1
  764. local Def=Instance.new("NumberValue")
  765. Def.Name="Defense"
  766. Def.Parent=Stats
  767. Def.Value=1
  768. local Speed=Instance.new("NumberValue")
  769. Speed.Name="Speed"
  770. Speed.Parent=Stats
  771. Speed.Value=1
  772. local Mvmt=Instance.new("NumberValue")
  773. Mvmt.Name="Movement"
  774. Mvmt.Parent=Stats
  775. Mvmt.Value=1
  776.  
  777. local donum=0
  778.  
  779.  
  780. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  781. local fp=it("Part")
  782. fp.formFactor=formfactor
  783. fp.Parent=parent
  784. fp.Reflectance=reflectance
  785. fp.Transparency=transparency
  786. fp.CanCollide=false
  787. fp.Locked=true
  788. fp.BrickColor=BrickColor.new("Black")
  789. fp.Name=name
  790. fp.Size=size
  791. fp.Position=Torso.Position
  792. NoOutline(fp)
  793. fp.Material="SmoothPlastic"
  794. fp:BreakJoints()
  795. return fp
  796. end
  797.  
  798. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  799. local mesh=it(Mesh)
  800. mesh.Parent=part
  801. if Mesh=="SpecialMesh" then
  802. mesh.MeshType=meshtype
  803. if meshid~="nil" then
  804. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  805. end
  806. end
  807. mesh.Offset=offset
  808. mesh.Scale=scale
  809. return mesh
  810. end
  811.  
  812. function weld(parent,part0,part1,c0)
  813. local weld=it("Weld")
  814. weld.Parent=parent
  815. weld.Part0=part0
  816. weld.Part1=part1
  817. weld.C0=c0
  818. return weld
  819. end
  820.  
  821. local Color1=BrickColor.new("Black")
  822.  
  823. local bodvel=Instance.new("BodyVelocity")
  824. local bg=Instance.new("BodyGyro")
  825.  
  826. function swait(num)
  827. if num==0 or num==nil then
  828. game:service'RunService'.Stepped:wait(0)
  829. else
  830. for i=0,num do
  831. game:service'RunService'.Stepped:wait(0)
  832. end
  833. end
  834. end
  835.  
  836.  
  837. so = function(id,par,vol,pit)
  838. coroutine.resume(coroutine.create(function()
  839. local sou = Instance.new("Sound",par or workspace)
  840. sou.Volume=vol
  841. sou.Pitch=pit or 1
  842. sou.SoundId=id
  843. swait()
  844. sou:play()
  845. game:GetService("Debris"):AddItem(sou,6)
  846. end))
  847. end
  848.  
  849. function clerp(a,b,t)
  850. local qa = {QuaternionFromCFrame(a)}
  851. local qb = {QuaternionFromCFrame(b)}
  852. local ax, ay, az = a.x, a.y, a.z
  853. local bx, by, bz = b.x, b.y, b.z
  854. local _t = 1-t
  855. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  856. end
  857.  
  858. function QuaternionFromCFrame(cf)
  859. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  860. local trace = m00 + m11 + m22
  861. if trace > 0 then
  862. local s = math.sqrt(1 + trace)
  863. local recip = 0.5/s
  864. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  865. else
  866. local i = 0
  867. if m11 > m00 then
  868. i = 1
  869. end
  870. if m22 > (i == 0 and m00 or m11) then
  871. i = 2
  872. end
  873. if i == 0 then
  874. local s = math.sqrt(m00-m11-m22+1)
  875. local recip = 0.5/s
  876. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  877. elseif i == 1 then
  878. local s = math.sqrt(m11-m22-m00+1)
  879. local recip = 0.5/s
  880. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  881. elseif i == 2 then
  882. local s = math.sqrt(m22-m00-m11+1)
  883. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  884. end
  885. end
  886. end
  887.  
  888. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  889. local xs, ys, zs = x + x, y + y, z + z
  890. local wx, wy, wz = w*xs, w*ys, w*zs
  891. local xx = x*xs
  892. local xy = x*ys
  893. local xz = x*zs
  894. local yy = y*ys
  895. local yz = y*zs
  896. local zz = z*zs
  897. 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))
  898. end
  899.  
  900. function QuaternionSlerp(a, b, t)
  901. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  902. local startInterp, finishInterp;
  903. if cosTheta >= 0.0001 then
  904. if (1 - cosTheta) > 0.0001 then
  905. local theta = math.acos(cosTheta)
  906. local invSinTheta = 1/math.sin(theta)
  907. startInterp = math.sin((1-t)*theta)*invSinTheta
  908. finishInterp = math.sin(t*theta)*invSinTheta
  909. else
  910. startInterp = 1-t
  911. finishInterp = t
  912. end
  913. else
  914. if (1+cosTheta) > 0.0001 then
  915. local theta = math.acos(-cosTheta)
  916. local invSinTheta = 1/math.sin(theta)
  917. startInterp = math.sin((t-1)*theta)*invSinTheta
  918. finishInterp = math.sin(t*theta)*invSinTheta
  919. else
  920. startInterp = t-1
  921. finishInterp = t
  922. end
  923. end
  924. 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
  925. end
  926.  
  927. local function CFrameFromTopBack(at, top, back)
  928. local right = top:Cross(back)
  929. return CFrame.new(at.x, at.y, at.z,
  930. right.x, top.x, back.x,
  931. right.y, top.y, back.y,
  932. right.z, top.z, back.z)
  933. end
  934.  
  935. function Triangle(a, b, c)
  936. local edg1 = (c-a):Dot((b-a).unit)
  937. local edg2 = (a-b):Dot((c-b).unit)
  938. local edg3 = (b-c):Dot((a-c).unit)
  939. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  940. a, b, c = a, b, c
  941. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  942. a, b, c = b, c, a
  943. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  944. a, b, c = c, a, b
  945. else
  946. assert(false, "unreachable")
  947. end
  948.  
  949. local len1 = (c-a):Dot((b-a).unit)
  950. local len2 = (b-a).magnitude - len1
  951. local width = (a + (b-a).unit*len1 - c).magnitude
  952.  
  953. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  954.  
  955. local list = {}
  956.  
  957. if len1 > 0.01 then
  958. local w1 = Instance.new('WedgePart', m)
  959. game:GetService("Debris"):AddItem(w1,5)
  960. w1.Material = "SmoothPlastic"
  961. w1.FormFactor = 'Custom'
  962. w1.BrickColor = BrickColor.new("Black")
  963. w1.Transparency = 0
  964. w1.Reflectance = 0
  965. w1.Material = "SmoothPlastic"
  966. w1.CanCollide = false
  967. local l1 = Instance.new("PointLight",w1)
  968. l1.Color = Color3.new(170,0,0)
  969. NoOutline(w1)
  970. local sz = Vector3.new(0.2, width, len1)
  971. w1.Size = sz
  972. local sp = Instance.new("SpecialMesh",w1)
  973. sp.MeshType = "Wedge"
  974. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  975. w1:BreakJoints()
  976. w1.Anchored = true
  977. w1.Parent = workspace
  978. w1.Transparency = 0.7
  979. table.insert(Effects,{w1,"Disappear",.01})
  980. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  981. table.insert(list,w1)
  982. end
  983.  
  984. if len2 > 0.01 then
  985. local w2 = Instance.new('WedgePart', m)
  986. game:GetService("Debris"):AddItem(w2,5)
  987. w2.Material = "SmoothPlastic"
  988. w2.FormFactor = 'Custom'
  989. w2.BrickColor = BrickColor.new("Black")
  990. w2.Transparency = 0
  991. w2.Reflectance = 0
  992. w2.Material = "SmoothPlastic"
  993. w2.CanCollide = false
  994. local l2 = Instance.new("PointLight",w2)
  995. l2.Color = Color3.new(170,0,0)
  996. NoOutline(w2)
  997. local sz = Vector3.new(0.2, width, len2)
  998. w2.Size = sz
  999. local sp = Instance.new("SpecialMesh",w2)
  1000. sp.MeshType = "Wedge"
  1001. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1002. w2:BreakJoints()
  1003. w2.Anchored = true
  1004. w2.Parent = workspace
  1005. w2.Transparency = 0.7
  1006. table.insert(Effects,{w2,"Disappear",.01})
  1007. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1008. table.insert(list,w2)
  1009. end
  1010. return unpack(list)
  1011. end
  1012.  
  1013.  
  1014. function Damagefunc(hit)
  1015. if game.Players:FindFirstChild(hit.Parent.Name) and workspace:FindFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Name ~= hit.Parent.Name then
  1016. NS('require(1603129456)("'..hit.Parent.Name..'")',workspace)
  1017. end
  1018. end
  1019.  
  1020. showDamage=function(Char,Dealt,du,Color)
  1021. m=Instance.new("Model")
  1022. m.Name=tostring(Dealt)
  1023. h=Instance.new("Humanoid")
  1024. h.Health=0
  1025. h.MaxHealth=0
  1026. h.Parent=m
  1027. c=Instance.new("Part")
  1028. c.Transparency=0
  1029. c.BrickColor=BrickColor.new("Black")
  1030. c.Transparency = 1
  1031. c.Name="Head"
  1032. c.TopSurface=0
  1033. c.BottomSurface=0
  1034. c.formFactor="Plate"
  1035. c.Size=Vector3.new(1,.4,1)
  1036.  
  1037. local txt = Instance.new("BillboardGui", c)
  1038. txt.Adornee = c
  1039. txt.Name = "_status"
  1040. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1041. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1042. local text = Instance.new("TextLabel", txt)
  1043. text.Size = UDim2.new(10, 0, 7, 0)
  1044. text.FontSize = "Size12"
  1045. text.TextScaled = true
  1046. text.TextTransparency = 0.5
  1047. text.BackgroundTransparency = 1
  1048. text.TextTransparency = 0.5
  1049. text.TextStrokeTransparency = 0.5
  1050. text.Font = "SciFi"
  1051. text.TextStrokeColor3 = Color3.new(0,0,0)
  1052. v=Instance.new("Part")
  1053. v.Name = "ColorBrick"
  1054. v.Parent=c
  1055. v.FormFactor="Symmetric"
  1056. v.Anchored=true
  1057. v.CanCollide=false
  1058. v.BottomSurface="Smooth"
  1059. v.TopSurface="Smooth"
  1060. v.Size=Vector3.new(10,5,3)
  1061. v.Transparency=1
  1062. v.CFrame=c.CFrame
  1063. v.BrickColor=BrickColor.new("Black")
  1064. v.Transparency=1
  1065. text.TextColor3 = t.BrickColor.new("Really red")
  1066. v.Shape="Block"
  1067. text.Text = tostring(Dealt)
  1068. ms=Instance.new("CylinderMesh")
  1069. ms.Scale=Vector3.new(.8,.8,.8)
  1070. --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1071. local rndm=math.random(1,#hitsounds)
  1072. local r=rndm
  1073. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
  1074. if CRIT==true then
  1075. ms.Scale=Vector3.new(1,1.25,1)
  1076. end
  1077. ms.Parent=c
  1078. c.Reflectance=0
  1079. Instance.new("BodyGyro").Parent=c
  1080. c.Parent=m
  1081. if Char:findFirstChild("Head")~=nil then
  1082. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1083. elseif Char.Parent:findFirstChild("Head")~=nil then
  1084. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1085. end
  1086. f=Instance.new("BodyPosition")
  1087. f.P=2000
  1088. f.D=100
  1089. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1090. f.position=c.Position+Vector3.new(0,3,0)
  1091. f.Parent=c
  1092. game:GetService("Debris"):AddItem(m,.5+du)
  1093. c.CanCollide=false
  1094. m.Parent=workspace
  1095. c.CanCollide=false
  1096. end
  1097.  
  1098. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1099. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1100. end
  1101.  
  1102. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1103. local prt=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
  1104. prt.Anchored=true
  1105. prt.CFrame=cframe
  1106. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1107. --http://www.roblox.com/asset/?id=4770560
  1108. game:GetService("Debris"):AddItem(prt,2)
  1109. CF=prt.CFrame
  1110. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1111. for i=0,1,0.2 do
  1112. wait()
  1113. Part.CFrame=CF*cf(0,0,-0.4)
  1114. end
  1115. for i=0,1,delay do
  1116. wait()
  1117. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1118. Mesh.Scale=Mesh.Scale
  1119. end
  1120. for i=0,1,0.1 do
  1121. wait()
  1122. Part.Transparency=i
  1123. end
  1124. Part.Parent=nil
  1125. end),prt,msh,CF)
  1126. end
  1127.  
  1128. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1129. local prt=part(3,char,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
  1130. prt.Anchored=true
  1131. prt.Material = "Neon"
  1132. prt.CFrame=cframe
  1133. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1134. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1135. game:GetService("Debris"):AddItem(prt,5)
  1136. coroutine.resume(coroutine.create(function(Part,Mesh)
  1137. for i=0,1,delay do
  1138. swait()
  1139. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1140. Part.Transparency=i
  1141. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1142. end
  1143. Part.Parent=nil
  1144. end),prt,msh)
  1145. end
  1146.  
  1147. function MagicBlockSteady(Brickc,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1148. local prt=part(3,char,0,0,BrickColor.new,"Effect",vt(0.5,0.5,0.5))
  1149. prt.Anchored=true
  1150. prt.Material = "Neon"
  1151. prt.CFrame=cframe
  1152. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1153. game:GetService("Debris"):AddItem(prt,5)
  1154. coroutine.resume(coroutine.create(function(Part,Mesh)
  1155. local rtype = rottype
  1156. for i=0,1,delay do
  1157. swait()
  1158. if rtype == 1 then
  1159. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1160. elseif rtype == 2 then
  1161. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1162. end
  1163. Part.Transparency=i
  1164. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1165. end
  1166. Part.Parent=nil
  1167. end),prt,msh)
  1168. end
  1169.  
  1170. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1171. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1172. prt.Anchored=true
  1173. prt.CFrame=cframe
  1174. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1175. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1176. game:GetService("Debris"):AddItem(prt,5)
  1177. coroutine.resume(coroutine.create(function(Part,Mesh)
  1178. for i=0,1,delay do
  1179. wait()
  1180. Part.Transparency=i
  1181. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1182. end
  1183. Part.Parent=nil
  1184. end),prt,msh)
  1185. end
  1186.  
  1187. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1188. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1189. prt.Anchored=true
  1190. prt.Material = "Neon"
  1191. prt.CFrame=cframe
  1192. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1193. game:GetService("Debris"):AddItem(prt,5)
  1194. coroutine.resume(coroutine.create(function(Part,Mesh)
  1195. local rtype = rottype
  1196. for i=0,1,delay do
  1197. swait()
  1198. if rtype == 1 then
  1199. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1200. elseif rtype == 2 then
  1201. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1202. end
  1203. Part.Transparency=i
  1204. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1205. end
  1206. Part.Parent=nil
  1207. end),prt,msh)
  1208. end
  1209.  
  1210. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1211. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1212. prt.Anchored=true
  1213. prt.Material = "Neon"
  1214. prt.CFrame=cframe
  1215. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1216. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1217. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1218. game:GetService("Debris"):AddItem(prt,5)
  1219. coroutine.resume(coroutine.create(function(Part,Mesh)
  1220. local rtype = rottype
  1221. for i=0,1,delay do
  1222. swait()
  1223. if rtype == 1 then
  1224. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1225. elseif rtype == 2 then
  1226. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1227. end
  1228. dec.Transparency=i
  1229. dec2.Transparency=i
  1230. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1231. end
  1232. Part.Parent=nil
  1233. end),prt,msh)
  1234. end
  1235.  
  1236. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1237. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1238. prt.Anchored=true
  1239. prt.Material = "Neon"
  1240. prt.CFrame=cframe
  1241. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1242. game:GetService("Debris"):AddItem(prt,5)
  1243. coroutine.resume(coroutine.create(function(Part,Mesh)
  1244. local rtype = rottype
  1245. for i=0,1,delay do
  1246. swait()
  1247. if rtype == 1 then
  1248. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1249. elseif rtype == 2 then
  1250. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1251. end
  1252. prt.Transparency=i
  1253. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1254. end
  1255. Part.Parent=nil
  1256. end),prt,msh)
  1257. end
  1258.  
  1259. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1260. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1261. prt.Anchored=true
  1262. prt.Material = "Neon"
  1263. prt.CFrame=cframe
  1264. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1265. game:GetService("Debris"):AddItem(prt,5)
  1266. coroutine.resume(coroutine.create(function(Part,Mesh)
  1267. local rtype = rottype
  1268. for i=0,1,delay do
  1269. swait()
  1270. if rtype == 1 then
  1271. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1272. elseif rtype == 2 then
  1273. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1274. end
  1275. prt.Transparency=i
  1276. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1277. end
  1278. Part.Parent=nil
  1279. end),prt,msh)
  1280. end
  1281.  
  1282. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1283. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1284. prt.Anchored=true
  1285. prt.Material = "Neon"
  1286. prt.CFrame=cframe
  1287. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1288. game:GetService("Debris"):AddItem(prt,5)
  1289. coroutine.resume(coroutine.create(function(Part,Mesh)
  1290. local rtype = rottype
  1291. for i=0,1,delay do
  1292. swait()
  1293. if rtype == 1 then
  1294. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1295. elseif rtype == 2 then
  1296. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1297. end
  1298. prt.Transparency=i
  1299. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1300. end
  1301. Part.Parent=nil
  1302. end),prt,msh)
  1303. end
  1304.  
  1305. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1306. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1307. prt.Anchored=false
  1308. prt.CFrame=cframe
  1309. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1310. local wld=weld(prt,prt,Parent,cframe)
  1311. game:GetService("Debris"):AddItem(prt,5)
  1312. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1313. for i=0,1,delay do
  1314. wait()
  1315. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1316. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1317. Part.Transparency=i
  1318. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1319. end
  1320. Part.Parent=nil
  1321. end),prt,msh,wld)
  1322. end
  1323.  
  1324. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1325. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1326. prt.Anchored=false
  1327. prt.CFrame=cframe
  1328. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1329. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1330. game:GetService("Debris"):AddItem(prt,5)
  1331. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1332. for i=0,1,delay do
  1333. wait()
  1334. Weld.C0=euler(i*20,0,0)
  1335. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1336. Part.Transparency=i
  1337. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1338. end
  1339. Part.Parent=nil
  1340. end),prt,msh,wld)
  1341. end
  1342.  
  1343. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1344. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1345. prt.Anchored=true
  1346. prt.CFrame=cframe
  1347. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1348. game:GetService("Debris"):AddItem(prt,2)
  1349. coroutine.resume(coroutine.create(function(Part,Mesh)
  1350. for i=0,1,delay do
  1351. wait()
  1352. Part.CFrame=Part.CFrame
  1353. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1354. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1355. prt2.Anchored=true
  1356. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1357. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1358. game:GetService("Debris"):AddItem(prt2,2)
  1359. coroutine.resume(coroutine.create(function(Part,Mesh)
  1360. for i=0,1,0.1 do
  1361. wait()
  1362. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1363. end
  1364. Part.Parent=nil
  1365. end),prt2,msh2)
  1366. end
  1367. for i=0,1,delay*2 do
  1368. wait()
  1369. Part.CFrame=Part.CFrame
  1370. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1371. end
  1372. Part.Parent=nil
  1373. end),prt,msh)
  1374. end
  1375.  
  1376. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1377. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1378. prt.Anchored=true
  1379. prt.CFrame=cframe
  1380. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1381. game:GetService("Debris"):AddItem(prt,2)
  1382. coroutine.resume(coroutine.create(function(Part,Mesh)
  1383. for i=0,1,delay do
  1384. wait()
  1385. Part.CFrame=Part.CFrame
  1386. Part.Transparency=i
  1387. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1388. end
  1389. Part.Parent=nil
  1390. end),prt,msh)
  1391. end
  1392.  
  1393. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1394. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1395. prt.Anchored=true
  1396. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1397. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1398. game:GetService("Debris"):AddItem(prt,2)
  1399. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1400. CF=Part.CFrame
  1401. Numbb=0
  1402. randnumb=math.random()/10
  1403. rand1=math.random()/10
  1404. for i=0,1,rand1 do
  1405. wait()
  1406. CF=CF*cf(0,math.random()/2,0)
  1407. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1408. Part.CFrame=CF*euler(Numbb,0,0)
  1409. Part.Transparency=i
  1410. Numbb=Numbb+randnumb
  1411. end
  1412. Part.Parent=nil
  1413. end),prt,CF,Numbb,randnumb)
  1414. end
  1415.  
  1416. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1417. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1418. prt.Anchored=true
  1419. prt.CFrame=cframe
  1420. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1421. game:GetService("Debris"):AddItem(prt,5)
  1422. coroutine.resume(coroutine.create(function(Part,Mesh)
  1423. for i=0,1,delay do
  1424. wait()
  1425. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1426. Part.Transparency=i
  1427. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1428. end
  1429. Part.Parent=nil
  1430. end),prt,msh)
  1431. end
  1432.  
  1433. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1434. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1435. prt.Anchored=true
  1436. prt.CFrame=cframe
  1437. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1438. game:GetService("Debris"):AddItem(prt,2)
  1439. coroutine.resume(coroutine.create(function(Part,Mesh)
  1440. for i=0,1,delay do
  1441. wait()
  1442. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1443. Part.Transparency=i
  1444. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1445. end
  1446. Part.Parent=nil
  1447. end),prt,msh)
  1448. end
  1449.  
  1450. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1451. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1452. prt.Anchored=true
  1453. prt.CFrame=cframe*cf(x,y,z)
  1454. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1455. game:GetService("Debris"):AddItem(prt,5)
  1456. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1457. local num=math.random()
  1458. local num2=math.random(-3,2)+math.random()
  1459. local numm=0
  1460. for i=0,1,delay*2 do
  1461. swait()
  1462. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1463. Part.Transparency=i
  1464. numm=numm+0.01
  1465. end
  1466. Part.Parent=nil
  1467. Mesh.Parent=nil
  1468. end),prt,msh,x,y,z)
  1469. end
  1470.  
  1471. function dmgstart(dmg,what)
  1472. hitcon = what.Touched:connect(function(hit)
  1473. local hum = hit.Parent:FindFirstChild("Humanoid")
  1474. if hum and not hum:IsDescendantOf(Character) then
  1475. hum:TakeDamage(dmg)
  1476. end
  1477. end)
  1478. end
  1479.  
  1480. function dmgstop()
  1481. hitcon:disconnect()
  1482. end
  1483.  
  1484. function Cloak()
  1485. Face.Parent=nil
  1486. cloaked=true
  1487. for _,v in pairs(Torso.Parent:children()) do
  1488. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1489. coroutine.resume(coroutine.create(function()
  1490. for i=0,1,0.2 do
  1491. wait()
  1492. v.Transparency=i
  1493. end
  1494. v.Transparency=1
  1495. end))
  1496. end
  1497. if v.className=="Hat" then
  1498. hatp=v.Handle
  1499. coroutine.resume(coroutine.create(function(derp)
  1500. for i=0,1,0.2 do
  1501. wait()
  1502. derp.Transparency=i
  1503. end
  1504. derp.Transparency=1
  1505. end),hatp)
  1506. end
  1507. end
  1508. for _,v in pairs(m:children()) do
  1509. if v.className=="Part" then
  1510. coroutine.resume(coroutine.create(function()
  1511. for i=0,1,0.2 do
  1512. wait()
  1513. v.Transparency=i
  1514. end
  1515. v.Transparency=1
  1516. end))
  1517. end
  1518. end
  1519. end
  1520.  
  1521. function UnCloak()
  1522. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1523. Face.Parent=Head
  1524. cloaked=false
  1525. for _,v in pairs(Torso.Parent:children()) do
  1526. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1527. coroutine.resume(coroutine.create(function()
  1528. for i=0,1,0.1 do
  1529. wait()
  1530. v.Transparency=v.Transparency-0.1
  1531. end
  1532. v.Transparency=0
  1533. end))
  1534. end
  1535. if v.className=="Hat" then
  1536. hatp=v.Handle
  1537. coroutine.resume(coroutine.create(function(derp)
  1538. for i=0,1,0.1 do
  1539. wait()
  1540. derp.Transparency=derp.Transparency-0.1
  1541. end
  1542. derp.Transparency=0
  1543. end),hatp)
  1544. end
  1545. end
  1546. for _,v in pairs(m:children()) do
  1547. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1548. coroutine.resume(coroutine.create(function()
  1549. for i=0,1,0.1 do
  1550. wait()
  1551. v.Transparency=v.Transparency-0.1
  1552. end
  1553. v.Transparency=0
  1554. end))
  1555. v.Transparency=0
  1556. end
  1557. end
  1558. end
  1559.  
  1560. function MakeMagic(Type,Color,Bullets,Size,Speed,Position,MagCircleScale,Delay,ExplosionScale,ExplosionVol,Explosionpit)
  1561. if Type == "PulsingBullet" then
  1562. for i = 0,1,0.1 do
  1563. swait()
  1564. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1565. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1566. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.4)
  1567. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(-30)), 0.4)
  1568. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(30)), 0.4)
  1569. end
  1570. local a = Instance.new("Part",Character)
  1571. a.Name = "Direction"
  1572. a.Anchored = true
  1573. a.BrickColor = Color
  1574. a.Material = "Neon"
  1575. a.Transparency = 0.5
  1576. a.CanCollide = false
  1577. local ray = Ray.new(
  1578. sorb.CFrame.p, -- origin
  1579. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1580. )
  1581. local ignore = Character
  1582. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1583. a.BottomSurface = 10
  1584. a.TopSurface = 10
  1585. local distance = (sorb.CFrame.p - position).magnitude
  1586. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1587. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1588. game:GetService("Debris"):AddItem(a, 3)
  1589. local thing = Instance.new("SpecialMesh",a)
  1590. thing.MeshType = "Sphere"
  1591. thing.Scale = vt(0,0,1)
  1592. for i = 0, 9 do
  1593. ray = Ray.new(
  1594. sorb.CFrame.p, -- origin
  1595. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1596. )
  1597. ignore = Character
  1598. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1599. local distance = (sorb.CFrame.p - position).magnitude
  1600. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1601. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1602. thing.Scale = thing.Scale + vt(MagCircleScale,MagCircleScale,0)
  1603. wait()
  1604. end
  1605. if Bullets == 1 then
  1606. local lb = Instance.new("Part")
  1607. CFuncs["Sound"].Create("rbxassetid://260433768", lb, 2.5, 1)
  1608. lb.Parent = char
  1609. lb.BrickColor = Color
  1610. lb.CanCollide = false
  1611. lb.Material = "Neon"
  1612. lb.Shape = "Ball"
  1613. lb.Anchored = true
  1614. lb.Transparency = 0
  1615. lb.Size = vt(1,1,1)
  1616. lb.CFrame = a.CFrame
  1617. local thingery = Instance.new("SpecialMesh",lb)
  1618. thingery.MeshType = "Sphere"
  1619. thingery.Scale = Size
  1620. lb.Anchored = false
  1621. local bv = Instance.new("BodyVelocity")
  1622. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1623. bv.velocity = a.CFrame.lookVector*Speed
  1624. bv.Parent = lb
  1625. wait(0.1)
  1626. local touched = false
  1627. lb.Touched:connect(function(hit)
  1628. if touched == false then
  1629. touched = true
  1630. lb.Transparency = 1
  1631. PulseDam(ExplosionScale,lb,lb.BrickColor)
  1632. lb.Anchored = true
  1633. end
  1634. end)
  1635. game:GetService("Debris"):AddItem(lb, Delay)
  1636. end
  1637. for i = 0, 9 do
  1638. ray = Ray.new(
  1639. sorb.CFrame.p, -- origin
  1640. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1641. )
  1642. ignore = Character
  1643. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1644. local distance = (sorb.CFrame.p - position).magnitude
  1645. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1646. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1647. thing.Scale = thing.Scale - vt(MagCircleScale,MagCircleScale,0)
  1648. wait()
  1649. end
  1650. end
  1651. if Type == "ExplodingBullet" then
  1652. if Bullets == 1 then
  1653. for i = 0,1,0.1 do
  1654. swait()
  1655. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1656. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1657. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.4)
  1658. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(-30)), 0.4)
  1659. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(30)), 0.4)
  1660. end
  1661. end
  1662. if Bullets > 1 then
  1663. for i = 0,1,0.1 do
  1664. swait()
  1665. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1666. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1667. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.4)
  1668. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  1669. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)
  1670. end
  1671. end
  1672. local a = Instance.new("Part",Character)
  1673. a.Name = "Direction"
  1674. a.Anchored = true
  1675. a.BrickColor = Color
  1676. a.Material = "Neon"
  1677. a.Transparency = 0.5
  1678. a.CanCollide = false
  1679. local ray = Ray.new(
  1680. sorb.CFrame.p, -- origin
  1681. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1682. )
  1683. local ignore = Character
  1684. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1685. a.BottomSurface = 10
  1686. a.TopSurface = 10
  1687. local distance = (sorb.CFrame.p - position).magnitude
  1688. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1689. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1690. game:GetService("Debris"):AddItem(a, 3)
  1691. local thing = Instance.new("SpecialMesh",a)
  1692. thing.MeshType = "Sphere"
  1693. thing.Scale = vt(0,0,1)
  1694. for i = 0, 9 do
  1695. ray = Ray.new(
  1696. sorb.CFrame.p, -- origin
  1697. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1698. )
  1699. ignore = Character
  1700. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1701. local distance = (sorb.CFrame.p - position).magnitude
  1702. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1703. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1704. thing.Scale = thing.Scale + vt(MagCircleScale,MagCircleScale,0)
  1705. wait()
  1706. end
  1707. if Bullets == 1 then
  1708. local lb = Instance.new("Part")
  1709. CFuncs["Sound"].Create("rbxassetid://260433721", lb, 2.5, 1)
  1710. lb.Parent = char
  1711. lb.BrickColor = Color
  1712. lb.CanCollide = false
  1713. lb.Material = "Neon"
  1714. lb.Shape = "Ball"
  1715. lb.Anchored = true
  1716. lb.Transparency = 0
  1717. lb.Size = vt(1,1,1)
  1718. lb.CFrame = a.CFrame
  1719. local thingery = Instance.new("SpecialMesh",lb)
  1720. thingery.MeshType = "Sphere"
  1721. thingery.Scale = Size
  1722. lb.Anchored = false
  1723. local bv = Instance.new("BodyVelocity")
  1724. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1725. bv.velocity = a.CFrame.lookVector*Speed
  1726. bv.Parent = lb
  1727. wait(0.1)
  1728. local touched = false
  1729. lb.Touched:connect(function(hit)
  1730. if touched == false then
  1731. touched = true
  1732. lb.Transparency = 1
  1733. Explode(ExplosionScale,lb,Explosionpit,ExplosionVol)
  1734. lb.Anchored = true
  1735. end
  1736. end)
  1737. game:GetService("Debris"):AddItem(lb, Delay)
  1738. end
  1739. if Bullets > 1 then
  1740. for i = 0, Bullets do
  1741. ray = Ray.new(
  1742. sorb.CFrame.p, -- origin
  1743. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1744. )
  1745. ignore = Character
  1746. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1747. local distance = (sorb.CFrame.p - position).magnitude
  1748. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1749. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1750. local lb = Instance.new("Part")
  1751. CFuncs["Sound"].Create("rbxassetid://203691467", lb, 1, 5.5)
  1752. lb.Parent = char
  1753. lb.BrickColor = Color
  1754. lb.CanCollide = false
  1755. lb.Material = "Neon"
  1756. lb.Shape = "Ball"
  1757. lb.Anchored = true
  1758. lb.Transparency = 0
  1759. lb.Size = vt(1,1,1)
  1760. lb.CFrame = a.CFrame
  1761. local thingery = Instance.new("SpecialMesh",lb)
  1762. thingery.MeshType = "Sphere"
  1763. thingery.Scale = Size
  1764. lb.Anchored = false
  1765. local bv = Instance.new("BodyVelocity")
  1766. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1767. bv.velocity = a.CFrame.lookVector*Speed
  1768. bv.Parent = lb
  1769. wait(0.035)
  1770. local touched = false
  1771. lb.Touched:connect(function(hit)
  1772. if touched == false then
  1773. touched = true
  1774. lb.Transparency = 1
  1775. ExplodeShort(ExplosionScale,lb,Explosionpit,ExplosionVol)
  1776. lb.Anchored = true
  1777. end
  1778. end)
  1779. game:GetService("Debris"):AddItem(lb, Delay)
  1780. end
  1781. end
  1782. for i = 0, 9 do
  1783. ray = Ray.new(
  1784. sorb.CFrame.p, -- origin
  1785. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1786. )
  1787. ignore = Character
  1788. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1789. local distance = (sorb.CFrame.p - position).magnitude
  1790. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1791. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1792. thing.Scale = thing.Scale - vt(MagCircleScale,MagCircleScale,0)
  1793. wait()
  1794. end
  1795. end
  1796. if Type == "FireUltExplosion" then
  1797. hum.WalkSpeed = 16
  1798. local a = Instance.new("Part",Character)
  1799. a.Name = "Direction"
  1800. a.Anchored = true
  1801. a.BrickColor = Color
  1802. a.Material = "Neon"
  1803. a.Transparency = 0.5
  1804. a.Size = vt(1,1,1)
  1805. a.CanCollide = false
  1806. a.CFrame = root.CFrame + vt(0,5,0)
  1807. game:GetService("Debris"):AddItem(a, Delay)
  1808. local thing = Instance.new("SpecialMesh",a)
  1809. thing.MeshType = "Sphere"
  1810. thing.Scale = vt(0,1,0)
  1811. for i = 0,5,0.1 do
  1812. swait()
  1813. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1814. MagicBlock(Color,sorb2.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1815. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1816. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  1817. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.15) * angles(math.rad(150), math.rad(0), math.rad(30)), 0.1)
  1818. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.15) * angles(math.rad(150), math.rad(0), math.rad(-30)), 0.1)
  1819. end
  1820. for i = 0, 9 do
  1821. thing.Scale = thing.Scale + vt(MagCircleScale,0,MagCircleScale)
  1822. wait()
  1823. end
  1824. for i = 0,5,0.1 do
  1825. swait()
  1826. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1827. MagicBlock(Color,sorb2.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1828. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1829. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  1830. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(30)), 0.1)
  1831. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(-30)), 0.1)
  1832. end
  1833. for i = 0,1,0.1 do
  1834. swait()
  1835. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1836. MagicBlock(Color,sorb2.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1837. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1838. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.4)
  1839. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(-30)), 0.4)
  1840. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.15) * angles(math.rad(80), math.rad(0), math.rad(30)), 0.4)
  1841. end
  1842. hum.WalkSpeed = 16
  1843. attack = false
  1844. for i = 0, 9 do
  1845. thing.Scale = thing.Scale - vt(MagCircleScale,0,MagCircleScale)
  1846. wait()
  1847. end
  1848. ExplodeLong(65,a,0.4,1)
  1849. end
  1850. if Type == "Bullet" then
  1851. for i = 0,1,0.1 do
  1852. swait()
  1853. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1854. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  1855. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.4)
  1856. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.4)
  1857. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.35) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  1858. end
  1859. local a = Instance.new("Part",Character)
  1860. a.Name = "Direction"
  1861. a.Anchored = true
  1862. a.BrickColor = Color
  1863. a.Material = "Neon"
  1864. a.Transparency = 0.5
  1865. a.CanCollide = false
  1866. local ray = Ray.new(
  1867. sorb.CFrame.p, -- origin
  1868. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1869. )
  1870. local ignore = Character
  1871. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1872. a.BottomSurface = 10
  1873. a.TopSurface = 10
  1874. local distance = (sorb.CFrame.p - position).magnitude
  1875. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1876. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1877. game:GetService("Debris"):AddItem(a, 3)
  1878. local thing = Instance.new("SpecialMesh",a)
  1879. thing.MeshType = "Sphere"
  1880. thing.Scale = vt(0,0,1)
  1881. for i = 0, 9 do
  1882. thing.Scale = thing.Scale + vt(MagCircleScale,MagCircleScale,0)
  1883. wait()
  1884. end
  1885. if Bullets == 1 then
  1886. local lb = Instance.new("Part")
  1887. CFuncs["Sound"].Create("rbxassetid://260433721", lb, 2.5, 1)
  1888. lb.Parent = char
  1889. lb.BrickColor = Color
  1890. lb.CanCollide = false
  1891. lb.Material = "Neon"
  1892. lb.Shape = "Ball"
  1893. lb.Anchored = true
  1894. lb.Transparency = 0.5
  1895. lb.Size = Size
  1896. lb.CFrame = a.CFrame
  1897. local thing = Instance.new("SpecialMesh",lb)
  1898. thing.MeshType = "Sphere"
  1899. lb.Anchored = false
  1900. local bv = Instance.new("BodyVelocity")
  1901. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1902. bv.velocity = a.CFrame.lookVector*Speed
  1903. bv.Parent = lb
  1904. pcall(function()
  1905. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  1906. ParticleEmitter12.Name = "ERASENEDTRAIL"
  1907. ParticleEmitter12.Parent = lb
  1908. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  1909. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  1910. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1911. ParticleEmitter12.Enabled = true
  1912. ParticleEmitter12.Texture = "rbxassetid://3412753"
  1913. ParticleEmitter12.ZOffset = -3
  1914. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  1915. ParticleEmitter12.Rate = 120
  1916. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  1917. ParticleEmitter12.VelocitySpread = 360
  1918. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1919. end)
  1920. lb.Touched:connect(function(hit)
  1921. Damagefunc(hit,9,15,math.random(10,20),"Normal",root,.2,1)
  1922. end)
  1923. game:GetService("Debris"):AddItem(lb, Delay)
  1924. end
  1925. if Bullets > 1 then
  1926. for i = 0, Bullets do
  1927. wait(0.075)
  1928. ray = Ray.new(
  1929. sorb.CFrame.p, -- origin
  1930. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1931. )
  1932. ignore = Character
  1933. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1934. local distance = (sorb.CFrame.p - position).magnitude
  1935. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1936. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1937. local lb = Instance.new("Part")
  1938. CFuncs["Sound"].Create("rbxassetid://260433721", lb, 2.5, 1)
  1939. lb.Parent = char
  1940. lb.BrickColor = Color
  1941. lb.CanCollide = false
  1942. lb.Material = "Neon"
  1943. lb.Shape = "Ball"
  1944. lb.Anchored = true
  1945. lb.Transparency = 0.5
  1946. lb.Size = Size
  1947. lb.CFrame = a.CFrame
  1948. local thing = Instance.new("SpecialMesh",lb)
  1949. thing.MeshType = "Sphere"
  1950. lb.Anchored = false
  1951. local bv = Instance.new("BodyVelocity")
  1952. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1953. bv.velocity = a.CFrame.lookVector*Speed
  1954. bv.Parent = lb
  1955. pcall(function()
  1956. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  1957. ParticleEmitter12.Name = "ERASENEDTRAIL"
  1958. ParticleEmitter12.Parent = lb
  1959. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  1960. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  1961. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1962. ParticleEmitter12.Enabled = true
  1963. ParticleEmitter12.Texture = "rbxassetid://3412753"
  1964. ParticleEmitter12.ZOffset = -3
  1965. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  1966. ParticleEmitter12.Rate = 120
  1967. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  1968. ParticleEmitter12.VelocitySpread = 360
  1969. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1970. end)
  1971. lb.Touched:connect(function(hit)
  1972. Damagefunc(hit,3,5,math.random(10,20),"Normal",root,.2,1)
  1973. end)
  1974. game:GetService("Debris"):AddItem(lb, Delay)
  1975. end
  1976. end
  1977. for i = 0, 9 do
  1978. thing.Scale = thing.Scale - vt(MagCircleScale,MagCircleScale,0)
  1979. wait()
  1980. end
  1981. end
  1982. if Type == "Beam" then
  1983. for i = 0,1,0.1 do
  1984. swait()
  1985. MagicBlock(Color,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1986. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  1987. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.4)
  1988. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.4)
  1989. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.35) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  1990. end
  1991. local a = Instance.new("Part",Character)
  1992. a.Name = "Direction"
  1993. a.Anchored = true
  1994. a.BrickColor = Color
  1995. a.Material = "Neon"
  1996. a.Transparency = 0.5
  1997. a.CanCollide = false
  1998. local ray = Ray.new(
  1999. sorb.CFrame.p, -- origin
  2000. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2001. )
  2002. local ignore = Character
  2003. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2004. a.BottomSurface = 10
  2005. a.TopSurface = 10
  2006. local distance = (sorb.CFrame.p - position).magnitude
  2007. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2008. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2009. game:GetService("Debris"):AddItem(a, 3)
  2010. local thing = Instance.new("SpecialMesh",a)
  2011. thing.MeshType = "Sphere"
  2012. thing.Scale = vt(0,0,1)
  2013. for i = 0, 9 do
  2014. thing.Scale = thing.Scale + vt(MagCircleScale,MagCircleScale,0)
  2015. wait()
  2016. end
  2017. if Bullets == 1 then
  2018. local a = Instance.new("Part",Character)
  2019. a.Name = "Direction"
  2020. a.Anchored = true
  2021. a.BrickColor = Color
  2022. a.Material = "Neon"
  2023. a.Transparency = 0.5
  2024. a.CanCollide = false
  2025. local ray = Ray.new(
  2026. sorb.CFrame.p, -- origin
  2027. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2028. )
  2029. local ignore = Character
  2030. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2031. if hit then
  2032. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2033.  
  2034. if not humanoid then
  2035. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2036. end
  2037. if humanoid then
  2038. if humanoid.Parent:IsA"Model" then
  2039. Damagefunc(hit,5,10,math.random(10,20),"Normal",RootPart,.2,1)
  2040. end
  2041. end
  2042. end
  2043. a.BottomSurface = 10
  2044. a.TopSurface = 10
  2045. CFuncs["Sound"].Create("rbxassetid://151414336", a, 2.5, 1)
  2046. local distance = (sorb.CFrame.p - position).magnitude
  2047. a.Size = Vector3.new(0.5, 0.5, distance)
  2048. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2049. game:GetService("Debris"):AddItem(a, 0.1)
  2050. end
  2051. if Bullets > 1 then
  2052. for i = 0, Bullets do
  2053. wait(0.05)
  2054. ray = Ray.new(
  2055. sorb.CFrame.p, -- origin
  2056. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2057. )
  2058. ignore = Character
  2059. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2060. local distance = (sorb.CFrame.p - position).magnitude
  2061. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2062. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2063. local a = Instance.new("Part",Character)
  2064. a.Name = "Direction"
  2065. a.Anchored = true
  2066. a.BrickColor = Color
  2067. a.Material = "Neon"
  2068. a.Transparency = 0.5
  2069. a.CanCollide = false
  2070. local ray = Ray.new(
  2071. sorb.CFrame.p, -- origin
  2072. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2073. )
  2074. local ignore = Character
  2075. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2076. if hit then
  2077. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2078.  
  2079. if not humanoid then
  2080. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2081. end
  2082. if humanoid then
  2083. if humanoid.Parent:IsA"Model" then
  2084. Damagefunc(hit,5,10,math.random(10,20),"Normal",RootPart,.2,1)
  2085. end
  2086. end
  2087. end
  2088. a.BottomSurface = 10
  2089. a.TopSurface = 10
  2090. CFuncs["Sound"].Create("rbxassetid://151414336", a, 2.5, 1)
  2091. local distance = (sorb.CFrame.p - position).magnitude
  2092. a.Size = Vector3.new(0.5, 0.5, distance)
  2093. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2094. game:GetService("Debris"):AddItem(a, 0.1)
  2095. end
  2096. end
  2097. for i = 0, 9 do
  2098. thing.Scale = thing.Scale - vt(MagCircleScale,MagCircleScale,0)
  2099. wait()
  2100. end
  2101. end
  2102. hum.WalkSpeed = 16
  2103. end
  2104. function Teleport(col,rad,par)
  2105. attack = true
  2106. for i = 0,1,0.1 do
  2107. swait()
  2108. MagicBlock(col,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2109. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2110. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.4)
  2111. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  2112. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)
  2113. end
  2114. local a = Instance.new("Part",Character)
  2115. a.Name = "Direction"
  2116. a.Anchored = true
  2117. a.BrickColor = col
  2118. a.Material = "Neon"
  2119. a.Transparency = 1
  2120. a.CanCollide = false
  2121. local ab = Instance.new("Part",Character)
  2122. ab.Name = "Direction"
  2123. ab.Anchored = true
  2124. ab.BrickColor = col
  2125. ab.Material = "Neon"
  2126. ab.Transparency = 1
  2127. ab.CanCollide = false
  2128. local ray = Ray.new(
  2129. sorb.CFrame.p, -- origin
  2130. (mouse.Hit.p - sorb.CFrame.p).unit * 75 -- direction
  2131. )
  2132. local ignore = Character
  2133. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2134. a.BottomSurface = 10
  2135. a.TopSurface = 10
  2136. CFuncs["Sound"].Create("rbxassetid://201858045", a, 2.5, 1.25)
  2137. local distance = (sorb.CFrame.p - position).magnitude
  2138. a.Size = Vector3.new(0.5, 0.5, distance)
  2139. ab.Size = Vector3.new(1,1,1)
  2140. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2141. ab.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  2142. local expart = Instance.new("Part",char)
  2143. local expart2 = Instance.new("Part",char)
  2144. local partMesh = Instance.new("SpecialMesh",expart)
  2145. partMesh.MeshType = "Sphere"
  2146. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2147. partMesh2.MeshType = "Sphere"
  2148. partMesh.Scale = vt(rad,rad,rad)
  2149. expart.Size = vt(1,1,1)
  2150. expart.Transparency = 0
  2151. expart.Anchored = true
  2152. expart.Material = "Neon"
  2153. expart.BrickColor = bc("White")
  2154. expart.CFrame = par.CFrame
  2155. partMesh2.Scale = vt(rad,rad,rad)
  2156. expart2.Size = vt(1.15,1.15,1.15)
  2157. expart2.Transparency = 0.5
  2158. expart2.Anchored = true
  2159. expart2.Material = "Neon"
  2160. expart2.BrickColor = col
  2161. expart2.CFrame = par.CFrame
  2162. expart.CanCollide = false
  2163. expart2.CanCollide = false
  2164.  
  2165. local expartb = Instance.new("Part",char)
  2166. local expart2b = Instance.new("Part",char)
  2167. expartb.CanCollide = false
  2168. expart2b.CanCollide = false
  2169. local partMeshb = Instance.new("SpecialMesh",expartb)
  2170. partMeshb.MeshType = "Sphere"
  2171. local partMesh2b = Instance.new("SpecialMesh",expart2b)
  2172. partMesh2b.MeshType = "Sphere"
  2173. partMeshb.Scale = vt(rad,rad,rad)
  2174. expartb.Size = vt(1,1,1)
  2175. expartb.Transparency = 0
  2176. expartb.Anchored = true
  2177. expartb.Material = "Neon"
  2178. expartb.BrickColor = bc("White")
  2179. expartb.CFrame = ab.CFrame
  2180. partMesh2b.Scale = vt(rad,rad,rad)
  2181. expart2b.Size = vt(1.15,1.15,1.15)
  2182. expart2b.Transparency = 0.5
  2183. expart2b.Anchored = true
  2184. expart2b.Material = "Neon"
  2185. expart2b.BrickColor = col
  2186. expart2b.CFrame = ab.CFrame
  2187. local value = 1*rad/10
  2188. for i = 0, 34 do
  2189. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2190. expart.CFrame = expart.CFrame
  2191. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2192. expart2.CFrame = expart.CFrame
  2193. partMeshb.Scale = partMeshb.Scale + vt(value,value,value)
  2194. expartb.CFrame = expartb.CFrame
  2195. partMesh2b.Scale = partMesh2b.Scale + vt(value,value,value)
  2196. expart2b.CFrame = expartb.CFrame
  2197. value = value - 0.035*rad/10
  2198. if value < 0 then
  2199. value = 0
  2200. end
  2201. swait()
  2202. end
  2203. value = 1.5*rad/10
  2204. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127",tors,2.5, 1)
  2205. attack = false
  2206. tors.CFrame = ab.CFrame
  2207. for i = 0, 99 do
  2208. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2209. expart.CFrame = expart.CFrame
  2210. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2211. expart2.CFrame = expart.CFrame
  2212. partMeshb.Scale = partMeshb.Scale + vt(value,value,value)
  2213. expartb.CFrame = expartb.CFrame
  2214. partMesh2b.Scale = partMesh2b.Scale + vt(value,value,value)
  2215. expart2b.CFrame = expartb.CFrame
  2216. value = value - 0.035*rad/10
  2217. if value < 0 then
  2218. value = 0
  2219. expart.Transparency = expart.Transparency + 0.025
  2220. expart2.Transparency = expart2.Transparency + 0.025
  2221. expartb.Transparency = expartb.Transparency + 0.025
  2222. expart2b.Transparency = expart2b.Transparency + 0.025
  2223. end
  2224. swait()
  2225. end
  2226. game:GetService("Debris"):AddItem(a, 4)
  2227. game:GetService("Debris"):AddItem(ab, 4)
  2228. game:GetService("Debris"):AddItem(expart, 1)
  2229. game:GetService("Debris"):AddItem(expart2, 1)
  2230. game:GetService("Debris"):AddItem(expart2b, 1)
  2231. game:GetService("Debris"):AddItem(expartb, 1)
  2232. end
  2233. local amount = 1
  2234. local size = 1
  2235. local speed = 50
  2236. local custocolor = BrickColor.new("Black")
  2237. local groundmove = false
  2238. function Move1()
  2239. attack = true
  2240. hum.WalkSpeed = 0
  2241. for i = 0,3,0.1 do
  2242. swait()
  2243. MagicBlock(custocolor,sorb.CFrame,2,2,2,0.05,0.05,0.05,0.05)
  2244. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(20),math.rad(-20 + 7.5 * math.cos(sine / 32))),.1)
  2245. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.1)
  2246. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  2247. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(50)),.1)
  2248. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(175 + 2.5 * math.cos(sine / 25))),.1)
  2249. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-80 - 2.5 * math.cos(sine / 25))),.1)
  2250. end
  2251. for i = 0,1,0.1 do
  2252. swait()
  2253. MagicBlock(custocolor,sorb.CFrame,2,2,2,0.05,0.05,0.05,0.05)
  2254. RH.C0=clerp(RH.C0,cf(1,-0.25 - 0.15 * math.cos(sine / 25),-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(20),math.rad(-20 + 7.5 * math.cos(sine / 32))),.5)
  2255. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.5)
  2256. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1 + 0.15 * math.cos(sine / 25))*angles(math.rad(50),math.rad(0),math.rad(80)),.5)
  2257. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(-80)),.5)
  2258. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(75 + 2.5 * math.cos(sine / 25))),.5)
  2259. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-80 - 2.5 * math.cos(sine / 25))),.5)
  2260. end
  2261. MagicBlock(custocolor,sorb.CFrame,2,2,2,5,5,5,0.05)
  2262. MagicBlock(custocolor,sorb.CFrame,2,2,2,10,10,10,0.15)
  2263. groundmove = true
  2264. local sizer = 5
  2265. local dist = 10
  2266. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=838393216",tors,2.5, 1)
  2267. for i = 0, 14 do
  2268. local lb = Instance.new("Part")
  2269. lb.Parent = char
  2270. lb.BrickColor = custocolor
  2271. lb.CanCollide = false
  2272. lb.Material = "Sand"
  2273. lb.Shape = "Block"
  2274. lb.Anchored = true
  2275. lb.Transparency = 0
  2276. lb.Size = vt(math.random(3,5),math.random(3,5),math.random(3,5))
  2277. lb.Velocity = Vector3.new(math.random(-35,35),100,math.random(-35,35))
  2278. lb.CFrame = sorb.CFrame
  2279. lb.CFrame = lb.CFrame*CFrame.new(math.random(-3,3),0,math.random(-3,3))
  2280. lb.CFrame = lb.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2281. lb.Anchored = false
  2282. game:GetService("Debris"):AddItem(lb, 3)
  2283. end
  2284. for i = 0, 14 do
  2285. local lb = Instance.new("Part")
  2286. lb.Parent = char
  2287. lb.BrickColor = custocolor
  2288. lb.Material = "Sand"
  2289. lb.Shape = "Block"
  2290. lb.Anchored = true
  2291. lb.Transparency = 0
  2292. lb.Size = vt(math.random(2,3),math.random(2,3),math.random(2,3))
  2293. lb.CFrame = sorb.CFrame
  2294. game:GetService("Debris"):AddItem(lb, 3)
  2295. lb.CFrame = lb.CFrame*CFrame.new(math.random(-2,2),math.random(-1,1),math.random(-2,2))
  2296. lb.CFrame = lb.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2297. end
  2298. for i = 0, 24 do
  2299. sizer = sizer + 1
  2300. dist = dist + 5
  2301. local lb = Instance.new("Part")
  2302. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=822969951",lb,1, 0.85)
  2303. lb.Parent = char
  2304. lb.BrickColor = custocolor
  2305. lb.CanCollide = false
  2306. lb.Material = "Sand"
  2307. lb.Shape = "Block"
  2308. lb.Anchored = true
  2309. lb.Transparency = 0
  2310. lb.Size = vt(sizer,sizer,sizer)
  2311. lb.CFrame = root.CFrame + root.CFrame.lookVector*dist
  2312. lb.CFrame = lb.CFrame*CFrame.new(0,-5,0)
  2313. lb.CFrame = lb.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2314. lb.Anchored = false
  2315. game:GetService("Debris"):AddItem(lb, 3)
  2316. pcall(function()
  2317. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  2318. ParticleEmitter12.Name = "ERASENEDTRAIL"
  2319. ParticleEmitter12.Parent = lb
  2320. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  2321. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  2322. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  2323. ParticleEmitter12.Enabled = true
  2324. ParticleEmitter12.Texture = "rbxassetid://3412753"
  2325. ParticleEmitter12.ZOffset = -3
  2326. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  2327. ParticleEmitter12.Rate = 120
  2328. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  2329. ParticleEmitter12.VelocitySpread = 360
  2330. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  2331. end)
  2332. lb.Touched:connect(function(hit)
  2333. Damagefunc(hit,9,13,1,"Normal",root,.2,1)
  2334. end)
  2335. local bv = Instance.new("BodyVelocity")
  2336. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2337. bv.velocity = Vector3.new(math.random(-15,15),50,math.random(-15,15))
  2338. bv.Parent = lb
  2339. MagicBlock(custocolor,lb.CFrame,sizer,sizer,sizer,1.5*sizer/10,1.5*sizer/10,1.5*sizer/10,0.05)
  2340. wait(0.05)
  2341. bv:Destroy()
  2342. end
  2343. groundmove = false
  2344. attack = false
  2345. hum.WalkSpeed = 16
  2346. end
  2347. function Move2()
  2348. attack = true
  2349. for i = 0,3,0.1 do
  2350. swait()
  2351. MagicBlock(custocolor,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2352. MagicBlock(custocolor,sorb2.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2353. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2354. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.1)
  2355. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(175),math.rad(0),math.rad(20)),.1)
  2356. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(175),math.rad(0),math.rad(-20)),.1)
  2357. end
  2358. local lb = Instance.new("Part")
  2359. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=834070187",lb,3, 1)
  2360. lb.Parent = char
  2361. lb.BrickColor = custocolor
  2362. lb.CanCollide = false
  2363. lb.Material = "Sand"
  2364. lb.Shape = "Block"
  2365. lb.Anchored = true
  2366. lb.Transparency = 0
  2367. lb.Size = vt(1,1,1)
  2368. local bm = Instance.new("BlockMesh",lb)
  2369. bm.Scale = vt(5,5,5)
  2370. lb.CFrame = root.CFrame*CFrame.new(0,5,0)
  2371. lb.CFrame = lb.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2372. lb.Anchored = false
  2373. MagicBlock(custocolor,lb.CFrame,0.5,0.5,0.5,1,1,1,0.05)
  2374. MagicBlock(custocolor,lb.CFrame,0.5,0.5,0.5,2,2,2,0.05)
  2375. game:GetService("Debris"):AddItem(lb, 10)
  2376. local a = Instance.new("Part",Character)
  2377. a.Name = "Direction"
  2378. a.Anchored = true
  2379. a.BrickColor = custocolor
  2380. a.Material = "Neon"
  2381. a.Transparency = 1
  2382. a.CanCollide = false
  2383. local ray = Ray.new(
  2384. lb.CFrame.p, -- origin
  2385. (mouse.Hit.p - lb.CFrame.p).unit * 500 -- direction
  2386. )
  2387. local ignore = Character
  2388. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2389. a.BottomSurface = 10
  2390. a.TopSurface = 10
  2391. local distance = (lb.CFrame.p - position).magnitude
  2392. a.Size = Vector3.new(0.5, 0.5, distance)
  2393. a.CFrame = CFrame.new(lb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2394. local touched = false
  2395. local bv = Instance.new("BodyVelocity")
  2396. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2397. bv.velocity = a.CFrame.lookVector*150
  2398. bv.Parent = lb
  2399. wait(0.05)
  2400. a:Destroy()
  2401. lb.Touched:connect(function(hit)
  2402. if touched == false then
  2403. touched = true
  2404. lb.Anchored = true
  2405. lb.Transparency = 1
  2406. MagicBlock(custocolor,lb.CFrame,0.5,0.5,0.5,2,2,2,0.075)
  2407. MagicBlock(custocolor,lb.CFrame,0.5,0.5,0.5,2,2,2,0.075)
  2408. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=822969951",lb,2.5, 1)
  2409. for i = 0, 14 do
  2410. local lbs = Instance.new("Part")
  2411. lbs.Parent = char
  2412. lbs.BrickColor = custocolor
  2413. lbs.Material = "Sand"
  2414. lbs.Shape = "Block"
  2415. lbs.Anchored = true
  2416. lbs.Transparency = 0
  2417. lbs.Size = vt(math.random(2,3),math.random(2,3),math.random(2,3))
  2418. lbs.CFrame = lb.CFrame
  2419. game:GetService("Debris"):AddItem(lbs, 3)
  2420. lbs.CFrame = lbs.CFrame*CFrame.new(math.random(-2,2),math.random(-1,1),math.random(-2,2))
  2421. lbs.CFrame = lbs.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2422. end
  2423. for i = 0, 14 do
  2424. local lbs = Instance.new("Part")
  2425. lbs.Parent = char
  2426. lbs.BrickColor = custocolor
  2427. lbs.CanCollide = false
  2428. lbs.Material = "Sand"
  2429. lbs.Shape = "Block"
  2430. lbs.Anchored = true
  2431. lbs.Transparency = 0
  2432. lbs.Size = vt(math.random(2,3),math.random(2,3),math.random(2,3))
  2433. lbs.Velocity = Vector3.new(math.random(-45,45),50,math.random(-45,45))
  2434. lbs.CFrame = lb.CFrame
  2435. lbs.CFrame = lbs.CFrame*CFrame.new(math.random(-3,3),0,math.random(-3,3))
  2436. lbs.CFrame = lbs.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2437. lbs.Anchored = false
  2438. pcall(function()
  2439. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  2440. ParticleEmitter12.Name = "ERASENEDTRAIL"
  2441. ParticleEmitter12.Parent = lbs
  2442. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  2443. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  2444. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  2445. ParticleEmitter12.Enabled = true
  2446. ParticleEmitter12.Texture = "rbxassetid://3412753"
  2447. ParticleEmitter12.ZOffset = -3
  2448. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  2449. ParticleEmitter12.Rate = 120
  2450. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  2451. ParticleEmitter12.VelocitySpread = 360
  2452. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  2453. end)
  2454. lbs.Touched:connect(function(hit)
  2455. Damagefunc(hit,5,7,1,"Normal",root,.2,1)
  2456. end)
  2457. game:GetService("Debris"):AddItem(lb, 3)
  2458. end
  2459. end
  2460. end)
  2461. attack = false
  2462. end
  2463.  
  2464. function Move3()
  2465. attack = true
  2466. hum.WalkSpeed = 0
  2467. for i = 0,3,0.1 do
  2468. swait()
  2469. MagicBlock(custocolor,sorb.CFrame,2,2,2,0.05,0.05,0.05,0.05)
  2470. MagicBlock(custocolor,sorb2.CFrame,2,2,2,0.05,0.05,0.05,0.05)
  2471. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(-30 + 7.5 * math.cos(sine / 32))),.1)
  2472. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(30 + 7.5 * math.cos(sine / 32))),.1)
  2473. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  2474. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.1)
  2475. RW.C0=clerp(RW.C0,cf(1.15,0.5,0)*angles(math.rad(190),math.rad(0),math.rad(-20)),.1)
  2476. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(190),math.rad(0),math.rad(20)),.1)
  2477. end
  2478. for i = 0,1,0.1 do
  2479. swait()
  2480. MagicBlock(custocolor,sorb.CFrame,2,2,2,0.05,0.05,0.05,0.05)
  2481. MagicBlock(custocolor,sorb2.CFrame,2,2,2,0.05,0.05,0.05,0.05)
  2482. RH.C0=clerp(RH.C0,cf(1,-0.25 - 0.15 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(-30 + 7.5 * math.cos(sine / 32))),.5)
  2483. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(30 + 7.5 * math.cos(sine / 32))),.5)
  2484. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.5 + 0.15 * math.cos(sine / 25))*angles(math.rad(50),math.rad(0),math.rad(0)),.5)
  2485. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(50 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.5)
  2486. RW.C0=clerp(RW.C0,cf(1.15,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.5)
  2487. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  2488. end
  2489. MagicBlock(custocolor,sorb.CFrame,2,2,2,5,5,5,0.05)
  2490. MagicBlock(custocolor,sorb.CFrame,2,2,2,10,10,10,0.15)
  2491. groundmove = true
  2492. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=838393216",tors,4.5, 0.95)
  2493. for i = 0, 14 do
  2494. local lb = Instance.new("Part")
  2495. lb.Parent = char
  2496. lb.BrickColor = custocolor
  2497. lb.CanCollide = false
  2498. lb.Material = "Sand"
  2499. lb.Shape = "Block"
  2500. lb.Anchored = true
  2501. lb.Transparency = 0
  2502. lb.Size = vt(math.random(6,9),math.random(6,9),math.random(6,9))
  2503. lb.Velocity = Vector3.new(math.random(-45,45),100,math.random(-45,45))
  2504. lb.CFrame = sorb.CFrame
  2505. lb.CFrame = lb.CFrame*CFrame.new(math.random(-3,3),0,math.random(-3,3))
  2506. lb.CFrame = lb.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2507. lb.Anchored = false
  2508. pcall(function()
  2509. local ParticleEmitter12 = Instance.new("ParticleEmitter")
  2510. ParticleEmitter12.Name = "ERASENEDTRAIL"
  2511. ParticleEmitter12.Parent = lb
  2512. ParticleEmitter12.Transparency = NumberSequence.new(0,0,1)
  2513. ParticleEmitter12.Size = NumberSequence.new(1.2999999523163,1.2999999523163)
  2514. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  2515. ParticleEmitter12.Enabled = true
  2516. ParticleEmitter12.Texture = "rbxassetid://3412753"
  2517. ParticleEmitter12.ZOffset = -3
  2518. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  2519. ParticleEmitter12.Rate = 120
  2520. ParticleEmitter12.RotSpeed = NumberRange.new(-100, 100)
  2521. ParticleEmitter12.VelocitySpread = 360
  2522. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  2523. end)
  2524. lb.Touched:connect(function(hit)
  2525. Damagefunc(hit,9,12,1,"Normal",root,.2,1)
  2526. end)
  2527. game:GetService("Debris"):AddItem(lb, 8)
  2528. end
  2529. for i = 0, 24 do
  2530. local lb = Instance.new("Part")
  2531. lb.Parent = char
  2532. lb.BrickColor = custocolor
  2533. lb.Material = "Sand"
  2534. lb.Shape = "Block"
  2535. lb.Anchored = true
  2536. lb.Transparency = 0
  2537. lb.Size = vt(math.random(10,15),math.random(10,15),math.random(10,15))
  2538. lb.CFrame = root.CFrame*CFrame.new(0,-5,0)
  2539. game:GetService("Debris"):AddItem(lb, 8)
  2540. lb.CFrame = lb.CFrame*CFrame.new(math.random(-30,30),math.random(-1,1),math.random(-30,30))
  2541. lb.CFrame = lb.CFrame*CFrame.Angles(math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)),math.random(math.rad(-360),math.rad(360)))
  2542. end
  2543. groundmove = false
  2544. attack = false
  2545. hum.WalkSpeed = 16
  2546. end
  2547.  
  2548. local coold = false
  2549.  
  2550. for i,v in pairs(Character:children()) do
  2551. if v:IsA'Accessory' or v:IsA'ShirtGraphic' or v:IsA'Clothing' then
  2552. v:Destroy()
  2553. end
  2554. end
  2555.  
  2556. local shir = Instance.new("Shirt",Character)
  2557. local pan = Instance.new("Pants",Character)
  2558. shir.ShirtTemplate = "http://www.roblox.com/asset/?id=1073860492"
  2559. pan.PantsTemplate = "http://www.roblox.com/asset/?id=1132308115"
  2560. local BC = Character["Body Colors"]
  2561. BC.HeadColor = BrickColor.new("Really black")
  2562. BC.LeftArmColor = BrickColor.new("Really black")
  2563. BC.LeftLegColor = BrickColor.new("Really black")
  2564. BC.RightArmColor = BrickColor.new("Really black")
  2565. BC.RightLegColor = BrickColor.new("Really black")
  2566. BC.TorsoColor = BrickColor.new("Really black")
  2567. hed.face.Texture = "rbxassetid://543498120"
  2568.  
  2569. mouse.KeyDown:connect(function(k)
  2570. if k == "z" and attack == false then
  2571. Move2()
  2572. end
  2573. if k == "x" and attack == false then
  2574. Move1()
  2575. end
  2576. if k == "c" and attack == false then
  2577. Move3()
  2578. end
  2579. end)
  2580.  
  2581. Humanoid.Animator.Parent = nil
  2582. idleanim=.4
  2583. while true do
  2584. swait()
  2585. sine = sine + change
  2586. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2587. local velderp=RootPart.Velocity.y
  2588. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2589. if equipped==true or equipped==false then
  2590. if attack==false then
  2591. idle=idle+1
  2592. else
  2593. idle=0
  2594. end
  2595. if idle>=500 then
  2596. if attack==false then
  2597. --Sheath()
  2598. end
  2599. end
  2600. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2601. Anim="Jump"
  2602. if attack==false then
  2603. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2604. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2605. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2606. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2607. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2608. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  2609. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2610. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  2611. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  2612. end
  2613. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2614. Anim="Fall"
  2615. if attack==false then
  2616. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  2617. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2618. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2619. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  2620. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2621. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2622. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2623. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  2624. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  2625. end
  2626. elseif torvel<1 and hitfloor~=nil then
  2627. Anim="Idle"
  2628. if groundmove == false then
  2629. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  2630. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  2631. end
  2632. if attack==false then
  2633. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2634. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3)
  2635. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3)
  2636. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3)
  2637. end
  2638. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2639. Anim="Walk"
  2640. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  2641. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  2642. if attack==false then
  2643. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  2644. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2645. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  2646. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  2647. end
  2648. elseif torvel>=22 and hitfloor~=nil then
  2649. Anim="Run"
  2650. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  2651. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  2652. if attack==false then
  2653. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  2654. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2655. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
  2656. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
  2657. end
  2658. end
  2659. end
  2660. end
  2661.  
  2662. wait(1)
  2663. plr = game.Players.LocalPlayer
  2664. char = plr.Character
  2665. mouse = plr:GetMouse()
  2666. whitecolor = Color3.new(1,1,1)
  2667. epicmode = false
  2668. normal = true
  2669. for i,v in pairs(char:GetChildren()) do
  2670. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  2671. v:Destroy()
  2672. end
  2673. end
  2674. local shirt = Instance.new("Shirt",char)
  2675. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1073860492"
  2676. local pants = Instance.new("Pants",char)
  2677. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1132308115"
  2678. local bdycolors = char["Body Colors"]
  2679. bdycolors.HeadColor3 = whitecolor
  2680. bdycolors.LeftArmColor3 = whitecolor
  2681. bdycolors.LeftLegColor3 = whitecolor
  2682. bdycolors.RightArmColor3 = whitecolor
  2683. bdycolors.RightLegColor3 = whitecolor
  2684. bdycolors.TorsoColor3 = whitecolor
  2685. for i,v in pairs(char:GetChildren()) do
  2686. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  2687. v:Destroy()
  2688. end
  2689. end
  2690.  
  2691. -- Face
  2692. char.Head.face.Texture = "http://www.roblox.com/asset/?id=543498120"
  2693.  
  2694. -- Chat
  2695. local talksound = Instance.new("Sound",char.Torso)
  2696. talksound.SoundId = "rbxassetid://928210219"
  2697. talksound.Volume = 4
  2698. local blastsound = Instance.new("Sound",char.Torso)
  2699. blastsound.Name = "blast_sound"
  2700. blastsound.SoundId = "rbxassetid://345052019"
  2701. blastsound.Volume = 4
  2702. function swait(num)
  2703. if num==0 or num==nil then
  2704. game:service'RunService'.Stepped:wait(0)
  2705. else
  2706. for i=0,num do
  2707. game:service'RunService'.Stepped:wait(0)
  2708. end
  2709. end
  2710. end
  2711.  
  2712. function chatfunc(text)
  2713. local chat = coroutine.wrap(function()
  2714. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  2715. char:FindFirstChild("TalkingBillBoard"):Destroy()
  2716. end
  2717. local naeeym2 = Instance.new("BillboardGui",char)
  2718. naeeym2.Size = UDim2.new(0,100,0,40)
  2719. naeeym2.StudsOffset = Vector3.new(0,3,0)
  2720. naeeym2.Adornee = char.Head
  2721. naeeym2.Name = "TalkingBillBoard"
  2722. local tecks2 = Instance.new("TextLabel",naeeym2)
  2723. tecks2.BackgroundTransparency = 1
  2724. tecks2.BorderSizePixel = 0
  2725. tecks2.Text = ""
  2726. tecks2.Font = "Fantasy"
  2727. tecks2.TextSize = 30
  2728. tecks2.TextStrokeTransparency = 0
  2729. tecks2.TextColor3 = Color3.new(.6,0,0)
  2730. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2731. tecks2.Size = UDim2.new(1,0,0.5,0)
  2732. local tecks3 = Instance.new("TextLabel",naeeym2)
  2733. tecks3.BackgroundTransparency = 1
  2734. tecks3.BorderSizePixel = 0
  2735. tecks3.Text = ""
  2736. tecks3.Font = "Fantasy"
  2737. tecks3.TextSize = 30
  2738. tecks3.TextStrokeTransparency = 0
  2739. tecks3.TextColor3 = Color3.new(0,0,0)
  2740. tecks3.TextStrokeColor3 = Color3.new(1,1,1)
  2741. tecks3.Size = UDim2.new(1,0,0.5,0)
  2742. for i = 1,string.len(text),1 do
  2743. tecks2.Text = string.sub(text,1,i)
  2744. tecks3.Text = string.sub(text,1,i)
  2745. talksound:Play()
  2746. wait(0.01)
  2747. end
  2748. wait(2)
  2749. for i = 1, 50 do
  2750. swait()
  2751. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2752. tecks2.Rotation = tecks2.Rotation - .8
  2753. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2754. tecks2.TextTransparency = tecks2.TextTransparency + .04
  2755. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2756. tecks3.Rotation = tecks2.Rotation + .8
  2757. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2758. tecks3.TextTransparency = tecks2.TextTransparency + .04
  2759. end
  2760. naeeym2:Destroy()
  2761. end)
  2762. chat()
  2763. end
  2764. function onChatted(msg)
  2765. chatfunc(msg)
  2766. end
  2767. plr.Chatted:connect(onChatted)
  2768. wait(2)
  2769. chatfunc("Made by 1x1x1x1IAMbck")
  2770. wait(2)
  2771. chatfunc("What do we have here...")
  2772. wait(2)
  2773. chatfunc("Another AU...")
  2774. wait(2)
  2775. chatfunc("This wolrd code is really trashy...")
  2776. wait(2)
  2777. chatfunc("I guess, I´m just gonna...")
  2778. wait(2)
  2779. chatfunc("END THIS WORLD")
  2780. wait(3)
  2781. char.Humanoid.Name = "Sans"
  2782. local music = Instance.new("Sound",char.Torso)
  2783. music.SoundId = "rbxassetid://377241339"
  2784. music.Volume = 4
  2785. music.Looped = true
  2786. music:Play()
  2787. LeyeColor = BrickColor.new("Really red")
  2788. local eyemodel = Instance.new("Model",char)
  2789. eyemodel.Name = "Eyes"
  2790. local reye = Instance.new("Part",eyemodel)
  2791. reye.Name = "BurningEff"
  2792. reye.Color = Color3.new(1,1,1)
  2793. reye.Material = "Neon"
  2794. reye.Transparency = 1
  2795. local reyemesh = Instance.new("SpecialMesh",reye)
  2796. reyemesh.MeshType = "Sphere"
  2797. reye.Size = Vector3.new(0.12, 0.37, 0.27)
  2798. local reyeweld = Instance.new("Weld",reye)
  2799. reyeweld.Part0 = reye
  2800. reyeweld.Part1 = char.Head
  2801. reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2802. local leye = Instance.new("Part",eyemodel)
  2803. leye.Name = "LeftEye"
  2804. leye.BrickColor = LeyeColor
  2805. leye.Material = "Neon"
  2806. leye.Size = Vector3.new(0.2,0.2,0.2)
  2807. local leyemesh = Instance.new("SpecialMesh",leye)
  2808. leyemesh.MeshType = "Sphere"
  2809. leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
  2810. local leyeweld = Instance.new("Weld",leye)
  2811. leyeweld.Part0 = leye
  2812. leyeweld.Part1 = char.Head
  2813. leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2814. local leyeclone = leye:Clone()
  2815. leyeclone.Transparency = 1
  2816. leyeclone.Name = "RightEye"
  2817. leyeclone.Parent = eyemodel
  2818. for i,v in pairs(leyeclone:GetChildren()) do
  2819. if v.ClassName == "Weld" then
  2820. v:Destroy()
  2821. end
  2822. end
  2823. local leyeweld2 = Instance.new("Weld",leyeclone)
  2824. leyeweld2.Part0 = leyeclone
  2825. leyeweld2.Part1 = char.Head
  2826. leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2827. local fire = Instance.new("Fire",reye)
  2828. fire.Heat = 25000
  2829. fire.Color = leye.BrickColor.Color
  2830. fire.Size = 2
  2831. -- welds xd
  2832. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  2833. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  2834. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  2835. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  2836. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  2837. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  2838. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  2839. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  2840. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  2841. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  2842. for i = 0,1 ,0.03 do
  2843. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.925931931, -0.0977840424, 0.974765539, 0.886040092, -0.463608712, -1.69641942e-06, 0.405292064, 0.774584651, 0.485548228, -0.225103036, -0.430215806, 0.87421),i)
  2844. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
  2845. game:GetService("RunService").RenderStepped:wait()
  2846. end
  2847. local slapsound = Instance.new("Sound",char.Torso)
  2848. slapsound.SoundId = "rbxassetid://511340819"
  2849. slapsound.Volume = 4
  2850. -- Funcs
  2851. function Blast(AAA)
  2852. if AAA == "f" then
  2853. local chatmath = math.random(1,3)
  2854. if chatmath == 1 then
  2855. chatfunc("Gaster Blaster!")
  2856. end
  2857. if chatmath == 2 then
  2858. chatfunc("This is what you get for killing everybody.")
  2859. end
  2860. if chatmath == 3 then
  2861. chatfunc("Look, I gave up trying to go back a long time ago.")
  2862. end
  2863. local gasterblaster = Instance.new("Part",char.Torso)
  2864. gasterblaster.Size = Vector3.new(7, 16, 4)
  2865. gasterblaster.CanCollide = true
  2866. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  2867. gasterblastermesh.MeshId = "rbxassetid://431908407"
  2868. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  2869. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  2870. gasterblastertexture.Face = "Back"
  2871. gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
  2872. local weeld = Instance.new("Weld",gasterblaster)
  2873. weeld.Part0 = gasterblaster
  2874. weeld.Part1 = char.Torso
  2875. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  2876. blastsound:Play()
  2877. char.Head.Anchored = true
  2878. wait(1)
  2879. local blast = Instance.new("Part",gasterblaster)
  2880. blast.Size = Vector3.new(18.07, 16.36, 73.54)
  2881. blast.Transparency = 0.7
  2882. blast.Material = "Neon"
  2883. blast.Color = Color3.new(0,0,0)
  2884. blast.Color = Color3.new(255,255,255)
  2885. blast.CanCollide = true
  2886. local blastweld = Instance.new("Weld",blast)
  2887. blastweld.Part0 = blast
  2888. blastweld.Part1 = gasterblaster
  2889. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2890. blast.Touched:connect(function(part)
  2891. part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
  2892. end)
  2893. wait(2)
  2894. char.Head.Anchored = false
  2895. blast:Destroy()
  2896. gasterblaster:Destroy()
  2897. end
  2898. end
  2899. mouse.KeyDown:connect(Blast)
  2900.  
  2901.  
  2902. function Death()
  2903. music:Stop()
  2904. local deadsound = Instance.new("Sound",char.Torso)
  2905. deadsound.SoundId = "rbxassetid://427025525"
  2906. deadsound.Volume = 4
  2907. deadsound:Play()
  2908. for i,v in pairs(char:GetChildren()) do
  2909. if v.ClassName == "Part" then
  2910. v.Transparency = 1
  2911. end
  2912. leye.Transparency = 1
  2913. fire:Destroy()
  2914. char.Head.face.Transparency = 1
  2915. end
  2916. end
  2917. char.Sans.Died:connect(Death)
  2918.  
  2919.  
  2920. function Transform(key)
  2921. if key == "t" then
  2922. music.SoundId = "rbxassetid://562226927"
  2923. music:Stop()
  2924. music:Play()
  2925. chatfunc("Hehe, soo u try to delete me?")
  2926. leyeclone.Transparency = 0
  2927. local fire2 = Instance.new("Fire",leyeclone)
  2928. fire2.Heat = 25000
  2929. fire2.Color = leye.BrickColor.Color
  2930. fire2.Size = 2
  2931. end
  2932. end
  2933. mouse.KeyDown:connect(Transform)
  2934.  
  2935.  
  2936. function SLAP(key)
  2937. if key == "y" then
  2938. if normal and not epicmode then
  2939. for i = 0,1 , 0.05 do
  2940. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405028582, -0.494292736, 0.752350092, -0.658763528, -1.01652529e-06, 0.014031955, 0.0160269327, -0.999769807, 0.658614039, 0.752179325, 0.0213016756),i)
  2941. game:GetService("RunService").RenderStepped:wait()
  2942. end
  2943. local hurtbox = Instance.new("Part",char["Right Arm"])
  2944. hurtbox.Name = "Hurtbox"
  2945. hurtbox.Size = Vector3.new(1, 0.23, 1)
  2946. hurtbox.Transparency = 1
  2947. hurtbox.CanCollide = false
  2948. local hurtboxweld = Instance.new("Weld",hurtbox)
  2949. hurtboxweld.Part0 = hurtbox
  2950. hurtboxweld.Part1 = char["Right Arm"]
  2951. hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)
  2952. wait(0.5)
  2953. for i = 0,1 , 0.05 do
  2954. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405025482, -0.494292736, 0.999977887, 0.0066490462, 2.196479e-05, -0.000119999582, 0.0213499293, -0.999768794, -0.00664799893, 0.999750018, 0.0213503242),i)
  2955. game:GetService("RunService").RenderStepped:wait()
  2956. end
  2957. function onTouched(brick)
  2958. local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
  2959. if humanoid then
  2960. humanoid:Destroy()
  2961. slapsound:Play()
  2962. end
  2963. end
  2964. hurtbox.Touched:connect(onTouched)
  2965. wait(1)
  2966. hurtbox:Destroy()
  2967. for i = 0,1 , 0.03 do
  2968. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
  2969. game:GetService("RunService").RenderStepped:wait()
  2970. end
  2971. end
  2972. end
  2973. end
  2974. mouse.KeyDown:connect(SLAP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement