Advertisement
Its_YeBoi

Untitled

Dec 11th, 2017
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 174.83 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. ScreenGui0 = Instance.new("ScreenGui")
  20. Frame1 = Instance.new("Frame")
  21. TextLabel2 = Instance.new("TextLabel")
  22. Frame3 = Instance.new("Frame")
  23. TextLabel4 = Instance.new("TextLabel")
  24. TextButton5 = Instance.new("TextButton")
  25. Frame6 = Instance.new("Frame")
  26. Script7 = Instance.new("Script")
  27. TextButton8 = Instance.new("TextButton")
  28. Frame9 = Instance.new("Frame")
  29. Script10 = Instance.new("Script")
  30. TextButton11 = Instance.new("TextButton")
  31. Frame12 = Instance.new("Frame")
  32. Script13 = Instance.new("Script")
  33. TextButton14 = Instance.new("TextButton")
  34. Frame15 = Instance.new("Frame")
  35. Script16 = Instance.new("Script")
  36. TextButton17 = Instance.new("TextButton")
  37. Frame18 = Instance.new("Frame")
  38. Script19 = Instance.new("Script")
  39. TextButton20 = Instance.new("TextButton")
  40. Frame21 = Instance.new("Frame")
  41. Script22 = Instance.new("Script")
  42. TextButton23 = Instance.new("TextButton")
  43. Frame24 = Instance.new("Frame")
  44. Script25 = Instance.new("Script")
  45. TextButton26 = Instance.new("TextButton")
  46. Frame27 = Instance.new("Frame")
  47. Script28 = Instance.new("Script")
  48. TextButton29 = Instance.new("TextButton")
  49. Frame30 = Instance.new("Frame")
  50. Script31 = Instance.new("Script")
  51. TextButton32 = Instance.new("TextButton")
  52. Frame33 = Instance.new("Frame")
  53. Script34 = Instance.new("Script")
  54. Frame35 = Instance.new("Frame")
  55. TextLabel36 = Instance.new("TextLabel")
  56. Frame37 = Instance.new("Frame")
  57. TextLabel38 = Instance.new("TextLabel")
  58. TextBox39 = Instance.new("TextBox")
  59. Frame40 = Instance.new("Frame")
  60. TextLabel41 = Instance.new("TextLabel")
  61. Frame42 = Instance.new("Frame")
  62. TextBox43 = Instance.new("TextBox")
  63. Frame44 = Instance.new("Frame")
  64. TextButton45 = Instance.new("TextButton")
  65. Script46 = Instance.new("Script")
  66. Frame47 = Instance.new("Frame")
  67. Frame48 = Instance.new("Frame")
  68. TextButton49 = Instance.new("TextButton")
  69. Frame50 = Instance.new("Frame")
  70. Script51 = Instance.new("Script")
  71. Frame52 = Instance.new("Frame")
  72. TextButton53 = Instance.new("TextButton")
  73. Frame54 = Instance.new("Frame")
  74. Script55 = Instance.new("Script")
  75. ScreenGui0.Name = "Omega's_Gui"
  76. ScreenGui0.Parent = mas
  77. Frame1.Name = "Main"
  78. Frame1.Parent = ScreenGui0
  79. Frame1.Size = UDim2.new(0, 300, 0, 388)
  80. Frame1.Style = Enum.FrameStyle.DropShadow
  81. Frame1.Position = UDim2.new(0.5, -150, 0, 0)
  82. Frame1.Active = true
  83. Frame1.Visible = false
  84. Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
  85. Frame1.Draggable = true
  86. TextLabel2.Name = "Title"
  87. TextLabel2.Parent = Frame1
  88. TextLabel2.Size = UDim2.new(1, 4, 0, 32)
  89. TextLabel2.Text = "Omega's Admin hub Gui"
  90. TextLabel2.Position = UDim2.new(0, -2, 0, -2)
  91. TextLabel2.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  92. TextLabel2.BorderSizePixel = 0
  93. TextLabel2.Font = Enum.Font.SourceSansItalic
  94. TextLabel2.FontSize = Enum.FontSize.Size24
  95. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  96. TextLabel2.TextYAlignment = Enum.TextYAlignment.Top
  97. Frame3.Name = "styleLine"
  98. Frame3.Parent = TextLabel2
  99. Frame3.Transparency = 0.30000001192093
  100. Frame3.Size = UDim2.new(1, 0, 0, 4)
  101. Frame3.Position = UDim2.new(0, 0, 0, 28)
  102. Frame3.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  103. Frame3.BackgroundTransparency = 0.30000001192093
  104. Frame3.BorderSizePixel = 0
  105. Frame3.ZIndex = 2
  106. TextLabel4.Name = "Creditse"
  107. TextLabel4.Parent = Frame1
  108. TextLabel4.Transparency = 1
  109. TextLabel4.Size = UDim2.new(1, -6, 0, 10)
  110. TextLabel4.Text = "Created by Omega_Phoenix"
  111. TextLabel4.Position = UDim2.new(0, 0, 1, -15)
  112. TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
  113. TextLabel4.BackgroundTransparency = 1
  114. TextLabel4.BorderSizePixel = 0
  115. TextLabel4.Font = Enum.Font.SourceSans
  116. TextLabel4.FontSize = Enum.FontSize.Size14
  117. TextLabel4.TextColor3 = Color3.new(1, 0.968628, 0.94902)
  118. TextLabel4.TextTransparency = 0.80000001192093
  119. TextLabel4.TextWrapped = true
  120. TextButton5.Name = "Aura_Visualizer"
  121. TextButton5.Parent = Frame1
  122. TextButton5.Transparency = 0.5
  123. TextButton5.Size = UDim2.new(0, 100, 0, 30)
  124. TextButton5.Text = "Aura_Visualizer"
  125. TextButton5.Position = UDim2.new(0.399999917, -107, -0.0999999866, 75)
  126. TextButton5.BackgroundColor3 = Color3.new(1, 1, 1)
  127. TextButton5.BackgroundTransparency = 0.5
  128. TextButton5.BorderSizePixel = 0
  129. TextButton5.Font = Enum.Font.SourceSansBold
  130. TextButton5.FontSize = Enum.FontSize.Size14
  131. TextButton5.TextColor3 = Color3.new(0, 0, 0)
  132. TextButton5.TextTransparency = 0.5
  133. Frame6.Name = "styleLine"
  134. Frame6.Parent = TextButton5
  135. Frame6.Size = UDim2.new(0, 5, 1, 0)
  136. Frame6.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  137. Frame6.BorderSizePixel = 0
  138. Script7.Parent = TextButton5
  139. table.insert(cors,sandbox(Script7,function()
  140. local plrgui = script.Parent.Parent.Parent.Parent
  141. local plr = plrgui.Parent
  142.  
  143. script.Parent.MouseButton1Down:connect(function()
  144. print("Loading...")
  145. local ot = tick()
  146.  
  147. local plr = game.Players.LocalPlayer
  148. local char,mouse = plr.Character,plr:GetMouse()
  149.  
  150. local mode = "script"
  151. local vis = false
  152. local sens = 150
  153.  
  154. local amountParts = 2
  155. local offsetxd = 3
  156.  
  157. local frame = 0
  158. local oldTick = tick()
  159. local actualframe = 0
  160.  
  161. local whitelist = {"Fet_Cow","Cronizete","Omega_Phoenix","makhail07","0617fire"}
  162.  
  163. local mouseMode = false
  164.  
  165. local tPos = Vector3.new(0,0,0)
  166.  
  167. local speed1 = 5
  168. local speed = 5
  169.  
  170. local mod = 360
  171.  
  172. local freezetab = {}
  173.  
  174. local Sound=Instance.new("Sound",char.Head); Sound.Volume = 4; Sound.Looped = true; Sound.SoundId='rbxassetid://243920767'; Sound:Play()
  175.  
  176. function circlePos(r,d,off) return off + Vector3.new(math.cos(math.rad(r))*d,0,math.sin(math.rad(r))*d) end
  177.  
  178. function search(t,tab)
  179. local searchtab = {}
  180. if tab then
  181. searchtab = tab
  182. end
  183. for i,v in pairs(t:GetChildren()) do
  184. table.insert(searchtab,v)
  185. search(v,searchtab)
  186. end
  187. return searchtab
  188. end
  189.  
  190. local r = 255
  191. local g = 0
  192. local b = 0
  193.  
  194. plr.Chatted:Connect(function(msg)
  195. local msg = string.lower(msg)
  196. if string.sub(msg,1,4) == ";pl " then
  197. local id = string.sub(msg,5)
  198. Sound:Stop()
  199. Sound.SoundId = "rbxassetid://"..id
  200. Sound:Play()
  201. elseif string.sub(msg,1,5) == ";vol " then
  202. local sd = string.sub(msg,6)
  203. Sound.Volume = sd
  204. elseif string.sub(msg,1,5) == ";sen " then
  205. local se = string.sub(msg,6)
  206. sens = se
  207. end
  208. end)
  209. plr.Chatted:connect(function(c)
  210. if string.lower(string.sub(c,1,8)) == ";amount " then
  211. amountParts = tonumber(string.sub(c,9,#c))
  212. end
  213. if string.lower(string.sub(c,1,5)) == ";mod " then
  214. mod = tonumber(string.sub(c,6,#c))
  215. end
  216. if string.lower(string.sub(c,1,8)) == ";offset " then
  217. offsetxd = tonumber(string.sub(c,9,#c))
  218. end
  219. if string.lower(string.sub(c,1,7)) == ";speed " then
  220. speed = tonumber(string.sub(c,8,#c))
  221. speed1 = tonumber(string.sub(c,8,#c))
  222. end
  223. if string.lower(string.sub(c,1,12)) == ";mode script" then
  224. mode = "script"
  225. warn("Mode: Script Destruction")
  226. end
  227. if string.lower(string.sub(c,1,10)) == ";mode kill" then
  228. mode = "kill"
  229. warn("Mode: Character Killing")
  230. end
  231. if string.lower(string.sub(c,1,4)) == ";vis" then
  232. warn("Vis Toggled")
  233. if vis == true then
  234. Sound:Stop()
  235. vis = false
  236. elseif vis == false then
  237. vis = true
  238. Sound:Play()
  239. end
  240. end
  241. if string.lower(string.sub(c,1,5)) == ";default" then
  242. script.Parent = plr
  243. wait(1)
  244. script.Parent = char
  245. end
  246. end)
  247.  
  248. mouse.KeyDown:connect(function(key)
  249. if key == "f" then
  250. if mouseMode == false then
  251. mouseMode = true
  252. else
  253. mouseMode = false
  254. end
  255. end
  256. end)
  257.  
  258. coroutine.resume(coroutine.create(function()
  259. while wait() do
  260. for i=0,255,10 do g = i wait() end
  261. for i=255,0,-10 do r = i wait() end
  262. for i=0,255,10 do b = i wait() end
  263. for i=255,0,-10 do g = i wait() end
  264. for i=0,255,10 do r = i wait() end
  265. for i=255,0,-10 do b = i wait() end
  266. end
  267. end))
  268.  
  269. game:GetService("RunService").RenderStepped:connect(function()
  270. spawn(function()
  271. if vis == true then
  272. speed = Sound.PlaybackLoudness/sens
  273. Sound.Volume = 4
  274. elseif vis == false then
  275. Sound.Volume = 0
  276. speed = speed1
  277. end
  278. end)
  279.  
  280. actualframe = actualframe + 1
  281. frame = frame + speed
  282. local offset = offsetxd
  283. offset = offsetxd -- + math.cos(tick())*3
  284. if mouseMode == true then
  285. tPos = mouse.Hit.p + Vector3.new(0,3,0)
  286. else
  287. tPos = char:WaitForChild("Torso").Position
  288. end
  289. for i=1,360,(360)/amountParts do
  290. local p = Instance.new("Part")
  291. p.TopSurface = "Smooth"
  292. p.BottomSurface = "Smooth"
  293. p.Color = Color3.fromRGB(r,g,b)
  294. p.Material = "Neon"
  295. local dist = (circlePos(i + frame,offset,tPos + Vector3.new(0,math.cos((frame)/mod)*3,0)) - circlePos(i + frame - 1,offset,tPos + Vector3.new(0,math.cos((frame - 1)/mod)*3,0))).Magnitude*speed
  296. p.Size = Vector3.new(0.2,0.2,dist)
  297. p.CanCollide = false
  298. p.Anchored = true
  299. local m = Instance.new("BlockMesh",p)
  300. m.Scale = Vector3.new(1,1,1)
  301. p.CFrame = CFrame.new(circlePos(i + frame,offset,tPos + Vector3.new(0,math.cos((frame)/mod)*3,0)),circlePos(i + frame - 1,offset,tPos + Vector3.new(0,math.cos((frame - 1)/mod)*3,0))) * CFrame.new(0,0,-dist/2)
  302. p.Parent = workspace
  303. local update
  304. local updateframe = 0
  305.  
  306. update = game:GetService("RunService").RenderStepped:connect(function()
  307. updateframe = updateframe + 1
  308. m.Scale = m.Scale - Vector3.new(0.05,0.05,0)
  309. if updateframe >= 15 then
  310. p:Destroy()
  311. update:disconnect()
  312. end
  313. end)
  314. end
  315. oldTick = tick()
  316. if math.floor(actualframe/16) == actualframe/16 then
  317. for i,c in pairs(game:GetService("Players"):GetChildren()) do
  318. local isW = false
  319. for i,v in pairs(whitelist) do
  320. if c.Name == v then
  321. isW = true
  322. end
  323. end
  324. if c.Character.Parent == workspace then
  325. if isW == false then
  326. for i,v in pairs(search(c.Character)) do
  327. wait()
  328. if c ~= plr then
  329. if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("TrussPart") or v:IsA("UnionOperation") then
  330. if (v.Position - tPos).Magnitude < offset then
  331. for i,v in pairs(v.Parent:GetChildren()) do
  332. if v:IsA("LocalScript") or v:IsA("Script") then
  333. v:Destroy()
  334. elseif v:IsA("Humanoid") then
  335. if mode == "kill" then
  336. v.MaxHealth = 1
  337. v.Health = 0
  338. v.Parent:BreakJoints()
  339. end
  340. end
  341. end
  342. if mode == "kill" then
  343. v:Destroy()
  344. end
  345. end
  346. end
  347. end
  348. end
  349. end
  350. end
  351. end
  352. end
  353. end)
  354. end)
  355. end))
  356. TextButton8.Name = "R15 Sans"
  357. TextButton8.Parent = Frame1
  358. TextButton8.Transparency = 0.5
  359. TextButton8.Size = UDim2.new(0, 100, 0, 30)
  360. TextButton8.Text = "R15 Sans"
  361. TextButton8.Position = UDim2.new(0.399999917, -107, 1.49011612e-08, 75)
  362. TextButton8.BackgroundColor3 = Color3.new(1, 1, 1)
  363. TextButton8.BackgroundTransparency = 0.5
  364. TextButton8.BorderSizePixel = 0
  365. TextButton8.Font = Enum.Font.SourceSansBold
  366. TextButton8.FontSize = Enum.FontSize.Size14
  367. TextButton8.TextColor3 = Color3.new(0, 0, 0)
  368. TextButton8.TextTransparency = 0.5
  369. Frame9.Name = "styleLine"
  370. Frame9.Parent = TextButton8
  371. Frame9.Size = UDim2.new(0, 5, 1, 0)
  372. Frame9.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  373. Frame9.BorderSizePixel = 0
  374. Script10.Parent = TextButton8
  375. table.insert(cors,sandbox(Script10,function()
  376. local plrgui = script.Parent.Parent.Parent.Parent
  377. local plr = plrgui.Parent
  378. script.Parent.MouseButton1Down:connect(function()
  379. local id = 447847411
  380. --local id = 471974203
  381. local p = game.Players.LocalPlayer
  382. ---GhasterBlasters by xXVipergamerXx1-----
  383. ---MUST BE R15 TO USE!!!----
  384. local num = 0
  385. local char = p.Character
  386. local c = p.Character
  387. local rad = math.rad
  388. local hum = char.Humanoid
  389. ---------------------------------------------------
  390. local LeftUpperArm = char.LeftUpperArm
  391. local LeftShoulder = char.LeftUpperArm.LeftShoulder
  392. local LeftLowerArm = char.LeftLowerArm
  393. local LeftElbow = char.LeftLowerArm.LeftElbow
  394. --------------------------------------------------------
  395. local LeftUpperLeg = char.LeftUpperLeg
  396. local LeftHip = char.LeftUpperLeg.LeftHip
  397. local LeftLowerLeg = char.LeftLowerLeg
  398. local LeftKnee = char.LeftLowerLeg.LeftKnee
  399. ----------------------------------------------------------
  400. local RightUpperArm = char.RightUpperArm
  401. local RightShoulder = char.RightUpperArm.RightShoulder
  402. local RightLowerArm = char.RightLowerArm
  403. local RightElbow = char.RightLowerArm.RightElbow
  404. ----------------------------------------------------------
  405. local RightUpperLeg = char.RightUpperLeg
  406. local RightHip = char.RightUpperLeg.RightHip
  407. local RightLowerLeg = char.RightLowerLeg
  408. local RightKnee = char.RightLowerLeg.RightKnee
  409. ----------------------------------------------------------
  410.  
  411. local UpperTorso = char.UpperTorso
  412. local LowerTorso = char.LowerTorso
  413. local Root = char.LowerTorso.Root
  414. --------------------------------------------
  415. local Head = char.Head
  416. local Neck = char.Head.Neck
  417. local RootPart = char.HumanoidRootPart
  418. local LeftHand = char.LeftHand
  419. local RightHand = char.RightHand
  420. local LeftFoot = char.LeftFoot
  421. local RightFoot = char.RightFoot
  422. ---------------------------------------------
  423.  
  424. hum:SetStateEnabled("Dead",false)
  425. hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  426. local v3 = Vector3.new
  427. local idle = true
  428. local walk = true
  429. local walk1 = true
  430. local walkon = true
  431. local ns = NumberSequence.new
  432. local new = Instance.new
  433. local nr = NumberRange.new
  434. local bc =BrickColor.new
  435. local UpperTorso = char.UpperTorso
  436. local Waist = char.UpperTorso.Waist
  437. local mouse = p:GetMouse()
  438. local Blasters = true
  439. local debounce = true
  440. hum.MaxHealth = 500
  441. hum.Health = hum.MaxHealth
  442. local equiped = false
  443. new("ForceField",char).Visible = false
  444. local Create = LoadLibrary("RbxUtility").Create
  445. function RemoveOutlines(part)
  446. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  447. end
  448. CFuncs = {
  449. ["Part"] = {
  450. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  451. local Part = Create("Part"){
  452. Parent = Parent,
  453. Reflectance = Reflectance,
  454. Transparency = Transparency,
  455. CanCollide = false,
  456. Locked = true,
  457. BrickColor = BrickColor.new(tostring(BColor)),
  458. Name = Name,
  459. Size = Size,
  460. Material = Material,
  461. }
  462. RemoveOutlines(Part)
  463. return Part
  464. end;
  465. };
  466.  
  467. ["Mesh"] = {
  468. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  469. local Msh = Create(Mesh){
  470. Parent = Part,
  471. Offset = OffSet,
  472. Scale = Scale,
  473. }
  474. if Mesh == "SpecialMesh" then
  475. Msh.MeshType = MeshType
  476. Msh.MeshId = MeshId
  477. end
  478. return Msh
  479. end;
  480. };
  481.  
  482. ["Mesh"] = {
  483. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  484. local Msh = Create(Mesh){
  485. Parent = Part,
  486. Offset = OffSet,
  487. Scale = Scale,
  488. }
  489. if Mesh == "SpecialMesh" then
  490. Msh.MeshType = MeshType
  491. Msh.MeshId = MeshId
  492. end
  493. return Msh
  494. end;
  495. };
  496.  
  497. ["Weld"] = {
  498. Create = function(Parent, Part0, Part1, C0, C1)
  499. local Weld = Create("Weld"){
  500. Parent = Parent,
  501. Part0 = Part0,
  502. Part1 = Part1,
  503. C0 = C0,
  504. C1 = C1,
  505. }
  506. return Weld
  507. end;
  508. };
  509.  
  510. ["Sound"] = {
  511. Create = function(id, par, vol, pit)
  512. coroutine.resume(coroutine.create(function()
  513. local S = Create("Sound"){
  514. Volume = vol,
  515. Pitch = pit or 1,
  516. SoundId = id,
  517. Parent = par or workspace,
  518. }
  519. wait()
  520. S:play()
  521. game:GetService("Debris"):AddItem(S, 6)
  522. end))
  523. end;
  524. };
  525.  
  526. ["ParticleEmitter"] = {
  527. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  528. local fp = Create("ParticleEmitter"){
  529. Parent = Parent,
  530. Color = ColorSequence.new(Color1, Color2),
  531. LightEmission = LightEmission,
  532. Size = Size,
  533. Texture = Texture,
  534. Transparency = Transparency,
  535. ZOffset = ZOffset,
  536. Acceleration = Accel,
  537. Drag = Drag,
  538. LockedToPart = LockedToPart,
  539. VelocityInheritance = VelocityInheritance,
  540. EmissionDirection = EmissionDirection,
  541. Enabled = Enabled,
  542. Lifetime = LifeTime,
  543. Rate = Rate,
  544. Rotation = Rotation,
  545. RotSpeed = RotSpeed,
  546. Speed = Speed,
  547. VelocitySpread = VelocitySpread,
  548. }
  549. return fp
  550. end;
  551. };
  552.  
  553. CreateTemplate = {
  554.  
  555. };
  556. }
  557. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  558. if hit.Parent == nil then
  559. return
  560. end
  561. local h = hit.Parent:FindFirstChild("Humanoid")
  562. for _, v in pairs(hit.Parent:children()) do
  563. if v:IsA("Humanoid") then
  564. h = v
  565. end
  566. end
  567. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  568. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  569. if hit.Parent.DebounceHit.Value == true then
  570. return
  571. end
  572. end
  573. local c = Create("ObjectValue"){
  574. Name = "creator",
  575. Value = game:service("Players").LocalPlayer,
  576. Parent = h,
  577. }
  578. game:GetService("Debris"):AddItem(c, .5)
  579. if HitSound ~= nil and HitPitch ~= nil then
  580. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  581. end
  582. local Damage = math.random(minim, maxim)
  583. local blocked = false
  584. local block = hit.Parent:findFirstChild("Block")
  585. if block ~= nil then
  586. if block.className == "IntValue" then
  587. if block.Value > 0 then
  588. blocked = true
  589. block.Value = block.Value - 1
  590. print(block.Value)
  591. end
  592. end
  593. end
  594. if blocked == false then
  595. h.Health = h.Health - Damage
  596. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  597. else
  598. h.Health = h.Health - (Damage / 2)
  599. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  600. end
  601. if Type == "Knockdown" then
  602. local hum = hit.Parent.Humanoid
  603. hum.PlatformStand = true
  604. coroutine.resume(coroutine.create(function(HHumanoid)
  605. swait(1)
  606. HHumanoid.PlatformStand = false
  607. end), hum)
  608. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  609. local bodvol = Create("BodyVelocity"){
  610. velocity = angle * knockback,
  611. P = 5000,
  612. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  613. Parent = hit,
  614. }
  615. local rl = Create("BodyAngularVelocity"){
  616. P = 3000,
  617. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  618. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  619. Parent = hit,
  620. }
  621. game:GetService("Debris"):AddItem(bodvol, .5)
  622. game:GetService("Debris"):AddItem(rl, .5)
  623. elseif Type == "Normal" then
  624. local vp = Create("BodyVelocity"){
  625. P = 500,
  626. maxForce = Vector3.new(math.huge, 0, math.huge),
  627. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  628. }
  629. if knockback > 0 then
  630. vp.Parent = hit.Parent.Torso
  631. end
  632. game:GetService("Debris"):AddItem(vp, .5)
  633. elseif Type == "Up" then
  634. local bodyVelocity = Create("BodyVelocity"){
  635. velocity = Vector3.new(0, 20, 0),
  636. P = 5000,
  637. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  638. Parent = hit,
  639. }
  640. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  641. elseif Type == "DarkUp" then
  642. coroutine.resume(coroutine.create(function()
  643. for i = 0, 1, 0.1 do
  644. swait()
  645. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  646. end
  647. end))
  648. local bodyVelocity = Create("BodyVelocity"){
  649. velocity = Vector3.new(0, 20, 0),
  650. P = 5000,
  651. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  652. Parent = hit,
  653. }
  654. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  655. elseif Type == "Snare" then
  656. local bp = Create("BodyPosition"){
  657. P = 2000,
  658. D = 100,
  659. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  660. position = hit.Parent.Torso.Position,
  661. Parent = hit.Parent.Torso,
  662. }
  663. game:GetService("Debris"):AddItem(bp, 1)
  664. elseif Type == "Freeze" then
  665. local BodPos = Create("BodyPosition"){
  666. P = 50000,
  667. D = 1000,
  668. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  669. position = hit.Parent.Torso.Position,
  670. Parent = hit.Parent.Torso,
  671. }
  672. local BodGy = Create("BodyGyro") {
  673. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  674. P = 20e+003,
  675. Parent = hit.Parent.Torso,
  676. cframe = hit.Parent.Torso.CFrame,
  677. }
  678. hit.Parent.Torso.Anchored = true
  679. coroutine.resume(coroutine.create(function(Part)
  680. swait(1.5)
  681. Part.Anchored = false
  682. end), hit.Parent.Torso)
  683. game:GetService("Debris"):AddItem(BodPos, 3)
  684. game:GetService("Debris"):AddItem(BodGy, 3)
  685. end
  686. local debounce = Create("BoolValue"){
  687. Name = "DebounceHit",
  688. Parent = hit.Parent,
  689. Value = true,
  690. }
  691. game:GetService("Debris"):AddItem(debounce, Delay)
  692. c = Create("ObjectValue"){
  693. Name = "creator",
  694. Value = Player,
  695. Parent = h,
  696. }
  697. game:GetService("Debris"):AddItem(c, .5)
  698. end
  699. end
  700.  
  701. function ShowDamage(Pos, Text, Time, Color)
  702. local Rate = (1 / 30)
  703. local Pos = (Pos or Vector3.new(0, 0, 0))
  704. local Text = (Text or "")
  705. local Time = (Time or 2)
  706. local Color = (Color or Color3.new(1, 0, 1))
  707. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  708. EffectPart.Anchored = true
  709. local BillboardGui = Create("BillboardGui"){
  710. Size = UDim2.new(3, 0, 3, 0),
  711. Adornee = EffectPart,
  712. Parent = EffectPart,
  713. }
  714. local TextLabel = Create("TextLabel"){
  715. BackgroundTransparency = 1,
  716. Size = UDim2.new(1, 0, 1, 0),
  717. Text = Text,
  718. Font = "SciFi",
  719. TextColor3 = Color,
  720. TextScaled = true,
  721. Parent = BillboardGui,
  722. }
  723. game.Debris:AddItem(EffectPart, (Time))
  724. EffectPart.Parent = game:GetService("Workspace")
  725. delay(0, function()
  726. local Frames = (Time / Rate)
  727. for Frame = 1, Frames do
  728. wait(Rate)
  729. local Percent = (Frame / Frames)
  730. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  731. TextLabel.TextTransparency = Percent
  732. end
  733. if EffectPart and EffectPart.Parent then
  734. EffectPart:Destroy()
  735. end
  736. end)
  737. end
  738.  
  739. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  740. for _, c in pairs(workspace:children()) do
  741. local hum = c:findFirstChild("Humanoid")
  742. if hum ~= nil then
  743. local head = c:findFirstChild("Torso")
  744. if head ~= nil then
  745. local targ = head.Position - Part.Position
  746. local mag = targ.magnitude
  747. if mag <= Magnitude and c.Name ~= Player.Name then
  748. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  749. end
  750. end
  751. end
  752. end
  753. end
  754.  
  755. EffectModel = Create("Model"){
  756. Parent = Character,
  757. Name = "Effects",
  758. }
  759. local music = Instance.new("Sound",char)
  760. music.SoundId = "rbxassetid://935501955"
  761. music.Looped = true
  762. music.Volume = 1
  763. music.Name = "killme2"
  764.  
  765.  
  766. local shootsnd = new("Sound",char)
  767. shootsnd.SoundId = "rbxassetid://340722848"
  768. shootsnd.Volume = 10
  769. shootsnd.Pitch = 1
  770.  
  771.  
  772. local hdebounce = true
  773.  
  774.  
  775. local RGhasterBlaster = new("Part",char)
  776. RGhasterBlaster.Size = v3(1,1,1)
  777. RGhasterBlaster.Name = "RGhasterBlaster"
  778. RGhasterBlaster.CanCollide = false
  779. RGhasterBlaster.Material = "Neon"
  780. RGhasterBlaster.Shape = "Ball"
  781. RGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame
  782. RGhasterBlaster.Anchored = false
  783. RGhasterBlaster.BrickColor = bc("White")
  784. RGhasterBlaster.Transparency = 1
  785.  
  786. local LGhasterBlaster = new("Part",char)
  787. LGhasterBlaster.Size = v3(1,1,1)
  788. LGhasterBlaster.CanCollide = false
  789. LGhasterBlaster.Name = "LGhasterBlaster"
  790. LGhasterBlaster.Material = "Neon"
  791. LGhasterBlaster.BrickColor = bc("White")
  792. LGhasterBlaster.Shape = "Ball"
  793. LGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  794. LGhasterBlaster.Anchored = false
  795. LGhasterBlaster.Transparency = 1
  796.  
  797.  
  798. local zxc = Instance.new("SpecialMesh",LGhasterBlaster)
  799. zxc.MeshType = "FileMesh"
  800. zxc.Scale = Vector3.new(2,2,2)
  801. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  802. local zxc = Instance.new("SpecialMesh",RGhasterBlaster)
  803. zxc.MeshType = "FileMesh"
  804. zxc.Scale = Vector3.new(2,2,2)
  805. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  806. local lgbbg=Instance.new("BodyGyro",LGhasterBlaster)
  807. lgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  808. lgbbg.D=400
  809.  
  810. lgbbp = Instance.new("BodyPosition", LGhasterBlaster)
  811.  
  812. local rgbbg=Instance.new("BodyGyro",RGhasterBlaster)
  813. rgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  814. rgbbg.D=400
  815.  
  816. rgbbp = Instance.new("BodyPosition", RGhasterBlaster)
  817.  
  818. spawn(function()
  819. while Blasters == true do
  820. rgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(10,5,0)).p
  821. lgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(-10,5,0)).p
  822. rgbbg.CFrame=CFrame.new(RGhasterBlaster.Position,mouse.Hit.p)
  823. lgbbg.CFrame=CFrame.new(LGhasterBlaster.Position,mouse.Hit.p)
  824.  
  825. wait()
  826. end
  827. end)
  828. ParticleEmitter0 = Instance.new("ParticleEmitter")
  829. ParticleEmitter0 = Instance.new("ParticleEmitter")
  830. ParticleEmitter0.Name = "Fire"
  831. ParticleEmitter0.Parent = char.RightHand
  832. ParticleEmitter0.Transparency = NumberSequence.new(0,0,0,0,1,0)
  833. ParticleEmitter0.Rotation = NumberRange.new(-90, 90)
  834. ParticleEmitter0.Archivable = false
  835. ParticleEmitter0.Size = NumberSequence.new(0.75,0)
  836. ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 0, 0.1),Color3.new(1, 0, 0.1))
  837. ParticleEmitter0.LightEmission = 1
  838. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=56562006"
  839. ParticleEmitter0.ZOffset = 1
  840. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 0.5)
  841. ParticleEmitter0.Rate = 100
  842. ParticleEmitter0.RotSpeed = NumberRange.new(-90, 90)
  843. ParticleEmitter0.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
  844. ParticleEmitter0.Enabled = false
  845. local transPoints = {
  846. NumberSequenceKeypoint.new(0,.819,.0375),
  847. NumberSequenceKeypoint.new(.207,.594,.0187),
  848. NumberSequenceKeypoint.new(.4,.55,.031),
  849. NumberSequenceKeypoint.new(.57,.619,.05),
  850. NumberSequenceKeypoint.new(.76,.8,.0375),
  851. NumberSequenceKeypoint.new(1,1,0),
  852. }
  853.  
  854. local Size = NumberSequence.new(0.6,0.6,0.6)
  855. local Transparency = NumberSequence.new(transPoints)
  856. rayModel = Instance.new("Model",char)
  857. efxBlock = Instance.new("Part",char)
  858.  
  859. efxBlock.BrickColor = BrickColor.new("Bright red")
  860. efxBlock.Material = "Neon"
  861. efxBlock.FormFactor = "Custom"
  862. efxBlock.Transparency = 1
  863. efxBlock.Size = Vector3.new(.3,.3,.3)
  864. local offset = Vector3.new(-0.11, .23, -0.5)
  865. local weld = Instance.new("Weld",char.Head)
  866. weld.Part0 = char.Head
  867. weld.Part1 = efxBlock
  868. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  869. efxBlock.Parent = char
  870. local mesh = Instance.new("SpecialMesh",efxBlock)
  871. mesh.MeshType = Enum.MeshType.Sphere
  872. mesh.Scale = Vector3.new(1,1,1)
  873. light = Instance.new("PointLight",char.Head)
  874. light.Range = 0.5
  875. light.Color = Color3.new(0,200/255,1)
  876. light.Shadows = false
  877. light.Enabled = false
  878. local particles = Instance.new("ParticleEmitter",efxBlock)
  879. particles.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(255,0,0))
  880. particles.LightEmission = .95
  881. particles.Size = Size
  882. particles.Name = "Fire"
  883. particles.Transparency = Transparency
  884. particles.VelocityInheritance = .5
  885. particles.LockedToPart = false
  886. particles.Rate = 100
  887. particles.Texture = "rbxassetid://56562006"
  888. particles.Lifetime = NumberRange.new(.5,.5)
  889. particles.Speed = NumberRange.new(7,7)
  890. particles.Enabled = false
  891. script.Parent = efxBlock
  892. fire = particles
  893. function equip()
  894. if equiped == false then
  895. equiped = true
  896. hum.WalkSpeed = 0
  897. hum.JumpPower = 0
  898. for i = 1,20 do
  899. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.1) --LeftUpperArm
  900. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.1)--RightUpperArm
  901. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
  902. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
  903. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
  904. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  905. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
  906. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  907. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
  908. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  909. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  910. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  911. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  912. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  913. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(60)),.1)--Head
  914. wait()
  915. end
  916. for i = 1,20 do
  917. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency-0.1
  918. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency-0.1
  919. wait()
  920. end
  921. hum.WalkSpeed = 15
  922. hum.JumpPower = 50
  923. particles.Enabled = true
  924. efxBlock.Transparency = 0
  925. ParticleEmitter0.Enabled = true
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933. music:Play()
  934. for i = 1,20 do
  935. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
  936. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
  937. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
  938. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
  939. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
  940. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  941. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
  942. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  943. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
  944. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  945. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  946. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  947. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  948. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  949. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  950. wait()
  951. end
  952. else
  953. equiped = false
  954. hum.WalkSpeed = 0
  955. hum.JumpPower = 0
  956. for i = 1,20 do
  957. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-137.052), math.rad(-87.376), math.rad(-180.023)),.1) --LeftUpperArm
  958. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(44.576), math.rad(80.787), 0),.1)--RightUpperArm
  959. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(92.934),rad(0),rad(0)),.1)--LeftLowerArm
  960. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(math.rad(92.132), math.rad(0.057), math.rad(0.229)),.1)--RightLowerArm
  961. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(59.588),rad(0),rad(0)),.1)--LeftUpperLeg
  962. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(1.089),rad(0),rad(0)),.1)--RightUpperLeg
  963. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-38.044),rad(0),rad(0)),.1)--LeftLowerLeg
  964. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-17.704),rad(0),rad(0)),.1)--RightUpperLeg
  965. Root.C0 = Root.C0:lerp(CFrame.new(0, -0.206, 0.078)*CFrame.Angles(rad(-20.856),rad(0),rad(0)),.1)--Torso
  966. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--Head
  967. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  968. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  969. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  970. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  971. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  972. wait()
  973. end
  974.  
  975. ParticleEmitter0.Enabled = false
  976. particles.Enabled = false
  977. music.Playing = false
  978. efxBlock.Transparency = 1
  979.  
  980.  
  981. for i = 1,20 do
  982. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency+0.1
  983. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency+0.1
  984. wait()
  985. end
  986. for i = 1,20 do
  987. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
  988. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
  989. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
  990. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
  991. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
  992. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  993. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
  994. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  995. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
  996. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  997. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  998. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  999. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  1000. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  1001. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  1002. wait()
  1003. end
  1004. hum.WalkSpeed = 15
  1005. hum.JumpPower = 50
  1006. end
  1007. end
  1008. function beam()
  1009. if debounce == true then
  1010. if equiped == true then
  1011. debounce = false
  1012. local finalflash = false
  1013. local finalgo = 0
  1014. local finalgo1 = 6
  1015. game:GetService("RunService").RenderStepped:connect(function()
  1016. if finalflash == true then
  1017. finalgo = finalgo + 1
  1018. finalgo1 = finalgo1 + 2
  1019. char.FinalFlash.Size = Vector3.new(finalgo1,2,2)
  1020. char.inFinalFlash.Size = Vector3.new(finalgo1,2,2)
  1021. char.FinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  1022.  
  1023. char.inFinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  1024.  
  1025. end
  1026. end)
  1027.  
  1028. shootsnd:Play()
  1029.  
  1030. local RayThing = Instance.new("Part",char)
  1031. RayThing.Size = Vector3.new(5,1,1)
  1032. RayThing.Shape = "Cylinder"
  1033. RayThing.Name = "FinalFlash"
  1034. RayThing.CanCollide = false
  1035. RayThing.Transparency = 0
  1036. RayThing.Anchored = true
  1037. RayThing.Material = "Neon"
  1038. RayThing.BrickColor = BrickColor.new("Bright red")
  1039.  
  1040. local inRayThing = Instance.new("Part",char)
  1041. inRayThing.Size = Vector3.new(5,1,1)
  1042. inRayThing.Transparency = 1
  1043. inRayThing.Shape = "Cylinder"
  1044. inRayThing.Name = "inFinalFlash"
  1045. inRayThing.CanCollide = false
  1046. inRayThing.Anchored = true
  1047. inRayThing.Material = "Neon"
  1048. inRayThing.BrickColor = BrickColor.new("Bright red")
  1049. inRayThing.Touched:connect(function(hit)
  1050.  
  1051.  
  1052. if hit.Parent == char then return end
  1053. if hit.Parent == workspace.Base then return end
  1054. for i,v in pairs(hit.Parent:GetChildren()) do
  1055. if v:IsA("Humanoid") then
  1056. if hdebounce == true then
  1057. hdebounce = false
  1058. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -30, 1.5, BrickColor.new("Toothpaste").Color)
  1059. v.Health = v.Health - 30
  1060. wait(1)
  1061. hdebounce = true
  1062. end
  1063.  
  1064.  
  1065. end
  1066. end
  1067.  
  1068. end)
  1069. finalflash = true
  1070.  
  1071. wait(0.5)
  1072.  
  1073. finalflash = false
  1074. for i = 1,10 do
  1075. char.FinalFlash.Size = char.FinalFlash.Size+Vector3.new(0,-1,0)
  1076. char.FinalFlash.Transparency = char.FinalFlash.Transparency+0.05
  1077. char.FinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  1078.  
  1079. char.inFinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  1080. wait()
  1081. end
  1082. inRayThing:Destroy()
  1083. RayThing:Destroy()
  1084. finalgo = 0
  1085. finalgo1 = 6
  1086. debounce = true
  1087. end
  1088. end
  1089. end
  1090. function beam2()
  1091. if equiped == true then
  1092. if debounce == true then
  1093. debounce = false
  1094. local finalflash = false
  1095. local finalgo = 0
  1096. local finalgo1 = 6
  1097. game:GetService("RunService").RenderStepped:connect(function()
  1098. if finalflash == true then
  1099. finalgo = finalgo + 1
  1100. finalgo1 = finalgo1 + 2
  1101.  
  1102. char.FinalFlash.Size = Vector3.new(finalgo1,2,2)
  1103. char.inFinalFlash.Size = Vector3.new(finalgo1,2,2)
  1104. char.inFinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  1105. char.FinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  1106.  
  1107.  
  1108. end
  1109. end)
  1110.  
  1111. shootsnd:Play()
  1112. local RayThing = Instance.new("Part",char)
  1113. RayThing.Size = Vector3.new(5,1,1)
  1114. RayThing.Shape = "Cylinder"
  1115. RayThing.Name = "FinalFlash"
  1116. RayThing.CanCollide = false
  1117. RayThing.Transparency = 0
  1118. RayThing.Anchored = true
  1119. RayThing.Material = "Neon"
  1120. RayThing.BrickColor = BrickColor.new("Bright red")
  1121.  
  1122. local inRayThing = Instance.new("Part",char)
  1123. inRayThing.Size = Vector3.new(10,1,1)
  1124. inRayThing.Transparency = 1
  1125. inRayThing.Shape = "Cylinder"
  1126. inRayThing.Name = "inFinalFlash"
  1127. inRayThing.CanCollide = false
  1128. inRayThing.Anchored = true
  1129. inRayThing.Material = "Neon"
  1130. inRayThing.BrickColor = BrickColor.new("Bright red")
  1131.  
  1132. RayThing.Touched:connect(function(hit)
  1133.  
  1134.  
  1135. if hit.Parent == char then return end
  1136. if hit.Parent == workspace.Base then return end
  1137. for i,v in pairs(hit.Parent:GetChildren()) do
  1138. if v:IsA("Humanoid") then
  1139. if hdebounce == true then
  1140. hdebounce = false
  1141. local hitnumb = math.random(1,2)
  1142. v.Health = v.Health - math.random(10,20)
  1143. if hitnumb == 1 then
  1144. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1145. end
  1146. if hitnumb == 2 then
  1147. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1148. end
  1149. wait(1)
  1150. hdebounce = true
  1151. end
  1152.  
  1153.  
  1154. end
  1155. end
  1156.  
  1157. end)
  1158. finalflash = true
  1159.  
  1160. wait(0.5)
  1161.  
  1162. finalflash = false
  1163. for i = 1,10 do
  1164. char.FinalFlash.Size = char.FinalFlash.Size+Vector3.new(0,-1,0)
  1165. char.FinalFlash.Transparency = char.FinalFlash.Transparency+0.05
  1166. char.inFinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  1167. char.FinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  1168. wait()
  1169. end
  1170.  
  1171. inRayThing:Destroy()
  1172. RayThing:Destroy()
  1173. finalgo = 0
  1174. finalgo1 = 6
  1175. debounce = true
  1176. end
  1177. end
  1178. end
  1179. mounted = false
  1180. function mount()
  1181. if equiped == true then
  1182. if mounted == false then
  1183. mounted = true
  1184. char.Humanoid.PlatformStand = true
  1185. local mountw = new("Weld",RGhasterBlaster)
  1186. mountw.Part0 = char.HumanoidRootPart
  1187. mountw.Part1 = RGhasterBlaster
  1188. mountw.Name = "mountw"
  1189. mountw.C1 = CFrame.new(0,3,0)
  1190. for i = 1,5 do
  1191. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5) --LeftUpperArm
  1192. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--RightUpperArm
  1193. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--Head
  1194. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--LeftUpperLeg
  1195. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--RightUpperLeg
  1196. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--LeftLowerLeg
  1197. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--RightUpperLeg
  1198. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-170),rad(0),rad(0)),.1)--Torso
  1199. wait()
  1200. end
  1201.  
  1202. elseif mounted == true then
  1203. mounted = false
  1204. for i = 1,5 do
  1205. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5) --LeftUpperArm
  1206. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperArm
  1207. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head
  1208. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg
  1209. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
  1210. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
  1211. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
  1212. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso
  1213. wait()
  1214. end
  1215. char.Humanoid.PlatformStand = false
  1216. RGhasterBlaster.mountw:destroy()
  1217. RGhasterBlaster.CFrame = char.LeftHand.CFrame
  1218. end
  1219. end
  1220. end
  1221. local srot = 0
  1222. mouse.Button1Down:connect(function()
  1223. ral = math.random(1,2)
  1224. if ral == 1 then
  1225. beam()
  1226. end
  1227. if ral == 2 then
  1228. beam2()
  1229. end
  1230.  
  1231.  
  1232. end)
  1233. function cross()
  1234. if equiped == true then
  1235. if debounce == true then
  1236. debounce = false
  1237. local targeta = new("Part",char)
  1238. targeta.Position = mouse.Hit.p
  1239. targeta.Anchored = true
  1240. targeta.CanCollide = false
  1241. targeta.Transparency = 1
  1242.  
  1243. local CrossGhast1 = new("Part",char)
  1244. CrossGhast1.CanCollide = false
  1245. CrossGhast1.Anchored = false
  1246. CrossGhast1.Size = v3(1,1,1)
  1247. CrossGhast1.Material = "Neon"
  1248. CrossGhast1.BrickColor = bc("White")
  1249. CrossGhast1.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1250.  
  1251.  
  1252. local zxc = Instance.new("SpecialMesh",CrossGhast1)
  1253. zxc.MeshType = "FileMesh"
  1254. zxc.Scale = Vector3.new(2,2,2)
  1255. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1256. PointBP = Instance.new("BodyPosition",CrossGhast1)
  1257. PointBP.Position = (targeta.CFrame*CFrame.new(20,1,0)).p
  1258. PointBP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1259. local PointBG=Instance.new("BodyGyro",CrossGhast1)
  1260. PointBG.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1261. PointBG.D=400
  1262. local CrossGhast2 = new("Part",char)
  1263. CrossGhast2.CanCollide = false
  1264. CrossGhast2.Anchored = false
  1265. CrossGhast2.Size = v3(1,1,1)
  1266. CrossGhast2.Material = "Neon"
  1267. CrossGhast2.BrickColor = bc("White")
  1268. CrossGhast2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1269.  
  1270. local zxc = Instance.new("SpecialMesh",CrossGhast2)
  1271. zxc.MeshType = "FileMesh"
  1272. zxc.Scale = Vector3.new(2,2,2)
  1273. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1274. PointBP2 = Instance.new("BodyPosition",CrossGhast2)
  1275. PointBP2.Position = (targeta.CFrame*CFrame.new(-20,1,0)).p
  1276. PointBP2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1277. local PointBG2=Instance.new("BodyGyro",CrossGhast2)
  1278. PointBG2.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1279. PointBG2.D=400
  1280. local CrossGhast3 = new("Part",char)
  1281. CrossGhast3.CanCollide = false
  1282. CrossGhast3.Anchored = false
  1283. CrossGhast3.Size = v3(1,1,1)
  1284. CrossGhast3.Material = "Neon"
  1285. CrossGhast3.BrickColor = bc("White")
  1286. CrossGhast3.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1287.  
  1288. local zxc = Instance.new("SpecialMesh",CrossGhast3)
  1289. zxc.MeshType = "FileMesh"
  1290. zxc.Scale = Vector3.new(2,2,2)
  1291. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1292. PointBP3 = Instance.new("BodyPosition",CrossGhast3)
  1293. PointBP3.Position = (targeta.CFrame*CFrame.new(0,1,-20)).p
  1294. PointBP3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1295. local PointBG3=Instance.new("BodyGyro",CrossGhast3)
  1296. PointBG3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1297. PointBG3.D=400
  1298. local CrossGhasta = new("Part",char)
  1299. CrossGhasta.CanCollide = false
  1300. CrossGhasta.Anchored = false
  1301. CrossGhasta.Size = v3(1,1,1)
  1302. CrossGhasta.Material = "Neon"
  1303. CrossGhasta.BrickColor = bc("White")
  1304. CrossGhasta.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1305.  
  1306. local zxc = Instance.new("SpecialMesh",CrossGhasta)
  1307. zxc.MeshType = "FileMesh"
  1308. zxc.Scale = Vector3.new(2,2,2)
  1309. zxc.MeshId = "http://www.roblox.csdom/asset/?id=920580395"
  1310. PointBPa = Instance.new("BodyPosition",CrossGhasta)
  1311. PointBPa.Position = (targeta.CFrame*CFrame.new(0,1,20)).p
  1312. PointBPa.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1313. local PointBGa=Instance.new("BodyGyro",CrossGhasta)
  1314. PointBGa.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1315. PointBGa.D=400
  1316. for i = 1,50 do
  1317. PointBG.CFrame=CFrame.new(CrossGhast1.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1318. PointBG2.CFrame=CFrame.new(CrossGhast2.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1319. PointBG3.CFrame=CFrame.new(CrossGhast3.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1320. PointBGa.CFrame=CFrame.new(CrossGhasta.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1321.  
  1322. wait()
  1323. end
  1324. shootsnd:Play()
  1325. local GhastShot1 = new("Part",CrossGhast1)
  1326. GhastShot1.Shape = "Cylinder"
  1327. GhastShot1.Size = v3(100,5,5)
  1328. GhastShot1.BrickColor = bc("Bright red")
  1329. GhastShot1.Material = "Neon"
  1330. GhastShot1.CanCollide = false
  1331. GhastShot1.Anchored = true
  1332. GhastShot1.CFrame = CrossGhast1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1333. local GhastShot2 = new("Part",CrossGhast1)
  1334. GhastShot2.Shape = "Cylinder"
  1335. GhastShot2.Size = v3(100,5,5)
  1336. GhastShot2.BrickColor = bc("Bright red")
  1337. GhastShot2.Material = "Neon"
  1338. GhastShot2.CanCollide = false
  1339. GhastShot2.Anchored = true
  1340. GhastShot2.CFrame = CrossGhast2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1341. local GhastShot3 = new("Part",CrossGhast1)
  1342. GhastShot3.Shape = "Cylinder"
  1343. GhastShot3.Size = v3(100,5,5)
  1344. GhastShot3.BrickColor = bc("Bright red")
  1345. GhastShot3.Material = "Neon"
  1346. GhastShot3.CanCollide = false
  1347. GhastShot3.Anchored = true
  1348. GhastShot3.CFrame = CrossGhast3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1349. local GhastShota = new("Part",CrossGhast1)
  1350. GhastShota.Shape = "Cylinder"
  1351. GhastShota.Size = v3(100,5,5)
  1352. GhastShota.BrickColor = bc("Bright red")
  1353. GhastShota.Material = "Neon"
  1354. GhastShota.CanCollide = false
  1355. GhastShota.Anchored = true
  1356. GhastShota.CFrame = CrossGhasta.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1357. GhastShota.Touched:connect(function(hit)
  1358.  
  1359.  
  1360. if hit.Parent == char then return end
  1361. if hit.Parent == workspace.Base then return end
  1362. for i,v in pairs(hit.Parent:GetChildren()) do
  1363. if v:IsA("Humanoid") then
  1364. if hdebounce == true then
  1365. hdebounce = false
  1366. local hitnumb2 = math.random(1,2)
  1367. for i = 1,20 do
  1368. v.Health = v.Health-2
  1369. wait(0.01)
  1370. end
  1371. if hitnumb == 1 then
  1372. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1373. end
  1374. if hitnumb == 2 then
  1375. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1376. end
  1377. wait(0.9)
  1378. hdebounce = true
  1379. end
  1380.  
  1381.  
  1382. end
  1383. end
  1384.  
  1385. end)
  1386. GhastShot1.Touched:connect(function(hit)
  1387.  
  1388. if hit.Parent == char then return end
  1389. if hit.Parent == workspace.Base then return end
  1390. for i,v in pairs(hit.Parent:GetChildren()) do
  1391. if v:IsA("Humanoid") then
  1392. if hdebounce == true then
  1393. hdebounce = false
  1394. local hitnumb2 = math.random(1,2)
  1395. for i = 1,20 do
  1396. v.Health = v.Health-2
  1397. wait(0.01)
  1398. end
  1399. if hitnumb == 1 then
  1400. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1401. end
  1402. if hitnumb == 2 then
  1403. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1404. end
  1405. wait(0.9)
  1406. hdebounce = true
  1407. end
  1408.  
  1409.  
  1410. end
  1411. end
  1412.  
  1413. end)
  1414. GhastShot2.Touched:connect(function(hit)
  1415. if hit.Parent == workspace.Base then return end
  1416.  
  1417. if hit.Parent == char then return end
  1418.  
  1419. for i,v in pairs(hit.Parent:GetChildren()) do
  1420. if v:IsA("Humanoid") then
  1421. if hdebounce == true then
  1422. hdebounce = false
  1423. local hitnumb2 = math.random(1,2)
  1424. for i = 1,20 do
  1425. v.Health = v.Health-2
  1426. wait(0.01)
  1427. end
  1428. if hitnumb == 1 then
  1429. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1430. end
  1431. if hitnumb == 2 then
  1432. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1433. end
  1434. wait(0.9)
  1435. hdebounce = true
  1436. end
  1437.  
  1438.  
  1439. end
  1440. end
  1441.  
  1442. end)
  1443. GhastShot3.Touched:connect(function(hit)
  1444. if hit.Parent == workspace.Base then return end
  1445. if hit.Parent == char then return end
  1446.  
  1447. for i,v in pairs(hit.Parent:GetChildren()) do
  1448. if v:IsA("Humanoid") then
  1449. if hdebounce == true then
  1450. hdebounce = false
  1451. local hitnumb2 = math.random(1,2)
  1452. for i = 1,20 do
  1453. v.Health = v.Health-2
  1454. wait(0.01)
  1455. end
  1456. if hitnumb == 1 then
  1457. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1458. end
  1459. if hitnumb == 2 then
  1460. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1461. end
  1462. wait(0.9)
  1463. hdebounce = true
  1464. end
  1465.  
  1466.  
  1467. end
  1468. end
  1469.  
  1470. end)
  1471. wait(0.2)
  1472. for i = 1,10 do
  1473. GhastShot1.Size = GhastShot1.Size+v3(0,-1,-1)
  1474. GhastShot2.Size = GhastShot2.Size+v3(0,-1,-1)
  1475. GhastShot3.Size = GhastShot3.Size+v3(0,-1,-1)
  1476. GhastShota.Size = GhastShota.Size+v3(0,-1,-1)
  1477. GhastShot1.CFrame = CrossGhast1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1478. GhastShot2.CFrame = CrossGhast2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1479. GhastShot3.CFrame = CrossGhast3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1480. GhastShota.CFrame = CrossGhasta.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1481. GhastShot1.Transparency = GhastShot1.Transparency+0.1
  1482. GhastShot2.Transparency = GhastShot2.Transparency+0.1
  1483. GhastShot3.Transparency = GhastShot3.Transparency+0.1
  1484. GhastShota.Transparency = GhastShota.Transparency+0.1
  1485.  
  1486. wait()
  1487. end
  1488. wait(1)
  1489. for i = 1,10 do
  1490. CrossGhast2.Transparency = CrossGhast2.Transparency+0.1
  1491. CrossGhast1.Transparency = CrossGhast1.Transparency+0.1
  1492. CrossGhasta.Transparency = CrossGhasta.Transparency+0.1
  1493. CrossGhast3.Transparency = CrossGhast3.Transparency+0.1
  1494. wait()
  1495. end
  1496. CrossGhast1:destroy()
  1497. CrossGhast2:destroy()
  1498. CrossGhast3:destroy()
  1499. CrossGhasta:destroy()
  1500. wait(1)
  1501. debounce = true
  1502. end
  1503. end
  1504. end
  1505. local dodgedebounce = true
  1506. function DodgeLeft()
  1507. if dodgedebounce == true then
  1508. dodgedebounce = false
  1509. local currentpos=Vector3.new(char.HumanoidRootPart.Position.X,char.HumanoidRootPart.Position.Y,char.HumanoidRootPart.Position.Z)
  1510. local bodyp=Instance.new("BodyPosition",char.HumanoidRootPart)
  1511. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  1512. bodyp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(-15,0,0)).p
  1513. wait(0.8)
  1514. bodyp.Position=currentpos
  1515. wait(0.5)
  1516. bodyp:Destroy()
  1517. wait(1)
  1518. dodgedebounce = true
  1519. end
  1520. end
  1521. function RightDodge()
  1522. if dodgedebounce == true then
  1523. dodgedebounce = false
  1524. local currentpos=Vector3.new(char.HumanoidRootPart.Position.X,char.HumanoidRootPart.Position.Y,char.HumanoidRootPart.Position.Z)
  1525. local bodyp=Instance.new("BodyPosition",char.HumanoidRootPart)
  1526. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  1527. bodyp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(15,0,0)).p
  1528. wait(0.8)
  1529. bodyp.Position=currentpos
  1530. wait(0.5)
  1531. bodyp:Destroy()
  1532. wait(1)
  1533. dodgedebounce = true
  1534. end
  1535. end
  1536. function octo()
  1537. if equiped == true then
  1538. if debounce == true then
  1539. debounce = false
  1540. local target2 = new("Part",char)
  1541. target2.Position = mouse.Hit.p
  1542. target2.Anchored = true
  1543. target2.CanCollide = false
  1544. target2.Transparency = 1
  1545. local OctoGhast1 = new("Part",char)
  1546. OctoGhast1.CanCollide = false
  1547. OctoGhast1.Anchored = false
  1548. OctoGhast1.Size = v3(1,1,1)
  1549. OctoGhast1.Material = "Neon"
  1550. OctoGhast1.BrickColor = bc("White")
  1551. OctoGhast1.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1552.  
  1553.  
  1554. local zxc = Instance.new("SpecialMesh",OctoGhast1)
  1555. zxc.MeshType = "FileMesh"
  1556. zxc.Scale = Vector3.new(2,2,2)
  1557. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1558. PointBPOcto1 = Instance.new("BodyPosition",OctoGhast1)
  1559. PointBPOcto1.Position = (target2.CFrame*CFrame.new(20,1,0)).p
  1560. PointBPOcto1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1561. local PointBGOcto1=Instance.new("BodyGyro",OctoGhast1)
  1562. PointBGOcto1.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1563. PointBGOcto1.D=400
  1564. local OctoGhast2 = new("Part",char)
  1565. OctoGhast2.CanCollide = false
  1566. OctoGhast2.Anchored = false
  1567. OctoGhast2.Size = v3(1,1,1)
  1568. OctoGhast2.Material = "Neon"
  1569. OctoGhast2.BrickColor = bc("White")
  1570. OctoGhast2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1571.  
  1572. local zxc = Instance.new("SpecialMesh",OctoGhast2)
  1573. zxc.MeshType = "FileMesh"
  1574. zxc.Scale = Vector3.new(2,2,2)
  1575. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1576. PointBPOcto2 = Instance.new("BodyPosition",OctoGhast2)
  1577. PointBPOcto2.Position = (target2.CFrame*CFrame.new(-20,1,0)).p
  1578. PointBPOcto2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1579. local PointBGOcto2=Instance.new("BodyGyro",OctoGhast2)
  1580. PointBGOcto2.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1581. PointBGOcto2.D=400
  1582. local OctoGhast3 = new("Part",char)
  1583. OctoGhast3.CanCollide = false
  1584. OctoGhast3.Anchored = false
  1585. OctoGhast3.Size = v3(1,1,1)
  1586. OctoGhast3.Material = "Neon"
  1587. OctoGhast3.BrickColor = bc("White")
  1588. OctoGhast3.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1589.  
  1590.  
  1591. local zxc = Instance.new("SpecialMesh",OctoGhast3)
  1592. zxc.MeshType = "FileMesh"
  1593. zxc.Scale = Vector3.new(2,2,2)
  1594. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1595. PointBPOcto3 = Instance.new("BodyPosition",OctoGhast3)
  1596. PointBPOcto3.Position = (target2.CFrame*CFrame.new(0,1,-20)).p
  1597. PointBPOcto3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1598. local PointBGOcto3=Instance.new("BodyGyro",OctoGhast3)
  1599. PointBGOcto3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1600. PointBGOcto3.D=400
  1601. local OctoGhast4 = new("Part",char)
  1602. OctoGhast4.CanCollide = false
  1603. OctoGhast4.Anchored = false
  1604. OctoGhast4.Size = v3(1,1,1)
  1605. OctoGhast4.Material = "Neon"
  1606. OctoGhast4.BrickColor = bc("White")
  1607. OctoGhast4.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1608.  
  1609.  
  1610. local zxc = Instance.new("SpecialMesh",OctoGhast4)
  1611. zxc.MeshType = "FileMesh"
  1612. zxc.Scale = Vector3.new(2,2,2)
  1613. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1614. PointBPOcto4 = Instance.new("BodyPosition",OctoGhast4)
  1615. PointBPOcto4.Position = (target2.CFrame*CFrame.new(0,1,20)).p
  1616. PointBPOcto4.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1617. local PointBGOcto4=Instance.new("BodyGyro",OctoGhast4)
  1618. PointBGOcto4.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1619. PointBGOcto4.D=400
  1620. local OctoGhast5 = new("Part",char)
  1621. OctoGhast5.CanCollide = false
  1622. OctoGhast5.Anchored = false
  1623. OctoGhast5.Size = v3(1,1,1)
  1624. OctoGhast5.Material = "Neon"
  1625. OctoGhast5.BrickColor = bc("White")
  1626. OctoGhast5.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1627.  
  1628.  
  1629. local zxc = Instance.new("SpecialMesh",OctoGhast5)
  1630. zxc.MeshType = "FileMesh"
  1631. zxc.Scale = Vector3.new(2,2,2)
  1632. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1633. PointBPOcto5 = Instance.new("BodyPosition",OctoGhast5)
  1634. PointBPOcto5.Position = (target2.CFrame*CFrame.new(15,1,-20)).p
  1635. PointBPOcto5.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1636. local PointBGOcto5=Instance.new("BodyGyro",OctoGhast5)
  1637. PointBGOcto5.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1638. PointBGOcto5.D=400
  1639. local OctoGhast6 = new("Part",char)
  1640. OctoGhast6.CanCollide = false
  1641. OctoGhast6.Anchored = false
  1642. OctoGhast6.Size = v3(1,1,1)
  1643. OctoGhast6.Material = "Neon"
  1644. OctoGhast6.BrickColor = bc("White")
  1645. OctoGhast6.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1646.  
  1647.  
  1648. local zxc = Instance.new("SpecialMesh",OctoGhast6)
  1649. zxc.MeshType = "FileMesh"
  1650. zxc.Scale = Vector3.new(2,2,2)
  1651. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1652. PointBPOcto6 = Instance.new("BodyPosition",OctoGhast6)
  1653. PointBPOcto6.Position = (target2.CFrame*CFrame.new(-15,1,20)).p
  1654. PointBPOcto6.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1655. local PointBGOcto6=Instance.new("BodyGyro",OctoGhast6)
  1656. PointBGOcto6.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1657. PointBGOcto6.D=400
  1658. local OctoGhast7 = new("Part",char)
  1659. OctoGhast7.CanCollide = false
  1660. OctoGhast7.Anchored = false
  1661. OctoGhast7.Size = v3(1,1,1)
  1662. OctoGhast7.Material = "Neon"
  1663. OctoGhast7.BrickColor = bc("White")
  1664. OctoGhast7.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1665.  
  1666.  
  1667. local zxc = Instance.new("SpecialMesh",OctoGhast7)
  1668. zxc.MeshType = "FileMesh"
  1669. zxc.Scale = Vector3.new(2,2,2)
  1670. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1671. PointBPOcto7 = Instance.new("BodyPosition",OctoGhast7)
  1672. PointBPOcto7.Position = (target2.CFrame*CFrame.new(15,1,15)).p
  1673. PointBPOcto7.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1674. local PointBGOcto7=Instance.new("BodyGyro",OctoGhast7)
  1675. PointBGOcto7.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1676. PointBGOcto7.D=400
  1677. local OctoGhast8 = new("Part",char)
  1678. OctoGhast8.CanCollide = false
  1679. OctoGhast8.Anchored = false
  1680. OctoGhast8.Size = v3(1,1,1)
  1681. OctoGhast8.Material = "Neon"
  1682. OctoGhast8.BrickColor = bc("White")
  1683. OctoGhast8.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1684.  
  1685.  
  1686. local zxc = Instance.new("SpecialMesh",OctoGhast8)
  1687. zxc.MeshType = "FileMesh"
  1688. zxc.Scale = Vector3.new(2,2,2)
  1689. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1690. PointBPOcto8 = Instance.new("BodyPosition",OctoGhast8)
  1691. PointBPOcto8.Position = (target2.CFrame*CFrame.new(-15,1,-15)).p
  1692. PointBPOcto8.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1693. local PointBGOcto8=Instance.new("BodyGyro",OctoGhast8)
  1694. PointBGOcto8.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1695. PointBGOcto8.D=400
  1696. for i = 1,50 do
  1697. PointBGOcto5.CFrame=CFrame.new(OctoGhast5.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1698. PointBGOcto4.CFrame=CFrame.new(OctoGhast4.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1699. PointBGOcto1.CFrame=CFrame.new(OctoGhast1.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1700. PointBGOcto2.CFrame=CFrame.new(OctoGhast2.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1701. PointBGOcto3.CFrame=CFrame.new(OctoGhast3.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1702. PointBGOcto6.CFrame=CFrame.new(OctoGhast6.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1703. PointBGOcto7.CFrame=CFrame.new(OctoGhast7.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1704. PointBGOcto8.CFrame=CFrame.new(OctoGhast8.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1705. wait()
  1706. end
  1707. shootsnd:Play()
  1708. local GhastShotaA = new("Part",OctoGhast1)
  1709. GhastShotaA.Shape = "Cylinder"
  1710. GhastShotaA.Size = v3(100,5,5)
  1711. GhastShotaA.BrickColor = bc("Bright red")
  1712. GhastShotaA.Material = "Neon"
  1713. GhastShotaA.CanCollide = false
  1714. GhastShotaA.Anchored = true
  1715. GhastShotaA.CFrame = OctoGhast1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1716. local GhastShotaB = new("Part",OctoGhast2)
  1717. GhastShotaB.Shape = "Cylinder"
  1718. GhastShotaB.Size = v3(100,5,5)
  1719. GhastShotaB.BrickColor = bc("Bright red")
  1720. GhastShotaB.Material = "Neon"
  1721. GhastShotaB.CanCollide = false
  1722. GhastShotaB.Anchored = true
  1723. GhastShotaB.CFrame = OctoGhast2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1724. local GhastShotaC = new("Part",OctoGhast3)
  1725. GhastShotaC.Shape = "Cylinder"
  1726. GhastShotaC.Size = v3(100,5,5)
  1727. GhastShotaC.BrickColor = bc("Bright red")
  1728. GhastShotaC.Material = "Neon"
  1729. GhastShotaC.CanCollide = false
  1730. GhastShotaC.Anchored = true
  1731. GhastShotaC.CFrame = OctoGhast3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1732. local GhastShotaD = new("Part",OctoGhast4)
  1733. GhastShotaD.Shape = "Cylinder"
  1734. GhastShotaD.Size = v3(100,5,5)
  1735. GhastShotaD.BrickColor = bc("Bright red")
  1736. GhastShotaD.Material = "Neon"
  1737. GhastShotaD.CanCollide = false
  1738. GhastShotaD.Anchored = true
  1739. GhastShotaD.CFrame = OctoGhast4.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1740. local GhastShotaE = new("Part",OctoGhast5)
  1741. GhastShotaE.Shape = "Cylinder"
  1742. GhastShotaE.Size = v3(100,5,5)
  1743. GhastShotaE.BrickColor = bc("Bright red")
  1744. GhastShotaE.Material = "Neon"
  1745. GhastShotaE.CanCollide = false
  1746. GhastShotaE.Anchored = true
  1747. GhastShotaE.CFrame = OctoGhast5.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1748. local GhastShotaF = new("Part",OctoGhast6)
  1749. GhastShotaF.Shape = "Cylinder"
  1750. GhastShotaF.Size = v3(100,5,5)
  1751. GhastShotaF.BrickColor = bc("Bright red")
  1752. GhastShotaF.Material = "Neon"
  1753. GhastShotaF.CanCollide = false
  1754. GhastShotaF.Anchored = true
  1755. GhastShotaF.CFrame = OctoGhast6.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1756. local GhastShotaG = new("Part",OctoGhast7)
  1757. GhastShotaG.Shape = "Cylinder"
  1758. GhastShotaG.Size = v3(100,5,5)
  1759. GhastShotaG.BrickColor = bc("Bright red")
  1760. GhastShotaG.Material = "Neon"
  1761. GhastShotaG.CanCollide = false
  1762. GhastShotaG.Anchored = true
  1763. GhastShotaG.CFrame = OctoGhast7.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1764. local GhastShotaH = new("Part",OctoGhast8)
  1765. GhastShotaH.Shape = "Cylinder"
  1766. GhastShotaH.Size = v3(100,5,5)
  1767. GhastShotaH.BrickColor = bc("Bright red")
  1768. GhastShotaH.Material = "Neon"
  1769. GhastShotaH.CanCollide = false
  1770. GhastShotaH.Anchored = true
  1771. GhastShotaH.CFrame = OctoGhast8.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  1772. GhastShotaA.Touched:connect(function(hit)
  1773.  
  1774.  
  1775. if hit.Parent == char then return end
  1776. if hit.Parent == workspace.Base then return end
  1777. for i,v in pairs(hit.Parent:GetChildren()) do
  1778. if v:IsA("Humanoid") then
  1779. if hdebounce == true then
  1780. hdebounce = false
  1781.  
  1782. for i = 1,20 do
  1783. v.Health = v.Health-2
  1784. wait(0.01)
  1785. end
  1786. local hitnumb = math.random(1,2)
  1787.  
  1788. if hitnumb == 1 then
  1789. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1790. end
  1791. if hitnumb == 2 then
  1792. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1793. end
  1794. wait(0.9)
  1795. hdebounce = true
  1796. end
  1797.  
  1798.  
  1799. end
  1800. end
  1801.  
  1802. end)
  1803. GhastShotaB.Touched:connect(function(hit)
  1804. if hit.Parent == workspace.Base then return end
  1805.  
  1806. if hit.Parent == char then return end
  1807.  
  1808. for i,v in pairs(hit.Parent:GetChildren()) do
  1809. if v:IsA("Humanoid") then
  1810. if hdebounce == true then
  1811. hdebounce = false
  1812.  
  1813. for i = 1,20 do
  1814. v.Health = v.Health-2
  1815. wait(0.01)
  1816. end
  1817. local hitnumb = math.random(1,2)
  1818.  
  1819. if hitnumb == 1 then
  1820. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1821. end
  1822. if hitnumb == 2 then
  1823. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1824. end
  1825. wait(0.9)
  1826. hdebounce = true
  1827. end
  1828.  
  1829.  
  1830. end
  1831. end
  1832.  
  1833. end)
  1834. GhastShotaC.Touched:connect(function(hit)
  1835.  
  1836. if hit.Parent == workspace.Base then return end
  1837. if hit.Parent == char then return end
  1838.  
  1839. for i,v in pairs(hit.Parent:GetChildren()) do
  1840. if v:IsA("Humanoid") then
  1841. if hdebounce == true then
  1842. hdebounce = false
  1843.  
  1844. for i = 1,20 do
  1845. v.Health = v.Health-2
  1846. wait(0.01)
  1847. end
  1848. local hitnumb = math.random(1,2)
  1849.  
  1850. if hitnumb == 1 then
  1851. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1852. end
  1853. if hitnumb == 2 then
  1854. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1855. end
  1856. wait(0.9)
  1857. hdebounce = true
  1858. end
  1859.  
  1860.  
  1861. end
  1862. end
  1863.  
  1864. end)
  1865. GhastShotaD.Touched:connect(function(hit)
  1866. if hit.Parent == workspace.Base then return end
  1867.  
  1868. if hit.Parent == char then return end
  1869.  
  1870. for i,v in pairs(hit.Parent:GetChildren()) do
  1871. if v:IsA("Humanoid") then
  1872. if hdebounce == true then
  1873. hdebounce = false
  1874.  
  1875. for i = 1,20 do
  1876. v.Health = v.Health-2
  1877. wait(0.01)
  1878. end
  1879. local hitnumb = math.random(1,2)
  1880.  
  1881. if hitnumb == 1 then
  1882. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1883. end
  1884. if hitnumb == 2 then
  1885. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1886. end
  1887. wait(0.9)
  1888. hdebounce = true
  1889. end
  1890.  
  1891.  
  1892. end
  1893. end
  1894.  
  1895. end)
  1896. GhastShotaE.Touched:connect(function(hit)
  1897. if hit.Parent == workspace.Base then return end
  1898.  
  1899. if hit.Parent == char then return end
  1900.  
  1901. for i,v in pairs(hit.Parent:GetChildren()) do
  1902. if v:IsA("Humanoid") then
  1903. if hdebounce == true then
  1904. hdebounce = false
  1905.  
  1906. for i = 1,20 do
  1907. v.Health = v.Health-2
  1908. wait(0.01)
  1909. end
  1910. local hitnumb = math.random(1,2)
  1911.  
  1912. if hitnumb == 1 then
  1913. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1914. end
  1915. if hitnumb == 2 then
  1916. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1917. end
  1918. wait(0.9)
  1919. hdebounce = true
  1920. end
  1921.  
  1922.  
  1923. end
  1924. end
  1925.  
  1926. end)
  1927. GhastShotaF.Touched:connect(function(hit)
  1928.  
  1929. if hit.Parent == workspace.Base then return end
  1930. if hit.Parent == char then return end
  1931.  
  1932. for i,v in pairs(hit.Parent:GetChildren()) do
  1933. if v:IsA("Humanoid") then
  1934. if hdebounce == true then
  1935. hdebounce = false
  1936.  
  1937. for i = 1,20 do
  1938. v.Health = v.Health-2
  1939. wait(0.01)
  1940. end
  1941. local hitnumb = math.random(1,2)
  1942.  
  1943. if hitnumb == 1 then
  1944. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1945. end
  1946. if hitnumb == 2 then
  1947. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1948. end
  1949. wait(0.9)
  1950.  
  1951. hdebounce = true
  1952. end
  1953.  
  1954.  
  1955. end
  1956. end
  1957.  
  1958. end)
  1959. GhastShotaG.Touched:connect(function(hit)
  1960.  
  1961. if hit.Parent == workspace.Base then return end
  1962. if hit.Parent == char then return end
  1963.  
  1964. for i,v in pairs(hit.Parent:GetChildren()) do
  1965. if v:IsA("Humanoid") then
  1966. if hdebounce == true then
  1967. hdebounce = false
  1968.  
  1969. for i = 1,20 do
  1970. v.Health = v.Health-2
  1971. wait(0.01)
  1972. end
  1973. local hitnumb = math.random(1,2)
  1974.  
  1975. if hitnumb == 1 then
  1976. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1977. end
  1978. if hitnumb == 2 then
  1979. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1980. end
  1981. wait(0.9)
  1982. hdebounce = true
  1983. end
  1984.  
  1985.  
  1986. end
  1987. end
  1988.  
  1989. end)
  1990. GhastShotaH.Touched:connect(function(hit)
  1991. if hit.Parent == workspace.Base then return end
  1992.  
  1993. if hit.Parent == char then return end
  1994.  
  1995. for i,v in pairs(hit.Parent:GetChildren()) do
  1996. if v:IsA("Humanoid") then
  1997. if hdebounce == true then
  1998. hdebounce = false
  1999. for i = 1,20 do
  2000. v.Health = v.Health-2
  2001. wait(0.01)
  2002. end
  2003. local hitnumb = math.random(1,2)
  2004.  
  2005. if hitnumb == 1 then
  2006. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2007. end
  2008. if hitnumb == 2 then
  2009. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2010. end
  2011. wait(0.9)
  2012. hdebounce = true
  2013. end
  2014.  
  2015.  
  2016. end
  2017. end
  2018.  
  2019. end)
  2020. wait(0.2)
  2021. for i = 1,20 do
  2022. GhastShotaA.Size = GhastShotaA.Size+v3(0,-1,-1)
  2023. GhastShotaB.Size = GhastShotaB.Size+v3(0,-1,-1)
  2024. GhastShotaC.Size = GhastShotaC.Size+v3(0,-1,-1)
  2025. GhastShotaD.Size = GhastShotaD.Size+v3(0,-1,-1)
  2026. GhastShotaE.Size = GhastShotaE.Size+v3(0,-1,-1)
  2027. GhastShotaF.Size = GhastShotaF.Size+v3(0,-1,-1)
  2028. GhastShotaG.Size = GhastShotaG.Size+v3(0,-1,-1)
  2029. GhastShotaH.Size = GhastShotaH.Size+v3(0,-1,-1)
  2030. GhastShotaA.CFrame = OctoGhast1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2031. GhastShotaB.CFrame = OctoGhast2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2032. GhastShotaC.CFrame = OctoGhast3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2033. GhastShotaD.CFrame = OctoGhast4.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2034. GhastShotaE.CFrame = OctoGhast5.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2035. GhastShotaF.CFrame = OctoGhast6.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2036. GhastShotaG.CFrame = OctoGhast7.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2037. GhastShotaH.CFrame = OctoGhast8.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2038. GhastShotaA.Transparency = GhastShotaA.Transparency+0.1
  2039. GhastShotaB.Transparency = GhastShotaB.Transparency+0.1
  2040. GhastShotaC.Transparency = GhastShotaC.Transparency+0.1
  2041. GhastShotaD.Transparency = GhastShotaD.Transparency+0.1
  2042. GhastShotaE.Transparency = GhastShotaE.Transparency+0.1
  2043. GhastShotaF.Transparency = GhastShotaF.Transparency+0.1
  2044. GhastShotaG.Transparency = GhastShotaG.Transparency+0.1
  2045. GhastShotaH.Transparency = GhastShotaH.Transparency+0.1
  2046. wait()
  2047. end
  2048. wait(0.1)
  2049. debounce = true
  2050. for i = 1,20 do
  2051. OctoGhast1.Transparency = OctoGhast1.Transparency+0.1
  2052. OctoGhast2.Transparency = OctoGhast2.Transparency+0.1
  2053. OctoGhast3.Transparency = OctoGhast3.Transparency+0.1
  2054. OctoGhast4.Transparency = OctoGhast4.Transparency+0.1
  2055. OctoGhast5.Transparency = OctoGhast5.Transparency+0.1
  2056. OctoGhast6.Transparency = OctoGhast6.Transparency+0.1
  2057. OctoGhast7.Transparency = OctoGhast7.Transparency+0.1
  2058. OctoGhast8.Transparency = OctoGhast8.Transparency+0.1
  2059. wait()
  2060. end
  2061. OctoGhast1:destroy()
  2062. OctoGhast2:destroy()
  2063. OctoGhast3:destroy()
  2064. OctoGhast4:destroy()
  2065. OctoGhast5:destroy()
  2066. OctoGhast6:destroy()
  2067. OctoGhast7:destroy()
  2068. OctoGhast8:destroy()
  2069. end
  2070. end
  2071. end
  2072. local bonehit2nd = new("Sound",char)
  2073. bonehit2nd.SoundId = "rbxassetid://401680588"
  2074. bonehit2nd.Volume = 5
  2075.  
  2076. local bonehit3nd = new("Sound",char)
  2077. bonehit3nd.SoundId = "rbxassetid://306247749"
  2078. bonehit3nd.Volume = 5
  2079.  
  2080. function Bones()
  2081. if RootPart.Velocity.y < 1 and hitfloor==nil then
  2082. if debounce == true then
  2083. debounce = false
  2084.  
  2085. bonehit2nd:Play()
  2086. for i = 1,30 do
  2087. local bone = new("Part",char)
  2088. bone.Touched:connect(function(hit)
  2089.  
  2090.  
  2091. if hit.Parent == char then return end
  2092.  
  2093. for i,v in pairs(hit.Parent:GetChildren()) do
  2094. if v:IsA("Humanoid") then
  2095. padebounce = true
  2096. if padebounce == true then
  2097. padebounce = false
  2098.  
  2099. for i = 1,20 do
  2100. v.Health = v.Health-2
  2101. wait(1)
  2102. end
  2103. wait(0.9)
  2104. padebounce = true
  2105. end
  2106.  
  2107.  
  2108. end
  2109. end
  2110.  
  2111. end)
  2112. bone.CFrame = char.HumanoidRootPart.CFrame
  2113. bone.CanCollide = false
  2114. bone.Material = "SmoothPlastic"
  2115. bone.BrickColor = bc("White")
  2116. bone.Anchored = true
  2117. bone.CFrame = (char.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-7,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0)))
  2118. local zxc = Instance.new("SpecialMesh",bone)
  2119. zxc.MeshType = "FileMesh"
  2120. zxc.Scale = Vector3.new(0.03, 0.03, 0.03)
  2121. zxc.MeshId = "http://www.roblox.com/asset/?id=921085633"
  2122. wait()
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128. local gdisp = coroutine.wrap(function()
  2129. bonehit3nd:Play()
  2130. for i = 1,5 do
  2131. bone.CFrame = bone.CFrame*CFrame.new(0,1,0)
  2132. wait()
  2133. end
  2134. wait(1)
  2135. for i = 1, 9 do
  2136. wait(.1)
  2137. bone.Transparency = bone.Transparency + .3
  2138. end
  2139. bone:Destroy()
  2140. end)
  2141. gdisp()
  2142. end
  2143. end
  2144. wait(1)
  2145. debounce = true
  2146. end
  2147. end
  2148. AheadShotsdebounce = true
  2149. function AheadShots()
  2150. if equiped == true then
  2151. if AheadShotsdebounce == true then
  2152. AheadShotsdebounce = false
  2153. local targetahead = new("Part",char)
  2154. targetahead.Shape = "Ball"
  2155. targetahead.Anchored = true
  2156. targetahead.CanCollide = false
  2157. targetahead.BrickColor = bc("Toothpaste")
  2158. targetahead.Material = "Neon"
  2159. targetahead.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-10)
  2160. targetahead.Transparency = 1
  2161.  
  2162. local targetahead2 = new("Part",char)
  2163. targetahead2.Shape = "Ball"
  2164. targetahead2.CanCollide = false
  2165. targetahead2.Anchored = true
  2166. targetahead2.BrickColor = bc("Toothpaste")
  2167. targetahead2.Material = "Neon"
  2168. targetahead2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-30)
  2169. targetahead2.Transparency = 1
  2170.  
  2171. local targetahead3 = new("Part",char)
  2172. targetahead3.Shape = "Ball"
  2173. targetahead3.Anchored = true
  2174. targetahead3.CanCollide = false
  2175. targetahead3.BrickColor = bc("Toothpaste")
  2176. targetahead3.Material = "Neon"
  2177. targetahead3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-50)
  2178. targetahead3.Transparency = 1
  2179.  
  2180. local Blasta1 = new("Part",char)
  2181. Blasta1.Size = v3(1,1,1)
  2182. Blasta1.CanCollide = false
  2183. Blasta1.Name = "Blasta1"
  2184. Blasta1.Material = "Neon"
  2185. Blasta1.BrickColor = bc("White")
  2186. Blasta1.Shape = "Ball"
  2187. Blasta1.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2188. Blasta1.Anchored = false
  2189.  
  2190.  
  2191.  
  2192. local zxc = Instance.new("SpecialMesh",Blasta1)
  2193. zxc.MeshType = "FileMesh"
  2194. zxc.Scale = Vector3.new(2,2,2)
  2195. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2196.  
  2197. local blasta1bg=Instance.new("BodyGyro",Blasta1)
  2198. blasta1bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2199. blasta1bg.D=400
  2200.  
  2201. blasta1bp = Instance.new("BodyPosition", Blasta1)
  2202. local Blasta2 = new("Part",char)
  2203. Blasta2.Size = v3(1,1,1)
  2204. Blasta2.CanCollide = false
  2205. Blasta2.Name = "Blasta2"
  2206. Blasta2.Material = "Neon"
  2207. Blasta2.BrickColor = bc("White")
  2208. Blasta2.Shape = "Ball"
  2209. Blasta2.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2210. Blasta2.Anchored = false
  2211.  
  2212.  
  2213.  
  2214. local zxc = Instance.new("SpecialMesh",Blasta2)
  2215. zxc.MeshType = "FileMesh"
  2216. zxc.Scale = Vector3.new(2,2,2)
  2217. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2218.  
  2219. local Blasta2bg=Instance.new("BodyGyro",Blasta2)
  2220. Blasta2bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2221. Blasta2bg.D=400
  2222.  
  2223. Blasta2bp = Instance.new("BodyPosition", Blasta2)
  2224. local Blasta3 = new("Part",char)
  2225. Blasta3.Size = v3(1,1,1)
  2226. Blasta3.CanCollide = false
  2227. Blasta3.Name = "Blasta3"
  2228. Blasta3.Material = "Neon"
  2229. Blasta3.BrickColor = bc("White")
  2230. Blasta3.Shape = "Ball"
  2231. Blasta3.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2232. Blasta3.Anchored = false
  2233.  
  2234.  
  2235.  
  2236. local zxc = Instance.new("SpecialMesh",Blasta3)
  2237. zxc.MeshType = "FileMesh"
  2238. zxc.Scale = Vector3.new(2,2,2)
  2239. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2240.  
  2241. local Blasta3bg=Instance.new("BodyGyro",Blasta3)
  2242. Blasta3bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2243. Blasta3bg.D=400
  2244.  
  2245. Blasta3bp = Instance.new("BodyPosition", Blasta3)
  2246. local Blasta4 = new("Part",char)
  2247. Blasta4.Size = v3(1,1,1)
  2248. Blasta4.CanCollide = false
  2249. Blasta4.Name = "Blasta4"
  2250. Blasta4.Material = "Neon"
  2251. Blasta4.BrickColor = bc("White")
  2252. Blasta4.Shape = "Ball"
  2253. Blasta4.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2254. Blasta4.Anchored = false
  2255.  
  2256.  
  2257.  
  2258. local zxc = Instance.new("SpecialMesh",Blasta4)
  2259. zxc.MeshType = "FileMesh"
  2260. zxc.Scale = Vector3.new(2,2,2)
  2261. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2262.  
  2263. local Blasta4bg=Instance.new("BodyGyro",Blasta4)
  2264. Blasta4bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2265. Blasta4bg.D=400
  2266.  
  2267. Blasta4bp = Instance.new("BodyPosition", Blasta4)
  2268. local Blasta5 = new("Part",char)
  2269. Blasta5.Size = v3(1,1,1)
  2270. Blasta5.CanCollide = false
  2271. Blasta5.Name = "Blasta5"
  2272. Blasta5.Material = "Neon"
  2273. Blasta5.BrickColor = bc("White")
  2274. Blasta5.Shape = "Ball"
  2275. Blasta5.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2276. Blasta5.Anchored = false
  2277.  
  2278.  
  2279.  
  2280. local zxc = Instance.new("SpecialMesh",Blasta5)
  2281. zxc.MeshType = "FileMesh"
  2282. zxc.Scale = Vector3.new(2,2,2)
  2283. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2284.  
  2285. local Blasta5bg=Instance.new("BodyGyro",Blasta5)
  2286. Blasta5bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2287. Blasta5bg.D=400
  2288.  
  2289. Blasta5bp = Instance.new("BodyPosition", Blasta5)
  2290.  
  2291. local Blasta6 = new("Part",char)
  2292. Blasta6.Size = v3(1,1,1)
  2293. Blasta6.CanCollide = false
  2294. Blasta6.Name = "Blasta6"
  2295. Blasta6.Material = "Neon"
  2296. Blasta6.BrickColor = bc("White")
  2297. Blasta6.Shape = "Ball"
  2298. Blasta6.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2299. Blasta6.Anchored = false
  2300.  
  2301.  
  2302.  
  2303. local zxc = Instance.new("SpecialMesh",Blasta6)
  2304. zxc.MeshType = "FileMesh"
  2305. zxc.Scale = Vector3.new(2,2,2)
  2306. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2307.  
  2308. local Blasta6bg=Instance.new("BodyGyro",Blasta6)
  2309. Blasta6bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2310. Blasta6bg.D=400
  2311.  
  2312. Blasta6bp = Instance.new("BodyPosition", Blasta6)
  2313.  
  2314. for i = 1,50 do
  2315. blasta1bp.Position=(targetahead.CFrame*CFrame.new(20,2,0)).p
  2316. blasta1bg.CFrame=CFrame.new(Blasta2.Position,targetahead2.Position)
  2317. Blasta2bp.Position=(targetahead2.CFrame*CFrame.new(20,2,0)).p
  2318. Blasta2bg.CFrame=CFrame.new(Blasta2.Position,targetahead2.Position)
  2319.  
  2320. Blasta3bp.Position=(targetahead3.CFrame*CFrame.new(20,2,0)).p
  2321. Blasta3bg.CFrame=CFrame.new(Blasta3.Position,targetahead3.Position)
  2322.  
  2323. Blasta4bp.Position=(targetahead.CFrame*CFrame.new(-20,2,0)).p
  2324. Blasta4bg.CFrame=CFrame.new(Blasta4.Position,targetahead.Position)
  2325.  
  2326. Blasta5bp.Position=(targetahead2.CFrame*CFrame.new(-20,2,0)).p
  2327. Blasta5bg.CFrame=CFrame.new(Blasta5.Position,targetahead2.Position)
  2328.  
  2329. Blasta6bp.Position=(targetahead3.CFrame*CFrame.new(-20,2,0)).p
  2330. Blasta6bg.CFrame=CFrame.new(Blasta6.Position,targetahead3.Position)
  2331.  
  2332. wait()
  2333. end
  2334. shootsnd:Play()
  2335. local GhastAcrossShot1 = new("Part",Blasta1)
  2336. GhastAcrossShot1.Shape = "Cylinder"
  2337. GhastAcrossShot1.Size = v3(100,5,5)
  2338. GhastAcrossShot1.BrickColor = bc("Bright red")
  2339. GhastAcrossShot1.Material = "Neon"
  2340. GhastAcrossShot1.CanCollide = false
  2341. GhastAcrossShot1.Anchored = true
  2342. GhastAcrossShot1.CFrame = Blasta1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2343. local GhastAcrossShot2 = new("Part",Blasta2)
  2344. GhastAcrossShot2.Shape = "Cylinder"
  2345. GhastAcrossShot2.Size = v3(100,5,5)
  2346. GhastAcrossShot2.BrickColor = bc("Bright red")
  2347. GhastAcrossShot2.Material = "Neon"
  2348. GhastAcrossShot2.CanCollide = false
  2349. GhastAcrossShot2.Anchored = true
  2350. GhastAcrossShot2.CFrame = Blasta2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2351. local GhastAcrossShot3 = new("Part",Blasta2)
  2352. GhastAcrossShot3.Shape = "Cylinder"
  2353. GhastAcrossShot3.Size = v3(100,5,5)
  2354. GhastAcrossShot3.BrickColor = bc("Bright red")
  2355. GhastAcrossShot3.Material = "Neon"
  2356. GhastAcrossShot3.CanCollide = false
  2357. GhastAcrossShot3.Anchored = true
  2358. GhastAcrossShot3.CFrame = Blasta3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2359. local GhastAcrossShot4 = new("Part",Blasta4)
  2360. GhastAcrossShot4.Shape = "Cylinder"
  2361. GhastAcrossShot4.Size = v3(100,5,5)
  2362. GhastAcrossShot4.BrickColor = bc("Bright red")
  2363. GhastAcrossShot4.Material = "Neon"
  2364. GhastAcrossShot4.CanCollide = false
  2365. GhastAcrossShot4.Anchored = true
  2366. GhastAcrossShot4.CFrame = Blasta4.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2367. local GhastAcrossShot5 = new("Part",Blasta5)
  2368. GhastAcrossShot5.Shape = "Cylinder"
  2369. GhastAcrossShot5.Size = v3(100,5,5)
  2370. GhastAcrossShot5.BrickColor = bc("Bright red")
  2371. GhastAcrossShot5.Material = "Neon"
  2372. GhastAcrossShot5.CanCollide = false
  2373. GhastAcrossShot5.Anchored = true
  2374. GhastAcrossShot5.CFrame = Blasta5.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2375. local GhastAcrossShot6 = new("Part",Blasta5)
  2376. GhastAcrossShot6.Shape = "Cylinder"
  2377. GhastAcrossShot6.Size = v3(100,5,5)
  2378. GhastAcrossShot6.BrickColor = bc("Bright red")
  2379. GhastAcrossShot6.Material = "Neon"
  2380. GhastAcrossShot6.CanCollide = false
  2381. GhastAcrossShot6.Anchored = true
  2382. GhastAcrossShot6.CFrame = Blasta6.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2383. GhastAcrossShot1.Touched:connect(function(hit)
  2384. if hit.Parent == workspace.Base then return end
  2385.  
  2386. if hit.Parent == char then return end
  2387.  
  2388. for i,v in pairs(hit.Parent:GetChildren()) do
  2389. if v:IsA("Humanoid") then
  2390. if hdebounce == true then
  2391. hdebounce = false
  2392. for i = 1,20 do
  2393. v.Health = v.Health-2
  2394. wait(0.01)
  2395. end
  2396. local hitnumb = math.random(1,2)
  2397.  
  2398. if hitnumb == 1 then
  2399. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2400. end
  2401. if hitnumb == 2 then
  2402. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2403. end
  2404. wait(0.9)
  2405. hdebounce = true
  2406. end
  2407.  
  2408.  
  2409. end
  2410. end
  2411.  
  2412. end)
  2413. GhastAcrossShot2.Touched:connect(function(hit)
  2414. if hit.Parent == workspace.Base then return end
  2415.  
  2416. if hit.Parent == char then return end
  2417.  
  2418. for i,v in pairs(hit.Parent:GetChildren()) do
  2419. if v:IsA("Humanoid") then
  2420. if hdebounce == true then
  2421. hdebounce = false
  2422. for i = 1,20 do
  2423. v.Health = v.Health-2
  2424. wait(0.01)
  2425. end
  2426. local hitnumb = math.random(1,2)
  2427.  
  2428. if hitnumb == 1 then
  2429. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2430. end
  2431. if hitnumb == 2 then
  2432. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2433. end
  2434. wait(0.9)
  2435. hdebounce = true
  2436. end
  2437.  
  2438.  
  2439. end
  2440. end
  2441.  
  2442. end)
  2443.  
  2444. GhastAcrossShot3.Touched:connect(function(hit)
  2445. if hit.Parent == workspace.Base then return end
  2446.  
  2447. if hit.Parent == char then return end
  2448.  
  2449. for i,v in pairs(hit.Parent:GetChildren()) do
  2450. if v:IsA("Humanoid") then
  2451. if hdebounce == true then
  2452. hdebounce = false
  2453. for i = 1,20 do
  2454. v.Health = v.Health-2
  2455. wait(0.01)
  2456. end
  2457. local hitnumb = math.random(1,2)
  2458.  
  2459. if hitnumb == 1 then
  2460. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2461. end
  2462. if hitnumb == 2 then
  2463. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2464. end
  2465. wait(0.9)
  2466. hdebounce = true
  2467. end
  2468.  
  2469.  
  2470. end
  2471. end
  2472.  
  2473. end)
  2474. GhastAcrossShot4.Touched:connect(function(hit)
  2475. if hit.Parent == workspace.Base then return end
  2476.  
  2477. if hit.Parent == char then return end
  2478.  
  2479. for i,v in pairs(hit.Parent:GetChildren()) do
  2480. if v:IsA("Humanoid") then
  2481. if hdebounce == true then
  2482. hdebounce = false
  2483. for i = 1,20 do
  2484. v.Health = v.Health-2
  2485. wait(0.01)
  2486. end
  2487. local hitnumb = math.random(1,2)
  2488.  
  2489. if hitnumb == 1 then
  2490. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2491. end
  2492. if hitnumb == 2 then
  2493. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2494. end
  2495. wait(0.9)
  2496. hdebounce = true
  2497. end
  2498.  
  2499.  
  2500. end
  2501. end
  2502.  
  2503. end)
  2504. GhastAcrossShot5.Touched:connect(function(hit)
  2505. if hit.Parent == workspace.Base then return end
  2506.  
  2507. if hit.Parent == char then return end
  2508.  
  2509. for i,v in pairs(hit.Parent:GetChildren()) do
  2510. if v:IsA("Humanoid") then
  2511. if hdebounce == true then
  2512. hdebounce = false
  2513. for i = 1,20 do
  2514. v.Health = v.Health-2
  2515. wait(0.01)
  2516. end
  2517. local hitnumb = math.random(1,2)
  2518.  
  2519. if hitnumb == 1 then
  2520. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2521. end
  2522. if hitnumb == 2 then
  2523. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2524. end
  2525. wait(0.9)
  2526. hdebounce = true
  2527. end
  2528.  
  2529.  
  2530. end
  2531. end
  2532.  
  2533. end)
  2534. GhastAcrossShot6.Touched:connect(function(hit)
  2535. if hit.Parent == workspace.Base then return end
  2536.  
  2537. if hit.Parent == char then return end
  2538.  
  2539. for i,v in pairs(hit.Parent:GetChildren()) do
  2540. if v:IsA("Humanoid") then
  2541. if hdebounce == true then
  2542. hdebounce = false
  2543. for i = 1,20 do
  2544. v.Health = v.Health-2
  2545. wait(0.01)
  2546. end
  2547. local hitnumb = math.random(1,2)
  2548.  
  2549. if hitnumb == 1 then
  2550. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2551. end
  2552. if hitnumb == 2 then
  2553. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2554. end
  2555. wait(0.9)
  2556. hdebounce = true
  2557. end
  2558.  
  2559.  
  2560. end
  2561. end
  2562.  
  2563. end)
  2564. wait(0.5)
  2565. for i = 1,20 do
  2566. GhastAcrossShot1.Size = GhastAcrossShot1.Size+v3(0,-1,-1)
  2567. GhastAcrossShot1.CFrame = Blasta1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2568. GhastAcrossShot1.Transparency = GhastAcrossShot1.Transparency+0.1
  2569. GhastAcrossShot2.Size = GhastAcrossShot2.Size+v3(0,-1,-1)
  2570. GhastAcrossShot2.CFrame = Blasta2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2571. GhastAcrossShot2.Transparency = GhastAcrossShot2.Transparency+0.1
  2572. GhastAcrossShot3.Size = GhastAcrossShot3.Size+v3(0,-1,-1)
  2573. GhastAcrossShot3.CFrame = Blasta3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2574. GhastAcrossShot3.Transparency = GhastAcrossShot3.Transparency+0.1
  2575. GhastAcrossShot4.Size = GhastAcrossShot4.Size+v3(0,-1,-1)
  2576. GhastAcrossShot4.CFrame = Blasta4.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2577. GhastAcrossShot4.Transparency = GhastAcrossShot4.Transparency+0.1
  2578.  
  2579. GhastAcrossShot5.Size = GhastAcrossShot5.Size+v3(0,-1,-1)
  2580. GhastAcrossShot5.CFrame = Blasta5.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2581. GhastAcrossShot5.Transparency = GhastAcrossShot5.Transparency+0.1
  2582. GhastAcrossShot6.Size = GhastAcrossShot6.Size+v3(0,-1,-1)
  2583. GhastAcrossShot6.CFrame = Blasta6.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2584. GhastAcrossShot6.Transparency = GhastAcrossShot6.Transparency+0.1
  2585. wait()
  2586. end
  2587. GhastAcrossShot1:Destroy()
  2588. GhastAcrossShot2:Destroy()
  2589. GhastAcrossShot3:Destroy()
  2590. GhastAcrossShot4:Destroy()
  2591. GhastAcrossShot5:Destroy()
  2592. GhastAcrossShot6:Destroy()
  2593. for i = 1,20 do
  2594. Blasta1.Transparency = Blasta1.Transparency+0.1
  2595. Blasta2.Transparency = Blasta2.Transparency+0.1
  2596. Blasta3.Transparency = Blasta3.Transparency+0.1
  2597. Blasta4.Transparency = Blasta4.Transparency+0.1
  2598. Blasta5.Transparency = Blasta5.Transparency+0.1
  2599. Blasta6.Transparency = Blasta6.Transparency+0.1
  2600. wait()
  2601. end
  2602. Blasta1:Destroy()
  2603. Blasta2:Destroy()
  2604. Blasta3:Destroy()
  2605. Blasta4:Destroy()
  2606. Blasta5:Destroy()
  2607. Blasta6:Destroy()
  2608. wait(0.5)
  2609. AheadShotsdebounce = true
  2610. end
  2611. end
  2612. end
  2613. local BlasterRaindebounce = true
  2614.  
  2615. function BlasterRain()
  2616. if equiped == true then
  2617. if BlasterRaindebounce == true then
  2618. BlasterRaindebounce = false
  2619. local RainTarget1 = new("Part",char)
  2620. RainTarget1.BrickColor = bc("White")
  2621. RainTarget1.Shape = "Ball"
  2622. RainTarget1.Material = "Neon"
  2623. RainTarget1.Anchored = true
  2624. RainTarget1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-20)
  2625. RainTarget1.Transparency = 1
  2626. local RainTarget2 = new("Part",char)
  2627. RainTarget2.BrickColor = bc("White")
  2628. RainTarget2.Shape = "Ball"
  2629. RainTarget2.Material = "Neon"
  2630. RainTarget2.Anchored = true
  2631. RainTarget2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-40)
  2632. RainTarget2.Transparency = 1
  2633. local RainTarget3 = new("Part",char)
  2634. RainTarget3.BrickColor = bc("White")
  2635. RainTarget3.Shape = "Ball"
  2636. RainTarget3.Material = "Neon"
  2637. RainTarget3.Anchored = true
  2638. RainTarget3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-60)
  2639. RainTarget3.Transparency = 1
  2640. local RainBlaster1 = new("Part",char)
  2641. RainBlaster1.Size = v3(1,1,1)
  2642. RainBlaster1.CanCollide = false
  2643. RainBlaster1.Name = "RainBlaster1"
  2644. RainBlaster1.Material = "Neon"
  2645. RainBlaster1.BrickColor = bc("White")
  2646. RainBlaster1.Shape = "Ball"
  2647. RainBlaster1.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2648. RainBlaster1.Anchored = false
  2649.  
  2650.  
  2651.  
  2652. local zxc = Instance.new("SpecialMesh",RainBlaster1)
  2653. zxc.MeshType = "FileMesh"
  2654. zxc.Scale = Vector3.new(2,2,2)
  2655. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2656. local RainBlaster3 = new("Part",char)
  2657. RainBlaster3.Size = v3(1,1,1)
  2658. RainBlaster3.CanCollide = false
  2659. RainBlaster3.Name = "RainBlaster3"
  2660. RainBlaster3.Material = "Neon"
  2661. RainBlaster3.BrickColor = bc("White")
  2662. RainBlaster3.Shape = "Ball"
  2663. RainBlaster3.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2664. RainBlaster3.Anchored = false
  2665. local RainBlaster3bg=Instance.new("BodyGyro",RainBlaster3)
  2666. RainBlaster3bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2667. RainBlaster3bg.D=400
  2668.  
  2669. RainBlaster3bp = Instance.new("BodyPosition", RainBlaster3)
  2670.  
  2671.  
  2672. local zxc = Instance.new("SpecialMesh",RainBlaster3)
  2673. zxc.MeshType = "FileMesh"
  2674. zxc.Scale = Vector3.new(2,2,2)
  2675. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2676. local RainBlaster1bg=Instance.new("BodyGyro",RainBlaster1)
  2677. RainBlaster1bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2678. RainBlaster1bg.D=400
  2679.  
  2680. RainBlaster1bp = Instance.new("BodyPosition", RainBlaster1)
  2681.  
  2682. local RainBlaster2 = new("Part",char)
  2683. RainBlaster2.Size = v3(1,1,1)
  2684. RainBlaster2.CanCollide = false
  2685. RainBlaster2.Name = "RainBlaster1"
  2686. RainBlaster2.Material = "Neon"
  2687. RainBlaster2.BrickColor = bc("White")
  2688. RainBlaster2.Shape = "Ball"
  2689. RainBlaster2.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2690. RainBlaster2.Anchored = false
  2691.  
  2692.  
  2693.  
  2694. local zxc = Instance.new("SpecialMesh",RainBlaster2)
  2695. zxc.MeshType = "FileMesh"
  2696. zxc.Scale = Vector3.new(2,2,2)
  2697. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2698.  
  2699. local RainBlaster2bg=Instance.new("BodyGyro",RainBlaster2)
  2700. RainBlaster2bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2701. RainBlaster2bg.D=400
  2702.  
  2703. RainBlaster2bp = Instance.new("BodyPosition", RainBlaster2)
  2704.  
  2705.  
  2706. for i = 1,60 do
  2707. RainBlaster1bp.Position=(RainTarget1.CFrame*CFrame.new(0,20,0)).p
  2708. RainBlaster1bg.CFrame=CFrame.new(RainBlaster1.Position,RainTarget1.Position)
  2709.  
  2710. RainBlaster3bp.Position=(RainTarget3.CFrame*CFrame.new(0,20,0)).p
  2711. RainBlaster3bg.CFrame=CFrame.new(RainBlaster3.Position,RainTarget3.Position)
  2712.  
  2713. RainBlaster2bp.Position=(RainTarget2.CFrame*CFrame.new(0,20,0)).p
  2714. RainBlaster2bg.CFrame=CFrame.new(RainBlaster2.Position,RainTarget2.Position)
  2715. wait()
  2716. end
  2717. shootsnd:Play()
  2718. local RainBlasterShot1 = new("Part",RainBlaster1)
  2719. RainBlasterShot1.Shape = "Cylinder"
  2720. RainBlasterShot1.Size = v3(100,5,5)
  2721. RainBlasterShot1.BrickColor = bc("Bright red")
  2722. RainBlasterShot1.Material = "Neon"
  2723. RainBlasterShot1.CanCollide = false
  2724. RainBlasterShot1.Anchored = true
  2725. RainBlasterShot1.CFrame = RainBlaster1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2726.  
  2727. local RainBlasterShot2 = new("Part",RainBlaster2)
  2728. RainBlasterShot2.Shape = "Cylinder"
  2729. RainBlasterShot2.Size = v3(100,5,5)
  2730. RainBlasterShot2.BrickColor = bc("Bright red")
  2731. RainBlasterShot2.Material = "Neon"
  2732. RainBlasterShot2.CanCollide = false
  2733. RainBlasterShot2.Anchored = true
  2734. RainBlasterShot2.CFrame = RainBlaster2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2735. local RainBlasterShot3 = new("Part",RainBlaster2)
  2736. RainBlasterShot3.Shape = "Cylinder"
  2737. RainBlasterShot3.Size = v3(100,5,5)
  2738. RainBlasterShot3.BrickColor = bc("Bright red")
  2739. RainBlasterShot3.Material = "Neon"
  2740. RainBlasterShot3.CanCollide = false
  2741. RainBlasterShot3.Anchored = true
  2742. RainBlasterShot3.CFrame = RainBlaster3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2743. RainBlasterShot1.Touched:connect(function(hit)
  2744. if hit.Parent == workspace.Base then return end
  2745.  
  2746. if hit.Parent == char then return end
  2747.  
  2748. for i,v in pairs(hit.Parent:GetChildren()) do
  2749. if v:IsA("Humanoid") then
  2750. if hdebounce == true then
  2751. hdebounce = false
  2752. for i = 1,20 do
  2753. v.Health = v.Health-2
  2754. wait(0.01)
  2755. end
  2756. local hitnumb = math.random(1,2)
  2757.  
  2758. if hitnumb == 1 then
  2759. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2760. end
  2761. if hitnumb == 2 then
  2762. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2763. end
  2764. wait(0.9)
  2765. hdebounce = true
  2766. end
  2767.  
  2768.  
  2769. end
  2770. end
  2771.  
  2772. end)
  2773. RainBlasterShot2.Touched:connect(function(hit)
  2774. if hit.Parent == workspace.Base then return end
  2775.  
  2776. if hit.Parent == char then return end
  2777.  
  2778. for i,v in pairs(hit.Parent:GetChildren()) do
  2779. if v:IsA("Humanoid") then
  2780. if hdebounce == true then
  2781. hdebounce = false
  2782. for i = 1,20 do
  2783. v.Health = v.Health-2
  2784. wait(0.01)
  2785. end
  2786. local hitnumb = math.random(1,2)
  2787.  
  2788. if hitnumb == 1 then
  2789. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2790. end
  2791. if hitnumb == 2 then
  2792. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2793. end
  2794. wait(0.9)
  2795. hdebounce = true
  2796. end
  2797.  
  2798.  
  2799. end
  2800. end
  2801.  
  2802. end)
  2803.  
  2804. wait(0.5)
  2805. for i = 1,20 do
  2806. wait()
  2807. RainBlasterShot1.Size = RainBlasterShot1.Size+v3(0,-1,-1)
  2808. RainBlasterShot1.CFrame = RainBlaster1.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2809. RainBlasterShot1.Transparency = RainBlasterShot1.Transparency+0.1
  2810.  
  2811. RainBlasterShot2.Size = RainBlasterShot2.Size+v3(0,-1,-1)
  2812. RainBlasterShot2.CFrame = RainBlaster2.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2813. RainBlasterShot2.Transparency = RainBlasterShot2.Transparency+0.1
  2814.  
  2815. RainBlasterShot3.Size = RainBlasterShot3.Size+v3(0,-1,-1)
  2816. RainBlasterShot3.CFrame = RainBlaster3.CFrame*CFrame.new(0,0,-50)*CFrame.Angles(0,rad(90),0)
  2817. RainBlasterShot3.Transparency = RainBlasterShot3.Transparency+0.1
  2818.  
  2819. end
  2820. for i = 1,20 do
  2821. RainBlaster1.Transparency = RainBlaster1.Transparency+0.1
  2822. RainBlaster2.Transparency = RainBlaster2.Transparency+0.1
  2823. RainBlaster3.Transparency = RainBlaster3.Transparency+0.1
  2824. wait()
  2825. end
  2826. RainBlaster1:Destroy()
  2827. RainBlaster2:Destroy()
  2828. RainBlaster3:Destroy()
  2829. RainBlasterShot1:Destroy()
  2830. RainBlasterShot2:Destroy()
  2831. wait(0.5)
  2832. BlasterRaindebounce = true
  2833. end
  2834. end
  2835. end
  2836. local grabing = false
  2837.  
  2838. function grab()
  2839.  
  2840.  
  2841. local hit = mouse.Target
  2842. if hit.Parent == char then return end
  2843. for i,v in pairs(hit.Parent:GetChildren()) do
  2844. if v:IsA("Humanoid") then
  2845. v.Health = v.Health-50
  2846. local bodyp=Instance.new("BodyPosition",hit.Parent.HumanoidRootPart)
  2847. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  2848. bodyp.Position=(hit.Parent.HumanoidRootPart.CFrame*CFrame.new(-15,0,0)).p
  2849. wait(0.6)
  2850. bodyp:destroy()
  2851. end
  2852. end
  2853.  
  2854.  
  2855.  
  2856.  
  2857. end
  2858. function GiantBlast3r()
  2859. if equiped == true then
  2860. if debounce == true then
  2861. debounce = false
  2862. local GiantBlaster = new("Part",char)
  2863. GiantBlaster.Name = "GiantBlaster"
  2864. GiantBlaster.CanCollide = false
  2865. GiantBlaster.Anchored = false
  2866. GiantBlaster.BrickColor = bc("White")
  2867. GiantBlaster.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(10,0,0)
  2868. GiantBlaster.Transparency = 1
  2869. local zxc = Instance.new("SpecialMesh",GiantBlaster)
  2870. zxc.MeshType = "FileMesh"
  2871. zxc.Scale = Vector3.new(6,6,6)
  2872. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2873. local GiantBlasterbg=Instance.new("BodyGyro",GiantBlaster)
  2874. GiantBlasterbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2875. GiantBlasterbg.D=400
  2876.  
  2877. GiantBlasterbp = Instance.new("BodyPosition", GiantBlaster)
  2878. for i = 1,50 do
  2879. GiantBlasterbg.CFrame=CFrame.new(GiantBlaster.Position,mouse.Hit.p)
  2880. GiantBlasterbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(0,30,0)).p
  2881. GiantBlaster.Transparency = GiantBlaster.Transparency -0.1
  2882. wait()
  2883. end
  2884. local GhastShot1 = new("Part",GiantBlaster)
  2885. GhastShot1.Shape = "Cylinder"
  2886. GhastShot1.Size = v3(400,10,10)
  2887. GhastShot1.BrickColor = bc("Bright red")
  2888. GhastShot1.Material = "Neon"
  2889. GhastShot1.CanCollide = false
  2890. GhastShot1.Anchored = true
  2891. GhastShot1.CFrame = GiantBlaster.CFrame*CFrame.new(0,0,-200)*CFrame.Angles(0,rad(90),0)
  2892. GhastShot1.Touched:connect(function(hit)
  2893.  
  2894.  
  2895. if hit.Parent == char then return end
  2896. if hit.Parent == workspace.Base then return end
  2897. for i,v in pairs(hit.Parent:GetChildren()) do
  2898. if v:IsA("Humanoid") then
  2899. if hdebounce == true then
  2900. hdebounce = false
  2901. local hitnumb2 = math.random(1,2)
  2902. for i = 1,20 do
  2903. v.Health = v.Health-20
  2904. wait(0.01)
  2905. end
  2906. if hitnumb == 1 then
  2907. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2908. end
  2909. if hitnumb == 2 then
  2910. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2911. end
  2912. wait(0.9)
  2913. hdebounce = true
  2914. end
  2915.  
  2916.  
  2917. end
  2918. end
  2919.  
  2920. end)
  2921. shootsnd:Play()
  2922. wait(0.5)
  2923.  
  2924. for i = 1,10 do
  2925. GhastShot1.Size = GhastShot1.Size+v3(0,-1,-1)
  2926. GhastShot1.CFrame = GiantBlaster.CFrame*CFrame.new(0,0,-200)*CFrame.Angles(0,rad(90),0)
  2927. GhastShot1.Transparency = GhastShot1.Transparency+0.1
  2928. wait()
  2929. end
  2930. GhastShot1:Destroy()
  2931. debounce = true
  2932.  
  2933. for i = 1,50 do
  2934. GiantBlaster.Transparency = GiantBlaster.Transparency+0.1
  2935. wait()
  2936. end
  2937.  
  2938. GiantBlaster:Destroy()
  2939. end
  2940. end
  2941. end
  2942. mouse.KeyDown:connect(function(k)
  2943. if k == "h" then
  2944. GiantBlast3r()
  2945. end
  2946. end)
  2947. mouse.KeyDown:connect(function(k)
  2948. if k == "e" then
  2949. AheadShots()
  2950. end
  2951. end)
  2952. mouse.KeyDown:connect(function(k)
  2953. if k == "y" then
  2954. grab()
  2955. end
  2956. end)
  2957. mouse.KeyDown:connect(function(k)
  2958. if k == "g" then
  2959. BlasterRain()
  2960. end
  2961. end)
  2962. mouse.KeyDown:connect(function(k)
  2963. if k == "t" then
  2964. Bones()
  2965. end
  2966. end)
  2967. mouse.KeyDown:connect(function(k)
  2968. if k == "z" then
  2969. DodgeLeft()
  2970. end
  2971. end)
  2972. mouse.KeyDown:connect(function(k)
  2973. if k == "q" then
  2974. octo()
  2975. end
  2976. end)
  2977. mouse.KeyDown:connect(function(k)
  2978. if k == "x" then
  2979. RightDodge()
  2980. end
  2981. end)
  2982.  
  2983. mouse.KeyDown:connect(function(k)
  2984. if k == "c" then
  2985. equip()
  2986. end
  2987. end)
  2988. mouse.KeyDown:connect(function(k)
  2989. if k == "f" then
  2990. mount()
  2991. end
  2992. end)
  2993. mouse.KeyDown:connect(function(k)
  2994. if k == "r" then
  2995. cross()
  2996. end
  2997. end)
  2998. p.Character.Humanoid.Died:connect(function()
  2999. local jkl = Instance.new("Sound",Workspace)
  3000. jkl.SoundId = "rbxassetid://427025525"
  3001. jkl.Volume = 10
  3002. jkl:Play()
  3003.  
  3004. for _, V in pairs(char:getChildren()) do
  3005. if V:isA("BasePart") then
  3006. V.Transparency = 1
  3007. elseif V:IsA("Accessory") and V:FindFirstChild("Handle") then
  3008. V.Handle.Transparency = 1
  3009. end
  3010. end
  3011. char.Head.face:destroy()
  3012. for i = 1,50 do
  3013. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency+0.1
  3014. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency+0.1
  3015.  
  3016. dust = Instance.new("Part")
  3017. dust.Locked = true
  3018. dust.Size = Vector3.new(0.1,0.1,0.1)
  3019. dust.BrickColor = BrickColor.new("Bright red")
  3020. dust.Transparency = 0
  3021. dust.TopSurface = "Smooth"
  3022. dust.BottomSurface = "Smooth"
  3023. dust.CFrame = char.HumanoidRootPart.CFrame
  3024. dust.CanCollide = true
  3025. dust.Reflectance = 0.1
  3026. dust.Material = "Neon"
  3027. dust.Parent = char
  3028. dust.Anchored = false
  3029. end
  3030. end)
  3031.  
  3032.  
  3033.  
  3034.  
  3035. DayNightCycle = true --[1] Cycles through day and night.
  3036.  
  3037. DynamicLighting = true --[2] Give your game a dynamic look?
  3038. SimulatedShadows = true --[3] Make the shadows stand out. (Enable [2] for this to work)
  3039.  
  3040. DarkAmbient = true --[4] Gives your game darkness, great for zombie games.
  3041. AmbientBrightness = 55 --[5] Number Must between 0 to 255. (Enable [2] and [4] for this to work)
  3042.  
  3043. Fog = true --[6] Give your game foggy look.
  3044. FogDistance = 1500 --[7] How far will the fog be away from you. (Enable [6] for this to work)
  3045. ---------------------------------------------------------------------------------------------------------------
  3046.  
  3047. if Fog then
  3048. game:GetService("Lighting").FogEnd = FogDistance
  3049. end
  3050.  
  3051. if DarkAmbient and DynamicLighting then
  3052. game:GetService("Lighting").OutdoorAmbient = Color3.new(AmbientBrightness/255, AmbientBrightness/255, AmbientBrightness/255)
  3053. end
  3054.  
  3055. if DynamicLighting then
  3056. game:GetService("Lighting").GlobalShadows = true
  3057. if SimulatedShadows then
  3058. game:GetService("Lighting").Brightness = 1.5
  3059. game:GetService("Lighting").Ambient = Color3.new(0/255, 0/255, 0/255)
  3060. game:GetService("Lighting").ShadowColor = Color3.new(61/255, 61/255, 61/255)
  3061. end
  3062. end
  3063. --[[
  3064. [Head/Waist Follow Mouse/Camera Script.]
  3065. [Works with both R6 and R15, lets you turn your character's head and waist towards your mouse/camera.]
  3066. [Scripted by (Unknown), upgraded by OhHeyItsCory.]
  3067. [I'm not sure who made the original script and the person I found it from definitely didn't make it.]
  3068. [If you find the original creator, please let me know so I can properly credit them <3]
  3069. [Anyways, here's a list of what I've added.]
  3070. [Waist rotation. (Previously, only the head turned.)]
  3071. [Tweening. (Basically, animating the rotation instead of instantly turning.)]
  3072. [Full body rotation. (If set to true, rotates the entire body towards the mouse.)]
  3073. [Specific rotation limits. (The original script used one variable to set the limits of both horizontal and vertical rotation, now there's variables for both limits!)]
  3074. --]]
  3075.  
  3076. wait()
  3077.  
  3078. --[Pre-Funcs]:
  3079.  
  3080. local Ang = CFrame.Angles --[Storing these as variables so I dont have to type them out.]
  3081. local aSin = math.asin
  3082. local aTan = math.atan
  3083.  
  3084. --[Constants]:
  3085.  
  3086. local Cam = game.Workspace.CurrentCamera
  3087.  
  3088. local Plr = game.Players.LocalPlayer
  3089. local Mouse = Plr:GetMouse()
  3090. local Body = Plr.Character or Plr.CharacterAdded:wait()
  3091. local Head = Body:WaitForChild("Head")
  3092. local Hum = Body:WaitForChild("Humanoid")
  3093. local Core = Body:WaitForChild("HumanoidRootPart")
  3094. local IsR6 = (Hum.RigType.Value==0) --[Checking if the player is using R15 or R6.]
  3095. local Trso = (IsR6 and Body:WaitForChild("Torso")) or Body:WaitForChild("UpperTorso")
  3096. local Neck = (IsR6 and Trso:WaitForChild("Neck")) or Head:WaitForChild("Neck") --[Once we know the Rig, we know what to find.]
  3097. local Waist = (not IsR6 and Trso:WaitForChild("Waist")) --[R6 doesn't have a waist joint, unfortunately.]
  3098.  
  3099. --[[
  3100. [Whether rotation follows the camera or the mouse.]
  3101. [Useful with tools if true, but camera tracking runs smoother.]
  3102. --]]
  3103. local MseGuide = false
  3104. --[[
  3105. [Whether the whole character turns to face the mouse.]
  3106. [If set to true, MseGuide will be set to true and both HeadHorFactor and BodyHorFactor will be set to 0]
  3107. --]]
  3108. local TurnCharacterToMouse = false
  3109. --[[
  3110. [Horizontal and Vertical limits for head and body tracking.]
  3111. [Setting to 0 negates tracking, setting to 1 is normal tracking, and setting to anything higher than 1 goes past real life head/body rotation capabilities.]
  3112. --]]
  3113. local HeadHorFactor = 1
  3114. local HeadVertFactor = 0.6
  3115. local BodyHorFactor = 0.5
  3116. local BodyVertFactor = 0.4
  3117.  
  3118. --[[
  3119. [How fast the body rotates.]
  3120. [Setting to 0 negates tracking, and setting to 1 is instant rotation. 0.5 is a nice in-between that works with MseGuide on or off.]
  3121. [Setting this any higher than 1 causes weird glitchy shaking occasionally.]
  3122. --]]
  3123. local UpdateSpeed = 0.5
  3124.  
  3125. local NeckOrgnC0 = Neck.C0 --[Get the base C0 to manipulate off of.]
  3126. local WaistOrgnC0 = (not IsR6 and Waist.C0) --[Get the base C0 to manipulate off of.]
  3127.  
  3128. --[Setup]:
  3129.  
  3130. Neck.MaxVelocity = 1/3
  3131.  
  3132. -- Activation]:
  3133. if TurnCharacterToMouse == true then
  3134. MseGuide = true
  3135. HeadHorFactor = 0
  3136. BodyHorFactor = 0
  3137. end
  3138.  
  3139. game:GetService("RunService").RenderStepped:Connect(function()
  3140. local CamCF = Cam.CoordinateFrame
  3141. if ((IsR6 and Body["Torso"]) or Body["UpperTorso"])~=nil and Body["Head"]~=nil then --[Check for the Torso and Head...]
  3142. local TrsoLV = Trso.CFrame.lookVector
  3143. local HdPos = Head.CFrame.p
  3144. if IsR6 and Neck or Neck and Waist then --[Make sure the Neck still exists.]
  3145. if Cam.CameraSubject:IsDescendantOf(Body) or Cam.CameraSubject:IsDescendantOf(Plr) then
  3146. local Dist = nil;
  3147. local Diff = nil;
  3148. if not MseGuide then --[If not tracking the Mouse then get the Camera.]
  3149. Dist = (Head.CFrame.p-CamCF.p).magnitude
  3150. Diff = Head.CFrame.Y-CamCF.Y
  3151. if not IsR6 then --[R6 and R15 Neck rotation C0s are different; R15: X axis inverted and Z is now the Y.]
  3152. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aSin(Diff/Dist)*HeadVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  3153. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang((aSin(Diff/Dist)*BodyVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  3154. else --[R15s actually have the properly oriented Neck CFrame.]
  3155. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aSin(Diff/Dist)*HeadVertFactor), 0, -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor),UpdateSpeed/2)
  3156. end
  3157. else
  3158. local Point = Mouse.Hit.p
  3159. Dist = (Head.CFrame.p-Point).magnitude
  3160. Diff = Head.CFrame.Y-Point.Y
  3161. if not IsR6 then
  3162. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aTan(Diff/Dist)*HeadVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  3163. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang(-(aTan(Diff/Dist)*BodyVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  3164. else
  3165. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aTan(Diff/Dist)*HeadVertFactor), 0, (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor), UpdateSpeed/2)
  3166. end
  3167. end
  3168. end
  3169. end
  3170. end
  3171. if TurnCharacterToMouse == true then
  3172. Hum.AutoRotate = false
  3173. Core.CFrame = Core.CFrame:lerp(CFrame.new(Core.Position, Vector3.new(Mouse.Hit.p.x, Core.Position.Y, Mouse.Hit.p.z)), UpdateSpeed / 2)
  3174. else
  3175. Hum.AutoRotate = true
  3176. end
  3177. end)
  3178.  
  3179. local p = game:GetService("Players").LocalPlayer
  3180. local char = p.Character
  3181. local mouse = p:GetMouse()
  3182. local forceup = false
  3183. local forcedown = false
  3184. local forceright = false
  3185. local forceleft = false
  3186. function up()
  3187. local Hit = mouse.Target
  3188. if mouse ~= nil then
  3189. if mouse.Target ~= nil then
  3190. for _, v in pairs(Hit.Parent:children()) do
  3191. if v:IsA("Humanoid") then
  3192. if forceup == false then
  3193. forceup = true
  3194. local bodyp=Instance.new("BodyPosition",Hit.Parent.HumanoidRootPart)
  3195. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  3196. bodyp.Position=(Hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,10,0)).p
  3197.  
  3198. end
  3199. end
  3200. end
  3201. end
  3202. end
  3203. end
  3204. function UpRelease()
  3205. if forceup == true then
  3206. forceup = false
  3207. bodyp:destroy()
  3208. end
  3209. end
  3210. function down()
  3211. local Hit = mouse.Target
  3212. if mouse ~= nil then
  3213. if mouse.Target ~= nil then
  3214. for _, v in pairs(Hit.Parent:children()) do
  3215. if v:IsA("Humanoid") then
  3216. if forcedown == false then
  3217. forcedown = true
  3218. local bodyp=Instance.new("BodyPosition",Hit.Parent.HumanoidRootPart)
  3219. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  3220. bodyp.Position=(Hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,-10,0)).p
  3221.  
  3222. end
  3223. end
  3224. end
  3225. end
  3226. end
  3227. end
  3228. function downRelease()
  3229. if forcedown == true then
  3230. forcedown = false
  3231. bodyp:destroy()
  3232. end
  3233. end
  3234. function left()
  3235. local Hit = mouse.Target
  3236. if mouse ~= nil then
  3237. if mouse.Target ~= nil then
  3238. for _, v in pairs(Hit.Parent:children()) do
  3239. if v:IsA("Humanoid") then
  3240. if forceleft == false then
  3241. forceleft = true
  3242. local bodyp=Instance.new("BodyPosition",Hit.Parent.HumanoidRootPart)
  3243. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  3244. bodyp.Position=(Hit.Parent.HumanoidRootPart.CFrame*CFrame.new(-15,0,0)).p
  3245.  
  3246. end
  3247. end
  3248. end
  3249. end
  3250. end
  3251. end
  3252. function leftRelease()
  3253. if forceleft == true then
  3254. forceleft = false
  3255.  
  3256. bodyp:destroy()
  3257. end
  3258. end
  3259. function right()
  3260. local Hit = mouse.Target
  3261. if mouse ~= nil then
  3262. if mouse.Target ~= nil then
  3263. for _, v in pairs(Hit.Parent:children()) do
  3264. if v:IsA("Humanoid") then
  3265. if forceright == false then
  3266. forceright = true
  3267. local bodyp=Instance.new("BodyPosition",Hit.Parent.HumanoidRootPart)
  3268. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  3269. bodyp.Position=(Hit.Parent.HumanoidRootPart.CFrame*CFrame.new(15,0,0)).p
  3270.  
  3271. end
  3272. end
  3273. end
  3274. end
  3275. end
  3276. end
  3277. function rightRelease()
  3278. if forceright == true then
  3279. forceright = false
  3280.  
  3281. bodyp:destroy()
  3282. end
  3283. end
  3284.  
  3285. mouse.KeyDown:connect(function(k)
  3286. if k == "i" then
  3287. up()
  3288. end
  3289. end)
  3290. mouse.KeyUp:connect(function(k)
  3291. if k == "i" then
  3292. UpRelease()
  3293. end
  3294. end)
  3295. mouse.KeyDown:connect(function(k)
  3296. if k == "k" then
  3297. down()
  3298. end
  3299. end)
  3300. mouse.KeyUp:connect(function(k)
  3301. if k == "k" then
  3302. downRelease()
  3303. end
  3304. end)
  3305. mouse.KeyDown:connect(function(k)
  3306. if k == "l" then
  3307. left()
  3308. end
  3309. end)
  3310. mouse.KeyUp:connect(function(k)
  3311. if k =="l" then
  3312. leftRelease()
  3313. end
  3314. end)
  3315. mouse.KeyDown:connect(function(k)
  3316. if k == "j" then
  3317. right()
  3318. end
  3319. end)
  3320. mouse.KeyUp:connect(function(k)
  3321. if k == "j" then
  3322. rightRelease()
  3323. end
  3324. end)
  3325. end)
  3326. end))
  3327. TextButton11.Name = "PlaceHolder"
  3328. TextButton11.Parent = Frame1
  3329. TextButton11.Transparency = 0.5
  3330. TextButton11.Size = UDim2.new(0, 100, 0, 30)
  3331. TextButton11.Text = "Omega's_God"
  3332. TextButton11.Position = UDim2.new(0.399999917, -107, 0.100000024, 75)
  3333. TextButton11.BackgroundColor3 = Color3.new(1, 1, 1)
  3334. TextButton11.BackgroundTransparency = 0.5
  3335. TextButton11.BorderSizePixel = 0
  3336. TextButton11.Font = Enum.Font.SourceSansBold
  3337. TextButton11.FontSize = Enum.FontSize.Size14
  3338. TextButton11.TextColor3 = Color3.new(0, 0, 0)
  3339. TextButton11.TextTransparency = 0.5
  3340. TextButton11.TextWrapped = true
  3341. Frame12.Name = "styleLine"
  3342. Frame12.Parent = TextButton11
  3343. Frame12.Size = UDim2.new(0, 5, 1, 0)
  3344. Frame12.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  3345. Frame12.BorderSizePixel = 0
  3346. Script13.Parent = TextButton11
  3347. table.insert(cors,sandbox(Script13,function()
  3348. local plrgui = script.Parent.Parent.Parent.Parent
  3349. local plr = plrgui.Parent
  3350.  
  3351. script.Parent.MouseButton1Down:connect(function()
  3352. local id = 471974203
  3353. local p = game.Players.LocalPlayer
  3354.  
  3355. local plr = game.Players.LocalPlayer
  3356. local chr = plr.Character
  3357. local maus = plr:GetMouse()
  3358. local PGui=plr.PlayerGui
  3359. local lleg = chr["Left Leg"]
  3360. local rleg = chr["Right Leg"]
  3361. local larm = chr["Left Arm"]
  3362. local rarm = chr["Right Arm"]
  3363. local hed = chr.Head
  3364. local rutprt = chr.HumanoidRootPart
  3365. local torso = chr.Torso
  3366. local otheranims=false
  3367. local swimming=false
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373. ---//*DEBOUNCES
  3374. canChangeFromC = true
  3375. canChangeFromA = true
  3376. canChangeFromCF = true
  3377. canChangeFromSF = true
  3378. canChangeFromPT = true
  3379. canChangeFromGT = true
  3380. canChangeFromUT = true
  3381. ----
  3382. canChangeFromMT = true
  3383. ----*\\
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393. ---//*AUDIO FOR MODES
  3394. ---
  3395. dorado = Instance.new("Sound",chr) ---casualFighting
  3396. dorado.SoundId = "rbxassetid://188095869"
  3397. dorado.Volume = 2
  3398. dorado.Looped = true
  3399. ---
  3400. marxA = Instance.new("Sound",chr) ---Annoyed
  3401. marxA.SoundId = "rbxassetid://464032364"
  3402. marxA.Pitch = 0.5
  3403. marxA.Volume = 2
  3404. marxA.Looped = true
  3405. ---
  3406. ----*\\
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413. --//*Instances
  3414. AAura = Instance.new("ParticleEmitter")
  3415. CFAura1 = Instance.new("ParticleEmitter")
  3416. CFAura2 = Instance.new("ParticleEmitter")
  3417. RuneP = Instance.new("Part",chr.Torso)
  3418. RuneP.Parent = nil
  3419. annoyedPOWERUP = Instance.new("Sound")
  3420. casualFightingPOWERUP = Instance.new("Sound")
  3421. ShieldP = Instance.new("Part")
  3422. ShieldP.Parent = nil
  3423. local ShieldM = Instance.new("SpecialMesh")
  3424. ShieldHolder = Instance.new("Model",chr)
  3425. RShieldP = Instance.new("Part")
  3426. RShieldP.Parent = nil
  3427. ---*\\
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433. --//*MODES (in order of magnitude)
  3434. local calm = true --default
  3435. local annoyed = false
  3436. local casualFighting = false
  3437. local seriousFighting = false
  3438. local planetaryThreat = false
  3439. local galacticThreat = false
  3440. local universalThreat = false
  3441. ----
  3442. local multiversalThreat = false
  3443. -----*\\
  3444. chr.Animate.Disabled=true
  3445. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  3446. local RunSpeed=30
  3447.  
  3448. local WlkSpeed=16
  3449. local SwimSpeed=14
  3450. local SwimDashSpeed=28
  3451. local anim = "Idling"
  3452. local lastanim = "Idling"
  3453. local val = 0
  3454. local syne = 0
  3455. local num = 0
  3456. local runtime = 0
  3457. local pseudohead=hed:Clone()
  3458. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  3459. pseudohead.Name='PseudoHead'
  3460. pseudohead.Parent=chr.Head
  3461. local pseudoweld=Instance.new('Weld',torso)
  3462. pseudoweld.Part0=hed
  3463. pseudoweld.Name='PseudoHedWld'
  3464. pseudoweld.Part1=pseudohead
  3465. hed.Transparency=1
  3466. coroutine.wrap(function()
  3467. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  3468. function Lerp(a, b, i)
  3469. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  3470. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  3471. local calx = com1[1] + (com2[1] - com1[1]) * i
  3472. local caly = com1[2] + (com2[2] - com1[2]) * i
  3473. local calz = com1[3] + (com2[3] - com1[3]) * i
  3474. local cala = com1[4] + (com2[4] - com1[4]) * i
  3475. local calb = com1[5] + (com2[5] - com1[5]) * i
  3476. local calc = com1[6] + (com2[6] - com1[6]) * i
  3477. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  3478. end
  3479. function TwnSingleNumber(s,f,m)
  3480. local wot=s+(f-s)*m
  3481. return wot
  3482. end
  3483. function TwnVector3(q,w,e)
  3484. local begin={q.x,q.y,q.z}
  3485. local ending={w.x,w.y,w.z}
  3486. local bgx=begin[1]+(ending[1]-begin[1])*e
  3487. local bgy=begin[2]+(ending[2]-begin[2])*e
  3488. local bgz=begin[3]+(ending[3]-begin[3])*e
  3489. return Vector3.new(bgx,bgy,bgz)
  3490. end
  3491. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  3492. wld = Instance.new("Weld", wp1)
  3493. wld.Part0 = wp0
  3494. wld.Part1 = wp1
  3495. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  3496. end
  3497. local angles = CFrame.Angles
  3498. function clerp(a, b, t)
  3499. return a:lerp(b, t)
  3500. end
  3501. newWeld(law, torso, larm, -1.5, 0.5, 0)
  3502. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  3503. newWeld(llw, torso, lleg, -.5, -2, 0)
  3504. newWeld(rlw, torso, rleg, .5, -2, 0)
  3505. newWeld(hw, torso, hed, 0, 1.5, 0)
  3506. local rutwald=Instance.new('Weld',rutprt)
  3507. rutwald.Part0=rutprt
  3508. rutwald.Part1=torso
  3509. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  3510. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  3511. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  3512. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  3513. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  3514.  
  3515.  
  3516.  
  3517. --Rage modes (maybe)
  3518. casualR=false
  3519. annoyedR=false
  3520. casualFightingR=false
  3521. seriousFightingR=false
  3522. planetaryThreatR=false
  3523. galacticThreatR=false
  3524. universalThreatR=false
  3525. miltiversalThreatR=false
  3526. -----
  3527.  
  3528.  
  3529.  
  3530.  
  3531. maus.KeyDown:connect(function(kei)
  3532. if kei == "1" then
  3533. if canChangeFromC == true then
  3534. canChangeFromC = false
  3535. calm = true -- active mode
  3536. annoyed = false
  3537. casualFighting = false
  3538. seriousFighting = false
  3539. planetaryThreat = false
  3540. galacticThreat = false
  3541. universalThreat = false
  3542. multiversalThreat = false
  3543. dorado:Stop()
  3544. marxA:Stop()
  3545. ---------EFFECTS
  3546. CFAura1.Parent = nil
  3547. CFAura2.Parent = nil
  3548. AAura.Parent = nil
  3549. ---------
  3550. ---------DEBOUNCE ENABLE
  3551. wait(1)
  3552. canChangeFromCF = true
  3553. canChangeFromA = true
  3554. canChangeFromSF = true
  3555. canChangeFromPT = true
  3556. canChangeFromGT = true
  3557. canChangeFromUT = true
  3558. ----
  3559. canChangeFromMT = true
  3560. ---------
  3561. end
  3562. end
  3563. end)
  3564. maus.KeyDown:connect(function(kei)
  3565. if kei == "2" then
  3566. if canChangeFromA == true then
  3567. canChangeFromA = false
  3568. calm = false
  3569. annoyed = true --active mode
  3570. casualFighting = false
  3571. seriousFighting = false
  3572. planetaryThreat = false
  3573. galacticThreat = false
  3574. universalThreat = false
  3575. multiversalThreat = false
  3576. dorado:Stop()
  3577. marxA:Play()
  3578.  
  3579. ---------EFFECTS
  3580. CFAura1.Parent = nil
  3581. CFAura2.Parent = nil
  3582. AAura.Parent = chr.Torso
  3583. annoyedPOWERUP.Parent = chr.Torso
  3584. annoyedPOWERUP.Volume = 3
  3585. annoyedPOWERUP.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  3586. annoyedPOWERUP:Play()
  3587.  
  3588. AAura.Texture = "rbxassetid://347730682"
  3589. local color1 = Color3.new(127,0,0)
  3590. local color2 = Color3.new(127,0,0)
  3591. AAura.Color = ColorSequence.new(color1,color2)
  3592. AAura.Size = NumberSequence.new(6,6,6,6,6,6)
  3593. AAura.Lifetime = NumberRange.new(0.3,0.3,0.3,0.3,0.3)
  3594. AAura.Rate = 20
  3595. AAura.Transparency = NumberSequence.new(0.6,0.6,0.6,0.6,0.6,0.6)
  3596. AAura.Speed = NumberRange.new(10,10,10,10,10,10)
  3597. AAura.LockedToPart = true
  3598. AExplodeP = Instance.new("Part",chr)
  3599. AExplodeP.Anchored = true
  3600. AExplodeP.TopSurface = 0
  3601. AExplodeP.Material = "Neon"
  3602. AExplodeP.BottomSurface = 0
  3603. AExplodeP.CanCollide = false
  3604. AExplodeP.CFrame = chr.Torso.CFrame
  3605. AExplodeP.BrickColor = BrickColor.new("Really red")
  3606. AExplodeP.Size = Vector3.new(1,1,1)
  3607. AExplodeM = Instance.new("SpecialMesh",AExplodeP)
  3608. AExplodeM.MeshType = "Sphere"
  3609.  
  3610.  
  3611. AExplodeP2 = Instance.new("Part",chr)
  3612. AExplodeP2.Anchored = true
  3613. AExplodeP2.TopSurface = 0
  3614. AExplodeP2.Material = "Neon"
  3615. AExplodeP2.BottomSurface = 0
  3616. AExplodeP2.CanCollide = false
  3617. AExplodeP2.CFrame = chr.Torso.CFrame
  3618. AExplodeP2.BrickColor = BrickColor.new("Really red")
  3619. AExplodeP2.Size = Vector3.new(1,1,1)
  3620. AExplodeM2 = Instance.new("FileMesh",AExplodeP2)
  3621. AExplodeM2.MeshId = "rbxassetid://20329976"
  3622. for i = 1,50,2 do wait()
  3623. AExplodeM.Scale = Vector3.new(i,i,i)
  3624. AExplodeP.Transparency = i/50
  3625. AExplodeM2.Scale = Vector3.new(i,i-30,i)
  3626. AExplodeP2.Transparency = i/50
  3627. end
  3628. AExplodeP:Remove()
  3629. AExplodeP2:Remove()
  3630. ---------
  3631. ---------DEBOUNCE ENABLE
  3632. wait(1)
  3633. canChangeFromCF = true
  3634. canChangeFromC = true
  3635. canChangeFromSF = true
  3636. canChangeFromPT = true
  3637. canChangeFromGT = true
  3638. canChangeFromUT = true
  3639. ----
  3640. canChangeFromMT = true
  3641. ---------
  3642. end
  3643. end
  3644. end)
  3645. maus.KeyDown:connect(function(kei)
  3646. if kei == "3" then
  3647. if canChangeFromCF == true then
  3648. canChangeFromCF = false
  3649. calm = false
  3650. annoyed = false
  3651. casualFighting = true -- active mode
  3652. seriousFighting = false
  3653. planetaryThreat = false
  3654. galacticThreat = false
  3655. universalThreat = false
  3656. multiversalThreat = false
  3657. dorado:Play()
  3658. marxA:Stop()
  3659. ---------EFFECTS
  3660. AAura.Parent = nil
  3661.  
  3662. casualFightingPOWERUP.Parent = chr.Torso
  3663. casualFightingPOWERUP.Volume = 3
  3664. casualFightingPOWERUP.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  3665. casualFightingPOWERUP:Play()
  3666. CFAura1.Parent = chr.Torso
  3667. CFAura1.Texture = "rbxassetid://347730682"
  3668. local color1 = Color3.new(127,0,127)
  3669. local color2 = Color3.new(127,0,127)
  3670. local sequence = ColorSequence.new(color1,color2)
  3671. CFAura1.Color = ColorSequence.new(color1,color2)
  3672. CFAura1.Size = NumberSequence.new(6,6,6,6,6,6)
  3673. CFAura1.Lifetime = NumberRange.new(0.3,0.3,0.3,0.3,0.3)
  3674. CFAura1.Rate = 20
  3675. CFAura1.Transparency = NumberSequence.new(0.6,0.6,0.6,0.6,0.6,0.6)
  3676. CFAura1.Speed = NumberRange.new(10,10,10,10,10,10)
  3677. CFAura1.LockedToPart = true
  3678.  
  3679. CFAura2.Parent = chr.Torso
  3680.  
  3681. CFAura2.Texture = "rbxassetid://269782022"
  3682. local color1 = Color3.new(0,0,0)
  3683. local color2 = Color3.new(0,0,0)
  3684. local sequence = ColorSequence.new(color1,color2)
  3685. CFAura2.Color = ColorSequence.new(color1,color2)
  3686. CFAura2.Size = NumberSequence.new(6,6,6,6,6,6)
  3687. CFAura2.Lifetime = NumberRange.new(0.2,0.2,0.2,0.2,0.2)
  3688. CFAura2.Rate = 20
  3689. CFAura2.Transparency =NumberSequence.new(0.4,0.4,0.4,0.4,0.4,0.4)
  3690. CFAura2.Speed = NumberRange.new(10,10,10,10,10,10)
  3691. CFAura2.LockedToPart = true
  3692. CFExplodeP = Instance.new("Part",chr)
  3693. CFExplodeP.Anchored = true
  3694. CFExplodeP.CanCollide = false
  3695. CFExplodeP.CFrame = chr.Torso.CFrame
  3696. CFExplodeP.BrickColor = BrickColor.new("Magenta")
  3697. CFExplodeP.Size = Vector3.new(1,1,1)
  3698. CFExplodeM = Instance.new("SpecialMesh",CFExplodeP)
  3699. CFExplodeM.MeshType = "FileMesh"
  3700. CFExplodeM.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  3701. for i = 1,50,2 do wait()
  3702. CFExplodeM.Scale = Vector3.new(i,i,i)
  3703. CFExplodeP.Transparency = i/50
  3704. end
  3705. CFExplodeP:Remove()
  3706. ---------DEBOUNCE ENABLE
  3707. wait(1)
  3708. canChangeFromC = true
  3709. canChangeFromA = true
  3710. canChangeFromSF = true
  3711. canChangeFromPT = true
  3712. canChangeFromGT = true
  3713. canChangeFromUT = true
  3714. ----
  3715. canChangeFromMT = true
  3716. ---------
  3717. end
  3718. end
  3719. end)
  3720.  
  3721. ---//*MOVES
  3722.  
  3723.  
  3724.  
  3725. --*\\
  3726.  
  3727. maus.KeyDown:connect(function(kei)
  3728. if string.byte(kei)==48 and not otheranims then
  3729. runnin=true
  3730. end
  3731. if kei=='w' then fldb.w=true end
  3732. if kei=='a' then fldb.a=true end
  3733. if kei=='s' then fldb.s=true end
  3734. if kei=='d' then fldb.d=true end
  3735. end)
  3736. maus.KeyUp:connect(function(kei)
  3737. if string.byte(kei)==48 and not otheranims then
  3738. runnin=false
  3739. end
  3740. if kei=='w' then fldb.w=false end
  3741. if kei=='a' then fldb.a=false end
  3742. if kei=='s' then fldb.s=false end
  3743. if kei=='d' then fldb.d=false end
  3744. end)
  3745.  
  3746.  
  3747.  
  3748.  
  3749.  
  3750. game:service'RunService'.RenderStepped:connect(function()
  3751. if anim~=lastanim then
  3752. runtime=0
  3753. end
  3754. lastanim=anim
  3755. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  3756. syne=syne+.95
  3757. if not otheranims and not swimming then
  3758. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  3759. anim="Idling"
  3760. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  3761. anim="Walking"
  3762. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  3763. anim="Sprinting"
  3764. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  3765. anim='Jumping'
  3766. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  3767. anim='Falling'
  3768. end
  3769. end
  3770.  
  3771.  
  3772. if anim=="Idling" then
  3773. idlesineinc=35
  3774. if casualFighting == true then
  3775.  
  3776.  
  3777. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/idlesineinc)/25,-.3)*CFrame.Angles(math.rad(90),0,math.rad(-20)),.1)
  3778. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1,.4+math.cos(syne/idlesineinc)/25,.5)*CFrame.Angles(math.rad(-10),math.rad(20-(math.cos(syne/idlesineinc)/35)),math.rad(-20)),.1)
  3779. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-1,-1.7-math.cos(syne/idlesineinc)/20,0.2)*CFrame.Angles(math.rad(0),math.cos(syne/idlesineinc)/55+math.rad(25),math.rad(-20)),.1)
  3780. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(1,-1.5-math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.rad(0),math.cos(syne/idlesineinc)/55+math.rad(-30),math.rad(0)),.1)
  3781. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,math.rad(-70),0),.1)
  3782. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-0.5+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/55+math.rad(-5),math.rad(60),math.rad(0)),.1)
  3783. end
  3784. if calm == true then
  3785.  
  3786. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1)
  3787. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
  3788. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  3789. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  3790. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  3791. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  3792. end
  3793. if annoyed == true then
  3794.  
  3795. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.2,.3+math.cos(syne/idlesineinc)/25,0.2)*CFrame.Angles(math.rad(-50),0,math.rad(-40)),.1)
  3796. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.2,.3+math.cos(syne/idlesineinc)/25,0.2)*CFrame.Angles(math.rad(-50),0,math.rad(40)),.1)
  3797. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  3798. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  3799. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  3800. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  3801. end
  3802. end
  3803. if anim=="Walking" then
  3804. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
  3805. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  3806. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  3807. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  3808. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  3809. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  3810. end
  3811.  
  3812. if anim=="Sprinting" then
  3813.  
  3814. if calm == true then
  3815. RunSpeed = 25
  3816. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-15),0,math.rad(12.5)),.1)
  3817. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-15),0,math.rad(-12.5)),.1)
  3818. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(-10),math.rad(-7),math.rad(-2.5)),.1)
  3819. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-2,0)*CFrame.Angles(math.rad(-10),math.rad(7),math.rad(2.5)),.1)
  3820. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.55,0)*CFrame.Angles(math.rad(15),0,0),.1)
  3821. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,1,0)*CFrame.Angles(math.rad(-15),0,math.sin(rutprt.RotVelocity.y/2)/2),.1)
  3822. end
  3823. if annoyed == true then
  3824. RunSpeed = 50
  3825. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-25),0,math.rad(12.5)),.1)
  3826. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-25),0,math.rad(-12.5)),.1)
  3827. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(-15),math.rad(-7),math.rad(-2.5)),.1)
  3828. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-2,0)*CFrame.Angles(math.rad(-15),math.rad(7),math.rad(2.5)),.1)
  3829. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.55,0)*CFrame.Angles(math.rad(15),0,0),.1)
  3830. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,1,0)*CFrame.Angles(math.rad(-25),0,math.sin(rutprt.RotVelocity.y/2)/2),.1)
  3831. end
  3832. if casualFighting == true then
  3833. RunSpeed = 75
  3834. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)),.1)
  3835. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)),.1)
  3836. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2)-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
  3837. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2-math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
  3838. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
  3839. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.rad(-25),math.cos(syne/2.5)/10,math.sin(rutprt.RotVelocity.y/2)/4),.1)
  3840. end
  3841. end
  3842. if anim=="Jumping" then
  3843. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  3844. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  3845. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-2.3,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  3846. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-2,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  3847. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  3848. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  3849. end
  3850.  
  3851. if anim=="Falling" then
  3852. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  3853. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  3854. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  3855. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  3856. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  3857. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  3858. end
  3859.  
  3860. if runnin and not otheranims and not swimming then
  3861. chr.Humanoid.WalkSpeed=RunSpeed
  3862. elseif not runnin and not otheranims and not swimming then
  3863. chr.Humanoid.WalkSpeed=WlkSpeed
  3864. end
  3865. end)
  3866. end)
  3867. end))
  3868. TextButton14.Name = "PlaceHolder"
  3869. TextButton14.Parent = Frame1
  3870. TextButton14.Transparency = 0.5
  3871. TextButton14.Size = UDim2.new(0, 100, 0, 30)
  3872. TextButton14.Text = "PlaceHolder"
  3873. TextButton14.Position = UDim2.new(0.399999917, -107, 0.200000018, 75)
  3874. TextButton14.BackgroundColor3 = Color3.new(1, 1, 1)
  3875. TextButton14.BackgroundTransparency = 0.5
  3876. TextButton14.BorderSizePixel = 0
  3877. TextButton14.Font = Enum.Font.SourceSansBold
  3878. TextButton14.FontSize = Enum.FontSize.Size14
  3879. TextButton14.TextColor3 = Color3.new(0, 0, 0)
  3880. TextButton14.TextTransparency = 0.5
  3881. Frame15.Name = "styleLine"
  3882. Frame15.Parent = TextButton14
  3883. Frame15.Size = UDim2.new(0, 5, 1, 0)
  3884. Frame15.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  3885. Frame15.BorderSizePixel = 0
  3886. Script16.Parent = TextButton14
  3887. table.insert(cors,sandbox(Script16,function()
  3888. local plrgui = script.Parent.Parent.Parent.Parent
  3889. local plr = plrgui.Parent
  3890.  
  3891. script.Parent.MouseButton1Down:connect(function()
  3892.  
  3893. end)
  3894. end))
  3895. TextButton17.Name = "PlaceHolder"
  3896. TextButton17.Parent = Frame1
  3897. TextButton17.Transparency = 0.5
  3898. TextButton17.Size = UDim2.new(0, 100, 0, 30)
  3899. TextButton17.Text = "PlaceHolder"
  3900. TextButton17.Position = UDim2.new(0.399999917, -107, 0.300000042, 75)
  3901. TextButton17.BackgroundColor3 = Color3.new(1, 1, 1)
  3902. TextButton17.BackgroundTransparency = 0.5
  3903. TextButton17.BorderSizePixel = 0
  3904. TextButton17.Font = Enum.Font.SourceSansBold
  3905. TextButton17.FontSize = Enum.FontSize.Size14
  3906. TextButton17.TextColor3 = Color3.new(0, 0, 0)
  3907. TextButton17.TextTransparency = 0.5
  3908. Frame18.Name = "styleLine"
  3909. Frame18.Parent = TextButton17
  3910. Frame18.Size = UDim2.new(0, 5, 1, 0)
  3911. Frame18.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  3912. Frame18.BorderSizePixel = 0
  3913. Script19.Parent = TextButton17
  3914. table.insert(cors,sandbox(Script19,function()
  3915. local plrgui = script.Parent.Parent.Parent.Parent
  3916. local plr = plrgui.Parent
  3917.  
  3918. script.Parent.MouseButton1Down:connect(function()
  3919.  
  3920. end)
  3921. end))
  3922. TextButton20.Name = "Dex"
  3923. TextButton20.Parent = Frame1
  3924. TextButton20.Transparency = 0.5
  3925. TextButton20.Size = UDim2.new(0, 100, 0, 30)
  3926. TextButton20.Text = "Dex_Explorer"
  3927. TextButton20.Position = UDim2.new(1, -107, -0.0999999866, 75)
  3928. TextButton20.BackgroundColor3 = Color3.new(1, 1, 1)
  3929. TextButton20.BackgroundTransparency = 0.5
  3930. TextButton20.BorderSizePixel = 0
  3931. TextButton20.Font = Enum.Font.SourceSansBold
  3932. TextButton20.FontSize = Enum.FontSize.Size14
  3933. TextButton20.TextColor3 = Color3.new(0, 0, 0)
  3934. TextButton20.TextTransparency = 0.5
  3935. Frame21.Name = "styleLine"
  3936. Frame21.Parent = TextButton20
  3937. Frame21.Size = UDim2.new(0, 5, 1, 0)
  3938. Frame21.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  3939. Frame21.BorderSizePixel = 0
  3940. Script22.Parent = TextButton20
  3941. TextButton23.Name = "Wings"
  3942. TextButton23.Parent = Frame1
  3943. TextButton23.Transparency = 0.5
  3944. TextButton23.Size = UDim2.new(0, 100, 0, 30)
  3945. TextButton23.Text = "Wings"
  3946. TextButton23.Position = UDim2.new(1, -107, 1.49011612e-08, 75)
  3947. TextButton23.BackgroundColor3 = Color3.new(1, 1, 1)
  3948. TextButton23.BackgroundTransparency = 0.5
  3949. TextButton23.BorderSizePixel = 0
  3950. TextButton23.Font = Enum.Font.SourceSansBold
  3951. TextButton23.FontSize = Enum.FontSize.Size14
  3952. TextButton23.TextColor3 = Color3.new(0, 0, 0)
  3953. TextButton23.TextTransparency = 0.5
  3954. Frame24.Name = "styleLine"
  3955. Frame24.Parent = TextButton23
  3956. Frame24.Size = UDim2.new(0, 5, 1, 0)
  3957. Frame24.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  3958. Frame24.BorderSizePixel = 0
  3959. Script25.Parent = TextButton23
  3960. table.insert(cors,sandbox(Script25,function()
  3961. local plrgui = script.Parent.Parent.Parent.Parent
  3962. local plr = plrgui.Parent
  3963.  
  3964. script.Parent.MouseButton1Down:connect(function()
  3965. --bird wings Gifted by harrypotterfan249, Local Script!
  3966. --Jump Two Time
  3967. --Down Press Q
  3968.  
  3969. script.Parent = nil
  3970.  
  3971. function fly()
  3972.  
  3973. for i,v in pairs(script:GetChildren()) do
  3974.  
  3975. pcall(function() v.Value = "" end)
  3976.  
  3977. game:GetService("Debris"):AddItem(v,.1)
  3978.  
  3979. end
  3980.  
  3981. function weld(p0,p1,c0,c1,par)
  3982.  
  3983. local w = Instance.new("Weld",p0 or par)
  3984.  
  3985. w.Part0 = p0
  3986.  
  3987. w.Part1 = p1
  3988.  
  3989. w.C0 = c0 or CFrame.new()
  3990.  
  3991. w.C1 = c1 or CFrame.new()
  3992.  
  3993. return w
  3994.  
  3995. end
  3996.  
  3997. local motors = {}
  3998.  
  3999. function motor(p0,p1,c0,c1,des,vel,par)
  4000.  
  4001. local w = Instance.new("Motor6D",p0 or par)
  4002.  
  4003. w.Part0 = p0
  4004.  
  4005. w.Part1 = p1
  4006.  
  4007. w.C0 = c0 or CFrame.new()
  4008.  
  4009. w.C1 = c1 or CFrame.new()
  4010.  
  4011. w.MaxVelocity = tonumber(vel) or .05
  4012.  
  4013. w.DesiredAngle = tonumber(des) or 0
  4014.  
  4015. return w
  4016.  
  4017. end
  4018.  
  4019. function lerp(a,b,c)
  4020.  
  4021. return a+(b-a)*c
  4022.  
  4023. end
  4024.  
  4025. function clerp(c1,c2,al)
  4026.  
  4027. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  4028.  
  4029. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  4030.  
  4031. for i,v in pairs(com1) do
  4032.  
  4033. com1[i] = lerp(v,com2[i],al)
  4034.  
  4035. end
  4036.  
  4037. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  4038.  
  4039. end
  4040.  
  4041. function ccomplerp(c1,c2,al)
  4042.  
  4043. local com1 = {c1:components()}
  4044.  
  4045. local com2 = {c2:components()}
  4046.  
  4047. for i,v in pairs(com1) do
  4048.  
  4049. com1[i] = lerp(v,com2[i],al)
  4050.  
  4051. end
  4052.  
  4053. return CFrame.new(unpack(com1))
  4054.  
  4055. end
  4056.  
  4057. function tickwave(time,length,offset)
  4058.  
  4059. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  4060.  
  4061. end
  4062.  
  4063. function invcol(c)
  4064.  
  4065. c = c.Color
  4066.  
  4067. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  4068.  
  4069. end
  4070.  
  4071. local oc = oc or function(...) return ... end
  4072.  
  4073. local plr = game.Players.LocalPlayer
  4074.  
  4075. local char = plr.Character
  4076.  
  4077. local tor = char.Torso
  4078.  
  4079. local hum = char.Humanoid
  4080.  
  4081. hum.PlatformStand = false
  4082.  
  4083. pcall(function()
  4084.  
  4085. char.Wings:Destroy()
  4086.  
  4087. end)
  4088.  
  4089. pcall(function()
  4090.  
  4091. char.Angel:Destroy() -- hat
  4092.  
  4093. end)
  4094.  
  4095. local mod = Instance.new("Model",char)
  4096.  
  4097. mod.Name = "Wings"
  4098.  
  4099. local special = {
  4100.  
  4101. --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  4102.  
  4103. --antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  4104.  
  4105. antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  4106.  
  4107. taart = {"Royal purple",nil,.4,.4,true},
  4108.  
  4109. mitta = {"Black",nil,0,0,false},
  4110.  
  4111. penjuin3 = {"White",nil,0,0,false},
  4112.  
  4113. thepc8110 = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  4114.  
  4115. nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  4116.  
  4117. littleau999 = {"Reddish brown",1030,0,0,false},
  4118.  
  4119. unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  4120.  
  4121. oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)},
  4122.  
  4123. krodmiss = {"Really black",nil,0,0,false},
  4124.  
  4125. }
  4126.  
  4127. local topcolor = BrickColor.new("Crimson")
  4128.  
  4129. local feacolor = BrickColor.new("Crimson")
  4130.  
  4131. local ptrans = 0
  4132.  
  4133. local pref = 0
  4134.  
  4135. local fire = false
  4136.  
  4137. local fmcol = Color3.new()
  4138.  
  4139. local fscol = Color3.new()
  4140.  
  4141. local spec = special[plr.Name:lower()]
  4142.  
  4143. if spec then
  4144.  
  4145. topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]
  4146.  
  4147. end
  4148.  
  4149. local part = Instance.new("Part")
  4150.  
  4151. part.FormFactor = "Custom"
  4152.  
  4153. part.Size = Vector3.new(.2,.2,.2)
  4154.  
  4155. part.TopSurface,part.BottomSurface = 0,0
  4156.  
  4157. part.CanCollide = false
  4158.  
  4159. part.BrickColor = BrickColor.new("Crimson")
  4160.  
  4161. part.Transparency = ptrans
  4162.  
  4163. part.Reflectance = pref
  4164.  
  4165. local ef = Instance.new("Fire",fire and part or nil)
  4166.  
  4167. ef.Size = .15
  4168.  
  4169. ef.Color = fmcol or Color3.new()
  4170.  
  4171. ef.SecondaryColor = fscol or Color3.new()
  4172.  
  4173. part:BreakJoints()
  4174.  
  4175.  
  4176. function newpart()
  4177.  
  4178. local clone = part:Clone()
  4179.  
  4180. clone.Parent = mod
  4181.  
  4182. clone:BreakJoints()
  4183.  
  4184. return clone
  4185.  
  4186. end
  4187.  
  4188. local feath = newpart()
  4189.  
  4190. feath.BrickColor = BrickColor.new("Crimson")
  4191.  
  4192. feath.Transparency = 0
  4193.  
  4194. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  4195.  
  4196. function newfeather()
  4197.  
  4198. local clone = feath:Clone()
  4199.  
  4200. clone.Parent = mod
  4201.  
  4202. clone:BreakJoints()
  4203.  
  4204. return clone
  4205.  
  4206. end
  4207.  
  4208.  
  4209. ---------- RIGHT WING
  4210.  
  4211. local r1 = newpart()
  4212.  
  4213. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  4214.  
  4215. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  4216.  
  4217. local r2 = newpart()
  4218.  
  4219. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  4220.  
  4221. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  4222.  
  4223. local r3 = newpart()
  4224.  
  4225. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  4226.  
  4227. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  4228.  
  4229. local r4 = newpart()
  4230.  
  4231. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  4232.  
  4233. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  4234.  
  4235. local feather = newfeather()
  4236.  
  4237. feather.Mesh.Scale = Vector3.new(1,1,1)
  4238.  
  4239. feather.Size = Vector3.new(.4,3,.3)
  4240.  
  4241. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  4242.  
  4243. feather = newfeather()
  4244.  
  4245. feather.Mesh.Scale = Vector3.new(1,1,1)
  4246.  
  4247. feather.Size = Vector3.new(.4,2.3,.3)
  4248.  
  4249. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  4250.  
  4251. feather = newfeather()
  4252.  
  4253. feather.Mesh.Scale = Vector3.new(1,1,1)
  4254.  
  4255. feather.Size = Vector3.new(.35,2.2,.25)
  4256.  
  4257. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  4258.  
  4259. local rf3 = {}
  4260.  
  4261. for i=0,7 do
  4262.  
  4263. feather = newfeather()
  4264.  
  4265. feather.Mesh.Scale = Vector3.new(1,1,1)
  4266.  
  4267. feather.Size = Vector3.new(.45,2.2,.35)
  4268.  
  4269. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  4270.  
  4271. end
  4272.  
  4273. local rf2 = {}
  4274.  
  4275. for i=0,6 do
  4276.  
  4277. feather = newfeather()
  4278.  
  4279. feather.Mesh.Scale = Vector3.new(1,1,1)
  4280.  
  4281. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  4282.  
  4283. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  4284.  
  4285. end
  4286.  
  4287. local rf1 = {}
  4288.  
  4289. for i=0,6 do
  4290.  
  4291. feather = newfeather()
  4292.  
  4293. feather.Mesh.Scale = Vector3.new(1,1,1)
  4294.  
  4295. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  4296.  
  4297. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  4298.  
  4299. end
  4300.  
  4301. ---------- LEFT WING
  4302.  
  4303. local l1 = newpart()
  4304.  
  4305. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  4306.  
  4307. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  4308.  
  4309. local l2 = newpart()
  4310.  
  4311. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  4312.  
  4313. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  4314.  
  4315. local l3 = newpart()
  4316.  
  4317. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  4318.  
  4319. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  4320.  
  4321. local l4 = newpart()
  4322.  
  4323. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  4324.  
  4325. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  4326.  
  4327. local feather = newfeather()
  4328.  
  4329. feather.Mesh.Scale = Vector3.new(1,1,1)
  4330.  
  4331. feather.Size = Vector3.new(.4,3,.3)
  4332.  
  4333. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  4334.  
  4335. feather = newfeather()
  4336.  
  4337. feather.Mesh.Scale = Vector3.new(1,1,1)
  4338.  
  4339. feather.Size = Vector3.new(.4,2.3,.3)
  4340.  
  4341. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  4342.  
  4343. feather = newfeather()
  4344.  
  4345. feather.Mesh.Scale = Vector3.new(1,1,1)
  4346.  
  4347. feather.Size = Vector3.new(.35,2.2,.25)
  4348.  
  4349. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  4350.  
  4351. local lf3 = {}
  4352.  
  4353. for i=0,7 do
  4354.  
  4355. feather = newfeather()
  4356.  
  4357. feather.Mesh.Scale = Vector3.new(1,1,1)
  4358.  
  4359. feather.Size = Vector3.new(.45,2.2,.35)
  4360.  
  4361. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  4362.  
  4363. end
  4364.  
  4365. local lf2 = {}
  4366.  
  4367. for i=0,6 do
  4368.  
  4369. feather = newfeather()
  4370.  
  4371. feather.Mesh.Scale = Vector3.new(1,1,1)
  4372.  
  4373. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  4374.  
  4375. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  4376.  
  4377. end
  4378.  
  4379. local lf1 = {}
  4380.  
  4381. for i=0,6 do
  4382.  
  4383. feather = newfeather()
  4384.  
  4385. feather.Mesh.Scale = Vector3.new(1,1,1)
  4386.  
  4387. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  4388.  
  4389. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  4390.  
  4391. end
  4392.  
  4393. local rwing = {rm1,rm2,rm3,rm4}
  4394.  
  4395. local lwing = {lm1,lm2,lm3,lm4}
  4396.  
  4397. local oc0 = {}
  4398.  
  4399. for i,v in pairs(rwing) do
  4400.  
  4401. oc0[v] = v.C0
  4402.  
  4403. end
  4404.  
  4405. for i,v in pairs(lwing) do
  4406.  
  4407. oc0[v] = v.C0
  4408.  
  4409. end
  4410.  
  4411. function gotResized()
  4412.  
  4413. if lastsize then
  4414.  
  4415. if tor.Size == lastsize then return end -- This shouldn't happen?
  4416.  
  4417. local scaleVec = tor.Size/lastsize
  4418.  
  4419. for i,v in pairs(oc0) do
  4420.  
  4421. oc0[i] = v-v.p+scaleVec*v.p
  4422.  
  4423. end
  4424.  
  4425. lastsize = tor.Size
  4426.  
  4427. end
  4428.  
  4429. lastsize = tor.Size
  4430.  
  4431. end
  4432.  
  4433. tor.Changed:connect(function(p)
  4434.  
  4435. if p == "Size" then
  4436.  
  4437. gotResized()
  4438.  
  4439. end
  4440.  
  4441. end)
  4442.  
  4443. gotResized()
  4444.  
  4445. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  4446.  
  4447. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  4448.  
  4449. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  4450.  
  4451. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  4452.  
  4453. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  4454.  
  4455. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  4456.  
  4457.  
  4458. function setwings(tab,time)
  4459.  
  4460. time = time or 10
  4461.  
  4462. for i=1,4 do
  4463.  
  4464. rwing[i].DesiredAngle = tab[i]
  4465.  
  4466. lwing[i].DesiredAngle = tab[i]
  4467.  
  4468. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  4469.  
  4470. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  4471.  
  4472. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  4473.  
  4474. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  4475.  
  4476. end
  4477.  
  4478. for i,v in pairs(rf1) do
  4479.  
  4480. v.DesiredAngle = tab[9]
  4481.  
  4482. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4483.  
  4484. end
  4485.  
  4486. for i,v in pairs(lf1) do
  4487.  
  4488. v.DesiredAngle = tab[9]
  4489.  
  4490. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4491.  
  4492. end
  4493.  
  4494. for i,v in pairs(rf2) do
  4495.  
  4496. v.DesiredAngle = tab[10]
  4497.  
  4498. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4499.  
  4500. end
  4501.  
  4502. for i,v in pairs(lf2) do
  4503.  
  4504. v.DesiredAngle = tab[10]
  4505.  
  4506. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4507.  
  4508. end
  4509.  
  4510. for i,v in pairs(rf3) do
  4511.  
  4512. v.DesiredAngle = tab[11]
  4513.  
  4514. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4515.  
  4516. end
  4517.  
  4518. for i,v in pairs(lf3) do
  4519.  
  4520. v.DesiredAngle = tab[11]
  4521.  
  4522. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4523.  
  4524. end
  4525.  
  4526. end
  4527.  
  4528. setwings(outhigh,1)
  4529.  
  4530. flying = false
  4531.  
  4532. moving = false
  4533.  
  4534. for i,v in pairs(tor:GetChildren()) do
  4535.  
  4536. if v.ClassName:lower():match("body") then
  4537.  
  4538. v:Destroy()
  4539.  
  4540. end
  4541.  
  4542. end
  4543.  
  4544. local ctor = tor:Clone()
  4545.  
  4546. ctor:ClearAllChildren()
  4547.  
  4548. ctor.Name = "cTorso"
  4549.  
  4550. ctor.Transparency = 1
  4551.  
  4552. ctor.CanCollide = false
  4553.  
  4554. ctor.FormFactor = "Custom"
  4555.  
  4556. ctor.Size = Vector3.new(.2,.2,.2)
  4557.  
  4558. ctor.Parent = mod
  4559.  
  4560. weld(tor,ctor)
  4561.  
  4562. local bg = Instance.new("BodyGyro",ctor)
  4563.  
  4564. bg.maxTorque = Vector3.new()
  4565.  
  4566. bg.P = 15000
  4567.  
  4568. bg.D = 1000
  4569.  
  4570. local bv = Instance.new("BodyVelocity",ctor)
  4571.  
  4572. bv.maxForce = Vector3.new()
  4573.  
  4574. bv.P = 15000
  4575.  
  4576. vel = Vector3.new()
  4577.  
  4578. cf = CFrame.new()
  4579.  
  4580. flspd = 0
  4581.  
  4582.  
  4583. keysdown = {}
  4584.  
  4585. keypressed = {}
  4586.  
  4587. ktime = {}
  4588.  
  4589. descendtimer = 0
  4590.  
  4591. jumptime = tick()
  4592.  
  4593. hum.Jumping:connect(function()
  4594.  
  4595. jumptime = tick()
  4596.  
  4597. end)
  4598.  
  4599. cam = workspace.CurrentCamera
  4600.  
  4601. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  4602.  
  4603. keysdown[key] = true
  4604.  
  4605. keypressed[key] = true
  4606.  
  4607. if key == "q" then
  4608.  
  4609. descendtimer = tick()
  4610.  
  4611. elseif key == " " and not hum.Jump then
  4612.  
  4613. jumptime = tick()
  4614.  
  4615. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
  4616.  
  4617. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  4618.  
  4619. end
  4620.  
  4621. ktime[key] = tick()
  4622.  
  4623. end))
  4624.  
  4625. ku = plr:GetMouse().KeyUp:connect(function(key)
  4626.  
  4627. keysdown[key] = false
  4628.  
  4629. if key == " " then
  4630.  
  4631. descendtimer = tick()
  4632.  
  4633. end
  4634.  
  4635. end)
  4636.  
  4637. function mid(a,b,c)
  4638.  
  4639. return math.max(a,math.min(b,c or -a))
  4640.  
  4641. end
  4642.  
  4643. function bn(a)
  4644.  
  4645. return a and 1 or 0
  4646.  
  4647. end
  4648.  
  4649. function gm(tar)
  4650.  
  4651. local m = 0
  4652.  
  4653. for i,v in pairs(tar:GetChildren()) do
  4654.  
  4655. if v:IsA("BasePart") then
  4656.  
  4657. m = m + v:GetMass()
  4658.  
  4659. end
  4660.  
  4661. m = m + gm(v)
  4662.  
  4663. end
  4664.  
  4665. return m
  4666.  
  4667. end
  4668.  
  4669. reqrotx = 0
  4670.  
  4671. local grav = 196.2
  4672.  
  4673. local con
  4674.  
  4675. con = game:GetService("RunService").Stepped:connect(oc(function()
  4676.  
  4677. --[[if not mod:IsDescendantOf(workspace) then
  4678.  
  4679. pcall(function() kd:disconnect() end)
  4680.  
  4681. pcall(function() ku:disconnect() end)
  4682.  
  4683. bg:Destroy()
  4684.  
  4685. bv:Destroy()
  4686.  
  4687. con:disconnect()
  4688.  
  4689. script:Destroy()
  4690.  
  4691. return
  4692.  
  4693. end]]
  4694.  
  4695. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  4696.  
  4697. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  4698.  
  4699. if flying then
  4700.  
  4701. local lfldir = fldir
  4702.  
  4703. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  4704.  
  4705. local lmoving = moving
  4706.  
  4707. moving = fldir.magnitude > .1
  4708.  
  4709. if lmoving and not moving then
  4710.  
  4711. idledir = lfldir*Vector3.new(1,0,1)
  4712.  
  4713. descendtimer = tick()
  4714.  
  4715. end
  4716.  
  4717. local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
  4718.  
  4719. if moving and keysdown["0"] and lmoving then
  4720.  
  4721. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  4722.  
  4723. end
  4724.  
  4725. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  4726.  
  4727. local descending = (not moving and keysdown["q"] and not keysdown[" "])
  4728.  
  4729. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  4730.  
  4731. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  4732.  
  4733. hum.PlatformStand = true
  4734.  
  4735. bg.maxTorque = Vector3.new(1,1,1)*9e5
  4736.  
  4737. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  4738.  
  4739. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  4740.  
  4741. reqrotx = reqrotx - reqrotx/10
  4742.  
  4743. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  4744.  
  4745. local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
  4746.  
  4747. local ani = tickwave(1.5-anioff,1)
  4748.  
  4749. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6)
  4750.  
  4751. vel = moving and cf.lookVector*flspd or Vector3.new()
  4752.  
  4753. flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
  4754.  
  4755. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  4756.  
  4757. for i=1,4 do
  4758.  
  4759. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  4760.  
  4761. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  4762.  
  4763. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  4764.  
  4765. end
  4766.  
  4767. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  4768.  
  4769. if hit and down.Y < -.85 and tick()-flystart > 1 then
  4770.  
  4771. flying = false
  4772.  
  4773. hum.PlatformStand = false
  4774.  
  4775. tor.Velocity = Vector3.new()
  4776.  
  4777. end
  4778.  
  4779. else
  4780.  
  4781. bg.maxTorque = Vector3.new()
  4782.  
  4783. bv.maxForce = Vector3.new()
  4784.  
  4785. local ani = tickwave(walking and .8 or 4.5,1)
  4786.  
  4787. setwings(idle,10)
  4788.  
  4789. local x,y,z = fspd/160,uspd/700,sspd/900
  4790.  
  4791. for i=1,4 do
  4792.  
  4793. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  4794.  
  4795. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  4796.  
  4797. end
  4798.  
  4799. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  4800.  
  4801. vel = Vector3.new(0,50,0)
  4802.  
  4803. bv.velocity = vel
  4804.  
  4805. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  4806.  
  4807. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  4808.  
  4809. tor.CFrame = cf
  4810.  
  4811. bg.cframe = cf
  4812.  
  4813. flystart = tick()
  4814.  
  4815. flying = true
  4816.  
  4817. end
  4818.  
  4819. end
  4820.  
  4821. keypressed = {}
  4822.  
  4823. end))
  4824.  
  4825.  
  4826.  
  4827. end fly()
  4828.  
  4829. --Bird Wings By Rosemarijohn2
  4830. end)
  4831. end))
  4832. TextButton26.Name = "PlaceHolder"
  4833. TextButton26.Parent = Frame1
  4834. TextButton26.Transparency = 0.5
  4835. TextButton26.Size = UDim2.new(0, 100, 0, 30)
  4836. TextButton26.Text = "PlaceHolder"
  4837. TextButton26.Position = UDim2.new(1, -107, 0.100000016, 75)
  4838. TextButton26.BackgroundColor3 = Color3.new(1, 1, 1)
  4839. TextButton26.BackgroundTransparency = 0.5
  4840. TextButton26.BorderSizePixel = 0
  4841. TextButton26.Font = Enum.Font.SourceSansBold
  4842. TextButton26.FontSize = Enum.FontSize.Size14
  4843. TextButton26.TextColor3 = Color3.new(0, 0, 0)
  4844. TextButton26.TextTransparency = 0.5
  4845. Frame27.Name = "styleLine"
  4846. Frame27.Parent = TextButton26
  4847. Frame27.Size = UDim2.new(0, 5, 1, 0)
  4848. Frame27.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  4849. Frame27.BorderSizePixel = 0
  4850. Script28.Parent = TextButton26
  4851. table.insert(cors,sandbox(Script28,function()
  4852. local plrgui = script.Parent.Parent.Parent.Parent
  4853. local plr = plrgui.Parent
  4854.  
  4855. script.Parent.MouseButton1Down:connect(function()
  4856.  
  4857. end)
  4858. end))
  4859. TextButton29.Name = "PlaceHolder"
  4860. TextButton29.Parent = Frame1
  4861. TextButton29.Transparency = 0.5
  4862. TextButton29.Size = UDim2.new(0, 100, 0, 30)
  4863. TextButton29.Text = "PlaceHolder"
  4864. TextButton29.Position = UDim2.new(1, -107, 0.200000018, 75)
  4865. TextButton29.BackgroundColor3 = Color3.new(1, 1, 1)
  4866. TextButton29.BackgroundTransparency = 0.5
  4867. TextButton29.BorderSizePixel = 0
  4868. TextButton29.Font = Enum.Font.SourceSansBold
  4869. TextButton29.FontSize = Enum.FontSize.Size14
  4870. TextButton29.TextColor3 = Color3.new(0, 0, 0)
  4871. TextButton29.TextTransparency = 0.5
  4872. Frame30.Name = "styleLine"
  4873. Frame30.Parent = TextButton29
  4874. Frame30.Size = UDim2.new(0, 5, 1, 0)
  4875. Frame30.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  4876. Frame30.BorderSizePixel = 0
  4877. Script31.Parent = TextButton29
  4878. table.insert(cors,sandbox(Script31,function()
  4879. local plrgui = script.Parent.Parent.Parent.Parent
  4880. local plr = plrgui.Parent
  4881.  
  4882. script.Parent.MouseButton1Down:connect(function()
  4883.  
  4884. end)
  4885. end))
  4886. TextButton32.Name = "PlaceHolder"
  4887. TextButton32.Parent = Frame1
  4888. TextButton32.Transparency = 0.5
  4889. TextButton32.Size = UDim2.new(0, 100, 0, 30)
  4890. TextButton32.Text = "PlaceHolder"
  4891. TextButton32.Position = UDim2.new(1, -107, 0.300000042, 75)
  4892. TextButton32.BackgroundColor3 = Color3.new(1, 1, 1)
  4893. TextButton32.BackgroundTransparency = 0.5
  4894. TextButton32.BorderSizePixel = 0
  4895. TextButton32.Font = Enum.Font.SourceSansBold
  4896. TextButton32.FontSize = Enum.FontSize.Size14
  4897. TextButton32.TextColor3 = Color3.new(0, 0, 0)
  4898. TextButton32.TextTransparency = 0.5
  4899. Frame33.Name = "styleLine"
  4900. Frame33.Parent = TextButton32
  4901. Frame33.Size = UDim2.new(0, 5, 1, 0)
  4902. Frame33.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  4903. Frame33.BorderSizePixel = 0
  4904. Script34.Parent = TextButton32
  4905. table.insert(cors,sandbox(Script34,function()
  4906. local plrgui = script.Parent.Parent.Parent.Parent
  4907. local plr = plrgui.Parent
  4908.  
  4909. script.Parent.MouseButton1Down:connect(function()
  4910.  
  4911. end)
  4912. end))
  4913. Frame35.Name = "Login"
  4914. Frame35.Parent = ScreenGui0
  4915. Frame35.Size = UDim2.new(0, 300, 0, 388)
  4916. Frame35.Style = Enum.FrameStyle.DropShadow
  4917. Frame35.Position = UDim2.new(0.5, -150, 0, 0)
  4918. Frame35.Active = true
  4919. Frame35.Visible = false
  4920. Frame35.BackgroundColor3 = Color3.new(1, 1, 1)
  4921. Frame35.Draggable = true
  4922. TextLabel36.Name = "Title"
  4923. TextLabel36.Parent = Frame35
  4924. TextLabel36.Size = UDim2.new(1, 4, 0, 32)
  4925. TextLabel36.Text = "Omega's Admin hub Gui"
  4926. TextLabel36.Position = UDim2.new(0, -2, 0, -2)
  4927. TextLabel36.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  4928. TextLabel36.BorderSizePixel = 0
  4929. TextLabel36.Font = Enum.Font.SourceSansItalic
  4930. TextLabel36.FontSize = Enum.FontSize.Size24
  4931. TextLabel36.TextColor3 = Color3.new(1, 1, 1)
  4932. TextLabel36.TextYAlignment = Enum.TextYAlignment.Top
  4933. Frame37.Name = "styleLine"
  4934. Frame37.Parent = TextLabel36
  4935. Frame37.Transparency = 0.30000001192093
  4936. Frame37.Size = UDim2.new(1, 0, 0, 4)
  4937. Frame37.Position = UDim2.new(0, 0, 0, 28)
  4938. Frame37.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4939. Frame37.BackgroundTransparency = 0.30000001192093
  4940. Frame37.BorderSizePixel = 0
  4941. Frame37.ZIndex = 2
  4942. TextLabel38.Name = "Creditse"
  4943. TextLabel38.Parent = Frame35
  4944. TextLabel38.Transparency = 1
  4945. TextLabel38.Size = UDim2.new(1, -6, 0, 10)
  4946. TextLabel38.Text = "Created by Omega_Phoenix"
  4947. TextLabel38.Position = UDim2.new(0, 0, 1, -15)
  4948. TextLabel38.BackgroundColor3 = Color3.new(1, 1, 1)
  4949. TextLabel38.BackgroundTransparency = 1
  4950. TextLabel38.BorderSizePixel = 0
  4951. TextLabel38.Font = Enum.Font.SourceSans
  4952. TextLabel38.FontSize = Enum.FontSize.Size14
  4953. TextLabel38.TextColor3 = Color3.new(1, 0.968628, 0.94902)
  4954. TextLabel38.TextTransparency = 0.80000001192093
  4955. TextLabel38.TextWrapped = true
  4956. TextBox39.Name = "Username"
  4957. TextBox39.Parent = Frame35
  4958. TextBox39.Transparency = 0.5
  4959. TextBox39.Size = UDim2.new(0.449999988, 100, 0, 30)
  4960. TextBox39.Text = "Username"
  4961. TextBox39.Position = UDim2.new(0.480000079, -107, 0.100000001, 75)
  4962. TextBox39.BackgroundColor3 = Color3.new(1, 1, 1)
  4963. TextBox39.BackgroundTransparency = 0.5
  4964. TextBox39.Font = Enum.Font.SourceSans
  4965. TextBox39.FontSize = Enum.FontSize.Size14
  4966. Frame40.Name = "styleLine"
  4967. Frame40.Parent = TextBox39
  4968. Frame40.Size = UDim2.new(0, 5, 1, 0)
  4969. Frame40.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  4970. Frame40.BorderSizePixel = 0
  4971. TextLabel41.Name = "LoginTitle"
  4972. TextLabel41.Parent = Frame35
  4973. TextLabel41.Size = UDim2.new(0.0399999991, 200, -0.0599999949, 50)
  4974. TextLabel41.Text = "Please Login"
  4975. TextLabel41.Position = UDim2.new(0.119999982, 0, 0.139999986, 0)
  4976. TextLabel41.BackgroundColor3 = Color3.new(1, 1, 1)
  4977. TextLabel41.BorderSizePixel = 0
  4978. TextLabel41.Font = Enum.Font.SourceSans
  4979. TextLabel41.FontSize = Enum.FontSize.Size14
  4980. Frame42.Name = "styleLine"
  4981. Frame42.Parent = TextLabel41
  4982. Frame42.Size = UDim2.new(0, 5, 1, 0)
  4983. Frame42.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  4984. Frame42.BorderSizePixel = 0
  4985. TextBox43.Name = "Password"
  4986. TextBox43.Parent = Frame35
  4987. TextBox43.Transparency = 0.5
  4988. TextBox43.Size = UDim2.new(0.449999988, 100, 0, 30)
  4989. TextBox43.Text = "Password"
  4990. TextBox43.Position = UDim2.new(0.480000079, -107, 0.300000012, 75)
  4991. TextBox43.BackgroundColor3 = Color3.new(1, 1, 1)
  4992. TextBox43.BackgroundTransparency = 0.5
  4993. TextBox43.Font = Enum.Font.SourceSans
  4994. TextBox43.FontSize = Enum.FontSize.Size14
  4995. Frame44.Name = "styleLine"
  4996. Frame44.Parent = TextBox43
  4997. Frame44.Size = UDim2.new(0, 5, 1, 0)
  4998. Frame44.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  4999. Frame44.BorderSizePixel = 0
  5000. TextButton45.Name = "LoginButton"
  5001. TextButton45.Parent = Frame35
  5002. TextButton45.Size = UDim2.new(0, 200, 0, 50)
  5003. TextButton45.Text = "Press to Login"
  5004. TextButton45.Position = UDim2.new(0.150000006, 0, 0.750000119, 0)
  5005. TextButton45.BackgroundColor3 = Color3.new(1, 1, 1)
  5006. TextButton45.Font = Enum.Font.SourceSans
  5007. TextButton45.FontSize = Enum.FontSize.Size14
  5008. Script46.Parent = TextButton45
  5009. table.insert(cors,sandbox(Script46,function()
  5010. script.Parent.MouseButton1Down:Connect(function()
  5011. if script.Parent.Parent.Username.Text == "Omega" then
  5012. if script.Parent.Parent.Password.Text == "Phoenix" then
  5013. script.Parent.Parent.Visible = false
  5014. script.Parent.Parent.Parent.Main.Visible = true
  5015. script.Parent.Parent.Parent.OpenCloseLogin.Visible = false
  5016. script.Parent.Parent.Parent.OpenCloseMain.Visible = true
  5017. end
  5018. elseif script.Parent.Parent.Username.Text == "fire" then
  5019. if script.Parent.Parent.Password.Text == "fire" then
  5020. script.Parent.Parent.Visible = false
  5021. script.Parent.Parent.Parent.Main.Visible = true
  5022. script.Parent.Parent.Parent.OpenCloseLogin.Visible = false
  5023. script.Parent.Parent.Parent.OpenCloseMain.Visible = true
  5024. end
  5025. elseif script.Parent.Parent.Username.Text ~= "Omega" then
  5026. if script.Parent.Parent.Password.Text ~= "Phoenix" then
  5027. script.Parent.Parent.LoginTitle.Text = "Invalid Username or Password!"
  5028. wait(3)
  5029. script.Parent.Parent.LoginTitle.Text = "Please Login"
  5030. elseif script.Parent.Parent.Username.Text ~= "fire" then
  5031. if script.Parent.Parent.Password.Text ~= "fire" then
  5032. script.Parent.Parent.LoginTitle.Text = "Invalid Username or Password!"
  5033. wait(3)
  5034. end
  5035. end
  5036. end
  5037. end)
  5038. end))
  5039. Frame47.Name = "styleLine"
  5040. Frame47.Parent = TextButton45
  5041. Frame47.Size = UDim2.new(0, 5, 1, 0)
  5042. Frame47.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  5043. Frame47.BorderSizePixel = 0
  5044. Frame48.Name = "OpenCloseLogin"
  5045. Frame48.Parent = ScreenGui0
  5046. Frame48.Transparency = 1
  5047. Frame48.Size = UDim2.new(0, 100, 0, 30)
  5048. Frame48.Position = UDim2.new(0, 0, 0, 450)
  5049. Frame48.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  5050. Frame48.BackgroundTransparency = 1
  5051. Frame48.BorderSizePixel = 0
  5052. Frame48.ZIndex = 3
  5053. TextButton49.Name = "Open"
  5054. TextButton49.Parent = Frame48
  5055. TextButton49.Size = UDim2.new(0, 100, 0, 30)
  5056. TextButton49.Text = "Open"
  5057. TextButton49.BackgroundColor3 = Color3.new(0.533333, 0.533333, 0.533333)
  5058. TextButton49.BorderSizePixel = 0
  5059. TextButton49.ZIndex = 2
  5060. TextButton49.Font = Enum.Font.SourceSansBold
  5061. TextButton49.FontSize = Enum.FontSize.Size18
  5062. TextButton49.TextColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  5063. Frame50.Name = "StyleBar"
  5064. Frame50.Parent = TextButton49
  5065. Frame50.Size = UDim2.new(0, 5, 0, 30)
  5066. Frame50.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  5067. Frame50.BorderSizePixel = 0
  5068. Frame50.ZIndex = 3
  5069. Script51.Parent = TextButton49
  5070. table.insert(cors,sandbox(Script51,function()
  5071. local maingui = script.Parent.Parent.Parent.Main
  5072. local Login = script.Parent.Parent.Parent.Login
  5073. local OpenClose = script.Parent.Parent
  5074. local button = script.Parent
  5075.  
  5076.  
  5077.  
  5078. button.MouseButton1Click:Connect(function()
  5079. if Login.Visible == true then
  5080. Login.Visible = false
  5081. button.Text = "Open"
  5082. elseif Login.Visible == false then
  5083. Login.Visible = true
  5084. button.Text = "Close"
  5085. end
  5086. end)
  5087. end))
  5088. Frame52.Name = "OpenCloseMain"
  5089. Frame52.Parent = ScreenGui0
  5090. Frame52.Transparency = 1
  5091. Frame52.Size = UDim2.new(0, 100, 0, 30)
  5092. Frame52.Position = UDim2.new(0, 0, 0, 450)
  5093. Frame52.Visible = false
  5094. Frame52.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  5095. Frame52.BackgroundTransparency = 1
  5096. Frame52.BorderSizePixel = 0
  5097. Frame52.ZIndex = 3
  5098. TextButton53.Name = "Open"
  5099. TextButton53.Parent = Frame52
  5100. TextButton53.Size = UDim2.new(0, 100, 0, 30)
  5101. TextButton53.Text = "Open"
  5102. TextButton53.BackgroundColor3 = Color3.new(0.533333, 0.533333, 0.533333)
  5103. TextButton53.BorderSizePixel = 0
  5104. TextButton53.ZIndex = 2
  5105. TextButton53.Font = Enum.Font.SourceSansBold
  5106. TextButton53.FontSize = Enum.FontSize.Size18
  5107. TextButton53.TextColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  5108. Frame54.Name = "StyleBar"
  5109. Frame54.Parent = TextButton53
  5110. Frame54.Size = UDim2.new(0, 5, 0, 30)
  5111. Frame54.BackgroundColor3 = Color3.new(0.196078, 0.588235, 1)
  5112. Frame54.BorderSizePixel = 0
  5113. Frame54.ZIndex = 3
  5114. Script55.Parent = TextButton53
  5115. table.insert(cors,sandbox(Script55,function()
  5116. local maingui = script.Parent.Parent.Parent.Main
  5117. local Login = script.Parent.Parent.Parent.Login
  5118. local OpenClose = script.Parent.Parent
  5119. local button = script.Parent
  5120.  
  5121.  
  5122.  
  5123. button.MouseButton1Click:Connect(function()
  5124. if maingui.Visible == true then
  5125. maingui.Visible = false
  5126. button.Text = "Open"
  5127. elseif maingui.Visible == false then
  5128. maingui.Visible = true
  5129. button.Text = "Close"
  5130. end
  5131. end)
  5132. end))
  5133. for i,v in pairs(mas:GetChildren()) do
  5134. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  5135. pcall(function() v:MakeJoints() end)
  5136. end
  5137. mas:Destroy()
  5138. for i,v in pairs(cors) do
  5139. spawn(function()
  5140. pcall(v)
  5141. end)
  5142. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement