View difference between Paste ID: 7iijevf8 and CdvmfKaC
SHOW: | | - or go back to the newest paste.
1
--coolallball
2
if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.Version = "v1.0.0"
3
do
4
    script.Parent = InternalData.RealOwner.Character
5
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
6
    local function createObject (connections, index)
7
        local proxy = newproxy (true);local meta = getmetatable (proxy);
8
        local runbind = function (self, i, ...) connections[i]:Fire (...); end;
9
        while (#connections > 0) do connections [table.remove (connections, 1)] = Instance.new ('BindableEvent');end;
10
        meta.__index = function (self, i)
11
            if (i == 'TriggerEvent') then return runbind end;
12
            return connections[i] and connections[i].Event or index[i];
13
        end;
14
        meta.__newindex = index;meta.__metatable = false;return proxy
15
    end;
16
    local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
17
    local UserInputService = createObject({"InputBegan","InputEnded"},{})
18
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
19
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
20
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
21
    Event.OnServerEvent:Connect(function(FiredBy,Input)
22
        if FiredBy.Name ~= InternalData.RealOwner.Name then return end
23
        if Input.MouseEvent then
24
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
25
        else
26
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
27
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
28
            for _,Action in pairs(ContextActionService.Actions) do
29
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
30
            end
31
            Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
32
        end
33
    end)
34
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
35
    Event.Parent = NLS([[
36
        local Player = owner;
37
        local Event = script:WaitForChild("UserInput");
38
        local UserInputService = game:GetService("UserInputService");
39
        local Mouse = Player:GetMouse();
40
        local Input = function(Input,gameProcessedEvent)
41
            if gameProcessedEvent then return end
42
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
43
        end
44
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
45
        local Hit,Target
46
        while wait(1/60) do
47
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
48
                Hit = Mouse.Hit;Target = Mouse.Target;
49
                Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
50
            end
51
        end
52
    ]],InternalData.RealOwner.Character)
53
end
54
InternalData.RealInstance = Instance;Instance = setmetatable({},{
55
    __index = function (self,Index)
56
        if Index:lower() == 'new' then
57
            return function (Type, Parent)
58
                local Real = InternalData.RealInstance.new(Type,Parent)
59
                if not Type then return end
60
                if Type == "BillboardGui" then
61
                    return setmetatable({},{
62
                        __index = function (self,Index)
63
                            return Real[Index]
64
                        end;
65
                        __newindex = function (self,Index,Value)
66
                            if Index:lower() == "playertohidefrom" then
67
                                if Value.Name == owner.Name then Real[Index] = InternalData.RealOwner else Real[Index] = Value end
68
                            else
69
                                Real[Index] = Value
70
                            end
71
                        end;
72
                        __tostring = function(self) return tostring(Real) end;
73
                    })
74
                end
75
                return Real
76
            end
77
        end
78
        return InternalData.RealInstance[Index]
79
    end;
80
    __tostring = function(self) return tostring(InternalData.RealInstance) end;
81
});
82
InternalData.RealGame = game;game = setmetatable({},{
83
    __index = function (self,Index)
84
        local Sandbox = function (Thing)
85
            if Thing:IsA("Player") then
86
                local RealPlayer = Thing
87
                return setmetatable({},{
88
                    __index = function (self,Index)
89
                        local Type = type(RealPlayer[Index])
90
                        if Type == "function" then
91
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
92
                                return function (self)return InternalData["Mouse"] end
93
                            end
94
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
95
                        elseif Index == "FakePlayer" then
96
                            return true
97
                        end
98
                        return RealPlayer[Index]
99
                    end;
100
                    __tostring = function(self) return tostring(RealPlayer) end
101
                })
102
            end
103
        end
104
        if InternalData.RealGame[Index] then
105
            local Type = type(InternalData.RealGame[Index])
106
            if Type == "function" then
107
                if Index:lower() == "getservice" or Index:lower() == "service" then
108
                    return function (self,Service)
109
                        local FakeServices = {
110
                            ["players"] = function()
111
                                return setmetatable({},{
112
                                    __index = function (self2,Index2)
113
                                        local RealService = InternalData.RealGame:GetService(Service)
114
                                        local Type2 = type(Index2)
115
                                        if Type2 == "function" then
116
                                            return function (self,...) return RealService[Index2](RealService,...)end
117
                                        else
118
                                            if Index2:lower() == "localplayer" then return Sandbox(InternalData.RealOwner) end
119
                                            return RealService[Index2]
120
                                        end
121
                                    end;
122
                                    __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
123
                                })
124
                            end;
125
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
126
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
127
                            ["runservice"] = function()
128
                                return setmetatable({},{
129
                                    __index = function(self2,Index2)
130
                                        local RealService = InternalData.RealGame:GetService(Service)
131
                                        local Type2 = type(Index2)
132
                                        if Type2 == "function" then
133
                                            return function (self,...) return RealService[Index2](RealService,...) end
134
                                        else
135
                                            local RunServices = {
136
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
137
                                                ["renderstepped"] = function() return RealService["Stepped"] end
138
                                            }
139
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
140
                                            return RealService[Index2]
141
                                        end
142
                                    end;
143
                                    __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
144
                                })
145
                            end
146
                        }
147
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
148
                        return InternalData.RealGame:GetService(Service)
149
                    end
150
                end
151
                return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
152
            else
153
                if game:GetService(Index) then return game:GetService(Index) end
154
                return InternalData.RealGame[Index]
155
            end
156
        end
157
        return nil
158
    end;
159
    __tostring = function(self) return tostring(InternalData.game) end
160
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
161
 
162
--//Paste script below this line.
163
HoldE=false
164
Tool=script.Parent
165
Equipped=false
166
Player=game.Players.LocalPlayer
167
repeat 
168
 wait()
169
until Player
170
Character=Player.Character
171
repeat
172
 wait()
173
until Character
174
Mouse=Player:GetMouse()
175
Torso=Character.Torso
176
RArm=Character["Right Arm"]
177
LArm=Character["Left Arm"]
178
RLeg=Character["Right Leg"]
179
LLeg=Character["Left Leg"]
180
LS=Torso["Left Shoulder"]
181
LH=Torso["Left Hip"]
182
RS=Torso["Right Shoulder"]
183
RH=Torso["Right Hip"]
184
necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
185
LHC0=CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
186
LSC0=CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
187
RHC0=CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
188
RSC0=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
189
ROOTC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
190
Neck=Character.Torso.Neck
191
Human=Character:FindFirstChild("Humanoid")
192
h=game:service'RunService'.Heartbeat
193
local camera = workspace.CurrentCamera
194
Debounce=false
195
world=false
196
function part(parent,anchored,collide,size,cframe,bcol,material,trans,meshtype,meshscale)
197
 local partt = Instance.new("Part",parent)
198
 partt.Anchored = anchored
199
 partt.CanCollide = collide
200
 partt.Size = size
201
 partt.CFrame = cframe
202
 partt.BrickColor = BrickColor.new(bcol)
203
 partt.Material = material
204
 partt.Transparency = trans
205
 if meshtype then
206
  local mesh = Instance.new("SpecialMesh", partt)
207
  mesh.MeshType = meshtype
208
  mesh.Scale = meshscale
209
 end
210
 return partt
211
end
212
function BloodSpurt(parent,cframe)
213
 for i=1,5 do
214
  spawn(function()
215
  local bl=Instance.new("Part",parent)
216
  bl.Size=Vector3.new(0,0,0)
217
  bl.BrickColor=BrickColor.new("Really red")
218
  bl.Anchored=true
219
  bl.CanCollide=false
220
  bl.CFrame=cframe
221
  
222
  local bp=Instance.new("BodyPosition")
223
  bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
224
  bp.Position=bl.Position+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
225
  bl.Anchored=false
226
  bp.Parent=bl
227
  wait()
228
  bp.Parent=nil
229
  end)
230
 end
231
end
232
Human.MaxHealth=math.huge
233
knifeS=Instance.new("Sound",Character)
234
knifeS.SoundId="rbxassetid://616593932"
235
knifeS.Volume=2
236
ZWRDO=Instance.new("Sound",Character)
237
ZWRDO.SoundId="rbxassetid://188959431"
238
ZWRDO.Volume=.2
239
240
Mouse.KeyDown:connect(function(Key)
241
 if Key=="p" and Debounce==false and world==false then
242
  Debounce=true
243
  print("ZA WARUDO")
244
  print("TOKI YO TOMARE")
245
  local ZA=Instance.new("Sound",Character)
246
  ZA.SoundId="rbxassetid://274698941"
247
   ZA:Play()
248
   ZA.Volume=4
249
   ZWRDO:Play()
250
   Human.WalkSpeed=0
251
   spawn(function()
252
    for i=1,100 do
253
     RS.C0=RS.C0*CFrame.Angles(math.rad(0),math.rad(-.4),math.rad(.9))
254
     LS.C0=LS.C0*CFrame.Angles(math.rad(0),math.rad(.4),math.rad(-.9))
255
     Neck.C0=Neck.C0*CFrame.Angles(math.rad(-.1),math.rad(0),math.rad(0))
256
     h:wait()
257
    end
258
   end)
259
   --[[RS.C0=RS.C0*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(90))
260
   LS.C0=LS.C0*CFrame.Angles(math.rad(0),math.rad(40),math.rad(-90))
261
   Neck.C0=Neck.C0*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0))]]
262
   local sphere=Instance.new("Part",Character)
263
   sphere.Anchored=true
264
   sphere.CanCollide=false
265
   sphere.CFrame=Torso.CFrame
266
   sphere.Size=Vector3.new(1,1,1)
267
   sphere.TopSurface=0
268
   sphere.BottomSurface=0
269
   sphere.Reflectance=.5
270
   sphere.Transparency=1
271
   sphere.BrickColor=BrickColor.new("Lapis")
272
   local ball=Instance.new("SpecialMesh",sphere)
273
   ball.MeshType="Sphere"
274
   ball.Scale=Vector3.new(4,4,4)
275
   wait(2)
276
   sphere.Transparency=0
277
   spawn(function()
278
   for i=1,50 do
279
    ball.Scale=ball.Scale+Vector3.new(10,10,10)
280
    sphere.Transparency=i/50
281
    h:wait()
282
   end
283
   sphere.BrickColor=BrickColor.new("New Yeller")
284
   wait(.3)
285
   for i=1,25 do
286
    ball.Scale=ball.Scale-Vector3.new(20,20,20)
287
    sphere.Transparency=-i/25
288
    h:wait()
289
   end
290
   sphere:Destroy()
291
   ball:Destroy()
292
   Human.WalkSpeed=16
293
   end)
294
   
295
  AnchoredObjects={}
296
  for i, v in pairs(workspace:GetChildren()) do
297
   if v.Name~=Player.Name then
298
   if v.ClassName=="Model" then
299
    for ii, vv in pairs(v:GetChildren()) do
300
     if vv.Name=="Torso" then
301
      if vv.Anchored==false then vv.Anchored=true
302
       table.insert(AnchoredObjects,vv)
303
       wait()
304
      
305
     end
306
    end
307
    end
308
   end
309
   end
310
  end
311
  game.Lighting.OutdoorAmbient=Color3.new(0,14,135)
312
  game.Lighting.TimeOfDay="00:00:00"
313
  print("Time has stopped.")
314
  wait(1)
315
  for i=1,100 do
316
     RS.C0=RS.C0*CFrame.Angles(math.rad(0),math.rad(.4),math.rad(-.9))
317
     LS.C0=LS.C0*CFrame.Angles(math.rad(0),math.rad(-.4),math.rad(.9))
318
     Neck.C0=Neck.C0*CFrame.Angles(math.rad(.1),math.rad(0),math.rad(0))
319
  end
320
  Debounce=false
321
  world=true
322
  --[[local Mover=Instance.new("HopperBin")
323
  Mover.Parent=Player.StarterPack]]
324
  wait(11)
325
  ZA:Destroy()
326
  for i, v in pairs(AnchoredObjects) do
327
   if v.Anchored==true then
328
    v.Anchored=false
329
   end
330
  end
331
  print("Time continues to flow..")
332
  ZWRDO:Stop()
333
  game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
334
  game.Lighting.TimeOfDay="15:00:00"
335
  for i=1,#AnchoredObjects do
336
   table.remove(AnchoredObjects,i)
337
  end
338
  world=false
339
 end
340
end)
341
knifing=false
342
Mouse.KeyDown:connect(function(Key)
343
 if Key=="r" and world==true and Debounce==false then
344
  --KNIFEUU
345
  Debounce=true
346
  knifing=true
347
  local rad=math.rad
348
  Torso.Anchored=true
349
  local Knife=part(Character,false,false,Vector3.new(1,1,1),Torso.CFrame*CFrame.new(1.2,3,-3),Color3.new(217/255,217/255,217/255),"Neon",0)
350
  local Toward=part(Character,true,false,Vector3.new(1,1,1),Knife.CFrame*CFrame.new(0,0,-400),Color3.new(0,0,0),"Neon",1)
351
  local HBOX=part(Character,false,false,Vector3.new(1,1,1),Torso.CFrame*CFrame.new(1.5,3,-4),Color3.new(0,0,0),"Plastic",1)
352
  local mosh=Instance.new("SpecialMesh",Knife)
353
  mosh.MeshId="rbxassetid://202083123"
354
  mosh.Scale=Vector3.new(1,1,1)
355
   
356
  for i=1,10 do h:wait()
357
  Torso.CFrame=Torso.CFrame*CFrame.new(0,-.03,0)*CFrame.Angles((rad(-2)),(rad(0)),(rad(0)))
358
   RH.C0=RH.C0*CFrame.Angles(rad(-.3), rad(0), rad(2))*CFrame.new(.065,0,0)
359
   LH.C0=LH.C0*CFrame.Angles(rad(-.3), rad(0), rad(1.3))*CFrame.new(0,.03,0)
360
   LS.C0=LS.C0*CFrame.Angles(rad(-.3), rad(0), rad(3.5))*CFrame.new(0,0,0)
361
  RS.C0=RS.C0*CFrame.Angles(rad(-.3), rad(0), rad(12))*CFrame.new(0,0,0)
362
  end--202083162
363
  Knife.Anchored=false
364
   local BEP=Instance.new("BodyVelocity")
365
   BEP.maxForce=Vector3.new(math.huge,math.huge,math.huge)
366
   BEP.Velocity=(Toward.Position-HBOX.Position).unit*70
367
   BEP.Parent=HBOX
368
369
   local BEP2=Instance.new("BodyVelocity")
370
   BEP2.maxForce=Vector3.new(math.huge,math.huge,math.huge)
371
   BEP2.Velocity=(Toward.Position-Knife.Position).unit*70
372
   BEP2.Parent=Knife
373
   
374
   wait(.1)
375
   spawn(function()
376
    spawn(function()
377
     knifeS:Play()
378
     wait(.7)
379
     knifeS:Stop()
380
    end)
381
    wait(1)
382
    for i=1,10 do 
383
  Torso.CFrame=Torso.CFrame*CFrame.new(0,.03,0)*CFrame.Angles((rad(2)),(rad(0)),(rad(0)))
384
   RH.C0=RH.C0*CFrame.Angles(rad(.3), rad(0), rad(-2))*CFrame.new(-.065,0,0)
385
   LH.C0=LH.C0*CFrame.Angles(rad(.3), rad(0), rad(-1.3))*CFrame.new(0,-.03,0)
386
   LS.C0=LS.C0*CFrame.Angles(rad(.3), rad(0), rad(-3.5))*CFrame.new(0,0,0)
387
  RS.C0=RS.C0*CFrame.Angles(rad(.3), rad(0), rad(-12))*CFrame.new(0,0,0)
388
    end--202083162
389
    Torso.Anchored=false
390
   end)
391
   HBOX.Touched:connect(function(Hit)
392
    if Hit.Name~=HBOX.Name and Hit.Name~=Player.Name then
393
    print"hit!"
394
    Knife.Anchored=true
395
    BEP.Parent=nil
396
    --BEP2.Parent=nil
397
    HBOX:Destroy()
398
     print"yey"
399
    Knife.Anchored=true
400
    --Knife.CFrame=Knife.CFrame*CFrame.new(0,0,.5)
401
    repeat wait()
402
     
403
    until world==false
404
    Knife.Anchored=false
405
    Knife.Touched:connect(function(Het)
406
     if Het.Name~=Player.Name then
407
     if Het.Parent:FindFirstChild("Humanoid") then
408
      BloodSpurt(Character,Knife.CFrame)
409
     --Knife:Destroy()
410
     BEP2:Remove()
411
     local hoom=Het.Parent:FindFirstChild("Humanoid")
412
     hoom.Health=hoom.Health-100
413
     
414
     end
415
     end
416
    end)
417
    end
418
   end)
419
   Debounce=false
420
 end
421
end)
422
423
spawn(function()
424
 while true do
425
  wait()
426
  if Human.Health<=0 then
427
   game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
428
  game.Lighting.TimeOfDay="15:00:00"
429
  for i, v in pairs(AnchoredObjects) do
430
   if v.Anchored==true then
431
    v.Anchored=false
432
   end
433
  end
434
  end
435
  
436
 end
437
end)
438
--[[
439
 Torso.CFrame=Torso.CFrame*CFrame.new(0,-.3,0)*CFrame.Angles((math.rad(-13)),(math.rad(0)),(math.rad(0)))
440
     RH.C0=RH.C0*CFrame.new(.3,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(13))
441
     LH.C0=LH.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(15))
442
     RS.C0=RS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(10),math.rad(110))
