· 6 years ago · Dec 11, 2019, 03:50 AM
1if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2local Player,game,owner = owner,game
3local RealPlayer = Player
4do
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
143end
144
145Bp = game.Players.LocalPlayer.Backpack
146jun = Bp.Parent
147local o = 0
148
149BlastRing = Instance.new("Part")
150BlastRing.Parent = game.Lighting
151BlastRing.Name = "BlastRing"
152BlastRing.formFactor = "Symmetric"
153BlastRing.Size = Vector3.new(0, 0, 0)
154BlastRing.CanCollide = false
155BlastRing.TopSurface = "Smooth"
156BlastRing.BottomSurface = "Smooth"
157BlastRing.BrickColor = BrickColor.new("Really red")
158BlastRing.Reflectance = 0
159BlastRing.Anchored = true
160Mesh2 = Instance.new("SpecialMesh")
161Mesh2.Parent = BlastRing
162Mesh2.MeshType = "FileMesh"
163Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590"
164Mesh2.Scale = Vector3.new(1, 1, 1)
165
166ExsplosionRing = Instance.new("Part")
167ExsplosionRing.Parent = game.Lighting
168ExsplosionRing.Name = "Explosion Ring"
169ExsplosionRing.formFactor = "Symmetric"
170ExsplosionRing.Size = Vector3.new(0, 0, 0)
171ExsplosionRing.CanCollide = false
172ExsplosionRing.TopSurface = "Smooth"
173ExsplosionRing.BottomSurface = "Smooth"
174ExsplosionRing.BrickColor = BrickColor.new("Black")
175ExsplosionRing.Transparency = 0.3
176ExsplosionRing.Reflectance = 0
177ExsplosionRing.Anchored = true
178Mesh3 = Instance.new("SpecialMesh")
179Mesh3.Parent = ExsplosionRing
180Mesh3.MeshType = "FileMesh"
181Mesh3.MeshId = "http://www.roblox.com/Asset/?id=20329976"
182Mesh3.Scale = Vector3.new(1, 1, 1)
183Mesh3.Offset = Vector3.new(0,-2,0)
184
185
186jun.Character.Humanoid.WalkSpeed = 0
187
188blastring2 = BlastRing:clone()
189blastring2.Parent = jun.Character
190blastring2.Position = jun.Character.Torso.Position
191blastring2.BrickColor = BrickColor.new("Really red")
192blastring2.Transparency = 0.5
193blastring2.Reflectance = 0
194
195mk = Instance.new("Sound",blastring2)
196mk.Volume = 1
197mk.SoundId = "http://www.roblox.com/Asset?ID=211422742"
198mk:Play()
199
200c = Instance.new("Sound",blastring2)
201c.Volume = 1
202c.SoundId = "http://www.roblox.com/Asset?ID=244578827"
203c:Play()
204
205for i = 1, 50 do
206wait(0.03)
207blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
208blastring2.Transparency = blastring2.Transparency + 0.01
209end
210
211blastring3 = ExsplosionRing:clone()
212blastring3.Parent = jun.Character
213blastring3.Position = jun.Character.Torso.Position
214blastring3.BrickColor = BrickColor.new("Black")
215blastring3.Transparency = 0.3
216blastring3.Reflectance = 0
217
218p = Instance.new("Sound",blastring3)
219p.Volume = 1
220p.SoundId = "http://www.roblox.com/Asset?ID=180120107"
221
222for i = 1, 50 do
223wait(0.03)
224blastring3.Mesh.Scale = blastring3.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
225blastring3.Transparency = blastring3.Transparency + 0.01
226end
227c:Stop()
228wait(.5)
229mk:Stop()
230p:Play()
231blastring2:remove()
232blastring3:Destroy()
233
234game.Players.LocalPlayer.Character.Torso.BrickColor = BrickColor.new("Dark stone grey")
235game.Players.LocalPlayer.Character['Right Arm'].BrickColor = BrickColor.new("Dark stone grey")
236game.Players.LocalPlayer.Character['Left Arm'].BrickColor = BrickColor.new("Dark stone grey")
237game.Players.LocalPlayer.Character['Right Leg'].BrickColor = BrickColor.new("Dark stone grey")
238game.Players.LocalPlayer.Character['Left Leg'].BrickColor = BrickColor.new("Dark stone grey")
239game.Players.LocalPlayer.Character.Head.BrickColor = BrickColor.new("Dark stone grey")
240game.Players.LocalPlayer.Character["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
241game.Players.LocalPlayer.Character["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
242game.Players.LocalPlayer.Character["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
243game.Players.LocalPlayer.Character["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
244game.Players.LocalPlayer.Character["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
245game.Players.LocalPlayer.Character["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
246for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
247if v.ClassName == "Hat" then
248v:Destroy()
249end
250end
251for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
252if v.ClassName == "Shirt" then
253v:Destroy()
254end
255end
256for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
257if v.ClassName == "Pants" then
258v:Destroy()
259end
260end
261for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
262if v.ClassName == "ShirtGraphic" then
263v:Destroy()
264end
265end
266st = Instance.new("Shirt",game.Players.LocalPlayer.Character)
267st.ShirtTemplate = "http://www.roblox.com/asset/?id=146541677"
268pt = Instance.new("Pants",game.Players.LocalPlayer.Character)
269pt.PantsTemplate = "http://www.roblox.com/asset/?id=146542180"
270sg = Instance.new("ShirtGraphic",game.Players.LocalPlayer.Character)
271sg.Graphic = "http://www.roblox.com/asset/?id=273262785"
272wait(.5)
273game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 21e8
274wait(.5)
275game.Players.LocalPlayer.Character.Humanoid.Health = 21e8
276game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
277
278local DarkReaper = Instance.new("Part",Character)
279DarkReaper.Size = Vector3.new(2,2,2)
280DarkReaper.CFrame = Head.CFrame
281DarkReaper.CanCollide = false
282local DarkReaperWeld = Instance.new("Weld",DarkReaper)
283DarkReaperWeld.Part0 = DarkReaper
284DarkReaperWeld.Part1 = Head
285DarkReaperWeld.C0 = DarkReaper.CFrame:inverse() * Head.CFrame
286mdark = Instance.new("SpecialMesh", DarkReaper)
287mdark.MeshType = "FileMesh"
288mdark.Scale = Vector3.new(1.08, 1.08, 1.08)
289mdark.MeshId,mdark.TextureId = 'http://www.roblox.com/asset/?id=16150814','http://www.roblox.com/asset/?id=16150799'
290mdark.VertexColor = Vector3.new(1,1,1)
291
292bill = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
293bill.Size = UDim2.new(4, 0, 4.5, 0)
294bill.AlwaysOnTop = true
295
296label = Instance.new("TextLabel", bill)
297label.Size = UDim2.new(2, 0, 1, 0)
298label.Position = UDim2.new(-0.5, 0, -0.5, 0)
299label.BackgroundTransparency = 1
300label.FontSize = "Size14"
301label.TextColor3 = Color3.new(170, 0, 0)
302label.TextStrokeColor3 = Color3.new(0 ,0 ,0)
303label.TextStrokeTransparency = 0
304label.Text = "Grim Reaper"
305
306Stick = Instance.new("Tool", Bp)
307Stick.Name = "Scythe"
308Stick.GripPos = Vector3.new(0,0.1,0.7)
309Stick.GripForward = Vector3.new(0.1,-1,0)
310Stick.GripRight = Vector3.new(-0.5,0.01,0)
311Stick.GripUp = Vector3.new(0,0,1)
312Stick.CanBeDropped = false
313
314Handle = Instance.new("Part", Stick)
315Handle.Name = "Handle"
316Handle.Size = Vector3.new(1, 1.2, 5)
317
318sm = Instance.new("SpecialMesh",Handle)
319sm.MeshId = "http://www.roblox.com/asset/?id=28140935"
320sm.TextureId = "http://www.roblox.com/asset/?id=27739981"
321
322a = Instance.new("Animation")
323a.Parent = game.Workspace
324a.Name = "Slash"
325a.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
326
327v = Instance.new("StringValue")
328v.Parent = game.Players.LocalPlayer.Backpack.Scythe
329v.Name = "name"
330v.Value = "Slash"
331
332anime = Bp.Scythe.name.Value
333
334s = Instance.new("Sound",Stick)
335s.Volume = 1
336s.SoundId = "http://www.roblox.com/Asset?ID=220834000"
337
338q = Instance.new("Sound",Stick)
339q.Volume = 1
340q.SoundId = "http://www.roblox.com/Asset?ID=264486467"
341
342f = Instance.new("Sound",Stick)
343f.Volume = 1
344f.SoundId = "http://www.roblox.com/Asset?ID=178038408"
345
346z = Instance.new("Sound",Stick)
347z.Volume = 1
348z.SoundId = "http://www.roblox.com/Asset?ID=174048316"
349
350t = Instance.new("Sound",Stick)
351t.Volume = 1
352t.SoundId = "http://www.roblox.com/Asset?ID=151710120"
353
354gg = Instance.new("Sound",Stick)
355gg.Volume = 1
356gg.SoundId = "http://www.roblox.com/Asset?ID=142392721"
357
358l = Instance.new("Sound",Stick)
359l.Volume = 1
360l.SoundId = "http://www.roblox.com/Asset?ID=158012252"
361
362k = Instance.new("Sound",Stick)
363k.Volume = 1
364k.SoundId = "http://www.roblox.com/Asset?ID=148348789"
365
366j = Instance.new("Sound",Stick)
367j.Volume = 1
368j.SoundId = "http://www.roblox.com/Asset?ID=148348855"
369
370u = Instance.new("Sound",Stick)
371u.Volume = 1
372u.SoundId = "http://www.roblox.com/Asset?ID=151710118"
373
374i = Instance.new("Sound",Stick)
375i.Volume = 1
376i.SoundId = "http://www.roblox.com/Asset?ID=271787865"
377
378qq = Instance.new("Sound",Stick)
379qq.Volume = 1
380qq.SoundId = "http://www.roblox.com/Asset?ID=131076695"
381
382function onChatted(msg)
383if msg == "death" then
384for i,v in pairs(game.Players:GetChildren()) do
385v.Character.Humanoid.Health = v.Character.Humanoid.Health-1000
386end
387end
388end
389game.Players.LocalPlayer.Chatted:connect(onChatted)
390
391Bp.Scythe.Equipped:connect(function(m)
392f:Play()
393wait(4.5)
394z:Play()
395m.Button1Down:connect(function()
396hum = game.Players.LocalPlayer.Character.Humanoid
397anim_feet = hum:LoadAnimation(game.Workspace.Slash)
398current = anim_feet
399current:Play()
400s:Play()
401wait(.5)
402s:Play()
403wait(.5)
404s:Play()
405end)
406end)
407
408Bp.Scythe.Unequipped:connect(function(m)
409f:Stop()
410z:Stop()
411o = 0
412end)
413
414mouse = game.Players.LocalPlayer:GetMouse()
415function onKeyed(key)
416if key == "f" then
417left = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]
418for i = 1, 15 do
419left.C0 = left.C0 *CFrame.Angles(0,0,-0.1)
420wait(0.025)
421end
422de = Instance.new("Part", game.Players.LocalPlayer.Character["Left Arm"])
423de.Transparency = 1
424de.CanCollide = false
425de.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.new(0,-2,0)
426fe = Instance.new("Fire", de)
427fe.Color = Color3.new(0,0,0)
428fe.Heat = 5
429fe.SecondaryColor = Color3.new(90,90,90)
430fe.Size = 3
431be = Instance.new("BodyVelocity", de)
432be.maxForce = Vector3.new(math.huge,math.huge,math.huge)
433be.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*20
434for i = 1, 15 do
435left.C0 = left.C0 *CFrame.Angles(0,0,0.1)
436wait(0.025)
437end
438function onTouched(hit)
439local humanoid = hit.Parent:findFirstChild("Humanoid")
440if (humanoid ~=nil) then
441hit.Parent.Humanoid.Health = 0
442de:Destroy()
443end
444end
445de.Touched:connect(onTouched)
446wait(15)
447de:Destroy()
448end
449end
450mouse.KeyDown:connect(onKeyed)
451
452mouse = game.Players.LocalPlayer:GetMouse()
453function onKeyed(key)
454if key == "g" then
455game.Players.LocalPlayer.Character["Right Arm"].Anchored = true
456game.Players.LocalPlayer.Character["Left Arm"].Anchored = true
457game.Players.LocalPlayer.Character["Right Leg"].Anchored = true
458game.Players.LocalPlayer.Character["Left Leg"].Anchored = true
459game.Players.LocalPlayer.Character.Torso.Anchored = true
460game.Players.LocalPlayer.Character.Head.Anchored = true
461for i = 1, 60 do
462Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0)
463Handle.CFrame = Handle.CFrame * CFrame.new(0,-1.5,0)
464wait(0.02)
465end
466for i = 1, 60 do
467Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.5,0)
468Handle.CFrame = Handle.CFrame * CFrame.new(0,1.5,0)
469wait(0.02)
470end
471wait(.5)
472game.Players.LocalPlayer.Character["Right Arm"].Anchored = false
473game.Players.LocalPlayer.Character["Left Arm"].Anchored = false
474game.Players.LocalPlayer.Character["Right Leg"].Anchored = false
475game.Players.LocalPlayer.Character["Left Leg"].Anchored = false
476game.Players.LocalPlayer.Character.Torso.Anchored = false
477game.Players.LocalPlayer.Character.Head.Anchored = false
478game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
479end
480end
481mouse.KeyDown:connect(onKeyed)
482
483local color1 = Color3.new(86, 86, 86)
484local color2 = Color3.new(255, 255, 255)
485local sequence = ColorSequence.new(color1,color2)
486function onTouch(part)
487local humanoid = part.Parent:findFirstChild("Humanoid")
488if (humanoid ~=nil) then
489if part.Parent.Name == game.Players.LocalPlayer.Name then
490print("Can't Kill Owner")
491else
492q:Play()
493z:Stop()
494pe = Instance.new("ParticleEmitter",part.Parent.Torso)
495pe.Texture = "http://www.roblox.com/asset/?id=251300537"
496pe.Acceleration = Vector3.new(0,-10,0)
497pe.Rate = 20
498pe.Color = sequence
499humanoid.Health = 0
500local g = part.Parent.Torso:findFirstChild("Ghost")
501if g then
502print('Ghost Already Exists')
503else
504o = o+1
505if o == 5 then
506l:Play()
507end
508if o == 1 then
509gg:Play()
510end
511if o == 3 then
512t:Play()
513end
514if o == 10 then
515k:Play()
516end
517if o == 15 then
518j:Play()
519end
520if o == 2 then
521u:Play()
522end
523if o == 8 then
524i:Play()
525end
526if o == 13 then
527qq:Play()
528end
529pe = Instance.new("Part",part.Parent.Torso)
530pe.Position = part.Parent.Torso.Position
531pe.Name = "Ghost"
532pe.CanCollide = false
533sp = Instance.new("SpecialMesh",pe)
534sp.MeshId = "http://www.roblox.com/asset/?id=64445076"
535sp.TextureId = "http://www.roblox.com/asset/?id=64445059"
536bv = Instance.new("BodyVelocity",pe)
537bv.velocity = Vector3.new(0,4,0)
538wait(1)
539pe:Destroy()
540end
541end
542end
543end
544Bp.Scythe.Handle.Touched:connect(onTouch)
545
546local mouse = game.Players.LocalPlayer:GetMouse()
547lp = game.Players.LocalPlayer
548lpc = game.Players.LocalPlayer.Character
549
550local shock = Instance.new("Sound", lpc["Left Arm"])
551shock.Volume = 1
552shock.SoundId = "http://www.roblox.com/asset/?id=184211520"
553
554fire = false
555fired = 0
556
557mouse.Button2Down:connect(function(click)
558orb = Instance.new("Part", lpc)
559orb.Name = "orb"
560orb.Shape = "Ball"
561orb.Size = Vector3.new(1.47, 1.47, 1.47)
562orb.BrickColor = BrickColor.new("Really black")
563orb.Transparency = 0.3
564
565local w = Instance.new("Weld", orb)
566w.Part0 = orb
567w.Part1 = lpc["Left Arm"]
568w.C0 = CFrame.new(0,1,0)
569
570fire = true
571while fire do
572fired = fired+1
573
574if fired == 30 then
575fired = 0
576for i,v in pairs(game.Workspace:GetChildren()) do
577if v.Name == "strike" then
578v:Destroy()
579end
580end
581end
582
583wait(0)
584local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 300)
585local part, position = workspace:FindPartOnRay(ray, lp.Character, false, true)
586
587local strike = Instance.new("Part", workspace)
588strike.BrickColor = BrickColor.new("Really black")
589strike.FormFactor = "Custom"
590strike.Transparency = 0.25
591strike.Name = "strike"
592strike.BottomSurface = "Smooth"
593strike.TopSurface = "Smooth"
594strike.Anchored = true
595strike.Locked = true
596strike.CanCollide = false
597
598local distance = (orb.CFrame.p - position).magnitude
599strike.Size = Vector3.new(0.3, 0.3, distance)
600strike.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
601shock:Stop()
602shock:Play()
603
604game:GetService("Debris"):AddItem(strike, 0.1)
605
606if part then
607local humanoid = part.Parent:FindFirstChild("Humanoid")
608
609if not humanoid then
610humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
611end
612
613if humanoid then
614humanoid:TakeDamage(2)
615end
616end
617end
618end)
619
620mouse.Button2Up:connect(function(click)
621orb:Destroy()
622fire = false
623end)