View difference between Paste ID: sMMY3Tqs and 5VEx8Kut
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
local Player = game:GetService("Players").LocalPlayer
154
155
local Mouse,mouse,UserInputService,ContextActionService
156
do
157
	script.Parent = Player.Character
158
	local CAS = {Actions={}}
159
	local Event = Instance.new("RemoteEvent")
160
	Event.Name = "UserInput_Event"
161
	Event.Parent = Player.Character
162
	local fakeEvent = function()
163
		local t = {_fakeEvent=true}
164
		t.Connect = function(self,f)self.Function=f end
165
		t.connect = t.Connect
166
		return t
167
	end
168
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
169
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
170
	function CAS:BindAction(name,fun,touch,...)
171
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
172
	end
173
	function CAS:UnbindAction(name)
174
		CAS.Actions[name] = nil
175
	end
176
	local function te(self,ev,...)
177
		local t = m[ev]
178
		if t and t._fakeEvent and t.Function then
179
			t.Function(...)
180
		end
181
	end
182
	m.TrigEvent = te
183
	UIS.TrigEvent = te
184
	Event.OnServerEvent:Connect(function(plr,io)
185
	    if plr~=Player then return end
186
		if io.isMouse then
187
			m.Target = io.Target
188
			m.Hit = io.Hit
189
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
190
	        if io.UserInputState == Enum.UserInputState.Begin then
191
				m:TrigEvent("Button1Down")
192
			else
193
				m:TrigEvent("Button1Up")
194
			end
195
		else
196
			for n,t in pairs(CAS.Actions) do
197
				for _,k in pairs(t.Keys) do
198
					if k==io.KeyCode then
199
						t.Function(t.Name,io.UserInputState,io)
200
					end
201
				end
202
			end
203
	        if io.UserInputState == Enum.UserInputState.Begin then
204
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
205
				UIS:TrigEvent("InputBegan",io,false)
206
			else
207
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
208
				UIS:TrigEvent("InputEnded",io,false)
209
	        end
210
	    end
211
	end)
212
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
213
	end
214
	wait(1)
215
local p = game:GetService("Players")
216
pp = p.LocalPlayer--The variable is named after your small 'thing'.
217
local ChatService = game:GetService("Chat")
218
local mouse = pp:GetMouse()
219
local skidspace = game:GetService("Workspace") --This is a script intended for script builder
220
plr = skidspace[pp.Name] --You have to deal with all this idiots; Just like school.
221
local hum = plr:FindFirstChildOfClass("Humanoid") 
222
hum.WalkSpeed = 11.5*6
223
hum.DisplayDistanceType = "None"
224
function ChatFunction(loc, msg)
225
	local ChatGuiPart1 = Instance.new("BillboardGui",loc)
226
	ChatGuiPart1.Name = "ChatGui"
227
	ChatGuiPart1.AlwaysOnTop = true
228
	ChatGuiPart1.ExtentsOffset = Vector3.new(0, 5, 0)
229
	ChatGuiPart1.Size = UDim2.new(0, 200, 0, 50)
230
	local ChatGuiPart2 = Instance.new("TextLabel")
231
	ChatGuiPart2.BorderColor3 = Color3.new(1, 0, 0)
232
	ChatGuiPart2.BorderSizePixel = 3
233
	ChatGuiPart2.BackgroundColor3 = Color3.new(255, 255, 255)
234
	ChatGuiPart2.Size = UDim2.new(0, 200, 0, 50)
235
	ChatGuiPart2.Font = Enum.Font.Arcade
236
	ChatGuiPart2.FontSize = Enum.FontSize.Size14
237
	ChatGuiPart2.TextColor3 = Color3.new(1, 0, 0)
238
	ChatGuiPart2.TextWrapped = true
239
	ChatGuiPart2.Parent = ChatGuiPart1
240
	ChatGuiPart2.Text = msg
241
	wait()
242
	--ChatGuiPart1:Destroy()
243
end
244
245
--------------------------------------------------
246
--186942568
247
local theme = Instance.new("Sound",pp.Character)
248
theme.Name = "Girei"
249
theme.SoundId = "rbxassetid://324905722"
250
theme.Volume = 3
251
theme.Looped = true
252
theme:Play()
253
254
--------------------------------------------------
255
256
for _,v in pairs(plr:GetChildren()) do
257
	if v:IsA("Accessory") or v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") then
258
		v:Destroy()
259
	end
260
end
261
262
bc = plr["Body Colors"]
263
black = BrickColor.new("Really black")
264
bc.LeftArmColor = black
265
bc.LeftLegColor = black
266
bc.RightArmColor = black
267
bc.RightLegColor = black
268
bc.TorsoColor = black
269
bc.HeadColor = black
270
271
sbt = Instance.new("SelectionBox",plr.Torso)
272
sbt.Adornee = sbt.Parent
273
sbt.LineThickness = 0.01
274
sbra = Instance.new("SelectionBox",plr["Right Arm"])
275
sbra.Adornee = sbra.Parent
276
sbra.LineThickness = 0.01
277
sbla = Instance.new("SelectionBox",plr["Left Arm"])
278
sbla.Adornee = sbla.Parent
279
sbla.LineThickness = 0.01
280
sbrl = Instance.new("SelectionBox",plr["Right Leg"])
281
sbrl.Adornee = sbrl.Parent
282
sbrl.LineThickness = 0.01
283
sbll = Instance.new("SelectionBox",plr["Left Leg"])
284
sbll.Adornee = sbll.Parent
285
sbll.LineThickness = 0.01
286
--sbh = Instance.new("SelectionBox",plr.Head)
287
--sbh.Adornee = sbh.Parent
288
289
290
sbt.Color3 = Color3.new(math.random(), math.random(), math.random())
291
sbra.Color3 = Color3.new(math.random(), math.random(), math.random())
292
sbla.Color3 = Color3.new(math.random(), math.random(), math.random())
293
sbrl.Color3 = Color3.new(math.random(), math.random(), math.random())
294
sbll.Color3 = Color3.new(math.random(), math.random(), math.random())
295
--sbh.Color3 = Color3.new(math.random(), math.random(), math.random())
296
	local Title1 = Instance.new("BillboardGui",plr.Head)
297
	Title1.Adornee = plr.Head
298
	Title1.AlwaysOnTop = true
299
	Title1.Size = UDim2.new(0, 200, 0, 50)
300
	local Title2 = Instance.new("TextLabel")
301
	Title2.BackgroundTransparency = 1
302
	Title2.Position = UDim2.new(0, 0, -0.899999976, 0)
303
	Title2.Size = UDim2.new(0, 200, 0, 50)
304
	Title2.Font = Enum.Font.Arcade
305
	Title2.FontSize = Enum.FontSize.Size24
306
	Title2.Text = "Demon of Insanity"
307
	Title2.TextColor3 = Color3.new(1, 0, 0)
308
	Title2.TextScaled = true
309
	Title2.TextWrapped = true
310
	Title2.Parent = Title1
311
312
--Commented neatness stops here, along with all other forms of organization.
313
314
for i = 1,50 do
315
	wait(0.0005)
316
	game:GetService("Lighting").Brightness = game:GetService("Lighting").Brightness - 0.2
317
end
318
	ChatFunction(pp.Character.Head, "The Demon of Insanity has arrived, this world is now mine.")
319
	wait(3)
320
	pp.Character.Head.ChatGui:Destroy()
321
	--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "My incarnation is complete. The Demon of Insanity is here.","Red")
322
game:GetService("Lighting").Brightness = 0
323
324
function md()
325
	ChatFunction(pp.Character.Head, "This world shall be rid of all sanity!")	
