View difference between Paste ID: mN6NR6dy and EfVvZnQi
SHOW: | | - or go back to the newest paste.
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,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
5
	script.Parent = InternalData.RealOwner.Character
6
	local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
7
	local function createObject (connections, index)
8
    	local proxy = newproxy (true);local meta = getmetatable (proxy);
9
    	local runbind = function (self, i, ...) connections[i]:Fire (...); end;
10
		while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
11
    	meta.__index = function (self, i)
12
        	if (i == 'TriggerEvent') then return runbind end;
13
        	return connections[i] and connections[i].Event or index[i];
14
    	end;
15
    	meta.__newindex = index;meta.__metatable = false;return proxy
16
	end;
17
	local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
18
	local UserInputService = createObject({"InputBegan","InputEnded"},{})
19
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
20
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
21
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
22
	Event.OnServerEvent:Connect(function(FiredBy,Input)
23
		if FiredBy ~= InternalData.RealOwner then return end
24
		if Input.MouseEvent then
25
			Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
26
		elseif Input.Sound then
27
			if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
28
		else
29
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
30
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
31
			for _,Action in pairs(ContextActionService.Actions) do
32
				for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
33
			end
34
			Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
35
		end
36
	end)
37
	InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
38
	Event.Parent = NLS([[
39
		local Player = owner;
40
		local Sounds = {};
41
		local Event = script:WaitForChild("UserInput");
42
		local UserInputService = game:GetService("UserInputService");
43
		local Mouse = Player:GetMouse();
44
		local Input = function(Input,gameProcessedEvent)
45
			if gameProcessedEvent then return end
46
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
47
		end
48
		Event.OnClientEvent:connect(function(Args)
49
			if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
50
		end)
51
		UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
52
		local Hit,Target
53
		while wait(1/30) do
54
			for x,Sound in pairs(Sounds) do
55
				if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
56
			end
57
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
58
				Hit = Mouse.Hit;Target = Mouse.Target;
59
				Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
60
			end
61
		end
62
	]],InternalData.RealOwner.Character)
63
end
64
InternalData.NewOwner = setmetatable({},{
65
	__index = function (self,Index)
66
			local Type = type(InternalData.RealOwner[Index])
67
			if Type == "function" then
68
				if Index:lower() == "getmouse" or Index:lower() == "mouse" then
69
				return function (self)return InternalData["Mouse"] end
70
				end
71
			return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
72
		elseif Index == "FakePlayer" then
73
			return true
74
		end
75
		return InternalData.RealOwner[Index]
76
	end;
77
	__tostring = function(self) return tostring(InternalData.RealOwner) end
78
})
79
--LoadLibrary("RbxUtility").Create
80
InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
81
	if Library == "RbxUtility" then
82
		return setmetatable({},{
83
			__tostring = function() return "RbxUtility" end;
84
			__index = function(self, Index)
85
				if Index:lower() == "create" then
86
					return function(Type)
87
						return function(Data)
88
							Data = Data or {}
89
							local Inst = Instance.new(Type)
90
							for x,y in pairs(Data) do
91
								if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
92
								if y == owner then y = InternalData.RealOwner end
93
								Inst[x] = y
94
							end
95
							return Inst
96
						end
97
					end
98
				end
99
				return InternalData.LoadLibrary(Library)[Index]
100
			end
101
		})
102
	end
103
	return InternalData.LoadLibrary(Library)
