· 6 years ago · Dec 11, 2019, 04:40 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
278game.Players.LocalPlayer.Character.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=16150814"
279game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=16150799"
280
281bill = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
282bill.Size = UDim2.new(4, 0, 4.5, 0)
283bill.AlwaysOnTop = true
284
285label = Instance.new("TextLabel", bill)
286label.Size = UDim2.new(2, 0, 1, 0)
287label.Position = UDim2.new(-0.5, 0, -0.5, 0)
288label.BackgroundTransparency = 1
289label.FontSize = "Size14"
290label.TextColor3 = Color3.new(170, 0, 0)
291label.TextStrokeColor3 = Color3.new(0 ,0 ,0)
292label.TextStrokeTransparency = 0
293label.Text = "Grim Reaper"
294
295Stick = Instance.new("Tool", Bp)
296Stick.Name = "Scythe"
297Stick.GripPos = Vector3.new(0,0.1,0.7)
298Stick.GripForward = Vector3.new(0.1,-1,0)
299Stick.GripRight = Vector3.new(-0.5,0.01,0)
300Stick.GripUp = Vector3.new(0,0,1)
301Stick.CanBeDropped = false
302
303Handle = Instance.new("Part", Stick)
304Handle.Name = "Handle"
305Handle.Size = Vector3.new(1, 1.2, 5)
306
307sm = Instance.new("SpecialMesh",Handle)
308sm.MeshId = "http://www.roblox.com/asset/?id=28140935"
309sm.TextureId = "http://www.roblox.com/asset/?id=27739981"
310
311a = Instance.new("Animation")
312a.Parent = game.Workspace
313a.Name = "Slash"
314a.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
315
316v = Instance.new("StringValue")
317v.Parent = game.Players.LocalPlayer.Backpack.Scythe
318v.Name = "name"
319v.Value = "Slash"
320
321anime = Bp.Scythe.name.Value
322
323s = Instance.new("Sound",Stick)
324s.Volume = 1
325s.SoundId = "http://www.roblox.com/Asset?ID=220834000"
326
327q = Instance.new("Sound",Stick)
328q.Volume = 1
329q.SoundId = "http://www.roblox.com/Asset?ID=264486467"
330
331f = Instance.new("Sound",Stick)
332f.Volume = 1
333f.SoundId = "http://www.roblox.com/Asset?ID=178038408"
334
335z = Instance.new("Sound",Stick)
336z.Volume = 1
337z.SoundId = "http://www.roblox.com/Asset?ID=174048316"
338
339t = Instance.new("Sound",Stick)
340t.Volume = 1
341t.SoundId = "http://www.roblox.com/Asset?ID=151710120"
342
343gg = Instance.new("Sound",Stick)
344gg.Volume = 1
345gg.SoundId = "http://www.roblox.com/Asset?ID=142392721"
346
347l = Instance.new("Sound",Stick)
348l.Volume = 1
349l.SoundId = "http://www.roblox.com/Asset?ID=158012252"
350
351k = Instance.new("Sound",Stick)
352k.Volume = 1
353k.SoundId = "http://www.roblox.com/Asset?ID=148348789"
354
355j = Instance.new("Sound",Stick)
356j.Volume = 1
357j.SoundId = "http://www.roblox.com/Asset?ID=148348855"
358
359u = Instance.new("Sound",Stick)
360u.Volume = 1
361u.SoundId = "http://www.roblox.com/Asset?ID=151710118"
362
363i = Instance.new("Sound",Stick)
364i.Volume = 1
365i.SoundId = "http://www.roblox.com/Asset?ID=271787865"
366
367qq = Instance.new("Sound",Stick)
368qq.Volume = 1
369qq.SoundId = "http://www.roblox.com/Asset?ID=131076695"
370
371function onChatted(msg)
372if msg == "death" then
373for i,v in pairs(game.Players:GetChildren()) do
374v.Character.Humanoid.Health = v.Character.Humanoid.Health-1000
375end
376end
377end
378game.Players.LocalPlayer.Chatted:connect(onChatted)
379
380Bp.Scythe.Equipped:connect(function(m)
381f:Play()
382wait(4.5)
383z:Play()
384m.Button1Down:connect(function()
385hum = game.Players.LocalPlayer.Character.Humanoid
386anim_feet = hum:LoadAnimation(game.Workspace.Slash)
387current = anim_feet
388current:Play()
389s:Play()
390wait(.5)
391s:Play()
392wait(.5)
393s:Play()
394end)
395end)
396
397Bp.Scythe.Unequipped:connect(function(m)
398f:Stop()
399z:Stop()
400o = 0
401end)
402
403mouse = game.Players.LocalPlayer:GetMouse()
404function onKeyed(key)
405if key == "f" then
406left = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]
407for i = 1, 15 do
408left.C0 = left.C0 *CFrame.Angles(0,0,-0.1)
409wait(0.025)
410end
411de = Instance.new("Part", game.Players.LocalPlayer.Character["Left Arm"])
412de.Transparency = 1
413de.CanCollide = false
414de.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.new(0,-2,0)
415fe = Instance.new("Fire", de)
416fe.Color = Color3.new(0,0,0)
417fe.Heat = 5
418fe.SecondaryColor = Color3.new(90,90,90)
419fe.Size = 3
420be = Instance.new("BodyVelocity", de)
421be.maxForce = Vector3.new(math.huge,math.huge,math.huge)
422be.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*20
423for i = 1, 15 do
424left.C0 = left.C0 *CFrame.Angles(0,0,0.1)
425wait(0.025)
426end
427function onTouched(hit)
428local humanoid = hit.Parent:findFirstChild("Humanoid")
429if (humanoid ~=nil) then
430hit.Parent.Humanoid.Health = 0
431de:Destroy()
432end
433end
434de.Touched:connect(onTouched)
435wait(15)
436de:Destroy()
437end
438end
439mouse.KeyDown:connect(onKeyed)
440
441mouse = game.Players.LocalPlayer:GetMouse()
442function onKeyed(key)
443if key == "g" then
444game.Players.LocalPlayer.Character["Right Arm"].Anchored = true
445game.Players.LocalPlayer.Character["Left Arm"].Anchored = true
446game.Players.LocalPlayer.Character["Right Leg"].Anchored = true
447game.Players.LocalPlayer.Character["Left Leg"].Anchored = true
448game.Players.LocalPlayer.Character.Torso.Anchored = true
449game.Players.LocalPlayer.Character.Head.Anchored = true
450for i = 1, 60 do
451Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0)
452Handle.CFrame = Handle.CFrame * CFrame.new(0,-1.5,0)
453wait(0.02)
454end
455for i = 1, 60 do
456Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.5,0)
457Handle.CFrame = Handle.CFrame * CFrame.new(0,1.5,0)
458wait(0.02)
459end
460wait(.5)
461game.Players.LocalPlayer.Character["Right Arm"].Anchored = false
462game.Players.LocalPlayer.Character["Left Arm"].Anchored = false
463game.Players.LocalPlayer.Character["Right Leg"].Anchored = false
464game.Players.LocalPlayer.Character["Left Leg"].Anchored = false
465game.Players.LocalPlayer.Character.Torso.Anchored = false
466game.Players.LocalPlayer.Character.Head.Anchored = false
467game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
468end
469end
470mouse.KeyDown:connect(onKeyed)
471
472local color1 = Color3.new(86, 86, 86)
473local color2 = Color3.new(255, 255, 255)
474local sequence = ColorSequence.new(color1,color2)
475function onTouch(part)
476local humanoid = part.Parent:findFirstChild("Humanoid")
477if (humanoid ~=nil) then
478if part.Parent.Name == game.Players.LocalPlayer.Name then
479print("Can't Kill Owner")
480else
481q:Play()
482z:Stop()
483pe = Instance.new("ParticleEmitter",part.Parent.Torso)
484pe.Texture = "http://www.roblox.com/asset/?id=251300537"
485pe.Acceleration = Vector3.new(0,-10,0)
486pe.Rate = 20
487pe.Color = sequence
488humanoid.Health = 0
489local g = part.Parent.Torso:findFirstChild("Ghost")
490if g then
491print('Ghost Already Exists')
492else
493o = o+1
494if o == 5 then
495l:Play()
496end
497if o == 1 then
498gg:Play()
499end
500if o == 3 then
501t:Play()
502end
503if o == 10 then
504k:Play()
505end
506if o == 15 then
507j:Play()
508end
509if o == 2 then
510u:Play()
511end
512if o == 8 then
513i:Play()
514end
515if o == 13 then
516qq:Play()
517end
518pe = Instance.new("Part",part.Parent.Torso)
519pe.Position = part.Parent.Torso.Position
520pe.Name = "Ghost"
521pe.CanCollide = false
522sp = Instance.new("SpecialMesh",pe)
523sp.MeshId = "http://www.roblox.com/asset/?id=64445076"
524sp.TextureId = "http://www.roblox.com/asset/?id=64445059"
525bv = Instance.new("BodyVelocity",pe)
526bv.velocity = Vector3.new(0,4,0)
527wait(1)
528pe:Destroy()
529end
530end
531end
532end
533Bp.Scythe.Handle.Touched:connect(onTouch)
534
535local mouse = game.Players.LocalPlayer:GetMouse()
536lp = game.Players.LocalPlayer
537lpc = game.Players.LocalPlayer.Character
538
539local shock = Instance.new("Sound", lpc["Left Arm"])
540shock.Volume = 1
541shock.SoundId = "http://www.roblox.com/asset/?id=184211520"
542
543fire = false
544fired = 0
545
546mouse.Button2Down:connect(function(click)
547orb = Instance.new("Part", lpc)
548orb.Name = "orb"
549orb.Shape = "Ball"
550orb.Size = Vector3.new(1.47, 1.47, 1.47)
551orb.BrickColor = BrickColor.new("Really black")
552orb.Transparency = 0.3
553
554local w = Instance.new("Weld", orb)
555w.Part0 = orb
556w.Part1 = lpc["Left Arm"]
557w.C0 = CFrame.new(0,1,0)
558
559fire = true
560while fire do
561fired = fired+1
562
563if fired == 30 then
564fired = 0
565for i,v in pairs(game.Workspace:GetChildren()) do
566if v.Name == "strike" then
567v:Destroy()
568end
569end
570end
571
572wait(0)
573local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 300)
574local part, position = workspace:FindPartOnRay(ray, lp.Character, false, true)
575
576local strike = Instance.new("Part", workspace)
577strike.BrickColor = BrickColor.new("Really black")
578strike.FormFactor = "Custom"
579strike.Transparency = 0.25
580strike.Name = "strike"
581strike.BottomSurface = "Smooth"
582strike.TopSurface = "Smooth"
583strike.Anchored = true
584strike.Locked = true
585strike.CanCollide = false
586
587local distance = (orb.CFrame.p - position).magnitude
588strike.Size = Vector3.new(0.3, 0.3, distance)
589strike.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
590shock:Stop()
591shock:Play()
592
593game:GetService("Debris"):AddItem(strike, 0.1)
594
595if part then
596local humanoid = part.Parent:FindFirstChild("Humanoid")
597
598if not humanoid then
599humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
600end
601
602if humanoid then
603humanoid:TakeDamage(2)
604end
605end
606end
607end)
608
609mouse.Button2Up:connect(function(click)
610orb:Destroy()
611fire = false
612end)