326
	--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "This world shall be rid of all sanity!","Red")
327
	game:GetService("Lighting").Ambient = Color3.new(255/255, 0/255, 0,255)
328
	game:GetService("Lighting").TimeOfDay = 24000004
329
local destruction = Instance.new("Part")
330
destruction.Touched:connect(function(hit)
331
	if hit.Parent:FindFirstChildOfClass("Humanoid") then
332
		if hit.Parent.Name == pp.Name or hit.Parent.Parent.Name == pp.Name then
333
		else
334
		hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
335
end	
336
	end
337
end)
338
destruction.Parent = plr
339
destruction.Material = Enum.Material.Ice
340
destruction.BrickColor = BrickColor.new("Maroon")
341
destruction.Transparency = 0.25
342
destruction.CFrame = plr["Right Arm"].CFrame
343
destruction.Shape = Enum.PartType.Ball
344
destruction.Size = Vector3.new(4, 4, 4)
345
destruction.BackSurface = Enum.SurfaceType.SmoothNoOutlines
346
destruction.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
347
destruction.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
348
destruction.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
349
destruction.RightSurface = Enum.SurfaceType.SmoothNoOutlines
350
destruction.TopSurface = Enum.SurfaceType.SmoothNoOutlines
351
destruction.CanCollide = false
352
destruction.Color = Color3.new(0.458824, 0, 0)
353
local bp = Instance.new("BodyPosition",destruction)
354
bp.MaxForce = Vector3.new(10000, 10000, 10000)
355
position = mouse.Hit
356
bp.Position = mouse.Hit.p
357
wait(2.5)
358
destruction.Anchored = true
359
local boom = Instance.new("Sound",pp.Character)
360
boom.SoundId = "rbxassetid://144699494"
361
boom.Pitch = 0.45
362
boom:Play()
363
boom.Volume = 10
364
for i = 1,75 do
365
	wait(0.00005)
366
destruction.CFrame = position
367
destruction.Size = Vector3.new(4, 4, 4) * i*0.75
368
destruction.CFrame = position
369
destruction.Transparency = 0.25 * (i/18)
370
end
371
	pp.Character.Head.ChatGui:Destroy()
372
destruction:Destroy()
373
end
374
375
376
mouse.KeyDown:connect(function(key) 
377
	if key == "q" then
378
		md()
379
	end
380
end)
381
382
383
384
local player = game.Players.LocalPlayer
385
local pchar = player.Character
386
local mouse = player:GetMouse()
387
local cam = workspace.CurrentCamera
388
root = plr.HumanoidRootPart
389
390
local rad = math.rad
391
bodyparts = {}
392
local keysDown = {}
393
local flySpeed = 0
394
local MAX_FLY_SPEED = 150
395
396
local canFly = false
397
local flyToggled = false
398
399
local forward, side = 0, 0
400
local lastForward, lastSide = 0, 0
401
402
local floatBP = Instance.new("BodyPosition")
403
floatBP.maxForce = Vector3.new(0, math.huge, 0)
404
local flyBV = Instance.new("BodyVelocity")
405
flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
406
local turnBG = Instance.new("BodyGyro")
407
turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
408
409
mouse.KeyDown:connect(function(key)
410
        keysDown[key] = true
411
412
        if key == "f" then
413
                flyToggled = not flyToggled
414
415
        if not flyToggled then
416
                stanceToggle = "Normal"
417
                floatBP.Parent = nil
418
                flyBV.Parent = nil
419
                turnBG.Parent = nil
420
                root.Velocity = Vector3.new()
421
                pchar:FindFirstChildOfClass("Humanoid").PlatformStand = false
422
        end
423
end
424
425
end)
426
mouse.KeyUp:connect(function(key)
427
        keysDown[key] = nil
428
end)
429
430
local function updateFly()
431
	
432
	
433
	
434
435
        if not flyToggled then return end
436
437
        lastForward = forward
