SHARE
TWEET

Untitled

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