Guest User

Untitled

a guest
Dec 11th, 2019
178
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Made by Divcore WIP SCRIPT DONT LEAK--
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Grim Reaper by DIVCORE")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local Mouse = Player:GetMouse()
  67. local UIS = game:GetService("UserInputService")
  68. local input = function(io,a)
  69. if a then return end
  70. --Since InputObject is a client-side instance, we create and pass table instead
  71. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75.  
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then return s[k] end
  95. end,
  96. __newindex = function(self,k,v)
  97. local s = rawget(self,"_RealService")
  98. if s then s[k]=v end
  99. end,
  100. __call = function(self,...)
  101. local s = rawget(self,"_RealService")
  102. if s then return s(...) end
  103. end
  104. }
  105. local function FakeService(t,RealService)
  106. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  107. return setmetatable(t,fsmt)
  108. end
  109.  
  110. --Fake game object
  111. local g = {
  112. GetService = function(self,s)
  113. return self[s]
  114. end,
  115. Players = FakeService({
  116. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  117. },"Players"),
  118. UserInputService = FakeService(UIS,"UserInputService"),
  119. ContextActionService = FakeService(CAS,"ContextActionService"),
  120. }
  121. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  122. g.service = g.GetService
  123.  
  124. g.RunService = FakeService({
  125. RenderStepped = _rg:GetService("RunService").Heartbeat,
  126. BindToRenderStep = function(self,name,_,fun)
  127.  
  128. end,
  129. UnbindFromRenderStep = function(self,name)
  130. self._btrs[name]:Disconnect()
  131. end,
  132. },"RunService")
  133.  
  134. setmetatable(g,{
  135. __index=function(self,s)
  136. return _rg:GetService(s) or typeof(_rg[s])=="function"
  137. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  138. end,
  139. __newindex = fsmt.__newindex,
  140. __call = fsmt.__call
  141. })
  142. --Changing owner to fake player object to support owner:GetMouse()
  143. game,owner = g,g.Players.LocalPlayer
  144. end
  145.  
  146. Bp = game.Players.LocalPlayer.Backpack
  147. jun = Bp.Parent
  148. local o = 0
  149.  
  150. BlastRing = Instance.new("Part")
  151. BlastRing.Parent = game.Lighting
  152. BlastRing.Name = "BlastRing"
  153. BlastRing.formFactor = "Symmetric"
  154. BlastRing.Size = Vector3.new(0, 0, 0)
  155. BlastRing.CanCollide = false
  156. BlastRing.TopSurface = "Smooth"
  157. BlastRing.BottomSurface = "Smooth"
  158. BlastRing.BrickColor = BrickColor.new("Really red")
  159. BlastRing.Reflectance = 0
  160. BlastRing.Anchored = true
  161. Mesh2 = Instance.new("SpecialMesh")
  162. Mesh2.Parent = BlastRing
  163. Mesh2.MeshType = "FileMesh"
  164. Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  165. Mesh2.Scale = Vector3.new(1, 1, 1)
  166.  
  167. ExsplosionRing = Instance.new("Part")
  168. ExsplosionRing.Parent = game.Lighting
  169. ExsplosionRing.Name = "Explosion Ring"
  170. ExsplosionRing.formFactor = "Symmetric"
  171. ExsplosionRing.Size = Vector3.new(0, 0, 0)
  172. ExsplosionRing.CanCollide = false
  173. ExsplosionRing.TopSurface = "Smooth"
  174. ExsplosionRing.BottomSurface = "Smooth"
  175. ExsplosionRing.BrickColor = BrickColor.new("Black")
  176. ExsplosionRing.Transparency = 0.3
  177. ExsplosionRing.Reflectance = 0
  178. ExsplosionRing.Anchored = true
  179. Mesh3 = Instance.new("SpecialMesh")
  180. Mesh3.Parent = ExsplosionRing
  181. Mesh3.MeshType = "FileMesh"
  182. Mesh3.MeshId = "http://www.roblox.com/Asset/?id=20329976"
  183. Mesh3.Scale = Vector3.new(1, 1, 1)
  184. Mesh3.Offset = Vector3.new(0,-2,0)
  185.  
  186.  
  187. jun.Character.Humanoid.WalkSpeed = 0
  188.  
  189. blastring2 = BlastRing:clone()
  190. blastring2.Parent = jun.Character
  191. blastring2.Position = jun.Character.Torso.Position
  192. blastring2.BrickColor = BrickColor.new("Really red")
  193. blastring2.Transparency = 0.5
  194. blastring2.Reflectance = 0
  195.  
  196. mk = Instance.new("Sound",blastring2)
  197. mk.Volume = 1
  198. mk.SoundId = "http://www.roblox.com/Asset?ID=211422742"
  199. mk:Play()
  200.  
  201. c = Instance.new("Sound",blastring2)
  202. c.Volume = 1
  203. c.SoundId = "http://www.roblox.com/Asset?ID=244578827"
  204. c:Play()
  205.  
  206. for i = 1, 50 do
  207. wait(0.03)
  208. blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
  209. blastring2.Transparency = blastring2.Transparency + 0.01
  210. end
  211.  
  212. blastring3 = ExsplosionRing:clone()
  213. blastring3.Parent = jun.Character
  214. blastring3.Position = jun.Character.Torso.Position
  215. blastring3.BrickColor = BrickColor.new("Black")
  216. blastring3.Transparency = 0.3
  217. blastring3.Reflectance = 0
  218.  
  219. p = Instance.new("Sound",blastring3)
  220. p.Volume = 1
  221. p.SoundId = "http://www.roblox.com/Asset?ID=180120107"
  222.  
  223. for i = 1, 50 do
  224. wait(0.03)
  225. blastring3.Mesh.Scale = blastring3.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
  226. blastring3.Transparency = blastring3.Transparency + 0.01
  227. end
  228. c:Stop()
  229. wait(.5)
  230. mk:Stop()
  231. p:Play()
  232. blastring2:remove()
  233. blastring3:Destroy()
  234.  
  235. game.Players.LocalPlayer.Character.Torso.BrickColor = BrickColor.new("Dark stone grey")
  236. game.Players.LocalPlayer.Character['Right Arm'].BrickColor = BrickColor.new("Dark stone grey")
  237. game.Players.LocalPlayer.Character['Left Arm'].BrickColor = BrickColor.new("Dark stone grey")
  238. game.Players.LocalPlayer.Character['Right Leg'].BrickColor = BrickColor.new("Dark stone grey")
  239. game.Players.LocalPlayer.Character['Left Leg'].BrickColor = BrickColor.new("Dark stone grey")
  240. game.Players.LocalPlayer.Character.Head.BrickColor = BrickColor.new("Dark stone grey")
  241. game.Players.LocalPlayer.Character["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  242. game.Players.LocalPlayer.Character["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  243. game.Players.LocalPlayer.Character["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  244. game.Players.LocalPlayer.Character["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  245. game.Players.LocalPlayer.Character["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  246. game.Players.LocalPlayer.Character["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  247. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  248. if v.ClassName == "Hat" then
  249. v:Destroy()
  250. end
  251. end
  252. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  253. if v.ClassName == "Shirt" then
  254. v:Destroy()
  255. end
  256. end
  257. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  258. if v.ClassName == "Pants" then
  259. v:Destroy()
  260. end
  261. end
  262. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  263. if v.ClassName == "ShirtGraphic" then
  264. v:Destroy()
  265. end
  266. end
  267. st = Instance.new("Shirt",game.Players.LocalPlayer.Character)
  268. st.ShirtTemplate = "http://www.roblox.com/asset/?id=146541677"
  269. pt = Instance.new("Pants",game.Players.LocalPlayer.Character)
  270. pt.PantsTemplate = "http://www.roblox.com/asset/?id=146542180"
  271. sg = Instance.new("ShirtGraphic",game.Players.LocalPlayer.Character)
  272. sg.Graphic = "http://www.roblox.com/asset/?id=273262785"
  273. wait(.5)
  274. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 21e8
  275. wait(.5)
  276. game.Players.LocalPlayer.Character.Humanoid.Health = 21e8
  277. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  278.  
  279. game.Players.LocalPlayer.Character.Head.Mesh.Scale = Vector3.new(1.06, 1.06, 1.06)
  280. game.Players.LocalPlayer.Character.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=16150814"
  281. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=16150799"
  282. game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=0"
  283.  
  284. bill = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  285. bill.Size = UDim2.new(4, 0, 4.5, 0)
  286. bill.AlwaysOnTop = true
  287.  
  288. label = Instance.new("TextLabel", bill)
  289. label.Size = UDim2.new(2, 0, 1, 0)
  290. label.Position = UDim2.new(-0.5, 0, -0.5, 0)
  291. label.BackgroundTransparency = 1
  292. label.FontSize = "Size14"
  293. label.TextColor3 = Color3.new(170, 0, 0)
  294. label.TextStrokeColor3 = Color3.new(0 ,0 ,0)
  295. label.TextStrokeTransparency = 0
  296. label.Text = "Grim Reaper"
  297.  
  298. Stick = Instance.new("Tool", Bp)
  299. Stick.Name = "Scythe"
  300. Stick.GripPos = Vector3.new(0,0.1,0.7)
  301. Stick.GripForward = Vector3.new(0.1,-1,0)
  302. Stick.GripRight = Vector3.new(-0.5,0.01,0)
  303. Stick.GripUp = Vector3.new(0,0,1)
  304. Stick.CanBeDropped = false
  305.  
  306. Handle = Instance.new("Part", Stick)
  307. Handle.Name = "Handle"
  308. Handle.Size = Vector3.new(1, 1.2, 5)
  309.  
  310. sm = Instance.new("SpecialMesh",Handle)
  311. sm.MeshId = "http://www.roblox.com/asset/?id=28140935"
  312. sm.TextureId = "http://www.roblox.com/asset/?id=27739981"
  313.  
  314. a = Instance.new("Animation")
  315. a.Parent = game.Workspace
  316. a.Name = "Slash"
  317. a.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
  318.  
  319. v = Instance.new("StringValue")
  320. v.Parent = game.Players.LocalPlayer.Backpack.Scythe
  321. v.Name = "name"
  322. v.Value = "Slash"
  323.  
  324. anime = Bp.Scythe.name.Value
  325.  
  326. s = Instance.new("Sound",Stick)
  327. s.Volume = 1
  328. s.SoundId = "http://www.roblox.com/Asset?ID=220834000"
  329.  
  330. q = Instance.new("Sound",Stick)
  331. q.Volume = 1
  332. q.SoundId = "http://www.roblox.com/Asset?ID=264486467"
  333.  
  334. f = Instance.new("Sound",Stick)
  335. f.Volume = 1
  336. f.SoundId = "http://www.roblox.com/Asset?ID=178038408"
  337.  
  338. z = Instance.new("Sound",Stick)
  339. z.Volume = 1
  340. z.SoundId = "http://www.roblox.com/Asset?ID=174048316"
  341.  
  342. t = Instance.new("Sound",Stick)
  343. t.Volume = 1
  344. t.SoundId = "http://www.roblox.com/Asset?ID=151710120"
  345.  
  346. gg = Instance.new("Sound",Stick)
  347. gg.Volume = 1
  348. gg.SoundId = "http://www.roblox.com/Asset?ID=142392721"
  349.  
  350. l = Instance.new("Sound",Stick)
  351. l.Volume = 1
  352. l.SoundId = "http://www.roblox.com/Asset?ID=158012252"
  353.  
  354. k = Instance.new("Sound",Stick)
  355. k.Volume = 1
  356. k.SoundId = "http://www.roblox.com/Asset?ID=148348789"
  357.  
  358. j = Instance.new("Sound",Stick)
  359. j.Volume = 1
  360. j.SoundId = "http://www.roblox.com/Asset?ID=148348855"
  361.  
  362. u = Instance.new("Sound",Stick)
  363. u.Volume = 1
  364. u.SoundId = "http://www.roblox.com/Asset?ID=151710118"
  365.  
  366. i = Instance.new("Sound",Stick)
  367. i.Volume = 1
  368. i.SoundId = "http://www.roblox.com/Asset?ID=271787865"
  369.  
  370. qq = Instance.new("Sound",Stick)
  371. qq.Volume = 1
  372. qq.SoundId = "http://www.roblox.com/Asset?ID=131076695"
  373.  
  374. function onChatted(msg)
  375. if msg == "death" then
  376. for i,v in pairs(game.Players:GetChildren()) do
  377. v.Character.Humanoid.Health = v.Character.Humanoid.Health-1000
  378. end
  379. end
  380. end
  381. game.Players.LocalPlayer.Chatted:connect(onChatted)
  382.  
  383. Bp.Scythe.Equipped:connect(function(m)
  384. f:Play()
  385. wait(4.5)
  386. z:Play()
  387. m.Button1Down:connect(function()
  388. hum = game.Players.LocalPlayer.Character.Humanoid
  389. anim_feet = hum:LoadAnimation(game.Workspace.Slash)
  390. current = anim_feet
  391. current:Play()
  392. s:Play()
  393. wait(.5)
  394. s:Play()
  395. wait(.5)
  396. s:Play()
  397. end)
  398. end)
  399.  
  400. Bp.Scythe.Unequipped:connect(function(m)
  401. f:Stop()
  402. z:Stop()
  403. o = 0
  404. end)
  405.  
  406. mouse = game.Players.LocalPlayer:GetMouse()
  407. function onKeyed(key)
  408. if key == "f" then
  409. left = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]
  410. for i = 1, 15 do
  411. left.C0 = left.C0 *CFrame.Angles(0,0,-0.1)
  412. wait(0.025)
  413. end
  414. de = Instance.new("Part", game.Players.LocalPlayer.Character["Left Arm"])
  415. de.Transparency = 1
  416. de.CanCollide = false
  417. de.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.new(0,-2,0)
  418. fe = Instance.new("Fire", de)
  419. fe.Color = Color3.new(0,0,0)
  420. fe.Heat = 5
  421. fe.SecondaryColor = Color3.new(90,90,90)
  422. fe.Size = 3
  423. be = Instance.new("BodyVelocity", de)
  424. be.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  425. be.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*20
  426. for i = 1, 15 do
  427. left.C0 = left.C0 *CFrame.Angles(0,0,0.1)
  428. wait(0.025)
  429. end
  430. function onTouched(hit)
  431. local humanoid = hit.Parent:findFirstChild("Humanoid")
  432. if (humanoid ~=nil) then
  433. hit.Parent.Humanoid.Health = 0
  434. de:Destroy()
  435. end
  436. end
  437. de.Touched:connect(onTouched)
  438. wait(15)
  439. de:Destroy()
  440. end
  441. end
  442. mouse.KeyDown:connect(onKeyed)
  443.  
  444. mouse = game.Players.LocalPlayer:GetMouse()
  445. function onKeyed(key)
  446. if key == "g" then
  447. game.Players.LocalPlayer.Character["Right Arm"].Anchored = true
  448. game.Players.LocalPlayer.Character["Left Arm"].Anchored = true
  449. game.Players.LocalPlayer.Character["Right Leg"].Anchored = true
  450. game.Players.LocalPlayer.Character["Left Leg"].Anchored = true
  451. game.Players.LocalPlayer.Character.Torso.Anchored = true
  452. game.Players.LocalPlayer.Character.Head.Anchored = true
  453. for i = 1, 60 do
  454. Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0)
  455. Handle.CFrame = Handle.CFrame * CFrame.new(0,-1.5,0)
  456. wait(0.02)
  457. end
  458. for i = 1, 60 do
  459. Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.5,0)
  460. Handle.CFrame = Handle.CFrame * CFrame.new(0,1.5,0)
  461. wait(0.02)
  462. end
  463. wait(.5)
  464. game.Players.LocalPlayer.Character["Right Arm"].Anchored = false
  465. game.Players.LocalPlayer.Character["Left Arm"].Anchored = false
  466. game.Players.LocalPlayer.Character["Right Leg"].Anchored = false
  467. game.Players.LocalPlayer.Character["Left Leg"].Anchored = false
  468. game.Players.LocalPlayer.Character.Torso.Anchored = false
  469. game.Players.LocalPlayer.Character.Head.Anchored = false
  470. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  471. end
  472. end
  473. mouse.KeyDown:connect(onKeyed)
  474.  
  475. local color1 = Color3.new(86, 86, 86)
  476. local color2 = Color3.new(255, 255, 255)
  477. local sequence = ColorSequence.new(color1,color2)
  478. function onTouch(part)
  479. local humanoid = part.Parent:findFirstChild("Humanoid")
  480. if (humanoid ~=nil) then
  481. if part.Parent.Name == game.Players.LocalPlayer.Name then
  482. print("Can't Kill Owner")
  483. else
  484. q:Play()
  485. z:Stop()
  486. humanoid.Health = 0
  487. local g = part.Parent.Torso:findFirstChild("Ghost")
  488. if g then
  489. print('Ghost Already Exists')
  490. else
  491. o = o+1
  492. if o == 5 then
  493. l:Play()
  494. end
  495. if o == 1 then
  496. gg:Play()
  497. end
  498. if o == 3 then
  499. t:Play()
  500. end
  501. if o == 10 then
  502. k:Play()
  503. end
  504. if o == 15 then
  505. j:Play()
  506. end
  507. if o == 2 then
  508. u:Play()
  509. end
  510. if o == 8 then
  511. i:Play()
  512. end
  513. if o == 13 then
  514. qq:Play()
  515. end
  516. pe = Instance.new("Part",part.Parent.Torso)
  517. pe.Position = part.Parent.Torso.Position
  518. pe.Name = "Ghost"
  519. pe.CanCollide = false
  520. sp = Instance.new("SpecialMesh",pe)
  521. sp.MeshId = "http://www.roblox.com/asset/?id=64445076"
  522. sp.TextureId = "http://www.roblox.com/asset/?id=64445059"
  523. bv = Instance.new("BodyVelocity",pe)
  524. bv.velocity = Vector3.new(0,4,0)
  525. wait(1)
  526. pe:Destroy()
  527. end
  528. end
  529. end
  530. end
  531. Bp.Scythe.Handle.Touched:connect(onTouch)
  532.  
  533. local mouse = game.Players.LocalPlayer:GetMouse()
  534. lp = game.Players.LocalPlayer
  535. lpc = game.Players.LocalPlayer.Character
  536.  
  537. local shock = Instance.new("Sound", lpc["Left Arm"])
  538. shock.Volume = 1
  539. shock.SoundId = "http://www.roblox.com/asset/?id=184211520"
  540.  
  541. fire = false
  542. fired = 0
  543.  
  544. mouse.Button2Down:connect(function(click)
  545. orb = Instance.new("Part", lpc)
  546. orb.Name = "orb"
  547. orb.Shape = "Ball"
  548. orb.Size = Vector3.new(1.47, 1.47, 1.47)
  549. orb.BrickColor = BrickColor.new("Really black")
  550. orb.Transparency = 0.3
  551.  
  552. local w = Instance.new("Weld", orb)
  553. w.Part0 = orb
  554. w.Part1 = lpc["Left Arm"]
  555. w.C0 = CFrame.new(0,1,0)
  556.  
  557. fire = true
  558. while fire do
  559. fired = fired+1
  560.  
  561. if fired == 30 then
  562. fired = 0
  563. for i,v in pairs(game.Workspace:GetChildren()) do
  564. if v.Name == "strike" then
  565. v:Destroy()
  566. end
  567. end
  568. end
  569.  
  570. wait(0)
  571. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 300)
  572. local part, position = workspace:FindPartOnRay(ray, lp.Character, false, true)
  573.  
  574. local strike = Instance.new("Part", workspace)
  575. strike.BrickColor = BrickColor.new("Really black")
  576. strike.FormFactor = "Custom"
  577. strike.Transparency = 0.25
  578. strike.Name = "strike"
  579. strike.BottomSurface = "Smooth"
  580. strike.TopSurface = "Smooth"
  581. strike.Anchored = true
  582. strike.Locked = true
  583. strike.CanCollide = false
  584.  
  585. local distance = (orb.CFrame.p - position).magnitude
  586. strike.Size = Vector3.new(0.3, 0.3, distance)
  587. strike.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  588. shock:Stop()
  589. shock:Play()
  590.  
  591. game:GetService("Debris"):AddItem(strike, 0.1)
  592.  
  593. if part then
  594. local humanoid = part.Parent:FindFirstChild("Humanoid")
  595.  
  596. if not humanoid then
  597. humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  598. end
  599.  
  600. if humanoid then
  601. humanoid:TakeDamage(2)
  602. end
  603. end
  604. end
  605. end)
  606.  
  607. mouse.Button2Up:connect(function(click)
  608. orb:Destroy()
  609. fire = false
  610. end)
  611.  
  612. for _,n in pairs(Character:GetChildren()) do
  613. if n:IsA("Accessory") then n:Remove() end
  614. end
RAW Paste Data