View difference between Paste ID: 7XSsqdBH and TAUXGtLM
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")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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
5
6
7
8-
local Player = game.Players.LocalPlayer
8+
9-
local char = Player.Character
9+
10-
local hed = char.Head
10+
11-
local LocalPlayer = p
11+
12
local LeftLeg2 = Character["Left Leg"]
13-
local naeeym = Instance.new("BillboardGui",char)
13+
14
local Head2 = Character.Head
15
local Torso2 = Character.Torso
16-
naeeym.Adornee = char.Head
16+
17
local naeeym = Instance.new("BillboardGui",Head2)
18
naeeym.Size = UDim2.new(0,100,0,40)
19
naeeym.StudsOffset = Vector3.new(0,5,0)
20
naeeym.Adornee = Head2
21
local tecks = Instance.new("TextLabel",naeeym)
22
tecks.BackgroundTransparency = 1
23
tecks.BorderSizePixel = 0
24
tecks.Text = "REAL DIO"
25
tecks.Font = "ArialBold"
26
tecks.FontSize = "Size24"
27
tecks.TextStrokeTransparency = 0
28
tecks.TextStrokeColor3 = Color3.new(0,0,0)
29
tecks.TextColor3 = Color3.new(255,255,255)
30
tecks.Size = UDim2.new(1,0,0.5,0)
31
32
--created by SoldierJoao
33
--Credits to metabee for the knives edit
34
cut = Instance.new("Sound", Character)
35
cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
36
cut.Volume = 1.5
37
thri = Instance.new("Sound", Character)
38
thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
39
thri.Volume = 2.5
40
WRY = Instance.new("Sound", Character)
41
WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
42
WRY.Volume = 5
43
44
local Players=game:service'Players'
45
local Player=Players.LocalPlayer
46
local Mouse=Player:GetMouse''
47
local RenderStepped=game:service'RunService'.RenderStepped
48
49
local MeshId='http://www.roblox.com/asset?id=202083123'
50
local TextureId='http://www.roblox.com/asset/?id=189436355'
51
52
local BeeSpeed= 100
53
54
local QHold=false
55
local EHold=false
56
57
Mouse.Button1Down:connect(function()
58
cut:Play()
59
if Mouse.Target then
60
local Bee=Instance.new('Part',Player.Character)
61
Bee.CanCollide=false
62
Bee.Size=Vector3.new(2,2,2)
63
Bee.CFrame=Player.Character.Torso.CFrame
64
local BeeMesh=Instance.new('SpecialMesh',Bee)
65
BeeMesh.MeshType='FileMesh'
66
BeeMesh.MeshId=MeshId
67
BeeMesh.TextureId=TextureId
68
BeeMesh.Scale=Vector3.new(1,1,1)
69
local BodyVel=Instance.new('BodyVelocity',Bee)
70
BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
71
local BodyGyro=Instance.new('BodyGyro',Bee)
72
BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
73
BodyGyro.P=2e4
74
coroutine.wrap(function()
75
RenderStepped:connect(function()
76
BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
77
BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
78
end)
79
end)()
80
Bee.Touched:connect(function(p)
81
if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
82
p.Parent:BreakJoints()
83
Bee:Destroy''
84
thri:Play()
85
end
86
end)
87
end
88
end)
89
90
91
Mouse.KeyDown:connect(function(k)
92
local Key=k:lower''
93
if Key=='q'then
94
QHold=true
95
elseif Key=='e'then
96
EHold=true
97
end
98
end)
99
100
Mouse.KeyUp:connect(function(k)
101
local Key=k:lower''
102
if Key=='q'then
103
QHold=false
104
elseif Key=='e'then
105
EHold=false
106
end
107
end)
108
109
coroutine.wrap(function()
110
RenderStepped:connect(function()
111
if QHold then
112
if BeeSpeed>0 then
113
BeeSpeed=BeeSpeed-1
114
end
115
elseif EHold then
116
BeeSpeed=BeeSpeed+1
117
end
118
end)
119
end)()
120
121
122
123
124
mse = Player:GetMouse()
125
126
sound = Instance.new("Sound", Character)
127
sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
128
sound.Volume = 2.5
129
sound2 = Instance.new("Sound", Character)
130
sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
131
sound2.Volume = 2.5
132
sound3 = Instance.new("Sound", Character)
133
sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
134
sound3.Volume = 1.8
135
sound4 = Instance.new("Sound", Character)
136
sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
137
sound4.Volume = 2
138
TSTheme = Instance.new("Sound", Character)
139
TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
140
TSTheme.Volume = 2
141
canworld = true
142
mse.KeyDown:connect(function(key)
143
	key = key:lower()
144
	if key == "t" then
145
		if canworld == false then return end
146
		if canworld then
147
		canworld = false
148
		sound3:Play()
149
tecks.Text = "THE WORLD STOP TIME!"
150
wait(2)
151
tecks.Text = LocalPlayer.Name
152
		sound:Play()
153
		sound4:Play()
154
		TSTheme:Play()
155
156
		local function spawnpart()
157
		sphere = Instance.new("Part")
158
		--game.Debris:AddItem(sphere,3)
159
		local sm = Instance.new("SpecialMesh", sphere)
160
		sm.MeshType = "Sphere"
161
		sphere.Transparency = 0.5
162
		sphere.Anchored = true
163
		sphere.CanCollide = false
164
		sphere.Material = "Neon"
165
		sphere.BrickColor = BrickColor.new("Black")
166
		end
167
		
168
		local function weld(lol)
169
			local weld = Instance.new("Weld", Player.Character.Torso)
170
			weld.Part0 = Player.Character.Torso
171
			weld.Part1 = lol
172
			weld.C0 = Player.Character.Torso.CFrame:inverse()
173
			weld.C1 = lol.CFrame:inverse()
174
		end
175
		wait()
176
		spawnpart()
177
			for i, v in pairs(game.Players:GetChildren()) do
178
			t = v.Character:FindFirstChild("Torso")
179
			if t then
180
				t.Anchored = true
181
				Player.Character:FindFirstChild("Torso").Anchored = false
182
			end
183
			RA = v.Character:FindFirstChild("Right Arm")
184
			if RA then
185
				RA.Anchored = true
186
				Player.Character:FindFirstChild("Right Arm").Anchored = false
187
			end
188
			LA = v.Character:FindFirstChild("Left Arm")
189
			if LA then
190
				LA.Anchored = true
191
				Player.Character:FindFirstChild("Left Arm").Anchored = false
192
			end
193
			RL = v.Character:FindFirstChild("Right Leg")
194
			if RL then
195
				RL.Anchored = true
196
				Player.Character:FindFirstChild("Right Leg").Anchored = false
197
			end
198
			LL = v.Character:FindFirstChild("Left Leg")
199
			if LL then
200
				LL.Anchored = true
201
				Player.Character:FindFirstChild("Left Leg").Anchored = false
202
			end
203
		end
204
		weld(sphere)
205
		cce = Instance.new("ColorCorrectionEffect", game.Lighting)
206
		cce.Saturation = -5
207
		--game.Debris:AddItem(cce, 5)
208
		sphere.Parent = Character.Torso
209
		for i = 1,3 do
210
			sphere.Size = sphere.Size + Vector3.new(50,50,50)
211
			wait()
212
			end
213
wait()
214
                        sphere:Destroy()
215
BeeSpeed = 0
216
		cce.Saturation = -0.1
217
		wait(0.3)
218
		cce.Saturation = -0.2
219
		wait(0.3)
220
		cce.Saturation = -0.3
221
		wait(0.2)
222
	        cce.Saturation = -1.5
223
                wait()
224
		end
225
	end
226
end
227
)
228
229
tecks.Text = LocalPlayer.Name
230
231
mse.KeyDown:connect(function(key)
232
	key = key:lower()
233
	if key == "y" then
234
canworld = true
235
tecks.Text = "Time continues moving again."
236
		sound2:Play()
237
wait()
238
BeeSpeed = 1
239
		cce.Saturation = -1.3
240
		wait(0.5)
241
BeeSpeed = 1.2
242
		cce.Saturation = -0.5
243
		wait(0.5)
244
BeeSpeed = 1.4
245
		cce.Saturation = -0.4
246
		wait(0.3)
247
BeeSpeed = 1.5
248
		cce.Saturation = -0.2
249
		wait(0.2)
250
	        cce.Saturation = 0
251
252
		for i, v in pairs(game.Players:GetChildren()) do
253
		t = v.Character:FindFirstChild("Torso")
254
			if t then
255
				t.Anchored = false
256
			end
257
			RA = v.Character:FindFirstChild("Right Arm")
258
			if RA then
259
				RA.Anchored = false
260
			end
261
			LA = v.Character:FindFirstChild("Left Arm")
262
			if LA then
263
				LA.Anchored = false
264
			end
265
			RL = v.Character:FindFirstChild("Right Leg")
266
			if RL then
267
				RL.Anchored = false
268
			end
269
			LL = v.Character:FindFirstChild("Left Leg")
270
			if LL then
271
				LL.Anchored = false
272
			end
273
		end
274
BeeSpeed = 100
275
tecks.Text = LocalPlayer.Name
276
TSTheme:Stop()
277
end
278
end)