View difference between Paste ID: ssUvwGn9 and c6xNymPx
SHOW: | | - or go back to the newest paste.
1
tooth = Instance.new("Tool", game.Workspace)
2
wait(1)
3
tooth.Parent = game.Workspace.Killerxor
4-
tooth.Parent = game.Workspace.firemomo45
4+
5
Sphere = Instance.new("SpecialMesh",tooth)
6
Sphere.Name = "SphereMesh"
7
Sphere.MeshId = "http://www.roblox.com/asset/?id=94736101"
8
Bandle = Instance.new("Part",tooth)
9
Bandle.Name = "Handle"
10
Round = Instance.new("Sound",Bandle)
11
Round.Name = "Sound"
12
Round.SoundId = "rbxassetid://274698941"
13
LimeResume = Instance.new("Sound",Bandle)
14
LimeResume.Name = "TimeResume"
15
LimeResume.SoundId = "rbxassetid://274699177"
16
Bessage = Instance.new("Message",tooth)
17
18
--The broken as fuck script
19
20
freez = true
21
players = game:GetService("Players")
22
local froze = {}
23
function VisualEffect(part)
24
	local EffectLength = 1.5
25
	local StartSphereScale = Vector3.new(.1,.1,.1)
26
	local EndSphereScale = Vector3.new(40,40,40)
27
	
28
	local sphere = Instance.new('Part')
29
	sphere.CanCollide = false
30
	sphere.Anchored = true
31
	sphere.Transparency = 0.5
32
	sphere.Reflectance = 99
33
	sphere.FormFactor = Enum.FormFactor.Custom
34
	sphere.Shape = Enum.PartType.Ball
35
	sphere.Size = Vector3.new(0.2, 0.2, 0.2)
36
	sphere.CFrame = CFrame.new(part.CFrame.p)
37
	sphere.TopSurface = Enum.SurfaceType.Smooth
38
	sphere.BottomSurface  = Enum.SurfaceType.Smooth
39
	sphere.Name = 'water' --LOL-CANO
40
	sphere.BrickColor=BrickColor.Gray()
41
	sphere.Transparency = 0.1
42
	
43
	-- Add 0.2 for the wait below
44
	game.Debris:AddItem(sphere, EffectLength + 1)
45
	sphere.Parent = game.Workspace
46
	
47
	local sphereMesh = Sphere:Clone()
48
	sphereMesh.VertexColor=Vector3.new(1,1,1)
49
	sphereMesh.Scale = Vector3.new(.1,.1,.1)
50
	sphereMesh.Parent = sphere
51
	
52
	
53
	
54
	sphere.Transparency = 0
55
	local startTime=time()
56
	while time()-startTime<EffectLength do
57
		sphere.CFrame = CFrame.new(part.CFrame.p)
58
		sphereMesh.Scale=StartSphereScale:Lerp(EndSphereScale,(time()-startTime)/EffectLength)+Vector3.new(math.random(),math.random(),math.random())
59
		sphere.Transparency=(time()-startTime)/EffectLength
60
		wait()
61
	end
62
end
63
local function freeze(p)
64
	if p:IsA("BasePart") and p.Anchored == false then
65
		p.Anchored = true
66
		table.insert(froze,p)
67
	end
68
	for key, value in pairs(game.Players:GetChildren()) do
69
rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
70
ll = value.Character:FindFirstChild("Left Leg")
71
ra = value.Character:FindFirstChild("Right Arm")
72
la = value.Character:FindFirstChild("Left Arm")
73
t = value.Character:FindFirstChild("Torso")
74
75
rl.Anchored = true
76
ll.Anchored = true
77
ra.Anchored = true
78
la.Anchored = true
79
t.Anchored = true
80
local Tool = tooth
81
    local character = Tool.Parent
82
	local player = game.Players.LocalPlayer
83
	local Torso = character:FindFirstChild("Torso")
84
	local RightArm = character:FindFirstChild("Right Arm")
85
	local LeftArm = character:FindFirstChild("Left Arm")
86
	local RightLeg = character:FindFirstChild("Right Leg")
87
	local LeftLeg = character:FindFirstChild("Left Leg")
88
	local Head = character:FindFirstChild("Head")
89
if script.Parent.Parent.Name == "Backpack" then
90
	Torso = script.Parent.Parent.Parent.Character:FindFirstChild("Torso")
91
	RightArm = script.Parent.Parent.Parent.Character:FindFirstChild("Right Arm")
92
	LeftArm = script.Parent.Parent.Parent.Character:FindFirstChild("Left Arm")
93
	RightLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Right Leg")
94
	LeftLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Left Leg")
95
	Head = script.Parent.Parent.Parent.Character:FindFirstChild("Head")
96
end
97
if Torso ~= nil then
98
	
99
Torso.Anchored = false
100
Head.Anchored = false
101
RightArm.Anchored = false
102
LeftArm.Anchored = false
103
RightLeg.Anchored = false
104
LeftLeg.Anchored = false
105
end
106
end
107
	if not game.Players:GetPlayerFromCharacter(p) then
108
		for _,v in pairs(p:GetChildren())do
109
			freeze(v)
110
		end
111
	end
112
	end
113
local function unfreeze()
114
	for key, value in pairs(game.Players:GetChildren()) do
115
rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
116
ll = value.Character:FindFirstChild("Left Leg")
117
ra = value.Character:FindFirstChild("Right Arm")
118
la = value.Character:FindFirstChild("Left Arm")
119
t = value.Character:FindFirstChild("Torso")
120
121
rl.Anchored = false
122
ll.Anchored = false
123
ra.Anchored = false
124
la.Anchored = false
125
t.Anchored = false
126
127
end
128
	for _,v in pairs(froze)do
129
		v.Anchored = false
130
	end
131
	froze = {}
132
end
133
tooth.Activated:connect(function()
134
	if freez == true then
135
		freez = false
136
		Bessage.Text = "Za Wardo! (The World!)"
137
		Bandle.Transparency = 1
138
		Round:Play()
139
	wait(1.55)
140
	VisualEffect(Bandle)
141-
	Bessage.Parent = nil
141+
	Bessage.Text = ""
142
	freeze(workspace)
143
	wait(1.63)
144-
local amount = 0
144+
145-
	while amount <= 300 do
145+
146-
    freeze(workspace)
146+
147-
	amount = amount + 1
147+
148
	wait(0.03)
149-
    end
149+
150
	wait(0.03)
151
	freeze(workspace)
152-
	texty.Text = "Time Flows Again!"
152+
153
	freeze(workspace)
154
	wait(0.03)
155
	freeze(workspace)
156
	wait(0.03)
157
	freeze(workspace)
158
	wait(0.03)
159
	freeze(workspace)
160
	wait(0.03)
161
	freeze(workspace)
162
	wait(0.03)
163
	freeze(workspace)
164
	wait(0.03)
165
	freeze(workspace)
166
	wait(0.03)
167
	freeze(workspace)
168
	wait(0.03)
169
	freeze(workspace)
170
	wait(0.03)
171
	freeze(workspace)
172
	wait(0.03)
173
	freeze(workspace)
174
	wait(0.03)
175
	freeze(workspace)
176
	wait(0.03)
177
	freeze(workspace)
178
	wait(0.03)
179
	freeze(workspace)
180
	wait(0.03)
181
	freeze(workspace)
182
	wait(0.03)
183
	freeze(workspace)
184
	wait(0.03)
185
	freeze(workspace)
186
	wait(0.03)
187
	freeze(workspace)
188
	wait(0.03)
189
	freeze(workspace)
190
	wait(0.03)
191
	freeze(workspace)
192
	wait(0.03)
193
	freeze(workspace)
194
	wait(0.03)
195
	freeze(workspace)
196
	wait(0.03)
197
	freeze(workspace)
198
	wait(0.03)
199
	freeze(workspace)
200
	wait(0.03)
201
	freeze(workspace)
202
	wait(0.03)
203
	freeze(workspace)
204
	wait(0.03)
205
	freeze(workspace)
206
	wait(0.03)
207
	freeze(workspace)
208
	wait(0.03)
209
	freeze(workspace)
210
	wait(0.03)
211
	freeze(workspace)
212
	wait(0.03)
213
	freeze(workspace)
214
	wait(0.03)
215
	freeze(workspace)
216
	wait(0.03)
217
	freeze(workspace)
218
	wait(0.03)
219
	freeze(workspace)
220
	wait(0.03)
221
	freeze(workspace)
222
	wait(0.03)
223
	freeze(workspace)
224
	wait(0.03)
225
	freeze(workspace)
226
	wait(0.03)
227
	freeze(workspace)
228
	wait(0.03)
229
	freeze(workspace)
230
	wait(0.03)
231
	freeze(workspace)
232
	wait(0.03)
233
	freeze(workspace)
234
	wait(0.03)
235
	freeze(workspace)
236
	wait(0.03)
237
	freeze(workspace)
238
	wait(0.03)
239
	freeze(workspace)
240
	wait(0.03)
241
	freeze(workspace)
242
	wait(0.03)
243
	freeze(workspace)
244
	wait(0.03)
245
	freeze(workspace)
246
	wait(0.03)
247
	freeze(workspace)
248
	wait(0.03)
249
	freeze(workspace)
250
	wait(0.03)
251
	freeze(workspace)
252
	wait(0.03)
253
	freeze(workspace)
254
	wait(0.03)
255
	freeze(workspace)
256
	wait(0.03)
257
	freeze(workspace)
258
	wait(0.03)
259
	freeze(workspace)
260
	wait(0.03)
261
	freeze(workspace)
262
	wait(0.03)
263
	freeze(workspace)
264
	wait(0.03)
265
	freeze(workspace)
266
	wait(0.03)
267
	freeze(workspace)
268
	wait(0.03)
269
	freeze(workspace)
270
	wait(0.03)
271
	freeze(workspace)
272
	wait(0.03)
273
	freeze(workspace)
274
	wait(0.03)
275
	freeze(workspace)
276
	wait(0.03)
277
	freeze(workspace)
278
	wait(0.03)
279
	freeze(workspace)
280
	wait(0.03)
281
	freeze(workspace)
282
	wait(0.03)
283
	freeze(workspace)
284
	wait(0.03)
285
	freeze(workspace)
286
	wait(0.03)
287
	freeze(workspace)
288
	wait(0.03)
289
	freeze(workspace)
290
	wait(0.03)
291
	freeze(workspace)
292
	wait(0.03)
293
	freeze(workspace)
294
	wait(0.03)
295
	freeze(workspace)
296
	wait(0.03)
297
	freeze(workspace)
298
	wait(0.03)
299
	freeze(workspace)
300
	wait(0.03)
301
	freeze(workspace)
302
	wait(0.03)
303
	freeze(workspace)
304
	wait(0.03)
305
	freeze(workspace)
306
	wait(0.03)
307
	freeze(workspace)
308
	wait(0.03)
309
	freeze(workspace)
310
	wait(0.03)
311
	freeze(workspace)
312
	wait(0.03)
313
	freeze(workspace)
314
	wait(0.03)
315
	freeze(workspace)
316
	wait(0.03)
317
	freeze(workspace)
318
	wait(0.03)
319
	freeze(workspace)
320
	wait(0.03)
321
	freeze(workspace)
322
	wait(0.03)
323
	freeze(workspace)
324
	wait(0.03)
325
	freeze(workspace)
326
	wait(0.03)
327
	freeze(workspace)
328
	wait(0.03)
329
	freeze(workspace)
330
	wait(0.03)
331
	freeze(workspace)
332
	wait(0.03)
333
	freeze(workspace)
334
	wait(0.03)
335
	freeze(workspace)
336
	wait(0.03)
337
	freeze(workspace)
338
	wait(0.03)
339
	freeze(workspace)
340
	wait(0.03)
341
	freeze(workspace)
342
	wait(0.03)
343
	freeze(workspace)
344
	wait(0.03)
345
	freeze(workspace)
346
	wait(0.03)
347
	freeze(workspace)
348
	wait(0.03)
349
	freeze(workspace)
350
	wait(0.03)
351
	freeze(workspace)
352
	wait(0.03)
353
	freeze(workspace)
354
	wait(0.03)
355
	freeze(workspace)
356
	wait(0.03)
357
	freeze(workspace)
358
	wait(0.03)
359
	freeze(workspace)
360
	wait(0.03)
361
	freeze(workspace)
362
	wait(0.03)
363
	freeze(workspace)
364
	wait(0.03)
365
	freeze(workspace)
366
	wait(0.03)
367
	freeze(workspace)
368
	wait(0.03)
369
	freeze(workspace)
370
	wait(0.03)
371
	freeze(workspace)
372
	wait(0.03)
373
	freeze(workspace)
374
	wait(0.03)
375
	freeze(workspace)
376
	wait(0.03)
377
	freeze(workspace)
378
	wait(0.03)
379
	freeze(workspace)
380
	wait(0.03)
381
	freeze(workspace)
382
	wait(0.03)
383
	freeze(workspace)
384
	wait(0.03)
385
	freeze(workspace)
386
	wait(0.03)
387
	freeze(workspace)
388
	wait(0.03)
389
	freeze(workspace)
390
	wait(0.03)
391
	freeze(workspace)
392
	wait(0.03)
393
	freeze(workspace)
394
	wait(0.03)
395
	freeze(workspace)
396
	wait(0.03)
397
	freeze(workspace)
398
	wait(0.03)
399
	freeze(workspace)
400
	wait(0.03)
401
	freeze(workspace)
402
	wait(0.03)
403
	freeze(workspace)
404
	wait(0.03)
405
	freeze(workspace)
406
	wait(0.03)
407
	freeze(workspace)
408
	wait(0.03)
409
	freeze(workspace)
410
	wait(0.03)
411
	freeze(workspace)
412
	wait(0.03)
413
	freeze(workspace)
414
	wait(0.03)
415
	freeze(workspace)
416
	wait(0.03)
417
	freeze(workspace)
418
	wait(0.03)
419
	freeze(workspace)
420
	wait(0.03)
421
	freeze(workspace)
422
	wait(0.03)
423
	freeze(workspace)
424
	wait(0.03)
425
	freeze(workspace)
426
	wait(0.03)
427
	freeze(workspace)
428
	wait(0.03)
429
	freeze(workspace)
430
	wait(0.03)
431
	freeze(workspace)
432
	local texty = Instance.new("Message",game.Workspace)
433
	LimeResume:Play()
434
	texty.Text = "Tokiro Tomare (Time flows again...)"
435
	wait(2.429)
436
	Bandle.Transparency = 0
437
	texty:remove()
438
	unfreeze()
439
	wait(.1)
440
	freez = true
441
	else return end
442
	end)
443
444
tooth.Parent.Humanoid.Died:connect(function()
445
    unfreeze()
446
	script.Disabled = true
447
end)