104
end
105
InternalData.RealInstance = Instance;Instance = setmetatable({},{
106
	__index = function (self,Index)
107
		if Index:lower() == 'new' then
108
			return function (Type, Parent)
109
				if Parent == owner then Parent = InternalData.RealOwner end
110
				if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
111
				local Real = InternalData.RealInstance.new(Type,Parent)
112
				if not Type then return end
113
				if Type == "BillboardGui" then
114
					local ToReturn = setmetatable({},{
115
						__index = function (self,Index)
116
							if type(Real[Index]) == "function" then
117
								if Index:lower() == "clone" then
118
									return function (self)
119
										local Real = Real:Clone()
120
										local ToReturn = setmetatable({RealObject = Real},{
121
											__index = function (self,Index)
122
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
123
												return Real[Index]
124
											end;
125
											__newindex = function (self,Index,Value)
126
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
127
												if Value == owner then Value = InternalData.RealOwner end
128
												Real[Index] = Value
129
											end;
130
											__tostring = function(self) return tostring(Real) end;
131
										})
132
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
133
									end
134
								end
135
								return function (self,...) return Real[Index](Real,...)end
136
							end
137
							return Real[Index]
138
						end;
139
						__newindex = function (self,Index,Value)
140
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
141
							if Value == owner then Value = InternalData.RealOwner end
142
							Real[Index] = Value
143
						end;
144
						__tostring = function(self) return tostring(Real) end;
145
					})
146
					InternalData.RealObjs[ToReturn] = Real;return ToReturn;
147
				elseif Type:lower() == "sound" then
148
					Real.Parent = owner.Character;
149
					local ToReturn = setmetatable({RealObject = Real},{
150
						__index = function (self,Index)
151
							if Index:lower() == "playbackloudness" then
152
								return InternalData.SoundLoudness[Real] or 0
153
							elseif type(Real[Index]) == "function" then
154
								if Index:lower() == "clone" then
155
									return function (self)
156
										local Real = Real:Clone()
157
										local ToReturn = setmetatable({},{
158
											__index = function (self,Index)
159
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
160
												return Real[Index]
161
											end;
162
											__newindex = function (self,Index,Value)
163
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
164
												if Value == owner then Value = InternalData.RealOwner end
165
												Real[Index] = Value
166
											end;
167
											__tostring = function(self) return tostring(Real) end;
168
										})
169
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
170
									end
171
								end
172
								return function (self,...) return Real[Index](Real,...)end
173
							end
174
							return Real[Index]
175
						end;
176
						__newindex = function (self,Index,Value)
177
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
178
							if Value == owner then Value = InternalData.RealOwner end
179
							Real[Index] = Value
180
						end;
181
						__tostring = function(self) return tostring(Real) end;
182
					})
183
					InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
184
				else
185
					local ToReturn = setmetatable({RealObject = Real},{
186
						__index = function (self,Index)
187
							if type(Real[Index]) == "function" then
188
								if Index:lower() == "clone" then
189
									return function (self)
190
										local Real = Real:Clone()
191
										local ToReturn = setmetatable({},{
192
											__index = function (self,Index)
193
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
194
												return Real[Index]
195
											end;
196
											__newindex = function (self,Index,Value)
197
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
198
												if Value == owner then Value = InternalData.RealOwner end
199
												Real[Index] = Value
200
											end;
201
											__tostring = function(self) return tostring(Real) end;
202
										})
203
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
204
									end
205
								end
206
								return function (self,...) return Real[Index](Real,...)end
207
							end
208
							return Real[Index]
209
						end;
210
						__newindex = function (self,Index,Value)
211
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
212
							if Value == owner then Value = InternalData.RealOwner end
213
							Real[Index] = Value
214
						end;
215
						__tostring = function(self) return tostring(Real) end;
216
					})
217
					InternalData.RealObjs[ToReturn] = Real;return ToReturn;
218
				end
219
			end
220
		end
221
		return InternalData.RealInstance[Index]
222
	end;
223
	__tostring = function(self) return tostring(InternalData.RealInstance) end;
224
});
225
InternalData.RealGame = game;game = setmetatable({},{
226
	__index = function (self,Index)
227
		if InternalData.RealGame[Index] then
228
			local Type = type(InternalData.RealGame[Index])
229
			if Type == "function" then
230
				if Index:lower() == "getservice" or Index:lower() == "service" then
231
					return function (self,Service)
232
						local FakeServices = {
233
							["players"] = function()
234
								return setmetatable({},{
235
									__index = function (self2,Index2)
236
										local RealService = InternalData.RealGame:GetService(Service)
237
										local Type2 = type(RealService[Index2])
238
										if Type2 == "function" then
239
											return function (self,...) return RealService[Index2](RealService,...)end
240
										else
241
											if Index2:lower() == "localplayer" then return InternalData.NewOwner end
242
											return RealService[Index2]
243
										end
244
									end;
245
									__tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
246
								})
247
							end;
248
							["contextactionservice"] = function() return InternalData["ContextActionService"] end;
249
							["userinputservice"] = function() return InternalData["UserInputService"] end;
250
							["debris"] = function()
251
								return setmetatable({},{
252
									__index = function(self2,Index2)
253
										local RealService = InternalData.RealGame:GetService(Service)
254
										local Type2 = type(RealService[Index2])
255
										if Type2 == "function" then
256
											if Index2:lower() == "additem" then
257
												return function (self,Item,Time)
258
													if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
259
													return RealService:AddItem(Item,Time)
260
												end
261
											end
262
											return function (self,...) return RealService[Index2](RealService,...) end
263
										end
264
										return RealService[Index2]
265
									end;
266
									__tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
267
								})
268
							end;
269
							["runservice"] = function()
270
								return setmetatable({},{
271
									__index = function(self2,Index2)
272
										local RealService = InternalData.RealGame:GetService(Service)
273
										local Type2 = type(RealService[Index2])
274
										if Type2 == "function" then
275
											return function (self,...) return RealService[Index2](RealService,...) end
276
										else
277
											local RunServices = {
278
												["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
279
												["renderstepped"] = function() return RealService["Stepped"] end
280
											}
281
											if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
282
											return RealService[Index2]
283
										end
284
									end;
285
									__tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
286
								})
287
							end
288
						}
289
						if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
290
						return InternalData.RealGame:GetService(Service)
291
					end
292
				end
293
				return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
294
			else
295
				if game:GetService(Index) then return game:GetService(Index) end
296
				return InternalData.RealGame[Index]
297
			end
298
		end
299
		return nil
300
	end;
301
	__tostring = function(self) return tostring(InternalData.game) end
302
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
303
304-
print("hello welcome to windows.exe xdd. this is made by mrfunnylaughs4")
304+
print("hello welcome to windows.exe xdd. this is made by TameDoNotClick")
305
warn([[the functions are: 
306
click - throw a windows dart that will "shutdown" players
307
E - restart their explorer.exe xdd
308
R - bsod them
309
T - make them stop responding
310
Y - bust a person with a windows laptop
311
U - give a person a fresh virus xd
312
P - spam somebody's mailbox
313
F - throw a computer at somebody xddddd
314
G - let me just add chilledwindows.exe in this game
315
H - shoot some lazers out of the laptop
316
J - suck a player into a screen xd
317
K - suck a player into a screen and fling them!!!!
318
L - let me just shoot a lazer from my arm brb]])
319
wait(1)
320
321
local plr = game:GetService("Players").LocalPlayer
322
attacking = false
323
walking = false
324
local mouse = plr:GetMouse()
325
repeat wait() until plr.Character
326
local char = plr.Character
327
local oldarmc1 = char.Torso["Left Shoulder"].C0
328
local oldarmc2 = char.Torso["Right Shoulder"].C0
329
for i,v in pairs(char:GetDescendants()) do
330
	if v:IsA("Accessory") then
331
		v:Destroy()
332
	end
333
end
334
local glasses = Instance.new("Accessory")
335
glasses.Name = "BillGatesGlasses"
336
glasses.AttachmentPos = Vector3.new(0, 0.3, 0.25)
337
glasses.Parent = char.Head
338
local part = Instance.new("Part", glasses)
339
part.Name = "Handle"
340
part.Size = Vector3.new(1, 0.4, 1)
341
part.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 1, 0)
342
local mesh = Instance.new("SpecialMesh", part)
343
mesh.MeshType = "FileMesh"
344
mesh.MeshId = "http://www.roblox.com/asset/?id=11419729"
345
mesh.TextureId = "rbxassetid://167447118"
346
glasses.Parent = char
347
local hair = Instance.new("Accessory")
348
hair.Name = "BillGatesHair"
349
hair.AttachmentPos = Vector3.new(0.01, 0.1, 0)
350
hair.Parent = char.Head
351
local part2 = Instance.new("Part", hair)
352
part2.Name = "Handle"
353
part2.Size = Vector3.new(1, 0.8, 1)
354
part2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 1, 0)
355
local mesh2 = Instance.new("SpecialMesh", part2)
356
mesh2.MeshType = "FileMesh"
357
mesh2.MeshId = "http://www.roblox.com/asset/?id=12259089"
358
mesh2.TextureId = "http://www.roblox.com/asset/?id=12864575"
359
hair.Parent = char
360
char.Head:WaitForChild("face").Texture = "http://www.roblox.com/asset/?id=1540974968"
361
362
char.Humanoid.Running:Connect(function(speed)
363
	if speed > 0  then
364
		walking = true
365
	else
366
		walking = false
367
	end
368
end)
369
370
mouse.Button1Down:Connect(function()
371
	if attacking == false and walking == false then
372
		attacking = true
373
		local torso = char.Torso
374
		torso.Anchored = true
375
		spawn(function()
376
			for i = 0, 1.6, 0.1 do
377
				torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.09), i)
378
				game:GetService("RunService").RenderStepped:Wait()
379
			end
380
			for i = 1.6, 0 , -0.1 do
381
				torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.09), i)
