View difference between Paste ID: FUU35TkC and 07zCkKyn
SHOW: | | - or go back to the newest paste.
1
Tool = Instance.new("Tool")
2-
Tool.Name = "Gun"
2+
Tool.Name = "grow"
3-
Gun = Instance.new("Part")
3+
disc = Instance.new("Part")
4-
Gun.Name = "Handle"
4+
disc.Name = "Handle"
5-
Gun.Parent = Tool
5+
disc.Parent = Tool
6
Tool.Parent = owner.Character
7-
Gun.Size = Vector3.new(0.82325, 2.1545, 6.25)
7+
disc.Size = Vector3.new(0.35, 0.35, 0.35)
8-
Gun.Massless = true
8+
disc.BrickColor = BrickColor.new("Dove blue")
9-
Gun.CanCollide = true
9+
disc.Shape = Enum.PartType.Ball
10-
local Pow = Instance.new("Sound", owner.character.Head)
10+
disc.Material = "Neon"
11-
Pow.SoundId = "rbxassetid://5339941902"
11+
casing = Instance.new("Part")
12-
Pow.Volume = 1
12+
casing.Size = Vector3.new(0.15, 0.75, 0.75)
13
casing.BrickColor = BrickColor.new("Dark grey")
14
casing.Shape = Enum.PartType.Cylinder
15-
Mesh.Parent = Gun
15+
casing.Parent = disc
16-
Mesh.MeshId = "http://www.roblox.com/asset/?id=868963093"
16+
casing.CanCollide = false
17-
Mesh.TextureId = "http://www.roblox.com/asset/?id=868963099"
17+
disc.Transparency = 1
18-
Mesh.Scale = Vector3.new(0.01, 0.01, 0.01)
18+
print("Disk models by bannaboy43")
19
----------------base disk----------------------
20-
owner = nil
20+
casing.Size = Vector3.new( 0.027,0.727, 0.7214)
21-
local E = Instance.new("RemoteEvent",Tool.Parent)
21+
Basemesh = Instance.new("SpecialMesh", casing)
22-
local gunlocal = [[ 
22+
Basemesh.MeshId = "rbxassetid://7695869004"
23-
Tool = owner.Character:WaitForChild("Gun")
23+
Basemesh.Scale = Vector3.new(1,1,1)
24-
local E = Tool.Parent:FindFirstChildWhichIsA("RemoteEvent")
24+
Basemesh.TextureId = "rbxassetid://29564388"
25
Basemesh.VertexColor = Vector3.new(1.3,1.3,1.3)
26
casing.Material = Enum.Material.Metal
27-
        if Mouse.Target ~= nil then
27+
casing.Reflectance = .2
28
casing.Color = Color3.fromRGB(84, 81, 86)
29
----------------glass disk----------------------
30
Glass = Instance.new("Part", casing)
31
Glass.Transparency = .5
32-
        ]]
32+
Glass.Size = Vector3.new(0.073, 0.256, 0.256)
33
Glass.Color = Color3.fromRGB(91, 130, 255)--- RED(184, 65, 65)
34-
pcall(function()
34+
Glassmesh = Instance.new("SpecialMesh", Glass)
35
Glassmesh.Scale = Vector3.new(1,1,1)
36-
if game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent) ~= owner then
36+
Glass.Material = Enum.Material.Glass
37-
owner = game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent)
37+
Glassmesh.MeshType = Enum.MeshType.Sphere
38-
NLS(gunlocal,owner.PlayerGui)
38+
GlassWeld = Instance.new("Weld", Glass)
39
GlassWeld.Part0 = casing
40
GlassWeld.Part1 = Glass
41
--GlassWeld.C0 =  CFrame.Angles(math.rad(90),math.rad(0),0)
42
----------------neon disk----------------------
43
Core = Instance.new("Part", casing)
44
45
Core.Size = Vector3.new(0.035, 0.33, 0.333)
46
Core.Color = Color3.fromRGB(91, 130, 2555) --- RED( 255, 91, 91)
47
Coremesh = Instance.new("SpecialMesh", Core)
48
Coremesh.Scale = Vector3.new(1,1,1)
49-
Pow:Play()
49+
Core.Material = Enum.Material.Neon
50-
wait(0.65)
50+
Coremesh.MeshType = Enum.MeshType.Sphere
51
CoreWeld = Instance.new("Weld", Core)
52
CoreWeld.Part0 = Core
53
CoreWeld.Part1 = Glass
54
Weldlol3 = Instance.new("Weld")
55
Weldlol3.Parent = disc
56
Weldlol3.Part0 = disc
57-
if islunging then
57+
Weldlol3.Part1 = casing
58
Weldlol3.C1 = CFrame.Angles(0,0,math.rad(90))
59-
part:Destroy()
59+
Core.CanCollide = false
60
Glass.CanCollide = false
61
weight = Instance.new("Part", owner.Character)
62
weight.CanCollide = false
63
weight.Transparency = 1
64
weight.Size = Vector3.new(20,20,20)
65-
Tool.Grip = CFrame.Angles(0,math.rad(90),0)
65+
weight.CanTouch = false
66-
Tool.GripPos = Vector3.new(1,0,0)
66+
weight.CFrame = owner.Character.Torso.CFrame
67
owner.Character.Torso.Anchored = true
68
task.wait()
69
weightweld  = Instance.new("Weld")
70
weightweld.Parent = owner.Character.Torso
71
weightweld.Part0 = owner.Character.Torso
72
weightweld.Part1 = weight
73
weightweld.C1 = CFrame.new(0,50,0)
74
task.wait()
75
weight.Massless = true
76
owner.Character.Torso.Anchored = false
77
Tool.GripPos = Vector3.new(0,0,0.25)
78
islunging = false
79
toolout = false
80
notouch = false
81
local where
82
owner.Character.Humanoid:RemoveAccessories()
83
oldname = owner.Character.Humanoid.DisplayName
84
task.wait()
85
hat = Instance.new("Accessory")
86
helm = Instance.new("Part", hat)
87
helm.CanCollide = false
88
local attachment1 = Instance.new("Attachment")
89
attachment1.Parent = helm
90
attachment1.Name = "HatAttachment"
91
attachment1.CFrame = CFrame.new(0, 0.45, 0.1, 1, 0, 0, 0, 1, 0, 0, 0, 1)
92
Mesh = Instance.new("SpecialMesh")
93
Mesh.Parent = helm
94
Mesh.MeshId = "http://www.roblox.com/asset/?id=1915039857"
95
Mesh.TextureId = "http://www.roblox.com/asset/?id=1915052170"
96
Mesh.Scale = Vector3.new(2, 2, 2)
97
helm.Name = "Handle"
98
task.wait()
99
hat.Parent = owner.Character
100
    local function replaceClothes()
101
    	local character = owner.Character
102
    	if character then 
103
    		local shirt = character:FindFirstChildOfClass("Shirt")
104
    		local pants = character:FindFirstChildOfClass("Pants")
105
    		local tshirt = character:FindFirstChildOfClass("ShirtGraphic")
106
if tshirt then
107
tshirt:Destroy()
108
end
109
    		if not shirt then 
110
    			shirt = Instance.new("Shirt", character)
111
    		end 
112
    		if not pants then 
113
    			pants = Instance.new("Pants", character)
114
     		end
115
    		-- reset shirt / pants content ids
116
    		shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=555136926"
117
    		pants.PantsTemplate = "http://www.roblox.com/asset/?id=1995739662"
118
    	end
119
    end
120
task.wait()
121
replaceClothes()
122
Tool.Equipped:Connect(function()
123
toolout = true
124
task.wait()
125
end)
126
 
127
Tool.Unequipped:Connect(function()
128
toolout = false
129
end)
130
131
Tool.Activated:connect(function()
132
wait(0.25)
133
islunging = true
134
end)
135
function grow(part)
136
if part.Name ~= "Base" then
137
notouch = false
138
psize = 1
139
ogsize = part.Size
140
wait()
141
ring:Destroy()
142
islunging = false
143
wait()
144
where = nil
145
for growth = 1, 10 do
146
wait()
147
psize = psize + 0.1
148
task.wait()
149
part.Size = ogsize * psize
150
end
151
end
152
end
153
local isTouched = false
154
155
function thinghere(plr,action,part)
156
local s, f = pcall(function()
157
if toolout then
158
ring = disc:Clone()
159
   ring.Parent = workspace
160
    ring.CFrame = owner.Character.Head.CFrame * CFrame.new(0,-1,-3.5)
161
wait()
162
    local velocity = Instance.new("BodyVelocity", ring)
163
    velocity.Velocity = ring.CFrame.lookVector * 50
164
    velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
165
wait()
166
notouch = true
167
coroutine.wrap(function()
168
  while notouch do
169
task.wait()
170
where = part.Position
171
task.wait()
172
ring.CFrame = CFrame.lookAt(ring.Position, where)
173
velocity.Velocity = ring.CFrame.LookVector * 50
174
 end
175
end)()
176
wait(0.25)
177
while notouch do
178
wait(0.1)
179
ring.Touched:Connect(grow)
180
end
181
end
182
end)
183
end
184
185
186
local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
187
        local Mouse = owner:GetMouse()