438
        lastSide = side
439
440
        forward = 0
441
        side = 0
442
443
        if keysDown.w then
444
                forward = forward + 1
445
        end
446
        if keysDown.s then
447
                forward = forward - 1
448
        end
449
        if keysDown.a then
450
                side = side - 1
451
        end
452
        if keysDown.d then
453
                side = side + 1
454
        end
455
456
        canFly = (forward ~= 0 or side ~= 0)
457
458
        if canFly then
459
                stanceToggle = "Floating"
460
                turnBG.Parent = root
461
                floatBP.Parent = nil
462
                flyBV.Parent = root
463
464
                flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
465
                if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
466
        else
467
                floatBP.position = root.Position
468
                floatBP.Parent = root
469
470
                flySpeed = flySpeed - 1
471
                if flySpeed < 0 then flySpeed = 0 end
472
        end
473
474
        local camCF = cam.CoordinateFrame
475
        local in_forward = canFly and forward or lastForward
476
        local in_side = canFly and side or lastSide
477
478
        flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,in_forward * 0.2, 0).p) - camCF.p) * flySpeed
479
480
        turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,0)
481
end
482
483
game:service'RunService'.RenderStepped:connect(function()
484
        if flyToggled then
485
                pchar:FindFirstChildOfClass("Humanoid").PlatformStand = true
486
        end
487
        updateFly()
488
end)
489
490
491
492
function bringforthe()	
493
if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
494
ChatFunction(pp.Character.Head, "Your existence has brought my attention, so I have brought you.")
495
	--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "Your existence has brought my attention, so I have brought you.","Red")
496
	local bodyposition = Instance.new("BodyPosition",mouse.Target)
497
	bodyposition.MaxForce = Vector3.new(10000, 10000, 10000)
498
	bodyposition.Position = plr["Right Arm"].Position
499
	wait(5)
500
	bodyposition:Destroy()
501
		pp.Character.Head.ChatGui:Destroy()
502
	end
503
	end
504
505
506
507
mouse.KeyDown:connect(function(key)
508
	if key == "r" then
509
		bringforthe()
510
	end
511
end)
512
513
514
515
516
function relay()
517
	ChatFunction(pp.Character.Head, "Foolish mortals, my methods of transportation are far more superior.")
518
--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "Foolish mortals, my methods of transportation are far more superior.","Red")
519
local r1 = Instance.new("Part")
520
r1.Parent = plr
521
r1.BrickColor = BrickColor.new("Really black")
522
r1.CFrame = CFrame.new(-7, 2.25, 71, 0, -1, 0, -1, 0, 0, 0, 0, -1)
523
r1.CFrame = mouse.Hit
524
r1.Rotation = Vector3.new(-180, 0, 90)
525
r1.Shape = Enum.PartType.Cylinder
526
r1.Size = Vector3.new(0.5, 3, 3)
527
r1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
528
r1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
529
r1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
530
r1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
531
r1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
532
r1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
533
r1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
534
r1.Anchored = true
535
plr.Torso.CFrame = CFrame.new(r1.CFrame.x, r1.CFrame.y + 5, r1.CFrame.z)
536
for i = 1,100 do
537
	wait(0.005)
538
	r1.Transparency = r1.Transparency + 0.01
539
end
540
r1:Destroy()
541
	pp.Character.Head.ChatGui:Destroy()
542
end
543
544
mouse.KeyDown:connect(function(key)
545
	if key == "b" then
546
		relay()
547
	end
548
end)
549
550
551
552
553
function ps()
554
	ChatFunction(pp.Character.Head, "The term 'Personal Space', is one of the few terms humans have made that is actually smart.")
555
--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "Your term 'Personal Space', is one of the terms humans have made that is actually smart.","Red")
556
	local push = Instance.new("Part")