382
				game:GetService("RunService").RenderStepped:Wait()
383
			end
384
		end)
385
		for i = 0, 1.6, 0.1 do
386
			torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.09), i)
387
			game:GetService("RunService").RenderStepped:Wait()
388
		end
389
		for i = 1.6, 0 , -0.1 do
390
			torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.09), i)
391
			game:GetService("RunService").RenderStepped:Wait()
392
		end
393
		local dart = Instance.new("Part", workspace)
394
		dart.Anchored = true
395
		dart.Size = Vector3.new(1.7, 0.2, 0.2)
396
		dart.BrickColor = BrickColor.new("Bright blue")
397
		dart.CFrame = char["Left Arm"].CFrame * CFrame.Angles(0, math.rad(90), math.pi / 4.1) * CFrame.new(0, -1, 0)
398
		local dart2 = Instance.new("Part", workspace)
399
		dart2.Anchored = true
400
		dart2.Size = Vector3.new(1.7, 0.2, 0.2)
401
		dart2.BrickColor = BrickColor.new("Bright blue")
402
		dart2.CFrame = char["Right Arm"].CFrame * CFrame.Angles(0, math.rad(90), math.pi / 4.1) * CFrame.new(0, -1, 0)
403
		wait(0.5)
404
		spawn(function()
405
			dart.Touched:Connect(function(hit)
406
				if hit.Parent:FindFirstChild("Head") then
407
					hit.Parent.Head:Destroy()
408
					local shutdown = Instance.new("Sound", hit.Parent)
409
					shutdown.SoundId = "rbxassetid://784747919"
410
					shutdown.Volume = 1
411
					shutdown:Play()
412
				end
413
			end)
414
			for i = 1, 100 do
415
				dart.CFrame = dart.CFrame * CFrame.new(-1, -0.01, 0)
416
				game:GetService("RunService").RenderStepped:Wait()
417
			end
418
			dart:Destroy()
419
		end)
420
		spawn(function()
421
			dart2.Touched:Connect(function(hit)
422
				if hit.Parent:FindFirstChild("Head") then
423
					hit.Parent.Head:Destroy()
424
					local shutdown = Instance.new("Sound", hit.Parent)
425
					shutdown.SoundId = "rbxassetid://784747919"
426
					shutdown.Volume = 1
427
					shutdown:Play()
428
				end
429
			end)
430
			for i = 1, 100 do
431
				dart2.CFrame = dart2.CFrame * CFrame.new(-1, -0.01, 0)
432
				game:GetService("RunService").RenderStepped:Wait()
433
			end
434
			dart2:Destroy()
435
		end)
436
		local start1 = torso["Left Shoulder"].C0
437
		spawn(function()
438
			for i = 1.6, 0, -0.1 do
439
				torso["Left Shoulder"].C0 = oldarmc1:lerp(start1, i*i)
440
				game:GetService("RunService").RenderStepped:Wait()
441
			end
442
		end)
443
		local start2 = torso["Right Shoulder"].C0
444
		for i = 1.6, 0, -0.1 do
445
			torso["Right Shoulder"].C0 = oldarmc2:lerp(start2, i*i)
446
			game:GetService("RunService").RenderStepped:Wait()
447
		end
448
		attacking = false
449
		torso.Anchored = false
450
	end
451
end)
452
453
game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
454
	if isTyping == false then
455
		if input.KeyCode == Enum.KeyCode.E then
456
			local tar = mouse.Target
457
			if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("restartwhoops") then
458
				if tar.Parent:FindFirstChild("Humanoid") then
459
					tar.Parent.Humanoid.DisplayDistanceType = "None"
460
				end
461
				for i,v in pairs(tar.Parent:GetChildren()) do
462
					if v:IsA("BasePart") then
463
						v.Anchored = true
464
					end
465
				end
466
				local sound = Instance.new("Sound", tar.Parent:FindFirstChild("Head"))
467
				sound.SoundId = "rbxassetid://489390072"
468
				sound.Volume = 5
469
				sound:Play()
470
				local billboard = Instance.new("BillboardGui", tar.Parent.Head)
471
				billboard.Size = UDim2.new(0, 200, 0, 50)
472
				billboard.StudsOffset = Vector3.new(0, 2, 0)
473
				billboard.Adornee = tar.Parent.Head
474
				billboard.Name = "restartwhoops"
475
				billboard.MaxDistance = 100
476
				local text = Instance.new("TextLabel", billboard)
477
				text.BackgroundTransparency = 1
478
				text.Size = UDim2.new(10, 0, 1, 0)
479
				text.Position = UDim2.new(-4.5, 0, 0, 0)
480
				text.Font = "Cartoon"
481
				text.TextSize = 30
482
				text.TextStrokeTransparency = 1
483
				text.TextWrapped = true
484
				local text2 = "Restarting Explorer.EXE..."
485
				local texttypetimes = string.len(text2)
486
				spawn(function()
487
					for i = 1, texttypetimes, 1 do
488
						text.Text = string.sub(text2, 1, i)
489
						wait(0.05)
490
					end
491
				end)
492
				wait(10)
493
				if tar.Parent then
494
					for i,v in pairs(tar.Parent:GetChildren()) do
495
						if v:IsA("BasePart") then
496
							v.Anchored = false
497
						end
498
					end
499
				end
500
				local text3 = "Explorer.EXE has fully restarted."
501
				local texttypetimes2 = string.len(text3)
502
				for i = 1, texttypetimes2, 1 do
503
					text.Text = string.sub(text3, 1, i)
504
					wait(0.05)
505
				end
506
				wait(2)
507
				if tar.Parent then
508
					if tar.Parent:FindFirstChild("Humanoid") then
509
						tar.Parent.Humanoid.DisplayDistanceType = "Viewer"
510
					end
511
				end
512
				billboard:Destroy()			
513
			end	
514
		end
515
		if input.KeyCode == Enum.KeyCode.R then
516
			local tar = mouse.Target
517
			if tar and tar.Parent then
518
			if tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("youjustgotbsodxdd") then
519
				local part = Instance.new("Part", tar.Parent)
520
				part.Name = "bsodbrick"
521
				part.Size = tar.Parent.Head.Size
522
				part.Anchored = true
523
				part.CFrame = tar.Parent.Head.CFrame
524
				part.CanCollide = false
525
				part.Transparency = 1
526
				part.Locked = true
527
				local player = game:GetService("Players"):GetPlayerFromCharacter(tar.Parent)
528
				if player then
529
					local gui = Instance.new("ScreenGui", player.PlayerGui)
530
					gui.Name = "blindness"
531
					local image = Instance.new("ImageLabel", gui)
532
					image.Size = UDim2.new(1, 0, 1, 0)
533
					image.BorderSizePixel = 0
534
					image.Image = "http://www.roblox.com/asset/?id=739681017"
535
					for i,v in pairs(tar.Parent:GetChildren()) do
536
						if v:IsA("Part") then
537
							if v.Name ~= "bsodbrick" then
538
								v:Destroy()
539
							end
540
						end
541
					end
542
				end
543
				if tar.Parent then
544
					for i,v in pairs(tar.Parent:GetChildren()) do -- part that errors
545
						if v:IsA("BasePart") then
546
							if v.Name ~= "bsodbrick" then
547
								v:Destroy()
548
							end
549
						end
550
					end
551
				end
552
				local sound = Instance.new("Sound", part)
553
				sound.SoundId = "rbxassetid://160715357"
554
				sound.Volume = 5
555
				sound:Play()
556
				local billboard = Instance.new("BillboardGui", part)
557
				billboard.Adornee = part
558
				billboard.Size = UDim2.new(0, 70, 0, 70)
559
				billboard.StudsOffset = Vector3.new(10, 20, 0)
560
				billboard.Name = "youjustgotbsodxdd"
561
				billboard.MaxDistance = 50
562
				local text = Instance.new("ImageLabel", billboard)
563
				text.Size = UDim2.new(5, 0, 5, 0)
564
				text.BorderSizePixel = 0
565
				text.Position = UDim2.new(-2.5, 0, 0, 0)
566
				text.Image = "http://www.roblox.com/asset/?id=739681017"
567
				end
568
			end
569
		end
570
		if input.KeyCode == Enum.KeyCode.T then
571
			local tar = mouse.Target
572
			if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("norespondxd") then
573
				if tar.Parent:FindFirstChild("Humanoid") then
574
					tar.Parent.Humanoid.DisplayDistanceType = "None"
575
				end
576
				local billboard = Instance.new("BillboardGui", tar.Parent.Head)
577
				billboard.Size = UDim2.new(0, 200, 0, 50)
578
				billboard.StudsOffset = Vector3.new(0, 2, 0)
579
				billboard.Adornee = tar.Parent.Head
580
				billboard.Name = "norespondxd"
581
				billboard.MaxDistance = 100
582
				local text = Instance.new("TextLabel", billboard)
583
				text.BackgroundTransparency = 1
584
				text.Size = UDim2.new(10, 0, 1, 0)
585
				text.Position = UDim2.new(-4.5, 0, 0, 0)
586
				text.Font = "Cartoon"
587
				text.TextSize = 30
588
				text.TextStrokeTransparency = 1
589
				text.TextWrapped = true
590
				text.Text = tar.Parent.Name.." has stopped working."
591
				local sound = Instance.new("Sound", tar.Parent)
592
				sound.SoundId = "rbxassetid://669574849"
593
				sound.Volume = 5
594
				sound:Play() 
595
				spawn(function()
596
					repeat
597
						if tar.Parent then
598
							for i,v in pairs(tar.Parent:GetChildren()) do
599
								if v:IsA("BasePart") then
600
									v.Anchored = true
601
								end
602
							end
603
						end
604
						wait(0.1)
605
						if tar.Parent then
606
							for i,v in pairs(tar.Parent:GetChildren()) do
607
								if v:IsA("BasePart") then
608
									v.Anchored = false
609
								end
610
							end
611
						end
612
						wait()
613
					until not tar.Parent
614
				end)
615
			end
616
		end
617
		if input.KeyCode == Enum.KeyCode.Y and attacking == false then
618
			attacking = true
619
			local pcmodel = Instance.new("Model", workspace)
620
			pcmodel.Name = "this is a good windows pc xdd"
621
			local base = Instance.new("Part", pcmodel)
622
			base.Name = "Bottom"
623
			base.BrickColor = BrickColor.new("Black")
624
			base.Size = Vector3.new(8.1, 0.4, 6.3)
625
			base.TopSurface = "Smooth"
626
			base.BottomSurface = "Smooth"
627
			pcmodel.PrimaryPart = base
628
			local screen = Instance.new("Part", pcmodel)
629
			screen.Name = "ScreenHolder"
630
			screen.BrickColor = BrickColor.new("Black")
631
			screen.Size = Vector3.new(8.1, 5.2, 0.4)
632
			screen.TopSurface = "Smooth"
633
			screen.BottomSurface = "Smooth"
634
			local weld = Instance.new("Weld", pcmodel)
635
			weld.Name = "BaseToScreenHolder"
636
			weld.Part0 = base
637
			weld.Part1 = screen
638
			weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
639
			local screen2 = Instance.new("Part", pcmodel)
640
			screen2.Name = "Screen"
641
			screen2.BrickColor = BrickColor.new("Really black")
642
			screen2.Size = Vector3.new(7.5, 4.5, 0.1)
643
			screen2.TopSurface = "Smooth"
644
			screen2.BottomSurface = "Smooth"
645
			local weld2 = Instance.new("Weld", pcmodel)
646
			weld2.Name = "ScreenHolderToScreen"
647
			weld2.Part0 = screen
648
			weld2.Part1 = screen2
649
			weld2.C1 = CFrame.new(0, 0, -0.2)
650
			pcmodel:SetPrimaryPartCFrame(CFrame.new(mouse.Hit.p) + Vector3.new(0, 100, 0))
651
			local sound = Instance.new("Sound", pcmodel)
652
			sound.SoundId = "rbxassetid://587166970"
653
			sound.Volume = 2
654
			sound:Play()
655
			base.Touched:Connect(function(hit)
656
				if hit.Parent:FindFirstChild("Head") then
657
					hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 1, 0)
658
				end
659
			end)
660
			screen.Touched:Connect(function(hit)
661
				if hit.Parent:FindFirstChild("Head") then
662
					hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 1, 0)
663
				end
664
			end)
665
			screen2.Touched:Connect(function(hit)
666
				if hit.Parent:FindFirstChild("Head") then
667
					hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 1, 0)
668
				end
669
			end)
670
			spawn(function()
671
				wait(4)
672
				attacking = false
673
			end)
674
		end
675
		if input.KeyCode == Enum.KeyCode.U then
676
			local tar = mouse.Target
677
			if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("virusaffect") then
678
				if tar.Parent:FindFirstChild("Humanoid") then
679
					tar.Parent.Humanoid:Destroy()
680
				else
681
					local bodyforce = Instance.new("BodyForce", tar.Parent.Head)
682
					bodyforce.Force = Vector3.new(0, -500000, 0) 
683
				end
684
				local billboard = Instance.new("BillboardGui", tar.Parent.Head)
685
				billboard.Size = UDim2.new(0, 200, 0, 50)
686
				billboard.StudsOffset = Vector3.new(0, 2, 0)
687
				billboard.Adornee = tar.Parent.Head
688
				billboard.Name = "virusaffect"
689
				billboard.MaxDistance = 100
690
				local text = Instance.new("TextLabel", billboard)
691
				text.BackgroundTransparency = 1
692
				text.Size = UDim2.new(10, 0, 1, 0)
693
				text.Position = UDim2.new(-4.5, 0, 0, 0)
694
				text.Font = "Cartoon"
695
				text.TextSize = 30
696
				text.TextStrokeTransparency = 1
697
				text.TextWrapped = true
698
				text.Text = "This user is affected by a virus."
699
				local sound = Instance.new("Sound", tar.Parent)
700
				sound.SoundId = "rbxassetid://575266163"
701
				sound.Volume = 5
702
				sound:Play()
703
			end
704
		end
705
		if input.KeyCode == Enum.KeyCode.P then
706
			local tar = mouse.Target
707
			if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("mailaffect") then
708
				if tar.Parent:FindFirstChild("Humanoid") then
709
					tar.Parent.Humanoid.DisplayDistanceType = "None"
710
				end
711
				local billboard = Instance.new("BillboardGui", tar.Parent.Head)
712
				billboard.Size = UDim2.new(0, 200, 0, 50)
713
				billboard.StudsOffset = Vector3.new(0, 2, 0)
714
				billboard.Adornee = tar.Parent.Head
715
				billboard.Name = "mailaffect"
716
				billboard.MaxDistance = 100
717
				local text = Instance.new("TextLabel", billboard)
718
				text.BackgroundTransparency = 1
719
				text.Size = UDim2.new(10, 0, 1, 0)
720
				text.Position = UDim2.new(-4.5, 0, 0, 0)
721
				text.Font = "Cartoon"
722
				text.TextSize = 30
723
				text.TextStrokeTransparency = 1
724
				text.TextWrapped = true
725
				text.Text = "This user is being spammed with mail."
726
				local sound = Instance.new("Sound", tar.Parent)
727
				sound.SoundId = "rbxassetid://651986414"
728
				sound.Volume = 5
729
				sound:Play()
730
				local player = game:GetService("Players"):GetPlayerFromCharacter(tar.Parent)
731
				if player then
732
					local emails = {
733
						"l0lz u spammd xd",
734
						"soz i need to sp4m u",
735
						"lol need caffeine? click on this ad then!",
736
						"your ded lel",
737
						"sorry but we have to break up",
738
						"i'm hungry can i eat ur pizzer xd",
739
						"why did u listn to bill gatz",
740
						"please stop already",
741
						"commit get spammed by mail lolz",
742
						"wow i hope u are havin good dayz xddd",
743
						"GIVE MEE FOODZ",
744
						"oops, your system crashed. you lost your data, but you had protegent",
745
						"A problem has been detected and windows has been shut down to prevent damage.",
746
						"BYE BXLOLXDDDD EROERLOL",
747
						"rofl u got hit by titannic",
748
						"goodbye young sir"
749
					}
750
					for i = 1, 20 do
751
						local gui = Instance.new("ScreenGui", player.PlayerGui)
752
						gui.Name = "Mail "..i
753
						local text = Instance.new("TextLabel", gui)
754
						text.Size = UDim2.new(0.213, 0, 0.332, 0)
755
						local r = Random.new()
756
						text.Position = UDim2.new(r:NextNumber(0, 0.81), 0, r:NextNumber(0, 0.71), 0)
757
						text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
758
						text.Text = emails[math.random(1, 16)]
759
						text.TextScaled = true
760
						wait()
761
					end
762
				end
763
			end
764
		end
765
		if input.KeyCode == Enum.KeyCode.F and attacking == false and walking == false then
766
			attacking = true
767
			local torso = char.Torso
768
			torso.Anchored = true
769
			local pcmodel = Instance.new("Model")
770
			pcmodel.Name = "this is a good windows pc xdd"
771
			local base = Instance.new("Part", pcmodel)
772
			base.Name = "Bottom"
773
			base.BrickColor = BrickColor.new("Black")
774
			base.Size = Vector3.new(8.1, 0.4, 6.3)
775
			base.TopSurface = "Smooth"
776
			base.BottomSurface = "Smooth"
777
			pcmodel.PrimaryPart = base
778
			local screen = Instance.new("Part", pcmodel)
779
			screen.Name = "ScreenHolder"
780
			screen.BrickColor = BrickColor.new("Black")
781
			screen.Size = Vector3.new(8.1, 5.2, 0.4)
782
			screen.TopSurface = "Smooth"
783
			screen.BottomSurface = "Smooth"
784
			local weld = Instance.new("Weld", pcmodel)
785
			weld.Name = "BaseToScreenHolder"
786
			weld.Part0 = base
787
			weld.Part1 = screen
788
			weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
789
			local screen2 = Instance.new("Part", pcmodel)
790
			screen2.Name = "Screen"
791
			screen2.BrickColor = BrickColor.new("Really black")
792
			screen2.Size = Vector3.new(7.5, 4.5, 0.1)
793
			screen2.TopSurface = "Smooth"
794
			screen2.BottomSurface = "Smooth"
795
			local weld2 = Instance.new("Weld", pcmodel)
796
			weld2.Name = "ScreenHolderToScreen"
797
			weld2.Part0 = screen
798
			weld2.Part1 = screen2
799
			weld2.C1 = CFrame.new(0, 0, -0.2)
800
			spawn(function()
801
				for i = 0, 1.6, 0.2 do
802
					torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.31), i)
803
					game:GetService("RunService").RenderStepped:Wait()
804
				end
805
				for i = 1.4, 0, -0.2 do
806
					torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.31), i)
807
					game:GetService("RunService").RenderStepped:Wait()
808
				end
809
			end)
810
			for i = 0, 1.6, 0.2 do
811
				torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
812
				game:GetService("RunService").RenderStepped:Wait()
813
			end
814
			for i = 1.4, 0, -0.2 do
815
				torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
816
				game:GetService("RunService").RenderStepped:Wait()
817
			end
818
			pcmodel.Parent = char
819
			pcmodel:SetPrimaryPartCFrame(char.HumanoidRootPart.CFrame * CFrame.new(0, 2.2, 3.5) * CFrame.Angles(0, math.pi, 0))
820
			pcmodel.PrimaryPart.Anchored = true
821
			wait(0.3)
822
			spawn(function()
823
				for i = 0, 1.6, 0.2 do
824
					torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
825
					game:GetService("RunService").RenderStepped:Wait()
826
				end
827
				local start1 = torso["Right Shoulder"].C0
828
				for i = 1.4, 0, -0.2 do
829
					torso["Right Shoulder"].C0 = oldarmc2:lerp(start1, i*i)
830
					game:GetService("RunService").RenderStepped:Wait()
831
				end
832
			end)
833
			spawn(function()
834
				for i = 0, 1.6, 0.2 do
835
					torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
836
					game:GetService("RunService").RenderStepped:Wait()
837
				end
838
				local start2 = torso["Left Shoulder"].C0
839
				for i = 1.4, 0, -0.2 do
840
					torso["Left Shoulder"].C0 = oldarmc1:lerp(start2, i*i)
841
					game:GetService("RunService").RenderStepped:Wait()
842
				end
843
			end)
844
			pcmodel.PrimaryPart.Anchored = false
845
			local vel = pcmodel.PrimaryPart.CFrame.LookVector
846
			pcmodel.PrimaryPart.Velocity = vel * -150 + Vector3.new(0, 50, 0)
847
			pcmodel.PrimaryPart.Touched:Connect(function(hit)
848
				if hit.Parent:FindFirstChild("Head") and hit.Parent:IsA("Model") and hit.Parent.Name ~= plr.Name and not hit.Parent:FindFirstChild("isattracted") then
849
					local value = Instance.new("BoolValue", hit.Parent)
850
					value.Name = "isattracted"
851
					value.Value = true
852
					local sound = Instance.new("Sound", hit.Parent)
853
					sound.SoundId = "rbxassetid://575266163"
854
					sound.Volume = 5
855
					sound:Play()
856
					repeat
857
						wait(0.2)
858
						if hit.Parent and pcmodel then
859
							hit.Parent:SetPrimaryPartCFrame(pcmodel.PrimaryPart.CFrame * CFrame.new(0, 4.7, 0))
860
						end
861
					until not hit.Parent or not pcmodel
862
				end
863
			end)
864
			wait(0.3)
865
			pcmodel.Parent = workspace
866
			torso.Anchored = false
867
			attacking = false
868
		end
869
		if input.KeyCode == Enum.KeyCode.G and attacking == false then
870
			attacking = true
871
			local running = true
872
			spawn(function()
873
				repeat wait()
874
					if workspace:FindFirstChild("Baseplate") then
875
						workspace.Baseplate.Transparency = 1
876
						workspace.Baseplate.CanCollide = false
877
					end
878
					if workspace:FindFirstChild("Base") then
879
						workspace.Base.Transparency = 1
880
						workspace.Base.CanCollide = false
881
					end
882
				until running == false
883
			end)
884
			local newbase = Instance.new("Part", workspace)
885
			newbase.Anchored = true
886
			newbase.Size = Vector3.new(512, 20, 512)
887
			newbase.CFrame = CFrame.new(0, -10, 0)
888
			newbase.BrickColor = BrickColor.new("Bright green")
889
			newbase.Material = Enum.Material.Grass
890
			local sound = Instance.new("Sound", char)
891
			sound.SoundId = "rbxassetid://1120289188"
892
			sound.Volume = 2
893
			sound:Play()
894
			wait(3.8)
895
			local turn = 1
896
			for i = 1, 50 do
897
				wait(0.1)
898
				if turn == 1 then
899
					turn = 2
900
					newbase.CFrame = CFrame.Angles(math.rad(20), 0, 0)
901
				end
902
				if i == 49 then
903
					i = 50
904
				else
905
					wait(0.1)
906
					if turn == 2 then
907
						turn = 1
908
						newbase.CFrame = CFrame.Angles(math.rad(-20), 0, 0)
909
					end
910
				end
911
			end
912
			newbase.CFrame = CFrame.Angles(0, 0, 0)
913
			sound:Destroy()
914
			running = false
915
			attacking = false
916
		end
917
		if input.KeyCode == Enum.KeyCode.H and attacking == false and walking == false then
918
			attacking = true
919
			local torso = char.Torso
920
			torso.Anchored = true
921
			local pcmodel = Instance.new("Model")
922
			pcmodel.Name = "this is a good windows pc xdd"
923
			local base = Instance.new("Part", pcmodel)
924
			base.Name = "Bottom"
925
			base.BrickColor = BrickColor.new("Black")
926
			base.Size = Vector3.new(8.1, 0.4, 6.3)
927
			base.TopSurface = "Smooth"
928
			base.BottomSurface = "Smooth"
929
			pcmodel.PrimaryPart = base
930
			local screen = Instance.new("Part", pcmodel)
931
			screen.Name = "ScreenHolder"
932
			screen.BrickColor = BrickColor.new("Black")
933
			screen.Size = Vector3.new(8.1, 5.2, 0.4)
934
			screen.TopSurface = "Smooth"
935
			screen.BottomSurface = "Smooth"
936
			local weld = Instance.new("Weld", pcmodel)
937
			weld.Name = "BaseToScreenHolder"
938
			weld.Part0 = base
939
			weld.Part1 = screen
940
			weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
941
			local screen2 = Instance.new("Part", pcmodel)
942
			screen2.Name = "Screen"
943
			screen2.BrickColor = BrickColor.new("Really black")
944
			screen2.Size = Vector3.new(7.5, 4.5, 0.1)
945
			screen2.TopSurface = "Smooth"
946
			screen2.BottomSurface = "Smooth"
947
			local weld2 = Instance.new("Weld", pcmodel)
948
			weld2.Name = "ScreenHolderToScreen"
949
			weld2.Part0 = screen
950
			weld2.Part1 = screen2
951
			weld2.C1 = CFrame.new(0, 0, -0.2)
952
			for i = 0, 1.6, 0.1 do
953
				torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
954
				game:GetService("RunService").RenderStepped:Wait()
955
			end
956
			for i = 1.6, 0 , -0.1 do
957
				torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
958
				game:GetService("RunService").RenderStepped:Wait()
959
			end
960
			char["Right Arm"].Anchored = true
961
			pcmodel.Parent = char
962
			pcmodel:SetPrimaryPartCFrame(char["Right Arm"].CFrame * CFrame.new(3, 0, -0.5) * CFrame.Angles(math.pi / 2, 0, math.pi))
963
			pcmodel.PrimaryPart.Anchored = true
964
			local sound = Instance.new("Sound", char)
965
			sound.SoundId = "rbxassetid://1650786609"
966
			sound.Volume = 1
967
			sound:Play()
968
			wait(0.3)
969
			local shoot = true
970
			spawn(function()
971
				repeat wait(0.05)
972
					local shootinfo = Ray.new(screen2.CFrame.p, (mouse.Hit.p - char["Right Arm"].CFrame.p).Unit * 300)
973
					local part, location = workspace:FindPartOnRay(shootinfo,char, false, true)
974
					local from = (screen2.CFrame.p - location).Magnitude
975
					local winshoot = Instance.new("Part", pcmodel)
976
					winshoot.Name = "windowslazer"
977
					local number = math.random(1, 4)
978
					if number == 1 then
979
						winshoot.BrickColor = BrickColor.new("Bright red")
980
					elseif number == 2 then
981
						winshoot.BrickColor = BrickColor.new("Bright green")
982
					elseif number == 3 then
983
						winshoot.BrickColor = BrickColor.new("Bright blue")
984
					end
985
					winshoot.Material = Enum.Material.Neon
986
					winshoot.Transparency = 0.5
987
					winshoot.Anchored = true
988
					winshoot.CanCollide = false
989
					winshoot.Size = Vector3.new(0.1, 0.1, from)
990
					winshoot.CFrame = CFrame.new((screen2.CFrame).p, mouse.Hit.p) * CFrame.new(0, 0, -from / 2)
991
					winshoot.Touched:Connect(function(hit)
992
						if hit.Parent:FindFirstChild("Head") then
993
							hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 0.1, 0)
994
						end
995
					end)
996
					spawn(function()
997
						wait(0.2)
998
						winshoot:Destroy()
999
					end)
1000
				until shoot == false
1001
			end)
1002
			wait(6)
1003
			sound:Destroy()
1004
			shoot = false
1005
			pcmodel:Destroy()
1006
			char["Right Arm"].Anchored = false
1007
			for i = 0, 1.6, 0.1 do
1008
				torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.061), i)
1009
				game:GetService("RunService").RenderStepped:Wait()
1010
			end
1011
			local start1 = torso["Right Shoulder"].C0
1012
			for i = 1.4, 0, -0.2 do
1013
				torso["Right Shoulder"].C0 = oldarmc2:lerp(start1, i*i)
1014
				game:GetService("RunService").RenderStepped:Wait()
1015
			end
1016
			torso.Anchored = false
1017
			attacking = false
1018
		end
1019
		if input.KeyCode == Enum.KeyCode.J and attacking == false then
1020
			local tar = mouse.Target
1021
			if tar and tar.Parent and tar.Parent:FindFirstChild("Head") then
1022
				attacking = true
1023
				local pcmodel = Instance.new("Model")
1024
				pcmodel.Name = "this is a good windows pc xdd"
1025
				local base = Instance.new("Part", pcmodel)
1026
				base.Name = "Bottom"
1027
				base.BrickColor = BrickColor.new("Black")
1028
				base.Size = Vector3.new(8.1, 0.4, 6.3)
1029
				base.TopSurface = "Smooth"
1030
				base.BottomSurface = "Smooth"
1031
				pcmodel.PrimaryPart = base
1032
				local screen = Instance.new("Part", pcmodel)
1033
				screen.Name = "ScreenHolder"
1034
				screen.BrickColor = BrickColor.new("Black")
1035
				screen.Size = Vector3.new(8.1, 5.2, 0.4)
1036
				screen.TopSurface = "Smooth"
1037
				screen.BottomSurface = "Smooth"
1038
				local weld = Instance.new("Weld", pcmodel)
1039
				weld.Name = "BaseToScreenHolder"
1040
				weld.Part0 = base
1041
				weld.Part1 = screen
1042
				weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
1043
				local screen2 = Instance.new("Part", pcmodel)
1044
				screen2.Name = "Screen"
1045
				screen2.BrickColor = BrickColor.new("Really black")
1046
				screen2.Size = Vector3.new(7.5, 4.5, 0.1)
1047
				screen2.TopSurface = "Smooth"
1048
				screen2.BottomSurface = "Smooth"
1049
				local weld2 = Instance.new("Weld", pcmodel)
1050
				weld2.Name = "ScreenHolderToScreen"
1051
				weld2.Part0 = screen
1052
				weld2.Part1 = screen2
1053
				weld2.C1 = CFrame.new(0, 0, -0.2)
1054
				pcmodel.Parent = workspace
1055
				pcmodel:SetPrimaryPartCFrame(tar.Parent.Head.CFrame * CFrame.new(0, -1.5, 4) * CFrame.Angles(math.rad(-70), 0, 0))
1056
				pcmodel.PrimaryPart.Anchored = true
1057
				tar.Parent.Head.Anchored = true
1058
				wait(0.7)
1059
				local shutdown = Instance.new("Sound", tar.Parent)
1060
				shutdown.SoundId = "rbxassetid://784747919"
1061
				shutdown.Volume = 1
1062
				shutdown:Play()
1063
				for i = 1, 50 do
1064
					tar.Parent.Head.CFrame = tar.Parent.Head.CFrame * CFrame.new(0, -0.1, 0)
1065
					game:GetService("RunService").RenderStepped:Wait()
1066
				end
1067
				shutdown.Ended:Wait()
1068
				if tar.Parent then
1069
					tar.Parent:Destroy()
1070
				end
1071
				wait(0.4)
1072
				pcmodel:Destroy()
1073
				attacking = false
1074
			end
1075
		end
1076
		if input.KeyCode == Enum.KeyCode.K and attacking == false then
1077
			local tar = mouse.Target
1078
			if tar and tar.Parent and tar.Parent:FindFirstChild("Head") then
1079
				attacking = true
1080
				local pcmodel = Instance.new("Model")
1081
				pcmodel.Name = "this is a good windows pc xdd"
1082
				local base = Instance.new("Part", pcmodel)
1083
				base.Name = "Bottom"
1084
				base.BrickColor = BrickColor.new("Black")
1085
				base.Size = Vector3.new(8.1, 0.4, 6.3)
1086
				base.TopSurface = "Smooth"
1087
				base.BottomSurface = "Smooth"
1088
				pcmodel.PrimaryPart = base
1089
				local screen = Instance.new("Part", pcmodel)
1090
				screen.Name = "ScreenHolder"
1091
				screen.BrickColor = BrickColor.new("Black")
1092
				screen.Size = Vector3.new(8.1, 5.2, 0.4)
1093
				screen.TopSurface = "Smooth"
1094
				screen.BottomSurface = "Smooth"
1095
				local weld = Instance.new("Weld", pcmodel)
1096
				weld.Name = "BaseToScreenHolder"
1097
				weld.Part0 = base
1098
				weld.Part1 = screen
1099
				weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
1100
				local screen2 = Instance.new("Part", pcmodel)
1101
				screen2.Name = "Screen"
1102
				screen2.BrickColor = BrickColor.new("Really black")
1103
				screen2.Size = Vector3.new(7.5, 4.5, 0.1)
1104
				screen2.TopSurface = "Smooth"
1105
				screen2.BottomSurface = "Smooth"
1106
				local weld2 = Instance.new("Weld", pcmodel)
1107
				weld2.Name = "ScreenHolderToScreen"
1108
				weld2.Part0 = screen
1109
				weld2.Part1 = screen2
1110
				weld2.C1 = CFrame.new(0, 0, -0.2)
1111
				pcmodel.Parent = workspace
1112
				pcmodel:SetPrimaryPartCFrame(tar.Parent.Head.CFrame * CFrame.new(0, -1.5, 4) * CFrame.Angles(math.rad(-70), 0, 0))
1113
				pcmodel.PrimaryPart.Anchored = true
1114
				tar.Parent.Head.Anchored = true
1115
				wait(0.7)
1116
				local shutdown = Instance.new("Sound", tar.Parent)
1117
				shutdown.SoundId = "rbxassetid://784747919"
1118
				shutdown.Volume = 1
1119
				shutdown:Play()
1120
				for i = 1, 50 do
1121
					if tar.Parent then
1122
						tar.Parent.Head.CFrame = tar.Parent.Head.CFrame * CFrame.new(0, -0.1, 0)
1123
						game:GetService("RunService").RenderStepped:Wait()
1124
					end
1125
				end
1126
				wait(2.4)
1127
				local sound = Instance.new("Sound", pcmodel)
1128
				sound.SoundId = "rbxassetid://587166970"
1129
				sound.Volume = 2
1130
				sound:Play()
1131
				if tar.Parent.PrimaryPart == nil then
1132
					tar.Parent.PrimaryPart = tar.Parent.Head
1133
				end
1134
				tar.Parent:SetPrimaryPartCFrame(tar.Parent.Head.CFrame * CFrame.new(0, 10, 0))
1135
				tar.Parent.Head.Anchored = false
1136
				local t2 = Instance.new("BodyForce", tar.Parent.Head)
1137
				t2.Force = Vector3.new(0, 600000, 0)
1138
				local t = Instance.new("BodyThrust", tar.Parent.Head)
1139
				t.Force = Vector3.new(0, 0, -200000)
1140
				wait(0.5)
1141
				t:Destroy()
1142
				t2:Destroy()
1143
				wait(3)
1144
				attacking = false
1145
			end
1146
		end
1147
		if input.KeyCode == Enum.KeyCode.L and attacking == false and walking == false then
1148
			attacking = true
1149
			local torso = char.Torso
1150
			torso.Anchored = true
1151
			for i = 0, 1.6, 0.1 do
1152
				torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
1153
				game:GetService("RunService").RenderStepped:Wait()
1154
			end
1155
			for i = 1.6, 0 , -0.1 do
1156
				torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
1157
				game:GetService("RunService").RenderStepped:Wait()
1158
			end
1159
			char["Right Arm"].Anchored = true
1160
			local sound = Instance.new("Sound", char)
1161
			sound.SoundId = "rbxassetid://987728667"
1162
			sound.Volume = 2
1163
			sound:Play()
1164
			spawn(function()
1165
				for i = 1, 10 do
1166
					game:GetService("RunService").RenderStepped:Wait()
1167
					local shootinfo = Ray.new(char["Right Arm"].CFrame.p, (mouse.Hit.p - char["Right Arm"].CFrame.p).Unit * 300)
1168
					local part, location = workspace:FindPartOnRay(shootinfo,char, false, true)
1169
					local from = (char["Right Arm"].CFrame.p - location).Magnitude
1170
					local winshoot = Instance.new("Part", char)
1171
					winshoot.Name = "windowslazer"
1172
					local number = math.random(1, 4)
1173
					if number == 1 then
1174
						winshoot.BrickColor = BrickColor.new("Bright red")
1175
					elseif number == 2 then
1176
						winshoot.BrickColor = BrickColor.new("Bright green")
1177
					elseif number == 3 then
1178
						winshoot.BrickColor = BrickColor.new("Bright blue")
1179
					end
1180
					winshoot.Material = Enum.Material.Neon
1181
					winshoot.Transparency = 0.5
1182
					winshoot.Anchored = true
1183
					winshoot.CanCollide = false
1184
					winshoot.Size = Vector3.new(0.1, 0.1, from * 2)
1185
					winshoot.CFrame = CFrame.new((char["Right Arm"].CFrame).p, mouse.Hit.p) * CFrame.new(0, 0, -from)
1186
					spawn(function()
1187
						repeat game:GetService("RunService").RenderStepped:Wait()
1188
							if winshoot then
1189
								winshoot.CFrame = winshoot.CFrame * CFrame.new(2, 0, 0)
1190
							end
1191
							if winshoot then
1192
								winshoot.CFrame = winshoot.CFrame * CFrame.new(-2, 0, 0)
1193
							end
1194
						until not winshoot
1195
					end)
1196
					winshoot.Touched:Connect(function(hit)
1197
						if hit.Parent:FindFirstChild("Head") then
1198
							hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 0.1, 0)
1199
						end
1200
					end)
1201
					spawn(function()
1202
						wait(0.2)
1203
						winshoot:Destroy()
1204
					end)
1205
				end
1206
			end)
1207
			wait(0.6)
1208
			char["Right Arm"].Anchored = false
1209
			for i = 0, 1.6, 0.1 do
1210
				torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.061), i)
1211
				game:GetService("RunService").RenderStepped:Wait()
1212
			end
1213
			local start1 = torso["Right Shoulder"].C0
1214
			for i = 1.4, 0, -0.2 do
1215
				torso["Right Shoulder"].C0 = oldarmc2:lerp(start1, i*i)
1216
				game:GetService("RunService").RenderStepped:Wait()
1217
			end
1218
			wait(0.2)
1219
			torso.Anchored = false
1220
			attacking = false
1221
		end
1222
	end
1223
end)