View difference between Paste ID: wSN4jcFu and w4j1gfnK
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106
	--Metatable for fake service
107
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111
				return typeof(s[k])=="function"
112
				and function(_,...)return s[k](s,...)end or s[k]
113
			end
114
		end,
115
		__newindex = function(self,k,v)
116
			local s = rawget(self,"_RealService")
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
		},"Players"),
133
		UserInputService = FakeService(UIS,"UserInputService"),
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135
		RunService = FakeService({
136
			_btrs = {},
137
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
print("controls:")
154
print("z - make it morning")
155
print("x - make it night")
156
print("c - clean workspace")
157
print("v - heal the player your mouse is pointing at")
158
print("f - make the player your mouse is pointing at fat")
159
print("n - make everyone fat")
160
print("e - annihilate the player your mouse is pointing at")
161
print("p - suicide")
162
print("k - kill other players")
163
print("b - control the player your mouse it pointing at")
164
print("r - tp evryone to you")
165
print("t - send the player your mouse is pointing at to 'heaven'")
166
print("q - spawn pet")
167
print("g - spawn a blackhole")
168
oil = game.Players.LocalPlayer
169
sauce = oil.Character
170
tor = sauce:FindFirstChild("Torso") or sauce:FindFirstChild("UpperTorso")
171
head = sauce:FindFirstChild("Head")
172
larm = sauce:FindFirstChild("Left Arm") or sauce:FindFirstChild("LeftUpperArm")
173
rarm = sauce:FindFirstChild("Right Arm") or sauce:FindFirstChild("RightUpperArm")
174
rleg = sauce:FindFirstChild("Right Leg") or sauce:FindFirstChild("RightUpperLeg")
175
lleg = sauce:FindFirstChild("Left Leg") or sauce:FindFirstChild("LeftUpperLeg")
176
hum = sauce:FindFirstChildOfClass("Humanoid")
177
humroot = sauce:FindFirstChild("HumanoidRootPart")
178
mou = oil:GetMouse()
179
remoteequipped = true
180
controlling = false
181
light = game:GetService("Lighting")
182
tool = Instance.new("Tool", oil.Backpack)
183
tool.Name = "Remote"
184
hand = Instance.new("Part", tool)
185
hand.Name = "Handle"
186
hand.Size = Vector3.new(1, 1, 1)
187
hand.Transparency = 1
188
p1 = Instance.new("Part", hand)
189
p1.Size = Vector3.new(0.6, 0.1, 1.2)
190
p1.Material = "Metal"
191
p1.Name = "p1"
192
p2 = Instance.new("Part", hand)
193
p2.Size = Vector3.new(0.4, 0.1, 0.1)
194
p2.Material = "Metal"
195
p2.Name = "p2"
196
p2.Shape = "Cylinder"
197
p3 = Instance.new("Part", hand)
198
p3.Shape = "Ball"
199
p3.Material = "Neon"
200
p3.Size = Vector3.new(0.15, 0.15, 0.15)
201
p3.BrickColor = BrickColor.new("Crimson")
202
p3.Name = "p3"
203
p4 = Instance.new("Part", hand)
204
p4.Size = Vector3.new(0.2, 0.4, 0.4)
205
p4.Material = "Neon"
206
p4.Name = "p4"
207
p4.BrickColor = BrickColor.new("Maroon")
208
p4.Shape = "Cylinder"
209
w1 = Instance.new("Weld", p1)
210
w1.Part0 = hand
211
w1.Part1 = p1
212
w1.C1 = CFrame.new(0, 0, 0.6)
213
w1.Name = "w1"
214
w2 = Instance.new("Weld", p2)
215
w2.Part0 = hand
216
w2.Part1 = p2
217
w2.C1 = CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
218
w3 = Instance.new("Weld", p3)
219
w3.Part0 = hand
220
w3.Part1 = p3
221
w3.C1 = CFrame.new(0, 0, 1.5)
222
w4 = Instance.new("Weld", p4)
223
w4.Part0 = hand
224
w4.Part1 = p4
225
w4.C1 = CFrame.new(0.1, 0, 0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
226
227
228
tool.Equipped:connect(function()
229
remoteequipped = true
230
function pressed(key)
231
if remoteequipped == true then
232
if key == "x" then
233
light.TimeOfDay = 21
234
elseif key == "z" then
235
light.TimeOfDay = 7
236
elseif key == "c" then
237
for i,v in pairs(workspace:GetChildren()) do
238
if v:IsA("Part") and v.Name ~= "Base" then
239
v.Locked = false
240
v:remove()
241
end
242
if v:IsA("Model") and not v:FindFirstChildOfClass("Humanoid") then
243
v:remove()
244
end
245
end
246
elseif key == "p" then
247
hum.Health = 0
248
elseif key == "k" then
249
for i,v in pairs(workspace:GetChildren()) do
250
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
251
khum = v:FindFirstChildOfClass("Humanoid")
252
khum.Health = 0
253
end
254
end
255
elseif key == "r" then
256
for i,v in pairs(workspace:GetChildren()) do
257
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
258
vtor = v:FindFirstChild("Torso" )or v:FindFirstChild("UpperTorso")
259
vtor.CFrame = tor.CFrame * CFrame.new(0, 0, -5)
260
end
261
end
262
elseif key == "v" then
263
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
264
mouhum = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
265
mouhum.Health = mouhum.MaxHealth
266
mouhead = mou.Target.Parent:FindFirstChild("Head")
267
bill = Instance.new("BillboardGui", mouhead)
268
bill.AlwaysOnTop = true
269
bill.StudsOffset = Vector3.new(0, 2, 0)
270
bill.Adornee = mouhead
271
bill.Size = UDim2.new(5, 35, 5, 35)
272
btext = Instance.new("TextLabel", bill)
273
btext.Text = mou.Target.Parent.Name.." has been Healed!"
274
btext.Font = "Bodoni"
275
btext.TextSize = 30
276
btext.TextScaled = true
277
btext.BorderSizePixel = 0
278
btext.BackgroundTransparency = 1
279
btext.Size = UDim2.new(1.5, 0, 0.5, 0)
280
btext.TextColor = BrickColor.new("Bright green")
281
game:GetService("Debris"):AddItem(bill, 2)
282
end
283
elseif key == "e" then
284
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
285
local nomoretor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
286
local nomorehum = mou.Target.parent:FindFirstChildOfClass("Humanoid")
287
local explo = Instance.new("Explosion", workspace)
288
explo.Position = nomoretor.Position
289
nomorehum.Health = 0
290
end
291
elseif key == "f" then
292
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
293
local fatman = mou.Target.Parent
294
local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
295
fatmanhum.WalkSpeed = 8
296
local fattor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
297
local hinum = Instance.new("Sound", fattor)
298
hinum.SoundId = "rbxassetid://1278031541"
299
hinum.Volume = 10
300
local realfat = Instance.new("Part", fattor)
301
realfat.BrickColor = fattor.BrickColor
302
realfat.Material = "SmoothPlastic"
303
local supaweld = Instance.new("Weld", realfat)
304
supaweld.Part0 = fattor
305
supaweld.Part1 = realfat
306
local fat = Instance.new("SpecialMesh", realfat)
307
fat.MeshType = "Sphere"
308
fat.Scale = Vector3.new(0.6, 1.6, 0.9)
309
fat.Offset = Vector3.new(0, -0.4, -0.7)
310
hinum:Play()
311
if fatman:FindFirstChildOfClass("Shirt") then
312
fatman:FindFirstChildOfClass("Shirt"):remove()
313
end
314
end
315
elseif key == "b" then
316
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") and controlling == false then
317
controlling = true
318
cman = mou.Target.Parent
319
mtor = cman:FindFirstChild("Torso") or cman:FindFirstChild("UpperTorso")
320
mlarm = cman:FindFirstChild("Left Arm") or cman:FindFirstChild("LeftUpperArm")
321
mrarm = cman:FindFirstChild("Right Arm") or cman:FindFirstChild("RightUpperArm")
322
mlleg = cman:FindFirstChild("Left Leg") or cman:FindFirstChild("LeftUpperLeg")
323
mrleg = cman:FindFirstChild("Right Leg") or cman:FindFirstChild("RightUpperLeg")
324
mhead = cman:FindFirstChild("Head")
325
mhum = cman:FindFirstChildOfClass("Humanoid")
326
mhum.PlatformStand = true
327
hum.NameOcclusion = "NoOcclusion"
328
mface = head:FindFirstChild("face")
329
mface.Transparency = 1
330
humroot.Transparency = 1
331
for i,v in pairs(sauce:GetChildren()) do
332
if v:IsA("Part") then
333
v.Transparency = 1
334
end
335
if v:IsA("Accessory") then
336
v.Handle.Transparency = 1
337
end
338
end
339
ow1 = Instance.new("Weld", tor)
340
ow1.Part0 = tor
341
ow1.Part1 = mtor
342
ow2 = Instance.new("Weld", larm)
343
ow2.Part0 = larm
344
ow2.Part1 = mlarm
345
ow3 = Instance.new("Weld", rarm)
346
ow3.Part0 = rarm
347
ow3.Part1 = mrarm
348
ow4 = Instance.new("Weld", lleg)
349
ow4.Part0 = lleg
350
ow4.Part1 = mlleg
351
ow5 = Instance.new("Weld", rleg)
352
ow5.Part0 = rleg
353
ow5.Part1 = mrleg
354
ow6 = Instance.new("Weld", head)
355
ow6.Part0 = head
356
ow6.Part1 = mhead
357
elseif controlling == true then
358
controlling = false
359
ow1:Destroy()
360
ow2:Destroy()
361
ow3:Destroy()
362
ow4:Destroy()
363
ow5:Destroy()
364
ow6:Destroy()
365
mhum.PlatformStand = false
366
hum.NameOcclusion = "OccludeAll"
367
humrootTransparency = 1
368
mface.Transparency = 0
369
for i,v in pairs(sauce:GetChildren()) do
370
if v:IsA("Part") and v ~= humroot then
371
v.Transparency = 0
372
end
373
if v:IsA("Accessory") then
374
v.Handle.Transparency = 0
375
end
376
end
377
end
378
elseif key == "n" then
379
for i,v in pairs(workspace:GetChildren()) do
380
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
381
local fatman = v
382
local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
383
fatmanhum.WalkSpeed = 8
384
local fattor = fatman:FindFirstChild("Torso") or fatman:FindFirstChild("UpperTorso")
385
local hinum2 = Instance.new("Sound", fattor)
386
hinum2.SoundId = "rbxassetid://1278031541"
387
hinum2.Volume = 10
388
local realfat = Instance.new("Part", fattor)
389
realfat.BrickColor = fattor.BrickColor
390
realfat.Material = "SmoothPlastic"
391
local supaweld = Instance.new("Weld", realfat)
392
supaweld.Part0 = fattor
393
supaweld.Part1 = realfat
394
local fat = Instance.new("SpecialMesh", realfat)
395
fat.MeshType = "Sphere"
396
fat.Scale = Vector3.new(0.6, 1.6, 0.9)
397
fat.Offset = Vector3.new(0, -0.4, -0.7)
398
hinum2:Play()
399
if fatman:FindFirstChildOfClass("Shirt") then
400
fatman:FindFirstChildOfClass("Shirt"):remove()
401
end
402
end
403
end
404
elseif key == "t" then
405
if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
406
local goneman = mou.Target.Parent
407
local gonehead = goneman:FindFirstChild("Head")
408
local gonetor = goneman:FindFirstChild("Torso") or goneman:FindFirstChild("UpperTorso")
409
local lightb = Instance.new("Part", goneman)
410
lightb.Shape = "Cylinder"
411
lightb.CanCollide = false
412
lightb.Anchored = true
413
lightb.Size = Vector3.new(300, 10, 10)
414
lightb.Material = "Neon"
415
lightb.Transparency = 0.5
416
lightb.BrickColor = BrickColor.new("New Yeller")
417
lightb.CFrame = gonetor.CFrame * CFrame.new(0, 140, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
418
local start = gonetor.CFrame
419
local finish = lightb.CFrame * CFrame.new(140, 0, 0)
420
for i = 0,1,.01 do
421
gonetor.CFrame = start:lerp(finish, i)
422
wait()
423
end
424
gonehead.Size = Vector3.new(50, 50, 50)
425
lightb:Destroy()
426
end
427
elseif key == "q" then
428
if mou.Target ~= nil then
429
local dont = Instance.new("Part", sauce)
430
dont.CFrame = mou.Hit
431
dont.Material = "Sand"
432
dont.BrickColor = BrickColor.new("Pastel yellow")
433
dont.Size = Vector3.new(3, 3, 3)
434
dont.Shape = "Ball"
435
dont.Anchored = true
436
local obj = Instance.new("Sound", dont)
437
local feats = {463838589, 691897627, 179270320, 425407550, 1074595721, 1065045593, 142688397, 1308566029, 1402510823}
438
obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)]
439
obj.Volume = 10
440
obj.Looped = true
441
obj:Play()
442
oil.Chatted:connect(function(msg)
443
if msg:lower():sub(1, 7) == "plastic" then
444
dont.Material = "Plastic"
445
elseif msg:lower():sub(1, 5) == "slate" then
446
dont.Material = "Slate"
447
elseif msg:lower():sub(1, 3) == "ice" then
448
dont.Material = "Ice"
449
elseif msg:lower():sub(1, 5) == "metal" then
450
dont.Material = "Metal"
451
elseif msg:lower():sub(1, 4) == "neon" then
452
dont.Material = "Neon"
453
elseif msg:lower():sub(1, 5) == "grass" then
454
dont.Material = "Grass"
455
elseif msg:lower():sub(1, 4) == "sand" then
456
dont.Material = "Sand"
457
elseif msg:lower():sub(1, 9) == "woodplank" then
458
dont.Material = "WoodPlanks"
459
elseif msg:lower():sub(1, 4) == "wood" then
460
dont.Material = "Wood"
461
elseif msg:lower():sub(1, 6) == "marble" then
462
dont.Material = "Marble"
463
elseif msg:lower():sub(1, 8) == "concrete" then
464
dont.Material = "Concrete"
465
elseif msg:lower():sub(1, 5) == "brick" then
466
dont.Material = "Brick"
467
elseif msg:lower():sub(1, 7) == "granite" then
468
dont.Material = "Granite"
469
elseif msg:lower():sub(1, 6) == "pebble" then
470
dont.Material = "Pebble"
471
elseif msg:lower():sub(1, 11) == "cobblestone" then
472
dont.Material = "Cobblestone"
473
elseif msg:lower():sub(1, 13) == "corrodedmetal" then
474
dont.Material = "CorrodedMetal"
475
elseif msg:lower():sub(1, 12) == "diamondplate" then
476
dont.Material = "DiamondPlate"
477
elseif msg:lower():sub(1, 4) == "foil" then
478
dont.Material = "Foil"
479
elseif msg:lower():sub(1, 6) == "fabric" then
480
dont.Material = "Fabric"
481
elseif msg:lower():sub(1, 6) == "yellow" then
482
dont.BrickColor = BrickColor.new("New Yeller")
483
elseif msg:lower():sub(1, 6) == "purple" then
484
dont.BrickColor = BrickColor.new("Bright violet")
485
elseif msg:lower():sub(1, 3) == "red" then
486
dont.BrickColor = BrickColor.new("Crimson")
487
elseif msg:lower():sub(1, 5) == "black" then
488
dont.BrickColor = BrickColor.new("Really black")
489
elseif msg:lower():sub(1, 5) == "white" then
490
dont.BrickColor = BrickColor.new("Institutional white")
491
elseif msg:lower():sub(1, 4) == "pink" then
492
dont.BrickColor = BrickColor.new("Hot pink")
493
elseif msg:lower():sub(1, 5) == "green" then
494
dont.BrickColor = BrickColor.new("Bright green")
495
elseif msg:lower():sub(1, 4) == "grey" then
496
dont.BrickColor = BrickColor.new("Medium stone grey")
497
elseif msg:lower():sub(1, 5) == "brown" then
498
dont.BrickColor = BrickColor.new("Burnt Sienna")
499
elseif msg:lower():sub(1, 6) == "orange" then
500
dont.BrickColor = BrickColor.new("Deep orange")
501
elseif msg:lower():sub(1, 4) == "blue" then
502
dont.BrickColor = BrickColor.new("Really blue")
503
elseif msg:lower():sub(1, 4) == "cyan" then
504
dont.BrickColor = BrickColor.new("Cyan")
505
elseif msg:lower():sub(1, 6) == "pastel" then
506
dont.BrickColor = BrickColor.new("Pastel yellow")
507
elseif msg:lower():sub(1, 5) == "ghost" then
508
dont.Transparency = 0.7
509
elseif msg:lower():sub(1, 5) == "alive" then
510
dont.Transparency = 0
511
elseif msg:lower():sub(1, 5) == "block" then
512
dont.Shape = "Block"
513
elseif msg:lower():sub(1, 4) == "ball" then
514
dont.Shape = "Ball"
515
elseif msg:lower():sub(1, 3) == "bye" then
516
dont:Destroy()
517
elseif msg:lower():sub(1, 17) == "pick another song" then
518
obj:Stop()
519
obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)]
520
obj.Volume = 10
521
obj.Looped = true
522
obj:Play()
523
elseif msg:lower():sub(1, 4) == "play" then
524
obj:Play()
525
elseif msg:lower():sub(1, 4) == "stop" then
526
obj:Stop()
527
elseif msg:lower():sub(1, 3) == "add" then
528
obj:Stop()
529
local arg = msg:sub(5, 999)
530
obj.SoundId = "rbxassetid://"..arg
531
obj:Play()
532
end
533
end)
534
while true do
535
for i = 0,1,.001 do
536
dont.CFrame = dont.CFrame:lerp(tor.CFrame * CFrame.new(0, 5, 3), i)
537
dont.Size = Vector3.new(obj.PlaybackLoudness/80, obj.PlaybackLoudness/80, obj.PlaybackLoudness/80)
538
wait()
539
end
540
wait()
541
end
542
end
543
elseif key == "g" then
544
if mou.Target ~= nil then
545
local MAN = mou.Target.Parent
546
local MANT = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
547
local hole = Instance.new("Part", workspace)
548
hole.Shape = "Ball"
549
hole.Size = Vector3.new(0.7, 0.7, 0.7)
550
hole.BrickColor = BrickColor.new("Eggplant")
551
hole.Anchored = true
552
hole.Material = "Neon"
553
hole.CFrame = mou.Hit
554
for i,v in pairs(workspace:GetChildren()) do
555
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
556
local owtor = v
557
blacktor = owtor:FindFirstChild("Torso") or owtor:FindFirstChild("UpperTorso")
558
bodpos = Instance.new("BodyPosition", blacktor)
559
bodpos.Position = hole.Position
560
bodpos.P = 5000000000
561
bodpos.MaxForce = Vector3.new(500000000, 500000000, 500000000)
562
end
563
end
564
end
565
566
end
567
end
568
end
569
mou.KeyDown:connect(pressed)
570
end)
571
tool.Unequipped:connect(function()
572
remoteequipped = false
573
end)