557
push.Touched:connect(function(hit)
558
	if hit.Parent:FindFirstChildOfClass("Humanoid") then
559
		if hit.Parent.Name == pp.Name or hit.Parent.Parent.Name == pp.Name then
560
		else
561
		hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
562
end	
563
	end
564
end)
565
push.Parent = game.Workspace
566
push.Material = Enum.Material.Neon
567
push.BrickColor = BrickColor.new("Really black")
568
push.Transparency = 0.25
569
push.Shape = Enum.PartType.Ball
570
push.Size = Vector3.new(8, 8, 8)
571
push.BackSurface = Enum.SurfaceType.SmoothNoOutlines
572
push.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
573
push.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
574
push.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
575
push.RightSurface = Enum.SurfaceType.SmoothNoOutlines
576
push.CanCollide = false
577
push.Anchored = false
578
push.TopSurface = Enum.SurfaceType.SmoothNoOutlines
579
push.CFrame = plr.Torso.CFrame
580
wait(0.05)
581
local weld = Instance.new("Weld",push)
582
weld.Part0 = push
583
--weld.C0 = push.CFrame:inverse()
584
weld.Part1 = plr.Torso
585
--weld.C1 = plr.Torso.CFrame:inverse()
586
wait(1.5)
587
push:Destroy()
588
	pp.Character.Head.ChatGui:Destroy()
589
end
590
591
592
function aieou()
593
	if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
594
		if mouse.Target.Parent:FindFirstChild("Torso") then
595
	
596
			
597
			for i,v in pairs(mouse.Target.Parent:GetChildren()) do
598
				if v:IsA("Part") then
599
					if v.Name == "Torso" then
600
					
601
						--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "Your torso, it will make a fine addition to my collection.","Red")
602
			
603
mouse.Target.Parent:FindFirstChild("Torso").Size = Vector3.new(1, 1, 1)
604
					else
605
						v:Destroy()
606
							
607
					end
608
				end
609
			end	
610
		end
611
	
612
	end
613
end
614
615
616
function minion()
617
	if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
618
ChatFunction(pp.Character.Head, "You're now my minion, "..mouse.Target.Parent.Name..", now kill in my name.")	
619
	--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "You're now my minion, "..mouse.Target.Parent.Name..", now kill in my name.","Red")
620
wait(2.5)
621
	pp.Character.Head.ChatGui:Destroy()
622
minion = mouse.Target.Parent
623
local push = Instance.new("Part")
624
push.Touched:connect(function(hit)
625
	if hit.Parent:FindFirstChildOfClass("Humanoid") then
626
		if hit.Parent.Name == pp.Name or hit.Parent.Parent.Name == pp.Name or hit.Parent.Name == mouse.Target.Parent.Name or hit.Parent.Parent.Name == mouse.Target.Parent.Name then
627
		else
628
ChatFunction(minion.Head, "Master "..pp.Name..", I have killed for you, in your name.")	
629
	--game:GetService("Chat"):Chat(minion.Head, "Master "..pp.Name..", I have killed for you, in your name.","Red")
630
		hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
631
		wait(1.5)
632
		minion.Head.ChatGui:Destroy()
633
end	
634
	end
635
end)
636
	local Minion1 = Instance.new("BillboardGui",mouse.Target.Parent:FindFirstChild("Head"))
637
	Minion1.Adornee = mouse.Target.Parent:FindFirstChild("Head")
638
	Minion1.AlwaysOnTop = true
639
	Minion1.Size = UDim2.new(0, 200, 0, 50)
640
	local Minion2 = Instance.new("TextLabel")
641
	Minion2.BackgroundTransparency = 1
642
	Minion2.Position = UDim2.new(0, 0, -0.899999976, 0)
643
	Minion2.Size = UDim2.new(0, 200, 0, 50)
644
	Minion2.Font = Enum.Font.Arcade
645
	Minion2.FontSize = Enum.FontSize.Size24
646
	Minion2.Text = "Minion of Insanity"