188
        function ButtonDown()
189
        if Mouse.Hit ~= nil then
190
        E:FireServer("Down",Mouse.Target)
191
        end
192
        end
193
        Mouse.Button1Down:Connect(ButtonDown)
194
        ]],owner.PlayerGui))
195
E.OnServerEvent:Connect(thinghere)
196
197
Tool2 = Instance.new("Tool")
198
Tool2.Name = "shrink"
199
disc2 = Instance.new("Part")
200
disc2.Name = "Handle"
201
disc2.Parent = Tool2
202
Tool2.Parent = owner.Character
203
disc2.BrickColor = BrickColor.new("Bright red")
204
disc2.Size = Vector3.new(0.35, 0.35, 0.35)
205
disc2.Shape = Enum.PartType.Ball
206
disc2.Material = "Neon"
207
casing2 = Instance.new("Part")
208
casing2.Size = Vector3.new(0.15, 0.75, 0.75)
209
casing2.BrickColor = BrickColor.new("Dark grey")
210
casing2.Shape = Enum.PartType.Cylinder
211
casing2.Parent = disc2
212
casing2.CanCollide = false
213
----------------base disk----------------------
214
casing2.Size = Vector3.new( 0.027,0.727, 0.7214)
215
Basemesh2 = Instance.new("SpecialMesh", casing2)
216
Basemesh2.MeshId = "rbxassetid://7695869004"
217
Basemesh2.Scale = Vector3.new(1,1,1)
218
Basemesh2.TextureId = "rbxassetid://29564388"
219
Basemesh2.VertexColor = Vector3.new(1.3,1.3,1.3)
220
casing2.Material = Enum.Material.Metal
221
casing2.Reflectance = .2
222
casing2.Color = Color3.fromRGB(84, 81, 86)
223
----------------glass disk----------------------
224
Glass2 = Instance.new("Part", casing2)
225
Glass2.Transparency = .5
226
Glass2.Size = Vector3.new(0.073, 0.256, 0.256)
227
Glass2.Color = Color3.fromRGB(184, 65, 65)
228
Glassmesh2 = Instance.new("SpecialMesh", Glass2)
229
Glassmesh2.Scale = Vector3.new(1,1,1)
230
Glass2.Material = Enum.Material.Glass
231
Glassmesh2.MeshType = Enum.MeshType.Sphere
232
GlassWeld2 = Instance.new("Weld", Glass2)
233
GlassWeld2.Part0 = casing2
234
GlassWeld2.Part1 = Glass2
235
--GlassWeld2.C0 =  CFrame.Angles(math.rad(90),math.rad(0),0)
236
----------------neon disk----------------------
237
Core2 = Instance.new("Part", casing2)
238
239
Core2.Size = Vector3.new(0.035, 0.33, 0.333)
240
Core2.Color = Color3.fromRGB( 255, 91, 91)
241
Coremesh2 = Instance.new("SpecialMesh", Core2)
242
Coremesh2.Scale = Vector3.new(1,1,1)
243
Core2.Material = Enum.Material.Neon
244
Coremesh2.MeshType = Enum.MeshType.Sphere
245
CoreWeld2 = Instance.new("Weld", Core2)
246
CoreWeld2.Part0 = Core2
247
CoreWeld2.Part1 = Glass2
248
Weldlol4 = Instance.new("Weld")
249
Weldlol4.Parent = disc2
250
Weldlol4.Part0 = disc2
251
Weldlol4.Part1 = casing2
252
Weldlol4.C1 = CFrame.Angles(0,0,math.rad(90))
253
Core2.CanCollide = false
254
Glass2.CanCollide = false
255
task.wait()
256
Tool2.GripPos = Vector3.new(0,0,0.25)
257
islunging2 = false
258
toolout2 = false
259
notouch2 = false
260
disc2.Transparency = 1
261
local where2
262
Tool2.Equipped:Connect(function()
263
toolout2 = true
264
task.wait()
265
end)
266
 
