Advertisement
DarkScriptZEditors

Ummmmmmm

Dec 2nd, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.14 KB | None | 0 0
  1. local Player = game:GetService("Players").SincereProdeadZ
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61.  
  62.  
  63. wait(0.5)
  64.  
  65. warn([[Sythezizer Switcher Loaded.
  66.  
  67. Created by NoobyGames12
  68. Edited by GodzPlaysRB/SpectrumEeveez
  69. ]])
  70.  
  71.  
  72. -------------
  73. warn([[--------------------------------------------
  74. BUILD 1.0.0
  75. --------------------------------------------]])
  76. ---- Sources and functions might be taken from others
  77. plr = game:GetService("Players").SincereProdeadZ
  78. Player = plr
  79. char = plr.Character
  80. hum = char.Humanoid
  81. local cam = game.Workspace.CurrentCamera
  82. Camera = cam
  83. local CamInterrupt = false
  84. local TwoD = false
  85. local TargetInfo = {nil, nil}
  86. cam.CameraType = "Custom"
  87. t = char.Torso
  88. h = char.Head
  89. ra = char["Right Arm"]
  90. la = char["Left Arm"]
  91. rl = char["Right Leg"]
  92. ll = char["Left Leg"]
  93. tors = char.Torso
  94. lleg = char["Left Leg"]
  95. root = char.HumanoidRootPart
  96. hed = char.Head
  97. rleg = char["Right Leg"]
  98. rarm = char["Right Arm"]
  99. larm = char["Left Arm"]
  100. radian = math.rad
  101. random = math.random
  102. Vec3 = Vector3.new
  103. Inst = Instance.new
  104. cFrame = CFrame.new
  105. Euler = CFrame.fromEulerAnglesXYZ
  106. vt = Vector3.new
  107. bc = BrickColor.new
  108. br = BrickColor.random
  109. it = Instance.new
  110. cf = CFrame.new
  111. -- mouse = plr:GetMouse()
  112.  
  113.  
  114. local Booleans = {
  115. CamFollow = true,
  116. GyroUse = true
  117. }
  118.  
  119. function lerp(object, newCFrame, alpha)
  120. return object:lerp(newCFrame, alpha)
  121. end
  122.  
  123. local Directer = Inst("BodyGyro", root)
  124. Directer.MaxTorque = Vec3(0, 0, 0)
  125. Directer.P = 600000
  126. local CPart = Inst("Part")
  127. CPart.Anchored = true
  128. CPart.CanCollide = false
  129. CPart.Locked = true
  130. CPart.Transparency = 1
  131. local secondary = false
  132.  
  133. local kan = Instance.new("Sound",char)
  134. kan.Volume = 1.25
  135. kan.TimePosition = 0
  136. kan.PlaybackSpeed = 1.01
  137. kan.Pitch = 1.01
  138. kan.SoundId = "rbxassetid://923445685"
  139. kan.Name = "synthezitation"
  140. kan.Looped = true
  141. kan:Play()
  142. local mutedtog = false
  143. local currentThemePlaying = kan.SoundId
  144. local currentPitch = kan.Pitch
  145. local currentVol = kan.Volume
  146. function newTheme(ID,timepos,pitch,vol)
  147. local kanz = kan
  148. --kanz:Stop()
  149. kanz.Volume = vol
  150. --kanz.TimePosition = timepos
  151. kanz.PlaybackSpeed = pitch
  152. kanz.Pitch = pitch
  153. kanz.SoundId = ID
  154. kanz.Name = "wrecked"
  155. kanz.Looped = true
  156. currentThemePlaying = kanz.SoundId
  157. currentVol = kanz.Volume
  158. currentPitch = kanz.Pitch
  159. --kanz:Play()
  160. --coroutine.resume(coroutine.create(function()
  161. --wait(0.05)
  162. --end))
  163. end
  164.  
  165. local ModeOfGlitch = 1
  166. local MAINRUINCOLOR = BrickColor.new("Alder")
  167.  
  168. function CameraEnshaking(Length,Intensity)
  169. coroutine.resume(coroutine.create(function()
  170. local intensity = 1*Intensity
  171. local rotM = 0.01*Intensity
  172. for i = 0, Length, 0.1 do
  173. swait()
  174. intensity = intensity - 0.05*Intensity/Length
  175. rotM = rotM - 0.0005*Intensity/Length
  176. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  177. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  178. end
  179. Humanoid.CameraOffset = Vec3(0, 0, 0)
  180. end))
  181. end
  182. CamShake=function(Part,Distan,Power,Times)
  183. local de=Part.Position
  184. for i,v in pairs(workspace:children()) do
  185. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  186. for _,c in pairs(v:children()) do
  187. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  188. local Noob=v.Humanoid
  189. if Noob~=nil then
  190. coroutine.resume(coroutine.create(function()
  191. FV = Instance.new("BoolValue", Noob)
  192. FV.Name = "CameraShake"
  193. for ShakeNum=1,Times do
  194. swait()
  195. local ef=Power
  196. if ef>=1 then
  197. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  198. else
  199. ef=Power*10
  200. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  201. end
  202. end
  203. Humanoid.CameraOffset = Vector3.new(0,0,0)
  204. FV:Destroy()
  205. end))
  206. CameraShake(Times, Power, Noob)
  207. end
  208. end
  209. end
  210. end
  211. end
  212. end
  213.  
  214.  
  215. function chatfunc(text,color,typet,font,timeex)
  216. local chat = coroutine.wrap(function()
  217. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  218. Character:FindFirstChild("TalkingBillBoard"):destroy()
  219. end
  220. local naeeym2 = Instance.new("BillboardGui",Character)
  221. naeeym2.Size = UDim2.new(0,100,0,40)
  222. naeeym2.StudsOffset = Vector3.new(0,3,0)
  223. naeeym2.Adornee = Character.Head
  224. naeeym2.Name = "TalkingBillBoard"
  225. local tecks2 = Instance.new("TextLabel",naeeym2)
  226. tecks2.BackgroundTransparency = 1
  227. tecks2.BorderSizePixel = 0
  228. tecks2.Text = ""
  229. tecks2.Font = font
  230. tecks2.TextSize = 30
  231. tecks2.TextStrokeTransparency = 0
  232. tecks2.TextColor3 = color
  233. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  234. tecks2.Size = UDim2.new(1,0,0.5,0)
  235. local tecks3 = Instance.new("TextLabel",naeeym2)
  236. tecks3.BackgroundTransparency = 1
  237. tecks3.BorderSizePixel = 0
  238. tecks3.Text = ""
  239. tecks3.Font = font
  240. tecks3.TextSize = 30
  241. tecks3.TextStrokeTransparency = 0
  242. if typet == "Inverted" then
  243. tecks3.TextColor3 = Color3.new(0,0,0)
  244. tecks3.TextStrokeColor3 = color
  245. elseif typet == "Normal" then
  246. tecks3.TextColor3 = color
  247. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  248. end
  249. tecks3.Size = UDim2.new(1,0,0.5,0)
  250. for i = 0, 74*timeex do
  251. swait()
  252. tecks2.Text = text
  253. tecks3.Text = text
  254. end
  255. local randomrot = math.random(1,2)
  256. if randomrot == 1 then
  257. for i = 1, 50 do
  258. swait()
  259. tecks2.Text = text
  260. tecks3.Text = text
  261. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  262. tecks2.TextTransparency = tecks2.TextTransparency + .04
  263. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  264. tecks3.TextTransparency = tecks2.TextTransparency + .04
  265. end
  266. elseif randomrot == 2 then
  267. for i = 1, 50 do
  268. swait()
  269. tecks2.Text = text
  270. tecks3.Text = text
  271. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  272. tecks2.TextTransparency = tecks2.TextTransparency + .04
  273. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  274. tecks3.TextTransparency = tecks2.TextTransparency + .04
  275. end
  276. end
  277. naeeym2:Destroy()
  278. end)
  279. chat()
  280. end
  281.  
  282.  
  283. local Create = LoadLibrary("RbxUtility").Create
  284.  
  285. CFuncs = {
  286. ["Part"] = {
  287. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  288. local Part = Create("Part"){
  289. Parent = Parent,
  290. Reflectance = Reflectance,
  291. Transparency = Transparency,
  292. CanCollide = false,
  293. Locked = true,
  294. BrickColor = BrickColor.new(tostring(BColor)),
  295. Name = Name,
  296. Size = Size,
  297. Material = Material,
  298. }
  299. RemoveOutlines(Part)
  300. return Part
  301. end;
  302. };
  303.  
  304. ["Mesh"] = {
  305. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  306. local Msh = Create(Mesh){
  307. Parent = Part,
  308. Offset = OffSet,
  309. Scale = Scale,
  310. }
  311. if Mesh == "SpecialMesh" then
  312. Msh.MeshType = MeshType
  313. Msh.MeshId = MeshId
  314. end
  315. return Msh
  316. end;
  317. };
  318.  
  319. ["Mesh"] = {
  320. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  321. local Msh = Create(Mesh){
  322. Parent = Part,
  323. Offset = OffSet,
  324. Scale = Scale,
  325. }
  326. if Mesh == "SpecialMesh" then
  327. Msh.MeshType = MeshType
  328. Msh.MeshId = MeshId
  329. end
  330. return Msh
  331. end;
  332. };
  333.  
  334. ["Weld"] = {
  335. Create = function(Parent, Part0, Part1, C0, C1)
  336. local Weld = Create("Weld"){
  337. Parent = Parent,
  338. Part0 = Part0,
  339. Part1 = Part1,
  340. C0 = C0,
  341. C1 = C1,
  342. }
  343. return Weld
  344. end;
  345. };
  346.  
  347. ["Sound"] = {
  348. Create = function(id, par, vol, pit)
  349. coroutine.resume(coroutine.create(function()
  350. local S = Create("Sound"){
  351. Volume = vol,
  352. Name = "EffectSoundo",
  353. Pitch = pit or 1,
  354. SoundId = id,
  355. Parent = par or workspace,
  356. }
  357. wait()
  358. S:play()
  359. game:GetService("Debris"):AddItem(S, 10)
  360. end))
  361. end;
  362. };
  363.  
  364. ["TimeSound"] = {
  365. Create = function(id, par, vol, pit, timepos,timedel)
  366. coroutine.resume(coroutine.create(function()
  367. local S = Create("Sound"){
  368. Volume = vol,
  369. Name = "EffectSoundo",
  370. Pitch = pit or 1,
  371. SoundId = id,
  372. TimePosition = timepos,
  373. Parent = par or workspace,
  374. }
  375. wait()
  376. S:play()
  377. game:GetService("Debris"):AddItem(S, timedel)
  378. end))
  379. end;
  380. };
  381. ["EchoSound"] = {
  382. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  383. coroutine.resume(coroutine.create(function()
  384. local Sas = Create("Sound"){
  385. Volume = vol,
  386. Name = "EffectSoundo",
  387. Pitch = pit or 1,
  388. SoundId = id,
  389. TimePosition = timepos,
  390. Parent = par or workspace,
  391. }
  392. local E = Create("EchoSoundEffect"){
  393. Delay = echodelay,
  394. Name = "Echo",
  395. Feedback = fedb,
  396. DryLevel = dryl,
  397. Parent = Sas,
  398. }
  399. wait()
  400. Sas:play()
  401. game:GetService("Debris"):AddItem(Sas, delays)
  402. end))
  403. end;
  404. };
  405.  
  406. ["LongSound"] = {
  407. Create = function(id, par, vol, pit)
  408. coroutine.resume(coroutine.create(function()
  409. local S = Create("Sound"){
  410. Volume = vol,
  411. Pitch = pit or 1,
  412. SoundId = id,
  413. Parent = par or workspace,
  414. }
  415. wait()
  416. S:play()
  417. game:GetService("Debris"):AddItem(S, 60)
  418. end))
  419. end;
  420. };
  421.  
  422. ["ParticleEmitter"] = {
  423. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  424. local fp = Create("ParticleEmitter"){
  425. Parent = Parent,
  426. Color = ColorSequence.new(Color1, Color2),
  427. LightEmission = LightEmission,
  428. Size = Size,
  429. Texture = Texture,
  430. Transparency = Transparency,
  431. ZOffset = ZOffset,
  432. Acceleration = Accel,
  433. Drag = Drag,
  434. LockedToPart = LockedToPart,
  435. VelocityInheritance = VelocityInheritance,
  436. EmissionDirection = EmissionDirection,
  437. Enabled = Enabled,
  438. Lifetime = LifeTime,
  439. Rate = Rate,
  440. Rotation = Rotation,
  441. RotSpeed = RotSpeed,
  442. Speed = Speed,
  443. VelocitySpread = VelocitySpread,
  444. }
  445. return fp
  446. end;
  447. };
  448.  
  449. CreateTemplate = {
  450.  
  451. };
  452. }
  453.  
  454.  
  455.  
  456. New = function(Object, Parent, Name, Data)
  457. local Object = Instance.new(Object)
  458. for Index, Value in pairs(Data or {}) do
  459. Object[Index] = Value
  460. end
  461. Object.Parent = Parent
  462. Object.Name = Name
  463. return Object
  464. end
  465. local maincolor = BrickColor.new("Really black")
  466. local m = Instance.new("Model",char)
  467. local colorizermod = Instance.new("Model",char)
  468.  
  469.  
  470. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  471. local gui = it(GuiType)
  472. gui.Parent = parent
  473. gui.Text = text
  474. gui.BackgroundTransparency = backtrans
  475. gui.BackgroundColor3 = backcol
  476. gui.SizeConstraint = "RelativeXY"
  477. gui.TextXAlignment = "Center"
  478. gui.TextYAlignment = "Center"
  479. gui.Position = pos
  480. gui.Size = size
  481. gui.Font = "SourceSans"
  482. gui.FontSize = "Size14"
  483. gui.TextWrapped = false
  484. gui.TextStrokeTransparency = 0
  485. gui.TextColor = BrickColor.new("White")
  486. return gui
  487. end
  488. --------------------------- GUI STUFF
  489. local basgui = it("GuiMain")
  490. basgui.Parent = plr.PlayerGui
  491. basgui.Name = "VISgui"
  492. local fullscreenz = it("Frame")
  493. fullscreenz.Parent = basgui
  494. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  495. fullscreenz.BackgroundTransparency = 1
  496. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  497. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  498. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  499. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  500. imgl2.BackgroundTransparency = 1
  501. imgl2.BorderSizePixel = 0
  502. imgl2.ImageTransparency = 0.5
  503. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  504. imgl2.Position = UDim2.new(0.75,-100,0.55,-100)
  505. imgl2.Size = UDim2.new(0,800,0,800)
  506. imgl2.Image = "rbxassetid://2076458450"
  507. local techc = imgl2:Clone()
  508. techc.Parent = fullscreenz
  509. techc.ImageTransparency = 0
  510. techc.Size = UDim2.new(0,900,0,900)
  511. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  512. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  513. techc.Image = "rbxassetid://2092248396"
  514. local circl = imgl2:Clone()
  515. circl.Parent = fullscreenz
  516. circl.ImageTransparency = 0
  517. circl.Size = UDim2.new(0,550,0,550)
  518. circl.Position = UDim2.new(0.75,25,0.55,25)
  519. circl.ImageColor3 = BrickColor.new("Alder").Color
  520. circl.Image = "rbxassetid://2109052855"
  521. local circl2 = imgl2:Clone()
  522. circl2.Parent = fullscreenz
  523. circl2.ImageTransparency = 0
  524. circl2.Size = UDim2.new(0,700,0,700)
  525. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  526. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  527. circl2.Image = "rbxassetid://2109045978"
  528. local imgl2b = imgl2:Clone()
  529. imgl2b.Parent = fullscreenz
  530. imgl2b.ImageTransparency = 0
  531. imgl2b.Size = UDim2.new(0,600,0,600)
  532. imgl2b.Position = UDim2.new(0.75,0,0.55,0)
  533. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  534. local ned = Instance.new("TextLabel",fullscreenz)
  535. ned.ZIndex = 2
  536. ned.Font = "SciFi"
  537. ned.BackgroundTransparency = 1
  538. ned.BorderSizePixel = 0.65
  539. ned.Size = UDim2.new(0.3,0,0.2,0)
  540. ned.Position = UDim2.new(0.7,0,0.8,0)
  541. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  542. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  543. ned.TextScaled = true
  544. ned.TextStrokeTransparency = 0
  545. ned.Text = "SYNTHEZIZER"
  546. ned.TextSize = 24
  547. ned.Rotation = 1
  548. ned.TextXAlignment = "Right"
  549. ned.TextYAlignment = "Bottom"
  550.  
  551. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  552. local p = Instance.new("Part")
  553. p.TopSurface = 0
  554. p.BottomSurface = 0
  555. p.Parent = parent
  556. p.Size = Vector3.new(0.1,0.1,0.1)
  557. p.Transparency = transparency
  558. p.Reflectance = reflectance
  559. p.CanCollide = false
  560. p.Locked = true
  561. p.BrickColor = brickcolor
  562. p.Material = material
  563. return p
  564. end
  565.  
  566. function CreateMesh(parent,meshtype,x1,y1,z1)
  567. local mesh = Instance.new("SpecialMesh",parent)
  568. mesh.MeshType = meshtype
  569. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  570. return mesh
  571. end
  572.  
  573. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  574. local mesh = Instance.new("SpecialMesh",parent)
  575. mesh.MeshType = "FileMesh"
  576. mesh.MeshId = meshid
  577. mesh.Scale = Vector3.new(x1,y1,z1)
  578. return mesh
  579. end
  580.  
  581.  
  582. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  583. local mesh = Instance.new("SpecialMesh",parent)
  584. mesh.MeshType = "FileMesh"
  585. mesh.MeshId = meshid
  586. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  587. mesh.Scale = Vector3.new(x1,y1,z1)
  588. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  589. return mesh
  590. end
  591.  
  592. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  593. local weld = Instance.new("Weld")
  594. weld.Parent = parent
  595. weld.Part0 = part0
  596. weld.Part1 = part1
  597. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  598. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  599. return weld
  600. end
  601.  
  602.  
  603. ----------------------------
  604. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  605. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  606. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  607. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  608.  
  609. local handlex = CreateParta(m,1,1,"Neon",maincolor)
  610. CreateMesh(handlex,"Brick",0,0,0)
  611. local handlexweld = CreateWeld(handlex,tors,handlex,0,-2,-2.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  612.  
  613. local rotzo = CreateParta(m,1,1,"Neon",maincolor)
  614. CreateMesh(rotzo,"Brick",0,0,0)
  615. local rotingweld = CreateWeld(rotzo,handlex,rotzo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  616. local rotzo2 = CreateParta(m,1,1,"Neon",maincolor)
  617. CreateMesh(rotzo2,"Brick",0,0,0)
  618. local rotingweld2 = CreateWeld(rotzo2,handlex,rotzo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  619.  
  620. local roterval = 0
  621. for i = 0, 7 do
  622. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  623. CreateMesh(rn,"Wedge",0.15,1,0.15)
  624. CreateWeld(rn,rotzo,rn,0,-4.25,0.1,math.rad(0),math.rad(90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  625. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  626. CreateMesh(rn,"Wedge",0.15,1,0.15)
  627. CreateWeld(rn,rotzo,rn,0,-4.25,0.1,math.rad(0),math.rad(-90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  628. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  629. CreateMesh(rn,"Wedge",0.15,1,0.15)
  630. CreateWeld(rn,rotzo,rn,0,3.25,0.1,math.rad(0),math.rad(90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  631. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  632. CreateMesh(rn,"Wedge",0.15,1,0.15)
  633. CreateWeld(rn,rotzo,rn,0,3.25,0.1,math.rad(0),math.rad(-90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  634.  
  635. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  636. CreateMesh(rn,"Wedge",0.15,1,0.25)
  637. CreateWeld(rn,rotzo2,rn,0,1.5,0.2,math.rad(0),math.rad(90),math.rad(roterval + 22.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  638. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  639. CreateMesh(rn,"Wedge",0.15,1,0.25)
  640. CreateWeld(rn,rotzo2,rn,0,1.5,0.2,math.rad(0),math.rad(-90),math.rad(roterval + 22.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  641. roterval = roterval + 45
  642. end
  643. local refec = Instance.new("ParticleEmitter",handlex)
  644. refec.Texture = "rbxassetid://284205403"
  645. refec.LightEmission = 0.95
  646. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  647. refec.Rate = 50
  648. refec.Lifetime = NumberRange.new(0.5)
  649. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  650. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  651. refec.Speed = NumberRange.new(0,2)
  652. refec.Drag = 5
  653. refec.LockedToPart = true
  654. refec.Rotation = NumberRange.new(-500,500)
  655. refec.VelocitySpread = 9000
  656. refec.RotSpeed = NumberRange.new(-500,500)
  657. local refec2 = refec:Clone()
  658. refec2.LightEmission = 0.75
  659. refec2.Texture = "rbxassetid://2109052855"--2108979939 254287058 2109052855
  660. refec2.Parent = handlex
  661. refec2.Rate = 15
  662. refec2.Lifetime = NumberRange.new(0.75)
  663. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.15,0),NumberSequenceKeypoint.new(0.7,2.25,0),NumberSequenceKeypoint.new(0.8,2.15,0),NumberSequenceKeypoint.new(1,1.75,0)})
  664. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  665. refec2.Speed = NumberRange.new(0)
  666. local refec3 = refec:Clone()
  667. refec3.LightEmission = 0.75
  668. refec3.Texture = "rbxassetid://2092248396"
  669. refec3.Parent = handlex
  670. refec3.Rate = 25
  671. refec3.Lifetime = NumberRange.new(1)
  672. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,4,0),NumberSequenceKeypoint.new(1,15,0)})
  673. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  674. refec3.Speed = NumberRange.new(0)
  675. refec3.RotSpeed = NumberRange.new(-50,50)
  676. local valuaring = 10
  677. for i = 0, 35 do
  678. valuaring = valuaring + 10
  679. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  680. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  681. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  682. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  683. CreateMesh(rn,"Brick",0.725,0.045,0.045)
  684. CreateWeld(rn,handlex,rn,0,3.8,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  685. rn = CreateParta(m,0,0,"Granite",maincolor)
  686. CreateMesh(rn,"Brick",0.35,0.05,0.2)
  687. CreateWeld(rn,handlex,rn,0,1.975,0,math.rad(0),math.rad(0),math.rad(valuaring + 5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  688. rn = CreateParta(m,0,0,"Granite",maincolor)
  689. CreateMesh(rn,"Torso",0.385,0.15,0.2)
  690. CreateWeld(rn,handlex,rn,0,2.1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  691. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  692. CreateMesh(rn,"Wedge",0.5,0.5,0.15)
  693. CreateWeld(rn,handlex,rn,0,-2.25,0,math.rad(0),math.rad(0),math.rad(valuaring + 5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  694. end
  695. ------
  696.  
  697.  
  698. function RemoveOutlines(part)
  699. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  700. end
  701. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  702. local Part = Create("Part")({
  703. Parent = Parent,
  704. Reflectance = Reflectance,
  705. Transparency = Transparency,
  706. CanCollide = false,
  707. Locked = true,
  708. BrickColor = BrickColor.new(tostring(BColor)),
  709. Name = Name,
  710. Size = Size,
  711. Material = Material
  712. })
  713. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  714. RemoveOutlines(Part)
  715. return Part
  716. end
  717. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  718. local Msh = Create(Mesh)({
  719. Parent = Part,
  720. Offset = OffSet,
  721. Scale = Scale
  722. })
  723. if Mesh == "SpecialMesh" then
  724. Msh.MeshType = MeshType
  725. Msh.MeshId = MeshId
  726. end
  727. return Msh
  728. end
  729. function CreateWeld(Parent, Part0, Part1, C0, C1)
  730. local Weld = Create("Weld")({
  731. Parent = Parent,
  732. Part0 = Part0,
  733. Part1 = Part1,
  734. C0 = C0,
  735. C1 = C1
  736. })
  737. return Weld
  738. end
  739.  
  740. Character=Player.Character
  741. PlayerGui=Player.PlayerGui
  742. Backpack=Player.Backpack
  743. Torso=Character.Torso
  744. Head=Character.Head
  745. Humanoid=Character.Humanoid
  746. m=Instance.new('Model',Character)
  747. LeftArm=Character["Left Arm"]
  748. LeftLeg=Character["Left Leg"]
  749. RightArm=Character["Right Arm"]
  750. RightLeg=Character["Right Leg"]
  751. LW=Torso["Left Shoulder"]
  752. LH=Torso["Left Hip"]
  753. RW=Torso["Right Shoulder"]
  754. RH=Torso["Right Hip"]
  755. Face = Head.face
  756. Neck=Torso.Neck
  757. it=Instance.new
  758. attacktype=1
  759. vt=Vector3.new
  760. cf=CFrame.new
  761. euler=CFrame.fromEulerAnglesXYZ
  762. angles=CFrame.Angles
  763. cloaked=false
  764. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  765. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  766. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  767. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  768. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  769. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  770. RootPart=Character.HumanoidRootPart
  771. RootJoint=RootPart.RootJoint
  772. RootCF=euler(-1.57,0,3.14)
  773. attack = false
  774. attackdebounce = false
  775. deb=false
  776. equipped=true
  777. hand=false
  778. combo=0
  779. mana=0
  780. trispeed=.2
  781. attackmode='none'
  782. local idle=0
  783. local Anim="Idle"
  784. local Effects={}
  785. local gun=false
  786. local shoot=false
  787. local sine = 0
  788. local change = 1
  789.  
  790. --save shoulders
  791. RSH, LSH=nil, nil
  792. --welds
  793. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  794. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  795. LH=Torso["Left Hip"]
  796. RH=Torso["Right Hip"]
  797. TorsoColor=Torso.BrickColor
  798. function NoOutline(Part)
  799. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  800. end
  801. ch=Character
  802. RSH=ch.Torso["Right Shoulder"]
  803. LSH=ch.Torso["Left Shoulder"]
  804. --
  805. RSH.Parent=nil
  806. LSH.Parent=nil
  807. --
  808. RW.Name="Right Shoulder"
  809. RW.Part0=char.Torso
  810. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  811. RW.C1=cf(0, 0.5, 0)
  812. RW.Part1=char["Right Arm"]
  813. RW.Parent=char.Torso
  814. --
  815. LW.Name="Left Shoulder"
  816. LW.Part0=char.Torso
  817. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  818. LW.C1=cf(0, 0.5, 0)
  819. LW.Part1=char["Left Arm"]
  820. LW.Parent=char.Torso
  821. local donum=0
  822.  
  823.  
  824. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  825. local fp=it("Part")
  826. fp.formFactor=formfactor
  827. fp.Parent=parent
  828. fp.Reflectance=reflectance
  829. fp.Transparency=transparency
  830. fp.CanCollide=false
  831. fp.Locked=true
  832. fp.BrickColor=brickcolor
  833. fp.Name=name
  834. fp.Size=size
  835. fp.Position=Torso.Position
  836. NoOutline(fp)
  837. fp.Material="SmoothPlastic"
  838. fp:BreakJoints()
  839. return fp
  840. end
  841.  
  842. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  843. local mesh=it(Mesh)
  844. mesh.Parent=part
  845. if Mesh=="SpecialMesh" then
  846. mesh.MeshType=meshtype
  847. if meshid~="nil" then
  848. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  849. end
  850. end
  851. mesh.Offset=offset
  852. mesh.Scale=scale
  853. return mesh
  854. end
  855.  
  856. function weld(parent,part0,part1,c0)
  857. local weld=it("Weld")
  858. weld.Parent=parent
  859. weld.Part0=part0
  860. weld.Part1=part1
  861. weld.C0=c0
  862. return weld
  863. end
  864.  
  865. local Color1=Torso.BrickColor
  866.  
  867. local bodvel=Instance.new("BodyVelocity")
  868. local bg=Instance.new("BodyGyro")
  869.  
  870.  
  871. --------- SazEreno's Artificial HB --------------
  872. ArtificialHB = Instance.new("BindableEvent", script)
  873. ArtificialHB.Name = "ArtificialHB"
  874.  
  875. script:WaitForChild("ArtificialHB")
  876. Frame_Speed = 1 / 60
  877. frame = Frame_Speed
  878. tf = 0
  879. allowframeloss = false
  880. tossremainder = false
  881. lastframe = tick()
  882. script.ArtificialHB:Fire()
  883.  
  884. game:GetService("RunService").Heartbeat:connect(function(s, p)
  885. tf = tf + s
  886. if tf >= frame then
  887. if allowframeloss then
  888. script.ArtificialHB:Fire()
  889. lastframe = tick()
  890. else
  891. for i = 1, math.floor(tf / frame) do
  892. script.ArtificialHB:Fire()
  893. end
  894. lastframe = tick()
  895. end
  896. if tossremainder then
  897. tf = 0
  898. else
  899. tf = tf - frame * math.floor(tf / frame)
  900. end
  901. end
  902. end)
  903.  
  904. ------------------
  905. function swait(num)
  906. if num == 0 or num == nil then
  907. ArtificialHB.Event:wait()
  908. else
  909. for i = 1, num do
  910. ArtificialHB.Event:wait()
  911. end
  912. end
  913. end
  914.  
  915. -------- RAINBOW LEAVE IT TO ME
  916. local r = 255
  917. local g = 0
  918. local b = 0
  919. coroutine.resume(coroutine.create(function()
  920. while wait() do
  921. for i = 0, 254/5 do
  922. swait()
  923. g = g + 5
  924. end
  925. for i = 0, 254/5 do
  926. swait()
  927. r = r - 5
  928. end
  929. for i = 0, 254/5 do
  930. swait()
  931. b = b + 5
  932. end
  933. for i = 0, 254/5 do
  934. swait()
  935. g = g - 5
  936. end
  937. for i = 0, 254/5 do
  938. swait()
  939. r = r + 5
  940. end
  941. for i = 0, 254/5 do
  942. swait()
  943. b = b - 5
  944. end
  945. end
  946. end))
  947.  
  948.  
  949. so = function(id,par,vol,pit)
  950. coroutine.resume(coroutine.create(function()
  951. local sou = Instance.new("Sound",par or workspace)
  952. sou.Volume=vol
  953. sou.Pitch=pit or 1
  954. sou.SoundId=id
  955. swait()
  956. sou:play()
  957. game:GetService("Debris"):AddItem(sou,6)
  958. end))
  959. end
  960.  
  961. function clerp(a,b,t)
  962. local qa = {QuaternionFromCFrame(a)}
  963. local qb = {QuaternionFromCFrame(b)}
  964. local ax, ay, az = a.x, a.y, a.z
  965. local bx, by, bz = b.x, b.y, b.z
  966. local _t = 1-t
  967. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  968. end
  969.  
  970. function QuaternionFromCFrame(cf)
  971. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  972. local trace = m00 + m11 + m22
  973. if trace > 0 then
  974. local s = math.sqrt(1 + trace)
  975. local recip = 0.5/s
  976. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  977. else
  978. local i = 0
  979. if m11 > m00 then
  980. i = 1
  981. end
  982. if m22 > (i == 0 and m00 or m11) then
  983. i = 2
  984. end
  985. if i == 0 then
  986. local s = math.sqrt(m00-m11-m22+1)
  987. local recip = 0.5/s
  988. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  989. elseif i == 1 then
  990. local s = math.sqrt(m11-m22-m00+1)
  991. local recip = 0.5/s
  992. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  993. elseif i == 2 then
  994. local s = math.sqrt(m22-m00-m11+1)
  995. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  996. end
  997. end
  998. end
  999.  
  1000. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1001. local xs, ys, zs = x + x, y + y, z + z
  1002. local wx, wy, wz = w*xs, w*ys, w*zs
  1003. local xx = x*xs
  1004. local xy = x*ys
  1005. local xz = x*zs
  1006. local yy = y*ys
  1007. local yz = y*zs
  1008. local zz = z*zs
  1009. 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))
  1010. end
  1011.  
  1012. function QuaternionSlerp(a, b, t)
  1013. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1014. local startInterp, finishInterp;
  1015. if cosTheta >= 0.0001 then
  1016. if (1 - cosTheta) > 0.0001 then
  1017. local theta = math.acos(cosTheta)
  1018. local invSinTheta = 1/math.sin(theta)
  1019. startInterp = math.sin((1-t)*theta)*invSinTheta
  1020. finishInterp = math.sin(t*theta)*invSinTheta
  1021. else
  1022. startInterp = 1-t
  1023. finishInterp = t
  1024. end
  1025. else
  1026. if (1+cosTheta) > 0.0001 then
  1027. local theta = math.acos(-cosTheta)
  1028. local invSinTheta = 1/math.sin(theta)
  1029. startInterp = math.sin((t-1)*theta)*invSinTheta
  1030. finishInterp = math.sin(t*theta)*invSinTheta
  1031. else
  1032. startInterp = t-1
  1033. finishInterp = t
  1034. end
  1035. end
  1036. 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
  1037. end
  1038.  
  1039. local function CFrameFromTopBack(at, top, back)
  1040. local right = top:Cross(back)
  1041. return CFrame.new(at.x, at.y, at.z,
  1042. right.x, top.x, back.x,
  1043. right.y, top.y, back.y,
  1044. right.z, top.z, back.z)
  1045. end
  1046.  
  1047. function Triangle(a, b, c)
  1048. local edg1 = (c-a):Dot((b-a).unit)
  1049. local edg2 = (a-b):Dot((c-b).unit)
  1050. local edg3 = (b-c):Dot((a-c).unit)
  1051. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1052. a, b, c = a, b, c
  1053. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1054. a, b, c = b, c, a
  1055. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1056. a, b, c = c, a, b
  1057. else
  1058. assert(false, "unreachable")
  1059. end
  1060.  
  1061. local len1 = (c-a):Dot((b-a).unit)
  1062. local len2 = (b-a).magnitude - len1
  1063. local width = (a + (b-a).unit*len1 - c).magnitude
  1064.  
  1065. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1066.  
  1067. local list = {}
  1068.  
  1069. if len1 > 0.01 then
  1070. local w1 = Instance.new('WedgePart', m)
  1071. game:GetService("Debris"):AddItem(w1,5)
  1072. w1.Material = "SmoothPlastic"
  1073. w1.FormFactor = 'Custom'
  1074. w1.BrickColor = BrickColor.new("Really red")
  1075. w1.Transparency = 0
  1076. w1.Reflectance = 0
  1077. w1.Material = "SmoothPlastic"
  1078. w1.CanCollide = false
  1079. local l1 = Instance.new("PointLight",w1)
  1080. l1.Color = Color3.new(170,0,0)
  1081. NoOutline(w1)
  1082. local sz = Vector3.new(0.2, width, len1)
  1083. w1.Size = sz
  1084. local sp = Instance.new("SpecialMesh",w1)
  1085. sp.MeshType = "Wedge"
  1086. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1087. w1:BreakJoints()
  1088. w1.Anchored = true
  1089. w1.Parent = workspace
  1090. w1.Transparency = 0.7
  1091. table.insert(Effects,{w1,"Disappear",.01})
  1092. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1093. table.insert(list,w1)
  1094. end
  1095.  
  1096. if len2 > 0.01 then
  1097. local w2 = Instance.new('WedgePart', m)
  1098. game:GetService("Debris"):AddItem(w2,5)
  1099. w2.Material = "SmoothPlastic"
  1100. w2.FormFactor = 'Custom'
  1101. w2.BrickColor = BrickColor.new("Really red")
  1102. w2.Transparency = 0
  1103. w2.Reflectance = 0
  1104. w2.Material = "SmoothPlastic"
  1105. w2.CanCollide = false
  1106. local l2 = Instance.new("PointLight",w2)
  1107. l2.Color = Color3.new(170,0,0)
  1108. NoOutline(w2)
  1109. local sz = Vector3.new(0.2, width, len2)
  1110. w2.Size = sz
  1111. local sp = Instance.new("SpecialMesh",w2)
  1112. sp.MeshType = "Wedge"
  1113. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1114. w2:BreakJoints()
  1115. w2.Anchored = true
  1116. w2.Parent = workspace
  1117. w2.Transparency = 0.7
  1118. table.insert(Effects,{w2,"Disappear",.01})
  1119. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1120. table.insert(list,w2)
  1121. end
  1122. return unpack(list)
  1123. end
  1124.  
  1125.  
  1126. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1127. if hit.Parent == nil then
  1128. return
  1129. end
  1130. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1131. for _, v in pairs(hit.Parent:children()) do
  1132. if v:IsA("Humanoid") then
  1133. h = v
  1134. end
  1135. end
  1136. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1137. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1138. return
  1139. end
  1140. local c = Create("ObjectValue")({
  1141. Name = "creator",
  1142. Value = game:GetService("Players").SincereProdeadZ,
  1143. Parent = h
  1144. })
  1145. game:GetService("Debris"):AddItem(c, 0.5)
  1146. if HitSound ~= nil and HitPitch ~= nil then
  1147. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1148. end
  1149. local Damage = math.random(minim, maxim)
  1150. local blocked = false
  1151. local block = hit.Parent:findFirstChild("Block")
  1152. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1153. blocked = true
  1154. block.Value = block.Value - 1
  1155. print(block.Value)
  1156. end
  1157. if blocked == false then
  1158. local HitHealth = h.Health
  1159. h.MaxHealth = 100
  1160. h.Health = h.Health - Damage
  1161. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1162. print("gained kill")
  1163. dmg(h.Parent)
  1164. end
  1165. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1166. else
  1167. h.Health = h.Health - Damage / 2
  1168. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1169. end
  1170. if Type == "Knockdown" then
  1171. local hum = hit.Parent.Humanoid
  1172. hum.PlatformStand = true
  1173. coroutine.resume(coroutine.create(function(HHumanoid)
  1174. swait(1)
  1175. HHumanoid.PlatformStand = false
  1176. end), hum)
  1177. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1178. local bodvol = Create("BodyVelocity")({
  1179. velocity = angle * knockback,
  1180. P = 5000,
  1181. maxForce = Vector3.new(8000, 8000, 8000),
  1182. Parent = hit
  1183. })
  1184. local rl = Create("BodyAngularVelocity")({
  1185. P = 3000,
  1186. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1187. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1188. Parent = hit
  1189. })
  1190. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1191. game:GetService("Debris"):AddItem(rl, 0.5)
  1192. elseif Type == "Normal" then
  1193. local vp = Create("BodyVelocity")({
  1194. P = 500,
  1195. maxForce = Vector3.new(math.huge, 0, math.huge),
  1196. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1197. })
  1198. if knockback > 0 then
  1199. vp.Parent = hit.Parent.Head
  1200. end
  1201. game:GetService("Debris"):AddItem(vp, 0.5)
  1202. elseif Type == "Up" then
  1203. local bodyVelocity = Create("BodyVelocity")({
  1204. velocity = Vector3.new(0, 20, 0),
  1205. P = 5000,
  1206. maxForce = Vector3.new(8000, 8000, 8000),
  1207. Parent = hit
  1208. })
  1209. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1210. local bodyVelocity = Create("BodyVelocity")({
  1211. velocity = Vector3.new(0, 20, 0),
  1212. P = 5000,
  1213. maxForce = Vector3.new(8000, 8000, 8000),
  1214. Parent = hit
  1215. })
  1216. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1217. elseif Type == "Leech" then
  1218. local hum = hit.Parent.Humanoid
  1219. if hum ~= nil then
  1220. for i = 0, 2 do
  1221. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1222. end
  1223. Humanoid.Health = Humanoid.Health + 10
  1224. end
  1225. elseif Type == "UpKnock" then
  1226. local hum = hit.Parent.Humanoid
  1227. hum.PlatformStand = true
  1228. if hum ~= nil then
  1229. hitr = true
  1230. end
  1231. coroutine.resume(coroutine.create(function(HHumanoid)
  1232. swait(5)
  1233. HHumanoid.PlatformStand = false
  1234. hitr = false
  1235. end), hum)
  1236. local bodyVelocity = Create("BodyVelocity")({
  1237. velocity = Vector3.new(0, 20, 0),
  1238. P = 5000,
  1239. maxForce = Vector3.new(8000, 8000, 8000),
  1240. Parent = hit
  1241. })
  1242. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1243. local bodyVelocity = Create("BodyVelocity")({
  1244. velocity = Vector3.new(0, 20, 0),
  1245. P = 5000,
  1246. maxForce = Vector3.new(8000, 8000, 8000),
  1247. Parent = hit
  1248. })
  1249. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1250. elseif Type == "Snare" then
  1251. local bp = Create("BodyPosition")({
  1252. P = 2000,
  1253. D = 100,
  1254. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1255. position = hit.Parent.Torso.Position,
  1256. Parent = hit.Parent.Torso
  1257. })
  1258. game:GetService("Debris"):AddItem(bp, 1)
  1259. elseif Type == "Slashnare" then
  1260. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1261. for i = 1, math.random(4, 5) do
  1262. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1263. end
  1264. local bp = Create("BodyPosition")({
  1265. P = 2000,
  1266. D = 100,
  1267. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1268. position = hit.Parent.Torso.Position,
  1269. Parent = hit.Parent.Torso
  1270. })
  1271. game:GetService("Debris"):AddItem(bp, 1)
  1272. elseif Type == "Spike" then
  1273. local bp = Create("BodyPosition")({
  1274. P = 2000,
  1275. D = 100,
  1276. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1277. position = hit.Parent.Torso.Position,
  1278. Parent = hit.Parent.Torso
  1279. })
  1280. game:GetService("Debris"):AddItem(bp, 1)
  1281. elseif Type == "Freeze" then
  1282. local BodPos = Create("BodyPosition")({
  1283. P = 50000,
  1284. D = 1000,
  1285. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1286. position = hit.Parent.Torso.Position,
  1287. Parent = hit.Parent.Torso
  1288. })
  1289. local BodGy = Create("BodyGyro")({
  1290. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1291. P = 20000,
  1292. Parent = hit.Parent.Torso,
  1293. cframe = hit.Parent.Torso.CFrame
  1294. })
  1295. hit.Parent.Torso.Anchored = true
  1296. coroutine.resume(coroutine.create(function(Part)
  1297. swait(1.5)
  1298. Part.Anchored = false
  1299. end), hit.Parent.Torso)
  1300. game:GetService("Debris"):AddItem(BodPos, 3)
  1301. game:GetService("Debris"):AddItem(BodGy, 3)
  1302. end
  1303. local debounce = Create("BoolValue")({
  1304. Name = "DebounceHit",
  1305. Parent = hit.Parent,
  1306. Value = true
  1307. })
  1308. game:GetService("Debris"):AddItem(debounce, Delay)
  1309. c = Instance.new("ObjectValue")
  1310. c.Name = "creator"
  1311. c.Value = Player
  1312. c.Parent = h
  1313. game:GetService("Debris"):AddItem(c, 0.5)
  1314. end
  1315. end
  1316. function ShowDamage(Pos, Text, Time, Color)
  1317. local Rate = 0.03333333333333333
  1318. local Pos = Pos or Vector3.new(0, 0, 0)
  1319. local Text = Text or ""
  1320. local Time = Time or 2
  1321. local Color = Color or Color3.new(1, 0, 1)
  1322. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1323. EffectPart.Anchored = true
  1324. local BillboardGui = Create("BillboardGui")({
  1325. Size = UDim2.new(3, 0, 3, 0),
  1326. Adornee = EffectPart,
  1327. Parent = EffectPart
  1328. })
  1329. local TextLabel = Create("TextLabel")({
  1330. BackgroundTransparency = 1,
  1331. Size = UDim2.new(1, 0, 1, 0),
  1332. Text = Text,
  1333. TextColor3 = Color,
  1334. TextScaled = true,
  1335. Font = Enum.Font.ArialBold,
  1336. Parent = BillboardGui
  1337. })
  1338. game.Debris:AddItem(EffectPart, Time + 0.1)
  1339. EffectPart.Parent = game:GetService("Workspace")
  1340. delay(0, function()
  1341. local Frames = Time / Rate
  1342. for Frame = 1, Frames do
  1343. wait(Rate)
  1344. local Percent = Frame / Frames
  1345. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1346. TextLabel.TextTransparency = Percent
  1347. end
  1348. if EffectPart and EffectPart.Parent then
  1349. EffectPart:Destroy()
  1350. end
  1351. end)
  1352. end
  1353. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1354. for _, c in pairs(workspace:children()) do
  1355. local hum = c:findFirstChildOfClass("Humanoid")
  1356. if hum ~= nil then
  1357. local head = c:findFirstChild("Head")
  1358. if head ~= nil then
  1359. local targ = head.Position - Part.Position
  1360. local mag = targ.magnitude
  1361. if magni >= mag and c.Name ~= Player.Name then
  1362. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1363. end
  1364. end
  1365. end
  1366. end
  1367. end
  1368.  
  1369. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1370. for _, c in pairs(workspace:children()) do
  1371. local hum = c:findFirstChild("Humanoid")
  1372. if hum ~= nil then
  1373. local head = c:findFirstChild("Torso")
  1374. if head ~= nil then
  1375. local targ = head.Position - Part.Position
  1376. local mag = targ.magnitude
  1377. if magni >= mag and c.Name ~= Player.Name then
  1378. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1379. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1380. end
  1381. end
  1382. end
  1383. end
  1384. end
  1385.  
  1386. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1387. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1388. end
  1389.  
  1390.  
  1391. function ring(type,pos,scale,value)
  1392. local type = type
  1393. local rng = Instance.new("Part", char)
  1394. rng.Anchored = true
  1395. rng.BrickColor = origcolor
  1396. rng.CanCollide = false
  1397. rng.FormFactor = 3
  1398. rng.Name = "Ring"
  1399. rng.Size = Vector3.new(1, 1, 1)
  1400. rng.Transparency = 0
  1401. rng.TopSurface = 0
  1402. rng.BottomSurface = 0
  1403. rng.CFrame = pos
  1404. local rngm = Instance.new("SpecialMesh", rng)
  1405. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1406. rngm.Scale = scale
  1407. local scaler2 = 1
  1408. if type == "Add" then
  1409. scaler2 = 1*value
  1410. elseif type == "Divide" then
  1411. scaler2 = 1/value
  1412. end
  1413. coroutine.resume(coroutine.create(function()
  1414. for i = 0,10,0.1 do
  1415. swait()
  1416. if type == "Add" then
  1417. scaler2 = scaler2 - 0.01*value
  1418. elseif type == "Divide" then
  1419. scaler2 = scaler2 - 0.01/value
  1420. end
  1421. rng.Transparency = rng.Transparency + 0.01
  1422. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1423. end
  1424. rng:Destroy()
  1425. end))
  1426. end
  1427.  
  1428.  
  1429. function wave(type,pos,scale,value)
  1430. local type = type
  1431. local rng = Instance.new("Part", char)
  1432. rng.Anchored = true
  1433. rng.BrickColor = origcolor
  1434. rng.CanCollide = false
  1435. rng.FormFactor = 3
  1436. rng.Name = "Ring"
  1437. rng.Size = Vector3.new(1, 1, 1)
  1438. rng.Transparency = 0
  1439. rng.TopSurface = 0
  1440. rng.BottomSurface = 0
  1441. rng.CFrame = pos
  1442. local rngm = Instance.new("SpecialMesh", rng)
  1443. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1444. rngm.Scale = scale
  1445. local scaler2 = 1
  1446. if type == "Add" then
  1447. scaler2 = 1*value
  1448. elseif type == "Divide" then
  1449. scaler2 = 1/value
  1450. end
  1451. coroutine.resume(coroutine.create(function()
  1452. for i = 0,10,0.1 do
  1453. swait()
  1454. if type == "Add" then
  1455. scaler2 = scaler2 - 0.01*value
  1456. elseif type == "Divide" then
  1457. scaler2 = scaler2 - 0.01/value
  1458. end
  1459. rng.Transparency = rng.Transparency + 0.01
  1460. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1461. end
  1462. rng:Destroy()
  1463. end))
  1464. end
  1465.  
  1466. function wind(type,pos,scale,value,speed)
  1467. local type = type
  1468. local rng = Instance.new("Part", char)
  1469. rng.Anchored = true
  1470. rng.BrickColor = origcolor
  1471. rng.CanCollide = false
  1472. rng.FormFactor = 3
  1473. rng.Name = "Ring"
  1474. rng.Size = Vector3.new(1, 1, 1)
  1475. rng.Transparency = 0
  1476. rng.TopSurface = 0
  1477. rng.BottomSurface = 0
  1478. rng.CFrame = pos
  1479. local rngm = Instance.new("SpecialMesh", rng)
  1480. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1481. rngm.Scale = scale
  1482. local scaler2 = 1
  1483. if type == "Add" then
  1484. scaler2 = 1*value
  1485. elseif type == "Divide" then
  1486. scaler2 = 1/value
  1487. end
  1488. coroutine.resume(coroutine.create(function()
  1489. for i = 0,10,0.1 do
  1490. swait()
  1491. if type == "Add" then
  1492. scaler2 = scaler2 - 0.01*value
  1493. elseif type == "Divide" then
  1494. scaler2 = scaler2 - 0.01/value
  1495. end
  1496. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  1497. rng.Transparency = rng.Transparency + 0.01
  1498. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1499. end
  1500. rng:Destroy()
  1501. end))
  1502. end
  1503.  
  1504. function groundwind(type,pos,scale,value,speed)
  1505. local type = type
  1506. local rng = Instance.new("Part", char)
  1507. rng.Anchored = true
  1508. rng.BrickColor = origcolor
  1509. rng.CanCollide = false
  1510. rng.FormFactor = 3
  1511. rng.Name = "Ring"
  1512. rng.Size = Vector3.new(1, 1, 1)
  1513. rng.Transparency = 0
  1514. rng.TopSurface = 0
  1515. rng.BottomSurface = 0
  1516. rng.CFrame = pos
  1517. local rngm = Instance.new("SpecialMesh", rng)
  1518. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1519. rngm.Scale = scale
  1520. local scaler2 = 1
  1521. if type == "Add" then
  1522. scaler2 = 1*value
  1523. elseif type == "Divide" then
  1524. scaler2 = 1/value
  1525. end
  1526. coroutine.resume(coroutine.create(function()
  1527. for i = 0,10,0.1 do
  1528. swait()
  1529. if type == "Add" then
  1530. scaler2 = scaler2 - 0.01*value
  1531. elseif type == "Divide" then
  1532. scaler2 = scaler2 - 0.01/value
  1533. end
  1534. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  1535. rng.Transparency = rng.Transparency + 0.01
  1536. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  1537. end
  1538. rng:Destroy()
  1539. end))
  1540. end
  1541.  
  1542. function CameraManager()
  1543. if TwoD and not CamInterrupt then
  1544. if Humanoid.Health > 0 then
  1545. Camera.CameraSubject = Humanoid
  1546. Camera.CameraType = "Scriptable"
  1547. Humanoid.AutoRotate = false
  1548. if Booleans.GyroUse then
  1549. Directer.MaxTorque = Vec3(0, math.huge, 0)
  1550. else
  1551. Directer.MaxTorque = Vec3(0, 0, 0)
  1552. end
  1553. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  1554. if Booleans.CamFollow then
  1555. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  1556. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  1557. else
  1558. CPart.Position = RootPart.Position
  1559. end
  1560. else
  1561. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  1562. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  1563. end
  1564. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  1565. else
  1566. Camera.CameraSubject = Humanoid
  1567. Camera.CameraType = "Custom"
  1568. Controller.Disabled = false
  1569. end
  1570. end
  1571. end
  1572.  
  1573. function ring(type,pos,scale,value)
  1574. local type = type
  1575. local rng = Instance.new("Part", char)
  1576. rng.Anchored = true
  1577. rng.BrickColor = origcolor
  1578. rng.CanCollide = false
  1579. rng.FormFactor = 3
  1580. rng.Name = "Ring"
  1581. rng.Size = Vector3.new(1, 1, 1)
  1582. rng.Transparency = 0
  1583. rng.TopSurface = 0
  1584. rng.BottomSurface = 0
  1585. rng.CFrame = pos
  1586. local rngm = Instance.new("SpecialMesh", rng)
  1587. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1588. rngm.Scale = scale
  1589. local scaler2 = 1
  1590. if type == "Add" then
  1591. scaler2 = 1*value
  1592. elseif type == "Divide" then
  1593. scaler2 = 1/value
  1594. end
  1595. coroutine.resume(coroutine.create(function()
  1596. for i = 0,10,0.1 do
  1597. swait()
  1598. if type == "Add" then
  1599. scaler2 = scaler2 - 0.01*value
  1600. elseif type == "Divide" then
  1601. scaler2 = scaler2 - 0.01/value
  1602. end
  1603. rng.Transparency = rng.Transparency + 0.01
  1604. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1605. end
  1606. rng:Destroy()
  1607. end))
  1608. end
  1609.  
  1610.  
  1611. function wave(type,pos,scale,value)
  1612. local type = type
  1613. local rng = Instance.new("Part", char)
  1614. rng.Anchored = true
  1615. rng.BrickColor = origcolor
  1616. rng.CanCollide = false
  1617. rng.FormFactor = 3
  1618. rng.Name = "Ring"
  1619. rng.Size = Vector3.new(1, 1, 1)
  1620. rng.Transparency = 0
  1621. rng.TopSurface = 0
  1622. rng.BottomSurface = 0
  1623. rng.CFrame = pos
  1624. local rngm = Instance.new("SpecialMesh", rng)
  1625. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1626. rngm.Scale = scale
  1627. local scaler2 = 1
  1628. if type == "Add" then
  1629. scaler2 = 1*value
  1630. elseif type == "Divide" then
  1631. scaler2 = 1/value
  1632. end
  1633. coroutine.resume(coroutine.create(function()
  1634. for i = 0,10,0.1 do
  1635. swait()
  1636. if type == "Add" then
  1637. scaler2 = scaler2 - 0.01*value
  1638. elseif type == "Divide" then
  1639. scaler2 = scaler2 - 0.01/value
  1640. end
  1641. rng.Transparency = rng.Transparency + 0.01
  1642. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1643. end
  1644. rng:Destroy()
  1645. end))
  1646. end
  1647.  
  1648. function sphere(bonuspeed,type,pos,scale,value,color)
  1649. local type = type
  1650. local rng = Instance.new("Part", char)
  1651. rng.Anchored = true
  1652. if ModeOfGlitch ~= 9 then
  1653. rng.BrickColor = color
  1654. elseif ModeOfGlitch == 9 then
  1655. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1656. end
  1657. rng.CanCollide = false
  1658. rng.FormFactor = 3
  1659. rng.Name = "Ring"
  1660. rng.Material = "Neon"
  1661. rng.Size = Vector3.new(1, 1, 1)
  1662. rng.Transparency = 0
  1663. rng.TopSurface = 0
  1664. rng.BottomSurface = 0
  1665. rng.CFrame = pos
  1666. local rngm = Instance.new("SpecialMesh", rng)
  1667. rngm.MeshType = "Sphere"
  1668. rngm.Scale = scale
  1669. if rainbowmode == true then
  1670. rng.Color = Color3.new(r/255,g/255,b/255)
  1671. end
  1672. if ModeOfGlitch == 9 then
  1673. coroutine.resume(coroutine.create(function()
  1674. while true do
  1675. swait()
  1676. if rng.Parent ~= nil then
  1677. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1678. else
  1679. break
  1680. end
  1681. end
  1682. end))
  1683. end
  1684. local scaler2 = 1
  1685. if type == "Add" then
  1686. scaler2 = 1*value
  1687. elseif type == "Divide" then
  1688. scaler2 = 1/value
  1689. end
  1690. coroutine.resume(coroutine.create(function()
  1691. for i = 0,10/bonuspeed,0.1 do
  1692. swait()
  1693. if rainbowmode == true then
  1694. rng.Color = Color3.new(r/255,g/255,b/255)
  1695. end
  1696. if type == "Add" then
  1697. scaler2 = scaler2 - 0.01*value/bonuspeed
  1698. elseif type == "Divide" then
  1699. scaler2 = scaler2 - 0.01/value*bonuspeed
  1700. end
  1701. if chaosmode == true then
  1702. rng.BrickColor = BrickColor.random()
  1703. end
  1704. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1705. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1706. end
  1707. rng:Destroy()
  1708. end))
  1709. end
  1710.  
  1711. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1712. local type = type
  1713. local rng = Instance.new("Part", char)
  1714. rng.Anchored = true
  1715. if ModeOfGlitch ~= 9 then
  1716. rng.BrickColor = color
  1717. elseif ModeOfGlitch == 9 then
  1718. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1719. end
  1720. rng.CanCollide = false
  1721. rng.FormFactor = 3
  1722. rng.Name = "Ring"
  1723. rng.Material = "Neon"
  1724. rng.Size = Vector3.new(1, 1, 1)
  1725. rng.Transparency = 0
  1726. rng.TopSurface = 0
  1727. rng.BottomSurface = 0
  1728. rng.CFrame = pos
  1729. local rngm = Instance.new("SpecialMesh", rng)
  1730. rngm.MeshType = "Sphere"
  1731. rngm.Scale = scale
  1732. local scaler2 = 1
  1733. local scaler2b = 1
  1734. local scaler2c = 1
  1735. if type == "Add" then
  1736. scaler2 = 1*value
  1737. scaler2b = 1*value2
  1738. scaler2c = 1*value3
  1739. elseif type == "Divide" then
  1740. scaler2 = 1/value
  1741. scaler2b = 1/value2
  1742. scaler2c = 1/value3
  1743. end
  1744. if ModeOfGlitch == 9 then
  1745. coroutine.resume(coroutine.create(function()
  1746. while true do
  1747. swait()
  1748. if rng.Parent ~= nil then
  1749. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1750. else
  1751. break
  1752. end
  1753. end
  1754. end))
  1755. end
  1756. coroutine.resume(coroutine.create(function()
  1757. for i = 0,10/bonuspeed,0.1 do
  1758. swait()
  1759. if type == "Add" then
  1760. scaler2 = scaler2 - 0.01*value/bonuspeed
  1761. scaler2b = scaler2b - 0.01*value/bonuspeed
  1762. scaler2c = scaler2c - 0.01*value/bonuspeed
  1763. elseif type == "Divide" then
  1764. scaler2 = scaler2 - 0.01/value*bonuspeed
  1765. scaler2b = scaler2b - 0.01/value*bonuspeed
  1766. scaler2c = scaler2c - 0.01/value*bonuspeed
  1767. end
  1768. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1769. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1770. end
  1771. rng:Destroy()
  1772. end))
  1773. end
  1774.  
  1775. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1776. local type = type
  1777. local rotenable = rotatingop
  1778. local rng = Instance.new("Part", char)
  1779. rng.Anchored = true
  1780. rng.BrickColor = color
  1781. rng.CanCollide = false
  1782. rng.FormFactor = 3
  1783. rng.Name = "Ring"
  1784. rng.Material = "Neon"
  1785. rng.Size = Vector3.new(1, 1, 1)
  1786. rng.Transparency = 0
  1787. if typeoftrans == "In" then
  1788. rng.Transparency = 1
  1789. end
  1790. rng.TopSurface = 0
  1791. rng.BottomSurface = 0
  1792. rng.CFrame = pos
  1793. local rngm = Instance.new("SpecialMesh", rng)
  1794. rngm.MeshType = "FileMesh"
  1795. if typeofshape == "Normal" then
  1796. rngm.MeshId = "rbxassetid://662586858"
  1797. elseif typeofshape == "Round" then
  1798. rngm.MeshId = "rbxassetid://662585058"
  1799. end
  1800. rngm.Scale = scale
  1801. local scaler2 = 1/10
  1802. if type == "Add" then
  1803. scaler2 = 1*value/10
  1804. elseif type == "Divide" then
  1805. scaler2 = 1/value/10
  1806. end
  1807. local randomrot = math.random(1,2)
  1808. coroutine.resume(coroutine.create(function()
  1809. for i = 0,10/bonuspeed,0.1 do
  1810. swait()
  1811. if type == "Add" then
  1812. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1813. elseif type == "Divide" then
  1814. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1815. end
  1816. if rotenable == true then
  1817. if randomrot == 1 then
  1818. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  1819. elseif randomrot == 2 then
  1820. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  1821. end
  1822. end
  1823. if typeoftrans == "Out" then
  1824. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1825. elseif typeoftrans == "In" then
  1826. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1827. end
  1828. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1829. end
  1830. rng:Destroy()
  1831. end))
  1832. end
  1833.  
  1834. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1835. local type = type
  1836. local rng = Instance.new("Part", char)
  1837. rng.Anchored = true
  1838. rng.BrickColor = color
  1839. rng.CanCollide = false
  1840. rng.FormFactor = 3
  1841. rng.Name = "Ring"
  1842. rng.Material = "Neon"
  1843. rng.Size = Vector3.new(1, 1, 1)
  1844. rng.Transparency = 0
  1845. rng.TopSurface = 0
  1846. rng.BottomSurface = 0
  1847. rng.CFrame = pos
  1848. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1849. local rngm = Instance.new("SpecialMesh", rng)
  1850. rngm.MeshType = "Brick"
  1851. rngm.Scale = vt(x1,y1,z1)
  1852. if rainbowmode == true then
  1853. rng.Color = Color3.new(r/255,g/255,b/255)
  1854. end
  1855. local scaler2 = 1
  1856. local speeder = FastSpeed/10
  1857. if type == "Add" then
  1858. scaler2 = 1*value
  1859. elseif type == "Divide" then
  1860. scaler2 = 1/value
  1861. end
  1862. coroutine.resume(coroutine.create(function()
  1863. for i = 0,10/bonuspeed,0.1 do
  1864. swait()
  1865. if rainbowmode == true then
  1866. rng.Color = Color3.new(r/255,g/255,b/255)
  1867. end
  1868. if type == "Add" then
  1869. scaler2 = scaler2 - 0.01*value/bonuspeed
  1870. elseif type == "Divide" then
  1871. scaler2 = scaler2 - 0.01/value*bonuspeed
  1872. end
  1873. if chaosmode == true then
  1874. rng.BrickColor = BrickColor.random()
  1875. end
  1876. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1877. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1878. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1879. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1880. end
  1881. rng:Destroy()
  1882. end))
  1883. end
  1884.  
  1885. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1886. local type = type
  1887. local rng = Instance.new("Part", char)
  1888. rng.Anchored = true
  1889. rng.BrickColor = color
  1890. rng.CanCollide = false
  1891. rng.FormFactor = 3
  1892. rng.Name = "Ring"
  1893. rng.Material = "Neon"
  1894. rng.Size = Vector3.new(1, 1, 1)
  1895. rng.Transparency = 0
  1896. rng.TopSurface = 0
  1897. rng.BottomSurface = 0
  1898. rng.CFrame = pos
  1899. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1900. local rngm = Instance.new("SpecialMesh", rng)
  1901. rngm.MeshType = "Brick"
  1902. rngm.Scale = vt(x1,y1,z1)
  1903. if rainbowmode == true then
  1904. rng.Color = Color3.new(r/255,g/255,b/255)
  1905. end
  1906. local scaler2 = 1
  1907. local speeder = FastSpeed/10
  1908. if type == "Add" then
  1909. scaler2 = 1*value
  1910. elseif type == "Divide" then
  1911. scaler2 = 1/value
  1912. end
  1913. coroutine.resume(coroutine.create(function()
  1914. for i = 0,10/bonuspeed,0.1 do
  1915. swait()
  1916. if rainbowmode == true then
  1917. rng.Color = Color3.new(r/255,g/255,b/255)
  1918. end
  1919. if type == "Add" then
  1920. scaler2 = scaler2 - 0.01*value/bonuspeed
  1921. elseif type == "Divide" then
  1922. scaler2 = scaler2 - 0.01/value*bonuspeed
  1923. end
  1924. if chaosmode == true then
  1925. rng.BrickColor = BrickColor.random()
  1926. end
  1927. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1928. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1929. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1930. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1931. end
  1932. rng:Destroy()
  1933. end))
  1934. end
  1935.  
  1936. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1937. local type = type
  1938. local rng = Instance.new("Part", char)
  1939. rng.Anchored = true
  1940. rng.BrickColor = color
  1941. rng.CanCollide = false
  1942. rng.FormFactor = 3
  1943. rng.Name = "Ring"
  1944. rng.Material = "Neon"
  1945. rng.Size = Vector3.new(1, 1, 1)
  1946. rng.Transparency = 0
  1947. rng.TopSurface = 0
  1948. rng.BottomSurface = 0
  1949. rng.CFrame = pos
  1950. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1951. local rngm = Instance.new("SpecialMesh", rng)
  1952. rngm.MeshType = "Brick"
  1953. rngm.Scale = vt(x1,y1,z1)
  1954. if rainbowmode == true then
  1955. rng.Color = Color3.new(r/255,g/255,b/255)
  1956. end
  1957. local scaler2 = 0
  1958. local speeder = FastSpeed/10
  1959. if type == "Add" then
  1960. scaler2 = 1*value
  1961. elseif type == "Divide" then
  1962. scaler2 = 1/value
  1963. end
  1964. coroutine.resume(coroutine.create(function()
  1965. for i = 0,10/bonuspeed,0.1 do
  1966. swait()
  1967. if rainbowmode == true then
  1968. rng.Color = Color3.new(r/255,g/255,b/255)
  1969. end
  1970. if type == "Add" then
  1971. scaler2 = scaler2 - 0.01*value/bonuspeed
  1972. elseif type == "Divide" then
  1973. scaler2 = scaler2 - 0.01/value*bonuspeed
  1974. end
  1975. if chaosmode == true then
  1976. rng.BrickColor = BrickColor.random()
  1977. end
  1978. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  1979. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1980. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1981. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1982. end
  1983. rng:Destroy()
  1984. end))
  1985. end
  1986.  
  1987. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  1988. local type = type
  1989. local rng = Instance.new("Part", char)
  1990. rng.Anchored = true
  1991. rng.BrickColor = color
  1992. rng.Color = color3
  1993. rng.CanCollide = false
  1994. rng.FormFactor = 3
  1995. rng.Name = "Ring"
  1996. rng.Material = "Neon"
  1997. rng.Size = Vector3.new(1, 1, 1)
  1998. rng.Transparency = 0
  1999. rng.TopSurface = 0
  2000. rng.BottomSurface = 0
  2001. rng.CFrame = pos
  2002. local rngm = Instance.new("SpecialMesh", rng)
  2003. rngm.MeshType = "Brick"
  2004. rngm.Scale = scale
  2005. local scaler2 = 1
  2006. local scaler2b = 1
  2007. local scaler2c = 1
  2008. if type == "Add" then
  2009. scaler2 = 1*value
  2010. scaler2b = 1*value2
  2011. scaler2c = 1*value3
  2012. elseif type == "Divide" then
  2013. scaler2 = 1/value
  2014. scaler2b = 1/value2
  2015. scaler2c = 1/value3
  2016. end
  2017. coroutine.resume(coroutine.create(function()
  2018. for i = 0,10/bonuspeed,0.1 do
  2019. swait()
  2020. if type == "Add" then
  2021. scaler2 = scaler2 - 0.01*value/bonuspeed
  2022. scaler2b = scaler2b - 0.01*value/bonuspeed
  2023. scaler2c = scaler2c - 0.01*value/bonuspeed
  2024. elseif type == "Divide" then
  2025. scaler2 = scaler2 - 0.01/value*bonuspeed
  2026. scaler2b = scaler2b - 0.01/value*bonuspeed
  2027. scaler2c = scaler2c - 0.01/value*bonuspeed
  2028. end
  2029. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2030. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2031. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2032. end
  2033. rng:Destroy()
  2034. end))
  2035. end
  2036.  
  2037. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2038. local type = type
  2039. local rng = Instance.new("Part", char)
  2040. rng.Anchored = true
  2041. if ModeOfGlitch ~= 9 then
  2042. rng.BrickColor = color
  2043. elseif ModeOfGlitch == 9 then
  2044. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2045. end
  2046. rng.CanCollide = false
  2047. rng.FormFactor = 3
  2048. rng.Name = "Ring"
  2049. rng.Material = "Neon"
  2050. rng.Size = Vector3.new(1, 1, 1)
  2051. rng.Transparency = 0
  2052. rng.TopSurface = 0
  2053. rng.BottomSurface = 0
  2054. rng.CFrame = pos
  2055. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2056. local rngm = Instance.new("SpecialMesh", rng)
  2057. rngm.MeshType = "Sphere"
  2058. rngm.Scale = vt(x1,y1,z1)
  2059. if rainbowmode == true then
  2060. rng.Color = Color3.new(r/255,g/255,b/255)
  2061. end
  2062. if ModeOfGlitch == 9 then
  2063. coroutine.resume(coroutine.create(function()
  2064. while true do
  2065. swait()
  2066. if rng.Parent ~= nil then
  2067. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2068. else
  2069. break
  2070. end
  2071. end
  2072. end))
  2073. end
  2074. local scaler2 = 1
  2075. local speeder = FastSpeed
  2076. if type == "Add" then
  2077. scaler2 = 1*value
  2078. elseif type == "Divide" then
  2079. scaler2 = 1/value
  2080. end
  2081. coroutine.resume(coroutine.create(function()
  2082. for i = 0,10/bonuspeed,0.1 do
  2083. swait()
  2084. if rainbowmode == true then
  2085. rng.Color = Color3.new(r/255,g/255,b/255)
  2086. end
  2087. if type == "Add" then
  2088. scaler2 = scaler2 - 0.01*value/bonuspeed
  2089. elseif type == "Divide" then
  2090. scaler2 = scaler2 - 0.01/value*bonuspeed
  2091. end
  2092. if chaosmode == true then
  2093. rng.BrickColor = BrickColor.random()
  2094. end
  2095. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2096. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2097. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2098. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2099. end
  2100. rng:Destroy()
  2101. end))
  2102. end
  2103.  
  2104.  
  2105. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2106. local type = type
  2107. local rng = Instance.new("Part", char)
  2108. rng.Anchored = true
  2109. if ModeOfGlitch ~= 9 then
  2110. rng.BrickColor = color
  2111. elseif ModeOfGlitch == 9 then
  2112. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2113. end
  2114. rng.CanCollide = false
  2115. rng.FormFactor = 3
  2116. rng.Name = "Ring"
  2117. rng.Material = "Neon"
  2118. rng.Size = Vector3.new(1, 1, 1)
  2119. rng.Transparency = 1
  2120. rng.TopSurface = 0
  2121. rng.BottomSurface = 0
  2122. rng.CFrame = pos
  2123. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2124. local rngm = Instance.new("SpecialMesh", rng)
  2125. rngm.MeshType = "Sphere"
  2126. rngm.Scale = vt(x1,y1,z1)
  2127. if rainbowmode == true then
  2128. rng.Color = Color3.new(r/255,g/255,b/255)
  2129. end
  2130. if ModeOfGlitch == 9 then
  2131. coroutine.resume(coroutine.create(function()
  2132. while true do
  2133. swait()
  2134. if rng.Parent ~= nil then
  2135. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2136. else
  2137. break
  2138. end
  2139. end
  2140. end))
  2141. end
  2142. local scaler2 = 1
  2143. local speeder = FastSpeed
  2144. if type == "Add" then
  2145. scaler2 = 1*value
  2146. elseif type == "Divide" then
  2147. scaler2 = 1/value
  2148. end
  2149. coroutine.resume(coroutine.create(function()
  2150. for i = 0,10/bonuspeed,0.1 do
  2151. swait()
  2152. if rainbowmode == true then
  2153. rng.Color = Color3.new(r/255,g/255,b/255)
  2154. end
  2155. if type == "Add" then
  2156. scaler2 = scaler2 - 0.01*value/bonuspeed
  2157. elseif type == "Divide" then
  2158. scaler2 = scaler2 - 0.01/value*bonuspeed
  2159. end
  2160. if chaosmode == true then
  2161. rng.BrickColor = BrickColor.random()
  2162. end
  2163. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2164. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2165. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2166. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2167. end
  2168. rng:Destroy()
  2169. end))
  2170. end
  2171.  
  2172. function dmg(dude)
  2173. if dude.Name ~= Character then
  2174. local keptcolor = BrickColor.new("Alder")
  2175. local bgf = Instance.new("BodyGyro",dude.Head)
  2176. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2177. --[[local val = Instance.new("BoolValue",dude)
  2178. val.Name = "IsHit"]]--
  2179. local ds = coroutine.wrap(function()
  2180. dude:WaitForChild("Head"):BreakJoints()
  2181. for i, v in pairs(dude:GetChildren()) do
  2182. if v:IsA("Part") or v:IsA("MeshPart") then
  2183. v.Name = "DEMINISHED"
  2184. end
  2185. end
  2186. wait(0.5)
  2187. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  2188. coroutine.resume(coroutine.create(function()
  2189. for i, v in pairs(dude:GetChildren()) do
  2190. if v:IsA("Accessory") then
  2191. v:Destroy()
  2192. end
  2193. if v:IsA("Humanoid") then
  2194. v:Destroy()
  2195. end
  2196. if v:IsA("CharacterMesh") then
  2197. v:Destroy()
  2198. end
  2199. if v:IsA("Model") then
  2200. v:Destroy()
  2201. end
  2202. if v:IsA("Part") or v:IsA("MeshPart") then
  2203. for x, o in pairs(v:GetChildren()) do
  2204. if o:IsA("Decal") then
  2205. o:Destroy()
  2206. end
  2207. end
  2208. coroutine.resume(coroutine.create(function()
  2209. v.Material = "Neon"
  2210. v.CanCollide = false
  2211. v.Anchored = false
  2212. local bld = Instance.new("ParticleEmitter",v)
  2213. bld.LightEmission = 0.75
  2214. bld.Texture = "rbxassetid://363275192" ---284205403
  2215. bld.Color = ColorSequence.new(keptcolor.Color)
  2216. bld.Rate = 500
  2217. bld.Lifetime = NumberRange.new(1)
  2218. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  2219. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2220. bld.Speed = NumberRange.new(2,5)
  2221. bld.VelocitySpread = 50000
  2222. bld.Rotation = NumberRange.new(-500,500)
  2223. bld.RotSpeed = NumberRange.new(-500,500)
  2224. local sbs = Instance.new("BodyPosition", v)
  2225. sbs.P = 3000
  2226. sbs.D = 1000
  2227. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2228. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  2229. v.Color = keptcolor.Color
  2230. coroutine.resume(coroutine.create(function()
  2231. for i = 0, 49 do
  2232. swait(1)
  2233. v:BreakJoints()
  2234. v.Transparency = v.Transparency + 0.02
  2235. end
  2236. v:BreakJoints()
  2237. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  2238. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  2239. bld.Speed = NumberRange.new(10,25)
  2240. bld.Drag = 5
  2241. bld.Acceleration = vt(0,2,0)
  2242. wait(0.5)
  2243. bld.Enabled = false
  2244. wait(8)
  2245. v:Destroy()
  2246. dude:Destroy()
  2247. end))
  2248. end))
  2249. end
  2250. end
  2251. end))
  2252. end)
  2253. ds()
  2254. end
  2255. end
  2256.  
  2257.  
  2258. function FindNearestHead(Position, Distance, SinglePlayer)
  2259. if SinglePlayer then
  2260. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2261. end
  2262. local List = {}
  2263. for i, v in pairs(workspace:GetChildren()) do
  2264. if v:IsA("Model") then
  2265. if v:findFirstChild("Head") then
  2266. if v ~= Character then
  2267. if (v.Head.Position - Position).magnitude <= Distance then
  2268. table.insert(List, v)
  2269. end
  2270. end
  2271. end
  2272. end
  2273. end
  2274. return List
  2275. end
  2276.  
  2277. function FaceMouse()
  2278. Cam = workspace.CurrentCamera
  2279. return {
  2280. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2281. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2282. }
  2283. end
  2284.  
  2285. function FaceMouse2()
  2286. Cam = workspace.CurrentCamera
  2287. return {
  2288. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2289. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2290. }
  2291. end
  2292.  
  2293. -- Functions are ready.
  2294. local storehumanoidWS = 16
  2295.  
  2296. function createBGCircle(size,parent,color)
  2297. local bgui = Instance.new("BillboardGui",parent)
  2298. bgui.Size = UDim2.new(size, 0, size, 0)
  2299. local imgc = Instance.new("ImageLabel",bgui)
  2300. imgc.BackgroundTransparency = 1
  2301. imgc.ImageTransparency = 0
  2302. imgc.Size = UDim2.new(1,0,1,0)
  2303. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  2304. imgc.ImageColor3 = color
  2305. return bgui,imgc
  2306. end
  2307.  
  2308. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  2309. local bgui,imgc = createBGCircle(size,guipar,color)
  2310. bgui.AlwaysOnTop = true
  2311. imgc.Image = "rbxassetid://" ..img
  2312. local rrot = math.random(1,2)
  2313. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  2314. coroutine.resume(coroutine.create(function()
  2315. for i = 0, 24*delay do
  2316. swait()
  2317. if rotationenabled == true then
  2318. if rrot == 1 then
  2319. imgc.Rotation = imgc.Rotation + rotsp
  2320. elseif rrot == 2 then
  2321. imgc.Rotation = imgc.Rotation - rotsp
  2322. end
  2323. end
  2324. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  2325. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  2326. end
  2327. bgui:Destroy()
  2328. end))
  2329. end
  2330.  
  2331. local actualrotationvalue = 0
  2332.  
  2333. function Laserbeamy()
  2334. attack = true
  2335. hum.WalkSpeed = 0
  2336. CFuncs["Sound"].Create("rbxassetid://289315275", handlex, 7.5, 1)
  2337. CFuncs["Sound"].Create("rbxassetid://1521621176", handlex, 5,1)
  2338. CFuncs["Sound"].Create("rbxassetid://418302853", handlex, 6.5, 1)
  2339. CFuncs["TimeSound"].Create("rbxassetid://184173042", handlex, 5, 1,0,2.75)
  2340. CFuncs["Sound"].Create("rbxassetid://898407368", handlex, 1.75, 1.2)
  2341. CFuncs["Sound"].Create("rbxassetid://1930016365", handlex, 1.75, 1.1)
  2342. CFuncs["Sound"].Create("rbxassetid://1752639888", handlex, 1.5, 1)
  2343. local efec = Instance.new("ParticleEmitter",handlex)
  2344. efec.Texture = "rbxassetid://2109052855"
  2345. efec.LightEmission = 1
  2346. efec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  2347. efec.Rate = 10
  2348. efec.Lifetime = NumberRange.new(0.75)
  2349. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.8,7.5,0),NumberSequenceKeypoint.new(1,0,0)})
  2350. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  2351. efec.Drag = 5
  2352. efec.LockedToPart = true
  2353. efec.Rotation = NumberRange.new(-500,500)
  2354. efec.VelocitySpread = 9000
  2355. efec.Speed = NumberRange.new(0)
  2356. efec.RotSpeed = NumberRange.new(-500,500)
  2357. local efec2 = efec:Clone()
  2358. efec2.LightEmission = 1
  2359. efec2.Texture = "rbxassetid://2092248396"
  2360. efec2.Parent = handlex
  2361. efec2.Rate = 10
  2362. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,17.5,0),NumberSequenceKeypoint.new(0.5,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,100,0)})
  2363. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2364. efec2.RotSpeed = NumberRange.new(-100,100)
  2365. for i = 0,10,0.1 do
  2366. swait()
  2367. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  2368. actualrotationvalue = actualrotationvalue + 14
  2369. handlexweld.C0=clerp(handlexweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2370. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,5)*angles(math.rad(-5),math.rad(60),math.rad(0)),.3)
  2371. sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.005,0.005,0.005,BrickColor.new("Alder"))
  2372. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
  2373. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
  2374. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
  2375. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.5)
  2376. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-30),math.rad(15)),.5)
  2377. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4.5),math.rad(0),math.rad(10)),.5)
  2378. end
  2379. efec.Enabled = false
  2380. efec2.Enabled = false
  2381. game:GetService("Debris"):AddItem(efec, 5)
  2382. game:GetService("Debris"):AddItem(efec2, 5)
  2383. CFuncs["Sound"].Create("rbxassetid://919941001", handlex, 8, 1.1)
  2384. sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
  2385. sphere2(4,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
  2386. sphere2(3,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
  2387. for i = 0, 14 do
  2388. slash(math.random(10,40)/10,5,true,"Round","Add","Out",handlex.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(30,70)/250,BrickColor.new("White"))
  2389. end
  2390. for i = 0, 24 do
  2391. for i = 0,1,0.6 do
  2392. swait()
  2393. hum.CameraOffset = vt(math.random(-10,10)/60,math.random(-10,10)/60,math.random(-10,10)/60)
  2394. actualrotationvalue = actualrotationvalue + 14
  2395. handlexweld.C0=clerp(handlexweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2396. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,5)*angles(math.rad(-5),math.rad(60),math.rad(0)),.3)
  2397. sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.005,0.005,0.005,BrickColor.new("Alder"))
  2398. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
  2399. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
  2400. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
  2401. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.5)
  2402. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-30),math.rad(15)),.5)
  2403. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4.5),math.rad(0),math.rad(10)),.5)
  2404. end
  2405. local orb = Instance.new("Part", char)
  2406. CFuncs["Sound"].Create("rbxassetid://1146690130", handlex, 2,1.25)
  2407. orb.BrickColor = BrickColor.new("Alder")
  2408. orb.CanCollide = false
  2409. orb.FormFactor = 3
  2410. orb.Name = "Ring"
  2411. orb.Material = "Neon"
  2412. orb.Size = Vector3.new(1, 1, 1)
  2413. orb.Transparency = 1
  2414. orb.TopSurface = 0
  2415. orb.BottomSurface = 0
  2416. orb.Anchored = true
  2417. orb.CFrame = handlex.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,1))
  2418. local a = Instance.new("Part",char)
  2419. a.Name = "Direction"
  2420. a.Anchored = true
  2421. a.BrickColor = BrickColor.new("Alder")
  2422. a.Material = "Neon"
  2423. a.Transparency = 0.25
  2424. a.Shape = "Cylinder"
  2425. local ht = Instance.new("Part",char)
  2426. ht.Name = "DirectionHit"
  2427. ht.Anchored = true
  2428. ht.BrickColor = BrickColor.new("Alder")
  2429. ht.CanCollide = false
  2430. ht.Transparency = 1
  2431. ht.Size = vt(0.1,0.1,0.1)
  2432. CFuncs["Sound"].Create("rbxassetid://206049428", ht, 3, 1)
  2433. CFuncs["Sound"].Create("rbxassetid://824687369", ht, 6, 1)
  2434. CFuncs["Sound"].Create("rbxassetid://698224146", ht, 4, 1)
  2435. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 4, 1.1)
  2436. a.CanCollide = false
  2437. local ray = Ray.new(
  2438. orb.CFrame.p, -- origin
  2439. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2440. )
  2441. local ignore = char
  2442. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2443. a.BottomSurface = 10
  2444. a.TopSurface = 10
  2445. local distance = (orb.CFrame.p - position).magnitude
  2446. a.Size = Vector3.new(distance,1,1)
  2447. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2448. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  2449. sphere2(3,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Alder"))
  2450. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Alder"))
  2451. MagniDamage(ht, 15, 70,95, 0, "Normal")
  2452. for i = 0, 4 do
  2453. slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,80)/250,BrickColor.new("White"))
  2454. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,1,3),-0.015,1.5,-0.015,BrickColor.new("Alder"))
  2455. local rsiz = math.random(30,60)
  2456. sphereMK(math.random(2,4),0.75,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Alder"),0)
  2457. end
  2458. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  2459. local msh = Instance.new("SpecialMesh",a)
  2460. msh.MeshType = "Cylinder"
  2461. msh.Scale = vt(1,2,2)
  2462. coroutine.resume(coroutine.create(function()
  2463. for i = 0, 49 do
  2464. swait()
  2465. msh.Scale = msh.Scale - vt(0,0.04,0.04)
  2466. a.Transparency = a.Transparency + 0.02
  2467. end
  2468. a:Destroy()
  2469. ht:Destroy()
  2470. orb:Destroy()
  2471. end))
  2472. end
  2473. hum.WalkSpeed = 16
  2474. attack = false
  2475. end
  2476.  
  2477. function uselessnuke()
  2478. attack = true
  2479. local vel = Instance.new("BodyPosition", root)
  2480. vel.P = 25000
  2481. vel.D = 1000
  2482. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  2483. vel.position = root.CFrame.p + vt(0,250,0)
  2484. CFuncs["Sound"].Create("rbxassetid://1295446488", char, 1.5, 0.8)
  2485. for i = 0, 49 do
  2486. coroutine.resume(coroutine.create(function()
  2487. slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,500)/250,BrickColor.new("White"))
  2488. end))
  2489. end
  2490. for i = 0, 4, 0.1 do
  2491. swait()
  2492. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-25)),.8)
  2493. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(25)),.8)
  2494. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  2495. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.8)
  2496. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-57)),.8)
  2497. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(83),math.rad(0),math.rad(58)),.8)
  2498. end
  2499. wait(2)
  2500. local efec = Instance.new("ParticleEmitter",root)
  2501. efec.Texture = "rbxassetid://2109052855"
  2502. efec.LightEmission = 1
  2503. efec.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  2504. efec.Rate = 15
  2505. efec.Lifetime = NumberRange.new(1)
  2506. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,125,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,20,0)})
  2507. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  2508. efec.Drag = 5
  2509. efec.LockedToPart = true
  2510. efec.Rotation = NumberRange.new(-500,500)
  2511. efec.VelocitySpread = 9000
  2512. efec.RotSpeed = NumberRange.new(-500,500)
  2513. local efec2 = efec:Clone()
  2514. efec2.LightEmission = 1
  2515. efec2.Texture = "rbxassetid://2092248396"
  2516. efec2.Parent = root
  2517. efec2.Rate = 30
  2518. efec2.Lifetime = NumberRange.new(1)
  2519. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)})
  2520. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2521. efec2.Speed = NumberRange.new(0)
  2522. efec2.RotSpeed = NumberRange.new(-100,100)
  2523. sphere2(1,"Add",root.CFrame,vt(500,500,500),-10,-10,-10,BrickColor.new("Alder"))
  2524. sphere2(1,"Add",root.CFrame,vt(750,750,750),-15,-15,-15,BrickColor.new("Pastel light blue"))
  2525. CFuncs["LongSound"].Create("rbxassetid://1930483671", char, 10, 1)
  2526. wait(2)
  2527. CameraEnshaking(20,50)
  2528. CFuncs["Sound"].Create("rbxassetid://1368605755", char, 10, 1)
  2529. CFuncs["Sound"].Create("rbxassetid://763718160", char, 5, 0.5)
  2530. CFuncs["Sound"].Create("rbxassetid://763718160", char, 5, 0.25)
  2531. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1)
  2532. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75)
  2533. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5)
  2534. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25)
  2535. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1)
  2536. CFuncs["Sound"].Create("rbxassetid://239000203", char, 10, 1)
  2537. coroutine.resume(coroutine.create(function()
  2538. for i = 0, 74, 0.1 do
  2539. swait()
  2540. MagniDamage(root, 1500000, 999999,99999999, 0, "Normal")
  2541. coroutine.resume(coroutine.create(function()
  2542. for i = 0, 2 do
  2543. slash(math.random(10,40)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(250,2500)/250,BrickColor.new("White"))
  2544. end
  2545. slash(math.random(30,90)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),math.random(2,5)/250,BrickColor.new("Alder"))
  2546. sphere2(10,"Add",root.CFrame,vt(30,100000,30),2.5,100,2.5,BrickColor.new("Alder"))
  2547. sphere2(10,"Add",root.CFrame,vt(50,100000,50),3,100,3,BrickColor.new("Pastel light blue"))
  2548. sphere2(10,"Add",root.CFrame,vt(10,10,10),5,5,5,BrickColor.new("Alder"))
  2549. sphere2(10,"Add",root.CFrame,vt(10,10,10),10,10,10,BrickColor.new("Pastel light blue"))
  2550. end))
  2551. end
  2552. vel:Destroy()
  2553. attack = false
  2554. efec.Enabled = false
  2555. efec2.Enabled = false
  2556. game:GetService("Debris"):AddItem(efec, 5)
  2557. game:GetService("Debris"):AddItem(efec2, 5)
  2558. end))
  2559. end
  2560. ----------------------------------- Abilities
  2561.  
  2562. -------------------------------------
  2563.  
  2564. Humanoid.Animator.Parent = nil
  2565.  
  2566. -------------------------------------
  2567.  
  2568. local attacktype = 1
  2569. mouse.Button1Down:connect(function()
  2570. if attack == false and attacktype == 1 then
  2571. attacktype = 2
  2572. --attackone()
  2573. elseif attack == false and attacktype == 2 then
  2574. attacktype = 3
  2575. --attacktwo()
  2576. elseif attack == false and attacktype == 3 then
  2577. attacktype = 1
  2578. --attackthree()
  2579. elseif attack == false and attacktype == 4 then
  2580. attacktype = 1
  2581. --attackfour()
  2582. end
  2583. end)
  2584. mouse.KeyDown:connect(function(k)
  2585. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  2586. ModeOfGlitch = 2
  2587. newTheme("rbxassetid://1180273873",0,1.01,1.2)
  2588. MAINRUINCOLOR = BrickColor.new("Dark blue")
  2589. circl.ImageColor3 = MAINRUINCOLOR.Color
  2590. circl2.ImageColor3 = MAINRUINCOLOR.Color
  2591. techc.ImageColor3 = MAINRUINCOLOR.Color
  2592. imgl2.ImageColor3 = BrickColor.new("White").Color
  2593. imgl2b.ImageColor3 = BrickColor.new("White").Color
  2594. ned.TextColor3 = BrickColor.new("White").Color
  2595. ned.TextStrokeColor3 = MAINRUINCOLOR.Color
  2596. ned.Text = "Derpz???"
  2597. ned.Font = "Code"
  2598. for i,v in pairs(colorizermod:GetChildren()) do
  2599. if v:IsA("Part") then
  2600. v.BrickColor = BrickColor.new("Dark blue")
  2601. end
  2602. end
  2603. refec.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
  2604. refec2.Color = refec.Color
  2605. refec3.Color = refec.Color
  2606. elseif k == "q" and attack == false and ModeOfGlitch ~= 1 then
  2607. ModeOfGlitch = 1
  2608. newTheme("rbxassetid://923445685",0,1.01,1.2)
  2609. MAINRUINCOLOR = BrickColor.new("Alder")
  2610. circl.ImageColor3 = MAINRUINCOLOR.Color
  2611. circl2.ImageColor3 = MAINRUINCOLOR.Color
  2612. techc.ImageColor3 = MAINRUINCOLOR.Color
  2613. imgl2.ImageColor3 = BrickColor.new("White").Color
  2614. imgl2b.ImageColor3 = BrickColor.new("White").Color
  2615. ned.TextColor3 = BrickColor.new("White").Color
  2616. ned.TextStrokeColor3 = MAINRUINCOLOR.Color
  2617. ned.Text = "Synthesizer"
  2618. ned.Font = "SciFi"
  2619. for i,v in pairs(colorizermod:GetChildren()) do
  2620. if v:IsA("Part") then
  2621. v.BrickColor = BrickColor.new("Alder")
  2622. end
  2623. end
  2624. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  2625. refec2.Color = refec.Color
  2626. refec3.Color = refec.Color
  2627. elseif k == "r" and attack == false and ModeOfGlitch ~= 3 then
  2628. ModeOfGlitch = 3
  2629. newTheme("rbxassetid://1067833276",0,1.01,1.2)
  2630. MAINRUINCOLOR = BrickColor.new("Pink")
  2631. circl.ImageColor3 = MAINRUINCOLOR.Color
  2632. circl2.ImageColor3 = MAINRUINCOLOR.Color
  2633. techc.ImageColor3 = MAINRUINCOLOR.Color
  2634. imgl2.ImageColor3 = BrickColor.new("White").Color
  2635. imgl2b.ImageColor3 = BrickColor.new("White").Color
  2636. ned.TextColor3 = BrickColor.new("White").Color
  2637. ned.TextStrokeColor3 = MAINRUINCOLOR.Color
  2638. ned.Text = "Cutesy"
  2639. ned.Font = "Cartoon"
  2640. for i,v in pairs(colorizermod:GetChildren()) do
  2641. if v:IsA("Part") then
  2642. v.BrickColor = BrickColor.new("Pink")
  2643. end
  2644. end
  2645. refec.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  2646. refec2.Color = refec.Color
  2647. refec3.Color = refec.Color
  2648. end
  2649. if k == "z" and attack == false and ModeOfGlitch == 1 then
  2650. Laserbeamy()
  2651. end
  2652. if k == "m" and attack == false and ModeOfGlitch == 1 then
  2653. uselessnuke()
  2654. end
  2655. end)
  2656. Humanoid.Name = "SYNTHEZ"
  2657. Humanoid.MaxHealth = math.huge
  2658. Humanoid.Health = math.huge
  2659. Instance.new("ForceField",char).Visible = false
  2660.  
  2661. idleanim=.4
  2662. while true do
  2663. if mutedtog == false then
  2664. kan.Volume = 1.1
  2665. elseif mutedtog == true then
  2666. kan.Volume = 0
  2667. end
  2668. kan.Looped = true
  2669. kan.Parent = char
  2670. kan:Resume()
  2671. actualrotationvalue = actualrotationvalue + 1
  2672. techc.Rotation = techc.Rotation + 1
  2673. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  2674. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  2675. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  2676. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  2677. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  2678. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  2679. CameraManager()
  2680. swait()
  2681. sine = sine + change
  2682. rotingweld.C0=clerp(rotingweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(actualrotationvalue + 750 * math.cos(sine / 1000))),.3)
  2683. rotingweld2.C0=clerp(rotingweld2.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-actualrotationvalue - 750 * math.cos(sine / 1000))),.3)
  2684. if attack == false then
  2685. if ModeOfGlitch == 1 then
  2686. hum.CameraOffset = vt(0 + 0.05 * math.cos(sine / 32),0 - 0.05 * math.cos(sine / 46),0 - 0.05 * math.cos(sine / 57))
  2687. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,-2.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2688. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.25 * math.cos(sine / 57))*angles(math.rad(0 + 5 * math.cos(sine / 55)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  2689. elseif ModeOfGlitch == 2 then
  2690. hum.CameraOffset = vt(0 + 0.05 * math.cos(sine / 32),0 - 0.05 * math.cos(sine / 46),0 - 0.05 * math.cos(sine / 57))
  2691. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,-2.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2692. handlexweld.C0=clerp(handlexweld.C0,cf(0,0,-2)*angles(math.rad(90 + 5 * math.cos(sine / 55)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  2693. elseif ModeOfGlitch == 3 then
  2694. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,-2.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2695. handlexweld.C0=clerp(handlexweld.C0,cf(0,5,-2)*angles(math.rad(90 + 5 * math.cos(sine / 55)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  2696. end
  2697. end
  2698. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2699. local velderp=RootPart.Velocity.y
  2700. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2701. coroutine.resume(coroutine.create(function()
  2702. --[[if hitfloor ~= nil then
  2703. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("White"))
  2704. end]]--
  2705. end))
  2706. if equipped==true or equipped==false then
  2707. if attack==false then
  2708. idle=idle+1
  2709. else
  2710. idle=0
  2711. end
  2712. if idle>=500 then
  2713. if attack==false then
  2714. --Sheath()
  2715. end
  2716. end
  2717. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2718. Anim="Jump"
  2719. if attack==false then
  2720. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  2721. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  2722. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  2723. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  2724. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  2725. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  2726. end
  2727. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2728. Anim="Fall"
  2729. if attack==false then
  2730. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  2731. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  2732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  2734. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  2735. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  2736. end
  2737. elseif torvel<1 and hitfloor~=nil then
  2738. Anim="Idle"
  2739. if attack==false then
  2740. if ModeOfGlitch == 1 then
  2741. 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(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  2742. 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(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  2743. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  2744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  2745. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  2746. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  2747. elseif ModeOfGlitch == 2 then
  2748. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  2749. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  2750. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.09 * math.cos(sine / 49),0 + 0.09 * math.cos(sine / 25),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  2751. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  2752. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 1 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  2753. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 3 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  2754. elseif ModeOfGlitch == 3 then
  2755. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  2756. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  2757. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  2758. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  2759. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  2760. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  2761. end
  2762. end
  2763. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2764. Anim="Walk"
  2765. if attack==false then
  2766. if ModeOfGlitch == 1 then
  2767. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  2768. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  2769. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  2770. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  2771. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  2772. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  2773. elseif ModeOfGlitch == 2 then
  2774. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  2775. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  2776. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  2777. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  2778. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 3 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  2779. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 5 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  2780. end
  2781. end
  2782. elseif torvel>=22 and hitfloor~=nil then
  2783. Anim="Run"
  2784. if attack==false then
  2785. if ModeOfGlitch == 1 then
  2786. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  2787. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  2788. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  2789. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  2790. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  2791. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  2792. end
  2793. end
  2794. end
  2795. end
  2796. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement