View difference between Paste ID: g57TDvYm and wXQEPwaP
SHOW: | | - or go back to the newest paste.
1
game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
141
142
local p = game.Players.LocalPlayer
143
local char = p.Character
144
local hed = char.Head
145
local LocalPlayer = p
146
147
local Player = game.Players.localPlayer
148
local Character = p.Character
149
local LeftArm2 = Character["Left Arm"]
150
local RightArm2 = Character["Right Arm"]
151
local LeftLeg2 = Character["Left Leg"]
152
local RightLeg2 = Character["Right Leg"]
153
local Head2 = Character.Head
154
local Torso2 = Character.Torso
155
156
--created by SoldierJoao
157
--Credits to metabee for the knives edit
158
159
mse = Player:GetMouse()
160
161
sound = Instance.new("Sound", Character)
162
sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
163
sound.Volume = 2.5
164
sound2 = Instance.new("Sound", Character)
165
sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
166
sound2.Volume = 2.5
167
sound3 = Instance.new("Sound", Character)
168
sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
169
sound3.Volume = 1.8
170
sound4 = Instance.new("Sound", Character)
171
sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
172
sound4.Volume = 2
173
TSTheme = Instance.new("Sound", Character)
174
TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
175
TSTheme.Volume = 2
176
canworld = true
177
mse.KeyDown:connect(function(key)
178
	key = key:lower()
179
	if key == "t" then
180
		if canworld == false then return end
181
		if canworld then
182
		canworld = false
183
		sound3:Play()
184
wait(2)
185
		sound:Play()
186
		sound4:Play()
187
		TSTheme:Play()
188
189
		local function spawnpart()
190
		sphere = Instance.new("Part")
191
		--game.Debris:AddItem(sphere,3)
192
		local sm = Instance.new("SpecialMesh", sphere)
193
		sm.MeshType = "Sphere"
194
		sphere.Transparency = 0.5
195
		sphere.Anchored = true
196
		sphere.CanCollide = false
197
		sphere.Material = "Neon"
198
		sphere.BrickColor = BrickColor.new("Black")
199
		end
200
		
201
		local function weld(lol)
202
			local weld = Instance.new("Weld", Player.Character.Torso)
203
			weld.Part0 = Player.Character.Torso
204
			weld.Part1 = lol
205
			weld.C0 = Player.Character.Torso.CFrame:inverse()
206
			weld.C1 = lol.CFrame:inverse()
207
		end
208
		wait()
209
		spawnpart()
210
			for i, v in pairs(game.Players:GetChildren()) do
211
			t = v.Character:FindFirstChild("Torso")
212
			if t then
213
				t.Anchored = true
214
				Player.Character:FindFirstChild("Torso").Anchored = false
215
			end
216
			RA = v.Character:FindFirstChild("Right Arm")
217
			if RA then
218
				RA.Anchored = true
219
				Player.Character:FindFirstChild("Right Arm").Anchored = false
220
			end
221
			LA = v.Character:FindFirstChild("Left Arm")
222
			if LA then
223
				LA.Anchored = true
224
				Player.Character:FindFirstChild("Left Arm").Anchored = false
225
			end
226
			RL = v.Character:FindFirstChild("Right Leg")
227
			if RL then
228
				RL.Anchored = true
229
				Player.Character:FindFirstChild("Right Leg").Anchored = false
230
			end
231
			LL = v.Character:FindFirstChild("Left Leg")
232
			if LL then
233
				LL.Anchored = true
234
				Player.Character:FindFirstChild("Left Leg").Anchored = false
235
			end
236
		end
237
		weld(sphere)
238
		cce = Instance.new("ColorCorrectionEffect", game.Lighting)
239
		cce.Saturation = -5
240
		--game.Debris:AddItem(cce, 5)
241
		sphere.Parent = Character.Torso
242
		for i = 1,3 do
243
			sphere.Size = sphere.Size + Vector3.new(50,50,50)
244
			wait()
245
			end
246
wait()
247
                        sphere:Destroy()
248
BeeSpeed = 0
249
		cce.Saturation = -0.1
250
		wait(0.3)
251
		cce.Saturation = -0.2
252
		wait(0.3)
253
		cce.Saturation = -0.3
254
		wait(0.2)
255
	        cce.Saturation = -1.5
256
                wait()
257
		end
258
	end
259
end
260
)
261
262
263
mse.KeyDown:connect(function(key)
264
	key = key:lower()
265
	if key == "y" then
266
canworld = true
267
		sound2:Play()
268
wait()
269
BeeSpeed = 1
270
		cce.Saturation = -1.3
271
		wait(0.5)
272
BeeSpeed = 1.2
273
		cce.Saturation = -0.5
274
		wait(0.5)
275
BeeSpeed = 1.4
276
		cce.Saturation = -0.4
277
		wait(0.3)
278
BeeSpeed = 1.5
279
		cce.Saturation = -0.2
280
		wait(0.2)
281
	        cce.Saturation = 0
282
283
		for i, v in pairs(game.Players:GetChildren()) do
284
		t = v.Character:FindFirstChild("Torso")
285
			if t then
286
				t.Anchored = false
287
			end
288
			RA = v.Character:FindFirstChild("Right Arm")
289
			if RA then
290
				RA.Anchored = false
291
			end
292
			LA = v.Character:FindFirstChild("Left Arm")
293
			if LA then
294
				LA.Anchored = false
295
			end
296
			RL = v.Character:FindFirstChild("Right Leg")
297
			if RL then
298
				RL.Anchored = false
299
			end
300
			LL = v.Character:FindFirstChild("Left Leg")
301
			if LL then
302
				LL.Anchored = false
303
			end
304
		end
305
BeeSpeed = 100
306
TSTheme:Stop()
307
end
308
end)