267
Tool2.Unequipped:Connect(function()
268
toolout2 = false
269
end)
270
271
Tool2.Activated:connect(function()
272
wait(0.25)
273
islunging2 = true
274
end)
275
function grow2(part)
276
if part.Name ~= "Base" then
277
notouch2 = false
278
psize2 = 1
279
ogsize2 = part.Size
280
wait()
281
ring2:Destroy()
282
islunging2 = false
283
where2 = nil
284
wait()
285
for growth2 = 1, 5 do
286
wait()
287
psize2 = psize2 - 0.05
288
task.wait()
289
part.Size = ogsize2 * psize2
290
end
291
end
292
end
293
local isTouched2 = false
294
295
function thinghere2(plr,action,part)
296
local s, f = pcall(function()
297
if toolout2 then
298
ring2 = disc2:Clone()
299
   ring2.Parent = workspace
300
    ring2.CFrame = owner.Character.Head.CFrame * CFrame.new(0,-1,-3.5)
301
wait()
302
    local velocity2 = Instance.new("BodyVelocity", ring2)
303
    velocity2.Velocity = ring2.CFrame.lookVector * 50
304
    velocity2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
305
wait()
306
notouch2 = true
307
coroutine.wrap(function()
308
  while notouch2 do
309
task.wait()
310
where2 = part.Position
311
task.wait()
312
ring2.CFrame = CFrame.lookAt(ring2.Position, where2)
313
velocity2.Velocity = ring2.CFrame.LookVector * 50
314
 end
315
end)()
316
wait(0.25)
317
while notouch2 do
318
wait(0.1)
319
ring2.Touched:Connect(grow2)
320
end
321
end
322
end)
323
end
324
local E2 = Instance.new("RemoteEvent",NLS([[local E2 = script:FindFirstChildWhichIsA("RemoteEvent")
325
        local Mouse = owner:GetMouse()
326
        function ButtonDown2()
327
        if Mouse.Hit ~= nil then
328
        E2:FireServer("Down",Mouse.Target)
329
        end
330
        end
331
        Mouse.Button1Down:Connect(ButtonDown2)
332
        ]],owner.PlayerGui))
333
E2.OnServerEvent:Connect(thinghere2)
334
squish = 0
335
function growlol()
336
local Percent = 4
337
Player = owner
338
squish = squish + 1
339
		local Motors = {}
340
		table.insert(Motors, Player.Character.HumanoidRootPart.RootJoint)
341
		for i,Motor in pairs(Player.Character.Torso:GetChildren()) do
342
			if Motor:IsA("Motor6D") == false then continue end
343
			table.insert(Motors, Motor)
344
		end
345
		for i,v in pairs(Motors) do
346
			v.C0 = CFrame.new((v.C0.Position * Percent)) * (v.C0 - v.C0.Position)
347
			v.C1 = CFrame.new((v.C1.Position * Percent)) * (v.C1 - v.C1.Position)
348
		end
349
		
350
		
351
		for i,Part in pairs(Player.Character:GetChildren()) do
352
			if Part:IsA("BasePart") == false then continue end
353
			Part.Size = Part.Size * Percent
354
		end
355
		
356
		
357
		for i,Accessory in pairs(Player.Character:GetChildren()) do
358
			if Accessory:IsA("Accessory") == false then continue end
359
			
360
			Accessory.Handle.AccessoryWeld.C0 = CFrame.new((Accessory.Handle.AccessoryWeld.C0.Position * Percent)) * (Accessory.Handle.AccessoryWeld.C0 - Accessory.Handle.AccessoryWeld.C0.Position)
361
			Accessory.Handle.AccessoryWeld.C1 = CFrame.new((Accessory.Handle.AccessoryWeld.C1.Position * Percent)) * (Accessory.Handle.AccessoryWeld.C1 - Accessory.Handle.AccessoryWeld.C1.Position)
362
			Accessory.Handle:FindFirstChildOfClass("SpecialMesh").Scale *= Percent	
363
		end
364
owner.Character.Humanoid.WalkSpeed = 16
365
owner.Character.Humanoid.JumpPower = 50
366
owner.Character.Humanoid.DisplayName = oldname
367
weight.Massless = true
368
end
369
function shrinklol()
370
local Percent = 0.25
371
Player = owner
372
squish = squish - 1
373
		local Motors = {}
374
		table.insert(Motors, Player.Character.HumanoidRootPart.RootJoint)
375
		for i,Motor in pairs(Player.Character.Torso:GetChildren()) do
376
			if Motor:IsA("Motor6D") == false then continue end
377
			table.insert(Motors, Motor)
378
		end
379
		for i,v in pairs(Motors) do
380
			v.C0 = CFrame.new((v.C0.Position * Percent)) * (v.C0 - v.C0.Position)
381
			v.C1 = CFrame.new((v.C1.Position * Percent)) * (v.C1 - v.C1.Position)
382
		end
383
		
384
		
385
		for i,Part in pairs(Player.Character:GetChildren()) do
386
			if Part:IsA("BasePart") == false then continue end
387
			Part.Size = Part.Size * Percent
388
		end
389
		
390
		
391
		for i,Accessory in pairs(Player.Character:GetChildren()) do
392
			if Accessory:IsA("Accessory") == false then continue end
393
			
394
			Accessory.Handle.AccessoryWeld.C0 = CFrame.new((Accessory.Handle.AccessoryWeld.C0.Position * Percent)) * (Accessory.Handle.AccessoryWeld.C0 - Accessory.Handle.AccessoryWeld.C0.Position)
395
			Accessory.Handle.AccessoryWeld.C1 = CFrame.new((Accessory.Handle.AccessoryWeld.C1.Position * Percent)) * (Accessory.Handle.AccessoryWeld.C1 - Accessory.Handle.AccessoryWeld.C1.Position)
396
			Accessory.Handle:FindFirstChildOfClass("SpecialMesh").Scale *= Percent	
397
		end
398
task.wait()
399
for i,v in pairs(owner.Character:GetDescendants()) do
400
if v:IsA("BasePart") or v:IsA("MeshPart") then
401
local density = 1
402
local friction = 1
403
local elasticity = 0
404
local frictionWeight = 100000000
405
local elasticityWeight = 1
406
local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
407
v.CustomPhysicalProperties = physProperties
408
end
409
end
410
owner.Character.Humanoid.WalkSpeed = 75
411
owner.Character.Humanoid.JumpPower = 75
412
owner.Character.Humanoid.DisplayName = " "
413
weight.Massless = false
414
end
415
local E3 = Instance.new("RemoteEvent",NLS([[local E3 = script:FindFirstChildWhichIsA("RemoteEvent")
416
        local Mouse = owner:GetMouse()
417
        function ButtonDown(key)
418
        key = key:lower()
419
        if key == "e" then
420
        E3:FireServer("Down")
421
        end
422
        end
423
        Mouse.KeyDown:Connect(ButtonDown)
424
        ]],owner.PlayerGui))
425
E3.OnServerEvent:Connect(growlol)
426
427
local E4 = Instance.new("RemoteEvent",NLS([[local E4 = script:FindFirstChildWhichIsA("RemoteEvent")
428
        local Mouse = owner:GetMouse()
429
        function ButtonDown2(key)
430
        key = key:lower()
431
        if key == "q" then
432
        E4:FireServer("Down")
433
        end
434
        end
435
        Mouse.KeyDown:Connect(ButtonDown2)
436
        ]],owner.PlayerGui))
437
E4.OnServerEvent:Connect(shrinklol)
438
function squishlol(hit)
439
if squish >= 2 then
440
	local partParent = hit.Parent
441
	local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
442
	if humanoid ~= owner.Character.Humanoid and humanoid then
443
humanoid.PlatformStand = true
444
end
445
end
446
end
447
function squishlolstop(hit)
448
if squish <= 2 then
449
	local partParent = hit.Parent
450
	local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
451
	if humanoid ~= owner.Character.Humanoid and humanoid then
452
humanoid.PlatformStand = false
453
end
454
end
455
end
456
for i,v in pairs(owner.Character:GetDescendants()) do
457
        if v:IsA("BasePart") then
458
v.Touched:connect(squishlol)
459
v.TouchEnded:connect(squishlolstop)
460
end
461
end