Advertisement
BobMe

AlterDraggo

Sep 21st, 2018
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 148.54 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("Draggo edit by Memo1332")
  3. wait(.25)
  4. print("FE Compatibility: by WaverlyCole & Mokiros")
  5. wait(.25)
  6. InternalData = {}
  7. do
  8. script.Parent = owner.Character
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput"
  11. local function NewFakeEvent()
  12. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  13. return Fake
  14. end
  15. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  16. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. local function TriggerEvent(self,Event,...)
  21. local Trigger = Mouse[Event]
  22. if Trigger and Trigger.fakeEvent and Trigger.Function then
  23. Trigger.Function(...)
  24. end
  25. end
  26. Mouse.TrigEvent = TriggerEvent
  27. UserInputService.TrigEvent = TriggerEvent
  28. Event.OnServerEvent:Connect(function(FiredBy,Input)
  29. if FiredBy.Name ~= owner.Name then end
  30. if Input.MouseEvent then
  31. Mouse.Target = Input.Target
  32. Mouse.Hit = Input.Hit
  33. else
  34. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  35. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  36. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  37. end
  38. for _,Action in pairs(ContextActionService.Actions) do
  39. for _,Key in pairs(Action.Keys) do
  40. if Key==Input.KeyCode then
  41. Action.Function(Action.Name,Input.UserInputState,Input)
  42. end
  43. end
  44. end
  45. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  46. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  47. end
  48. end)
  49. InternalData["Mouse"] = Mouse
  50. InternalData["ContextActionService"] = ContextActionService
  51. InternalData["UserInputService"] = UserInputService
  52. Event.Parent = NLS([[
  53. local Player = owner
  54. local Event = script:WaitForChild("UserInput")
  55. local UserInputService = game:GetService("UserInputService")
  56. local Mouse = Player:GetMouse()
  57. local Input = function(Input,gameProcessedEvent)
  58. if gameProcessedEvent then return end
  59. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  60. end
  61. UserInputService.InputBegan:Connect(Input)
  62. UserInputService.InputEnded:Connect(Input)
  63. local Hit,Target
  64. while wait(1/30) do
  65. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  66. Hit,Target = Mouse.Hit,Mouse.Target
  67. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  68. end
  69. end
  70. ]],owner.Character)
  71. end
  72. RealGame = game;game = setmetatable({},{
  73. __index = function (self,Index)
  74. local Sandbox = function (Thing)
  75. if Thing:IsA("Player") then
  76. local RealPlayer = Thing
  77. return setmetatable({},{
  78. __index = function (self,Index)
  79. local Type = type(RealPlayer[Index])
  80. if Type == "function" then
  81. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  82. return function (self)
  83. return InternalData["Mouse"]
  84. end
  85. end
  86. return function (self,...)
  87. return RealPlayer[Index](RealPlayer,...)
  88. end
  89. else
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer
  169. print("Complete! Running...")
  170.  
  171. -- if u read this u hab big fat
  172. onlyparticle = Instance.new("ParticleEmitter")
  173.  
  174. --i used stravants Beautifier so it might look a bit wonky
  175. Meshes = {
  176. Blast = '20329976',
  177. Crown = '1323306',
  178. Ring = '3270017',
  179. Claw = '10681506',
  180. Crystal = '9756362',
  181. Coil = '9753878',
  182. Cloud = '1095708',
  183. }
  184. clangsounds = {
  185. '199149119',
  186. '199149109',
  187. '199149072',
  188. '199149025',
  189. '199148971'
  190. }
  191. hitsounds = {
  192. '199149137',
  193. '199149186',
  194. '199149221',
  195. '199149235',
  196. '199149269',
  197. '199149297'
  198. }
  199. blocksounds = {
  200. '199148933',
  201. '199148947'
  202. }
  203. armorsounds = {
  204. '199149321',
  205. '199149338',
  206. '199149367',
  207. '199149409',
  208. '199149452'
  209. }
  210. woosh = {
  211. Heavy1 = '320557353',
  212. Heavy2 = '320557382',
  213. Heavy3 = '320557453',
  214. Heavy4 = '199144226',
  215. Heavy5 = '203691447',
  216. Heavy6 = '203691467',
  217. Heavy7 = '203691492',
  218. Light1 = '320557413',
  219. Light2 = '320557487',
  220. Light3 = '199145095',
  221. Light4 = '199145146',
  222. Light5 = '199145887',
  223. Light6 = '199145913',
  224. Light7 = '199145841',
  225. Medium1 = '320557518',
  226. Medium2 = '320557537',
  227. Medium3 = '320557563',
  228. Medium4 = '199145204'
  229. }
  230. music = {--i like music a lot
  231. Breaking = '179281636',
  232. FinalReckoning = '357375770',
  233. NotDeadYet = '346175829',
  234. Intense = '151514610',
  235. JumpP1 = '160536628',
  236. JumpP2 = '60536666',
  237. SonsOfWar = '158929777',
  238. WrathOfSea = '165520893',
  239. ProtecTorsofEarth = '160542922',
  240. SkyTitans = '179282324',
  241. ArchAngel = '144043274',
  242. Anticipation = '168614529',
  243. TheMartyred = '186849544',
  244. AwakeP1 = '335631255',
  245. AwakeP2 = '335631297',
  246. ReadyAimFireP1 = '342455387',
  247. ReadyAimFireP2 = '342455399',
  248. DarkLordP1 = '209567483',
  249. DarkLordP2 = '209567529',
  250. BloodDrainP1 = '162914123',
  251. BloodDrainP2 = '162914203',
  252. DanceOfSwords = '320473062',
  253. Opal = '286415112',
  254. Calamity = '190454307',
  255. Hypnotica = '155968128',
  256. Nemisis = '160453802',
  257. Breathe = '276963903',
  258. GateToTheRift = '270655227',
  259. InfernalBeserking = '244143404',
  260. Trust = '246184492',
  261. AwakeningTheProject = '245121821',
  262. BloodPain = '242545577',
  263. Chaos = '247241693',
  264. NightmareFictionHighStake = '248062278',
  265. TheWhiteWeapon = '247236446',
  266. Gale = '256851659',
  267. ImperialCode = '256848383',
  268. Blitzkrieg = '306431437',
  269. RhapsodyRage = '348690251',
  270. TheGodFist = '348541501',
  271. BattleForSoul = '321185592',
  272. TheDarkColossus = '305976780',
  273. EmpireOfAngels = '302580452',
  274. Kronos = '302205297',
  275. Exorcist = '299796054',
  276. CrimsonFlames = '297799220',
  277. UltimatePower = '295753229',
  278. DrivingInTheDark = '295753229',
  279. AscendToPower = '293860654',
  280. GodOfTheSun = '293612495',
  281. DarkRider = '293861765',
  282. Vengeance = '293375555',
  283. SoundOfWar = '293376196',
  284. HellsCrusaders = '293012202',
  285. Legend = '293011823',
  286. RisingSouls = '290524959'
  287. }
  288. misc = {
  289. GroundSlam = '199145477',
  290. LaserSlash = '199145497',
  291. RailGunFire = '199145534',
  292. Charge1 = '199145659',
  293. Charge2 = '169380469',
  294. Charge3 = '169380479',
  295. EmptyGun = '203691822',
  296. GunShoot = '203691837',
  297. Stomp1 = '200632875',
  298. Stomp2 = '200632561',
  299. TelsaCannonCharge = '169445572',
  300. TelsaCannonShoot = '169445602',
  301. AncientHymm = '245313442'
  302. }
  303. wait(1 / 60)
  304. local Player = game.Players.localPlayer
  305. local Character = Player.Character
  306. local Humanoid = Character.Humanoid
  307. local mouse = Player:GetMouse()
  308. local m = Instance.new('Model', Character)
  309. m.Name = "WeaponModel"
  310. local LeftArm = Character["Left Arm"]
  311. local RightArm = Character["Right Arm"]
  312. local LeftLeg = Character["Left Leg"]
  313. local RightLeg = Character["Right Leg"]
  314. local Head = Character.Head
  315. local Torso = Character.Torso
  316. local cam = game.Workspace.CurrentCamera
  317. local RootPart = Character.HumanoidRootPart
  318. local RootJoint = RootPart.RootJoint
  319. --cam.CameraSubject = Head
  320. local equipped = false
  321. local attack = false
  322. local Anim = 'Idle'
  323. local idle = 0
  324. local sprint = false
  325. local battlestance = false
  326. local attacktype = 1
  327. local state = 'none'
  328. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  329. local velocity = RootPart.Velocity.y
  330. local sine = 0
  331. local change = 1
  332. local on = false
  333. local grabbed = false
  334. local skill1 = false
  335. local skill2 = false
  336. local skill3 = false
  337. local skill4 = false
  338. local cooldown1 = 0
  339. local cooldown2 = 0
  340. -- if u read this u hab big fat
  341. local cooldown3 = 0
  342. local cooldown4 = 0
  343. local co1 = 10--how long it will take for skill to cooldown
  344. local co2 = 15
  345. local co3 = 15
  346. local co4 = 25
  347. local inputserv = game:GetService('UserInputService')
  348. local typing = false
  349. local crit = false
  350. local critchance = 2--critical chance percentage
  351. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  352. local critdamageaddmax = 7--maximum amount
  353. local maxstamina = 100--max amount of stamina
  354. local stamina = 0--stamina you start out with
  355. local skill1stam = 10--how much stamina is needed for a skill
  356. local skill2stam = 10
  357. local skill3stam = 20
  358. local skill4stam = 30
  359. local recovermana = 3--how much mana per second
  360. local defensevalue = 1--how much defense this character has
  361. local speedvalue = 1--how much speed this character has
  362. --speed is 16*speedvalue
  363. local mindamage = 5--self explanatory
  364. local maxdamage = 7--self explanatory
  365. local damagevalue = 1--how much damage this character has
  366. --damage is math.random(mindamage,maxdamage)*damagevalue
  367. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  368. --asd
  369. local cn = CFrame.new-- make things easier :)
  370. local mr = math.rad
  371. local angles = CFrame.Angles
  372. local ud = UDim2.new
  373. local c3 = Color3.new
  374. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  375. --asd
  376. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  377. Humanoid.Animator:Destroy()
  378.  
  379. --Angles For RootJoint `~`
  380. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  381. --Save Shoulders/Hips
  382. RSH, LSH = nil, nil
  383. RHS, LHS = nil, nil
  384. --Shoulders
  385. RW = Instance.new("Weld")
  386. LW = Instance.new("Weld")
  387. --Hips
  388. RH = Instance.new("Weld")
  389. LH = Instance.new("Weld")
  390. --
  391. Player = Player
  392. ch = Character
  393. LHS = Torso["Left Hip"]
  394. RHS = Torso["Right Hip"]
  395. RSH = ch.Torso["Right Shoulder"]
  396. LSH = ch.Torso["Left Shoulder"]
  397. --
  398. RSH.Parent = nil
  399. LSH.Parent = nil
  400. --
  401. LHS.Parent = nil
  402. RHS.Parent = nil
  403. --
  404. RW.Name = "RW"
  405. RW.Part0 = ch.Torso
  406. RW.C0 = cn(1.5, 0.5, 0)
  407. RW.C1 = cn(0, 0.5, 0)
  408. RW.Part1 = ch["Right Arm"]
  409. RW.Parent = ch.Torso
  410. --
  411. LW.Name = "LW"
  412. LW.Part0 = ch.Torso
  413. LW.C0 = cn(-1.5, 0.5, 0)
  414. LW.C1 = cn(0, 0.5, 0)
  415. LW.Part1 = ch["Left Arm"]
  416. LW.Parent = ch.Torso
  417. --
  418. LH.Name = "LH"
  419. LH.Part0 = ch.Torso
  420. LH.C0 = cn(-0.5, -2, 0)
  421. LH.Part1 = ch["Left Leg"]
  422. LH.Parent = ch.Torso
  423. --
  424. RH.Name = "RH"
  425. RH.Part0 = ch.Torso
  426. RH.C0 = cn(0.5, -2, 0)
  427. RH.Part1 = ch["Right Leg"]
  428. RH.Parent = ch.Torso
  429. -- if u read this u hab big fat
  430.  
  431. Flying = false
  432.  
  433. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  434. if Flying == true then
  435. if jump == "Jump" then
  436. Humanoid.Jump = false
  437. end
  438. end
  439. end)
  440.  
  441. Humanoid.CameraOffset = Vector3.new(0, -2, 0)
  442.  
  443. Torso.Transparency = 1
  444. Head.Transparency = 1
  445. LeftLeg.Transparency = 1
  446. RightLeg.Transparency = 1
  447. LeftArm.Transparency = 1
  448. RightArm.Transparency = 1
  449.  
  450. for i,v in pairs (Character:GetChildren()) do
  451. if v.ClassName == "Hat"
  452. then v:Destroy()
  453. end
  454. end
  455.  
  456. for i,v in pairs (Character.Head:GetChildren()) do
  457. if v.ClassName == "Decal"
  458. then v:Destroy()
  459. end
  460. end
  461.  
  462. Character.Animate:Destroy()
  463.  
  464. local scrn = Instance.new('ScreenGui')
  465. scrn.Parent = nil
  466.  
  467. function makeframe(par, trans, pos, size, color)
  468. local frame = Instance.new('Frame', par)
  469. frame.BackgroundTransparency = trans
  470. frame.BorderSizePixel = 0
  471. frame.Position = pos
  472. frame.Size = size
  473. frame.BackgroundColor3 = color
  474. return frame
  475. end
  476. function makelabel(par, text)
  477. local label = Instance.new('TextLabel', par)
  478. label.BackgroundTransparency = 1
  479. label.Size = ud(1, 0, 1, 0)
  480. label.Position = ud(0, 0, 0, 0)
  481. label.TextColor3 = c3(255, 255, 255)
  482. label.TextStrokeTransparency = 0
  483. label.FontSize = Enum.FontSize.Size32
  484. label.Font = Enum.Font.SourceSansBold
  485. label.BorderSizePixel = 0
  486. label.TextScaled = true
  487. label.Text = text
  488. end
  489. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  490. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  491. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  492. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  493. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  494. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  495. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  496. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  497. text1 = makelabel(framesk1, '[3] Skill3')
  498. text2 = makelabel(framesk2, '[4] Skill4')
  499. text3 = makelabel(framesk3, "[2] Skill2")
  500. text4 = makelabel(framesk4, '[1] Skill1')
  501. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
  502. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
  503. staminatext = makelabel(staminabar, 'Mana')
  504. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  505. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
  506. healthtext = makelabel(healthbar, 'Health')
  507.  
  508. local stats = Instance.new('Folder', Character)
  509. stats.Name = 'Stats'
  510. local block = Instance.new('BoolValue', stats)
  511. block.Name = 'Block'
  512. block.Value = false
  513. local stun = Instance.new('BoolValue', stats)
  514. stun.Name = 'Stun'
  515. stun.Value = false
  516. local defense = Instance.new('NumberValue', stats)
  517. defense.Name = 'Defence'
  518. defense.Value = defensevalue
  519. local speed = Instance.new('NumberValue', stats)
  520. speed.Name = 'Speed'
  521. speed.Value = speedvalue
  522. local damagea = Instance.new('NumberValue', stats)
  523. damagea.Name = 'Damage'
  524. damagea.Value = damagevalue
  525.  
  526. function atktype(s, e)
  527. coroutine.resume(coroutine.create(function()
  528. attacktype = e
  529. wait(1.5)
  530. attacktype = s
  531. end))
  532. end
  533.  
  534. function turncrit()
  535. coroutine.resume(coroutine.create(function()
  536. print'CRITICAL!'
  537. crit = true
  538. wait(.25)
  539. crit = false
  540. end))
  541. end
  542.  
  543. function subtractstamina(k)
  544. if stamina >= k then
  545. stamina = stamina - k
  546. end
  547. end
  548.  
  549. function clerp(a, b, t)
  550. return a:lerp(b, t)
  551. end
  552.  
  553. function randomizer(percent)
  554. local randomized = math.random(0, 100)
  555. if randomized <= percent then
  556. return true
  557. elseif randomized >= percent then
  558. return false
  559. end
  560. end
  561.  
  562. local RbxUtility = LoadLibrary("RbxUtility")
  563. local Create = RbxUtility.Create
  564.  
  565. function RemoveOutlines(part)
  566. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  567. end
  568.  
  569. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  570. local Part = Create("Part"){
  571. formFactor = FormFactor,
  572. Parent = Parent,
  573. Reflectance = Reflectance,
  574. Transparency = Transparency,
  575. CanCollide = false,
  576. Locked = true,
  577. BrickColor = BrickColor.new(tostring(BColor)),
  578. Name = Name,
  579. Size = Size,
  580. Material = Material,
  581. }
  582. RemoveOutlines(Part)
  583. return Part
  584. end
  585.  
  586. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  587. local Msh = Create(Mesh){
  588. Parent = Part,
  589. Offset = OffSet,
  590. Scale = Scale,
  591. }
  592. if Mesh == "SpecialMesh" then
  593. Msh.MeshType = MeshType
  594. Msh.MeshId = MeshId
  595. end
  596. return Msh
  597. end
  598.  
  599. function CreateWeld(Parent, Part0, Part1, C0, C1)
  600. local Weld = Create("Weld"){
  601. Parent = Parent,
  602. Part0 = Part0,
  603. Part1 = Part1,
  604. C0 = C0,
  605. C1 = C1,
  606. }
  607. return Weld
  608. end
  609. -- if u read this u hab big fat
  610.  
  611. function rayCast(pos, dir, maxl, ignore)
  612. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  613. end
  614. --Effects
  615. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  616. local p = Instance.new('Part', par or workspace)
  617. p.CFrame = pos1
  618. p.Anchored = true
  619. p.Material = 'SmoothPlastic'
  620. p.CanCollide = false
  621. p.TopSurface = 0
  622. p.Size = Vector3.new(1, 1, 1)
  623. p.BottomSurface = 0
  624. p.Transparency = trans
  625. p.FormFactor = 'Custom'
  626. RemoveOutlines(p)
  627. local mesh = Instance.new('SpecialMesh', p)
  628. mesh.Scale = size
  629. if id ~= nil and type == nil then
  630. mesh.MeshId = 'rbxassetid://'..id
  631. elseif id == nil and type ~= nil then
  632. mesh.MeshType = type
  633. elseif id == nil and type == nil then
  634. mesh.MeshType = 'Brick'
  635. end
  636. coroutine.wrap(function()
  637. for i = 0, delay1, .1 do
  638. wait(1 / 60)
  639. p.CFrame = p.CFrame
  640. mesh.Scale = mesh.Scale + howmuch
  641. p.Transparency = p.Transparency + trans1
  642. end
  643. p:Destroy()
  644. end)()
  645. return p
  646. end
  647. function clangy(cframe)
  648. wait(1 / 60)
  649. local clang = {}
  650. local dis = 0
  651. local part = Instance.new('Part', nil)
  652. part.CFrame = cframe
  653. part.Anchored = true
  654. part.CanCollide = false
  655. part.BrickColor = BrickColor.new('New Yeller')
  656. part.FormFactor = 'Custom'
  657. part.Name = 'clanger'
  658. part.Size = Vector3.new(.2, .2, .2)
  659. part.TopSurface = 10
  660. part.BottomSurface = 10
  661. part.RightSurface = 10
  662. part.LeftSurface = 10
  663. part.BackSurface = 10
  664. part.FrontSurface = 10
  665. --part.Material='Neon'
  666. part:BreakJoints()
  667. local mesh = Instance.new('BlockMesh', part)
  668. coroutine.wrap(function()
  669. for i = 1, 7 do
  670. wait(1 / 60)
  671. dis = dis + .2
  672. local partc = part:clone()
  673. partc.Parent = workspace
  674. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  675. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  676. table.insert(clang, partc)
  677. end
  678. for i, v in pairs(clang) do
  679. coroutine.wrap(function()
  680. for i = 1, 10 do
  681. wait(.01)
  682. v.Transparency = v.Transparency + .1
  683. end
  684. v:destroy()
  685. end)()
  686. end
  687. end)()
  688. end
  689. --damage effects
  690. function circle(color, pos1)
  691. local p = Instance.new('Part', m)
  692. p.BrickColor = BrickColor.new(color)
  693. p.CFrame = pos1
  694. p.Anchored = true
  695. p.Material = 'Plastic'
  696. p.CanCollide = false
  697. p.TopSurface = 0
  698. p.Size = Vector3.new(1, 1, 1)
  699. p.BottomSurface = 0
  700. p.Transparency = 0.35
  701. p.FormFactor = 'Custom'
  702. local mesh = Instance.new('CylinderMesh', p)
  703. mesh.Scale = Vector3.new(0, 0, 0)
  704. coroutine.wrap(function()
  705. for i = 0, 5, .1 do
  706. wait(1 / 60)
  707. p.CFrame = p.CFrame
  708. mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  709. p.Transparency = p.Transparency + .025
  710. end
  711. p:Destroy()
  712. end)()
  713. end
  714. function firespaz1(color, pos1)
  715. local p = Instance.new('Part', m)
  716. p.BrickColor = BrickColor.new(color)
  717. p.CFrame = pos1
  718. p.Anchored = true
  719. p.Material = 'Plastic'
  720. p.CanCollide = false
  721. p.TopSurface = 0
  722. p.Size = Vector3.new(1, 1, 1)
  723. p.BottomSurface = 0
  724. p.Transparency = 0.5
  725. p.FormFactor = 'Custom'
  726. local mesh = Instance.new('BlockMesh', p)
  727. mesh.Scale = Vector3.new(1, 1, 1)
  728. coroutine.wrap(function()
  729. for i = 0, 15, .1 do
  730. wait(1 / 30)
  731. p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
  732. mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  733. p.Transparency = p.Transparency + .025
  734. end
  735. p:Destroy()
  736. end)()
  737. end
  738.  
  739. function pickrandom(tablesa)
  740. local randomized = tablesa[math.random(1, #tablesa)]
  741. return randomized
  742. end
  743. function sound(id, pitch, volume, par, last)
  744. local s = Instance.new('Sound', par or Torso)
  745. s.SoundId = 'rbxassetid://'..id
  746. s.Pitch = pitch or 1
  747. s.Volume = volume or 1
  748. wait()
  749. s:play()
  750. game.Debris:AddItem(s, last or 120)
  751. end
  752. function clangy(cframe)
  753. wait(1 / 60)
  754. local clang = {}
  755. local dis = 0
  756. local part = Instance.new('Part', nil)
  757. part.CFrame = cframe
  758. part.Anchored = true
  759. part.CanCollide = false
  760. part.BrickColor = BrickColor.new('New Yeller')
  761. part.FormFactor = 'Custom'
  762. part.Name = 'clanger'
  763. part.Size = Vector3.new(.2, .2, .2)
  764. part.TopSurface = 10
  765. part.BottomSurface = 10
  766. part.RightSurface = 10
  767. part.LeftSurface = 10
  768. part.BackSurface = 10
  769. part.FrontSurface = 10
  770. --part.Material='Neon'
  771. part:BreakJoints()
  772. local mesh = Instance.new('BlockMesh', part)
  773. coroutine.wrap(function()
  774. for i = 1, 7 do
  775. wait(1 / 60)
  776. dis = dis + .2
  777. local partc = part:clone()
  778. partc.Parent = workspace
  779. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  780. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  781. table.insert(clang, partc)
  782. end
  783. for i, v in pairs(clang) do
  784. coroutine.wrap(function()
  785. for i = 1, 10 do
  786. wait(.01)
  787. v.Transparency = v.Transparency + .1
  788. end
  789. v:destroy()
  790. end)()
  791. end
  792. end)()
  793. end
  794. --damage effects
  795. --Effects
  796. so = function(id, par, vol, pit)
  797. coroutine.resume(coroutine.create(function()
  798. local sou = Instance.new("Sound", par or workspace)
  799. sou.Volume = vol
  800. sou.Pitch = pit or 1
  801. sou.SoundId = id
  802. wait()
  803. sou:play()
  804. game:GetService("Debris"):AddItem(sou, 6)
  805. end))
  806. end
  807.  
  808. local function getclosest(obj, distance)
  809. local last, lastx = distance + 1
  810. for i, v in pairs(workspace:GetChildren()) do
  811. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  812. local t = v.Torso
  813. local dist = (t.Position - obj.Position).magnitude
  814. if dist <= distance then
  815. if dist < last then
  816. last = dist
  817. lastx = v
  818. end
  819. end
  820. end
  821. end
  822. return lastx
  823. end
  824.  
  825. function makegui(cframe, text)
  826. local a = math.random(-10, 10) / 100
  827. local c = Instance.new("Part")
  828. c.Transparency = 1
  829. Instance.new("BodyGyro").Parent = c
  830. c.Parent = m
  831. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  832. local f = Instance.new("BodyPosition")
  833. f.P = 2000
  834. f.D = 100
  835. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  836. f.position = c.Position + Vector3.new(0, 3, 0)
  837. f.Parent = c
  838. game:GetService("Debris"):AddItem(c, .5 + 6)
  839. c.CanCollide = false
  840. m.Parent = workspace
  841. c.CanCollide = false
  842. local bg = Instance.new('BillboardGui', m)
  843. bg.Adornee = c
  844. bg.Size = UDim2.new(1, 0, 1, 0)
  845. bg.StudsOffset = Vector3.new(0, 0, 0)
  846. bg.AlwaysOnTop = false
  847. local tl = Instance.new('TextLabel', bg)
  848. tl.BackgroundTransparency = 1
  849. tl.Size = UDim2.new(1, 0, 1, 0)
  850. tl.Text = text
  851. tl.Font = 'SourceSansBold'
  852. tl.FontSize = 'Size42'
  853. if crit == true then
  854. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  855. else
  856. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  857. end
  858. tl.TextStrokeTransparency = 0
  859. tl.TextScaled = true
  860. tl.TextWrapped = true
  861. coroutine.wrap(function()
  862. wait(2)
  863. for i = 1, 10 do
  864. wait()
  865. tl.TextTransparency = tl.TextTransparency + .1
  866. end
  867. end)()
  868. end
  869.  
  870. function tag(hum, Player)
  871. local creator = Instance.new('ObjectValue', hum)
  872. creator.Value = Player
  873. creator.Name = 'creator'
  874. end
  875. function untag(hum)
  876. if hum ~= nil then
  877. local tag = hum:findFirstChild("creator")
  878. if tag ~= nil then
  879. tag.Parent = nil
  880. end
  881. end
  882. end
  883.  
  884. function tagPlayer(h)
  885. coroutine.wrap(function()
  886. tag(h, Player)
  887. wait(1)
  888. untag(h)
  889. end)()
  890. end
  891. function damage(hit, mind, maxd, knock, type, prop)
  892. --[[
  893. to apply it to a Player directly, make the first arg go to the Players Torso
  894. 1 - normal type(damage and knockback)
  895. 2 - drain type(damage no knockback)
  896. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  897. 4 - heal(heals target)
  898. 5 - subtracts enemies defense
  899. 6 - subtracts enemies speed
  900. 7 -
  901. ]]
  902. if hit.Name:lower() == 'Hitbox' then
  903. local pos = CFrame.new(0, 1, -1)
  904. sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
  905. coroutine.wrap(function()
  906. for i = 1, 4 do
  907. clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
  908. end
  909. end)()
  910. end
  911. if hit.Parent == nil then
  912. return
  913. end
  914. local h = hit.Parent:FindFirstChild("Humanoid")
  915. for i, v in pairs(hit.Parent:children()) do
  916. if v:IsA("Humanoid") then
  917. h = v
  918. end
  919. end
  920. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  921. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  922. end
  923. if hit.Parent:IsA('Hat') then
  924. hit = hit.Parent.Parent:findFirstChild('Head')
  925. end
  926. local D = math.random(mind, maxd) * damagea.Value
  927. if h.Parent:FindFirstChild('Stats') then
  928. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  929. elseif not h.Parent:FindFirstChild('Stats') then
  930. D = D
  931. end
  932. if h then
  933. makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  934. end
  935. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  936. if type == 1 then
  937. tagPlayer(h)
  938. local asd = randomizer(critchance)
  939. if asd == true then
  940. turncrit()
  941. end
  942. if crit == false then
  943. h.Health = h.Health - D
  944. else
  945. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  946. end
  947. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  948. local vp = Instance.new('BodyVelocity')
  949. vp.P = 500
  950. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  951. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  952. if knock > 0 then
  953. vp.Parent = hit.Parent.Torso
  954. end
  955. game:GetService("Debris"):AddItem(vp, .5)
  956. elseif type == 2 then
  957. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  958. local asd = randomizer(critchance)
  959. if asd == true then
  960. turncrit()
  961. end
  962. if crit == false then
  963. h.Health = h.Health - D
  964. else
  965. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  966. end
  967. tagPlayer(h)
  968. elseif type == 3 then
  969. tagPlayer(h)
  970. local asd = randomizer(critchance)
  971. if asd == true then
  972. turncrit()
  973. end
  974. if crit == false then
  975. h.Health = h.Health - D
  976. else
  977. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  978. end
  979. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  980. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  981. for i = 1, 10 do
  982. firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  983. end
  984. elseif type == 4 then
  985. h.Health = h.Health + D
  986. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  987. circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
  988. end
  989. end
  990. end
  991. -- if u read this u hab big fat
  992. function subtrackstamina(k)
  993. if stamina >= k then
  994. stamina = stamina - k
  995. end
  996. end
  997. -- if u read this u hab big fat
  998. Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998))
  999. Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006))
  1000. CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1001. LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1002. LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945))
  1003. CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1004. LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1005. LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588))
  1006. CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1007. NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1008. NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1009. CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1010. RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1011. RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199))
  1012. CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1013. RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1014. RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441))
  1015. CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1016. TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1017. TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1018. CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1019. Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Alder","Wings",Vector3.new(1.38, 0.600000024, 0.400000006))
  1020. Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0))
  1021. CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093))
  1022. HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  1023. HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847))
  1024. CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1025. HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  1026. HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0))
  1027. CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1028. BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993))
  1029. BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992))
  1030. CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1031. BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919))
  1032. BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686))
  1033. CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1034. Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Head",Vector3.new(1.59999979, 1, 1.19999993))
  1035. Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1))
  1036. CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1037. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  1038. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422))
  1039. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1040. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Alder","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  1041. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958))
  1042. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1043. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Alder","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  1044. -- if u read this u hab big fat
  1045. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051))
  1046. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1047. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  1048. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031))
  1049. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1050. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  1051. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1))
  1052. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1053. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  1054. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1))
  1055. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1056. LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1057. LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
  1058. CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1059. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1060. Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
  1061. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1062. LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1063. LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
  1064. CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1065. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1066. Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
  1067. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1068. RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1069. RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
  1070. CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1071. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1072. Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
  1073. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1074. RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  1075. RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
  1076. CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1077. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  1078. Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
  1079. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1080. NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1081. NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1082. CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1083. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994))
  1084. Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1085. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1086. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1.5999999, 1, 1.39999998))
  1087. Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847))
  1088. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1089. TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  1090. TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1091. CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1092. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994))
  1093. Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  1094. -- if u read this u hab big fat
  1095. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1096. Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  1097. Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622))
  1098. CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1099. Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  1100. Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
  1101. CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1102. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952))
  1103. Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
  1104. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1105. Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  1106. Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942))
  1107. CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1108. Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  1109. Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  1110. CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1111. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Alder","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003))
  1112. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  1113. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1114. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Alder","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  1115. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1))
  1116. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1117. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Alder","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  1118. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907))
  1119. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1120. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952))
  1121. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  1122. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1123.  
  1124. mouse.Button1Down:connect(function()
  1125. end)
  1126.  
  1127.  
  1128. inputserv.InputBegan:connect(function(k)
  1129. if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  1130. elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  1131. elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  1132. elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  1133. end
  1134. end)
  1135.  
  1136. inputserv.InputBegan:connect(function(k)
  1137. if k.KeyCode == Enum.KeyCode.Slash then
  1138. local fin = nil
  1139. typing = true
  1140. fin = inputserv.InputBegan:connect(function(k)
  1141. if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  1142. typing = false
  1143. fin:disconnect()
  1144. end
  1145. end)
  1146. end
  1147. end)
  1148.  
  1149. function updateskills()
  1150. if cooldown1 <= co1 then
  1151. cooldown1 = cooldown1 + 1 / 30
  1152. end
  1153. if cooldown2 <= co2 then
  1154. cooldown2 = cooldown2 + 1 / 30
  1155. end
  1156. if cooldown3 <= co3 then
  1157. cooldown3 = cooldown3 + 1 / 30
  1158. end
  1159. if cooldown4 <= co4 then
  1160. cooldown4 = cooldown4 + 1 / 30
  1161. end
  1162. if stamina <= maxstamina then
  1163. stamina = stamina + recovermana / 30
  1164. end
  1165. end
  1166.  
  1167. coroutine.resume(coroutine.create(function(Part,Weld)
  1168. while Part.Parent~=nil do
  1169. wait(5)
  1170. for i=0,1,0.2 do
  1171. wait()
  1172. BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1173. end
  1174. for i=0,1,0.2 do
  1175. wait()
  1176. BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1177. end
  1178. end
  1179. end),BlinkPartR,BlinkPartRweld)
  1180.  
  1181. coroutine.resume(coroutine.create(function(Part,Weld)
  1182. while Part.Parent~=nil do
  1183. wait(5)
  1184. for i=0,1,0.2 do
  1185. wait()
  1186. BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1187. end
  1188. for i=0,1,0.2 do
  1189. wait()
  1190. BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1191. end
  1192. end
  1193. end),BlinkPartL,BlinkPartLweld)
  1194.  
  1195. game:GetService'RunService'.Heartbeat:connect(function()
  1196. updateskills()
  1197. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1198. velocity = RootPart.Velocity.y
  1199. sine = sine + change
  1200. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1201. if equipped == true or equipped == false then
  1202. if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  1203. Anim = "Jump"
  1204. if attack == false then
  1205. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3)
  1206. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1207. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1208. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1209. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1210. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1211. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1212. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1213. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1214. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1215. end
  1216. elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  1217. Anim = "Fall"
  1218. if attack == false then
  1219. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1220. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
  1221. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1222. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1223. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1224. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1225. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1226. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1227. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1228. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1229. end
  1230. elseif Torsovelocity < 1 then
  1231. Anim = "Idle"
  1232. if Flying == false then
  1233. change = 1
  1234. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1235. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3)
  1236. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3)
  1237. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1238. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1239. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1240. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1241. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3)
  1242. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3)
  1243. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3)
  1244. elseif Flying == true then
  1245. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  1246. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3)
  1247. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3)
  1248. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1249. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1250. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1251. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1252. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3)
  1253. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3)
  1254. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3)
  1255. end
  1256. elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
  1257. Anim = "Walk"
  1258. if attack == false and Flying == false then
  1259. change = 1
  1260. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  1261. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
  1262. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3)
  1263. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
  1264. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1265. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1266. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
  1267. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1268. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3)
  1269. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1270. elseif attack == false and Flying == true then
  1271. change = 1
  1272. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1273. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3)
  1274. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3)
  1275. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1276. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1277. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1278. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1279. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3)
  1280. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
  1281. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3)
  1282. end
  1283. end
  1284. end
  1285. end)
  1286.  
  1287. local d = game.Players.LocalPlayer.Character:GetChildren()
  1288. for i=1, #d do
  1289. if (d[i].className == "Accessory") then
  1290. d[i]:remove()
  1291. end
  1292. end
  1293.  
  1294. local plr = game.Players.LocalPlayer
  1295. plr.Character.Humanoid.MaxHealth = math.huge
  1296. Instance.new("ForceField",plr.Character).Visible = false
  1297.  
  1298. function firework()
  1299. local varx = math.random(-15,15)
  1300. wait()
  1301. local vary = math.random(-15,15)
  1302. wait()
  1303. local ran = math.random(0,6)
  1304. wait()
  1305. if ran == 0 then
  1306. color1 = Color3.fromRGB(255,0,255) -- memo colors
  1307. color2 = Color3.fromRGB(47,0,143)
  1308. elseif ran == 1 then
  1309. color1 = Color3.fromRGB(255,0,255)
  1310. color2 = Color3.fromRGB(255,255,255)
  1311. elseif ran == 2 then
  1312. color1 = Color3.fromRGB(255,0,255)
  1313. color2 = Color3.fromRGB(255,175,255)
  1314. elseif ran == 3 then
  1315. color1 = Color3.fromRGB(255,255,255)
  1316. color2 = Color3.fromRGB(255,0,255)
  1317. elseif ran == 4 then
  1318. color1 = Color3.fromRGB(255,175,255)
  1319. color2 = Color3.fromRGB(255,0,255)
  1320. elseif ran == 5 then
  1321. color1 = Color3.fromRGB(255,255,255)
  1322. color2 = Color3.fromRGB(255,100,255)
  1323. elseif ran == 6 then
  1324. color1 = Color3.fromRGB(55,0,55)
  1325. color2 = Color3.fromRGB(175,0,255)
  1326. end
  1327. local ParticleEmittera = onlyparticle:Clone()
  1328. local ParticleEmitter1 = onlyparticle:Clone()
  1329. local ParticleEmitter2 = onlyparticle:Clone()
  1330. local ParticleEmitter3 = onlyparticle:Clone()
  1331. local ParticleEmitter4 = onlyparticle:Clone()
  1332. local ParticleEmitter5 = onlyparticle:Clone()
  1333. wait()
  1334. local SoundPitch =0.9+math.random()*.5
  1335. wait()
  1336. local firework = Instance.new("Part",workspace)
  1337. local sound1 = Instance.new("Sound",firework)
  1338. sound1.SoundId = "rbxassetid://858818415"
  1339. sound1.Volume = 5
  1340. sound1.Pitch = SoundPitch
  1341. local sound2 = Instance.new("Sound",firework)
  1342. sound2.SoundId = "rbxassetid://884087543"
  1343. sound2.Volume = 5
  1344. sound2.Pitch = SoundPitch
  1345. local sound3 = Instance.new("Sound",firework)
  1346. sound3.SoundId = "rbxassetid://858818261"
  1347. sound3.Volume = 10
  1348. sound3.Pitch = 0.9+math.random()*.5
  1349. sound1:Play()
  1350. sound2:Play()
  1351. ParticleEmittera.Parent = firework
  1352. ParticleEmittera.Speed = NumberRange.new(65, 65)
  1353. ParticleEmittera.Color = ColorSequence.new(color1,color1)
  1354. ParticleEmittera.Enabled = false
  1355. ParticleEmittera.LightEmission = 1
  1356. ParticleEmittera.LightInfluence = 0
  1357. ParticleEmittera.Texture = "rbxassetid://1280736246"
  1358. ParticleEmittera.Transparency = NumberSequence.new(0.5,0.5)
  1359. ParticleEmittera.Size = NumberSequence.new(3,3)
  1360. ParticleEmittera.Lifetime = NumberRange.new(3, 5)
  1361. ParticleEmittera.Rate = 100
  1362. ParticleEmittera.RotSpeed = NumberRange.new(10, 10)
  1363. ParticleEmittera.SpreadAngle = Vector2.new(360, 360)
  1364. ParticleEmittera.VelocitySpread = 360
  1365. ParticleEmitter1.Parent = firework
  1366. ParticleEmitter1.Speed = NumberRange.new(65, 65)
  1367. ParticleEmitter1.Color = ColorSequence.new(color2,color2)
  1368. ParticleEmitter1.Enabled = false
  1369. ParticleEmitter1.LightEmission = 1
  1370. ParticleEmitter1.LightInfluence = 0
  1371. ParticleEmitter1.Texture = "rbxassetid://1280736246"
  1372. ParticleEmitter1.Transparency = NumberSequence.new(0.5,0.5)
  1373. ParticleEmitter1.Size = NumberSequence.new(3,3)
  1374. ParticleEmitter1.Lifetime = NumberRange.new(3, 5)
  1375. ParticleEmitter1.Rate = 100
  1376. ParticleEmitter1.RotSpeed = NumberRange.new(10, 10)
  1377. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  1378. ParticleEmitter1.VelocitySpread = 360
  1379. ParticleEmitter2.Parent = firework
  1380. ParticleEmitter2.Speed = NumberRange.new(65, 65)
  1381. ParticleEmitter2.Color = ColorSequence.new(color1,color1)
  1382. ParticleEmitter2.Enabled = false
  1383. ParticleEmitter2.LightEmission = 1
  1384. ParticleEmitter2.LightInfluence = 0
  1385. ParticleEmitter2.Texture = "rbxassetid://1280736246"
  1386. ParticleEmitter2.Transparency = NumberSequence.new(0.5,0.5)
  1387. ParticleEmitter2.Size = NumberSequence.new(3,3)
  1388. ParticleEmitter2.Lifetime = NumberRange.new(3, 5)
  1389. ParticleEmitter2.Rate = 100
  1390. ParticleEmitter2.RotSpeed = NumberRange.new(10, 10)
  1391. ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
  1392. ParticleEmitter2.VelocitySpread = 360
  1393. ParticleEmitter3.Parent = firework
  1394. ParticleEmitter3.Speed = NumberRange.new(65, 65)
  1395. ParticleEmitter3.Color = ColorSequence.new(color2,color2)
  1396. ParticleEmitter3.Enabled = false
  1397. ParticleEmitter3.LightEmission = 1
  1398. ParticleEmitter3.LightInfluence = 0
  1399. ParticleEmitter3.Texture = "rbxassetid://1280736246"
  1400. ParticleEmitter3.Transparency = NumberSequence.new(0.5,0.5)
  1401. ParticleEmitter3.Size = NumberSequence.new(3,3)
  1402. ParticleEmitter3.Lifetime = NumberRange.new(3, 5)
  1403. ParticleEmitter3.Rate = 100
  1404. ParticleEmitter3.RotSpeed = NumberRange.new(10, 10)
  1405. ParticleEmitter3.SpreadAngle = Vector2.new(360, 360)
  1406. ParticleEmitter3.VelocitySpread = 360
  1407. ParticleEmitter4.Parent = firework
  1408. ParticleEmitter4.Speed = NumberRange.new(65, 65)
  1409. ParticleEmitter4.Color = ColorSequence.new(color1,color1)
  1410. ParticleEmitter4.Enabled = false
  1411. ParticleEmitter4.LightEmission = 1
  1412. ParticleEmitter4.LightInfluence = 0
  1413. ParticleEmitter4.Texture = "rbxassetid://1280736246"
  1414. ParticleEmitter4.Transparency = NumberSequence.new(0.5,0.5)
  1415. ParticleEmitter4.Size = NumberSequence.new(3,3)
  1416. ParticleEmitter4.Lifetime = NumberRange.new(3, 5)
  1417. ParticleEmitter4.Rate = 100
  1418. ParticleEmitter4.RotSpeed = NumberRange.new(10, 10)
  1419. ParticleEmitter4.SpreadAngle = Vector2.new(360, 360)
  1420. ParticleEmitter4.VelocitySpread = 360
  1421. ParticleEmitter5.Parent = firework
  1422. ParticleEmitter5.Speed = NumberRange.new(65, 65)
  1423. ParticleEmitter5.Color = ColorSequence.new(color2,color2)
  1424. ParticleEmitter5.Enabled = false
  1425. ParticleEmitter5.LightEmission = 1
  1426. ParticleEmitter5.LightInfluence = 0
  1427. ParticleEmitter5.Texture = "rbxassetid://1280736246"
  1428. ParticleEmitter5.Transparency = NumberSequence.new(0.5,0.5)
  1429. ParticleEmitter5.Size = NumberSequence.new(3,3)
  1430. ParticleEmitter5.Lifetime = NumberRange.new(3, 5)
  1431. ParticleEmitter5.Rate = 100
  1432. ParticleEmitter5.RotSpeed = NumberRange.new(10, 10)
  1433. ParticleEmitter5.SpreadAngle = Vector2.new(360, 360)
  1434. ParticleEmitter5.VelocitySpread = 360
  1435. firework.CFrame = mouse.Hit
  1436. firework.Color = color1
  1437. firework.Size = Vector3.new(1.1, 2.613, 0.964)
  1438. firework.Orientation = Vector3.new(varx,0,vary)
  1439. local ParticleEmitter0 = onlyparticle:Clone()
  1440. ParticleEmitter0.Parent = firework
  1441. ParticleEmitter0.Speed = NumberRange.new(-10, -10)
  1442. ParticleEmitter0.LightEmission = 1
  1443. ParticleEmitter0.LightInfluence = 0
  1444. ParticleEmitter0.Texture = "rbxassetid://1028077058"
  1445. ParticleEmitter0.Transparency = NumberSequence.new(0.5,0.5)
  1446. ParticleEmitter0.Size = NumberSequence.new(2,2)
  1447. ParticleEmitter0.Lifetime = NumberRange.new(0.25, 1)
  1448. ParticleEmitter0.Rate = 25
  1449. ParticleEmitter0.SpreadAngle = Vector2.new(10, 10)
  1450. ParticleEmitter0.VelocitySpread = 10
  1451. local g=Instance.new("BodyThrust",firework)
  1452. g.Force = Vector3.new(0,600,0)
  1453. wait(1.5)
  1454. firework.Anchored = true
  1455. firework.CanCollide = false
  1456. firework.Transparency = 1
  1457. ParticleEmitter0.Enabled = false
  1458. wait()
  1459. sound3:Play()
  1460. ParticleEmittera.Enabled = true
  1461. ParticleEmitter1.Enabled = true
  1462. ParticleEmitter2.Enabled = true
  1463. ParticleEmitter3.Enabled = true
  1464. ParticleEmitter4.Enabled = true
  1465. ParticleEmitter5.Enabled = true
  1466. wait(.25)
  1467. ParticleEmittera.Enabled = false
  1468. ParticleEmitter1.Enabled = false
  1469. ParticleEmitter2.Enabled = false
  1470. ParticleEmitter3.Enabled = false
  1471. ParticleEmitter4.Enabled = false
  1472. ParticleEmitter5.Enabled = false
  1473. wait(3)
  1474. firework.Parent = nil
  1475. end
  1476.  
  1477. function firedoeswork()
  1478. local varx = math.random(-15,15)
  1479. wait()
  1480. local vary = math.random(-15,15)
  1481. wait()
  1482. local ran = math.random(0,6)
  1483. wait()
  1484. local x = math.random(-50,50)
  1485. wait()
  1486. local z = math.random(-50,50)
  1487. if ran == 0 then
  1488. color1 = Color3.fromRGB(255,0,255) -- memo colors
  1489. color2 = Color3.fromRGB(47,0,143)
  1490. elseif ran == 1 then
  1491. color1 = Color3.fromRGB(255,0,255)
  1492. color2 = Color3.fromRGB(255,255,255)
  1493. elseif ran == 2 then
  1494. color1 = Color3.fromRGB(255,0,255)
  1495. color2 = Color3.fromRGB(255,175,255)
  1496. elseif ran == 3 then
  1497. color1 = Color3.fromRGB(255,255,255)
  1498. color2 = Color3.fromRGB(255,0,255)
  1499. elseif ran == 4 then
  1500. color1 = Color3.fromRGB(255,175,255)
  1501. color2 = Color3.fromRGB(255,0,255)
  1502. elseif ran == 5 then
  1503. color1 = Color3.fromRGB(255,255,255)
  1504. color2 = Color3.fromRGB(255,100,255)
  1505. elseif ran == 6 then
  1506. color1 = Color3.fromRGB(55,0,55)
  1507. color2 = Color3.fromRGB(175,0,255)
  1508. end
  1509. local ParticleEmittera = onlyparticle:Clone()
  1510. local ParticleEmitter1 = onlyparticle:Clone()
  1511. local ParticleEmitter2 = onlyparticle:Clone()
  1512. local ParticleEmitter3 = onlyparticle:Clone()
  1513. local ParticleEmitter4 = onlyparticle:Clone()
  1514. local ParticleEmitter5 = onlyparticle:Clone()
  1515. wait()
  1516. local SoundPitch =0.9+math.random()*.5
  1517. wait()
  1518. local firework = Instance.new("Part",workspace)
  1519. local sound1 = Instance.new("Sound",firework)
  1520. sound1.SoundId = "rbxassetid://858818415"
  1521. sound1.Volume = 5
  1522. sound1.Pitch = SoundPitch
  1523. local sound2 = Instance.new("Sound",firework)
  1524. sound2.SoundId = "rbxassetid://884087543"
  1525. sound2.Volume = 5
  1526. sound2.Pitch = SoundPitch
  1527. local sound3 = Instance.new("Sound",firework)
  1528. sound3.SoundId = "rbxassetid://858818261"
  1529. sound3.Volume = 10
  1530. sound3.Pitch = 0.9+math.random()*.5
  1531. sound1:Play()
  1532. sound2:Play()
  1533. ParticleEmittera.Parent = firework
  1534. ParticleEmittera.Speed = NumberRange.new(65, 65)
  1535. ParticleEmittera.Color = ColorSequence.new(color1,color1)
  1536. ParticleEmittera.Enabled = false
  1537. ParticleEmittera.LightEmission = 1
  1538. ParticleEmittera.LightInfluence = 0
  1539. ParticleEmittera.Texture = "rbxassetid://1280736246"
  1540. ParticleEmittera.Transparency = NumberSequence.new(0.5,0.5)
  1541. ParticleEmittera.Size = NumberSequence.new(3,3)
  1542. ParticleEmittera.Lifetime = NumberRange.new(3, 5)
  1543. ParticleEmittera.Rate = 100
  1544. ParticleEmittera.RotSpeed = NumberRange.new(10, 10)
  1545. ParticleEmittera.SpreadAngle = Vector2.new(360, 360)
  1546. ParticleEmittera.VelocitySpread = 360
  1547. ParticleEmitter1.Parent = firework
  1548. ParticleEmitter1.Speed = NumberRange.new(65, 65)
  1549. ParticleEmitter1.Color = ColorSequence.new(color2,color2)
  1550. ParticleEmitter1.Enabled = false
  1551. ParticleEmitter1.LightEmission = 1
  1552. ParticleEmitter1.LightInfluence = 0
  1553. ParticleEmitter1.Texture = "rbxassetid://1280736246"
  1554. ParticleEmitter1.Transparency = NumberSequence.new(0.5,0.5)
  1555. ParticleEmitter1.Size = NumberSequence.new(3,3)
  1556. ParticleEmitter1.Lifetime = NumberRange.new(3, 5)
  1557. ParticleEmitter1.Rate = 100
  1558. ParticleEmitter1.RotSpeed = NumberRange.new(10, 10)
  1559. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  1560. ParticleEmitter1.VelocitySpread = 360
  1561. ParticleEmitter2.Parent = firework
  1562. ParticleEmitter2.Speed = NumberRange.new(65, 65)
  1563. ParticleEmitter2.Color = ColorSequence.new(color1,color1)
  1564. ParticleEmitter2.Enabled = false
  1565. ParticleEmitter2.LightEmission = 1
  1566. ParticleEmitter2.LightInfluence = 0
  1567. ParticleEmitter2.Texture = "rbxassetid://1280736246"
  1568. ParticleEmitter2.Transparency = NumberSequence.new(0.5,0.5)
  1569. ParticleEmitter2.Size = NumberSequence.new(3,3)
  1570. ParticleEmitter2.Lifetime = NumberRange.new(3, 5)
  1571. ParticleEmitter2.Rate = 100
  1572. ParticleEmitter2.RotSpeed = NumberRange.new(10, 10)
  1573. ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
  1574. ParticleEmitter2.VelocitySpread = 360
  1575. ParticleEmitter3.Parent = firework
  1576. ParticleEmitter3.Speed = NumberRange.new(65, 65)
  1577. ParticleEmitter3.Color = ColorSequence.new(color2,color2)
  1578. ParticleEmitter3.Enabled = false
  1579. ParticleEmitter3.LightEmission = 1
  1580. ParticleEmitter3.LightInfluence = 0
  1581. ParticleEmitter3.Texture = "rbxassetid://1280736246"
  1582. ParticleEmitter3.Transparency = NumberSequence.new(0.5,0.5)
  1583. ParticleEmitter3.Size = NumberSequence.new(3,3)
  1584. ParticleEmitter3.Lifetime = NumberRange.new(3, 5)
  1585. ParticleEmitter3.Rate = 100
  1586. ParticleEmitter3.RotSpeed = NumberRange.new(10, 10)
  1587. ParticleEmitter3.SpreadAngle = Vector2.new(360, 360)
  1588. ParticleEmitter3.VelocitySpread = 360
  1589. ParticleEmitter4.Parent = firework
  1590. ParticleEmitter4.Speed = NumberRange.new(65, 65)
  1591. ParticleEmitter4.Color = ColorSequence.new(color1,color1)
  1592. ParticleEmitter4.Enabled = false
  1593. ParticleEmitter4.LightEmission = 1
  1594. ParticleEmitter4.LightInfluence = 0
  1595. ParticleEmitter4.Texture = "rbxassetid://1280736246"
  1596. ParticleEmitter4.Transparency = NumberSequence.new(0.5,0.5)
  1597. ParticleEmitter4.Size = NumberSequence.new(3,3)
  1598. ParticleEmitter4.Lifetime = NumberRange.new(3, 5)
  1599. ParticleEmitter4.Rate = 100
  1600. ParticleEmitter4.RotSpeed = NumberRange.new(10, 10)
  1601. ParticleEmitter4.SpreadAngle = Vector2.new(360, 360)
  1602. ParticleEmitter4.VelocitySpread = 360
  1603. ParticleEmitter5.Parent = firework
  1604. ParticleEmitter5.Speed = NumberRange.new(65, 65)
  1605. ParticleEmitter5.Color = ColorSequence.new(color2,color2)
  1606. ParticleEmitter5.Enabled = false
  1607. ParticleEmitter5.LightEmission = 1
  1608. ParticleEmitter5.LightInfluence = 0
  1609. ParticleEmitter5.Texture = "rbxassetid://1280736246"
  1610. ParticleEmitter5.Transparency = NumberSequence.new(0.5,0.5)
  1611. ParticleEmitter5.Size = NumberSequence.new(3,3)
  1612. ParticleEmitter5.Lifetime = NumberRange.new(3, 5)
  1613. ParticleEmitter5.Rate = 100
  1614. ParticleEmitter5.RotSpeed = NumberRange.new(10, 10)
  1615. ParticleEmitter5.SpreadAngle = Vector2.new(360, 360)
  1616. ParticleEmitter5.VelocitySpread = 360
  1617. --
  1618. firework.CFrame = plr.Character.Head.CFrame + Vector3.new(x,-4,z)
  1619. firework.Color = color1
  1620. firework.Size = Vector3.new(1.1, 2.613, 0.964)
  1621. firework.Orientation = Vector3.new(varx,0,vary)
  1622. --
  1623. local ParticleEmitter0 = onlyparticle:Clone()
  1624. ParticleEmitter0.Parent = firework
  1625. ParticleEmitter0.Speed = NumberRange.new(-10, -10)
  1626. ParticleEmitter0.LightEmission = 1
  1627. ParticleEmitter0.LightInfluence = 0
  1628. ParticleEmitter0.Texture = "rbxassetid://1028077058"
  1629. ParticleEmitter0.Transparency = NumberSequence.new(0.5,0.5)
  1630. ParticleEmitter0.Size = NumberSequence.new(2,2)
  1631. ParticleEmitter0.Lifetime = NumberRange.new(0.25, 1)
  1632. ParticleEmitter0.Rate = 25
  1633. ParticleEmitter0.SpreadAngle = Vector2.new(10, 10)
  1634. ParticleEmitter0.VelocitySpread = 10
  1635. local g=Instance.new("BodyThrust",firework)
  1636. g.Force = Vector3.new(0,600,0)
  1637. wait(1.5)
  1638. firework.Anchored = true
  1639. firework.CanCollide = false
  1640. firework.Transparency = 1
  1641. ParticleEmitter0.Enabled = false
  1642. wait()
  1643. sound3:Play()
  1644. ParticleEmittera.Enabled = true
  1645. ParticleEmitter1.Enabled = true
  1646. ParticleEmitter2.Enabled = true
  1647. ParticleEmitter3.Enabled = true
  1648. ParticleEmitter4.Enabled = true
  1649. ParticleEmitter5.Enabled = true
  1650. wait(.25)
  1651. ParticleEmittera.Enabled = false
  1652. ParticleEmitter1.Enabled = false
  1653. ParticleEmitter2.Enabled = false
  1654. ParticleEmitter3.Enabled = false
  1655. ParticleEmitter4.Enabled = false
  1656. ParticleEmitter5.Enabled = false
  1657. wait(3)
  1658. firework.Parent = nil
  1659. end
  1660.  
  1661. function keygui()
  1662. -- Farewell infortality
  1663. -- Revamp by ImFrostic, Version 2.81
  1664.  
  1665. -- Objects
  1666.  
  1667. local DraggoGui = Instance.new("ScreenGui")
  1668. local Frame = Instance.new("Frame")
  1669. local PitchBox = Instance.new("TextBox")
  1670. local IDLabel = Instance.new("TextLabel")
  1671. local PitchLabel = Instance.new("TextLabel")
  1672. local IDBox = Instance.new("TextBox")
  1673. local VolumeLabel = Instance.new("TextLabel")
  1674. local VolumeBox = Instance.new("TextBox")
  1675. local VisualiserLabel = Instance.new("TextLabel")
  1676. local VisualiserBox = Instance.new("TextButton")
  1677. local ApplyButton = Instance.new("TextButton")
  1678. local CancelButton = Instance.new("TextButton")
  1679. local ChangeButton = Instance.new("TextButton")
  1680.  
  1681. -- Properties
  1682.  
  1683. DraggoGui.Name = "DraggoGui"
  1684. DraggoGui.Parent = game.Players.LocalPlayer.PlayerGui
  1685.  
  1686. Frame.Parent = DraggoGui
  1687. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  1688. Frame.BackgroundColor3 = Color3.new(0.988235, 0.631373, 1)
  1689. Frame.BackgroundTransparency = 0.30000001192093
  1690. Frame.BorderColor3 = Color3.new(0.992157, 0.827451, 1)
  1691. Frame.BorderSizePixel = 30
  1692. Frame.Position = UDim2.new(0.5, 0, 0.5, 0)
  1693. Frame.Size = UDim2.new(0.899999976, 0, 0.800000012, 0)
  1694.  
  1695. PitchBox.Name = "PitchBox"
  1696. PitchBox.Parent = Frame
  1697. PitchBox.BackgroundColor3 = Color3.new(1, 1, 1)
  1698. PitchBox.BackgroundTransparency = 0.20000000298023
  1699. PitchBox.BorderSizePixel = 0
  1700. PitchBox.Position = UDim2.new(0.300000012, 0, 0.209999993, 0)
  1701. PitchBox.Size = UDim2.new(0.600000024, 0, 0.150000006, 0)
  1702. PitchBox.Font = Enum.Font.SourceSans
  1703. PitchBox.PlaceholderColor3 = Color3.new(1, 0.796079, 0.992157)
  1704. PitchBox.PlaceholderText = "Enter A Pitch"
  1705. PitchBox.Text = ""
  1706. PitchBox.TextColor3 = Color3.new(0.960784, 0.513726, 1)
  1707. PitchBox.TextScaled = true
  1708. PitchBox.TextSize = 14
  1709. PitchBox.TextWrapped = true
  1710.  
  1711. IDLabel.Name = "IDLabel"
  1712. IDLabel.Parent = Frame
  1713. IDLabel.AnchorPoint = Vector2.new(1, 0)
  1714. IDLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  1715. IDLabel.BackgroundTransparency = 1
  1716. IDLabel.BorderSizePixel = 0
  1717. IDLabel.Position = UDim2.new(0.280000001, 0, 0.0399999991, 0)
  1718. IDLabel.Size = UDim2.new(0.25, 0, 0.150000006, 0)
  1719. IDLabel.Font = Enum.Font.SourceSans
  1720. IDLabel.Text = "Song Id:"
  1721. IDLabel.TextColor3 = Color3.new(1, 1, 1)
  1722. IDLabel.TextScaled = true
  1723. IDLabel.TextSize = 14
  1724. IDLabel.TextStrokeColor3 = Color3.new(0.988235, 0.647059, 1)
  1725. IDLabel.TextStrokeTransparency = 0
  1726. IDLabel.TextWrapped = true
  1727.  
  1728. PitchLabel.Name = "PitchLabel"
  1729. PitchLabel.Parent = Frame
  1730. PitchLabel.AnchorPoint = Vector2.new(1, 0)
  1731. PitchLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  1732. PitchLabel.BackgroundTransparency = 1
  1733. PitchLabel.BorderSizePixel = 0
  1734. PitchLabel.Position = UDim2.new(0.280000001, 0, 0.209999993, 0)
  1735. PitchLabel.Size = UDim2.new(0.25, 0, 0.150000006, 0)
  1736. PitchLabel.Font = Enum.Font.SourceSans
  1737. PitchLabel.Text = "Pitch:"
  1738. PitchLabel.TextColor3 = Color3.new(1, 1, 1)
  1739. PitchLabel.TextScaled = true
  1740. PitchLabel.TextSize = 14
  1741. PitchLabel.TextStrokeColor3 = Color3.new(0.988235, 0.647059, 1)
  1742. PitchLabel.TextStrokeTransparency = 0
  1743. PitchLabel.TextWrapped = true
  1744.  
  1745. IDBox.Name = "IDBox"
  1746. IDBox.Parent = Frame
  1747. IDBox.BackgroundColor3 = Color3.new(1, 1, 1)
  1748. IDBox.BackgroundTransparency = 0.20000000298023
  1749. IDBox.BorderSizePixel = 0
  1750. IDBox.Position = UDim2.new(0.300000012, 0, 0.0399999991, 0)
  1751. IDBox.Size = UDim2.new(0.600000024, 0, 0.150000006, 0)
  1752. IDBox.Font = Enum.Font.SourceSans
  1753. IDBox.PlaceholderColor3 = Color3.new(1, 0.796079, 0.992157)
  1754. IDBox.PlaceholderText = "Enter An ID"
  1755. IDBox.Text = ""
  1756. IDBox.TextColor3 = Color3.new(0.960784, 0.513726, 1)
  1757. IDBox.TextScaled = true
  1758. IDBox.TextSize = 14
  1759. IDBox.TextWrapped = true
  1760.  
  1761. VolumeLabel.Name = "VolumeLabel"
  1762. VolumeLabel.Parent = Frame
  1763. VolumeLabel.AnchorPoint = Vector2.new(1, 0)
  1764. VolumeLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  1765. VolumeLabel.BackgroundTransparency = 1
  1766. VolumeLabel.BorderSizePixel = 0
  1767. VolumeLabel.Position = UDim2.new(0.280000001, 0, 0.379999995, 0)
  1768. VolumeLabel.Size = UDim2.new(0.25, 0, 0.150000006, 0)
  1769. VolumeLabel.Font = Enum.Font.SourceSans
  1770. VolumeLabel.Text = "Volume:"
  1771. VolumeLabel.TextColor3 = Color3.new(1, 1, 1)
  1772. VolumeLabel.TextScaled = true
  1773. VolumeLabel.TextSize = 14
  1774. VolumeLabel.TextStrokeColor3 = Color3.new(0.988235, 0.647059, 1)
  1775. VolumeLabel.TextStrokeTransparency = 0
  1776. VolumeLabel.TextWrapped = true
  1777.  
  1778. VolumeBox.Name = "VolumeBox"
  1779. VolumeBox.Parent = Frame
  1780. VolumeBox.BackgroundColor3 = Color3.new(1, 1, 1)
  1781. VolumeBox.BackgroundTransparency = 0.20000000298023
  1782. VolumeBox.BorderSizePixel = 0
  1783. VolumeBox.Position = UDim2.new(0.300000012, 0, 0.379999995, 0)
  1784. VolumeBox.Size = UDim2.new(0.600000024, 0, 0.150000006, 0)
  1785. VolumeBox.Font = Enum.Font.SourceSans
  1786. VolumeBox.PlaceholderColor3 = Color3.new(1, 0.796079, 0.992157)
  1787. VolumeBox.PlaceholderText = "Enter A Volume"
  1788. VolumeBox.Text = ""
  1789. VolumeBox.TextColor3 = Color3.new(0.960784, 0.513726, 1)
  1790. VolumeBox.TextScaled = true
  1791. VolumeBox.TextSize = 14
  1792. VolumeBox.TextWrapped = true
  1793.  
  1794. VisualiserLabel.Name = "VisualiserLabel"
  1795. VisualiserLabel.Parent = Frame
  1796. VisualiserLabel.AnchorPoint = Vector2.new(1, 0)
  1797. VisualiserLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  1798. VisualiserLabel.BackgroundTransparency = 1
  1799. VisualiserLabel.BorderSizePixel = 0
  1800. VisualiserLabel.Position = UDim2.new(0.280000001, 0, 0.550000012, 0)
  1801. VisualiserLabel.Size = UDim2.new(0.25, 0, 0.150000006, 0)
  1802. VisualiserLabel.Font = Enum.Font.SourceSans
  1803. VisualiserLabel.Text = "Visualiser:"
  1804. VisualiserLabel.TextColor3 = Color3.new(1, 1, 1)
  1805. VisualiserLabel.TextScaled = true
  1806. VisualiserLabel.TextSize = 14
  1807. VisualiserLabel.TextStrokeColor3 = Color3.new(0.988235, 0.647059, 1)
  1808. VisualiserLabel.TextStrokeTransparency = 0
  1809. VisualiserLabel.TextWrapped = true
  1810.  
  1811. VisualiserBox.Name = "VisualiserBox"
  1812. VisualiserBox.Parent = Frame
  1813. VisualiserBox.BackgroundColor3 = Color3.new(1, 1, 1)
  1814. VisualiserBox.BackgroundTransparency = 0.20000000298023
  1815. VisualiserBox.BorderSizePixel = 0
  1816. VisualiserBox.Position = UDim2.new(0.300000012, 0, 0.550000012, 0)
  1817. VisualiserBox.Size = UDim2.new(0.600000024, 0, 0.150000006, 0)
  1818. VisualiserBox.Font = Enum.Font.SourceSans
  1819. VisualiserBox.Text = "Off"
  1820. VisualiserBox.TextColor3 = Color3.new(0.960784, 0.513726, 1)
  1821. VisualiserBox.TextScaled = true
  1822. VisualiserBox.TextSize = 14
  1823. VisualiserBox.TextWrapped = true
  1824.  
  1825. ApplyButton.Name = "ApplyButton"
  1826. ApplyButton.Parent = Frame
  1827. ApplyButton.AnchorPoint = Vector2.new(0, 1)
  1828. ApplyButton.BackgroundColor3 = Color3.new(1, 0.886275, 0.992157)
  1829. ApplyButton.BackgroundTransparency = 0.20000000298023
  1830. ApplyButton.BorderColor3 = Color3.new(1, 0.380392, 0.992157)
  1831. ApplyButton.BorderSizePixel = 10
  1832. ApplyButton.Position = UDim2.new(0.699999988, 0, 0.949999988, 0)
  1833. ApplyButton.Size = UDim2.new(0.25, 0, 0.150000006, 0)
  1834. ApplyButton.Font = Enum.Font.SourceSans
  1835. ApplyButton.Text = "Apply"
  1836. ApplyButton.TextColor3 = Color3.new(1, 0.541176, 0.980392)
  1837. ApplyButton.TextScaled = true
  1838. ApplyButton.TextSize = 14
  1839. ApplyButton.TextWrapped = true
  1840.  
  1841. CancelButton.Name = "CancelButton"
  1842. CancelButton.Parent = Frame
  1843. CancelButton.AnchorPoint = Vector2.new(1, 1)
  1844. CancelButton.BackgroundColor3 = Color3.new(1, 0.886275, 0.992157)
  1845. CancelButton.BackgroundTransparency = 0.20000000298023
  1846. CancelButton.BorderColor3 = Color3.new(1, 0.380392, 0.992157)
  1847. CancelButton.BorderSizePixel = 10
  1848. CancelButton.Position = UDim2.new(0.300000012, 0, 0.949999988, 0)
  1849. CancelButton.Size = UDim2.new(0.25, 0, 0.150000006, 0)
  1850. CancelButton.Font = Enum.Font.SourceSans
  1851. CancelButton.Text = "Cancel"
  1852. CancelButton.TextColor3 = Color3.new(1, 0.541176, 0.980392)
  1853. CancelButton.TextScaled = true
  1854. CancelButton.TextSize = 14
  1855. CancelButton.TextWrapped = true
  1856.  
  1857. ChangeButton.Name = "ChangeButton"
  1858. ChangeButton.Parent = Frame
  1859. ChangeButton.AnchorPoint = Vector2.new(0.5, 1)
  1860. ChangeButton.BackgroundColor3 = Color3.new(1, 0.886275, 0.992157)
  1861. ChangeButton.BackgroundTransparency = 0.20000000298023
  1862. ChangeButton.BorderColor3 = Color3.new(1, 0.380392, 0.992157)
  1863. ChangeButton.BorderSizePixel = 10
  1864. ChangeButton.Position = UDim2.new(0.5, 0, 0.949999988, 0)
  1865. ChangeButton.Size = UDim2.new(0.25, 0, 0.150000006, 0)
  1866. ChangeButton.Font = Enum.Font.SourceSans
  1867. ChangeButton.Text = "Change"
  1868. ChangeButton.TextColor3 = Color3.new(1, 0.541176, 0.980392)
  1869. ChangeButton.TextScaled = true
  1870. ChangeButton.TextSize = 14
  1871. ChangeButton.TextWrapped = true
  1872.  
  1873. -- Scripts
  1874.  
  1875.  
  1876. wait()
  1877. if plr.Character.Head:FindFirstChild("songs") then
  1878. if id ~= nil then
  1879. IDBox.Text = id
  1880. PitchBox.Text = pitch
  1881. VolumeBox.Text = volume
  1882. else
  1883. IDBox.Text = 0
  1884. PitchBox.Text = 1
  1885. VolumeBox.Text = 10
  1886. end
  1887. if vis == false then
  1888. VisualiserBox.Text = "Off"
  1889. else
  1890. VisualiserBox.Text = "On"
  1891. end
  1892. end
  1893.  
  1894. IDBox.Changed:connect(function()
  1895. if tonumber(IDBox.Text) ~= nil then
  1896. a = tonumber(IDBox.Text)
  1897. end
  1898. end)
  1899.  
  1900. PitchBox.Changed:connect(function()
  1901. if tonumber(PitchBox.Text) ~= nil then
  1902. b = tonumber(PitchBox.Text)
  1903. end
  1904. end)
  1905.  
  1906. VolumeBox.Changed:connect(function()
  1907. if tonumber(VolumeBox.Text) ~= nil then
  1908. c = tonumber(VolumeBox.Text)
  1909. end
  1910. end)
  1911.  
  1912. VisualiserBox.MouseButton1Click:connect(function()
  1913. if VisualiserBox.Text == "On" then
  1914. VisualiserBox.Text = "Off"
  1915. else
  1916. VisualiserBox.Text = "On"
  1917. end
  1918. end)
  1919. CancelButton.MouseButton1Click:connect(function()
  1920. DraggoGui.Parent = nil
  1921. end)
  1922. ApplyButton.MouseButton1Click:connect(function()
  1923. if a ~= id then
  1924. if plr.Character.Head:FindFirstChild("songs") then
  1925. plr.Character.Head:FindFirstChild("songs"):Destroy()
  1926. end
  1927. sounde = Instance.new("Sound",plr.Character.Head)
  1928. sounde.SoundId = "rbxassetid://"..a
  1929. sounde.Looped = true
  1930. sounde.Name = "songs"
  1931. sounde:Play()
  1932. id=a
  1933. end
  1934. pitch = b
  1935. sounde.Pitch = b
  1936. sounde.Looped = true
  1937. sounde:Play()
  1938. sounde.Volume = c
  1939. volume = c
  1940. sounde.Looped = true
  1941. sounde:Play()
  1942. if VisualiserBox.Text == "On" then
  1943. vis = true
  1944. oldRange = 10
  1945. oldBright = 1
  1946. cube.Transparency = 0
  1947. plr.Character.Torso:FindFirstChild("PointLight").Range = 10
  1948. else
  1949. vis = false
  1950. oldBright = 0
  1951. oldRange = 0
  1952. plr.Character.Torso:FindFirstChild("PointLight").Range = 0
  1953. cube.Transparency = 1
  1954. end
  1955. wait()
  1956. DraggoGui.Parent = nil
  1957. end)
  1958. ChangeButton.MouseButton1Click:connect(function()
  1959. if a ~= id then
  1960. sounde = plr.Character.Head:FindFirstChild("songs")
  1961. sounde.SoundId = "rbxassetid://"..a
  1962. id=a
  1963. end
  1964. pitch = b
  1965. sounde.Pitch = b
  1966. sounde.Volume = c
  1967. volume = c
  1968. if VisualiserBox.Text == "On" then
  1969. vis = true
  1970. oldRange = 10
  1971. oldBright = 1
  1972. cube.Transparency = 0
  1973. plr.Character.Torso:FindFirstChild("PointLight").Range = 10
  1974. else
  1975. vis = false
  1976. oldBright = 0
  1977. oldRange = 0
  1978. plr.Character.Torso:FindFirstChild("PointLight").Range = 0
  1979. cube.Transparency = 1
  1980. end
  1981. wait()
  1982. DraggoGui.Parent = nil
  1983. end)
  1984. end
  1985.  
  1986. function lightning()
  1987. local mas = workspace
  1988. local Part0 = Instance.new("Part")
  1989. local SpecialMesh1 = Instance.new("SpecialMesh")
  1990. local Part2 = Instance.new("Part")
  1991. local PointLight3 = Instance.new("PointLight")
  1992. local Part4 = Instance.new("Part")
  1993. local Part5 = Instance.new("Part")
  1994. local Part6 = Instance.new("Part")
  1995. local Part7 = Instance.new("Part")
  1996. local Part8 = Instance.new("Part")
  1997. local Part9 = Instance.new("Part")
  1998. local Part10 = Instance.new("Part")
  1999. local Part11 = Instance.new("Part")
  2000. local Part12 = Instance.new("Part")
  2001. local Part13 = Instance.new("Part")
  2002. local Part14 = Instance.new("Part")
  2003. local Part15 = Instance.new("Part")
  2004. local hitbox = Instance.new("Part")
  2005. local lightnings = Instance.new("Sound")
  2006. lightnings.SoundId = "rbxassetid://2013090599"
  2007. lightnings.Volume = 10
  2008. lightnings.Parent = Part2
  2009. lightnings.EmitterSize = 20
  2010. lightnings.TimePosition = 0.67
  2011. Part2.Name = "HitPart"
  2012. Part2.Parent = mas
  2013. Part2.CFrame = mouse.Hit + Vector3.new(0,2,0)
  2014. Part2.Size = Vector3.new(1,1,1)
  2015. Part2.Transparency = 1
  2016. Part2.Anchored = false
  2017. Part2.CanCollide = true
  2018. wait()
  2019. Part2.Size = Vector3.new(1, 1, 1)
  2020. Part2.Anchored = false
  2021. Part2.BottomSurface = Enum.SurfaceType.Smooth
  2022. Part2.CanCollide = true
  2023. Part2.TopSurface = Enum.SurfaceType.Smooth
  2024. toucher = false
  2025. Part2.Touched:connect(function(part)
  2026. if toucher == false then
  2027. wait()
  2028. toucher = true
  2029. Mat = part.Material
  2030. Color = part.Color
  2031. return
  2032. else return
  2033. end
  2034. end)
  2035. repeat wait() until toucher == true
  2036. local Color = Color
  2037. local Mat = Mat
  2038. Part2.Color = Color
  2039. Part2.Material = Mat
  2040. Part2.Anchored = true
  2041. Part2.CanCollide = false
  2042. PointLight3.Parent = Part2
  2043. PointLight3.Color = Color3.new(177/255, 167/255, 1)
  2044. PointLight3.Range = 0
  2045. PointLight3.Brightness = 10
  2046. PointLight3.Shadows = true
  2047. hitbox.Anchored = true
  2048. hitbox.CanCollide = false
  2049. hitbox.Transparency = 1
  2050. hitbox.CFrame = Part2.CFrame
  2051. hitbox.Size = Vector3.new(20,20,20)
  2052. Part0.Name = "Cloud"
  2053. Part0.Parent = mas
  2054. Part0.Orientation = Vector3.new(0, -180, 0)
  2055. Part0.Position = Part2.Position + Vector3.new(-0.410007, 22.5200005, 0.819999993)
  2056. Part0.Rotation = Vector3.new(180, 0, -180)
  2057. Part0.Color = Color3.new(0.443137, 0, 0.443137)
  2058. Part0.Size = Vector3.new(12, 1, 4)
  2059. Part0.Anchored = true
  2060. Part0.BottomSurface = Enum.SurfaceType.Smooth
  2061. Part0.BrickColor = BrickColor.new("Pastel violet")
  2062. Part0.CanCollide = false
  2063. Part0.TopSurface = Enum.SurfaceType.Smooth
  2064. Part0.brickColor = BrickColor.new("Pastel violet")
  2065. Part0.FormFactor = Enum.FormFactor.Symmetric
  2066. Part0.formFactor = Enum.FormFactor.Symmetric
  2067. SpecialMesh1.Parent = Part0
  2068. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1095708"
  2069. SpecialMesh1.Scale = Vector3.new(12, 12, 12)
  2070. SpecialMesh1.VertexColor = Vector3.new(177/255, 167/255, 1)
  2071. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  2072. Part4.Name = "GroundPart1"
  2073. Part4.Parent = mas
  2074. Part4.Orientation = Vector3.new(-35.8499985, -88.7999954, -2.90999985)
  2075. Part4.Position = Part2.Position + Vector3.new(3.124686, 0.121252999, 0.368005991)
  2076. Part4.Rotation = Vector3.new(-88.3399963, -54.1299973, -90.8600006)
  2077. Part4.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2078. Part4.Size = Vector3.new(4.4000001, 2.70000005, 3)
  2079. Part4.CanCollide = false
  2080. Part4.Anchored = true
  2081. Part4.BottomSurface = Enum.SurfaceType.Smooth
  2082. Part4.BrickColor = BrickColor.new("Dark stone grey")
  2083. Part4.brickColor = BrickColor.new("Dark stone grey")
  2084. Part5.Name = "GroundPart2"
  2085. Part5.CanCollide = false
  2086. Part5.Parent = mas
  2087. Part5.Orientation = Vector3.new(-22, 22.5, 0)
  2088. Part5.Position = Part2.Position + Vector3.new(-1.03094804, 0.235992998, -2.6170969)
  2089. Part5.Rotation = Vector3.new(-23.6199989, 20.7799988, 8.81999969)
  2090. Part5.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2091. Part5.Size = Vector3.new(4.4000001, 2.0999999, 3.4000001)
  2092. Part5.Anchored = true
  2093. Part5.BottomSurface = Enum.SurfaceType.Smooth
  2094. Part5.BrickColor = BrickColor.new("Dark stone grey")
  2095. Part5.brickColor = BrickColor.new("Dark stone grey")
  2096. Part6.Name = "GroundPart3"
  2097. Part6.CanCollide = false
  2098. Part6.Parent = mas
  2099. Part6.Orientation = Vector3.new(-29.9399986, 141.110001, -2.90999985)
  2100. Part6.Position = Part2.Position + Vector3.new(-1.60657203, 0.198379993, 2.1961031)
  2101. Part6.Rotation = Vector3.new(-143.5, 32.9599991, 155.169998)
  2102. Part6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2103. Part6.Size = Vector3.new(4.4000001, 2.70000005, 3)
  2104. Part6.Anchored = true
  2105. Part6.BottomSurface = Enum.SurfaceType.Smooth
  2106. Part6.BrickColor = BrickColor.new("Dark stone grey")
  2107. Part6.brickColor = BrickColor.new("Dark stone grey")
  2108. Part7.Name = "LightningPart1"
  2109. Part7.Parent = mas
  2110. Part7.Orientation = Vector3.new(0, 0, -33)
  2111. Part7.Position = Part2.Position + Vector3.new(0.904374003, 2.56489706, 0.0350000001)
  2112. Part7.Rotation = Vector3.new(0, 0, -33)
  2113. Part7.Color = Color3.new(1, 0, 0.74902)
  2114. Part7.Size = Vector3.new(0.479999065, 6.63999987, 0.449999988)
  2115. Part7.Anchored = true
  2116. Part7.BottomSurface = Enum.SurfaceType.Smooth
  2117. Part7.BrickColor = BrickColor.new("Alder")
  2118. Part7.CanCollide = false
  2119. Part7.Material = Enum.Material.Neon
  2120. Part7.TopSurface = Enum.SurfaceType.Smooth
  2121. Part7.brickColor = BrickColor.new("Alder")
  2122. Part8.Name = "LightningPart2"
  2123. Part8.Parent = mas
  2124. Part8.Orientation = Vector3.new(0, 0, 34.5)
  2125. Part8.Position = Part2.Position + Vector3.new(1.29481602, 7.56627512, -0.00499999989)
  2126. Part8.Rotation = Vector3.new(0, 0, 34.5)
  2127. Part8.Color = Color3.new(1, 0, 0.74902)
  2128. Part8.Size = Vector3.new(0.479998261, 5.56999969, 0.449999988)
  2129. Part8.Anchored = true
  2130. Part8.BottomSurface = Enum.SurfaceType.Smooth
  2131. Part8.BrickColor = BrickColor.new("Alder")
  2132. Part8.CanCollide = false
  2133. Part8.Material = Enum.Material.Neon
  2134. Part8.TopSurface = Enum.SurfaceType.Smooth
  2135. Part8.brickColor = BrickColor.new("Alder")
  2136. Part9.Name = "LightningPart3"
  2137. Part9.Parent = mas
  2138. Part9.Orientation = Vector3.new(0, 0, -33)
  2139. Part9.Position = Part2.Position + Vector3.new(0.643929005, 11.5952616, 0.00499999989)
  2140. Part9.Rotation = Vector3.new(0, 0, -33)
  2141. Part9.Color = Color3.new(1, 0, 0.74902)
  2142. Part9.Size = Vector3.new(0.479957253, 4.25, 0.449999988)
  2143. Part9.Anchored = true
  2144. Part9.BottomSurface = Enum.SurfaceType.Smooth
  2145. Part9.BrickColor = BrickColor.new("Alder")
  2146. Part9.CanCollide = false
  2147. Part9.Material = Enum.Material.Neon
  2148. Part9.TopSurface = Enum.SurfaceType.Smooth
  2149. Part9.brickColor = BrickColor.new("Alder")
  2150. Part10.Name = "LightningPart4"
  2151. Part10.Parent = mas
  2152. Part10.Orientation = Vector3.new(0, 0, 42.5)
  2153. Part10.Position = Part2.Position + Vector3.new(0.115622997, 15.0268459, 0.165000007)
  2154. Part10.Rotation = Vector3.new(0, 0, 42.5)
  2155. Part10.Color = Color3.new(1, 0, 0.74902)
  2156. Part10.Size = Vector3.new(0.479929507, 4.94000006, 0.449999988)
  2157. Part10.Anchored = true
  2158. Part10.BottomSurface = Enum.SurfaceType.Smooth
  2159. Part10.BrickColor = BrickColor.new("Alder")
  2160. Part10.CanCollide = false
  2161. Part10.Material = Enum.Material.Neon
  2162. Part10.TopSurface = Enum.SurfaceType.Smooth
  2163. Part10.brickColor = BrickColor.new("Alder")
  2164. Part11.Name = "LightningPart5"
  2165. Part11.Parent = mas
  2166. Part11.Orientation = Vector3.new(0, 0, -23.5)
  2167. Part11.Position = Part2.Position + Vector3.new(-0.442793995, 19.1235275, 0.165000007)
  2168. Part11.Rotation = Vector3.new(0, 0, -23.5)
  2169. Part11.Color = Color3.new(1, 0, 0.74902)
  2170. Part11.Size = Vector3.new(0.479986727, 5.27999973, 0.450000018)
  2171. Part11.Anchored = true
  2172. Part11.BottomSurface = Enum.SurfaceType.Smooth
  2173. Part11.BrickColor = BrickColor.new("Alder")
  2174. Part11.CanCollide = false
  2175. Part11.Material = Enum.Material.Neon
  2176. Part11.TopSurface = Enum.SurfaceType.Smooth
  2177. Part11.brickColor = BrickColor.new("Alder")
  2178. Part12.Name = "ThrowPart1"
  2179. Part12.Parent = mas
  2180. Part12.Orientation = Vector3.new(-27.9599991, 1.58999991, -15.3999996)
  2181. Part12.Position = Part2.Position + Vector3.new(2.38952994, 0.777405024, -2.7030859)
  2182. Part12.Rotation = Vector3.new(-27.9699993, 1.40999997, -14.6499996)
  2183. Part12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2184. Part12.Size = Vector3.new(1, 1, 1)
  2185. Part12.BottomSurface = Enum.SurfaceType.Smooth
  2186. Part12.BrickColor = BrickColor.new("Dark stone grey")
  2187. Part12.brickColor = BrickColor.new("Dark stone grey")
  2188. Part13.Name = "ThrowPart2"
  2189. Part13.Parent = mas
  2190. Part13.Orientation = Vector3.new(-37.0699997, 27.5199986, 4.3499999)
  2191. Part13.Position = Part2.Position + Vector3.new(-1.12156403, 2.24051309, -2.2654531)
  2192. Part13.Rotation = Vector3.new(-40.4300003, 21.6299992, 21.789999)
  2193. Part13.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2194. Part13.Size = Vector3.new(1, 1, 1)
  2195. Part13.BottomSurface = Enum.SurfaceType.Smooth
  2196. Part13.BrickColor = BrickColor.new("Dark stone grey")
  2197. Part13.brickColor = BrickColor.new("Dark stone grey")
  2198. Part14.Name = "ThrowPart3"
  2199. Part14.Parent = mas
  2200. Part14.Orientation = Vector3.new(-38.9300003, 138, -3)
  2201. Part14.Position = Part2.Position + Vector3.new(-1.48101795, 2.71294904, 2.48892593)
  2202. Part14.Rotation = Vector3.new(-132.619995, 31.3699989, 147.509995)
  2203. Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2204. Part14.Size = Vector3.new(1, 1, 1)
  2205. Part14.BottomSurface = Enum.SurfaceType.Smooth
  2206. Part14.BrickColor = BrickColor.new("Dark stone grey")
  2207. Part14.brickColor = BrickColor.new("Dark stone grey")
  2208. Part15.Name = "ThrowPart4"
  2209. Part15.Parent = mas
  2210. Part15.Orientation = Vector3.new(-31.6399994, -131.300003, -1.03999996)
  2211. Part15.Position = Part2.Position + Vector3.new(1.56515002, 0.695551991, 3.52154303)
  2212. Part15.Rotation = Vector3.new(-136.959991, -39.7599983, -150.190002)
  2213. Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2214. Part15.Size = Vector3.new(1, 1, 1)
  2215. Part15.BottomSurface = Enum.SurfaceType.Smooth
  2216. Part15.BrickColor = BrickColor.new("Dark stone grey")
  2217. Part15.brickColor = BrickColor.new("Dark stone grey")
  2218. Part12.Velocity = Vector3.new(20, 50, -20)
  2219. Part13.Velocity = Vector3.new(-10, 50, -30)
  2220. Part14.Velocity = Vector3.new(-15, 50, 25)
  2221. Part15.Velocity = Vector3.new(15, 50, 35)
  2222. Part12.Anchored = true
  2223. Part13.Anchored = true
  2224. Part14.Anchored = true
  2225. Part15.Anchored = true
  2226. Part0.Transparency = 1
  2227. Part2.Transparency = 1
  2228. Part4.Transparency = 1
  2229. Part5.Transparency = 1
  2230. Part6.Transparency = 1
  2231. Part7.Transparency = 1
  2232. Part8.Transparency = 1
  2233. Part9.Transparency = 1
  2234. Part10.Transparency = 1
  2235. Part11.Transparency = 1
  2236. Part12.Transparency = 1
  2237. Part13.Transparency = 1
  2238. Part14.Transparency = 1
  2239. Part15.Transparency = 1
  2240. Part4.Color = Color
  2241. Part5.Color = Color
  2242. Part6.Color = Color
  2243. Part12.Color = Color
  2244. Part13.Color = Color
  2245. Part14.Color = Color
  2246. Part15.Color = Color
  2247. Part4.Material = Mat
  2248. Part5.Material = Mat
  2249. Part6.Material = Mat
  2250. Part12.Material = Mat
  2251. Part13.Material = Mat
  2252. Part14.Material = Mat
  2253. Part15.Material = Mat
  2254. PointLight3.Range = 0
  2255. for i=1,50 do
  2256. Part0.Transparency = Part0.Transparency - 0.02
  2257. wait(.025)
  2258. end
  2259. Part11.Transparency = 0
  2260. wait()
  2261. Part10.Transparency = 0
  2262. wait()
  2263. Part9.Transparency = 0
  2264. wait()
  2265. Part8.Transparency = 0
  2266. wait()
  2267. Part7.Transparency = 0
  2268. PointLight3.Range = 18
  2269. Part4.Transparency = 0
  2270. -- sound play
  2271. Part5.Transparency = 0
  2272. Part6.Transparency = 0
  2273. lightnings:Resume()
  2274. e = Instance.new("Explosion",workspace)
  2275. e.Visible = false
  2276. e.Position = Part2.Position
  2277. e.BlastRadius = 20
  2278. e.BlastPressure = math.huge
  2279. local nummie = 0
  2280. local antispam = false
  2281. hitbox.Touched:connect(function(Part)
  2282. if Part.Name == "Right Leg" or Part.Name == "Left Leg" or Part.Name == "Right Arm" or Part.Name == "Left Arm" or Part.Name == "Head" or Part.Name == "Torso" then
  2283. if antispam == false and nummie <= 50 then
  2284. antispam = true
  2285. nummie = nummie+1
  2286. part.Parent:BreakJoints()
  2287. wait()
  2288. antispam = false
  2289. end
  2290. end
  2291. end)
  2292. wait()
  2293. Part12.Transparency = 0
  2294. Part13.Transparency = 0
  2295. Part14.Transparency = 0
  2296. Part15.Transparency = 0
  2297. Part12.Anchored = false
  2298. Part13.Anchored = false
  2299. Part14.Anchored = false
  2300. Part15.Anchored = false
  2301. wait(.2)
  2302. Part11.Transparency = 1
  2303. wait()
  2304. Part10.Transparency = 1
  2305. wait()
  2306. Part9.Transparency = 1
  2307. wait()
  2308. Part8.Transparency = 1
  2309. wait()
  2310. Part7.Transparency = 1
  2311. PointLight3.Range = 0
  2312. wait(2.5)
  2313. for i=1,50 do
  2314. Part0.Transparency = Part0.Transparency + 0.02
  2315. wait(.025)
  2316. end
  2317. wait(1)
  2318. Part0.Parent = nil
  2319. wait()
  2320. Part4.Parent = nil
  2321. wait()
  2322. Part5.Parent = nil
  2323. wait()
  2324. Part6.Parent = nil
  2325. wait()
  2326. Part7.Parent = nil
  2327. wait()
  2328. Part8.Parent = nil
  2329. wait()
  2330. Part9.Parent = nil
  2331. wait()
  2332. Part10.Parent = nil
  2333. wait()
  2334. Part11.Parent = nil
  2335. wait()
  2336. Part12.Parent = nil
  2337. wait()
  2338. Part13.Parent = nil
  2339. wait()
  2340. Part14.Parent = nil
  2341. wait()
  2342. Part15.Parent = nil
  2343. wait(3)
  2344. Part2.Parent = nil
  2345. end
  2346.  
  2347. local p = game.Players.LocalPlayer
  2348. local lol5 = Instance.new("Sound",p.Character.Head)
  2349. lol5.Name = "Fire"
  2350. lol5.SoundId = "http://www.roblox.com/asset?id=257001241"
  2351. lol5.Pitch = 1.3
  2352. lol5.Volume = 5
  2353. lol5.TimePosition = 6.6662961134570650756
  2354. lol6 = Instance.new("Sound",p.Character.Head)
  2355. lol6.Name = "Reload"
  2356. lol6.SoundId = "http://www.roblox.com/asset?id=166032807"
  2357. lol6.Pitch = 1.8
  2358. lol6.Volume = 0
  2359. local lol7 = Instance.new("Sound",p.Character.Head)
  2360. lol7.Name = "HitFade"
  2361. lol7.Pitch = .6
  2362. lol7.Volume = 10
  2363. lol7.SoundId = "http://www.roblox.com/asset?id=163570653"
  2364. -----------------
  2365. --| Constants |--
  2366. -----------------
  2367.  
  2368. local SHOT_SPEED = 150
  2369. local SHOT_TIME = 5
  2370.  
  2371. local NOZZLE_OFFSET = Vector3.new(0, -1.6, -2)
  2372.  
  2373. -----------------
  2374. --| Variables |--
  2375. -----------------
  2376. plr = game.Players.LocalPlayer
  2377. local PlayersService = game:GetService('Players')
  2378. local DebrisService = game:GetService('Debris')
  2379.  
  2380. Handle = plr.Character.Head
  2381. local FireSound = Handle:WaitForChild('Fire')
  2382. local ReloadSound = Handle:WaitForChild('Reload')
  2383. local HitFadeSound = Handle:WaitForChild('HitFade')
  2384.  
  2385. local Character = plr.Character
  2386. local Humanoid = plr.Character.Humanoid
  2387. local Player = plr
  2388.  
  2389. local BaseShot = nil
  2390.  
  2391. PointLight = Instance.new("PointLight")
  2392. PointLight.Color = Color3.fromRGB(125,0,255)
  2393. PointLight.Range = 15
  2394. PointLight.Brightness = 10
  2395.  
  2396. -----------------
  2397. --| Functions |--
  2398. -----------------
  2399.  
  2400. -- Returns a character ancestor and its Humanoid, or nil
  2401. local function FindCharacterAncestor(subject)
  2402. if subject and subject ~= workspace then
  2403. local humanoid = subject:FindFirstChild('Humanoid')
  2404. if humanoid then
  2405. return subject, humanoid
  2406. else
  2407. return FindCharacterAncestor(subject.Parent)
  2408. end
  2409. end
  2410. return nil
  2411. end
  2412.  
  2413. -- Removes any old creator tags and applies new ones to the specified target
  2414. local function ApplyTags(target)
  2415. while target:FindFirstChild('creator') do
  2416. target.creator:Destroy()
  2417. end
  2418.  
  2419. local creatorTag = Instance.new('ObjectValue')
  2420. creatorTag.Value = Player
  2421. creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
  2422.  
  2423. local iconTag = Instance.new('StringValue')
  2424. iconTag.Name = 'icon'
  2425.  
  2426. iconTag.Parent = creatorTag
  2427. creatorTag.Parent = target
  2428. DebrisService:AddItem(creatorTag, 4)
  2429. end
  2430.  
  2431. -- Returns all objects under instance with Transparency
  2432. local function GetTransparentsRecursive(instance, partsTable)
  2433. local partsTable = partsTable or {}
  2434. for _, child in pairs(instance:GetChildren()) do
  2435. if child:IsA('BasePart') or child:IsA('Decal') then
  2436. table.insert(partsTable, child)
  2437. end
  2438. GetTransparentsRecursive(child, partsTable)
  2439. end
  2440. return partsTable
  2441. end
  2442.  
  2443. local function SelectionBoxify(instance)
  2444. local selectionBox = Instance.new('SelectionBox')
  2445. selectionBox.Adornee = instance
  2446. selectionBox.Color = BrickColor.new('Hot pink')
  2447. selectionBox.Parent = instance
  2448. return selectionBox
  2449. end
  2450.  
  2451. local function Light(instance)
  2452. local light = PointLight:Clone()
  2453. light.Range = light.Range + 2
  2454. light.Parent = instance
  2455. end
  2456.  
  2457. local function FadeOutObjects(objectsWithTransparency, fadeIncrement)
  2458. repeat
  2459. local lastObject = nil
  2460. for _, object in pairs(objectsWithTransparency) do
  2461. object.Transparency = object.Transparency + fadeIncrement
  2462. lastObject = object
  2463. end
  2464. wait()
  2465. until lastObject.Transparency >= 1 or not lastObject
  2466. end
  2467.  
  2468. local function Dematerialize(character, humanoid, firstPart)
  2469. humanoid.WalkSpeed = 0
  2470.  
  2471. local parts = {}
  2472. for _, child in pairs(character:GetChildren()) do
  2473. if child:IsA('BasePart') then
  2474. child.Anchored = true
  2475. table.insert(parts, child)
  2476. elseif child:IsA('LocalScript') or child:IsA('Script') then
  2477. child:Destroy()
  2478. end
  2479. end
  2480.  
  2481. local selectionBoxes = {}
  2482.  
  2483. local firstSelectionBox = SelectionBoxify(firstPart)
  2484. Light(firstPart)
  2485. wait(0.05)
  2486.  
  2487. for _, part in pairs(parts) do
  2488. if part ~= firstPart then
  2489. table.insert(selectionBoxes, SelectionBoxify(part))
  2490. Light(part)
  2491. end
  2492. end
  2493.  
  2494. local objectsWithTransparency = GetTransparentsRecursive(character)
  2495. FadeOutObjects(objectsWithTransparency, 0.1)
  2496.  
  2497. wait(0.5)
  2498.  
  2499. humanoid.Health = 0
  2500. DebrisService:AddItem(character, 2)
  2501.  
  2502. local fadeIncrement = 0.05
  2503. delay(0.2, function()
  2504. FadeOutObjects({firstSelectionBox}, fadeIncrement)
  2505. if character then
  2506. character:Destroy()
  2507. end
  2508. end)
  2509. ParticleEmmiter1.Enabled = false
  2510. FadeOutObjects(selectionBoxes, fadeIncrement)
  2511. wait(.8)
  2512. ParticleEmmiter1:Destroy()
  2513. end
  2514.  
  2515. local function OnTouched(shot, otherPart)
  2516. local character, humanoid = FindCharacterAncestor(otherPart)
  2517. if character and humanoid and character ~= Character then
  2518. ApplyTags(humanoid)
  2519. if shot then
  2520. local hitFadeSound = shot:FindFirstChild(HitFadeSound.Name)
  2521. if hitFadeSound then
  2522. hitFadeSound.Parent = humanoid.Torso
  2523. hitFadeSound.TimePosition = 0.1
  2524. ParticleEmmiter1 = onlyparticle:Clone()
  2525. ParticleEmmiter1.Parent = humanoid.Torso
  2526. ParticleEmmiter1.Speed = NumberRange.new(10, 10)
  2527. ParticleEmmiter1.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2528. ParticleEmmiter1.LightEmission = 1
  2529. ParticleEmmiter1.LightInfluence = 0
  2530. ParticleEmmiter1.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2531. ParticleEmmiter1.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2532. ParticleEmmiter1.Size = NumberSequence.new(3,3)
  2533. ParticleEmmiter1.Lifetime = NumberRange.new(0.40000000596046, 0.80000001192093)
  2534. ParticleEmmiter1.LockedToPart = true
  2535. ParticleEmmiter1.Rate = 250
  2536. ParticleEmmiter1.SpreadAngle = Vector2.new(360, 360)
  2537. ParticleEmmiter1.VelocitySpread = 360
  2538. hitFadeSound:Play()
  2539. end
  2540. shot:Destroy()
  2541. end
  2542. Dematerialize(character, humanoid, otherPart)
  2543. end
  2544. end
  2545.  
  2546.  
  2547. function keydown()
  2548.  
  2549. FireSound:Play()
  2550. FireSound.TimePosition = 6.6662961134570650756
  2551. local gay = Instance.new("Part",workspace)
  2552. gay.Transparency = 1
  2553. gay.Anchored = true
  2554. gay.CanCollide = false
  2555. gay.CFrame = mouse.Hit
  2556. Humanoid.TargetPoint = gay.Position
  2557.  
  2558. local handleCFrame = Handle.CFrame
  2559. local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
  2560. local shotCFrame = CFrame.new(firingPoint, Humanoid.TargetPoint)
  2561.  
  2562. local laserShotClone = BaseShot:Clone()
  2563. laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (BaseShot.Size.Z / 2))
  2564. laserShotClone.Transparency = 1
  2565. local bodyVelocity = Instance.new('BodyVelocity')
  2566. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
  2567. bodyVelocity.Parent = laserShotClone
  2568. laserShotClone.Touched:connect(function(otherPart)
  2569. OnTouched(laserShotClone, otherPart)
  2570. end)
  2571. DebrisService:AddItem(laserShotClone, SHOT_TIME)
  2572. laserShotClone.Parent = plr.Character
  2573. local ParticleEmitter0 = onlyparticle:Clone()
  2574. ParticleEmitter0.Speed = NumberRange.new(0, 0)
  2575. ParticleEmitter0.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2576. ParticleEmitter0.LightEmission = 1
  2577. ParticleEmitter0.LightInfluence = 0
  2578. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2579. ParticleEmitter0.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2580. ParticleEmitter0.Size = NumberSequence.new(3,3)
  2581. ParticleEmitter0.Lifetime = NumberRange.new(0.20000000298023, 0.40000000596046)
  2582. ParticleEmitter0.Rate = 250
  2583. ParticleEmitter0.SpreadAngle = Vector2.new(360, 360)
  2584. ParticleEmitter0.VelocitySpread = 360
  2585. ParticleEmitter0.Parent = laserShotClone
  2586.  
  2587. wait(0.001) -- FireSound length
  2588.  
  2589. ReloadSound:Play()
  2590. wait(0.001) -- ReloadSound length
  2591. gay:Destroy()
  2592.  
  2593. end
  2594.  
  2595. --------------------
  2596. --| Script Logic |--
  2597. --------------------
  2598.  
  2599. BaseShot = Instance.new('Part')
  2600. BaseShot.Name = 'Effect'
  2601. BaseShot.FormFactor = Enum.FormFactor.Custom
  2602. BaseShot.Size = Vector3.new(0.2, 0.2, 3)
  2603. BaseShot.CanCollide = false
  2604. BaseShot.Color = Color3.fromRGB(255,125,255)
  2605. BaseShot.Transparency = 1
  2606. BaseShot.Material = "Neon"
  2607. Light(BaseShot)
  2608. HitFadeSound:Clone().Parent = BaseShot
  2609.  
  2610. mouse = plr:GetMouse()
  2611.  
  2612. function dropexplosion()
  2613. local plr = game.Players.LocalPlayer
  2614. local mouse = plr:GetMouse()
  2615. local Part0 = Instance.new("Part")
  2616. local Part1 = Instance.new("Part")
  2617. local Part2 = Instance.new("Part")
  2618. local Part3 = Instance.new("Part")
  2619. local ParticleEmitter4 = onlyparticle:Clone()
  2620. local ParticleEmitter5 = onlyparticle:Clone()
  2621. local ParticleEmitter4a = onlyparticle:Clone()
  2622. local ParticleEmitter5a = onlyparticle:Clone()
  2623. local ParticleEmitter4b = onlyparticle:Clone()
  2624. local ParticleEmitter5b = onlyparticle:Clone()
  2625. local Part6 = Instance.new("Part")
  2626. local ParticleEmitter7 = onlyparticle:Clone()
  2627. local Part8 = Instance.new("Part")
  2628. local Part9 = Instance.new("Part")
  2629. local Part10 = Instance.new("Part")
  2630. local antispam = false
  2631. local touch = false
  2632. local sound1 = Instance.new("Sound")
  2633. local sound2 = Instance.new("Sound")
  2634. local toucher = false
  2635. Part3.Name = "HitPart"
  2636. Part3.Transparency = 1
  2637. Part3.Parent = workspace
  2638. Part3.CFrame = mouse.Hit
  2639. Part3.Orientation = Vector3.new(90, 0, 0)
  2640. Part3.Rotation = Vector3.new(90, 0, 0)
  2641. Part3.Size = Vector3.new(1, 1, 1)
  2642. Part3.Anchored = false
  2643. Part3.CanCollide = true
  2644. Part3.Touched:connect(function(part)
  2645. if toucher == false then
  2646. wait()
  2647. toucher = true
  2648. Mat = part.Material
  2649. Color = part.Color
  2650. return
  2651. else return
  2652. end
  2653. end)
  2654. repeat wait() until toucher == true
  2655. Part3.Anchored = true
  2656. Part3.CanCollide = false
  2657. Part3.BottomSurface = Enum.SurfaceType.Smooth
  2658. Part3.TopSurface = Enum.SurfaceType.Smooth
  2659. Part0.Name = "GroundPart1"
  2660. Part0.CanCollide = false
  2661. Part0.Parent = workspace
  2662. Part0.Orientation = Vector3.new(43.7000008, 69.7999954, 0)
  2663. Part0.Position = Part3.Position + Vector3.new(-4.79191017, -0.534395099, -1.54843795)
  2664. Part0.Rotation = Vector3.new(70.1299973, 42.7299995, -61.9599991)
  2665. Part0.Color = Color
  2666. Part0.Size = Vector3.new(6.01000214, 5.5, 4.91000032)
  2667. Part0.Anchored = true
  2668. Part0.BottomSurface = Enum.SurfaceType.Smooth
  2669. Part0.Material = Mat
  2670. Part0.TopSurface = Enum.SurfaceType.Smooth
  2671. Part1.Name = "GroundPart2"
  2672. Part1.CanCollide = false
  2673. Part1.Parent = workspace
  2674. Part1.Orientation = Vector3.new(43.7000008, -44.4899979, 0)
  2675. Part1.Position = Part3.Position + Vector3.new(3.2295146, -0.810723543, -3.21858191)
  2676. Part1.Rotation = Vector3.new(53.25, -30.4399986, 34.1599998)
  2677. Part1.Color = Color
  2678. Part1.Size = Vector3.new(6.01000214, 5.5, 4.1099987)
  2679. Part1.Anchored = true
  2680. Part1.BottomSurface = Enum.SurfaceType.Smooth
  2681. Part1.Material = Mat
  2682. Part1.TopSurface = Enum.SurfaceType.Smooth
  2683. Part2.Name = "GroundPart3"
  2684. Part2.CanCollide = false
  2685. Part2.Parent = workspace
  2686. Part2.Orientation = Vector3.new(-35.2900009, 0, 0)
  2687. Part2.Position = Part3.Position + Vector3.new(-0.0850079656, -0.452380568, 5.17579603)
  2688. Part2.Rotation = Vector3.new(-35.2900009, 0, 0)
  2689. Part2.Color = Color
  2690. Part2.Size = Vector3.new(6.01000214, 4.99000216, 5.75000048)
  2691. Part2.Anchored = true
  2692. Part2.BottomSurface = Enum.SurfaceType.Smooth
  2693. Part2.Material = Mat
  2694. Part2.TopSurface = Enum.SurfaceType.Smooth
  2695. ParticleEmitter4.Parent = Part3
  2696. ParticleEmitter4.Speed = NumberRange.new(90, 90)
  2697. ParticleEmitter4.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2698. ParticleEmitter4.Enabled = false
  2699. ParticleEmitter4.LightEmission = 1
  2700. ParticleEmitter4.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2701. ParticleEmitter4.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2702. ParticleEmitter4.Size = NumberSequence.new(20,20)
  2703. ParticleEmitter4.Lifetime = NumberRange.new(1, 2)
  2704. ParticleEmitter4.Rate = 250
  2705. ParticleEmitter4.SpreadAngle = Vector2.new(0, 180)
  2706. ParticleEmitter5.Parent = Part3
  2707. ParticleEmitter5.Speed = NumberRange.new(90, 90)
  2708. ParticleEmitter5.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2709. ParticleEmitter5.Enabled = false
  2710. ParticleEmitter5.LightEmission = 1
  2711. ParticleEmitter5.LightInfluence = 0
  2712. ParticleEmitter5.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2713. ParticleEmitter5.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2714. ParticleEmitter5.Size = NumberSequence.new(20,20)
  2715. ParticleEmitter5.EmissionDirection = Enum.NormalId.Front
  2716. ParticleEmitter5.Lifetime = NumberRange.new(1, 2)
  2717. ParticleEmitter5.Rate = 250
  2718. ParticleEmitter5.SpreadAngle = Vector2.new(50, 50)
  2719. ParticleEmitter5.VelocitySpread = 50
  2720. ParticleEmitter4a.Parent = Part3
  2721. ParticleEmitter4a.Speed = NumberRange.new(90, 90)
  2722. ParticleEmitter4a.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2723. ParticleEmitter4a.Enabled = false
  2724. ParticleEmitter4a.LightEmission = 1
  2725. ParticleEmitter4a.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2726. ParticleEmitter4a.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2727. ParticleEmitter4a.Size = NumberSequence.new(20,20)
  2728. ParticleEmitter4a.Lifetime = NumberRange.new(1, 2)
  2729. ParticleEmitter4a.Rate = 250
  2730. ParticleEmitter4a.SpreadAngle = Vector2.new(0, 180)
  2731. ParticleEmitter5a.Parent = Part3
  2732. ParticleEmitter5a.Speed = NumberRange.new(90, 90)
  2733. ParticleEmitter5a.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2734. ParticleEmitter5a.Enabled = false
  2735. ParticleEmitter5a.LightEmission = 1
  2736. ParticleEmitter5a.LightInfluence = 0
  2737. ParticleEmitter5a.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2738. ParticleEmitter5a.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2739. ParticleEmitter5a.Size = NumberSequence.new(20,20)
  2740. ParticleEmitter5a.EmissionDirection = Enum.NormalId.Front
  2741. ParticleEmitter5a.Lifetime = NumberRange.new(1, 2)
  2742. ParticleEmitter5a.Rate = 250
  2743. ParticleEmitter5a.SpreadAngle = Vector2.new(50, 50)
  2744. ParticleEmitter5a.VelocitySpread = 50
  2745. ParticleEmitter4b.Parent = Part3
  2746. ParticleEmitter4b.Speed = NumberRange.new(90, 90)
  2747. ParticleEmitter4b.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2748. ParticleEmitter4b.Enabled = false
  2749. ParticleEmitter4b.LightEmission = 1
  2750. ParticleEmitter4b.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2751. ParticleEmitter4b.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2752. ParticleEmitter4b.Size = NumberSequence.new(20,20)
  2753. ParticleEmitter4b.Lifetime = NumberRange.new(1, 2)
  2754. ParticleEmitter4b.Rate = 250
  2755. ParticleEmitter4b.SpreadAngle = Vector2.new(0, 180)
  2756. ParticleEmitter5b.Parent = Part3
  2757. ParticleEmitter5b.Speed = NumberRange.new(90, 90)
  2758. ParticleEmitter5b.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2759. ParticleEmitter5b.Enabled = false
  2760. ParticleEmitter5b.LightEmission = 1
  2761. ParticleEmitter5b.LightInfluence = 0
  2762. ParticleEmitter5b.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2763. ParticleEmitter5b.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2764. ParticleEmitter5b.Size = NumberSequence.new(20,20)
  2765. ParticleEmitter5b.EmissionDirection = Enum.NormalId.Front
  2766. ParticleEmitter5b.Lifetime = NumberRange.new(1, 2)
  2767. ParticleEmitter5b.Rate = 250
  2768. ParticleEmitter5b.SpreadAngle = Vector2.new(50, 50)
  2769. ParticleEmitter5b.VelocitySpread = 50
  2770. sound1.Volume = 10
  2771. sound1.Parent = Part3
  2772. sound1.SoundId = "rbxassetid://483458132"
  2773. sound1.TimePosition = 0.35
  2774. sound2.Volume = 10
  2775. sound2.Parent = Part3
  2776. sound2.SoundId = "rbxassetid://1925661723"
  2777. Part6.Name = "FallPart"
  2778. Part6.Parent = workspace
  2779. Part6.Position = Part3.Position + Vector3.new(0, 73.1500092, 0)
  2780. Part6.Color = Color3.fromRGB(180, 128, 255)
  2781. Part6.Size = Vector3.new(1, 1, 1)
  2782. Part6.Anchored = true
  2783. Part6.BottomSurface = Enum.SurfaceType.Smooth
  2784. Part6.BrickColor = BrickColor.new("Alder")
  2785. Part6.Material = Enum.Material.Neon
  2786. Part6.TopSurface = Enum.SurfaceType.Smooth
  2787. Part6.brickColor = BrickColor.new("Alder")
  2788. ParticleEmitter7.Parent = Part6
  2789. ParticleEmitter7.Speed = NumberRange.new(20, 20)
  2790. ParticleEmitter7.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  2791. ParticleEmitter7.LightEmission = 1
  2792. ParticleEmitter7.Enabled = false
  2793. ParticleEmitter7.Texture = "http://www.roblox.com/asset/?id=1280736246"
  2794. ParticleEmitter7.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  2795. ParticleEmitter7.Size = NumberSequence.new(3,3)
  2796. ParticleEmitter7.Lifetime = NumberRange.new(0.80000001192093, 1.3999999761581)
  2797. ParticleEmitter7.Rate = 250
  2798. ParticleEmitter7.SpreadAngle = Vector2.new(50, 50)
  2799. ParticleEmitter7.VelocitySpread = 50
  2800. Part8.Name = "ThrowPart1"
  2801. Part8.Parent = workspace
  2802. Part8.Orientation = Vector3.new(43.7000008, 69.7999954, 0)
  2803. Part8.Position = Part3.Position + Vector3.new(-9.69961834, 9.33336163, -2.60139155)
  2804. Part8.Rotation = Vector3.new(70.1299973, 42.7299995, -61.9599991)
  2805. Part8.Color = Color
  2806. Part8.Size = Vector3.new(5.15000153, 3.76000071, 3.54000092)
  2807. Part8.Anchored = true
  2808. Part8.BottomSurface = Enum.SurfaceType.Smooth
  2809. Part8.Material = Mat
  2810. Part8.TopSurface = Enum.SurfaceType.Smooth
  2811. Part9.Name = "ThrowPart2"
  2812. Part9.Parent = workspace
  2813. Part9.Orientation = Vector3.new(43.7000008, -45.1800003, 0)
  2814. Part9.Position = Part3.Position + Vector3.new(4.32038021, 9.33336163, -5.15139008)
  2815. Part9.Rotation = Vector3.new(53.579998, -30.8499985, 34.7999992)
  2816. Part9.Color = Color
  2817. Part9.Size = Vector3.new(5.15000153, 3.76000071, 3.54000092)
  2818. Part9.Anchored = true
  2819. Part9.BottomSurface = Enum.SurfaceType.Smooth
  2820. Part9.Material = Mat
  2821. Part9.TopSurface = Enum.SurfaceType.Smooth
  2822. Part10.Name = "ThrowPart3"
  2823. Part10.Parent = workspace
  2824. Part10.Orientation = Vector3.new(43.7000008, -179, 0)
  2825. Part10.Position = Part3.Position + Vector3.new(-0.229619771, 9.33336163, 7.62861347)
  2826. Part10.Rotation = Vector3.new(136.300003, -0.729999959, 179.309998)
  2827. Part10.Color = Color
  2828. Part10.Size = Vector3.new(5.15000153, 3.76000071, 3.54000092)
  2829. Part10.Anchored = true
  2830. Part10.BottomSurface = Enum.SurfaceType.Smooth
  2831. Part10.Material = Mat
  2832. Part10.TopSurface = Enum.SurfaceType.Smooth
  2833. Part0.Anchored = true
  2834. Part1.Anchored = true
  2835. Part2.Anchored = true
  2836. Part3.Anchored = true
  2837. Part6.Anchored = false
  2838. Part8.Anchored = true
  2839. Part9.Anchored = true
  2840. Part10.Anchored = true
  2841. Part0.Transparency = 1
  2842. Part1.Transparency = 1
  2843. Part2.Transparency = 1
  2844. Part3.Transparency = 1
  2845. Part6.Transparency = 0
  2846. Part8.Transparency = 1
  2847. Part9.Transparency = 1
  2848. Part10.Transparency = 1
  2849. Part8.Velocity = Vector3.new(-90, 100, -20)
  2850. Part9.Velocity = Vector3.new(40, 100, -50)
  2851. Part10.Velocity = Vector3.new(-10, 100, 80)
  2852. Part8.CanCollide = false
  2853. Part9.CanCollide = false
  2854. Part10.CanCollide = false
  2855. ParticleEmitter7.Enabled = true
  2856. Part6.Touched:connect(function(touche)
  2857. touch = true
  2858. end)
  2859. repeat wait() until touch == true
  2860. ParticleEmitter5.Enabled = true
  2861. ParticleEmitter4.Enabled = true
  2862. ParticleEmitter5a.Enabled = true
  2863. ParticleEmitter4a.Enabled = true
  2864. ParticleEmitter5b.Enabled = true
  2865. ParticleEmitter4b.Enabled = true
  2866. Part0.Transparency = 0
  2867. Part1.Transparency = 0
  2868. Part2.Transparency = 0
  2869. --sound--
  2870. Part6.Parent = nil
  2871. local e = Instance.new("Explosion",plr.Character)
  2872. e.Visible = false
  2873. e.Position = Part3.Position
  2874. e.BlastRadius = 45
  2875. e.BlastPressure = math.huge
  2876. sound2:Play()
  2877. sound1:Play()
  2878. wait()
  2879. Part8.Transparency = 0
  2880. Part9.Transparency = 0
  2881. Part10.Transparency = 0
  2882. Part8.Anchored = false
  2883. Part9.Anchored = false
  2884. Part10.Anchored = false
  2885. wait(.5)
  2886. ParticleEmitter5.Enabled = false
  2887. ParticleEmitter4.Enabled = false
  2888. ParticleEmitter5a.Enabled = false
  2889. ParticleEmitter4a.Enabled = false
  2890. ParticleEmitter5b.Enabled = false
  2891. ParticleEmitter4b.Enabled = false
  2892. wait(2.5)
  2893. Part0.Parent = nil
  2894. wait()
  2895. Part1.Parent = nil
  2896. wait()
  2897. Part2.Parent = nil
  2898. wait()
  2899. Part6.Parent = nil
  2900. wait()
  2901. Part8.Parent = nil
  2902. wait()
  2903. Part9.Parent = nil
  2904. wait()
  2905. Part10.Parent = nil
  2906. wait(5)
  2907. Part3.Parent = nil
  2908.  
  2909. end
  2910.  
  2911. local p = game.Players.LocalPlayer
  2912. local lol5a = Instance.new("Sound",p.Character.Head)
  2913. lol5a.Name = "Fire"
  2914. lol5a.SoundId = "http://www.roblox.com/asset?id=257001241"
  2915. lol5a.Pitch = 1.3
  2916. lol5a.Volume = 5
  2917. lol5a.TimePosition = 6.6662961134570650756
  2918. lol6a = Instance.new("Sound",p.Character.Head)
  2919. lol6a.Name = "Reload"
  2920. lol6a.SoundId = "http://www.roblox.com/asset?id=166032807"
  2921. lol6a.Pitch = 1.8
  2922. lol6a.Volume = 0
  2923. local lol7a = Instance.new("Sound",p.Character.Head)
  2924. lol7a.Name = "HitFade"
  2925. lol7a.Pitch = .6
  2926. lol7a.Volume = 10
  2927. lol7a.SoundId = "http://www.roblox.com/asset?id=163570653"
  2928. -----------------
  2929. --| Constants |--
  2930. -----------------
  2931.  
  2932. local SHOT_SPEEDa = 250
  2933. local SHOT_TIMEa = 5
  2934.  
  2935. local NOZZLE_OFFSETa = Vector3.new(0, 50, -2)
  2936.  
  2937. -----------------
  2938. --| Variables |--
  2939. -----------------
  2940. plr = game.Players.LocalPlayer
  2941. local PlayersService = game:GetService('Players')
  2942. local DebrisService = game:GetService('Debris')
  2943.  
  2944. Handle = plr.Character.Head
  2945. local FireSounda = Handle:WaitForChild('Fire')
  2946. local ReloadSounda = Handle:WaitForChild('Reload')
  2947. local HitFadeSounda = Handle:WaitForChild('HitFade')
  2948.  
  2949. local Charactera = plr.Character
  2950. local Humanoida = plr.Character.Humanoid
  2951. local Playera = plr
  2952.  
  2953. local BaseShota = nil
  2954.  
  2955. PointLight = Instance.new("PointLight")
  2956. PointLight.Color = Color3.fromRGB(125,0,255)
  2957. PointLight.Range = 15
  2958. PointLight.Brightness = 10
  2959.  
  2960. -----------------
  2961. --| Functions |--
  2962. -----------------
  2963.  
  2964. -- Returns a character ancestor and its Humanoid, or nil
  2965.  
  2966. local function Light(instance)
  2967. local light = PointLight:Clone()
  2968. light.Range = light.Range + 2
  2969. light.Parent = instance
  2970. end
  2971.  
  2972. local function OnTouched2(shot)
  2973. local mas = workspace
  2974. local plr = game.Players.LocalPlayer
  2975. local mouse = plr:GetMouse()
  2976. local Part1 = Instance.new("Part")
  2977. local Part2 = Instance.new("Part")
  2978. local Part3 = Instance.new("Part")
  2979. local Part4 = Instance.new("Part")
  2980. local ParticleEmitter5 = onlyparticle:Clone()
  2981. local ParticleEmitter6 = onlyparticle:Clone()
  2982. local ParticleEmitter5a = onlyparticle:Clone()
  2983. local ParticleEmitter6a = onlyparticle:Clone()
  2984. local ParticleEmitter5b = onlyparticle:Clone()
  2985. local ParticleEmitter6b = onlyparticle:Clone()
  2986. local ParticleEmitter5c = onlyparticle:Clone()
  2987. local ParticleEmitter6c = onlyparticle:Clone()
  2988. local Sound1 = Instance.new("Sound")
  2989.  
  2990. Part4.Name = "HitPart1"
  2991. Part4.Parent = mas
  2992. Part4.CFrame = shot.CFrame
  2993. Part4.Transparency = 1
  2994. Part4.Anchored = true
  2995. Part4.Orientation = Vector3.new(0,0,0)
  2996. Part4.Size = Vector3.new(1, 1, 1)
  2997. Part4.BottomSurface = Enum.SurfaceType.Smooth
  2998. Part4.TopSurface = Enum.SurfaceType.Smooth
  2999. Part1.Name = "ThrowPart1"
  3000. Part1.Parent = mas
  3001. Part1.Orientation = Vector3.new(-16.5900002, -114.529999, 3.52999997)
  3002. Part1.Position = Part4.Position + Vector3.new(-2.75500131, 1.63510203, -1.09517145)
  3003. Part1.Rotation = Vector3.new(-144.330002, -60.6800003, -144.429993)
  3004. Part1.Size = Vector3.new(2.05000138, 1.30000043, 2)
  3005. Part1.BottomSurface = Enum.SurfaceType.Smooth
  3006. Part1.TopSurface = Enum.SurfaceType.Smooth
  3007. Part1.Anchored = true
  3008. Part2.Name = "ThrowPart2"
  3009. Part2.Parent = mas
  3010. Part2.Orientation = Vector3.new(-16.4499989, 145.669998, -12.8499994)
  3011. Part2.Position = Part4.Position + Vector3.new(1.80499947, 1.63510203, -2.28517127)
  3012. Part2.Rotation = Vector3.new(-160.319992, 32.7399979, 156.199997)
  3013. Part2.Size = Vector3.new(2.05000138, 1.30000043, 2)
  3014. Part2.BottomSurface = Enum.SurfaceType.Smooth
  3015. Part2.Anchored = true
  3016. Part2.TopSurface = Enum.SurfaceType.Smooth
  3017. Part3.Name = "ThrowPart3"
  3018. Part3.Parent = mas
  3019. Part3.Orientation = Vector3.new(-25.75, 0, 0)
  3020. Part3.Position = Part4.Position + Vector3.new(0.075000301, 1.63510215, 3.11482763)
  3021. Part3.Rotation = Vector3.new(-25.75, 0, 0)
  3022. Part3.Size = Vector3.new(2.05000138, 1.30000043, 2)
  3023. Part3.BottomSurface = Enum.SurfaceType.Smooth
  3024. Part3.TopSurface = Enum.SurfaceType.Smooth
  3025. Part3.Anchored = true
  3026. Sound1.SoundId = "rbxassetid://1925661723"
  3027. Sound1.Volume = 10
  3028. Sound1.Pitch = 1.2
  3029. Sound1.Parent = Part4
  3030. ParticleEmitter5.Parent = Part4
  3031. ParticleEmitter5.Speed = NumberRange.new(70, 70)
  3032. ParticleEmitter5.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3033. ParticleEmitter5.Enabled = false
  3034. ParticleEmitter5.LightEmission = 1
  3035. ParticleEmitter5.LightInfluence = 0
  3036. ParticleEmitter5.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3037. ParticleEmitter5.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3038. ParticleEmitter5.Size = NumberSequence.new(7,7)
  3039. ParticleEmitter5.Lifetime = NumberRange.new(1, 2)
  3040. ParticleEmitter5.Rate = 250
  3041. ParticleEmitter5.SpreadAngle = Vector2.new(30, 30)
  3042. ParticleEmitter5.VelocitySpread = 30
  3043. ParticleEmitter6.Parent = Part4
  3044. ParticleEmitter6.Speed = NumberRange.new(90, 90)
  3045. ParticleEmitter6.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3046. ParticleEmitter6.Enabled = false
  3047. ParticleEmitter6.LightEmission = 1
  3048. ParticleEmitter6.LightInfluence = 0
  3049. ParticleEmitter6.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3050. ParticleEmitter6.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3051. ParticleEmitter6.Size = NumberSequence.new(10,10)
  3052. ParticleEmitter6.EmissionDirection = Enum.NormalId.Front
  3053. ParticleEmitter6.Lifetime = NumberRange.new(0.5, 1)
  3054. ParticleEmitter6.Rate = 250
  3055. ParticleEmitter6.SpreadAngle = Vector2.new(0, 180)
  3056. ParticleEmitter5a.Parent = Part4
  3057. ParticleEmitter5a.Speed = NumberRange.new(70, 70)
  3058. ParticleEmitter5a.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3059. ParticleEmitter5a.Enabled = false
  3060. ParticleEmitter5a.LightEmission = 1
  3061. ParticleEmitter5a.LightInfluence = 0
  3062. ParticleEmitter5a.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3063. ParticleEmitter5a.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3064. ParticleEmitter5a.Size = NumberSequence.new(7,7)
  3065. ParticleEmitter5a.Lifetime = NumberRange.new(1, 2)
  3066. ParticleEmitter5a.Rate = 250
  3067. ParticleEmitter5a.SpreadAngle = Vector2.new(30, 30)
  3068. ParticleEmitter5a.VelocitySpread = 30
  3069. ParticleEmitter6a.Parent = Part4
  3070. ParticleEmitter6a.Speed = NumberRange.new(90, 90)
  3071. ParticleEmitter6a.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3072. ParticleEmitter6a.Enabled = false
  3073. ParticleEmitter6a.LightEmission = 1
  3074. ParticleEmitter6a.LightInfluence = 0
  3075. ParticleEmitter6a.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3076. ParticleEmitter6a.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3077. ParticleEmitter6a.Size = NumberSequence.new(10,10)
  3078. ParticleEmitter6a.EmissionDirection = Enum.NormalId.Front
  3079. ParticleEmitter6a.Lifetime = NumberRange.new(0.5, 1)
  3080. ParticleEmitter6a.Rate = 250
  3081. ParticleEmitter6a.SpreadAngle = Vector2.new(0, 180)
  3082. ParticleEmitter5b.Parent = Part4
  3083. ParticleEmitter5b.Speed = NumberRange.new(70, 70)
  3084. ParticleEmitter5b.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3085. ParticleEmitter5b.Enabled = false
  3086. ParticleEmitter5b.LightEmission = 1
  3087. ParticleEmitter5b.LightInfluence = 0
  3088. ParticleEmitter5b.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3089. ParticleEmitter5b.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3090. ParticleEmitter5b.Size = NumberSequence.new(7,7)
  3091. ParticleEmitter5b.Lifetime = NumberRange.new(1, 2)
  3092. ParticleEmitter5b.Rate = 250
  3093. ParticleEmitter5b.SpreadAngle = Vector2.new(30, 30)
  3094. ParticleEmitter5b.VelocitySpread = 30
  3095. ParticleEmitter6b.Parent = Part4
  3096. ParticleEmitter6b.Speed = NumberRange.new(90, 90)
  3097. ParticleEmitter6b.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3098. ParticleEmitter6b.Enabled = false
  3099. ParticleEmitter6b.LightEmission = 1
  3100. ParticleEmitter6b.LightInfluence = 0
  3101. ParticleEmitter6b.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3102. ParticleEmitter6b.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3103. ParticleEmitter6b.Size = NumberSequence.new(10,10)
  3104. ParticleEmitter6b.EmissionDirection = Enum.NormalId.Front
  3105. ParticleEmitter6b.Lifetime = NumberRange.new(0.5, 1)
  3106. ParticleEmitter6b.Rate = 250
  3107. ParticleEmitter6b.SpreadAngle = Vector2.new(0, 180)
  3108. ParticleEmitter5c.Parent = Part4
  3109. ParticleEmitter5c.Speed = NumberRange.new(70, 70)
  3110. ParticleEmitter5c.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3111. ParticleEmitter5c.Enabled = false
  3112. ParticleEmitter5c.LightEmission = 1
  3113. ParticleEmitter5c.LightInfluence = 0
  3114. ParticleEmitter5c.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3115. ParticleEmitter5c.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3116. ParticleEmitter5c.Size = NumberSequence.new(7,7)
  3117. ParticleEmitter5c.Lifetime = NumberRange.new(1, 2)
  3118. ParticleEmitter5c.Rate = 250
  3119. ParticleEmitter5c.SpreadAngle = Vector2.new(30, 30)
  3120. ParticleEmitter5c.VelocitySpread = 30
  3121. ParticleEmitter6c.Parent = Part4
  3122. ParticleEmitter6c.Speed = NumberRange.new(90, 90)
  3123. ParticleEmitter6c.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3124. ParticleEmitter6c.Enabled = false
  3125. ParticleEmitter6c.LightEmission = 1
  3126. ParticleEmitter6c.LightInfluence = 0
  3127. ParticleEmitter6c.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3128. ParticleEmitter6c.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3129. ParticleEmitter6c.Size = NumberSequence.new(10,10)
  3130. ParticleEmitter6c.EmissionDirection = Enum.NormalId.Front
  3131. ParticleEmitter6c.Lifetime = NumberRange.new(0.5, 1)
  3132. ParticleEmitter6c.Rate = 250
  3133. ParticleEmitter6c.SpreadAngle = Vector2.new(0, 180)
  3134. Part1.Transparency = 0
  3135. Part2.Transparency = 0
  3136. Part3.Transparency = 0
  3137. local e = Instance.new("Explosion",workspace)
  3138. e.BlastPressure = math.huge
  3139. e.BlastRadius = 15
  3140. e.Position = shot.Position
  3141. e.DestroyJointRadiusPercent = 1
  3142. e.Visible = false
  3143. Sound1:Play()
  3144. wait()
  3145. shot:Destroy()
  3146. Part1.Anchored = false
  3147. Part2.Anchored = false
  3148. Part3.Anchored = false
  3149. Part1.CanCollide = false
  3150. Part2.CanCollide = false
  3151. Part3.CanCollide = false
  3152. Part1.Velocity = Vector3.new(-100, 35, -50)
  3153. Part2.Velocity = Vector3.new(80, 35, 115)
  3154. Part3.Velocity = Vector3.new(45, 35, 150)
  3155. ParticleEmitter5.Enabled = true
  3156. ParticleEmitter6.Enabled = true
  3157. ParticleEmitter5a.Enabled = true
  3158. ParticleEmitter6a.Enabled = true
  3159. ParticleEmitter5b.Enabled = true
  3160. ParticleEmitter6b.Enabled = true
  3161. ParticleEmitter5c.Enabled = true
  3162. ParticleEmitter6c.Enabled = true
  3163. wait(.25)
  3164. ParticleEmitter5.Enabled = false
  3165. ParticleEmitter6.Enabled = false
  3166. ParticleEmitter5a.Enabled = false
  3167. ParticleEmitter6a.Enabled = false
  3168. ParticleEmitter5b.Enabled = false
  3169. ParticleEmitter6b.Enabled = false
  3170. ParticleEmitter5c.Enabled = false
  3171. ParticleEmitter6c.Enabled = false
  3172. wait(4)
  3173. Part4.Parent = nil
  3174. end
  3175.  
  3176.  
  3177. function keydowner()
  3178. local gay = Instance.new("Part",workspace)
  3179. gay.Transparency = 1
  3180. gay.Anchored = true
  3181. gay.CanCollide = false
  3182. gay.CFrame = mouse.Hit
  3183. FireSounda.TimePosition = 6.6662961134570650756
  3184. Humanoida.TargetPoint = gay.Position
  3185. local x = math.random(-100,100)
  3186. local z = math.random(-100,100)
  3187. local NOZZLE_OFFSET = Vector3.new(x, 50, z)
  3188.  
  3189. local handleCFrame = gay.CFrame
  3190. local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
  3191. local shotCFrame = CFrame.new(firingPoint, Humanoida.TargetPoint)
  3192.  
  3193. local laserShotClone = BaseShot2:Clone()
  3194. laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (BaseShot.Size.Z / 2))
  3195. laserShotClone.Transparency = 1
  3196. local bodyVelocity = Instance.new('BodyVelocity')
  3197. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEEDa
  3198. bodyVelocity.Parent = laserShotClone
  3199. laserShotClone.Touched:connect(function(otherPart)
  3200. OnTouched2(laserShotClone)
  3201. end)
  3202. DebrisService:AddItem(laserShotClone, SHOT_TIMEa)
  3203. laserShotClone.Parent = plr.Character
  3204. local ParticleEmitter0 = onlyparticle:Clone()
  3205. ParticleEmitter0.Speed = NumberRange.new(0, 0)
  3206. ParticleEmitter0.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255),Color3.fromRGB(180, 128, 255))
  3207. ParticleEmitter0.LightEmission = 1
  3208. ParticleEmitter0.LightInfluence = 0
  3209. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3210. ParticleEmitter0.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3211. ParticleEmitter0.Size = NumberSequence.new(10,10)
  3212. ParticleEmitter0.Lifetime = NumberRange.new(0.1, 0.2)
  3213. ParticleEmitter0.Rate = 250
  3214. ParticleEmitter0.SpreadAngle = Vector2.new(360, 360)
  3215. ParticleEmitter0.VelocitySpread = 360
  3216. ParticleEmitter0.Parent = laserShotClone
  3217. local kiresound = FireSounda:Clone()
  3218. kiresound.Parent = laserShotClone
  3219. kiresound.Pitch = 1.1
  3220. kiresound:Play()
  3221.  
  3222. wait(0.001) -- FireSound length
  3223.  
  3224. ReloadSounda:Play()
  3225. wait(0.001) -- ReloadSound length
  3226. gay:Destroy()
  3227.  
  3228. end
  3229.  
  3230. --------------------
  3231. --| Script Logic |--
  3232. --------------------
  3233.  
  3234. BaseShot2 = Instance.new('Part')
  3235. BaseShot2.Name = 'Effect'
  3236. BaseShot2.FormFactor = Enum.FormFactor.Custom
  3237. BaseShot2.Size = Vector3.new(0.2, 0.2, 3)
  3238. BaseShot2.CanCollide = false
  3239. BaseShot2.Color = Color3.fromRGB(255,125,255)
  3240. BaseShot2.Transparency = 0
  3241. BaseShot2.Material = "Neon"
  3242. Light(BaseShot2)
  3243. HitFadeSounda:Clone().Parent = BaseShot2
  3244.  
  3245. mouse = plr:GetMouse()
  3246.  
  3247. function tp()
  3248. local plr = game.Players.LocalPlayer
  3249. local mouse = plr:GetMouse()
  3250. local mas = workspace
  3251. local Model0 = Instance.new("Model")
  3252. local Part1 = Instance.new("Part")
  3253. local Part2 = Instance.new("Part")
  3254. local Part3 = Instance.new("Part")
  3255. local Part4 = Instance.new("Part")
  3256. local de = false
  3257. local fe = false
  3258. Model0.Name = "BeamTele"
  3259. Model0.Parent = mas
  3260. Part1.Name = "HitPart"
  3261. Part1.Parent = Model0
  3262. Part1.Anchored = true
  3263. Part1.CanCollide = false
  3264. Part1.CFrame = mouse.Hit
  3265. Part1.Size = Vector3.new(1, 1, 1)
  3266. Part1.BottomSurface = Enum.SurfaceType.Smooth
  3267. Part1.TopSurface = Enum.SurfaceType.Smooth
  3268. Part1.Orientation = Vector3.new(0,0,0)
  3269. Part2.Name = "Ball"
  3270. Part2.Parent = Model0
  3271. Part2.Color = Color3.fromRGB(1, 0.258824, 0.866667)
  3272. Part2.Position = Part1.Position
  3273. Part2.Transparency = 0.5
  3274. Part2.Size = Vector3.new(14, 14, 14)
  3275. Part2.BottomSurface = Enum.SurfaceType.Smooth
  3276. Part2.CanCollide = false
  3277. Part2.Material = Enum.Material.Neon
  3278. Part2.TopSurface = Enum.SurfaceType.Smooth
  3279. Part2.Anchored = true
  3280. Part2.CanCollide = false
  3281. Part2.Shape = Enum.PartType.Ball
  3282. Part3.Name = "InnerBeam"
  3283. Part3.Parent = Model0
  3284. Part3.Orientation = Vector3.new(0, 0, 90)
  3285. Part3.Position = Part1.Position + Vector3.new(-4.49965137e-06, 104.940018, 0)
  3286. Part3.Rotation = Vector3.new(0, 0, 90)
  3287. Part3.Color = Color3.fromRGB(145, 98, 255)
  3288. Part3.Size = Vector3.new(209, 5, 5)
  3289. Part3.BottomSurface = Enum.SurfaceType.Smooth
  3290. Part3.Material = Enum.Material.Neon
  3291. Part3.TopSurface = Enum.SurfaceType.Smooth
  3292. Part3.Shape = Enum.PartType.Cylinder
  3293. Part3.Anchored = true
  3294. Part3.CanCollide = false
  3295. Part4.Name = "OuterBeam"
  3296. Part4.Parent = Model0
  3297. Part4.Orientation = Vector3.new(0, 0, 90)
  3298. Part4.Position = Part1.Position + Vector3.new(-4.51626056e-06, 105.32, 0)
  3299. Part4.Rotation = Vector3.new(0, 0, 90)
  3300. Part4.Color = Color3.fromRGB(200, 175, 255)
  3301. Part4.Transparency = 0.40000000596046
  3302. Part4.Size = Vector3.new(210, 8, 8)
  3303. Part4.BottomSurface = Enum.SurfaceType.Smooth
  3304. Part4.Material = Enum.Material.Neon
  3305. Part4.TopSurface = Enum.SurfaceType.Smooth
  3306. Part4.Shape = Enum.PartType.Cylinder
  3307. Part4.Anchored = true
  3308. Part4.CanCollide = false
  3309. Part1.Transparency = 1
  3310. Part2.Transparency = 1
  3311. Part3.Transparency = 1
  3312. Part4.Transparency = 1
  3313. local Model0a = Instance.new("Model")
  3314. local Part1a = Instance.new("Part")
  3315. local ParticleEmitter2 = onlyparticle:Clone()
  3316. local Part3a = Instance.new("Part")
  3317. local Part4a = Instance.new("Part")
  3318. Model0a.Name = "Beam From"
  3319. Model0a.Parent = mas
  3320. Part1a.Name = "HeadCFPart"
  3321. Part1a.Parent = Model0
  3322. Part1a.CFrame = CFrame.new(0, 0.500005007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3323. Part1a.Position = Vector3.new(0, 0.500005007, 0)
  3324. Part1a.Size = Vector3.new(1, 1, 1)
  3325. Part1a.Anchored = true
  3326. Part1a.BottomSurface = Enum.SurfaceType.Smooth
  3327. Part1a.CanCollide = false
  3328. Part1a.TopSurface = Enum.SurfaceType.Smooth
  3329. ParticleEmitter2.Parent = Part1a
  3330. ParticleEmitter2.Speed = NumberRange.new(40, 40)
  3331. ParticleEmitter2.Color = ColorSequence.new(Color3.fromRGB(180, 100, 255),Color3.fromRGB(180, 100, 255))
  3332. ParticleEmitter2.Enabled = false
  3333. ParticleEmitter2.LightEmission = 1
  3334. ParticleEmitter2.LightInfluence = 0
  3335. ParticleEmitter2.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3336. ParticleEmitter2.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3337. ParticleEmitter2.Size = NumberSequence.new(7,7)
  3338. ParticleEmitter2.EmissionDirection = Enum.NormalId.Front
  3339. ParticleEmitter2.Lifetime = NumberRange.new(0.5, 1)
  3340. ParticleEmitter2.Rate = 250
  3341. ParticleEmitter2.SpreadAngle = Vector2.new(30, 180)
  3342. ParticleEmitter2.VelocitySpread = 30
  3343. Part3a.Name = "InnerBeam"
  3344. Part3a.Parent = Model0
  3345. Part3a.Orientation = Vector3.new(0, 0, 90)
  3346. Part3a.Position = Part1a.Position + Vector3.new(-4.49965137e-06, 104.940018, 0)
  3347. Part3a.Rotation = Vector3.new(0, 0, 90)
  3348. Part3a.Color = Color3.fromRGB(145, 98, 255)
  3349. Part3a.Size = Vector3.new(209, 5, 5)
  3350. Part3a.Anchored = true
  3351. Part3a.BottomSurface = Enum.SurfaceType.Smooth
  3352. Part3a.CanCollide = false
  3353. Part3a.Material = Enum.Material.Neon
  3354. Part3a.TopSurface = Enum.SurfaceType.Smooth
  3355. Part3a.Shape = Enum.PartType.Cylinder
  3356. Part4a.Name = "OuterBeam"
  3357. Part4a.Parent = Model0
  3358. Part4a.Orientation = Vector3.new(0, 0, 90)
  3359. Part4a.Position = Part1a.Position + Vector3.new(-4.51626056e-06, 105.32, 0)
  3360. Part4a.Rotation = Vector3.new(0, 0, 90)
  3361. Part4a.Color = Color3.fromRGB(200, 175, 255)
  3362. Part4a.Transparency = 0.40000000596046
  3363. Part4a.Size = Vector3.new(210, 8, 8)
  3364. Part4a.Anchored = true
  3365. Part4a.BottomSurface = Enum.SurfaceType.Smooth
  3366. Part4a.CanCollide = false
  3367. Part4a.Material = Enum.Material.Neon
  3368. Part4a.TopSurface = Enum.SurfaceType.Smooth
  3369. Part4a.Shape = Enum.PartType.Cylinder
  3370. Part1a.Transparency = 1
  3371. Part3a.Transparency = 1
  3372. Part4a.Transparency = 1
  3373. local de = true
  3374. local x=0
  3375. local s = Instance.new("Sound")
  3376. s.Volume = 10
  3377. s.SoundId = "rbxassetid://1371567007"
  3378. s.Pitch = 1.5
  3379. s.Parent = Part1a
  3380. s:Play()
  3381. while x~=35 do
  3382. wait(0.01)
  3383. x=x+1
  3384. Part1a.CFrame = plr.Character.Head.CFrame + Vector3.new(0,-4,0)
  3385. ParticleEmitter2.Enabled = true
  3386. end
  3387. s:Stop()
  3388. local d = Instance.new("Sound")
  3389. d.Volume = 10
  3390. d.SoundId = "rbxassetid://130972023"
  3391. d.Pitch = 1.15
  3392. d.Parent = Part1
  3393. Part3a.Position = Part1a.Position + Vector3.new(-4.49965137e-06, 104.940018, 0)
  3394. Part4a.Position = Part1a.Position + Vector3.new(-4.51626056e-06, 105.32, 0)
  3395. Part2.Transparency = 0.5
  3396. Part3.Transparency = 0
  3397. Part4.Transparency = 0.4
  3398. Part3a.Transparency = 0
  3399. Part4a.Transparency = 0.4
  3400. local hed = plr.Character.Head
  3401. d:Play()
  3402. hed.CFrame = Part1.CFrame + Vector3.new(0,5,0)
  3403. ParticleEmitter2.Enabled = false
  3404. local fe = true
  3405. coroutine.resume(coroutine.create(function()
  3406. while fe do
  3407. wait(.01)
  3408. Part2.Transparency = Part2.Transparency + 0.09/10
  3409. Part3.Transparency = Part3.Transparency + 0.13/10
  3410. Part4.Transparency = Part4.Transparency + 0.13/10
  3411. Part3a.Transparency = Part3a.Transparency + 0.13/10
  3412. Part4a.Transparency = Part4a.Transparency + 0.13/10
  3413. Part2.Size = Part2.Size + Vector3.new(.95/10,.95/10,.95/10)
  3414. Part3.Size = Part3.Size + Vector3.new(.7/10,.7/10,.7/10)
  3415. Part4.Size = Part4.Size + Vector3.new(.7/10,.7/10,.7/10)
  3416. Part3a.Size = Part3a.Size + Vector3.new(.7/10,.7/10,.7/10)
  3417. Part4a.Size = Part4a.Size + Vector3.new(.7/10,.7/10,.7/10)
  3418. end
  3419. end))
  3420. wait(4)
  3421. fe = false
  3422. Model0:Destroy()
  3423. Model0a:Destroy()
  3424. s:Destroy()
  3425. d:Destroy()
  3426. end
  3427.  
  3428. function cake()
  3429. local plr = game.Players.LocalPlayer
  3430. local mouse = plr:GetMouse()
  3431. local mas = workspace
  3432. local Part0 = Instance.new("Part")
  3433. local SpecialMesh1 = Instance.new("SpecialMesh")
  3434. local ParticleEmitter2 = onlyparticle:Clone()
  3435. local tool = Instance.new("Tool")
  3436. local sound = Instance.new("Sound")
  3437. tool.Parent = workspace
  3438. tool.Name = "Cake"
  3439. Part0.Name = "Handle"
  3440. Part0.Parent = tool
  3441. Part0.Size = Vector3.new(3.95300007, 2.99000001, 3.98600006)
  3442. Part0.BottomSurface = Enum.SurfaceType.Smooth
  3443. Part0.TopSurface = Enum.SurfaceType.Smooth
  3444. sound.Parent = Part0
  3445. sound.Volume = 1.5
  3446. sound.SoundId = "rbxassetid://317553816"
  3447. sound.Pitch = 1+math.random()*.5
  3448. SpecialMesh1.Parent = Part0
  3449. SpecialMesh1.VertexColor = Vector3.new(1, 0.850000024, 1)
  3450. SpecialMesh1.TextureId = "rbxassetid://958836523"
  3451. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  3452. ParticleEmitter2.Parent = Part0
  3453. ParticleEmitter2.Speed = NumberRange.new(45, 45)
  3454. ParticleEmitter2.Color = ColorSequence.new(Color3.new(1, 0.262745, 0.929412),Color3.new(1, 0.262745, 0.929412))
  3455. ParticleEmitter2.Enabled = true
  3456. ParticleEmitter2.LightEmission = 1
  3457. ParticleEmitter2.LightInfluence = 0
  3458. ParticleEmitter2.Enabled = false
  3459. ParticleEmitter2.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3460. ParticleEmitter2.Transparency = NumberSequence.new(1,0.68800002336502,0.8870000243187,1)
  3461. ParticleEmitter2.Size = NumberSequence.new(8,8)
  3462. ParticleEmitter2.Acceleration = Vector3.new(0, 5, 0)
  3463. ParticleEmitter2.EmissionDirection = Enum.NormalId.Back
  3464. ParticleEmitter2.Lifetime = NumberRange.new(5, 5)
  3465. ParticleEmitter2.Rate = 250
  3466. ParticleEmitter2.SpreadAngle = Vector2.new(0, 360)
  3467. local ParticleEmitter3 = ParticleEmitter2:Clone()
  3468. ParticleEmitter3.Parent = Part0
  3469. local character = plr.Character
  3470. local head = character:WaitForChild("Head")
  3471. local objectSpace = CFrame.new(0, -4, -5)
  3472. local worldSpace = head.CFrame:toWorldSpace(objectSpace)
  3473. local part = Part0
  3474. part.CFrame = worldSpace
  3475. ParticleEmitter2.Enabled = true
  3476. ParticleEmitter3.Enabled = true
  3477. SpecialMesh1.MeshId = "rbxassetid://958836479"
  3478. sound:Play()
  3479. wait(.25)
  3480. ParticleEmitter2.Enabled = false
  3481. ParticleEmitter3.Enabled = false
  3482. end
  3483.  
  3484. function deletecakes()
  3485. g=0
  3486. for i,v in pairs(workspace:GetChildren()) do
  3487. if v.ClassName == "Tool" and v.Name == "Cake" then
  3488. wait()
  3489. v:Destroy()
  3490. g=g+1
  3491. end
  3492. end
  3493. print("Destroyed "..g.." cakes!")
  3494. g=0
  3495. end
  3496.  
  3497.  
  3498. local plr = game.Players.LocalPlayer
  3499. mouse = plr:GetMouse()
  3500. mouse.Button1Down:connect(function()
  3501. if plr.Character.Parent ~= workspace.Camera then
  3502. if mouse ~= nil then
  3503. if mouse.Target ~= nil then
  3504. part = mouse.Target
  3505. bp = Instance.new("BodyPosition",part)
  3506. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3507. bp.Position = part.Position
  3508. particles = onlyparticle:Clone()
  3509. particles.Parent = part
  3510. particles.Color = ColorSequence.new(Color3.fromRGB(180, 128, 255))
  3511. particles.Size = NumberSequence.new(3)
  3512. particles.LightInfluence = 0
  3513. particles.LightEmission = 1
  3514. particles.Texture = "http://www.roblox.com/asset/?id=1280736246"
  3515. particles.VelocitySpread = 360
  3516. particles.Speed = NumberRange.new(0)
  3517. particles.RotSpeed = NumberRange.new(0)
  3518. particles.Rotation = NumberRange.new(0)
  3519. particles.Rate = 250
  3520. particles.Lifetime = NumberRange.new(.2,.4)
  3521. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  3522. dwn = true
  3523. end
  3524. end
  3525. while dwn == true do
  3526. wait()
  3527. bp.Position = mouse.Hit.p
  3528. if part then
  3529. if part.Parent:FindFirstChildOfClass("Humanoid") then
  3530. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  3531. end
  3532. end
  3533. end
  3534. end
  3535. end)
  3536. mouse.Button1Up:connect(function()
  3537. dwn = false
  3538. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  3539. if bp then bp:Destroy() end
  3540. if particles then particles:Destroy() end
  3541. end)
  3542. -- if u read this u hab big fat
  3543.  
  3544.  
  3545.  
  3546. toggle = false
  3547. CV="Lapis"
  3548. p = game.Players.LocalPlayer
  3549. char = p.Character
  3550. local txt = Instance.new("BillboardGui", char.WeaponModel.Head)
  3551. txt.Adornee = char.WeaponModel.Head
  3552. txt.Name = "_status"
  3553. txt.Size = UDim2.new(2, 0, 1.2, 0)
  3554. txt.StudsOffset = Vector3.new(0, 2.5, 0)
  3555. local text = Instance.new("TextLabel", txt)
  3556. text.AnchorPoint = Vector2.new(0.5,0.5)
  3557. text.TextYAlignment = "Bottom"
  3558. text.Size = UDim2.new(5, 0, 3, 0)
  3559. text.Position = UDim2.new(0.5,0,0.5,0)
  3560. text.FontSize = "Size18"
  3561. text.TextScaled = true
  3562. text.TextTransparency = 0
  3563. text.BackgroundTransparency = 1
  3564. text.TextTransparency = 0
  3565. text.TextStrokeTransparency = 0
  3566. text.Font = "Cartoon"
  3567. text.TextStrokeColor3 = Color3.fromRGB(255,255,255)
  3568. text.TextColor3 = Color3.fromRGB(180, 128, 255)
  3569. text.Text = " "
  3570. plr.Chatted:connect(function(msg)
  3571. text.Visible = true
  3572. text.Text = msg
  3573. wait(9)
  3574. if text.Text == msg then
  3575. text.Visible = false
  3576. text.Text = "."
  3577. end
  3578. end)
  3579. function bbg()
  3580. coroutine.resume(coroutine.create(function()
  3581. text.Text = "The Alter Draggo Edit By Memo1332"
  3582. wait(6)
  3583. text.Visible = false
  3584. text.Text = "."
  3585. end))
  3586. end
  3587. bbg()
  3588.  
  3589. mouse.KeyDown:connect(function(key)
  3590. if key == "q" then
  3591. text.Text = " "
  3592. elseif key == "g" then
  3593. firework()
  3594. elseif key == "h" then
  3595. for i=1,20 do
  3596. wait()
  3597. coroutine.resume(coroutine.create(function()
  3598. firedoeswork()
  3599. end))
  3600. end
  3601. elseif key == "m" then
  3602. if plr.PlayerGui:FindFirstChild("DraggoGui") == nil then
  3603. keygui()
  3604. end
  3605. elseif key == "x" then
  3606. coroutine.resume(coroutine.create(function()
  3607. lightning()
  3608. end))
  3609. elseif key == "e" then
  3610. coroutine.resume(coroutine.create(function()
  3611. keydown()
  3612. end))
  3613. elseif key == "z" then
  3614. coroutine.resume(coroutine.create(function()
  3615. dropexplosion()
  3616. end))
  3617. elseif key == "v" then
  3618. coroutine.resume(coroutine.create(function()
  3619. keydowner()
  3620. end))
  3621. elseif key == "t" then
  3622. coroutine.resume(coroutine.create(function()
  3623. tp()
  3624. end))
  3625. elseif key == "r" then
  3626. coroutine.resume(coroutine.create(function()
  3627. cake()
  3628. end))
  3629. elseif key == "p" then
  3630. coroutine.resume(coroutine.create(function()
  3631. deletecakes()
  3632. end))
  3633. elseif key == "n" then
  3634. coroutine.resume(coroutine.create(function()
  3635. print(Flying)
  3636. end))
  3637. elseif key == "f" and toggle == false then
  3638. Humanoid.WalkSpeed = 63
  3639. Flying = true
  3640. toggle = true
  3641. elseif key == "f" and toggle == true then
  3642. Humanoid.WalkSpeed = 16
  3643. Flying = false
  3644. toggle = false
  3645. elseif key == "c" and dwn then
  3646. local clone = part:Clone()
  3647. clone.Parent = workspace
  3648. clone.Anchored = false
  3649. clone:ClearAllChildren()
  3650. clone.CanCollide = true
  3651. bp.Parent = clone
  3652. particles.Parent = clone
  3653. if part.Parent:FindFirstChildOfClass("Humanoid") then
  3654. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  3655. end
  3656. part:Destroy()
  3657. part = clone
  3658. end
  3659. end)
  3660. plr = game.Players.LocalPlayer
  3661. pitch = 1
  3662. volume = 10
  3663. plr.Chatted:connect(function(msg)
  3664. local msgg = msg:lower()
  3665. if msgg:sub(1,6) == ";play " then
  3666. if plr.Character.Head:FindFirstChild("songs") then
  3667. plr.Character.Head.songs:Destroy()
  3668. end
  3669. local sound = Instance.new("Sound",plr.Character.Head)
  3670. sound.Name = "songs"
  3671. sound.SoundId = "rbxassetid://"..msgg:sub(7)
  3672. sound.Volume = volume or 10
  3673. sound.Pitch = pitch or 1
  3674. sound.Looped = true
  3675. sound:Play()
  3676. id = msgg:sub(7)
  3677. elseif msgg:sub(1,7) == ";pitch " then
  3678. plr.Character.Head.songs.Pitch = msgg:sub(8)
  3679. pitch = msgg:sub(8)
  3680. elseif msgg:sub(1,5) == ";vol " then
  3681. plr.Character.Head.songs.Volume = msgg:sub(6)
  3682. volume = msgg:sub(6)
  3683. elseif msgg == ";orb off" then
  3684. vis = false
  3685. oldBright = 0
  3686. oldRange = 0
  3687. if plr.Character.Torso:FindFirstChild("PointLight") ~= nil then
  3688. plr.Character.Torso:FindFirstChild("PointLight").Range = 0
  3689. cube.Transparency = 1
  3690. end
  3691. elseif msgg == ";orb on" then
  3692. vis = true
  3693. oldBright = 1
  3694. oldRange = 10
  3695. if plr.Character.Torso:FindFirstChild("PointLight") ~= nil then
  3696. plr.Character.Torso:FindFirstChild("PointLight").Range = 10
  3697. cube.Transparency = 0
  3698. end
  3699. elseif msgg == ";fly on" then
  3700. Flying = true
  3701. Humanoid.WalkSpeed = 63
  3702. elseif msgg == ";fly off" then
  3703. Humanoid.WalkSpeed = 16
  3704. Flying = false
  3705. end
  3706. end)
  3707. vis = false
  3708. oldBright = 0
  3709. light = Instance.new("PointLight",plr.Character.Torso)
  3710. light.Brightness = 1
  3711. light.Range = 0
  3712. light.Color = Color3.fromRGB(255,100,255)
  3713. oldRange = 0
  3714. local plr = game.Players.LocalPlayer
  3715. local Player = plr.Character
  3716. mouse = plr:GetMouse()
  3717. part = nil
  3718. bp = nil
  3719. local rot = 0
  3720. local blurs = {}
  3721. cube = Instance.new("Part", Player)
  3722. cube.Size = Vector3.new(.5, .5, .5)
  3723. cube.Shape = "Block"
  3724. cube.Name = "Cube"
  3725. cube.Material = "Neon"
  3726. cube.Anchored = true
  3727. cube.Transparency = 1
  3728. cube.CanCollide = false
  3729. cube.BrickColor = BrickColor.new("Institutional Institutional white")
  3730. oldSize = cube.Size
  3731. game:GetService("RunService").RenderStepped:connect(function()
  3732. rot = rot+1
  3733. if rot == 360 then
  3734. rot = 0
  3735. end
  3736. if plr.Character.Head:FindFirstChild("songs") ~= nil and vis == true then
  3737. local song = plr.Character.Head:FindFirstChild("songs")
  3738. light.Brightness = (oldBright + song.PlaybackLoudness/175)
  3739. light.Range = (oldRange + song.PlaybackLoudness/125)
  3740. cube.Size = cube.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/250,song.PlaybackLoudness/250,song.PlaybackLoudness/250), 0.3)
  3741. cube.Color = cube.Color:lerp(Color3.new(1,1-(song.PlaybackLoudness/750),1), 0.3)
  3742. end
  3743. if Flying == false then
  3744. cube.CFrame = cube.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(0,2,0) * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  3745. elseif Flying == true then
  3746. cube.CFrame = cube.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(0,8,0) * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  3747. end
  3748. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement