View difference between Paste ID: G8k6Maab and MwGbBacW
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,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by Mokiros")
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
			self._btrs[name] = self.Heartbeat:Connect(fun)
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
143
end
144
print("controls:")
145
print("z - make it morning")
146
print("x - make it night")
147
print("c - clean workspace")
148
print("v - heal the player your mouse is pointing at")
149
print("f - make the player your mouse is pointing at fat")
150
print("n - make everyone fat")
151
print("e - annihilate the player your mouse is pointing at")
152
print("p - suicide")
153
print("k - kill other players")
154
print("b - control the player your mouse it pointing at")
155
print("r - tp evryone to you")
156
print("t - send the player your mouse is pointing at to 'heaven'")
157
print("q - spawn pet")
158
print("g - spawn a blackhole")
159
oil = game.Players.LocalPlayer
160
sauce = oil.Character
161
tor = sauce:FindFirstChild("Torso") or sauce:FindFirstChild("UpperTorso")
162
head = sauce:FindFirstChild("Head")
163
larm = sauce:FindFirstChild("Left Arm") or sauce:FindFirstChild("LeftUpperArm")
164
rarm = sauce:FindFirstChild("Right Arm") or sauce:FindFirstChild("RightUpperArm")
165
rleg = sauce:FindFirstChild("Right Leg") or sauce:FindFirstChild("RightUpperLeg")
166
lleg = sauce:FindFirstChild("Left Leg") or sauce:FindFirstChild("LeftUpperLeg")
167
hum = sauce:FindFirstChildOfClass("Humanoid")
168
humroot = sauce:FindFirstChild("HumanoidRootPart")
169
mou = oil:GetMouse()
170
remoteequipped = true
171
controlling = false
172
light = game:GetService("Lighting")
173
tool = Instance.new("Tool", oil.Backpack)
174
tool.Name = "Remote"
175
hand = Instance.new("Part", tool)
176
hand.Name = "Handle"
177
hand.Size = Vector3.new(1, 1, 1)
178
hand.Transparency = 1
179
p1 = Instance.new("Part", hand)
180
p1.Size = Vector3.new(0.6, 0.1, 1.2)
181
p1.Material = "Metal"
182
p1.Name = "p1"
183
p2 = Instance.new("Part", hand)
184
p2.Size = Vector3.new(0.4, 0.1, 0.1)
185
p2.Material = "Metal"
186
p2.Name = "p2"
187
p2.Shape = "Cylinder"
188
p3 = Instance.new("Part", hand)
189
p3.Shape = "Ball"
190
p3.Material = "Neon"
191
p3.Size = Vector3.new(0.15, 0.15, 0.15)
192
p3.BrickColor = BrickColor.new("Crimson")
193
p3.Name = "p3"
194
p4 = Instance.new("Part", hand)
195
p4.Size = Vector3.new(0.2, 0.4, 0.4)
196
p4.Material = "Neon"
197
p4.Name = "p4"
198
p4.BrickColor = BrickColor.new("Maroon")
199
p4.Shape = "Cylinder"
200
w1 = Instance.new("Weld", p1)
201
w1.Part0 = hand
202
w1.Part1 = p1
203
w1.C1 = CFrame.new(0, 0, 0.6)
204
w1.Name = "w1"
205
w2 = Instance.new("Weld", p2)
206
w2.Part0 = hand
207
w2.Part1 = p2
208
w2.C1 = CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
209
w3 = Instance.new("Weld", p3)
210
w3.Part0 = hand
211
w3.Part1 = p3
212
w3.C1 = CFrame.new(0, 0, 1.5)
213
w4 = Instance.new("Weld", p4)
214
w4.Part0 = hand
215
w4.Part1 = p4
216
w4.C1 = CFrame.new(0.1, 0, 0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
217
218
219
tool.Equipped:connect(function()
220
remoteequipped = true
221
function pressed(key)
222
if remoteequipped == true then
223
if key == "x" then
224
light.TimeOfDay = 21
225
elseif key == "z" then
226
light.TimeOfDay = 7
227
elseif key == "c" then
228
for i,v in pairs(workspace:GetChildren()) do
229
if v:IsA("Part") and v.Name ~= "Base" then
230
v.Locked = false
231
v:remove()
232
end
233
if v:IsA("Model") and not v:FindFirstChildOfClass("Humanoid") then
234
v:remove()
235
end
236
end
237
elseif key == "p" then
238
hum.Health = 0
239
elseif key == "k" then
240
for i,v in pairs(workspace:GetChildren()) do
241
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
242
khum = v:FindFirstChildOfClass("Humanoid")
243
khum.Health = 0
244
end
245
end
246
elseif key == "r" then
247
for i,v in pairs(workspace:GetChildren()) do
248
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
249
vtor = v:FindFirstChild("Torso" )or v:FindFirstChild("UpperTorso")
250
vtor.CFrame = tor.CFrame * CFrame.new(0, 0, -5)
251
end
252
end
253
elseif key == "v" then
254
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
255
mouhum = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
256
mouhum.Health = mouhum.MaxHealth
257
mouhead = mou.Target.Parent:FindFirstChild("Head")
258
bill = Instance.new("BillboardGui", mouhead)
259
bill.AlwaysOnTop = true
260
bill.StudsOffset = Vector3.new(0, 2, 0)
261
bill.Adornee = mouhead
262
bill.Size = UDim2.new(5, 35, 5, 35)
263
btext = Instance.new("TextLabel", bill)
264
btext.Text = mou.Target.Parent.Name.." has been Healed!"
265
btext.Font = "Bodoni"
266
btext.TextSize = 30
267
btext.TextScaled = true
268
btext.BorderSizePixel = 0
269
btext.BackgroundTransparency = 1
270
btext.Size = UDim2.new(1.5, 0, 0.5, 0)
271
btext.TextColor = BrickColor.new("Bright green")
272
game:GetService("Debris"):AddItem(bill, 2)
273
end
274
elseif key == "e" then
275
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
276
local nomoretor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
277
local nomorehum = mou.Target.parent:FindFirstChildOfClass("Humanoid")
278
local explo = Instance.new("Explosion", workspace)
279
explo.Position = nomoretor.Position
280
nomorehum.Health = 0
281
end
282
elseif key == "f" then
283
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
284
local fatman = mou.Target.Parent
285
local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
286
fatmanhum.WalkSpeed = 8
287
local fattor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
288
local hinum = Instance.new("Sound", fattor)
289
hinum.SoundId = "rbxassetid://1278031541"
290
hinum.Volume = 10
291
local realfat = Instance.new("Part", fattor)
292
realfat.BrickColor = fattor.BrickColor
293
realfat.Material = "SmoothPlastic"
294
local supaweld = Instance.new("Weld", realfat)
295
supaweld.Part0 = fattor
296
supaweld.Part1 = realfat
297
local fat = Instance.new("SpecialMesh", realfat)
298
fat.MeshType = "Sphere"
299
fat.Scale = Vector3.new(0.6, 1.6, 0.9)
300
fat.Offset = Vector3.new(0, -0.4, -0.7)
301
hinum:Play()
302
if fatman:FindFirstChildOfClass("Shirt") then
303
fatman:FindFirstChildOfClass("Shirt"):remove()
304
end
305
end
306
elseif key == "b" then
307
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") and controlling == false then
308
controlling = true
309
cman = mou.Target.Parent
310
mtor = cman:FindFirstChild("Torso") or cman:FindFirstChild("UpperTorso")
311
mlarm = cman:FindFirstChild("Left Arm") or cman:FindFirstChild("LeftUpperArm")
312
mrarm = cman:FindFirstChild("Right Arm") or cman:FindFirstChild("RightUpperArm")
313
mlleg = cman:FindFirstChild("Left Leg") or cman:FindFirstChild("LeftUpperLeg")
314
mrleg = cman:FindFirstChild("Right Leg") or cman:FindFirstChild("RightUpperLeg")
315
mhead = cman:FindFirstChild("Head")
316
mhum = cman:FindFirstChildOfClass("Humanoid")
317
mhum.PlatformStand = true
318
hum.NameOcclusion = "NoOcclusion"
319
mface = head:FindFirstChild("face")
320
mface.Transparency = 1
321
humroot.Transparency = 1
322
for i,v in pairs(sauce:GetChildren()) do
323
if v:IsA("Part") then
324
v.Transparency = 1
325
end
326
if v:IsA("Accessory") then
327
v.Handle.Transparency = 1
328
end
329
end
330
ow1 = Instance.new("Weld", tor)
331
ow1.Part0 = tor
332
ow1.Part1 = mtor
333
ow2 = Instance.new("Weld", larm)
334
ow2.Part0 = larm
335
ow2.Part1 = mlarm
336
ow3 = Instance.new("Weld", rarm)
337
ow3.Part0 = rarm
338
ow3.Part1 = mrarm
339
ow4 = Instance.new("Weld", lleg)
340
ow4.Part0 = lleg
341
ow4.Part1 = mlleg
342
ow5 = Instance.new("Weld", rleg)
343
ow5.Part0 = rleg
344
ow5.Part1 = mrleg
345
ow6 = Instance.new("Weld", head)
346
ow6.Part0 = head
347
ow6.Part1 = mhead
348
elseif controlling == true then
349
controlling = false
350
ow1:Destroy()
351
ow2:Destroy()
352
ow3:Destroy()
353
ow4:Destroy()
354
ow5:Destroy()
355
ow6:Destroy()
356
mhum.PlatformStand = false
357
hum.NameOcclusion = "OccludeAll"
358
humrootTransparency = 1
359
mface.Transparency = 0
360
for i,v in pairs(sauce:GetChildren()) do
361
if v:IsA("Part") and v ~= humroot then
362
v.Transparency = 0
363
end
364
if v:IsA("Accessory") then
365
v.Handle.Transparency = 0
366
end
367
end
368
end
369
elseif key == "n" then
370
for i,v in pairs(workspace:GetChildren()) do
371
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
372
local fatman = v
373
local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
374
fatmanhum.WalkSpeed = 8
375
local fattor = fatman:FindFirstChild("Torso") or fatman:FindFirstChild("UpperTorso")
376
local hinum2 = Instance.new("Sound", fattor)
377
hinum2.SoundId = "rbxassetid://1278031541"
378
hinum2.Volume = 10
379
local realfat = Instance.new("Part", fattor)
380
realfat.BrickColor = fattor.BrickColor
381
realfat.Material = "SmoothPlastic"
382
local supaweld = Instance.new("Weld", realfat)
383
supaweld.Part0 = fattor
384
supaweld.Part1 = realfat
385
local fat = Instance.new("SpecialMesh", realfat)
386
fat.MeshType = "Sphere"
387
fat.Scale = Vector3.new(0.6, 1.6, 0.9)
388
fat.Offset = Vector3.new(0, -0.4, -0.7)
389
hinum2:Play()
390
if fatman:FindFirstChildOfClass("Shirt") then
391
fatman:FindFirstChildOfClass("Shirt"):remove()
392
end
393
end
394
end
395
elseif key == "t" then
396
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
397
local goneman = mou.Target.Parent
398
local gonehead = goneman:FindFirstChild("Head")
399
local gonetor = goneman:FindFirstChild("Torso") or goneman:FindFirstChild("UpperTorso")
400
local lightb = Instance.new("Part", goneman)
401
lightb.Shape = "Cylinder"
402
lightb.CanCollide = false
403
lightb.Anchored = true
404
lightb.Size = Vector3.new(300, 10, 10)
405
lightb.Material = "Neon"
406
lightb.Transparency = 0.5
407
lightb.BrickColor = BrickColor.new("New Yeller")
408
lightb.CFrame = gonetor.CFrame * CFrame.new(0, 140, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
409
local start = gonetor.CFrame
410
local finish = lightb.CFrame * CFrame.new(140, 0, 0)
411
for i = 0,1,.01 do
412
gonetor.CFrame = start:lerp(finish, i)
413
wait()
414
end
415
gonehead.Size = Vector3.new(50, 50, 50)
416
lightb:Destroy()
417
end
418
elseif key == "q" then
419
if mou.Target ~= nil then
420
local dont = Instance.new("Part", sauce)
421
dont.CFrame = mou.Hit
422
dont.Material = "Sand"
423
dont.BrickColor = BrickColor.new("Pastel yellow")
424
dont.Size = Vector3.new(3, 3, 3)
425
dont.Shape = "Ball"
426
dont.Anchored = true
427
local obj = Instance.new("Sound", dont)
428
local feats = {463838589, 691897627, 179270320, 425407550, 1074595721, 1065045593, 142688397, 1308566029, 1402510823}
429
obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)]
430
obj.Volume = 10
431
obj.Looped = true
432
obj:Play()
433
oil.Chatted:connect(function(msg)
434
if msg:lower():sub(1, 7) == "plastic" then
435
dont.Material = "Plastic"
436
elseif msg:lower():sub(1, 5) == "slate" then
437
dont.Material = "Slate"
438
elseif msg:lower():sub(1, 3) == "ice" then
439
dont.Material = "Ice"
440
elseif msg:lower():sub(1, 5) == "metal" then
441
dont.Material = "Metal"
442
elseif msg:lower():sub(1, 4) == "neon" then
443
dont.Material = "Neon"
444
elseif msg:lower():sub(1, 5) == "grass" then
445
dont.Material = "Grass"
446
elseif msg:lower():sub(1, 4) == "sand" then
447
dont.Material = "Sand"
448
elseif msg:lower():sub(1, 9) == "woodplank" then
449
dont.Material = "WoodPlanks"
450
elseif msg:lower():sub(1, 4) == "wood" then
451
dont.Material = "Wood"
452
elseif msg:lower():sub(1, 6) == "marble" then
453
dont.Material = "Marble"
454
elseif msg:lower():sub(1, 8) == "concrete" then
455
dont.Material = "Concrete"
456
elseif msg:lower():sub(1, 5) == "brick" then
457
dont.Material = "Brick"
458
elseif msg:lower():sub(1, 7) == "granite" then
459
dont.Material = "Granite"
460
elseif msg:lower():sub(1, 6) == "pebble" then
461
dont.Material = "Pebble"
462
elseif msg:lower():sub(1, 11) == "cobblestone" then
463
dont.Material = "Cobblestone"
464
elseif msg:lower():sub(1, 13) == "corrodedmetal" then
465
dont.Material = "CorrodedMetal"
466
elseif msg:lower():sub(1, 12) == "diamondplate" then
467
dont.Material = "DiamondPlate"
468
elseif msg:lower():sub(1, 4) == "foil" then
469
dont.Material = "Foil"
470
elseif msg:lower():sub(1, 6) == "fabric" then
471
dont.Material = "Fabric"
472
elseif msg:lower():sub(1, 6) == "yellow" then
473
dont.BrickColor = BrickColor.new("New Yeller")
474
elseif msg:lower():sub(1, 6) == "purple" then
475
dont.BrickColor = BrickColor.new("Bright violet")
476
elseif msg:lower():sub(1, 3) == "red" then
477
dont.BrickColor = BrickColor.new("Crimson")
478
elseif msg:lower():sub(1, 5) == "black" then
479
dont.BrickColor = BrickColor.new("Really black")
480
elseif msg:lower():sub(1, 5) == "white" then
481
dont.BrickColor = BrickColor.new("Institutional white")
482
elseif msg:lower():sub(1, 4) == "pink" then
483
dont.BrickColor = BrickColor.new("Hot pink")
484
elseif msg:lower():sub(1, 5) == "green" then
485
dont.BrickColor = BrickColor.new("Bright green")
486
elseif msg:lower():sub(1, 4) == "grey" then
487
dont.BrickColor = BrickColor.new("Medium stone grey")
488
elseif msg:lower():sub(1, 5) == "brown" then
489
dont.BrickColor = BrickColor.new("Burnt Sienna")
490
elseif msg:lower():sub(1, 6) == "orange" then
491
dont.BrickColor = BrickColor.new("Deep orange")
492
elseif msg:lower():sub(1, 4) == "blue" then
493
dont.BrickColor = BrickColor.new("Really blue")
494
elseif msg:lower():sub(1, 4) == "cyan" then
495
dont.BrickColor = BrickColor.new("Cyan")
496
elseif msg:lower():sub(1, 6) == "pastel" then
497
dont.BrickColor = BrickColor.new("Pastel yellow")
498
elseif msg:lower():sub(1, 5) == "ghost" then
499
dont.Transparency = 0.7
500
elseif msg:lower():sub(1, 5) == "alive" then
501
dont.Transparency = 0
502
elseif msg:lower():sub(1, 5) == "block" then
503
dont.Shape = "Block"
504
elseif msg:lower():sub(1, 4) == "ball" then
505
dont.Shape = "Ball"
506
elseif msg:lower():sub(1, 3) == "bye" then
507
dont:Destroy()
508
elseif msg:lower():sub(1, 17) == "pick another song" then
509
obj:Stop()
510
obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)]
511
obj.Volume = 10
512
obj.Looped = true
513
obj:Play()
514
elseif msg:lower():sub(1, 4) == "play" then
515
obj:Play()
516
elseif msg:lower():sub(1, 4) == "stop" then
517
obj:Stop()
518
elseif msg:lower():sub(1, 3) == "add" then
519
obj:Stop()
520
local arg = msg:sub(5, 999)
521
obj.SoundId = "rbxassetid://"..arg
522
obj:Play()
523
end
524
end)
525
while true do
526
for i = 0,1,.001 do
527
dont.CFrame = dont.CFrame:lerp(tor.CFrame * CFrame.new(0, 5, 3), i)
528
dont.Size = Vector3.new(obj.PlaybackLoudness/80, obj.PlaybackLoudness/80, obj.PlaybackLoudness/80)
529
wait()
530
end
531
wait()
532
end
533
end
534
elseif key == "g" then
535
if mou.Target ~= nil then
536
local MAN = mou.Target.Parent
537
local MANT = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
538
local hole = Instance.new("Part", workspace)
539
hole.Shape = "Ball"
540
hole.Size = Vector3.new(0.7, 0.7, 0.7)
541
hole.BrickColor = BrickColor.new("Eggplant")
542
hole.Anchored = true
543
hole.Material = "Neon"
544
hole.CFrame = mou.Hit
545
for i,v in pairs(workspace:GetChildren()) do
546
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
547
local owtor = v
548
blacktor = owtor:FindFirstChild("Torso") or owtor:FindFirstChild("UpperTorso")
549
bodpos = Instance.new("BodyPosition", blacktor)
550
bodpos.Position = hole.Position
551
bodpos.P = 5000000000
552
bodpos.MaxForce = Vector3.new(500000000, 500000000, 500000000)
553
end
554
end
555
end
556
557
end
558
end
559
end
560
mou.KeyDown:connect(pressed)
561
end)
562
tool.Unequipped:connect(function()
563
remoteequipped = false
564
end)