1 | function armor(ms) |
2 | me = ms.Character |
3 | me2 = ms |
4 | pcall(function() me.Johnsen:remove() end) |
5 | mod = Instance.new("Model") |
6 | mod.Name = "Johnsen" |
7 | mod.Parent = me |
8 | |
9 | part = Instance.new("Part") |
10 | part.Parent = mod |
11 | part.Size = Vector3.new(1, 1, 1) |
12 | part.Position = Vector3.new(1, 1, 1) |
13 | part.BrickColor = BrickColor.new("Light orange") |
14 | part:BreakJoints() |
15 | mesh = Instance.new("SpecialMesh") |
16 | mesh.Parent = part |
17 | mesh.MeshType = "Sphere" |
18 | mesh.Scale = Vector3.new(0.5, 0.5, 0.5) |
19 | we = Instance.new("Weld") |
20 | we.Parent = mod |
21 | we.Part0 = part |
22 | we.Part1 = me.Torso |
23 | we.C0 = CFrame.fromEulerAnglesXYZ(0.15, 0, 0) + Vector3.new(0.15, 1.25, 0.75) |
24 | we.C1 = CFrame.new() |
25 | part = Instance.new("Part") |
26 | part.Parent = mod |
27 | part.Size = Vector3.new(1, 1, 1) |
28 | part.Position = Vector3.new(1, 1, 1) |
29 | part.BrickColor = BrickColor.new("Light orange") |
30 | part:BreakJoints() |
31 | mesh = Instance.new("SpecialMesh") |
32 | mesh.Parent = part |
33 | mesh.MeshType = "Sphere" |
34 | mesh.Scale = Vector3.new(0.5, 0.5, 0.5) |
35 | we = Instance.new("Weld") |
36 | we.Parent = mod |
37 | we.Part0 = part |
38 | we.Part1 = me.Torso |
39 | we.C0 = CFrame.fromEulerAnglesXYZ(0.15, 0, 0) + Vector3.new(-0.15, 1.25, 0.75) |
40 | we.C1 = CFrame.new() |
41 | part = Instance.new("Part") |
42 | part.Parent = mod |
43 | part.Size = Vector3.new(1, 3, 1) |
44 | part.Position = Vector3.new(1, 1, 1) |
45 | part.BrickColor = BrickColor.new("Light orange") |
46 | part:BreakJoints() |
47 | mesh3 = Instance.new("SpecialMesh") |
48 | mesh3.Parent = part |
49 | mesh3.MeshType = "Head" |
50 | mesh3.Scale = Vector3.new(0.5, 1, 0.5) |
51 | we3 = Instance.new("Weld") |
52 | we3.Parent = mod |
53 | we3.Part0 = part |
54 | we3.Part1 = me.Torso |
55 | we3.C0 = CFrame.fromEulerAnglesXYZ(1, 0, 0) + Vector3.new(0, -0.8, 1.25) |
56 | we3.C1 = CFrame.new() |
57 | |
58 | function cmds(msg) |
59 | if msg == "grow" then |
60 | for i = 0, 1, 0.1 do |
61 | mesh3.Scale = mesh3.Scale + Vector3.new(0, i, 0) |
62 | we3.C0 = we3.C0 - Vector3.new(0, i, 0) |
63 | wait() |
64 | end |
65 | end |
66 | if msg == "shrink" then |
67 | for i = 0, 1, 0.1 do |
68 | mesh3.Scale = mesh3.Scale - Vector3.new(0, i, 0) |
69 | we3.C0 = we3.C0 + Vector3.new(0, i+0.1, 0) |
70 | wait() |
71 | end |
72 | end |
73 | end |
74 | |
75 | me2.Chatted:connect(cmds) |
76 | |
77 | end |
78 | |
79 | for _, v in pairs(Game.Players:GetChildren()) do |
80 | armor(v) |
81 | end |