443
     LS.C0=LS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(-10),math.rad(-110))
444
     Neck.C0=Neck.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0))
445
 ]]
446
--]]
447
--Muda MUDA MUDA MUDAAAA
448
Mouse.KeyDown:connect(function(Key)
449
 if Key=="e" and HoldE==false then
450
  HoldE=true
451
  Torso.Anchored=true
452
  local Playing=false
453
  --pos
454
     Torso.CFrame=Torso.CFrame*CFrame.new(0,-.3,0)*CFrame.Angles((math.rad(-13)),(math.rad(0)),(math.rad(0)))
455
     RH.C0=RH.C0*CFrame.new(.3,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(13))
456
     LH.C0=LH.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-3),math.rad(0),math.rad(15))
457
     RS.C0=RS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(10),math.rad(110))
458
     LS.C0=LS.C0*CFrame.new(1,0,0)*CFrame.Angles(math.rad(-20),math.rad(-10),math.rad(-110))
459
     Neck.C0=Neck.C0*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0))
460
    --arms
461
    local Hitbox=Instance.new("Part",Character)
462
    Hitbox.Anchored=true
463
    Hitbox.CanCollide=false
464
    Hitbox.Size=Vector3.new(4,7,4)
465
    Hitbox.Transparency=1
466
    Hitbox.CFrame=Torso.CFrame*CFrame.new(0,0,-2.3)
467
    RArm.Touched:connect(function(hit)
468
     if hit.Parent:FindFirstChild("Humanoid") then
469
      if hit.Parent.Name~=Player.Name and HoldE==true then
470
       local Hooman=hit.Parent:FindFirstChild("Humanoid")
471
       Hooman.Health=Hooman.Health-10
472
       local effectpart=Instance.new("Part",Character)
473
       effectpart.Size=Vector3.new(1,1,1)
474
       effectpart.CFrame=hit.