epicboi

Untitled

Apr 8th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.76 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
  5. script.Parent = InternalData.RealOwner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  7. local function createObject (connections, index)
  8. local proxy = newproxy (true);local meta = getmetatable (proxy);
  9. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  10. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  11. meta.__index = function (self, i)
  12. if (i == 'TriggerEvent') then return runbind end;
  13. return connections[i] and connections[i].Event or index[i];
  14. end;
  15. meta.__newindex = index;meta.__metatable = false;return proxy
  16. end;
  17. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  18. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  19. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  20. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  21. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  22. Event.OnServerEvent:Connect(function(FiredBy,Input)
  23. if FiredBy ~= InternalData.RealOwner then return end
  24. if Input.MouseEvent then
  25. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  26. elseif Input.Sound then
  27. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  28. else
  29. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  30. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. --LoadLibrary("RbxUtility").Create
  80. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  81. if Library == "RbxUtility" then
  82. return setmetatable({},{
  83. __tostring = function() return "RbxUtility" end;
  84. __index = function(self, Index)
  85. if Index:lower() == "create" then
  86. return function(Type)
  87. return function(Data)
  88. Data = Data or {}
  89. local Inst = Instance.new(Type)
  90. for x,y in pairs(Data) do
  91. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  92. if y == owner then y = InternalData.RealOwner end
  93. Inst[x] = y
  94. end
  95. return Inst
  96. end
  97. end
  98. end
  99. return InternalData.LoadLibrary(Library)[Index]
  100. end
  101. })
  102. end
  103. return InternalData.LoadLibrary(Library)
  104. end
  105. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  106. __index = function (self,Index)
  107. if Index:lower() == 'new' then
  108. return function (Type, Parent)
  109. if Parent == owner then Parent = InternalData.RealOwner end
  110. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  111. local Real = InternalData.RealInstance.new(Type,Parent)
  112. if not Type then return end
  113. if Type == "BillboardGui" then
  114. local ToReturn = setmetatable({},{
  115. __index = function (self,Index)
  116. if type(Real[Index]) == "function" then
  117. if Index:lower() == "clone" then
  118. return function (self)
  119. local Real = Real:Clone()
  120. local ToReturn = setmetatable({RealObject = Real},{
  121. __index = function (self,Index)
  122. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  123. return Real[Index]
  124. end;
  125. __newindex = function (self,Index,Value)
  126. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  127. if Value == owner then Value = InternalData.RealOwner end
  128. Real[Index] = Value
  129. end;
  130. __tostring = function(self) return tostring(Real) end;
  131. })
  132. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  133. end
  134. end
  135. return function (self,...) return Real[Index](Real,...)end
  136. end
  137. return Real[Index]
  138. end;
  139. __newindex = function (self,Index,Value)
  140. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  141. if Value == owner then Value = InternalData.RealOwner end
  142. Real[Index] = Value
  143. end;
  144. __tostring = function(self) return tostring(Real) end;
  145. })
  146. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  147. elseif Type:lower() == "sound" then
  148. Real.Parent = owner.Character;
  149. local ToReturn = setmetatable({RealObject = Real},{
  150. __index = function (self,Index)
  151. if Index:lower() == "playbackloudness" then
  152. return InternalData.SoundLoudness[Real] or 0
  153. elseif type(Real[Index]) == "function" then
  154. if Index:lower() == "clone" then
  155. return function (self)
  156. local Real = Real:Clone()
  157. local ToReturn = setmetatable({},{
  158. __index = function (self,Index)
  159. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  160. return Real[Index]
  161. end;
  162. __newindex = function (self,Index,Value)
  163. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  164. if Value == owner then Value = InternalData.RealOwner end
  165. Real[Index] = Value
  166. end;
  167. __tostring = function(self) return tostring(Real) end;
  168. })
  169. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  170. end
  171. end
  172. return function (self,...) return Real[Index](Real,...)end
  173. end
  174. return Real[Index]
  175. end;
  176. __newindex = function (self,Index,Value)
  177. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  178. if Value == owner then Value = InternalData.RealOwner end
  179. Real[Index] = Value
  180. end;
  181. __tostring = function(self) return tostring(Real) end;
  182. })
  183. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  184. else
  185. local ToReturn = setmetatable({RealObject = Real},{
  186. __index = function (self,Index)
  187. if type(Real[Index]) == "function" then
  188. if Index:lower() == "clone" then
  189. return function (self)
  190. local Real = Real:Clone()
  191. local ToReturn = setmetatable({},{
  192. __index = function (self,Index)
  193. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  194. return Real[Index]
  195. end;
  196. __newindex = function (self,Index,Value)
  197. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  198. if Value == owner then Value = InternalData.RealOwner end
  199. Real[Index] = Value
  200. end;
  201. __tostring = function(self) return tostring(Real) end;
  202. })
  203. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  204. end
  205. end
  206. return function (self,...) return Real[Index](Real,...)end
  207. end
  208. return Real[Index]
  209. end;
  210. __newindex = function (self,Index,Value)
  211. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  212. if Value == owner then Value = InternalData.RealOwner end
  213. Real[Index] = Value
  214. end;
  215. __tostring = function(self) return tostring(Real) end;
  216. })
  217. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  218. end
  219. end
  220. end
  221. return InternalData.RealInstance[Index]
  222. end;
  223. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  224. });
  225. InternalData.RealGame = game;game = setmetatable({},{
  226. __index = function (self,Index)
  227. if InternalData.RealGame[Index] then
  228. local Type = type(InternalData.RealGame[Index])
  229. if Type == "function" then
  230. if Index:lower() == "getservice" or Index:lower() == "service" then
  231. return function (self,Service)
  232. local FakeServices = {
  233. ["players"] = function()
  234. return setmetatable({},{
  235. __index = function (self2,Index2)
  236. local RealService = InternalData.RealGame:GetService(Service)
  237. local Type2 = type(RealService[Index2])
  238. if Type2 == "function" then
  239. return function (self,...) return RealService[Index2](RealService,...)end
  240. else
  241. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  242. return RealService[Index2]
  243. end
  244. end;
  245. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  246. })
  247. end;
  248. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  249. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  250. ["debris"] = function()
  251. return setmetatable({},{
  252. __index = function(self2,Index2)
  253. local RealService = InternalData.RealGame:GetService(Service)
  254. local Type2 = type(RealService[Index2])
  255. if Type2 == "function" then
  256. if Index2:lower() == "additem" then
  257. return function (self,Item,Time)
  258. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  259. return RealService:AddItem(Item,Time)
  260. end
  261. end
  262. return function (self,...) return RealService[Index2](RealService,...) end
  263. end
  264. return RealService[Index2]
  265. end;
  266. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  267. })
  268. end;
  269. ["runservice"] = function()
  270. return setmetatable({},{
  271. __index = function(self2,Index2)
  272. local RealService = InternalData.RealGame:GetService(Service)
  273. local Type2 = type(RealService[Index2])
  274. if Type2 == "function" then
  275. return function (self,...) return RealService[Index2](RealService,...) end
  276. else
  277. local RunServices = {
  278. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  279. ["renderstepped"] = function() return RealService["Stepped"] end
  280. }
  281. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  282. return RealService[Index2]
  283. end
  284. end;
  285. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  286. })
  287. end
  288. }
  289. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  290. return InternalData.RealGame:GetService(Service)
  291. end
  292. end
  293. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  294. else
  295. if game:GetService(Index) then return game:GetService(Index) end
  296. return InternalData.RealGame[Index]
  297. end
  298. end
  299. return nil
  300. end;
  301. __tostring = function(self) return tostring(InternalData.game) end
  302. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  303. ---GhasterBlasters by xXVipergamerXx1-----
  304. ---MUST BE R15 TO USE!!!----
  305. local num = 0
  306. local p = game:GetService("Players").LocalPlayer
  307. local char = p.Character
  308. local rad = math.rad
  309. local hum = char.Humanoid
  310. ---------------------------------------------------
  311. local LeftUpperArm = char.LeftUpperArm
  312. local LeftShoulder = char.LeftUpperArm.LeftShoulder
  313. local LeftLowerArm = char.LeftLowerArm
  314. local LeftElbow = char.LeftLowerArm.LeftElbow
  315. --------------------------------------------------------
  316. local LeftUpperLeg = char.LeftUpperLeg
  317. local LeftHip = char.LeftUpperLeg.LeftHip
  318. local LeftLowerLeg = char.LeftLowerLeg
  319. local LeftKnee = char.LeftLowerLeg.LeftKnee
  320. ----------------------------------------------------------
  321. local RightUpperArm = char.RightUpperArm
  322. local RightShoulder = char.RightUpperArm.RightShoulder
  323. local RightLowerArm = char.RightLowerArm
  324. local RightElbow = char.RightLowerArm.RightElbow
  325. ----------------------------------------------------------
  326. local RightUpperLeg = char.RightUpperLeg
  327. local RightHip = char.RightUpperLeg.RightHip
  328. local RightLowerLeg = char.RightLowerLeg
  329. local RightKnee = char.RightLowerLeg.RightKnee
  330. ----------------------------------------------------------
  331.  
  332. local UpperTorso = char.UpperTorso
  333. local LowerTorso = char.LowerTorso
  334. local Root = char.LowerTorso.Root
  335. --------------------------------------------
  336. local Head = char.Head
  337. local Neck = char.Head.Neck
  338. local RootPart = char.HumanoidRootPart
  339. local LeftHand = char.LeftHand
  340. local RightHand = char.RightHand
  341. local LeftFoot = char.LeftFoot
  342. local RightFoot = char.RightFoot
  343. ---------------------------------------------
  344.  
  345. hum:SetStateEnabled("Dead",true)
  346. hum:SetStateEnabled(Enum.HumanoidStateType.Dead, true)
  347. local v3 = Vector3.new
  348. local idle = true
  349. local walk = true
  350. local walk1 = true
  351. local walkon = true
  352. local ns = NumberSequence.new
  353. local new = Instance.new
  354. local nr = NumberRange.new
  355. local bc =BrickColor.new
  356. local UpperTorso = char.UpperTorso
  357. local Waist = char.UpperTorso.Waist
  358. local mouse = p:GetMouse()
  359. local Blasters = true
  360. local debounce = true
  361. hum.MaxHealth = 100000
  362. hum.Health = hum.MaxHealth
  363. local equiped = false
  364. new("ForceField",char).Visible = false
  365. local Create = LoadLibrary("RbxUtility").Create
  366. function RemoveOutlines(part)
  367. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  368. end
  369. CFuncs = {
  370. ["Part"] = {
  371. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  372. local Part = Create("Part"){
  373. Parent = Parent,
  374. Reflectance = Reflectance,
  375. Transparency = Transparency,
  376. CanCollide = false,
  377. Locked = true,
  378. BrickColor = BrickColor.new(tostring(BColor)),
  379. Name = Name,
  380. Size = Size,
  381. Material = Material,
  382. }
  383. RemoveOutlines(Part)
  384. return Part
  385. end;
  386. };
  387.  
  388. ["Mesh"] = {
  389. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  390. local Msh = Create(Mesh){
  391. Parent = Part,
  392. Offset = OffSet,
  393. Scale = Scale,
  394. }
  395. if Mesh == "SpecialMesh" then
  396. Msh.MeshType = MeshType
  397. Msh.MeshId = MeshId
  398. end
  399. return Msh
  400. end;
  401. };
  402.  
  403. ["Mesh"] = {
  404. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  405. local Msh = Create(Mesh){
  406. Parent = Part,
  407. Offset = OffSet,
  408. Scale = Scale,
  409. }
  410. if Mesh == "SpecialMesh" then
  411. Msh.MeshType = MeshType
  412. Msh.MeshId = MeshId
  413. end
  414. return Msh
  415. end;
  416. };
  417.  
  418. ["Weld"] = {
  419. Create = function(Parent, Part0, Part1, C0, C1)
  420. local Weld = Create("Weld"){
  421. Parent = Parent,
  422. Part0 = Part0,
  423. Part1 = Part1,
  424. C0 = C0,
  425. C1 = C1,
  426. }
  427. return Weld
  428. end;
  429. };
  430.  
  431. ["Sound"] = {
  432. Create = function(id, par, vol, pit)
  433. coroutine.resume(coroutine.create(function()
  434. local S = Create("Sound"){
  435. Volume = vol,
  436. Pitch = pit or 1,
  437. SoundId = id,
  438. Parent = par or workspace,
  439. }
  440. wait()
  441. S:play()
  442. game:GetService("Debris"):AddItem(S, 6)
  443. end))
  444. end;
  445. };
  446.  
  447. ["ParticleEmitter"] = {
  448. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  449. local fp = Create("ParticleEmitter"){
  450. Parent = Parent,
  451. Color = ColorSequence.new(Color1, Color2),
  452. LightEmission = LightEmission,
  453. Size = Size,
  454. Texture = Texture,
  455. Transparency = Transparency,
  456. ZOffset = ZOffset,
  457. Acceleration = Accel,
  458. Drag = Drag,
  459. LockedToPart = LockedToPart,
  460. VelocityInheritance = VelocityInheritance,
  461. EmissionDirection = EmissionDirection,
  462. Enabled = Enabled,
  463. Lifetime = LifeTime,
  464. Rate = Rate,
  465. Rotation = Rotation,
  466. RotSpeed = RotSpeed,
  467. Speed = Speed,
  468. VelocitySpread = VelocitySpread,
  469. }
  470. return fp
  471. end;
  472. };
  473.  
  474. CreateTemplate = {
  475.  
  476. };
  477. }
  478. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  479. if hit.Parent == nil then
  480. return
  481. end
  482. local h = hit.Parent:FindFirstChild("Humanoid")
  483. for _, v in pairs(hit.Parent:children()) do
  484. if v:IsA("Humanoid") then
  485. h = v
  486. end
  487. end
  488. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  489. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  490. if hit.Parent.DebounceHit.Value == true then
  491. return
  492. end
  493. end
  494. local c = Create("ObjectValue"){
  495. Name = "creator",
  496. Value = game:service("Players").LocalPlayer,
  497. Parent = h,
  498. }
  499. game:GetService("Debris"):AddItem(c, .5)
  500. if HitSound ~= nil and HitPitch ~= nil then
  501. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  502. end
  503. local Damage = math.random(minim, maxim)
  504. local blocked = false
  505. local block = hit.Parent:findFirstChild("Block")
  506. if block ~= nil then
  507. if block.className == "IntValue" then
  508. if block.Value > 0 then
  509. blocked = true
  510. block.Value = block.Value - 1
  511. print(block.Value)
  512. end
  513. end
  514. end
  515. if blocked == false then
  516. h.Health = h.Health - Damage
  517. 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)
  518. else
  519. h.Health = h.Health - (Damage / 2)
  520. 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)
  521. end
  522. if Type == "Knockdown" then
  523. local hum = hit.Parent.Humanoid
  524. hum.PlatformStand = true
  525. coroutine.resume(coroutine.create(function(HHumanoid)
  526. swait(1)
  527. HHumanoid.PlatformStand = false
  528. end), hum)
  529. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  530. local bodvol = Create("BodyVelocity"){
  531. velocity = angle * knockback,
  532. P = 5000,
  533. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  534. Parent = hit,
  535. }
  536. local rl = Create("BodyAngularVelocity"){
  537. P = 3000,
  538. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  539. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  540. Parent = hit,
  541. }
  542. game:GetService("Debris"):AddItem(bodvol, .5)
  543. game:GetService("Debris"):AddItem(rl, .5)
  544. elseif Type == "Normal" then
  545. local vp = Create("BodyVelocity"){
  546. P = 500,
  547. maxForce = Vector3.new(math.huge, 0, math.huge),
  548. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  549. }
  550. if knockback > 0 then
  551. vp.Parent = hit.Parent.Torso
  552. end
  553. game:GetService("Debris"):AddItem(vp, .5)
  554. elseif Type == "Up" then
  555. local bodyVelocity = Create("BodyVelocity"){
  556. velocity = Vector3.new(0, 20, 0),
  557. P = 5000,
  558. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  559. Parent = hit,
  560. }
  561. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  562. elseif Type == "DarkUp" then
  563. coroutine.resume(coroutine.create(function()
  564. for i = 0, 1, 0.1 do
  565. swait()
  566. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  567. end
  568. end))
  569. local bodyVelocity = Create("BodyVelocity"){
  570. velocity = Vector3.new(0, 20, 0),
  571. P = 5000,
  572. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  573. Parent = hit,
  574. }
  575. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  576. elseif Type == "Snare" then
  577. local bp = Create("BodyPosition"){
  578. P = 2000,
  579. D = 100,
  580. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  581. position = hit.Parent.Torso.Position,
  582. Parent = hit.Parent.Torso,
  583. }
  584. game:GetService("Debris"):AddItem(bp, 1)
  585. elseif Type == "Freeze" then
  586. local BodPos = Create("BodyPosition"){
  587. P = 50000,
  588. D = 1000,
  589. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  590. position = hit.Parent.Torso.Position,
  591. Parent = hit.Parent.Torso,
  592. }
  593. local BodGy = Create("BodyGyro") {
  594. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  595. P = 20e+003,
  596. Parent = hit.Parent.Torso,
  597. cframe = hit.Parent.Torso.CFrame,
  598. }
  599. hit.Parent.Torso.Anchored = true
  600. coroutine.resume(coroutine.create(function(Part)
  601. swait(1.5)
  602. Part.Anchored = false
  603. end), hit.Parent.Torso)
  604. game:GetService("Debris"):AddItem(BodPos, 3)
  605. game:GetService("Debris"):AddItem(BodGy, 3)
  606. end
  607. local debounce = Create("BoolValue"){
  608. Name = "DebounceHit",
  609. Parent = hit.Parent,
  610. Value = true,
  611. }
  612. game:GetService("Debris"):AddItem(debounce, Delay)
  613. c = Create("ObjectValue"){
  614. Name = "creator",
  615. Value = Player,
  616. Parent = h,
  617. }
  618. game:GetService("Debris"):AddItem(c, .5)
  619. end
  620. end
  621.  
  622. function ShowDamage(Pos, Text, Time, Color)
  623. local Rate = (1 / 30)
  624. local Pos = (Pos or Vector3.new(0, 0, 0))
  625. local Text = (Text or "")
  626. local Time = (Time or 2)
  627. local Color = (Color or Color3.new(1, 0, 1))
  628. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  629. EffectPart.Anchored = true
  630. local BillboardGui = Create("BillboardGui"){
  631. Size = UDim2.new(3, 0, 3, 0),
  632. Adornee = EffectPart,
  633. Parent = EffectPart,
  634. }
  635. local TextLabel = Create("TextLabel"){
  636. BackgroundTransparency = 1,
  637. Size = UDim2.new(1, 0, 1, 0),
  638. Text = Text,
  639. Font = "SciFi",
  640. TextColor3 = Color,
  641. TextScaled = true,
  642. Parent = BillboardGui,
  643. }
  644. game.Debris:AddItem(EffectPart, (Time))
  645. EffectPart.Parent = game:GetService("Workspace")
  646. delay(0, function()
  647. local Frames = (Time / Rate)
  648. for Frame = 1, Frames do
  649. wait(Rate)
  650. local Percent = (Frame / Frames)
  651. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  652. TextLabel.TextTransparency = Percent
  653. end
  654. if EffectPart and EffectPart.Parent then
  655. EffectPart:Destroy()
  656. end
  657. end)
  658. end
  659.  
  660. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  661. for _, c in pairs(workspace:children()) do
  662. local hum = c:findFirstChild("Humanoid")
  663. if hum ~= nil then
  664. local head = c:findFirstChild("Torso")
  665. if head ~= nil then
  666. local targ = head.Position - Part.Position
  667. local mag = targ.magnitude
  668. if mag <= Magnitude and c.Name ~= Player.Name then
  669. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  670. end
  671. end
  672. end
  673. end
  674. end
  675.  
  676. EffectModel = Create("Model"){
  677. Parent = Character,
  678. Name = "Effects",
  679. }
  680.  
  681. local Megalo = new("Sound",game.workspace.Camera)
  682. local effectaa = new("ChorusSoundEffect",Megalo)
  683. effectaa.Depth = 0.1
  684. effectaa.Mix = 0.2
  685. Megalo.SoundId = "rbxassetid://1101519222"
  686. Megalo.Volume = 4
  687. Megalo.Pitch = 1.2
  688. Megalo.Looped = true
  689. Megalo.TimePosition = 0
  690. Megalo:Play()
  691.  
  692. local shootsnd = new("Sound",char)
  693. shootsnd.SoundId = "rbxassetid://340722848"
  694. shootsnd.Volume = 10
  695. shootsnd.Pitch = 1
  696.  
  697.  
  698. local hdebounce = true
  699.  
  700.  
  701. local RGhasterBlaster = new("Part",char)
  702. RGhasterBlaster.Size = v3(1,1,1)
  703. RGhasterBlaster.Name = "RGhasterBlaster"
  704. RGhasterBlaster.CanCollide = false
  705. RGhasterBlaster.Material = "Neon"
  706. RGhasterBlaster.Shape = "Ball"
  707. RGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame
  708. RGhasterBlaster.Anchored = false
  709. RGhasterBlaster.BrickColor = bc("White")
  710. RGhasterBlaster.Transparency = 1
  711.  
  712. local LGhasterBlaster = new("Part",char)
  713. LGhasterBlaster.Size = v3(1,1,1)
  714. LGhasterBlaster.CanCollide = false
  715. LGhasterBlaster.Name = "LGhasterBlaster"
  716. LGhasterBlaster.Material = "Neon"
  717. LGhasterBlaster.BrickColor = bc("White")
  718. LGhasterBlaster.Shape = "Ball"
  719. LGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  720. LGhasterBlaster.Anchored = false
  721. LGhasterBlaster.Transparency = 1
  722.  
  723.  
  724. local zxc = Instance.new("SpecialMesh",LGhasterBlaster)
  725. zxc.MeshType = "FileMesh"
  726. zxc.Scale = Vector3.new(2,2,2)
  727. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  728. local zxc = Instance.new("SpecialMesh",RGhasterBlaster)
  729. zxc.MeshType = "FileMesh"
  730. zxc.Scale = Vector3.new(2,2,2)
  731. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  732. local lgbbg=Instance.new("BodyGyro",LGhasterBlaster)
  733. lgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  734. lgbbg.D=400
  735.  
  736. lgbbp = Instance.new("BodyPosition", LGhasterBlaster)
  737.  
  738. local rgbbg=Instance.new("BodyGyro",RGhasterBlaster)
  739. rgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  740. rgbbg.D=400
  741.  
  742. rgbbp = Instance.new("BodyPosition", RGhasterBlaster)
  743.  
  744. spawn(function()
  745. while Blasters == true do
  746. rgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(10,5,0)).p
  747. lgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(-10,5,0)).p
  748. rgbbg.CFrame=CFrame.new(RGhasterBlaster.Position,mouse.Hit.p)
  749. lgbbg.CFrame=CFrame.new(LGhasterBlaster.Position,mouse.Hit.p)
  750.  
  751. wait()
  752. end
  753. end)
  754.  
  755. function equip()
  756. if equiped == false then
  757. equiped = true
  758. hum.WalkSpeed = 0
  759. hum.JumpPower = 0
  760. for i = 1,20 do
  761. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(26.299), math.rad(-0.229), math.rad(-90.413)),.3) --LeftUpperArm
  762. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(5.386), 0, math.rad(88.293)),.3)--RightUpperArm
  763. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(19.137),rad(0),rad(0)),.3)--LeftLowerArm
  764. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(31.971),rad(0),rad(0)),.3)--RightLowerArm
  765. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(6.704), math.rad(-2.12), math.rad(-17.418)),.3)--LeftUpperLeg
  766. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(12.605), math.rad(3.953), math.rad(17.074)),.3)--RightUpperLeg
  767. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10.886),rad(0),rad(0)),.3)--LeftLowerLeg
  768. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-12.49),rad(0),rad(0)),.3)--RightUpperLeg
  769. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Torso
  770. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  771. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  772. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  773. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  774. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  775. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(21.658),rad(0),rad(0)),.3)--Head
  776. wait()
  777. end
  778. for i = 1,20 do
  779. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency-0.1
  780. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency-0.1
  781. wait()
  782. end
  783. hum.WalkSpeed = 15
  784. hum.JumpPower = 50
  785. ParticleEmitter0 = Instance.new("ParticleEmitter")
  786. ParticleEmitter0 = Instance.new("ParticleEmitter")
  787. ParticleEmitter0.Name = "Fire"
  788. ParticleEmitter0.Parent = char.RightHand
  789. ParticleEmitter0.Transparency = NumberSequence.new(0,0,0,0,1,0)
  790. ParticleEmitter0.Rotation = NumberRange.new(-90, 90)
  791. ParticleEmitter0.Archivable = false
  792. ParticleEmitter0.Size = NumberSequence.new(0.75,0)
  793. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.0980392, 0.956863, 1),Color3.new(0.0980392, 0.956863, 1))
  794. ParticleEmitter0.LightEmission = 1
  795. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=258126401"
  796. ParticleEmitter0.ZOffset = 1
  797. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 0.5)
  798. ParticleEmitter0.Rate = 100
  799. ParticleEmitter0.RotSpeed = NumberRange.new(-90, 90)
  800. ParticleEmitter0.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
  801. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.0980392, 0.956863, 1),Color3.new(0.0980392, 0.956863, 1))
  802. for i = 1,20 do
  803. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
  804. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
  805. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
  806. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
  807. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
  808. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  809. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
  810. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  811. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
  812. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  813. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  814. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  815. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  816. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  817. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  818. wait()
  819. end
  820. else
  821. equiped = false
  822. hum.WalkSpeed = 0
  823. hum.JumpPower = 0
  824. for i = 1,20 do
  825. 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
  826. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(44.576), math.rad(80.787), 0),.1)--RightUpperArm
  827. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(92.934),rad(0),rad(0)),.1)--LeftLowerArm
  828. 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
  829. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(59.588),rad(0),rad(0)),.1)--LeftUpperLeg
  830. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(1.089),rad(0),rad(0)),.1)--RightUpperLeg
  831. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-38.044),rad(0),rad(0)),.1)--LeftLowerLeg
  832. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-17.704),rad(0),rad(0)),.1)--RightUpperLeg
  833. Root.C0 = Root.C0:lerp(CFrame.new(0, -0.206, 0.078)*CFrame.Angles(rad(-20.856),rad(0),rad(0)),.1)--Torso
  834. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--Head
  835. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  836. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  837. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  838. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  839. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  840. wait()
  841. end
  842.  
  843. ParticleEmitter0:Destroy()
  844. for i = 1,20 do
  845. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency+0.1
  846. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency+0.1
  847. wait()
  848. end
  849. for i = 1,20 do
  850. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
  851. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
  852. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
  853. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
  854. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
  855. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  856. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
  857. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  858. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
  859. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  860. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  861. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  862. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  863. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  864. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  865. wait()
  866. end
  867. hum.WalkSpeed = 15
  868. hum.JumpPower = 50
  869. end
  870. end
  871. function beam()
  872. if debounce == true then
  873. if equiped == true then
  874. debounce = false
  875. local finalflash = false
  876. local finalgo = 0
  877. local finalgo1 = 6
  878. game:GetService("RunService").RenderStepped:connect(function()
  879. if finalflash == true then
  880. finalgo = finalgo + 1
  881. finalgo1 = finalgo1 + 2
  882. char.FinalFlash.Size = Vector3.new(finalgo1,2,2)
  883. char.inFinalFlash.Size = Vector3.new(finalgo1,2,2)
  884. char.FinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  885.  
  886. char.inFinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  887.  
  888. end
  889. end)
  890.  
  891. shootsnd:Play()
  892.  
  893. local RayThing = Instance.new("Part",char)
  894. RayThing.Size = Vector3.new(5,1,1)
  895. RayThing.Shape = "Cylinder"
  896. RayThing.Name = "FinalFlash"
  897. RayThing.CanCollide = false
  898. RayThing.Transparency = 0
  899. RayThing.Anchored = true
  900. RayThing.Material = "Neon"
  901. RayThing.BrickColor = BrickColor.new("White")
  902.  
  903. local inRayThing = Instance.new("Part",char)
  904. inRayThing.Size = Vector3.new(5,1,1)
  905. inRayThing.Transparency = 1
  906. inRayThing.Shape = "Cylinder"
  907. inRayThing.Name = "inFinalFlash"
  908. inRayThing.CanCollide = false
  909. inRayThing.Anchored = true
  910. inRayThing.Material = "Neon"
  911. inRayThing.BrickColor = BrickColor.new("White")
  912. inRayThing.Touched:connect(function(hit)
  913.  
  914.  
  915. if hit.Parent == char then return end
  916. if hit.Parent == workspace.Base then return end
  917. for i,v in pairs(hit.Parent:GetChildren()) do
  918. if v:IsA("Humanoid") then
  919. if hdebounce == true then
  920. hdebounce = false
  921. 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)
  922. v.Health = v.Health - 30
  923. wait(1)
  924. hdebounce = true
  925. end
  926.  
  927.  
  928. end
  929. end
  930.  
  931. end)
  932. finalflash = true
  933.  
  934. wait(0.5)
  935.  
  936. finalflash = false
  937. for i = 1,10 do
  938. char.FinalFlash.Size = char.FinalFlash.Size+Vector3.new(0,-1,0)
  939. char.FinalFlash.Transparency = char.FinalFlash.Transparency+0.05
  940. char.FinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  941.  
  942. char.inFinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  943. wait()
  944. end
  945. inRayThing:Destroy()
  946. RayThing:Destroy()
  947. finalgo = 0
  948. finalgo1 = 6
  949. debounce = true
  950. end
  951. end
  952. end
  953. function beam2()
  954. if equiped == true then
  955. if debounce == true then
  956. debounce = false
  957. local finalflash = false
  958. local finalgo = 0
  959. local finalgo1 = 6
  960. game:GetService("RunService").RenderStepped:connect(function()
  961. if finalflash == true then
  962. finalgo = finalgo + 1
  963. finalgo1 = finalgo1 + 2
  964.  
  965. char.FinalFlash.Size = Vector3.new(finalgo1,2,2)
  966. char.inFinalFlash.Size = Vector3.new(finalgo1,2,2)
  967. char.inFinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  968. char.FinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  969.  
  970.  
  971. end
  972. end)
  973.  
  974. shootsnd:Play()
  975. local RayThing = Instance.new("Part",char)
  976. RayThing.Size = Vector3.new(5,1,1)
  977. RayThing.Shape = "Cylinder"
  978. RayThing.Name = "FinalFlash"
  979. RayThing.CanCollide = false
  980. RayThing.Transparency = 0
  981. RayThing.Anchored = true
  982. RayThing.Material = "Neon"
  983. RayThing.BrickColor = BrickColor.new("White")
  984.  
  985. local inRayThing = Instance.new("Part",char)
  986. inRayThing.Size = Vector3.new(10,1,1)
  987. inRayThing.Transparency = 1
  988. inRayThing.Shape = "Cylinder"
  989. inRayThing.Name = "inFinalFlash"
  990. inRayThing.CanCollide = false
  991. inRayThing.Anchored = true
  992. inRayThing.Material = "Neon"
  993. inRayThing.BrickColor = BrickColor.new("White")
  994.  
  995. RayThing.Touched:connect(function(hit)
  996.  
  997.  
  998. if hit.Parent == char then return end
  999. if hit.Parent == workspace.Base then return end
  1000. for i,v in pairs(hit.Parent:GetChildren()) do
  1001. if v:IsA("Humanoid") then
  1002. if hdebounce == true then
  1003. hdebounce = false
  1004. local hitnumb = math.random(1,2)
  1005. v.Health = v.Health - math.random(10,20)
  1006. if hitnumb == 1 then
  1007. 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)
  1008. end
  1009. if hitnumb == 2 then
  1010. 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)
  1011. end
  1012. wait(1)
  1013. hdebounce = true
  1014. end
  1015.  
  1016.  
  1017. end
  1018. end
  1019.  
  1020. end)
  1021. finalflash = true
  1022.  
  1023. wait(0.5)
  1024.  
  1025. finalflash = false
  1026. for i = 1,10 do
  1027. char.FinalFlash.Size = char.FinalFlash.Size+Vector3.new(0,-1,0)
  1028. char.FinalFlash.Transparency = char.FinalFlash.Transparency+0.05
  1029. char.inFinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  1030. char.FinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  1031. wait()
  1032. end
  1033.  
  1034. inRayThing:Destroy()
  1035. RayThing:Destroy()
  1036. finalgo = 0
  1037. finalgo1 = 6
  1038. debounce = true
  1039. end
  1040. end
  1041. end
  1042. mounted = false
  1043. function mount()
  1044. if equiped == true then
  1045. if mounted == false then
  1046. mounted = true
  1047. char.Humanoid.PlatformStand = true
  1048. local mountw = new("Weld",RGhasterBlaster)
  1049. mountw.Part0 = char.HumanoidRootPart
  1050. mountw.Part1 = RGhasterBlaster
  1051. mountw.Name = "mountw"
  1052. mountw.C1 = CFrame.new(0,3,0)
  1053. for i = 1,5 do
  1054. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5) --LeftUpperArm
  1055. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--RightUpperArm
  1056. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--Head
  1057. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--LeftUpperLeg
  1058. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--RightUpperLeg
  1059. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--LeftLowerLeg
  1060. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--RightUpperLeg
  1061. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-170),rad(0),rad(0)),.1)--Torso
  1062. wait()
  1063. end
  1064.  
  1065. elseif mounted == true then
  1066. mounted = false
  1067. for i = 1,5 do
  1068. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5) --LeftUpperArm
  1069. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperArm
  1070. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head
  1071. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg
  1072. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
  1073. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
  1074. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
  1075. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso
  1076. wait()
  1077. end
  1078. char.Humanoid.PlatformStand = false
  1079. RGhasterBlaster.mountw:destroy()
  1080. RGhasterBlaster.CFrame = char.LeftHand.CFrame
  1081. end
  1082. end
  1083. end
  1084. local srot = 0
  1085. mouse.Button1Down:connect(function()
  1086. ral = math.random(1,2)
  1087. if ral == 1 then
  1088. beam()
  1089. end
  1090. if ral == 2 then
  1091. beam2()
  1092. end
  1093.  
  1094.  
  1095. end)
  1096. function cross()
  1097. if equiped == true then
  1098. if debounce == true then
  1099. debounce = false
  1100. local targeta = new("Part",char)
  1101. targeta.Position = mouse.Hit.p
  1102. targeta.Anchored = true
  1103. targeta.CanCollide = false
  1104. targeta.Transparency = 1
  1105.  
  1106. local CrossGhast1 = new("Part",char)
  1107. CrossGhast1.CanCollide = false
  1108. CrossGhast1.Anchored = false
  1109. CrossGhast1.Size = v3(1,1,1)
  1110. CrossGhast1.Material = "Neon"
  1111. CrossGhast1.BrickColor = bc("White")
  1112. CrossGhast1.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1113.  
  1114.  
  1115. local zxc = Instance.new("SpecialMesh",CrossGhast1)
  1116. zxc.MeshType = "FileMesh"
  1117. zxc.Scale = Vector3.new(2,2,2)
  1118. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1119. PointBP = Instance.new("BodyPosition",CrossGhast1)
  1120. PointBP.Position = (targeta.CFrame*CFrame.new(20,1,0)).p
  1121. PointBP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1122. local PointBG=Instance.new("BodyGyro",CrossGhast1)
  1123. PointBG.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1124. PointBG.D=400
  1125. local CrossGhast2 = new("Part",char)
  1126. CrossGhast2.CanCollide = false
  1127. CrossGhast2.Anchored = false
  1128. CrossGhast2.Size = v3(1,1,1)
  1129. CrossGhast2.Material = "Neon"
  1130. CrossGhast2.BrickColor = bc("White")
  1131. CrossGhast2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1132.  
  1133. local zxc = Instance.new("SpecialMesh",CrossGhast2)
  1134. zxc.MeshType = "FileMesh"
  1135. zxc.Scale = Vector3.new(2,2,2)
  1136. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1137. PointBP2 = Instance.new("BodyPosition",CrossGhast2)
  1138. PointBP2.Position = (targeta.CFrame*CFrame.new(-20,1,0)).p
  1139. PointBP2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1140. local PointBG2=Instance.new("BodyGyro",CrossGhast2)
  1141. PointBG2.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1142. PointBG2.D=400
  1143. local CrossGhast3 = new("Part",char)
  1144. CrossGhast3.CanCollide = false
  1145. CrossGhast3.Anchored = false
  1146. CrossGhast3.Size = v3(1,1,1)
  1147. CrossGhast3.Material = "Neon"
  1148. CrossGhast3.BrickColor = bc("White")
  1149. CrossGhast3.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1150.  
  1151. local zxc = Instance.new("SpecialMesh",CrossGhast3)
  1152. zxc.MeshType = "FileMesh"
  1153. zxc.Scale = Vector3.new(2,2,2)
  1154. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1155. PointBP3 = Instance.new("BodyPosition",CrossGhast3)
  1156. PointBP3.Position = (targeta.CFrame*CFrame.new(0,1,-20)).p
  1157. PointBP3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1158. local PointBG3=Instance.new("BodyGyro",CrossGhast3)
  1159. PointBG3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1160. PointBG3.D=400
  1161. local CrossGhasta = new("Part",char)
  1162. CrossGhasta.CanCollide = false
  1163. CrossGhasta.Anchored = false
  1164. CrossGhasta.Size = v3(1,1,1)
  1165. CrossGhasta.Material = "Neon"
  1166. CrossGhasta.BrickColor = bc("White")
  1167. CrossGhasta.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1168.  
  1169. local zxc = Instance.new("SpecialMesh",CrossGhasta)
  1170. zxc.MeshType = "FileMesh"
  1171. zxc.Scale = Vector3.new(2,2,2)
  1172. zxc.MeshId = "http://www.roblox.csdom/asset/?id=920580395"
  1173. PointBPa = Instance.new("BodyPosition",CrossGhasta)
  1174. PointBPa.Position = (targeta.CFrame*CFrame.new(0,1,20)).p
  1175. PointBPa.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1176. local PointBGa=Instance.new("BodyGyro",CrossGhasta)
  1177. PointBGa.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1178. PointBGa.D=400
  1179. for i = 1,50 do
  1180. PointBG.CFrame=CFrame.new(CrossGhast1.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1181. PointBG2.CFrame=CFrame.new(CrossGhast2.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1182. PointBG3.CFrame=CFrame.new(CrossGhast3.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1183. PointBGa.CFrame=CFrame.new(CrossGhasta.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  1184.  
  1185. wait()
  1186. end
  1187. shootsnd:Play()
  1188. local GhastShot1 = new("Part",CrossGhast1)
  1189. GhastShot1.Shape = "Cylinder"
  1190. GhastShot1.Size = v3(100,5,5)
  1191. GhastShot1.BrickColor = bc("White")
  1192. GhastShot1.Material = "Neon"
  1193. GhastShot1.CanCollide = false
  1194. GhastShot1.Anchored = true
  1195. GhastShot1.CFrame = CrossGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1196. local GhastShot2 = new("Part",CrossGhast1)
  1197. GhastShot2.Shape = "Cylinder"
  1198. GhastShot2.Size = v3(100,5,5)
  1199. GhastShot2.BrickColor = bc("White")
  1200. GhastShot2.Material = "Neon"
  1201. GhastShot2.CanCollide = false
  1202. GhastShot2.Anchored = true
  1203. GhastShot2.CFrame = CrossGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1204. local GhastShot3 = new("Part",CrossGhast1)
  1205. GhastShot3.Shape = "Cylinder"
  1206. GhastShot3.Size = v3(100,5,5)
  1207. GhastShot3.BrickColor = bc("White")
  1208. GhastShot3.Material = "Neon"
  1209. GhastShot3.CanCollide = false
  1210. GhastShot3.Anchored = true
  1211. GhastShot3.CFrame = CrossGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1212. local GhastShota = new("Part",CrossGhast1)
  1213. GhastShota.Shape = "Cylinder"
  1214. GhastShota.Size = v3(100,5,5)
  1215. GhastShota.BrickColor = bc("White")
  1216. GhastShota.Material = "Neon"
  1217. GhastShota.CanCollide = false
  1218. GhastShota.Anchored = true
  1219. GhastShota.CFrame = CrossGhasta.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1220. GhastShota.Touched:connect(function(hit)
  1221.  
  1222.  
  1223. if hit.Parent == char then return end
  1224. if hit.Parent == workspace.Base then return end
  1225. for i,v in pairs(hit.Parent:GetChildren()) do
  1226. if v:IsA("Humanoid") then
  1227. if hdebounce == true then
  1228. hdebounce = false
  1229. local hitnumb2 = math.random(1,2)
  1230. for i = 1,20 do
  1231. v.Health = v.Health-2
  1232. wait(0.01)
  1233. end
  1234. if hitnumb == 1 then
  1235. 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)
  1236. end
  1237. if hitnumb == 2 then
  1238. 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)
  1239. end
  1240. wait(0.9)
  1241. hdebounce = true
  1242. end
  1243.  
  1244.  
  1245. end
  1246. end
  1247.  
  1248. end)
  1249. GhastShot1.Touched:connect(function(hit)
  1250.  
  1251. if hit.Parent == char then return end
  1252. if hit.Parent == workspace.Base then return end
  1253. for i,v in pairs(hit.Parent:GetChildren()) do
  1254. if v:IsA("Humanoid") then
  1255. if hdebounce == true then
  1256. hdebounce = false
  1257. local hitnumb2 = math.random(1,2)
  1258. for i = 1,20 do
  1259. v.Health = v.Health-2
  1260. wait(0.01)
  1261. end
  1262. if hitnumb == 1 then
  1263. 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)
  1264. end
  1265. if hitnumb == 2 then
  1266. 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)
  1267. end
  1268. wait(0.9)
  1269. hdebounce = true
  1270. end
  1271.  
  1272.  
  1273. end
  1274. end
  1275.  
  1276. end)
  1277. GhastShot2.Touched:connect(function(hit)
  1278. if hit.Parent == workspace.Base then return end
  1279.  
  1280. if hit.Parent == char then return end
  1281.  
  1282. for i,v in pairs(hit.Parent:GetChildren()) do
  1283. if v:IsA("Humanoid") then
  1284. if hdebounce == true then
  1285. hdebounce = false
  1286. local hitnumb2 = math.random(1,2)
  1287. for i = 1,20 do
  1288. v.Health = v.Health-2
  1289. wait(0.01)
  1290. end
  1291. if hitnumb == 1 then
  1292. 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)
  1293. end
  1294. if hitnumb == 2 then
  1295. 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)
  1296. end
  1297. wait(0.9)
  1298. hdebounce = true
  1299. end
  1300.  
  1301.  
  1302. end
  1303. end
  1304.  
  1305. end)
  1306. GhastShot3.Touched:connect(function(hit)
  1307. if hit.Parent == workspace.Base then return end
  1308. if hit.Parent == char then return end
  1309.  
  1310. for i,v in pairs(hit.Parent:GetChildren()) do
  1311. if v:IsA("Humanoid") then
  1312. if hdebounce == true then
  1313. hdebounce = false
  1314. local hitnumb2 = math.random(1,2)
  1315. for i = 1,20 do
  1316. v.Health = v.Health-2
  1317. wait(0.01)
  1318. end
  1319. if hitnumb == 1 then
  1320. 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)
  1321. end
  1322. if hitnumb == 2 then
  1323. 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)
  1324. end
  1325. wait(0.9)
  1326. hdebounce = true
  1327. end
  1328.  
  1329.  
  1330. end
  1331. end
  1332.  
  1333. end)
  1334. wait(0.2)
  1335. for i = 1,10 do
  1336. GhastShot1.Size = GhastShot1.Size+v3(0,-1,-1)
  1337. GhastShot2.Size = GhastShot2.Size+v3(0,-1,-1)
  1338. GhastShot3.Size = GhastShot3.Size+v3(0,-1,-1)
  1339. GhastShota.Size = GhastShota.Size+v3(0,-1,-1)
  1340. GhastShot1.CFrame = CrossGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1341. GhastShot2.CFrame = CrossGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1342. GhastShot3.CFrame = CrossGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1343. GhastShota.CFrame = CrossGhasta.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1344. GhastShot1.Transparency = GhastShot1.Transparency+0.1
  1345. GhastShot2.Transparency = GhastShot2.Transparency+0.1
  1346. GhastShot3.Transparency = GhastShot3.Transparency+0.1
  1347. GhastShota.Transparency = GhastShota.Transparency+0.1
  1348.  
  1349. wait()
  1350. end
  1351. wait(1)
  1352. for i = 1,10 do
  1353. CrossGhast2.Transparency = CrossGhast2.Transparency+0.1
  1354. CrossGhast1.Transparency = CrossGhast1.Transparency+0.1
  1355. CrossGhasta.Transparency = CrossGhasta.Transparency+0.1
  1356. CrossGhast3.Transparency = CrossGhast3.Transparency+0.1
  1357. wait()
  1358. end
  1359. CrossGhast1:destroy()
  1360. CrossGhast2:destroy()
  1361. CrossGhast3:destroy()
  1362. CrossGhasta:destroy()
  1363. wait(1)
  1364. debounce = true
  1365. end
  1366. end
  1367. end
  1368. local dodgedebounce = true
  1369. function DodgeLeft()
  1370. if dodgedebounce == true then
  1371. dodgedebounce = false
  1372. local currentpos=Vector3.new(char.HumanoidRootPart.Position.X,char.HumanoidRootPart.Position.Y,char.HumanoidRootPart.Position.Z)
  1373. local bodyp=Instance.new("BodyPosition",char.HumanoidRootPart)
  1374. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  1375. bodyp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(-15,0,0)).p
  1376. wait(0.8)
  1377. bodyp.Position=currentpos
  1378. wait(0.5)
  1379. bodyp:Destroy()
  1380. wait(1)
  1381. dodgedebounce = true
  1382. end
  1383. end
  1384. function RightDodge()
  1385. if dodgedebounce == true then
  1386. dodgedebounce = false
  1387. local currentpos=Vector3.new(char.HumanoidRootPart.Position.X,char.HumanoidRootPart.Position.Y,char.HumanoidRootPart.Position.Z)
  1388. local bodyp=Instance.new("BodyPosition",char.HumanoidRootPart)
  1389. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  1390. bodyp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(15,0,0)).p
  1391. wait(0.8)
  1392. bodyp.Position=currentpos
  1393. wait(0.5)
  1394. bodyp:Destroy()
  1395. wait(1)
  1396. dodgedebounce = true
  1397. end
  1398. end
  1399. function octo()
  1400. if equiped == true then
  1401. if debounce == true then
  1402. debounce = false
  1403. local target2 = new("Part",char)
  1404. target2.Position = mouse.Hit.p
  1405. target2.Anchored = true
  1406. target2.CanCollide = false
  1407. target2.Transparency = 1
  1408. local OctoGhast1 = new("Part",char)
  1409. OctoGhast1.CanCollide = false
  1410. OctoGhast1.Anchored = false
  1411. OctoGhast1.Size = v3(1,1,1)
  1412. OctoGhast1.Material = "Neon"
  1413. OctoGhast1.BrickColor = bc("White")
  1414. OctoGhast1.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1415.  
  1416.  
  1417. local zxc = Instance.new("SpecialMesh",OctoGhast1)
  1418. zxc.MeshType = "FileMesh"
  1419. zxc.Scale = Vector3.new(2,2,2)
  1420. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1421. PointBPOcto1 = Instance.new("BodyPosition",OctoGhast1)
  1422. PointBPOcto1.Position = (target2.CFrame*CFrame.new(20,1,0)).p
  1423. PointBPOcto1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1424. local PointBGOcto1=Instance.new("BodyGyro",OctoGhast1)
  1425. PointBGOcto1.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1426. PointBGOcto1.D=400
  1427. local OctoGhast2 = new("Part",char)
  1428. OctoGhast2.CanCollide = false
  1429. OctoGhast2.Anchored = false
  1430. OctoGhast2.Size = v3(1,1,1)
  1431. OctoGhast2.Material = "Neon"
  1432. OctoGhast2.BrickColor = bc("White")
  1433. OctoGhast2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1434.  
  1435. local zxc = Instance.new("SpecialMesh",OctoGhast2)
  1436. zxc.MeshType = "FileMesh"
  1437. zxc.Scale = Vector3.new(2,2,2)
  1438. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1439. PointBPOcto2 = Instance.new("BodyPosition",OctoGhast2)
  1440. PointBPOcto2.Position = (target2.CFrame*CFrame.new(-20,1,0)).p
  1441. PointBPOcto2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1442. local PointBGOcto2=Instance.new("BodyGyro",OctoGhast2)
  1443. PointBGOcto2.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1444. PointBGOcto2.D=400
  1445. local OctoGhast3 = new("Part",char)
  1446. OctoGhast3.CanCollide = false
  1447. OctoGhast3.Anchored = false
  1448. OctoGhast3.Size = v3(1,1,1)
  1449. OctoGhast3.Material = "Neon"
  1450. OctoGhast3.BrickColor = bc("White")
  1451. OctoGhast3.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1452.  
  1453.  
  1454. local zxc = Instance.new("SpecialMesh",OctoGhast3)
  1455. zxc.MeshType = "FileMesh"
  1456. zxc.Scale = Vector3.new(2,2,2)
  1457. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1458. PointBPOcto3 = Instance.new("BodyPosition",OctoGhast3)
  1459. PointBPOcto3.Position = (target2.CFrame*CFrame.new(0,1,-20)).p
  1460. PointBPOcto3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1461. local PointBGOcto3=Instance.new("BodyGyro",OctoGhast3)
  1462. PointBGOcto3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1463. PointBGOcto3.D=400
  1464. local OctoGhast4 = new("Part",char)
  1465. OctoGhast4.CanCollide = false
  1466. OctoGhast4.Anchored = false
  1467. OctoGhast4.Size = v3(1,1,1)
  1468. OctoGhast4.Material = "Neon"
  1469. OctoGhast4.BrickColor = bc("White")
  1470. OctoGhast4.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1471.  
  1472.  
  1473. local zxc = Instance.new("SpecialMesh",OctoGhast4)
  1474. zxc.MeshType = "FileMesh"
  1475. zxc.Scale = Vector3.new(2,2,2)
  1476. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1477. PointBPOcto4 = Instance.new("BodyPosition",OctoGhast4)
  1478. PointBPOcto4.Position = (target2.CFrame*CFrame.new(0,1,20)).p
  1479. PointBPOcto4.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1480. local PointBGOcto4=Instance.new("BodyGyro",OctoGhast4)
  1481. PointBGOcto4.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1482. PointBGOcto4.D=400
  1483. local OctoGhast5 = new("Part",char)
  1484. OctoGhast5.CanCollide = false
  1485. OctoGhast5.Anchored = false
  1486. OctoGhast5.Size = v3(1,1,1)
  1487. OctoGhast5.Material = "Neon"
  1488. OctoGhast5.BrickColor = bc("White")
  1489. OctoGhast5.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1490.  
  1491.  
  1492. local zxc = Instance.new("SpecialMesh",OctoGhast5)
  1493. zxc.MeshType = "FileMesh"
  1494. zxc.Scale = Vector3.new(2,2,2)
  1495. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1496. PointBPOcto5 = Instance.new("BodyPosition",OctoGhast5)
  1497. PointBPOcto5.Position = (target2.CFrame*CFrame.new(15,1,-20)).p
  1498. PointBPOcto5.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1499. local PointBGOcto5=Instance.new("BodyGyro",OctoGhast5)
  1500. PointBGOcto5.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1501. PointBGOcto5.D=400
  1502. local OctoGhast6 = new("Part",char)
  1503. OctoGhast6.CanCollide = false
  1504. OctoGhast6.Anchored = false
  1505. OctoGhast6.Size = v3(1,1,1)
  1506. OctoGhast6.Material = "Neon"
  1507. OctoGhast6.BrickColor = bc("White")
  1508. OctoGhast6.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1509.  
  1510.  
  1511. local zxc = Instance.new("SpecialMesh",OctoGhast6)
  1512. zxc.MeshType = "FileMesh"
  1513. zxc.Scale = Vector3.new(2,2,2)
  1514. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1515. PointBPOcto6 = Instance.new("BodyPosition",OctoGhast6)
  1516. PointBPOcto6.Position = (target2.CFrame*CFrame.new(-15,1,20)).p
  1517. PointBPOcto6.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1518. local PointBGOcto6=Instance.new("BodyGyro",OctoGhast6)
  1519. PointBGOcto6.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1520. PointBGOcto6.D=400
  1521. local OctoGhast7 = new("Part",char)
  1522. OctoGhast7.CanCollide = false
  1523. OctoGhast7.Anchored = false
  1524. OctoGhast7.Size = v3(1,1,1)
  1525. OctoGhast7.Material = "Neon"
  1526. OctoGhast7.BrickColor = bc("White")
  1527. OctoGhast7.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1528.  
  1529.  
  1530. local zxc = Instance.new("SpecialMesh",OctoGhast7)
  1531. zxc.MeshType = "FileMesh"
  1532. zxc.Scale = Vector3.new(2,2,2)
  1533. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1534. PointBPOcto7 = Instance.new("BodyPosition",OctoGhast7)
  1535. PointBPOcto7.Position = (target2.CFrame*CFrame.new(15,1,15)).p
  1536. PointBPOcto7.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1537. local PointBGOcto7=Instance.new("BodyGyro",OctoGhast7)
  1538. PointBGOcto7.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1539. PointBGOcto7.D=400
  1540. local OctoGhast8 = new("Part",char)
  1541. OctoGhast8.CanCollide = false
  1542. OctoGhast8.Anchored = false
  1543. OctoGhast8.Size = v3(1,1,1)
  1544. OctoGhast8.Material = "Neon"
  1545. OctoGhast8.BrickColor = bc("White")
  1546. OctoGhast8.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1547.  
  1548.  
  1549. local zxc = Instance.new("SpecialMesh",OctoGhast8)
  1550. zxc.MeshType = "FileMesh"
  1551. zxc.Scale = Vector3.new(2,2,2)
  1552. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1553. PointBPOcto8 = Instance.new("BodyPosition",OctoGhast8)
  1554. PointBPOcto8.Position = (target2.CFrame*CFrame.new(-15,1,-15)).p
  1555. PointBPOcto8.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1556. local PointBGOcto8=Instance.new("BodyGyro",OctoGhast8)
  1557. PointBGOcto8.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1558. PointBGOcto8.D=400
  1559. for i = 1,50 do
  1560. PointBGOcto5.CFrame=CFrame.new(OctoGhast5.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1561. PointBGOcto4.CFrame=CFrame.new(OctoGhast4.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1562. PointBGOcto1.CFrame=CFrame.new(OctoGhast1.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1563. PointBGOcto2.CFrame=CFrame.new(OctoGhast2.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1564. PointBGOcto3.CFrame=CFrame.new(OctoGhast3.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1565. PointBGOcto6.CFrame=CFrame.new(OctoGhast6.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1566. PointBGOcto7.CFrame=CFrame.new(OctoGhast7.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1567. PointBGOcto8.CFrame=CFrame.new(OctoGhast8.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1568. wait()
  1569. end
  1570. shootsnd:Play()
  1571. local GhastShotaA = new("Part",OctoGhast1)
  1572. GhastShotaA.Shape = "Cylinder"
  1573. GhastShotaA.Size = v3(100,5,5)
  1574. GhastShotaA.BrickColor = bc("White")
  1575. GhastShotaA.Material = "Neon"
  1576. GhastShotaA.CanCollide = false
  1577. GhastShotaA.Anchored = true
  1578. GhastShotaA.CFrame = OctoGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1579. local GhastShotaB = new("Part",OctoGhast2)
  1580. GhastShotaB.Shape = "Cylinder"
  1581. GhastShotaB.Size = v3(100,5,5)
  1582. GhastShotaB.BrickColor = bc("White")
  1583. GhastShotaB.Material = "Neon"
  1584. GhastShotaB.CanCollide = false
  1585. GhastShotaB.Anchored = true
  1586. GhastShotaB.CFrame = OctoGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1587. local GhastShotaC = new("Part",OctoGhast3)
  1588. GhastShotaC.Shape = "Cylinder"
  1589. GhastShotaC.Size = v3(100,5,5)
  1590. GhastShotaC.BrickColor = bc("White")
  1591. GhastShotaC.Material = "Neon"
  1592. GhastShotaC.CanCollide = false
  1593. GhastShotaC.Anchored = true
  1594. GhastShotaC.CFrame = OctoGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1595. local GhastShotaD = new("Part",OctoGhast4)
  1596. GhastShotaD.Shape = "Cylinder"
  1597. GhastShotaD.Size = v3(100,5,5)
  1598. GhastShotaD.BrickColor = bc("White")
  1599. GhastShotaD.Material = "Neon"
  1600. GhastShotaD.CanCollide = false
  1601. GhastShotaD.Anchored = true
  1602. GhastShotaD.CFrame = OctoGhast4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1603. local GhastShotaE = new("Part",OctoGhast5)
  1604. GhastShotaE.Shape = "Cylinder"
  1605. GhastShotaE.Size = v3(100,5,5)
  1606. GhastShotaE.BrickColor = bc("White")
  1607. GhastShotaE.Material = "Neon"
  1608. GhastShotaE.CanCollide = false
  1609. GhastShotaE.Anchored = true
  1610. GhastShotaE.CFrame = OctoGhast5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1611. local GhastShotaF = new("Part",OctoGhast6)
  1612. GhastShotaF.Shape = "Cylinder"
  1613. GhastShotaF.Size = v3(100,5,5)
  1614. GhastShotaF.BrickColor = bc("White")
  1615. GhastShotaF.Material = "Neon"
  1616. GhastShotaF.CanCollide = false
  1617. GhastShotaF.Anchored = true
  1618. GhastShotaF.CFrame = OctoGhast6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1619. local GhastShotaG = new("Part",OctoGhast7)
  1620. GhastShotaG.Shape = "Cylinder"
  1621. GhastShotaG.Size = v3(100,5,5)
  1622. GhastShotaG.BrickColor = bc("White")
  1623. GhastShotaG.Material = "Neon"
  1624. GhastShotaG.CanCollide = false
  1625. GhastShotaG.Anchored = true
  1626. GhastShotaG.CFrame = OctoGhast7.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1627. local GhastShotaH = new("Part",OctoGhast8)
  1628. GhastShotaH.Shape = "Cylinder"
  1629. GhastShotaH.Size = v3(100,5,5)
  1630. GhastShotaH.BrickColor = bc("White")
  1631. GhastShotaH.Material = "Neon"
  1632. GhastShotaH.CanCollide = false
  1633. GhastShotaH.Anchored = true
  1634. GhastShotaH.CFrame = OctoGhast8.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1635. GhastShotaA.Touched:connect(function(hit)
  1636.  
  1637.  
  1638. if hit.Parent == char then return end
  1639. if hit.Parent == workspace.Base then return end
  1640. for i,v in pairs(hit.Parent:GetChildren()) do
  1641. if v:IsA("Humanoid") then
  1642. if hdebounce == true then
  1643. hdebounce = false
  1644.  
  1645. for i = 1,20 do
  1646. v.Health = v.Health-2
  1647. wait(0.01)
  1648. end
  1649. local hitnumb = math.random(1,2)
  1650.  
  1651. if hitnumb == 1 then
  1652. 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)
  1653. end
  1654. if hitnumb == 2 then
  1655. 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)
  1656. end
  1657. wait(0.9)
  1658. hdebounce = true
  1659. end
  1660.  
  1661.  
  1662. end
  1663. end
  1664.  
  1665. end)
  1666. GhastShotaB.Touched:connect(function(hit)
  1667. if hit.Parent == workspace.Base then return end
  1668.  
  1669. if hit.Parent == char then return end
  1670.  
  1671. for i,v in pairs(hit.Parent:GetChildren()) do
  1672. if v:IsA("Humanoid") then
  1673. if hdebounce == true then
  1674. hdebounce = false
  1675.  
  1676. for i = 1,20 do
  1677. v.Health = v.Health-2
  1678. wait(0.01)
  1679. end
  1680. local hitnumb = math.random(1,2)
  1681.  
  1682. if hitnumb == 1 then
  1683. 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)
  1684. end
  1685. if hitnumb == 2 then
  1686. 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)
  1687. end
  1688. wait(0.9)
  1689. hdebounce = true
  1690. end
  1691.  
  1692.  
  1693. end
  1694. end
  1695.  
  1696. end)
  1697. GhastShotaC.Touched:connect(function(hit)
  1698.  
  1699. if hit.Parent == workspace.Base then return end
  1700. if hit.Parent == char then return end
  1701.  
  1702. for i,v in pairs(hit.Parent:GetChildren()) do
  1703. if v:IsA("Humanoid") then
  1704. if hdebounce == true then
  1705. hdebounce = false
  1706.  
  1707. for i = 1,20 do
  1708. v.Health = v.Health-2
  1709. wait(0.01)
  1710. end
  1711. local hitnumb = math.random(1,2)
  1712.  
  1713. if hitnumb == 1 then
  1714. 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)
  1715. end
  1716. if hitnumb == 2 then
  1717. 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)
  1718. end
  1719. wait(0.9)
  1720. hdebounce = true
  1721. end
  1722.  
  1723.  
  1724. end
  1725. end
  1726.  
  1727. end)
  1728. GhastShotaD.Touched:connect(function(hit)
  1729. if hit.Parent == workspace.Base then return end
  1730.  
  1731. if hit.Parent == char then return end
  1732.  
  1733. for i,v in pairs(hit.Parent:GetChildren()) do
  1734. if v:IsA("Humanoid") then
  1735. if hdebounce == true then
  1736. hdebounce = false
  1737.  
  1738. for i = 1,20 do
  1739. v.Health = v.Health-2
  1740. wait(0.01)
  1741. end
  1742. local hitnumb = math.random(1,2)
  1743.  
  1744. if hitnumb == 1 then
  1745. 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)
  1746. end
  1747. if hitnumb == 2 then
  1748. 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)
  1749. end
  1750. wait(0.9)
  1751. hdebounce = true
  1752. end
  1753.  
  1754.  
  1755. end
  1756. end
  1757.  
  1758. end)
  1759. GhastShotaE.Touched:connect(function(hit)
  1760. if hit.Parent == workspace.Base then return end
  1761.  
  1762. if hit.Parent == char then return end
  1763.  
  1764. for i,v in pairs(hit.Parent:GetChildren()) do
  1765. if v:IsA("Humanoid") then
  1766. if hdebounce == true then
  1767. hdebounce = false
  1768.  
  1769. for i = 1,20 do
  1770. v.Health = v.Health-2
  1771. wait(0.01)
  1772. end
  1773. local hitnumb = math.random(1,2)
  1774.  
  1775. if hitnumb == 1 then
  1776. 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)
  1777. end
  1778. if hitnumb == 2 then
  1779. 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)
  1780. end
  1781. wait(0.9)
  1782. hdebounce = true
  1783. end
  1784.  
  1785.  
  1786. end
  1787. end
  1788.  
  1789. end)
  1790. GhastShotaF.Touched:connect(function(hit)
  1791.  
  1792. if hit.Parent == workspace.Base then return end
  1793. if hit.Parent == char then return end
  1794.  
  1795. for i,v in pairs(hit.Parent:GetChildren()) do
  1796. if v:IsA("Humanoid") then
  1797. if hdebounce == true then
  1798. hdebounce = false
  1799.  
  1800. for i = 1,20 do
  1801. v.Health = v.Health-2
  1802. wait(0.01)
  1803. end
  1804. local hitnumb = math.random(1,2)
  1805.  
  1806. if hitnumb == 1 then
  1807. 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)
  1808. end
  1809. if hitnumb == 2 then
  1810. 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)
  1811. end
  1812. wait(0.9)
  1813.  
  1814. hdebounce = true
  1815. end
  1816.  
  1817.  
  1818. end
  1819. end
  1820.  
  1821. end)
  1822. GhastShotaG.Touched:connect(function(hit)
  1823.  
  1824. if hit.Parent == workspace.Base then return end
  1825. if hit.Parent == char then return end
  1826.  
  1827. for i,v in pairs(hit.Parent:GetChildren()) do
  1828. if v:IsA("Humanoid") then
  1829. if hdebounce == true then
  1830. hdebounce = false
  1831.  
  1832. for i = 1,20 do
  1833. v.Health = v.Health-2
  1834. wait(0.01)
  1835. end
  1836. local hitnumb = math.random(1,2)
  1837.  
  1838. if hitnumb == 1 then
  1839. 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)
  1840. end
  1841. if hitnumb == 2 then
  1842. 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)
  1843. end
  1844. wait(0.9)
  1845. hdebounce = true
  1846. end
  1847.  
  1848.  
  1849. end
  1850. end
  1851.  
  1852. end)
  1853. GhastShotaH.Touched:connect(function(hit)
  1854. if hit.Parent == workspace.Base then return end
  1855.  
  1856. if hit.Parent == char then return end
  1857.  
  1858. for i,v in pairs(hit.Parent:GetChildren()) do
  1859. if v:IsA("Humanoid") then
  1860. if hdebounce == true then
  1861. hdebounce = false
  1862. for i = 1,20 do
  1863. v.Health = v.Health-2
  1864. wait(0.01)
  1865. end
  1866. local hitnumb = math.random(1,2)
  1867.  
  1868. if hitnumb == 1 then
  1869. 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)
  1870. end
  1871. if hitnumb == 2 then
  1872. 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)
  1873. end
  1874. wait(0.9)
  1875. hdebounce = true
  1876. end
  1877.  
  1878.  
  1879. end
  1880. end
  1881.  
  1882. end)
  1883. wait(0.2)
  1884. for i = 1,20 do
  1885. GhastShotaA.Size = GhastShotaA.Size+v3(0,-1,-1)
  1886. GhastShotaB.Size = GhastShotaB.Size+v3(0,-1,-1)
  1887. GhastShotaC.Size = GhastShotaC.Size+v3(0,-1,-1)
  1888. GhastShotaD.Size = GhastShotaD.Size+v3(0,-1,-1)
  1889. GhastShotaE.Size = GhastShotaE.Size+v3(0,-1,-1)
  1890. GhastShotaF.Size = GhastShotaF.Size+v3(0,-1,-1)
  1891. GhastShotaG.Size = GhastShotaG.Size+v3(0,-1,-1)
  1892. GhastShotaH.Size = GhastShotaH.Size+v3(0,-1,-1)
  1893. GhastShotaA.CFrame = OctoGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1894. GhastShotaB.CFrame = OctoGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1895. GhastShotaC.CFrame = OctoGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1896. GhastShotaD.CFrame = OctoGhast4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1897. GhastShotaE.CFrame = OctoGhast5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1898. GhastShotaF.CFrame = OctoGhast6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1899. GhastShotaG.CFrame = OctoGhast7.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1900. GhastShotaH.CFrame = OctoGhast8.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1901. GhastShotaA.Transparency = GhastShotaA.Transparency+0.1
  1902. GhastShotaB.Transparency = GhastShotaB.Transparency+0.1
  1903. GhastShotaC.Transparency = GhastShotaC.Transparency+0.1
  1904. GhastShotaD.Transparency = GhastShotaD.Transparency+0.1
  1905. GhastShotaE.Transparency = GhastShotaE.Transparency+0.1
  1906. GhastShotaF.Transparency = GhastShotaF.Transparency+0.1
  1907. GhastShotaG.Transparency = GhastShotaG.Transparency+0.1
  1908. GhastShotaH.Transparency = GhastShotaH.Transparency+0.1
  1909. wait()
  1910. end
  1911. wait(0.1)
  1912. debounce = true
  1913. for i = 1,20 do
  1914. OctoGhast1.Transparency = OctoGhast1.Transparency+0.1
  1915. OctoGhast2.Transparency = OctoGhast2.Transparency+0.1
  1916. OctoGhast3.Transparency = OctoGhast3.Transparency+0.1
  1917. OctoGhast4.Transparency = OctoGhast4.Transparency+0.1
  1918. OctoGhast5.Transparency = OctoGhast5.Transparency+0.1
  1919. OctoGhast6.Transparency = OctoGhast6.Transparency+0.1
  1920. OctoGhast7.Transparency = OctoGhast7.Transparency+0.1
  1921. OctoGhast8.Transparency = OctoGhast8.Transparency+0.1
  1922. wait()
  1923. end
  1924. OctoGhast1:destroy()
  1925. OctoGhast2:destroy()
  1926. OctoGhast3:destroy()
  1927. OctoGhast4:destroy()
  1928. OctoGhast5:destroy()
  1929. OctoGhast6:destroy()
  1930. OctoGhast7:destroy()
  1931. OctoGhast8:destroy()
  1932. end
  1933. end
  1934. end
  1935. local bonehit2nd = new("Sound",char)
  1936. bonehit2nd.SoundId = "rbxassetid://401680588"
  1937. bonehit2nd.Volume = 5
  1938.  
  1939. local bonehit3nd = new("Sound",char)
  1940. bonehit3nd.SoundId = "rbxassetid://306247749"
  1941. bonehit3nd.Volume = 5
  1942.  
  1943. function Bones()
  1944. if RootPart.Velocity.y < 1 and hitfloor==nil then
  1945. if debounce == true then
  1946. debounce = false
  1947.  
  1948. bonehit2nd:Play()
  1949. for i = 1,30 do
  1950. local bone = new("Part",char)
  1951. bone.Touched:connect(function(hit)
  1952.  
  1953.  
  1954. if hit.Parent == char then return end
  1955.  
  1956. for i,v in pairs(hit.Parent:GetChildren()) do
  1957. if v:IsA("Humanoid") then
  1958. padebounce = true
  1959. if padebounce == true then
  1960. padebounce = false
  1961.  
  1962. for i = 1,20 do
  1963. v.Health = v.Health-2
  1964. wait(1)
  1965. end
  1966. wait(0.9)
  1967. padebounce = true
  1968. end
  1969.  
  1970.  
  1971. end
  1972. end
  1973.  
  1974. end)
  1975. bone.CFrame = char.HumanoidRootPart.CFrame
  1976. bone.CanCollide = false
  1977. bone.Material = "SmoothPlastic"
  1978. bone.BrickColor = bc("White")
  1979. bone.Anchored = true
  1980. 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)))
  1981. local zxc = Instance.new("SpecialMesh",bone)
  1982. zxc.MeshType = "FileMesh"
  1983. zxc.Scale = Vector3.new(0.03, 0.03, 0.03)
  1984. zxc.MeshId = "http://www.roblox.com/asset/?id=921085633"
  1985. wait()
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991. local gdisp = coroutine.wrap(function()
  1992. bonehit3nd:Play()
  1993. for i = 1,5 do
  1994. bone.CFrame = bone.CFrame*CFrame.new(0,1,0)
  1995. wait()
  1996. end
  1997. wait(1)
  1998. for i = 1, 9 do
  1999. wait(.1)
  2000. bone.Transparency = bone.Transparency + .3
  2001. end
  2002. bone:Destroy()
  2003. end)
  2004. gdisp()
  2005. end
  2006. end
  2007. wait(1)
  2008. debounce = true
  2009. end
  2010. end
  2011. AheadShotsdebounce = true
  2012. function AheadShots()
  2013. if equiped == true then
  2014. if AheadShotsdebounce == true then
  2015. AheadShotsdebounce = false
  2016. local targetahead = new("Part",char)
  2017. targetahead.Shape = "Ball"
  2018. targetahead.Anchored = true
  2019. targetahead.CanCollide = false
  2020. targetahead.BrickColor = bc("Toothpaste")
  2021. targetahead.Material = "Neon"
  2022. targetahead.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-10)
  2023. targetahead.Transparency = 1
  2024.  
  2025. local targetahead2 = new("Part",char)
  2026. targetahead2.Shape = "Ball"
  2027. targetahead2.CanCollide = false
  2028. targetahead2.Anchored = true
  2029. targetahead2.BrickColor = bc("Toothpaste")
  2030. targetahead2.Material = "Neon"
  2031. targetahead2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-30)
  2032. targetahead2.Transparency = 1
  2033.  
  2034. local targetahead3 = new("Part",char)
  2035. targetahead3.Shape = "Ball"
  2036. targetahead3.Anchored = true
  2037. targetahead3.CanCollide = false
  2038. targetahead3.BrickColor = bc("Toothpaste")
  2039. targetahead3.Material = "Neon"
  2040. targetahead3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-50)
  2041. targetahead3.Transparency = 1
  2042.  
  2043. local Blasta1 = new("Part",char)
  2044. Blasta1.Size = v3(1,1,1)
  2045. Blasta1.CanCollide = false
  2046. Blasta1.Name = "Blasta1"
  2047. Blasta1.Material = "Neon"
  2048. Blasta1.BrickColor = bc("White")
  2049. Blasta1.Shape = "Ball"
  2050. Blasta1.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2051. Blasta1.Anchored = false
  2052.  
  2053.  
  2054.  
  2055. local zxc = Instance.new("SpecialMesh",Blasta1)
  2056. zxc.MeshType = "FileMesh"
  2057. zxc.Scale = Vector3.new(2,2,2)
  2058. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2059.  
  2060. local blasta1bg=Instance.new("BodyGyro",Blasta1)
  2061. blasta1bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2062. blasta1bg.D=400
  2063.  
  2064. blasta1bp = Instance.new("BodyPosition", Blasta1)
  2065. local Blasta2 = new("Part",char)
  2066. Blasta2.Size = v3(1,1,1)
  2067. Blasta2.CanCollide = false
  2068. Blasta2.Name = "Blasta2"
  2069. Blasta2.Material = "Neon"
  2070. Blasta2.BrickColor = bc("White")
  2071. Blasta2.Shape = "Ball"
  2072. Blasta2.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2073. Blasta2.Anchored = false
  2074.  
  2075.  
  2076.  
  2077. local zxc = Instance.new("SpecialMesh",Blasta2)
  2078. zxc.MeshType = "FileMesh"
  2079. zxc.Scale = Vector3.new(2,2,2)
  2080. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2081.  
  2082. local Blasta2bg=Instance.new("BodyGyro",Blasta2)
  2083. Blasta2bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2084. Blasta2bg.D=400
  2085.  
  2086. Blasta2bp = Instance.new("BodyPosition", Blasta2)
  2087. local Blasta3 = new("Part",char)
  2088. Blasta3.Size = v3(1,1,1)
  2089. Blasta3.CanCollide = false
  2090. Blasta3.Name = "Blasta3"
  2091. Blasta3.Material = "Neon"
  2092. Blasta3.BrickColor = bc("White")
  2093. Blasta3.Shape = "Ball"
  2094. Blasta3.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2095. Blasta3.Anchored = false
  2096.  
  2097.  
  2098.  
  2099. local zxc = Instance.new("SpecialMesh",Blasta3)
  2100. zxc.MeshType = "FileMesh"
  2101. zxc.Scale = Vector3.new(2,2,2)
  2102. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2103.  
  2104. local Blasta3bg=Instance.new("BodyGyro",Blasta3)
  2105. Blasta3bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2106. Blasta3bg.D=400
  2107.  
  2108. Blasta3bp = Instance.new("BodyPosition", Blasta3)
  2109. local Blasta4 = new("Part",char)
  2110. Blasta4.Size = v3(1,1,1)
  2111. Blasta4.CanCollide = false
  2112. Blasta4.Name = "Blasta4"
  2113. Blasta4.Material = "Neon"
  2114. Blasta4.BrickColor = bc("White")
  2115. Blasta4.Shape = "Ball"
  2116. Blasta4.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2117. Blasta4.Anchored = false
  2118.  
  2119.  
  2120.  
  2121. local zxc = Instance.new("SpecialMesh",Blasta4)
  2122. zxc.MeshType = "FileMesh"
  2123. zxc.Scale = Vector3.new(2,2,2)
  2124. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2125.  
  2126. local Blasta4bg=Instance.new("BodyGyro",Blasta4)
  2127. Blasta4bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2128. Blasta4bg.D=400
  2129.  
  2130. Blasta4bp = Instance.new("BodyPosition", Blasta4)
  2131. local Blasta5 = new("Part",char)
  2132. Blasta5.Size = v3(1,1,1)
  2133. Blasta5.CanCollide = false
  2134. Blasta5.Name = "Blasta5"
  2135. Blasta5.Material = "Neon"
  2136. Blasta5.BrickColor = bc("White")
  2137. Blasta5.Shape = "Ball"
  2138. Blasta5.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2139. Blasta5.Anchored = false
  2140.  
  2141.  
  2142.  
  2143. local zxc = Instance.new("SpecialMesh",Blasta5)
  2144. zxc.MeshType = "FileMesh"
  2145. zxc.Scale = Vector3.new(2,2,2)
  2146. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2147.  
  2148. local Blasta5bg=Instance.new("BodyGyro",Blasta5)
  2149. Blasta5bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2150. Blasta5bg.D=400
  2151.  
  2152. Blasta5bp = Instance.new("BodyPosition", Blasta5)
  2153.  
  2154. local Blasta6 = new("Part",char)
  2155. Blasta6.Size = v3(1,1,1)
  2156. Blasta6.CanCollide = false
  2157. Blasta6.Name = "Blasta6"
  2158. Blasta6.Material = "Neon"
  2159. Blasta6.BrickColor = bc("White")
  2160. Blasta6.Shape = "Ball"
  2161. Blasta6.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2162. Blasta6.Anchored = false
  2163.  
  2164.  
  2165.  
  2166. local zxc = Instance.new("SpecialMesh",Blasta6)
  2167. zxc.MeshType = "FileMesh"
  2168. zxc.Scale = Vector3.new(2,2,2)
  2169. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2170.  
  2171. local Blasta6bg=Instance.new("BodyGyro",Blasta6)
  2172. Blasta6bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2173. Blasta6bg.D=400
  2174.  
  2175. Blasta6bp = Instance.new("BodyPosition", Blasta6)
  2176.  
  2177. for i = 1,50 do
  2178. blasta1bp.Position=(targetahead.CFrame*CFrame.new(20,2,0)).p
  2179. blasta1bg.CFrame=CFrame.new(Blasta2.Position,targetahead2.Position)
  2180. Blasta2bp.Position=(targetahead2.CFrame*CFrame.new(20,2,0)).p
  2181. Blasta2bg.CFrame=CFrame.new(Blasta2.Position,targetahead2.Position)
  2182.  
  2183. Blasta3bp.Position=(targetahead3.CFrame*CFrame.new(20,2,0)).p
  2184. Blasta3bg.CFrame=CFrame.new(Blasta3.Position,targetahead3.Position)
  2185.  
  2186. Blasta4bp.Position=(targetahead.CFrame*CFrame.new(-20,2,0)).p
  2187. Blasta4bg.CFrame=CFrame.new(Blasta4.Position,targetahead.Position)
  2188.  
  2189. Blasta5bp.Position=(targetahead2.CFrame*CFrame.new(-20,2,0)).p
  2190. Blasta5bg.CFrame=CFrame.new(Blasta5.Position,targetahead2.Position)
  2191.  
  2192. Blasta6bp.Position=(targetahead3.CFrame*CFrame.new(-20,2,0)).p
  2193. Blasta6bg.CFrame=CFrame.new(Blasta6.Position,targetahead3.Position)
  2194.  
  2195. wait()
  2196. end
  2197. shootsnd:Play()
  2198. local GhastAcrossShot1 = new("Part",Blasta1)
  2199. GhastAcrossShot1.Shape = "Cylinder"
  2200. GhastAcrossShot1.Size = v3(100,5,5)
  2201. GhastAcrossShot1.BrickColor = bc("White")
  2202. GhastAcrossShot1.Material = "Neon"
  2203. GhastAcrossShot1.CanCollide = false
  2204. GhastAcrossShot1.Anchored = true
  2205. GhastAcrossShot1.CFrame = Blasta1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2206. local GhastAcrossShot2 = new("Part",Blasta2)
  2207. GhastAcrossShot2.Shape = "Cylinder"
  2208. GhastAcrossShot2.Size = v3(100,5,5)
  2209. GhastAcrossShot2.BrickColor = bc("White")
  2210. GhastAcrossShot2.Material = "Neon"
  2211. GhastAcrossShot2.CanCollide = false
  2212. GhastAcrossShot2.Anchored = true
  2213. GhastAcrossShot2.CFrame = Blasta2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2214. local GhastAcrossShot3 = new("Part",Blasta2)
  2215. GhastAcrossShot3.Shape = "Cylinder"
  2216. GhastAcrossShot3.Size = v3(100,5,5)
  2217. GhastAcrossShot3.BrickColor = bc("White")
  2218. GhastAcrossShot3.Material = "Neon"
  2219. GhastAcrossShot3.CanCollide = false
  2220. GhastAcrossShot3.Anchored = true
  2221. GhastAcrossShot3.CFrame = Blasta3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2222. local GhastAcrossShot4 = new("Part",Blasta4)
  2223. GhastAcrossShot4.Shape = "Cylinder"
  2224. GhastAcrossShot4.Size = v3(100,5,5)
  2225. GhastAcrossShot4.BrickColor = bc("White")
  2226. GhastAcrossShot4.Material = "Neon"
  2227. GhastAcrossShot4.CanCollide = false
  2228. GhastAcrossShot4.Anchored = true
  2229. GhastAcrossShot4.CFrame = Blasta4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2230. local GhastAcrossShot5 = new("Part",Blasta5)
  2231. GhastAcrossShot5.Shape = "Cylinder"
  2232. GhastAcrossShot5.Size = v3(100,5,5)
  2233. GhastAcrossShot5.BrickColor = bc("White")
  2234. GhastAcrossShot5.Material = "Neon"
  2235. GhastAcrossShot5.CanCollide = false
  2236. GhastAcrossShot5.Anchored = true
  2237. GhastAcrossShot5.CFrame = Blasta5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2238. local GhastAcrossShot6 = new("Part",Blasta5)
  2239. GhastAcrossShot6.Shape = "Cylinder"
  2240. GhastAcrossShot6.Size = v3(100,5,5)
  2241. GhastAcrossShot6.BrickColor = bc("White")
  2242. GhastAcrossShot6.Material = "Neon"
  2243. GhastAcrossShot6.CanCollide = false
  2244. GhastAcrossShot6.Anchored = true
  2245. GhastAcrossShot6.CFrame = Blasta6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2246. GhastAcrossShot1.Touched:connect(function(hit)
  2247. if hit.Parent == workspace.Base then return end
  2248.  
  2249. if hit.Parent == char then return end
  2250.  
  2251. for i,v in pairs(hit.Parent:GetChildren()) do
  2252. if v:IsA("Humanoid") then
  2253. if hdebounce == true then
  2254. hdebounce = false
  2255. for i = 1,20 do
  2256. v.Health = v.Health-2
  2257. wait(0.01)
  2258. end
  2259. local hitnumb = math.random(1,2)
  2260.  
  2261. if hitnumb == 1 then
  2262. 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)
  2263. end
  2264. if hitnumb == 2 then
  2265. 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)
  2266. end
  2267. wait(0.9)
  2268. hdebounce = true
  2269. end
  2270.  
  2271.  
  2272. end
  2273. end
  2274.  
  2275. end)
  2276. GhastAcrossShot2.Touched:connect(function(hit)
  2277. if hit.Parent == workspace.Base then return end
  2278.  
  2279. if hit.Parent == char then return end
  2280.  
  2281. for i,v in pairs(hit.Parent:GetChildren()) do
  2282. if v:IsA("Humanoid") then
  2283. if hdebounce == true then
  2284. hdebounce = false
  2285. for i = 1,20 do
  2286. v.Health = v.Health-2
  2287. wait(0.01)
  2288. end
  2289. local hitnumb = math.random(1,2)
  2290.  
  2291. if hitnumb == 1 then
  2292. 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)
  2293. end
  2294. if hitnumb == 2 then
  2295. 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)
  2296. end
  2297. wait(0.9)
  2298. hdebounce = true
  2299. end
  2300.  
  2301.  
  2302. end
  2303. end
  2304.  
  2305. end)
  2306.  
  2307. GhastAcrossShot3.Touched:connect(function(hit)
  2308. if hit.Parent == workspace.Base then return end
  2309.  
  2310. if hit.Parent == char then return end
  2311.  
  2312. for i,v in pairs(hit.Parent:GetChildren()) do
  2313. if v:IsA("Humanoid") then
  2314. if hdebounce == true then
  2315. hdebounce = false
  2316. for i = 1,20 do
  2317. v.Health = v.Health-2
  2318. wait(0.01)
  2319. end
  2320. local hitnumb = math.random(1,2)
  2321.  
  2322. if hitnumb == 1 then
  2323. 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)
  2324. end
  2325. if hitnumb == 2 then
  2326. 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)
  2327. end
  2328. wait(0.9)
  2329. hdebounce = true
  2330. end
  2331.  
  2332.  
  2333. end
  2334. end
  2335.  
  2336. end)
  2337. GhastAcrossShot4.Touched:connect(function(hit)
  2338. if hit.Parent == workspace.Base then return end
  2339.  
  2340. if hit.Parent == char then return end
  2341.  
  2342. for i,v in pairs(hit.Parent:GetChildren()) do
  2343. if v:IsA("Humanoid") then
  2344. if hdebounce == true then
  2345. hdebounce = false
  2346. for i = 1,20 do
  2347. v.Health = v.Health-2
  2348. wait(0.01)
  2349. end
  2350. local hitnumb = math.random(1,2)
  2351.  
  2352. if hitnumb == 1 then
  2353. 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)
  2354. end
  2355. if hitnumb == 2 then
  2356. 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)
  2357. end
  2358. wait(0.9)
  2359. hdebounce = true
  2360. end
  2361.  
  2362.  
  2363. end
  2364. end
  2365.  
  2366. end)
  2367. GhastAcrossShot5.Touched:connect(function(hit)
  2368. if hit.Parent == workspace.Base then return end
  2369.  
  2370. if hit.Parent == char then return end
  2371.  
  2372. for i,v in pairs(hit.Parent:GetChildren()) do
  2373. if v:IsA("Humanoid") then
  2374. if hdebounce == true then
  2375. hdebounce = false
  2376. for i = 1,20 do
  2377. v.Health = v.Health-2
  2378. wait(0.01)
  2379. end
  2380. local hitnumb = math.random(1,2)
  2381.  
  2382. if hitnumb == 1 then
  2383. 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)
  2384. end
  2385. if hitnumb == 2 then
  2386. 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)
  2387. end
  2388. wait(0.9)
  2389. hdebounce = true
  2390. end
  2391.  
  2392.  
  2393. end
  2394. end
  2395.  
  2396. end)
  2397. GhastAcrossShot6.Touched:connect(function(hit)
  2398. if hit.Parent == workspace.Base then return end
  2399.  
  2400. if hit.Parent == char then return end
  2401.  
  2402. for i,v in pairs(hit.Parent:GetChildren()) do
  2403. if v:IsA("Humanoid") then
  2404. if hdebounce == true then
  2405. hdebounce = false
  2406. for i = 1,20 do
  2407. v.Health = v.Health-2
  2408. wait(0.01)
  2409. end
  2410. local hitnumb = math.random(1,2)
  2411.  
  2412. if hitnumb == 1 then
  2413. 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)
  2414. end
  2415. if hitnumb == 2 then
  2416. 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)
  2417. end
  2418. wait(0.9)
  2419. hdebounce = true
  2420. end
  2421.  
  2422.  
  2423. end
  2424. end
  2425.  
  2426. end)
  2427. wait(0.5)
  2428. for i = 1,20 do
  2429. GhastAcrossShot1.Size = GhastAcrossShot1.Size+v3(0,-1,-1)
  2430. GhastAcrossShot1.CFrame = Blasta1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2431. GhastAcrossShot1.Transparency = GhastAcrossShot1.Transparency+0.1
  2432. GhastAcrossShot2.Size = GhastAcrossShot2.Size+v3(0,-1,-1)
  2433. GhastAcrossShot2.CFrame = Blasta2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2434. GhastAcrossShot2.Transparency = GhastAcrossShot2.Transparency+0.1
  2435. GhastAcrossShot3.Size = GhastAcrossShot3.Size+v3(0,-1,-1)
  2436. GhastAcrossShot3.CFrame = Blasta3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2437. GhastAcrossShot3.Transparency = GhastAcrossShot3.Transparency+0.1
  2438. GhastAcrossShot4.Size = GhastAcrossShot4.Size+v3(0,-1,-1)
  2439. GhastAcrossShot4.CFrame = Blasta4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2440. GhastAcrossShot4.Transparency = GhastAcrossShot4.Transparency+0.1
  2441.  
  2442. GhastAcrossShot5.Size = GhastAcrossShot5.Size+v3(0,-1,-1)
  2443. GhastAcrossShot5.CFrame = Blasta5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2444. GhastAcrossShot5.Transparency = GhastAcrossShot5.Transparency+0.1
  2445. GhastAcrossShot6.Size = GhastAcrossShot6.Size+v3(0,-1,-1)
  2446. GhastAcrossShot6.CFrame = Blasta6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2447. GhastAcrossShot6.Transparency = GhastAcrossShot6.Transparency+0.1
  2448. wait()
  2449. end
  2450. GhastAcrossShot1:Destroy()
  2451. GhastAcrossShot2:Destroy()
  2452. GhastAcrossShot3:Destroy()
  2453. GhastAcrossShot4:Destroy()
  2454. GhastAcrossShot5:Destroy()
  2455. GhastAcrossShot6:Destroy()
  2456. for i = 1,20 do
  2457. Blasta1.Transparency = Blasta1.Transparency+0.1
  2458. Blasta2.Transparency = Blasta2.Transparency+0.1
  2459. Blasta3.Transparency = Blasta3.Transparency+0.1
  2460. Blasta4.Transparency = Blasta4.Transparency+0.1
  2461. Blasta5.Transparency = Blasta5.Transparency+0.1
  2462. Blasta6.Transparency = Blasta6.Transparency+0.1
  2463. wait()
  2464. end
  2465. Blasta1:Destroy()
  2466. Blasta2:Destroy()
  2467. Blasta3:Destroy()
  2468. Blasta4:Destroy()
  2469. Blasta5:Destroy()
  2470. Blasta6:Destroy()
  2471. wait(0.5)
  2472. AheadShotsdebounce = true
  2473. end
  2474. end
  2475. end
  2476. local BlasterRaindebounce = true
  2477.  
  2478. function BlasterRain()
  2479. if equiped == true then
  2480. if BlasterRaindebounce == true then
  2481. BlasterRaindebounce = false
  2482. local RainTarget1 = new("Part",char)
  2483. RainTarget1.BrickColor = bc("Really red")
  2484. RainTarget1.Shape = "Ball"
  2485. RainTarget1.Material = "Neon"
  2486. RainTarget1.Anchored = true
  2487. RainTarget1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-20)
  2488. RainTarget1.Transparency = 1
  2489. local RainTarget2 = new("Part",char)
  2490. RainTarget2.BrickColor = bc("Really red")
  2491. RainTarget2.Shape = "Ball"
  2492. RainTarget2.Material = "Neon"
  2493. RainTarget2.Anchored = true
  2494. RainTarget2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-40)
  2495. RainTarget2.Transparency = 1
  2496. local RainBlaster1 = new("Part",char)
  2497. RainBlaster1.Size = v3(1,1,1)
  2498. RainBlaster1.CanCollide = false
  2499. RainBlaster1.Name = "RainBlaster1"
  2500. RainBlaster1.Material = "Neon"
  2501. RainBlaster1.BrickColor = bc("White")
  2502. RainBlaster1.Shape = "Ball"
  2503. RainBlaster1.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2504. RainBlaster1.Anchored = false
  2505.  
  2506.  
  2507.  
  2508. local zxc = Instance.new("SpecialMesh",RainBlaster1)
  2509. zxc.MeshType = "FileMesh"
  2510. zxc.Scale = Vector3.new(2,2,2)
  2511. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2512.  
  2513. local RainBlaster1bg=Instance.new("BodyGyro",RainBlaster1)
  2514. RainBlaster1bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2515. RainBlaster1bg.D=400
  2516.  
  2517. RainBlaster1bp = Instance.new("BodyPosition", RainBlaster1)
  2518.  
  2519. local RainBlaster2 = new("Part",char)
  2520. RainBlaster2.Size = v3(1,1,1)
  2521. RainBlaster2.CanCollide = false
  2522. RainBlaster2.Name = "RainBlaster1"
  2523. RainBlaster2.Material = "Neon"
  2524. RainBlaster2.BrickColor = bc("White")
  2525. RainBlaster2.Shape = "Ball"
  2526. RainBlaster2.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2527. RainBlaster2.Anchored = false
  2528.  
  2529.  
  2530.  
  2531. local zxc = Instance.new("SpecialMesh",RainBlaster2)
  2532. zxc.MeshType = "FileMesh"
  2533. zxc.Scale = Vector3.new(2,2,2)
  2534. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2535.  
  2536. local RainBlaster2bg=Instance.new("BodyGyro",RainBlaster2)
  2537. RainBlaster2bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2538. RainBlaster2bg.D=400
  2539.  
  2540. RainBlaster2bp = Instance.new("BodyPosition", RainBlaster2)
  2541.  
  2542.  
  2543. for i = 1,50 do
  2544. RainBlaster1bp.Position=(RainTarget1.CFrame*CFrame.new(0,20,0)).p
  2545. RainBlaster1bg.CFrame=CFrame.new(RainBlaster1.Position,RainTarget1.Position)
  2546.  
  2547. RainBlaster2bp.Position=(RainTarget2.CFrame*CFrame.new(0,20,0)).p
  2548. RainBlaster2bg.CFrame=CFrame.new(RainBlaster2.Position,RainTarget2.Position)
  2549. wait()
  2550. end
  2551. shootsnd:Play()
  2552. local RainBlasterShot1 = new("Part",RainBlaster1)
  2553. RainBlasterShot1.Shape = "Cylinder"
  2554. RainBlasterShot1.Size = v3(100,5,5)
  2555. RainBlasterShot1.BrickColor = bc("White")
  2556. RainBlasterShot1.Material = "Neon"
  2557. RainBlasterShot1.CanCollide = false
  2558. RainBlasterShot1.Anchored = true
  2559. RainBlasterShot1.CFrame = RainBlaster1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2560.  
  2561. local RainBlasterShot2 = new("Part",RainBlaster2)
  2562. RainBlasterShot2.Shape = "Cylinder"
  2563. RainBlasterShot2.Size = v3(100,5,5)
  2564. RainBlasterShot2.BrickColor = bc("White")
  2565. RainBlasterShot2.Material = "Neon"
  2566. RainBlasterShot2.CanCollide = false
  2567. RainBlasterShot2.Anchored = true
  2568. RainBlasterShot2.CFrame = RainBlaster2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2569. RainBlasterShot1.Touched:connect(function(hit)
  2570. if hit.Parent == workspace.Base then return end
  2571.  
  2572. if hit.Parent == char then return end
  2573.  
  2574. for i,v in pairs(hit.Parent:GetChildren()) do
  2575. if v:IsA("Humanoid") then
  2576. if hdebounce == true then
  2577. hdebounce = false
  2578. for i = 1,20 do
  2579. v.Health = v.Health-2
  2580. wait(0.01)
  2581. end
  2582. local hitnumb = math.random(1,2)
  2583.  
  2584. if hitnumb == 1 then
  2585. 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)
  2586. end
  2587. if hitnumb == 2 then
  2588. 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)
  2589. end
  2590. wait(0.9)
  2591. hdebounce = true
  2592. end
  2593.  
  2594.  
  2595. end
  2596. end
  2597.  
  2598. end)
  2599. RainBlasterShot2.Touched:connect(function(hit)
  2600. if hit.Parent == workspace.Base then return end
  2601.  
  2602. if hit.Parent == char then return end
  2603.  
  2604. for i,v in pairs(hit.Parent:GetChildren()) do
  2605. if v:IsA("Humanoid") then
  2606. if hdebounce == true then
  2607. hdebounce = false
  2608. for i = 1,20 do
  2609. v.Health = v.Health-2
  2610. wait(0.01)
  2611. end
  2612. local hitnumb = math.random(1,2)
  2613.  
  2614. if hitnumb == 1 then
  2615. 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)
  2616. end
  2617. if hitnumb == 2 then
  2618. 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)
  2619. end
  2620. wait(0.9)
  2621. hdebounce = true
  2622. end
  2623.  
  2624.  
  2625. end
  2626. end
  2627.  
  2628. end)
  2629.  
  2630. wait(0.5)
  2631. for i = 1,20 do
  2632. wait()
  2633. RainBlasterShot1.Size = RainBlasterShot1.Size+v3(0,-1,-1)
  2634. RainBlasterShot1.CFrame = RainBlaster1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2635. RainBlasterShot1.Transparency = RainBlasterShot1.Transparency+0.1
  2636.  
  2637. RainBlasterShot2.Size = RainBlasterShot2.Size+v3(0,-1,-1)
  2638. RainBlasterShot2.CFrame = RainBlaster2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2639. RainBlasterShot2.Transparency = RainBlasterShot2.Transparency+0.1
  2640.  
  2641. end
  2642. for i = 1,20 do
  2643. RainBlaster1.Transparency = RainBlaster1.Transparency+0.1
  2644. RainBlaster2.Transparency = RainBlaster2.Transparency+0.1
  2645. wait()
  2646. end
  2647. RainBlaster1:Destroy()
  2648. RainBlaster2:Destroy()
  2649. RainBlasterShot1:Destroy()
  2650. RainBlasterShot2:Destroy()
  2651. wait(0.5)
  2652. BlasterRaindebounce = true
  2653. end
  2654. end
  2655. end
  2656. local grabing = false
  2657.  
  2658. function grab()
  2659.  
  2660.  
  2661. local hit = mouse.Target
  2662. if hit.Parent == char then return end
  2663. for i,v in pairs(hit.Parent:GetChildren()) do
  2664. if v:IsA("Humanoid") then
  2665. v.Health = v.Health-50
  2666. local bodyp=Instance.new("BodyPosition",hit.Parent.HumanoidRootPart)
  2667. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  2668. bodyp.Position=(hit.Parent.HumanoidRootPart.CFrame*CFrame.new(-15,0,0)).p
  2669. wait(0.6)
  2670. bodyp:destroy()
  2671. end
  2672. end
  2673.  
  2674.  
  2675.  
  2676.  
  2677. end
  2678. mouse.KeyDown:connect(function(k)
  2679. if k == "e" then
  2680. AheadShots()
  2681. end
  2682. end)
  2683. mouse.KeyDown:connect(function(k)
  2684. if k == "y" then
  2685. grab()
  2686. end
  2687. end)
  2688. mouse.KeyDown:connect(function(k)
  2689. if k == "g" then
  2690. BlasterRain()
  2691. end
  2692. end)
  2693. mouse.KeyDown:connect(function(k)
  2694. if k == "t" then
  2695. Bones()
  2696. end
  2697. end)
  2698. mouse.KeyDown:connect(function(k)
  2699. if k == "z" then
  2700. DodgeLeft()
  2701. end
  2702. end)
  2703. mouse.KeyDown:connect(function(k)
  2704. if k == "q" then
  2705. octo()
  2706. end
  2707. end)
  2708. mouse.KeyDown:connect(function(k)
  2709. if k == "x" then
  2710. RightDodge()
  2711. end
  2712. end)
  2713. mouse.KeyDown:connect(function(k)
  2714. if k == "1" then
  2715. hum.Health = 100
  2716. end
  2717. end)
  2718. mouse.KeyDown:connect(function(k)
  2719. if k == "c" then
  2720. equip()
  2721. end
  2722. end)
  2723. mouse.KeyDown:connect(function(k)
  2724. if k == "f" then
  2725. mount()
  2726. end
  2727. end)
  2728. mouse.KeyDown:connect(function(k)
  2729. if k == "r" then
  2730. cross()
  2731. end
  2732. end)
  2733. p.Character.Humanoid.Died:connect(function()
  2734. local jkl = Instance.new("Sound",Workspace)
  2735. jkl.SoundId = "rbxassetid://427025525"
  2736. jkl.Volume = 10
  2737. jkl:Play()
  2738.  
  2739. for _, V in pairs(char:getChildren()) do
  2740. if V:isA("BasePart") then
  2741. V.Transparency = 1
  2742. elseif V:IsA("Accessory") and V:FindFirstChild("Handle") then
  2743. V.Handle.Transparency = 1
  2744. end
  2745. end
  2746. char.Head.face:destroy()
  2747. for i = 1,50 do
  2748. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency+0.1
  2749. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency+0.1
  2750.  
  2751. dust = Instance.new("Part")
  2752. dust.Locked = true
  2753. dust.Size = Vector3.new(0.1,0.1,0.1)
  2754. dust.BrickColor = BrickColor.new("White")
  2755. dust.Transparency = 0
  2756. dust.TopSurface = "Smooth"
  2757. dust.BottomSurface = "Smooth"
  2758. dust.CFrame = char.HumanoidRootPart.CFrame
  2759. dust.CanCollide = true
  2760. dust.Reflectance = 0.1
  2761. dust.Material = "Neon"
  2762. dust.Parent = char
  2763. dust.Anchored = false
  2764. end
  2765. end)
  2766.  
  2767.  
  2768.  
  2769.  
  2770. DayNightCycle = true --[1] Cycles through day and night.
  2771.  
  2772. DynamicLighting = true --[2] Give your game a dynamic look?
  2773. SimulatedShadows = true --[3] Make the shadows stand out. (Enable [2] for this to work)
  2774.  
  2775. DarkAmbient = true --[4] Gives your game darkness, great for zombie games.
  2776. AmbientBrightness = 55 --[5] Number Must between 0 to 255. (Enable [2] and [4] for this to work)
  2777.  
  2778. Fog = true --[6] Give your game foggy look.
  2779. FogDistance = 1500 --[7] How far will the fog be away from you. (Enable [6] for this to work)
  2780. ---------------------------------------------------------------------------------------------------------------
  2781.  
  2782. if Fog then
  2783. game:GetService("Lighting").FogEnd = FogDistance
  2784. end
  2785.  
  2786. if DarkAmbient and DynamicLighting then
  2787. game:GetService("Lighting").OutdoorAmbient = Color3.new(AmbientBrightness/255, AmbientBrightness/255, AmbientBrightness/255)
  2788. end
  2789.  
  2790. if DynamicLighting then
  2791. game:GetService("Lighting").GlobalShadows = true
  2792. if SimulatedShadows then
  2793. game:GetService("Lighting").Brightness = 1.5
  2794. game:GetService("Lighting").Ambient = Color3.new(0/255, 0/255, 0/255)
  2795. game:GetService("Lighting").ShadowColor = Color3.new(61/255, 61/255, 61/255)
  2796. end
  2797. end
Add Comment
Please, Sign In to add comment