647
	Minion2.TextColor3 = Color3.new(0.333333, 0.666667, 0.498039)
648
	Minion2.TextScaled = true
649
	Minion2.TextWrapped = true
650
	Minion2.Parent = Minion1
651
push.Parent = mouse.Target.Parent
652
push.Material = Enum.Material.Neon
653
push.BrickColor = BrickColor.new("Really black")
654
push.Transparency = 0.25
655
push.Shape = Enum.PartType.Ball
656
push.Size = Vector3.new(8, 8, 8)
657
push.BackSurface = Enum.SurfaceType.SmoothNoOutlines
658
push.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
659
push.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
660
push.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
661
push.RightSurface = Enum.SurfaceType.SmoothNoOutlines
662
push.CanCollide = false
663
push.Anchored = false
664
push.TopSurface = Enum.SurfaceType.SmoothNoOutlines
665
push.CFrame = mouse.Target.Parent:FindFirstChild("Torso").CFrame
666
wait(0.05)
667
local weld = Instance.new("Weld",push)
668
weld.Part0 = push
669
--weld.C0 = push.CFrame:inverse()
670
weld.Part1 = mouse.Target.Parent:FindFirstChild("Torso")
671
--weld.C1 = plr.Torso.CFrame:inverse()
672
end	
673
end
674
675
mouse.KeyDown:connect(function(key)
676
	if key == "v" then
677
minion()
678
end
679
end)
680
681
mouse.KeyDown:connect(function(key)
682
	if key == "g" then
683
		aieou()
684
	end
685
end)
686
687
mouse.KeyDown:connect(function(key)
688
	if key == "e" then
689
		ps()
690
	end
691
end)
692
693
694
695
function possessed()
696
	if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
697
		local possessee = mouse.Target.Parent
698
		local curse = Instance.new("Model")
699
		curse.Name = "Curse"
700
		curse.Parent = possessee
701
ChatFunction(possessee.Head, "Master "..pp.Name..", I shall be your servant, command me whenever you are ready.")		
702
		--game:GetService("Chat"):Chat(possessee.Head, "Master "..pp.Name..", I shall be your servant, command me whenever you are ready.","Red")
703
	wait(3)
704
	possessee.Head.ChatGui:Destroy()
705
	end
706
end
707
708
mouse.KeyDown:connect(function(key) 
709
if key == "z" then
710
possessed()	
711
	
712
end	
713
end)
714
715
function curse()
716
ChatFunction(pp.Character.Head, "Servants! The time is now! Rid this world of all sanity!")
717
wait(2)
718
pp.Character.Head.ChatGui:Destroy()
719
--game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "Servants! The time is now! Rid this world of all sanity!","Red")
720
	for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
721
		if v:IsA("Model") then
722
			if v:FindFirstChild("Curse") then
723
				
724
				wait(0.5)
725
ChatFunction(v.Head, "Master "..pp.Name.." has commanded me to do this.")
726
--game:GetService("Chat"):Chat(v.Head, "Master "..pp.Name.." has commanded me to do this.","Red")
727
--bp = Instance.new("BodyPosition",v)
728
--bp.MaxForce = Vector3.new(10000, 10000, 10000)
729
--bp.Position = Vector3.new(0, 3, 0)
730
wait(4)
731
v.Head.ChatGui:Destroy()
732
local servantdestruction = Instance.new("Part")
733
servantdestruction.Parent = v
734
servantdestruction.Material = Enum.Material.Ice
735
servantdestruction.BrickColor = BrickColor.new("Maroon")
736
servantdestruction.Transparency = 0.25
737
servantdestruction.Shape = Enum.PartType.Ball
738
servantdestruction.Size = Vector3.new(4, 4, 4)
739
servantdestruction.BackSurface = Enum.SurfaceType.SmoothNoOutlines
740
servantdestruction.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
741
servantdestruction.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
742
servantdestruction.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
743
servantdestruction.RightSurface = Enum.SurfaceType.SmoothNoOutlines
744
servantdestruction.TopSurface = Enum.SurfaceType.SmoothNoOutlines
745
servantdestruction.CanCollide = false
746
servantdestruction.Color = Color3.new(0.458824, 0, 0)
747
servantdestruction.Anchored = true
748
servantdestruction.CFrame = v.Torso.CFrame
749
wait(0.25)
750
servantdestruction.Touched:connect(function(hit)
751
	if hit.Parent:FindFirstChildOfClass("Humanoid") then
752
		if hit.Parent.Name == pp.Name or hit.Parent.Parent.Name == pp.Name then
753
		else
754
		hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
755
end	
756
	end
757
end)
758
sboom = Instance.new("Sound",game:GetService("Workspace"))
759
sboom.SoundId = "rbxassetid://144699494"
760
sboom.Pitch = 0.45
761
sboom:Play()
762
sboom.Volume = 10
763
for i = 1,25 do
764
	wait(0.00005)
765
servantdestruction.CFrame = v.Torso.CFrame
766
servantdestruction.Size = Vector3.new(4, 4, 4) * i*0.5
767
servantdestruction.CFrame = v.Torso.CFrame
768
servantdestruction.Transparency = 0.60 * (i/18)
769
end
770
servantdestruction:Destroy()
771
wait(1.5)
772
ChatFunction(v.Head, "So this is what Master "..pp.Name.." is capable of.")
773
--game:GetService("Chat"):Chat(v.Head, "So this is what Master "..pp.Name.." is capable of.","Red")
774
775
			end
776
		end
777
	end
778
end
779
780
mouse.KeyDown:connect(function(key)
781
	if key == "x" then
782
		curse()
783
	end
784
end)
785
786
function clean()
787
for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
788
	if v:IsA("Model") then
789
		if v:FindFirstChildOfClass("Humanoid") then
790
		else
791
			v:Destroy()
792
			if v:IsA("Part") then
793
				if v.Name == "Base" then
794
				else
795
					v:Destroy()
796
				end
797
			end
798
		end
799
	end
800
end
801
end
802
803
mouse.KeyDown:connect(function(key)
804
	if key == "c" then
805
		clean()
806
	end
807
end)
808
809
mouse.KeyDown:connect(function(key)
810
	if key == "t" then --In case unnamed objects that you need the name of appear, or unnamed players, take this.
811
		print(mouse.Target.Name)
812
		print(mouse.Target.Parent.Name)
813
		print(mouse.Target.Parent.Parent.Name)
814
	end
815
end)
816
817
print("Demon of Insanity")
818
print()
819
warn("By DontBlinkDrWho")
820
print("-_-_-_-_-_-_-_-_-")
821
print()
822
print("Q = World Riddening.")
823
print("E = Personal space.")
824
print("R = Pull.")
825
print("T = Demons Knowledge.")
826
print("F = Stolen gift of Flight.")
827
print("G = Torsi attack (Shrinks torso, destroys everything else).")
828
print("Z = Servant.")
829
print("X = Servants curse.")
830
print("C = Clean.")
831
print("V = Minion.")
832
833
--This is the end of the script.
834
while wait() do
835
	hum.MaxHealth = math.huge -- God mode
836
	hum.Name = math.random(167.432) --Break other scripts (Especially on sb), killing you will be harder
837
	hum.Health = math.huge -- God mode
838
	sbt.Color3 = Color3.new(math.random(), math.random(), math.random())
839
sbra.Color3 = Color3.new(math.random(), math.random(), math.random())
840
sbla.Color3 = Color3.new(math.random(), math.random(), math.random())
841
sbrl.Color3 = Color3.new(math.random(), math.random(), math.random())
842
sbll.Color3 = Color3.new(math.random(), math.random(), math.random())
843
wait()
844
end