SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | --Converted with ttyyuu12345's model to script plugin v4 | |
3 | function sandbox(var,func) | |
4 | local env = getfenv(func) | |
5 | local newenv = setmetatable({},{ | |
6 | __index = function(self,k) | |
7 | if k=="script" then | |
8 | return var | |
9 | else | |
10 | return env[k] | |
11 | end | |
12 | end, | |
13 | }) | |
14 | setfenv(func,newenv) | |
15 | return func | |
16 | end | |
17 | cors = {} | |
18 | mas = Instance.new("Model",game:GetService("Lighting")) | |
19 | - | Model0 = Instance.new("Model") |
19 | + | Tool0 = Instance.new("Tool") |
20 | - | Script1 = Instance.new("Script") |
20 | + | Part1 = Instance.new("Part") |
21 | - | Sound2 = Instance.new("Sound") |
21 | + | CylinderMesh2 = Instance.new("CylinderMesh") |
22 | - | MeshPart3 = Instance.new("MeshPart") |
22 | + | Sound3 = Instance.new("Sound") |
23 | - | Vector3Value4 = Instance.new("Vector3Value") |
23 | + | Sound4 = Instance.new("Sound") |
24 | - | Script5 = Instance.new("Script") |
24 | + | Weld5 = Instance.new("Weld") |
25 | - | Script6 = Instance.new("Script") |
25 | + | Weld6 = Instance.new("Weld") |
26 | - | Script7 = Instance.new("Script") |
26 | + | Weld7 = Instance.new("Weld") |
27 | - | Motor6D8 = Instance.new("Motor6D") |
27 | + | Weld8 = Instance.new("Weld") |
28 | - | MeshPart9 = Instance.new("MeshPart") |
28 | + | Weld9 = Instance.new("Weld") |
29 | - | Vector3Value10 = Instance.new("Vector3Value") |
29 | + | Weld10 = Instance.new("Weld") |
30 | - | Script11 = Instance.new("Script") |
30 | + | Weld11 = Instance.new("Weld") |
31 | - | Script12 = Instance.new("Script") |
31 | + | Weld12 = Instance.new("Weld") |
32 | - | Motor6D13 = Instance.new("Motor6D") |
32 | + | Weld13 = Instance.new("Weld") |
33 | - | MeshPart14 = Instance.new("MeshPart") |
33 | + | Weld14 = Instance.new("Weld") |
34 | - | Vector3Value15 = Instance.new("Vector3Value") |
34 | + | Weld15 = Instance.new("Weld") |
35 | - | Motor6D16 = Instance.new("Motor6D") |
35 | + | Weld16 = Instance.new("Weld") |
36 | - | MeshPart17 = Instance.new("MeshPart") |
36 | + | Weld17 = Instance.new("Weld") |
37 | - | Vector3Value18 = Instance.new("Vector3Value") |
37 | + | Weld18 = Instance.new("Weld") |
38 | - | Motor6D19 = Instance.new("Motor6D") |
38 | + | Weld19 = Instance.new("Weld") |
39 | - | MeshPart20 = Instance.new("MeshPart") |
39 | + | Weld20 = Instance.new("Weld") |
40 | - | Vector3Value21 = Instance.new("Vector3Value") |
40 | + | Weld21 = Instance.new("Weld") |
41 | - | Motor6D22 = Instance.new("Motor6D") |
41 | + | Weld22 = Instance.new("Weld") |
42 | - | MeshPart23 = Instance.new("MeshPart") |
42 | + | Weld23 = Instance.new("Weld") |
43 | - | Vector3Value24 = Instance.new("Vector3Value") |
43 | + | Weld24 = Instance.new("Weld") |
44 | - | Script25 = Instance.new("Script") |
44 | + | Weld25 = Instance.new("Weld") |
45 | - | Script26 = Instance.new("Script") |
45 | + | Weld26 = Instance.new("Weld") |
46 | - | Motor6D27 = Instance.new("Motor6D") |
46 | + | Weld27 = Instance.new("Weld") |
47 | - | Script28 = Instance.new("Script") |
47 | + | Weld28 = Instance.new("Weld") |
48 | - | MeshPart29 = Instance.new("MeshPart") |
48 | + | Weld29 = Instance.new("Weld") |
49 | - | Vector3Value30 = Instance.new("Vector3Value") |
49 | + | Weld30 = Instance.new("Weld") |
50 | - | Script31 = Instance.new("Script") |
50 | + | Weld31 = Instance.new("Weld") |
51 | - | Script32 = Instance.new("Script") |
51 | + | Weld32 = Instance.new("Weld") |
52 | - | Script33 = Instance.new("Script") |
52 | + | Part33 = Instance.new("Part") |
53 | - | Motor6D34 = Instance.new("Motor6D") |
53 | + | CylinderMesh34 = Instance.new("CylinderMesh") |
54 | - | MeshPart35 = Instance.new("MeshPart") |
54 | + | Part35 = Instance.new("Part") |
55 | - | Vector3Value36 = Instance.new("Vector3Value") |
55 | + | SpecialMesh36 = Instance.new("SpecialMesh") |
56 | - | Script37 = Instance.new("Script") |
56 | + | Part37 = Instance.new("Part") |
57 | - | Script38 = Instance.new("Script") |
57 | + | CylinderMesh38 = Instance.new("CylinderMesh") |
58 | - | Script39 = Instance.new("Script") |
58 | + | Part39 = Instance.new("Part") |
59 | - | Motor6D40 = Instance.new("Motor6D") |
59 | + | SpecialMesh40 = Instance.new("SpecialMesh") |
60 | - | MeshPart41 = Instance.new("MeshPart") |
60 | + | LocalScript41 = Instance.new("LocalScript") |
61 | - | Vector3Value42 = Instance.new("Vector3Value") |
61 | + | Script42 = Instance.new("Script") |
62 | - | Script43 = Instance.new("Script") |
62 | + | Part43 = Instance.new("Part") |
63 | - | Script44 = Instance.new("Script") |
63 | + | CylinderMesh44 = Instance.new("CylinderMesh") |
64 | - | Motor6D45 = Instance.new("Motor6D") |
64 | + | Part45 = Instance.new("Part") |
65 | - | MeshPart46 = Instance.new("MeshPart") |
65 | + | CylinderMesh46 = Instance.new("CylinderMesh") |
66 | - | Vector3Value47 = Instance.new("Vector3Value") |
66 | + | Part47 = Instance.new("Part") |
67 | - | Motor6D48 = Instance.new("Motor6D") |
67 | + | SpecialMesh48 = Instance.new("SpecialMesh") |
68 | - | MeshPart49 = Instance.new("MeshPart") |
68 | + | LocalScript49 = Instance.new("LocalScript") |
69 | - | Vector3Value50 = Instance.new("Vector3Value") |
69 | + | ImageLabel50 = Instance.new("ImageLabel") |
70 | - | Motor6D51 = Instance.new("Motor6D") |
70 | + | Script51 = Instance.new("Script") |
71 | - | MeshPart52 = Instance.new("MeshPart") |
71 | + | LocalScript52 = Instance.new("LocalScript") |
72 | - | Vector3Value53 = Instance.new("Vector3Value") |
72 | + | Script53 = Instance.new("Script") |
73 | - | Motor6D54 = Instance.new("Motor6D") |
73 | + | LocalScript54 = Instance.new("LocalScript") |
74 | - | IntValue55 = Instance.new("IntValue") |
74 | + | ImageLabel55 = Instance.new("ImageLabel") |
75 | - | Humanoid56 = Instance.new("Humanoid") |
75 | + | Script56 = Instance.new("Script") |
76 | - | MeshPart57 = Instance.new("MeshPart") |
76 | + | Script57 = Instance.new("Script") |
77 | - | Vector3Value58 = Instance.new("Vector3Value") |
77 | + | ObjectValue58 = Instance.new("ObjectValue") |
78 | - | Script59 = Instance.new("Script") |
78 | + | StringValue59 = Instance.new("StringValue") |
79 | - | Script60 = Instance.new("Script") |
79 | + | IntValue60 = Instance.new("IntValue") |
80 | - | Script61 = Instance.new("Script") |
80 | + | BoolValue61 = Instance.new("BoolValue") |
81 | - | Motor6D62 = Instance.new("Motor6D") |
81 | + | LocalScript62 = Instance.new("LocalScript") |
82 | - | Script63 = Instance.new("Script") |
82 | + | IntValue63 = Instance.new("IntValue") |
83 | - | Part64 = Instance.new("Part") |
83 | + | Script64 = Instance.new("Script") |
84 | - | Vector3Value65 = Instance.new("Vector3Value") |
84 | + | ImageLabel65 = Instance.new("ImageLabel") |
85 | Script66 = Instance.new("Script") | |
86 | - | Script67 = Instance.new("Script") |
86 | + | Tool0.Name = "Sandman" |
87 | - | Part68 = Instance.new("Part") |
87 | + | Tool0.Parent = mas |
88 | - | Script69 = Instance.new("Script") |
88 | + | Part1.Name = "Handle" |
89 | - | ScreenGui70 = Instance.new("ScreenGui") |
89 | + | Part1.Parent = Tool0 |
90 | - | Frame71 = Instance.new("Frame") |
90 | + | Part1.CFrame = CFrame.new(-50.5, 1.00001502, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
91 | - | ImageLabel72 = Instance.new("ImageLabel") |
91 | + | Part1.Position = Vector3.new(-50.5, 1.00001502, -2.5) |
92 | - | Sound73 = Instance.new("Sound") |
92 | + | Part1.Color = Color3.new(0.94902, 0.952941, 0.952941) |
93 | - | Script74 = Instance.new("Script") |
93 | + | Part1.Velocity = Vector3.new(0.000232526116, 220.766525, -3.64233565) |
94 | - | Part75 = Instance.new("Part") |
94 | + | Part1.Size = Vector3.new(1, 2, 1) |
95 | - | Vector3Value76 = Instance.new("Vector3Value") |
95 | + | Part1.BrickColor = BrickColor.new("White") |
96 | - | Script77 = Instance.new("Script") |
96 | + | Part1.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) |
97 | - | Script78 = Instance.new("Script") |
97 | + | Part1.brickColor = BrickColor.new("White") |
98 | - | SpecialMesh79 = Instance.new("SpecialMesh") |
98 | + | Part1.FormFactor = Enum.FormFactor.Symmetric |
99 | - | Motor6D80 = Instance.new("Motor6D") |
99 | + | Part1.formFactor = Enum.FormFactor.Symmetric |
100 | - | Script81 = Instance.new("Script") |
100 | + | CylinderMesh2.Parent = Part1 |
101 | - | Script82 = Instance.new("Script") |
101 | + | CylinderMesh2.Scale = Vector3.new(0.283499986, 0.810000002, 0.283499986) |
102 | - | Script83 = Instance.new("Script") |
102 | + | Sound3.Name = "Swing" |
103 | - | StringValue84 = Instance.new("StringValue") |
103 | + | Sound3.Parent = Part1 |
104 | - | Animation85 = Instance.new("Animation") |
104 | + | Sound3.Pitch = 1.1000000238419 |
105 | - | StringValue86 = Instance.new("StringValue") |
105 | + | Sound3.PlaybackSpeed = 1.1000000238419 |
106 | - | Animation87 = Instance.new("Animation") |
106 | + | Sound3.SoundId = "http://roblox.com/asset/?id=10209640" |
107 | - | StringValue88 = Instance.new("StringValue") |
107 | + | Sound3.Volume = 1 |
108 | - | Animation89 = Instance.new("Animation") |
108 | + | Sound4.Name = "Whack_Human" |
109 | - | NumberValue90 = Instance.new("NumberValue") |
109 | + | Sound4.Parent = Part1 |
110 | - | Animation91 = Instance.new("Animation") |
110 | + | Sound4.Pitch = 1.5 |
111 | - | NumberValue92 = Instance.new("NumberValue") |
111 | + | Sound4.PlaybackSpeed = 1.5 |
112 | - | Animation93 = Instance.new("Animation") |
112 | + | Sound4.SoundId = "http://roblox.com/asset/?id=10209908" |
113 | - | NumberValue94 = Instance.new("NumberValue") |
113 | + | Sound4.Volume = 1 |
114 | - | StringValue95 = Instance.new("StringValue") |
114 | + | Weld5.Parent = Part1 |
115 | - | Animation96 = Instance.new("Animation") |
115 | + | Weld5.C0 = CFrame.new(0, -0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
116 | - | NumberValue97 = Instance.new("NumberValue") |
116 | + | Weld6.Parent = Part1 |
117 | - | Animation98 = Instance.new("Animation") |
117 | + | Weld6.C0 = CFrame.new(0, 0.800000012, 0, 1, -0, 0, 0, -1, 0, -0, 0, -1) |
118 | - | NumberValue99 = Instance.new("NumberValue") |
118 | + | Weld7.Parent = Part1 |
119 | - | Animation100 = Instance.new("Animation") |
119 | + | Weld7.C0 = CFrame.new(0, 2.4000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
120 | - | NumberValue101 = Instance.new("NumberValue") |
120 | + | Weld8.Parent = Part1 |
121 | - | StringValue102 = Instance.new("StringValue") |
121 | + | Weld8.C0 = CFrame.new(0, 3.68000007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
122 | - | Animation103 = Instance.new("Animation") |
122 | + | Weld9.Parent = Part1 |
123 | - | NumberValue104 = Instance.new("NumberValue") |
123 | + | Weld9.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
124 | - | Animation105 = Instance.new("Animation") |
124 | + | Weld10.Parent = Part1 |
125 | - | NumberValue106 = Instance.new("NumberValue") |
125 | + | Weld10.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
126 | - | Animation107 = Instance.new("Animation") |
126 | + | Weld11.Parent = Part1 |
127 | - | NumberValue108 = Instance.new("NumberValue") |
127 | + | Weld11.C0 = CFrame.new(0, 3.5999999, -0.574999988, 1, -0, 0, 0, 1.04904175e-05, 0.99999994, -0, -0.99999994, 1.04904175e-05) |
128 | - | StringValue109 = Instance.new("StringValue") |
128 | + | Weld12.Parent = Part1 |
129 | - | Animation110 = Instance.new("Animation") |
129 | + | Weld12.C0 = CFrame.new(0, -0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
130 | - | StringValue111 = Instance.new("StringValue") |
130 | + | Weld13.Parent = Part1 |
131 | - | Animation112 = Instance.new("Animation") |
131 | + | Weld13.C0 = CFrame.new(0, 0.800000012, 0, 1, -0, 0, 0, -1, 0, -0, 0, -1) |
132 | - | NumberValue113 = Instance.new("NumberValue") |
132 | + | Weld14.Parent = Part1 |
133 | - | Animation114 = Instance.new("Animation") |
133 | + | Weld14.C0 = CFrame.new(0, 2.4000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
134 | - | NumberValue115 = Instance.new("NumberValue") |
134 | + | Weld15.Parent = Part1 |
135 | - | StringValue116 = Instance.new("StringValue") |
135 | + | Weld15.C0 = CFrame.new(0, 3.68000007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
136 | - | Animation117 = Instance.new("Animation") |
136 | + | Weld16.Parent = Part1 |
137 | - | StringValue118 = Instance.new("StringValue") |
137 | + | Weld16.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
138 | - | Animation119 = Instance.new("Animation") |
138 | + | Weld17.Parent = Part1 |
139 | - | StringValue120 = Instance.new("StringValue") |
139 | + | Weld17.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
140 | - | Animation121 = Instance.new("Animation") |
140 | + | Weld18.Parent = Part1 |
141 | - | StringValue122 = Instance.new("StringValue") |
141 | + | Weld18.C0 = CFrame.new(0, 3.5999999, -0.574999988, 1, -0, 0, 0, 1.04904175e-05, 0.99999994, -0, -0.99999994, 1.04904175e-05) |
142 | - | Animation123 = Instance.new("Animation") |
142 | + | Weld19.Parent = Part1 |
143 | - | StringValue124 = Instance.new("StringValue") |
143 | + | Weld19.C0 = CFrame.new(0, -0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
144 | - | Animation125 = Instance.new("Animation") |
144 | + | Weld19.Part0 = Part1 |
145 | - | StringValue126 = Instance.new("StringValue") |
145 | + | Weld19.Part1 = Part33 |
146 | - | Animation127 = Instance.new("Animation") |
146 | + | Weld19.part1 = Part33 |
147 | - | StringValue128 = Instance.new("StringValue") |
147 | + | Weld20.Parent = Part1 |
148 | - | Animation129 = Instance.new("Animation") |
148 | + | Weld20.C0 = CFrame.new(0, 0.800000012, 0, 1, -0, 0, 0, -1, 0, -0, 0, -1) |
149 | - | StringValue130 = Instance.new("StringValue") |
149 | + | Weld20.Part0 = Part1 |
150 | - | Animation131 = Instance.new("Animation") |
150 | + | Weld20.Part1 = Part35 |
151 | - | StringValue132 = Instance.new("StringValue") |
151 | + | Weld20.part1 = Part35 |
152 | - | Animation133 = Instance.new("Animation") |
152 | + | Weld21.Parent = Part1 |
153 | - | StringValue134 = Instance.new("StringValue") |
153 | + | Weld21.C0 = CFrame.new(0, 2.4000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
154 | - | Animation135 = Instance.new("Animation") |
154 | + | Weld21.Part0 = Part1 |
155 | - | StringValue136 = Instance.new("StringValue") |
155 | + | Weld21.Part1 = Part37 |
156 | - | Animation137 = Instance.new("Animation") |
156 | + | Weld21.part1 = Part37 |
157 | - | StringValue138 = Instance.new("StringValue") |
157 | + | Weld22.Parent = Part1 |
158 | - | Animation139 = Instance.new("Animation") |
158 | + | Weld22.C0 = CFrame.new(0, 3.68000007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
159 | - | Script140 = Instance.new("Script") |
159 | + | Weld22.Part0 = Part1 |
160 | - | Script141 = Instance.new("Script") |
160 | + | Weld22.Part1 = Part39 |
161 | - | Script142 = Instance.new("Script") |
161 | + | Weld22.part1 = Part39 |
162 | - | LocalScript143 = Instance.new("LocalScript") |
162 | + | Weld23.Parent = Part1 |
163 | - | Script144 = Instance.new("Script") |
163 | + | Weld23.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
164 | - | ObjectValue145 = Instance.new("ObjectValue") |
164 | + | Weld23.Part0 = Part1 |
165 | - | MeshPart146 = Instance.new("MeshPart") |
165 | + | Weld23.Part1 = Part43 |
166 | - | Vector3Value147 = Instance.new("Vector3Value") |
166 | + | Weld23.part1 = Part43 |
167 | - | Script148 = Instance.new("Script") |
167 | + | Weld24.Parent = Part1 |
168 | - | Script149 = Instance.new("Script") |
168 | + | Weld24.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
169 | - | Script150 = Instance.new("Script") |
169 | + | Weld24.Part0 = Part1 |
170 | - | Motor6D151 = Instance.new("Motor6D") |
170 | + | Weld24.Part1 = Part45 |
171 | - | Model0.Name = " " |
171 | + | Weld24.part1 = Part45 |
172 | - | Model0.Parent = mas |
172 | + | Weld25.Parent = Part1 |
173 | - | Script1.Name = "MusicScript" |
173 | + | Weld25.C0 = CFrame.new(0, 3.5999999, -0.574999988, 1, -0, 0, 0, 1.04904175e-05, 0.99999994, -0, -0.99999994, 1.04904175e-05) |
174 | - | Script1.Parent = Model0 |
174 | + | Weld25.Part0 = Part1 |
175 | - | table.insert(cors,sandbox(Script1,function() |
175 | + | Weld25.Part1 = Part47 |
176 | - | --Made by Stickmasterluke |
176 | + | Weld25.part1 = Part47 |
177 | - | gw=game.Workspace |
177 | + | Weld26.Parent = Part1 |
178 | Weld26.C0 = CFrame.new(0, -0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
179 | - | function message(text,time) |
179 | + | Weld26.Part0 = Part1 |
180 | - | local oldmsg=gw:FindFirstChild("Hint") |
180 | + | Weld26.Part1 = Part33 |
181 | - | if oldmsg then |
181 | + | Weld26.part1 = Part33 |
182 | - | oldmsg.Parent=nil |
182 | + | Weld27.Parent = Part1 |
183 | Weld27.C0 = CFrame.new(0, 0.800000012, 0, 1, -0, 0, 0, -1, 0, -0, 0, -1) | |
184 | - | local spacenumber=time*0 |
184 | + | Weld27.Part0 = Part1 |
185 | - | local msg=Instance.new("Hint") |
185 | + | Weld27.Part1 = Part35 |
186 | - | msg.Parent=gw |
186 | + | Weld27.part1 = Part35 |
187 | - | --[[for i=1, spacenumber do |
187 | + | Weld28.Parent = Part1 |
188 | - | wait(1/25) |
188 | + | Weld28.C0 = CFrame.new(0, 2.4000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
189 | - | local maketext="" |
189 | + | Weld28.Part0 = Part1 |
190 | - | for i2=1, i do |
190 | + | Weld28.Part1 = Part37 |
191 | - | maketext=maketext.." " |
191 | + | Weld28.part1 = Part37 |
192 | Weld29.Parent = Part1 | |
193 | - | maketext=maketext..text |
193 | + | Weld29.C0 = CFrame.new(0, 3.68000007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
194 | - | for i2=1, spacenumber-i do |
194 | + | Weld29.Part0 = Part1 |
195 | - | maketext=maketext.." " |
195 | + | Weld29.Part1 = Part39 |
196 | Weld29.part1 = Part39 | |
197 | - | msg.Text=maketext |
197 | + | Weld30.Parent = Part1 |
198 | - | end]] |
198 | + | Weld30.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
199 | - | msg.Text=text |
199 | + | Weld30.Part0 = Part1 |
200 | - | wait(0) |
200 | + | Weld30.Part1 = Part43 |
201 | - | msg.Parent=nil |
201 | + | Weld30.part1 = Part43 |
202 | Weld31.Parent = Part1 | |
203 | Weld31.C0 = CFrame.new(0, 4.5999999, 0, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) | |
204 | - | last="" |
204 | + | Weld31.Part0 = Part1 |
205 | - | lastlast="" |
205 | + | Weld31.Part1 = Part45 |
206 | Weld31.part1 = Part45 | |
207 | - | wait(0) |
207 | + | Weld32.Parent = Part1 |
208 | - | local tracks=script:GetChildren() |
208 | + | Weld32.C0 = CFrame.new(0, 3.5999999, -0.574999988, 1, -0, 0, 0, 1.04904175e-05, 0.99999994, -0, -0.99999994, 1.04904175e-05) |
209 | - | local rn=math.random(1,#tracks) |
209 | + | Weld32.Part0 = Part1 |
210 | - | local track=tracks[rn] |
210 | + | Weld32.Part1 = Part47 |
211 | - | if track~=nil then |
211 | + | Weld32.part1 = Part47 |
212 | - | if track.className=="Sound" and track.Name~=last and track.Name~=lastlast then |
212 | + | Part33.Name = "Handle2" |
213 | - | lastlast=last |
213 | + | Part33.Parent = Tool0 |
214 | - | last=track.Name |
214 | + | Part33.CFrame = CFrame.new(-50.5, 0.20002, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
215 | - | message(track.Name,50) |
215 | + | Part33.Position = Vector3.new(-50.5, 0.20002, -2.5) |
216 | - | track:play() |
216 | + | Part33.Color = Color3.new(0.384314, 0.278431, 0.196078) |
217 | - | wait(10000000000000000000000000) |
217 | + | Part33.Velocity = Vector3.new(0.000294779136, 220.766525, -2.5248847) |
218 | - | track:pause() |
218 | + | Part33.Size = Vector3.new(1, 0.400000006, 1) |
219 | Part33.BrickColor = BrickColor.new("Earth orange") | |
220 | Part33.CanCollide = false | |
221 | Part33.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) | |
222 | Part33.brickColor = BrickColor.new("Earth orange") | |
223 | Part33.FormFactor = Enum.FormFactor.Plate | |
224 | - | Sound2.Name = "Shrek Anthem" |
224 | + | Part33.formFactor = Enum.FormFactor.Plate |
225 | - | Sound2.Parent = Script1 |
225 | + | CylinderMesh34.Parent = Part33 |
226 | - | Sound2.Looped = true |
226 | + | CylinderMesh34.Scale = Vector3.new(0.486000031, 0.405000001, 0.486000031) |
227 | - | Sound2.SoundId = "rbxassetid://869166432" |
227 | + | Part35.Name = "Handle3" |
228 | - | Sound2.Volume = 10 |
228 | + | Part35.Parent = Tool0 |
229 | - | MeshPart3.Name = "LeftHand" |
229 | + | Part35.CFrame = CFrame.new(-50.5, 1.80001497, -2.5, 1, 0, 0, 0, -1, 0, 0, 0, -1) |
230 | - | MeshPart3.Parent = Model0 |
230 | + | Part35.Orientation = Vector3.new(0, 180, 180) |
231 | - | MeshPart3.CFrame = CFrame.new(-44.8896103, 14.6752701, 32.3903465, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
231 | + | Part35.Position = Vector3.new(-50.5, 1.80001497, -2.5) |
232 | - | MeshPart3.Orientation = Vector3.new(0, -89.9599991, 0) |
232 | + | Part35.Rotation = Vector3.new(-180, 0, 0) |
233 | - | MeshPart3.Position = Vector3.new(-44.8896103, 14.6752701, 32.3903465) |
233 | + | Part35.Color = Color3.new(0.384314, 0.278431, 0.196078) |
234 | - | MeshPart3.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
234 | + | Part35.Velocity = Vector3.new(0.000170273037, 220.766525, -4.75978756) |
235 | - | MeshPart3.Color = Color3.new(0.960784, 0.803922, 0.188235) |
235 | + | Part35.Size = Vector3.new(1, 0.400000006, 1) |
236 | - | MeshPart3.Size = Vector3.new(6.76771307, 2.27050734, 6.77447462) |
236 | + | Part35.BottomSurface = Enum.SurfaceType.Weld |
237 | - | MeshPart3.BrickColor = BrickColor.new("Bright yellow") |
237 | + | Part35.BrickColor = BrickColor.new("Earth orange") |
238 | - | MeshPart3.CanCollide = false |
238 | + | Part35.CanCollide = false |
239 | - | MeshPart3.brickColor = BrickColor.new("Bright yellow") |
239 | + | Part35.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) |
240 | - | Vector3Value4.Name = "OriginalSize" |
240 | + | Part35.brickColor = BrickColor.new("Earth orange") |
241 | - | Vector3Value4.Parent = MeshPart3 |
241 | + | Part35.FormFactor = Enum.FormFactor.Plate |
242 | - | Vector3Value4.Value = Vector3.new(0.999299049, 0.335255831, 1.00029743) |
242 | + | Part35.formFactor = Enum.FormFactor.Plate |
243 | - | Script5.Name = "ShieldScript" |
243 | + | SpecialMesh36.Parent = Part35 |
244 | - | Script5.Parent = MeshPart3 |
244 | + | SpecialMesh36.MeshId = "http://www.roblox.com/asset/?id=1033714" |
245 | - | table.insert(cors,sandbox(Script5,function() |
245 | + | SpecialMesh36.Scale = Vector3.new(0.324000001, 0.810000002, 0.324000001) |
246 | - | function ot(hit) |
246 | + | SpecialMesh36.MeshType = Enum.MeshType.FileMesh |
247 | - | ch = hit:GetChildren() |
247 | + | Part37.Name = "Handle4" |
248 | - | for i = 1, #ch do |
248 | + | Part37.Parent = Tool0 |
249 | - | if ch[i].className == "BodyVelocity" then |
249 | + | Part37.CFrame = CFrame.new(-50.5, 3.40001512, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
250 | - | ch[i].velocity = ch[i].velocity*-1 |
250 | + | Part37.Position = Vector3.new(-50.5, 3.40001512, -2.5) |
251 | Part37.Color = Color3.new(0.384314, 0.278431, 0.196078) | |
252 | Part37.Velocity = Vector3.new(4.57668211e-05, 220.766525, -6.99469185) | |
253 | - | if hit.Parent ~= nil then |
253 | + | Part37.Size = Vector3.new(1, 3, 1) |
254 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
254 | + | Part37.BrickColor = BrickColor.new("Earth orange") |
255 | - | if hit.Parent ~= script.Parent.Parent then |
255 | + | Part37.CanCollide = false |
256 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
256 | + | Part37.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) |
257 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
257 | + | Part37.brickColor = BrickColor.new("Earth orange") |
258 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
258 | + | Part37.FormFactor = Enum.FormFactor.Symmetric |
259 | Part37.formFactor = Enum.FormFactor.Symmetric | |
260 | - | hit.Parent.Humanoid.PlatformStand = true |
260 | + | CylinderMesh38.Parent = Part37 |
261 | CylinderMesh38.Scale = Vector3.new(0.635850072, 0.8829, 0.635850072) | |
262 | Part39.Name = "Handle5" | |
263 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
263 | + | Part39.Parent = Tool0 |
264 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
264 | + | Part39.CFrame = CFrame.new(-50.5, 4.68001509, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
265 | - | hit:breakJoints() |
265 | + | Part39.Position = Vector3.new(-50.5, 4.68001509, -2.5) |
266 | - | if hit.Anchored == false then |
266 | + | Part39.Color = Color3.new(0.384314, 0.278431, 0.196078) |
267 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
267 | + | Part39.Velocity = Vector3.new(-5.38381137e-05, 220.766525, -8.78261471) |
268 | Part39.Size = Vector3.new(1, 0.400000006, 1) | |
269 | Part39.BrickColor = BrickColor.new("Earth orange") | |
270 | Part39.CanCollide = false | |
271 | - | hit:breakJoints() |
271 | + | Part39.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) |
272 | - | if hit.Anchored == false then |
272 | + | Part39.brickColor = BrickColor.new("Earth orange") |
273 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
273 | + | Part39.FormFactor = Enum.FormFactor.Plate |
274 | Part39.formFactor = Enum.FormFactor.Plate | |
275 | SpecialMesh40.Parent = Part39 | |
276 | SpecialMesh40.Scale = Vector3.new(0.648000002, 0.810000002, 0.648000002) | |
277 | LocalScript41.Name = "TurnScript" | |
278 | - | if hit.Parent ~= nil then |
278 | + | LocalScript41.Parent = Tool0 |
279 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
279 | + | table.insert(cors,sandbox(LocalScript41,function() |
280 | - | if hit.Parent ~= script.Parent.Parent then |
280 | + | wait() |
281 | - | wait(0.5) |
281 | + | Tool=script.Parent |
282 | - | hit.Parent.Humanoid.PlatformStand = false |
282 | + | CP,Torso,g=nil,nil,nil |
283 | necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
284 | getPos=function(Pos,TorsoPos) | |
285 | return Vector3.new(Pos.x,TorsoPos.y,Pos.z) | |
286 | end | |
287 | - | function remove(child) |
287 | + | Turn=function(mouse,Torso,Gyro) |
288 | - | child:Remove() |
288 | + | g.cframe=CFrame.new(Torso.Position,getPos(mouse.Hit.p,Torso.Position)) |
289 | offset=(Torso.Position.y-mouse.Hit.p.y)/100 | |
290 | - | script.Parent.Touched:connect(ot) |
290 | + | mag=(Torso.Position-mouse.Hit.p).magnitude/80 |
291 | - | script.Parent.ChildAdded:connect(remove) |
291 | + | offset=offset/mag |
292 | neck=Torso.Neck | |
293 | - | Script6.Name = "Hurting" |
293 | + | neck.C0=necko*CFrame.fromEulerAnglesXYZ(offset,0,0) |
294 | - | Script6.Parent = MeshPart3 |
294 | + | arm=Torso:FindFirstChild("Right Shoulder") |
295 | - | table.insert(cors,sandbox(Script6,function() |
295 | + | if arm~=nil then |
296 | - | function onTouched(hit) |
296 | + | --arm.C0=CFrame.new(1, 0.5, 0, 0, 0, 1, -6.48200512e-007, 1.00000274, 0, -1.00000274, -6.48200512e-007, 0)*CFrame.fromEulerAnglesXYZ(0,0,-offset) |
297 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
297 | + | |
298 | - | if (humanoid ~= nil) then |
298 | + | |
299 | - | humanoid.Health = humanoid.Health - 25 |
299 | + | Equi=function(mouse) |
300 | wait(.2) | |
301 | CP=Tool.Parent | |
302 | Torso=CP.Torso | |
303 | - | script.Parent.Touched:connect(onTouched) |
303 | + | g=Instance.new("BodyGyro") |
304 | g.P=18000 | |
305 | - | Script7.Name = "qPerfectionWeld" |
305 | + | g.D=600 |
306 | - | Script7.Parent = MeshPart3 |
306 | + | g.maxTorque=Vector3.new(80000,80000000,80000)*50000000000000000000000000 |
307 | - | table.insert(cors,sandbox(Script7,function() |
307 | + | g.cframe=Torso.CFrame |
308 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
308 | + | --g.Parent=Torso |
309 | - | -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera. |
309 | + | |
310 | - | -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them. |
310 | + | if Tool.Parent.className~="Model" then |
311 | break | |
312 | - | --[[ INSTRUCTIONS |
312 | + | |
313 | - | - Place in the model |
313 | + | Turn(mouse,Torso,g) |
314 | - | - Make sure model is anchored |
314 | + | wait() |
315 | - | - That's it. It will weld the model and all children. |
315 | + | |
316 | Torso.Neck.C0=necko | |
317 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
317 | + | g:Remove() |
318 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
318 | + | |
319 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
319 | + | Tool.Equipped:connect(Equi) |
320 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
320 | + | |
321 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
321 | + | Script42.Parent = Tool0 |
322 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
322 | + | table.insert(cors,sandbox(Script42,function() |
323 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
323 | + | Tool=script.Parent; |
324 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
324 | + | Handle=Tool.Handle |
325 | Handle2=Tool.Handle2 | |
326 | - | This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes. |
326 | + | Handle3=Tool.Handle3 |
327 | - | ]] |
327 | + | Handle4=Tool.Handle4 |
328 | Handle5=Tool.Handle5 | |
329 | - | --[[ DOCUMENTATION |
329 | + | Handle6=Tool.Handle6 |
330 | - | - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again. |
330 | + | Handle7=Tool.Handle7 |
331 | - | - Will work in PBS servers |
331 | + | Handle8=Tool.Handle8 |
332 | - | - Will work as long as it starts out with the part anchored |
332 | + | Weld=function() |
333 | - | - Stores the relative CFrame as a CFrame value |
333 | + | Handle:BreakJoints() |
334 | - | - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin |
334 | + | w=Instance.new("Weld") |
335 | - | - Utilizes a recursive algorith to find all parts in the model |
335 | + | w.Part0=Handle |
336 | - | - Will reweld on script reparent if the script is initially parented to a tool. |
336 | + | w.Part1=Handle2 |
337 | - | - Welds as fast as possible |
337 | + | w.C0=CFrame.new(0,-1*.8,0) |
338 | - | ]] |
338 | + | w.Parent=Handle |
339 | w=Instance.new("Weld") | |
340 | - | -- qPerfectionWeld.lua |
340 | + | w.Part0=Handle |
341 | - | -- Created 10/6/2014 |
341 | + | w.Part1=Handle3 |
342 | - | -- Author: Quenty |
342 | + | w.C0=CFrame.new(0,1*.8,0)*CFrame.fromEulerAnglesXYZ(math.pi,0,0) |
343 | - | -- Version 1.0.3 |
343 | + | w.Parent=Handle |
344 | w=Instance.new("Weld") | |
345 | - | -- Updated 10/14/2014 - Updated to 1.0.1 |
345 | + | w.Part0=Handle |
346 | - | --- Bug fix with existing ROBLOX welds ? Repro by asimo3089 |
346 | + | w.Part1=Handle4 |
347 | w.C0=CFrame.new(0,3*.8,0) | |
348 | - | -- Updated 10/14/2014 - Updated to 1.0.2 |
348 | + | w.Parent=Handle |
349 | - | --- Fixed bug fix. |
349 | + | w=Instance.new("Weld") |
350 | w.Part0=Handle | |
351 | - | -- Updated 10/14/2014 - Updated to 1.0.3 |
351 | + | w.Part1=Handle5 |
352 | - | --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/ |
352 | + | w.C0=CFrame.new(0,4.6*.8,0) |
353 | w.Parent=Handle | |
354 | - | local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges). |
354 | + | w=Instance.new("Weld") |
355 | w.Part0=Handle | |
356 | w.Part1=Handle6 | |
357 | - | local function CallOnChildren(Instance, FunctionToCall) |
357 | + | w.C0=CFrame.new(0,4.6,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) |
358 | - | -- Calls a function on each of the children of a certain object, using recursion. |
358 | + | w.Parent=Handle |
359 | w=Instance.new("Weld") | |
360 | - | FunctionToCall(Instance) |
360 | + | w.Part0=Handle |
361 | w.Part1=Handle7 | |
362 | - | for _, Child in next, Instance:GetChildren() do |
362 | + | w.C0=CFrame.new(0,4.6,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) |
363 | - | CallOnChildren(Child, FunctionToCall) |
363 | + | w.Parent=Handle |
364 | w=Instance.new("Weld") | |
365 | w.Part0=Handle | |
366 | w.Part1=Handle8 | |
367 | - | local function GetNearestParent(Instance, ClassName) |
367 | + | w.C0=CFrame.new(0,3.6,-.575)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0) |
368 | - | -- Returns the nearest parent of a certain class, or returns nil |
368 | + | w.Parent=Handle |
369 | end | |
370 | - | local Ancestor = Instance |
370 | + | script.Parent.AncestryChanged:connect(Weld) |
371 | - | repeat |
371 | + | |
372 | - | Ancestor = Ancestor.Parent |
372 | + | Part43.Name = "Handle6" |
373 | - | if Ancestor == nil then |
373 | + | Part43.Parent = Tool0 |
374 | - | return nil |
374 | + | Part43.CFrame = CFrame.new(-50.5, 5.60001469, -2.5, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
375 | Part43.Orientation = Vector3.new(89.9799957, 0, 0) | |
376 | - | until Ancestor:IsA(ClassName) |
376 | + | Part43.Position = Vector3.new(-50.5, 5.60001469, -2.5) |
377 | Part43.Rotation = Vector3.new(90, 0, 0) | |
378 | - | return Ancestor |
378 | + | Part43.Velocity = Vector3.new(-0.000125429113, 220.766525, -10.0676832) |
379 | Part43.Size = Vector3.new(1, 0.400000006, 1) | |
380 | Part43.CanCollide = false | |
381 | - | local function GetBricks(StartInstance) |
381 | + | Part43.Reflectance = 0.10000000149012 |
382 | - | local List = {} |
382 | + | Part43.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) |
383 | Part43.FormFactor = Enum.FormFactor.Plate | |
384 | - | -- if StartInstance:IsA("BasePart") then |
384 | + | Part43.formFactor = Enum.FormFactor.Plate |
385 | - | -- List[#List+1] = StartInstance |
385 | + | CylinderMesh44.Parent = Part43 |
386 | - | -- end |
386 | + | CylinderMesh44.Offset = Vector3.new(0, -0.0500000007, 1) |
387 | CylinderMesh44.Scale = Vector3.new(0.100000001, 2.25, 0.100000001) | |
388 | - | CallOnChildren(StartInstance, function(Item) |
388 | + | Part45.Name = "Handle7" |
389 | - | if Item:IsA("BasePart") then |
389 | + | Part45.Parent = Tool0 |
390 | - | List[#List+1] = Item; |
390 | + | Part45.CFrame = CFrame.new(-50.5, 5.60001469, -2.5, 1, 0, 0, 0, 1.04904175e-05, -0.99999994, 0, 0.99999994, 1.04904175e-05) |
391 | Part45.Orientation = Vector3.new(89.9799957, 0, 0) | |
392 | Part45.Position = Vector3.new(-50.5, 5.60001469, -2.5) | |
393 | Part45.Rotation = Vector3.new(90, 0, 0) | |
394 | - | return List |
394 | + | Part45.Color = Color3.new(0.384314, 0.278431, 0.196078) |
395 | Part45.Velocity = Vector3.new(-0.000125429113, 220.766525, -10.0676832) | |
396 | Part45.Size = Vector3.new(1, 0.400000006, 1) | |
397 | - | local function Modify(Instance, Values) |
397 | + | Part45.BrickColor = BrickColor.new("Earth orange") |
398 | - | -- Modifies an Instance by using a table. |
398 | + | Part45.CanCollide = false |
399 | Part45.Reflectance = 0.10000000149012 | |
400 | - | assert(type(Values) == "table", "Values is not a table"); |
400 | + | Part45.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) |
401 | Part45.brickColor = BrickColor.new("Earth orange") | |
402 | - | for Index, Value in next, Values do |
402 | + | Part45.FormFactor = Enum.FormFactor.Plate |
403 | - | if type(Index) == "number" then |
403 | + | Part45.formFactor = Enum.FormFactor.Plate |
404 | - | Value.Parent = Instance |
404 | + | CylinderMesh46.Parent = Part45 |
405 | CylinderMesh46.Offset = Vector3.new(0, 0.449999988, 1) | |
406 | - | Instance[Index] = Value |
406 | + | CylinderMesh46.Scale = Vector3.new(0.200000003, 0.25, 0.200000003) |
407 | Part47.Name = "Handle8" | |
408 | Part47.Parent = Tool0 | |
409 | - | return Instance |
409 | + | Part47.CFrame = CFrame.new(-50.5, 4.60001469, -3.07500005, 1, 0, 0, 0, 1.04904175e-05, 0.99999994, 0, -0.99999994, 1.04904175e-05) |
410 | Part47.Orientation = Vector3.new(-89.9799957, 0, 0) | |
411 | Part47.Position = Vector3.new(-50.5, 4.60001469, -3.07500005) | |
412 | - | local function Make(ClassType, Properties) |
412 | + | Part47.Rotation = Vector3.new(-90, 0, 0) |
413 | - | -- Using a syntax hack to create a nice way to Make new items. |
413 | + | Part47.Velocity = Vector3.new(0.000138379983, 219.963364, -8.67086887) |
414 | Part47.Size = Vector3.new(1, 0.400000006, 1) | |
415 | - | return Modify(Instance.new(ClassType), Properties) |
415 | + | Part47.BottomSurface = Enum.SurfaceType.Weld |
416 | Part47.CanCollide = false | |
417 | Part47.Reflectance = 0.10000000149012 | |
418 | - | local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"} |
418 | + | Part47.RotVelocity = Vector3.new(-1.39681494, -0.000323465647, 7.78163667e-05) |
419 | - | local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"} |
419 | + | Part47.FormFactor = Enum.FormFactor.Plate |
420 | Part47.formFactor = Enum.FormFactor.Plate | |
421 | - | local function HasWheelJoint(Part) |
421 | + | SpecialMesh48.Parent = Part47 |
422 | - | for _, SurfaceName in pairs(Surfaces) do |
422 | + | SpecialMesh48.MeshId = "http://www.roblox.com/asset/?id=1033714" |
423 | - | for _, HingSurfaceName in pairs(HingSurfaces) do |
423 | + | SpecialMesh48.Scale = Vector3.new(0.0500000007, 0.200000003, 0.0500000007) |
424 | - | if Part[SurfaceName].Name == HingSurfaceName then |
424 | + | SpecialMesh48.MeshType = Enum.MeshType.FileMesh |
425 | - | return true |
425 | + | LocalScript49.Name = "TauntScript" |
426 | LocalScript49.Parent = Tool0 | |
427 | table.insert(cors,sandbox(LocalScript49,function() | |
428 | --Scouts BONK! Taunt. | |
429 | --turdulator | |
430 | - | return false |
430 | + | Tool=script.Parent |
431 | --and now for those tables. | |
432 | --my animconverter comes in handy for making good anims that are nonlocal. | |
433 | - | local function ShouldBreakJoints(Part) |
433 | + | GetHumans=function() |
434 | - | --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are |
434 | + | Chars={} |
435 | - | -- definitely some edge cases. |
435 | + | Things=workspace:GetChildren() |
436 | for ii,v in pairs(Things) do | |
437 | - | if NEVER_BREAK_JOINTS then |
437 | + | if v.className=="Model" and v~=script.Parent.Parent then |
438 | - | return false |
438 | + | Human=v:FindFirstChild("Humanoid") |
439 | PTorso=v:FindFirstChild("Torso") | |
440 | vv=game.Players:GetPlayerFromCharacter(v) | |
441 | - | if HasWheelJoint(Part) then |
441 | + | if Human~=nil and PTorso~=nil then |
442 | - | return false |
442 | + | if vv~=nil then |
443 | if vv.TeamColor~=game.Players.LocalPlayer.TeamColor then | |
444 | table.insert(Chars,PTorso) | |
445 | - | local Connected = Part:GetConnectedParts() |
445 | + | |
446 | else | |
447 | - | if #Connected == 1 then |
447 | + | table.insert(Chars,PTorso) |
448 | - | return false |
448 | + | |
449 | end | |
450 | end | |
451 | - | for _, Item in pairs(Connected) do |
451 | + | |
452 | - | if HasWheelJoint(Item) then |
452 | + | return Chars |
453 | - | return false |
453 | + | |
454 | - | elseif not Item:IsDescendantOf(script.Parent) then |
454 | + | _G["critEffect"]=function(Part) |
455 | - | return false |
455 | + | he=Part.Parent:FindFirstChild("Head") |
456 | if he~=nil then Part=he end | |
457 | b=Instance.new("BillboardGui") | |
458 | b.Name="CUH-RIT" | |
459 | - | return true |
459 | + | b.Size=UDim2.new(1,0,1,0) |
460 | b.Adornee=Part | |
461 | b.StudsOffset=Vector3.new(math.random(-3,3)/3,1.75+math.random(0,5)/12.5,math.random(-3,3)/3) | |
462 | - | local function WeldTogether(Part0, Part1, JointType, WeldParent) |
462 | + | s=script.ImageLabel:clone() |
463 | - | --- Weld's 2 parts together |
463 | + | s.Parent=b |
464 | - | -- @param Part0 The first part |
464 | + | s.Script.Disabled=false |
465 | - | -- @param Part1 The second part (Dependent part most of the time). |
465 | + | for _,v in pairs(game.Players:children()) do |
466 | - | -- @param [JointType] The type of joint. Defaults to weld. |
466 | + | if v:FindFirstChild("PlayerGui")~=nil then |
467 | - | -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better). |
467 | + | n=b:clone() |
468 | - | -- @return The weld created. |
468 | + | n.Parent=v.PlayerGui |
469 | end | |
470 | - | JointType = JointType or "Weld" |
470 | + | |
471 | - | local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue") |
471 | + | c=Instance.new("Sound") |
472 | c.SoundId="http://roblox.com/asset/?id=10209481" | |
473 | - | local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType) |
473 | + | c.Volume=.5 |
474 | - | Modify(NewWeld, { |
474 | + | c.Pitch=1.425 |
475 | - | Name = "qCFrameWeldThingy"; |
475 | + | c.Parent=Part |
476 | - | Part0 = Part0; |
476 | + | c:Play() |
477 | - | Part1 = Part1; |
477 | + | game:GetService("Debris"):AddItem(c,1) |
478 | - | C0 = CFrame.new();--Part0.CFrame:inverse(); |
478 | + | |
479 | - | C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse(); |
479 | + | Crit=false |
480 | - | Parent = Part1; |
480 | + | onTouched=function(hit) |
481 | h=hit.Parent:FindFirstChild("Humanoid") | |
482 | if h~=nil then | |
483 | - | if not RelativeValue then |
483 | + | if Crit==false then |
484 | - | RelativeValue = Make("CFrameValue", { |
484 | + | sss=script.Ragdoll:clone() |
485 | - | Parent = Part1; |
485 | + | sss.Disabled=false |
486 | - | Name = "qRelativeCFrameWeldValue"; |
486 | + | sss.Parent=hit.Parent |
487 | - | Archivable = true; |
487 | + | wait(.1) |
488 | - | Value = NewWeld.C1; |
488 | + | h:TakeDamage(500) |
489 | - | }) |
489 | + | |
490 | p=Instance.new("BodyVelocity") | |
491 | p.P=4000 | |
492 | - | return NewWeld |
492 | + | p.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
493 | p.velocity=Tool.Parent.Torso.CFrame.lookVector*math.random(70,90)+Vector3.new(0,math.random(30,40),0) | |
494 | p.Parent=hit.Parent:FindFirstChild("Torso",nil) | |
495 | - | local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor) |
495 | + | game:GetService("Debris"):AddItem(p,.5) |
496 | - | -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results. |
496 | + | _G["critEffect"](hit) |
497 | - | -- @param MainPart The part to weld the model to (can be in the model). |
497 | + | dd=script.LocalScript:clone() |
498 | - | -- @param [JointType] The type of joint. Defaults to weld. |
498 | + | dd.Disabled=false |
499 | - | -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion. |
499 | + | dd.Parent=hit.Parent |
500 | f=Instance.new("BodyForce") | |
501 | - | for _, Part in pairs(Parts) do |
501 | + | f.force=Vector3.new(0,2400,0) |
502 | - | if ShouldBreakJoints(Part) then |
502 | + | f.Parent=p.Parent |
503 | - | Part:BreakJoints() |
503 | + | game:GetService("Debris"):AddItem(f,1.75) |
504 | s=Instance.new("Sound") | |
505 | s.Volume=1 | |
506 | s.Pitch=1 | |
507 | - | for _, Part in pairs(Parts) do |
507 | + | s.Name="Applause" |
508 | - | if Part ~= MainPart then |
508 | + | s.SoundId="http://www.roblox.com/asset/?id=21343225" |
509 | - | WeldTogether(MainPart, Part, JointType, MainPart) |
509 | + | s.Parent=Tool.Parent.Torso |
510 | s:Play() | |
511 | game:GetService("Debris"):AddItem(s,3) | |
512 | s=Instance.new("Sound") | |
513 | - | if not DoNotUnanchor then |
513 | + | s.Volume=1 |
514 | - | for _, Part in pairs(Parts) do |
514 | + | s.Pitch=1 |
515 | - | Part.Anchored = false |
515 | + | s.Name="Applause" |
516 | s.SoundId="http://www.roblox.com/asset/?id=21343225" | |
517 | - | MainPart.Anchored = false |
517 | + | s.Parent=hit |
518 | s:Play() | |
519 | game:GetService("Debris"):AddItem(s,3) | |
520 | end | |
521 | - | local function PerfectionWeld() |
521 | + | s=Instance.new("Sound") |
522 | - | local Tool = GetNearestParent(script, "Tool") |
522 | + | s.SoundId="http://roblox.com/asset/?id=10209467" |
523 | s.Volume=1 | |
524 | - | local Parts = GetBricks(script.Parent) |
524 | + | s.Pitch=math.random(12,14)*.1 |
525 | - | local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1] |
525 | + | s.Parent=hit |
526 | s:Play() | |
527 | - | if PrimaryPart then |
527 | + | game:GetService("Debris"):AddItem(s,3) |
528 | - | WeldParts(Parts, PrimaryPart, "Weld", false) |
528 | + | |
529 | end | |
530 | - | warn("qWeld - Unable to weld part") |
530 | + | perfDamage=function() |
531 | Hums=GetHumans() | |
532 | R=Ray.new(Char.Torso.Position+Char.Torso.CFrame.lookVector*2,Char.Torso.CFrame.lookVector) | |
533 | - | return Tool |
533 | + | for _,v in pairs(Hums) do |
534 | print(R:Distance(v.Position)) | |
535 | print((v.Position-Tool.Parent.Torso.Position).magnitude) | |
536 | - | local Tool = PerfectionWeld() |
536 | + | if R:Distance(v.Position)<=3.75 and (v.Position-Tool.Parent.Torso.Position).magnitude<=5.05 then |
537 | coroutine.resume(coroutine.create(onTouched),v) | |
538 | end | |
539 | - | if Tool and script.ClassName == "Script" then |
539 | + | |
540 | - | --- Don't bother with local scripts |
540 | + | |
541 | RSWeld0={ | |
542 | - | script.Parent.AncestryChanged:connect(function() |
542 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -0.00102208031, 0.999796033, 0.0201696567, 0.0505988784, 0.0201955438, -0.998514473), |
543 | - | PerfectionWeld() |
543 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -0.00102208031, 0.999796033, 0.0201696567, 0.0505988784, 0.0201955438, -0.998514473), |
544 | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -0.000340269238, 0.99997741, 0.00671484787, 0.0506080575, 0.00672346586, -0.998695612), | |
545 | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
546 | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
547 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
547 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
548 | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
549 | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
550 | - | Motor6D8.Name = "LeftWrist" |
550 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
551 | - | Motor6D8.Parent = MeshPart3 |
551 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
552 | - | Motor6D8.C0 = CFrame.new(-0.0112809651, -4.6205492, -0.0670197308, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
552 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
553 | - | Motor6D8.C1 = CFrame.new(-0.0026157822, 0.39213115, -0.104560249, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
553 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
554 | - | Motor6D8.Part0 = MeshPart9 |
554 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
555 | - | Motor6D8.Part1 = MeshPart3 |
555 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
556 | - | Motor6D8.part1 = MeshPart3 |
556 | + | CFrame.new(0, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
557 | - | MeshPart9.Name = "LeftLowerArm" |
557 | + | CFrame.new(0, 0, 0, -0.998718143, 3.75556851e-007, -0.0506109633, 6.73839793e-008, 1, 6.09096787e-006, 0.0506109633, 6.07975426e-006, -0.998718143), |
558 | - | MeshPart9.Parent = Model0 |
558 | + | CFrame.new(0, 0, 0, -0.998577714, 0.000587674906, -0.0533062257, 9.05813358e-005, 0.999956489, 0.00932728592, 0.0533093885, 0.00930919871, -0.998534322), |
559 | - | MeshPart9.CFrame = CFrame.new(-44.8519096, 19.6879501, 32.3990784, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
559 | + | CFrame.new(0, 0, 0, -0.998429954, 0.00120006711, -0.0559955053, 0.000155892281, 0.999826074, 0.0186478794, 0.0560081489, 0.0186098851, -0.998256505), |
560 | - | MeshPart9.Orientation = Vector3.new(0, -89.9599991, 0) |
560 | + | CFrame.new(0, 0, 0, -0.998353362, 0.00151564239, -0.057337828, 0.000179107417, 0.999728322, 0.0233076811, 0.0573575757, 0.0232590493, -0.99808234), |
561 | - | MeshPart9.Position = Vector3.new(-44.8519096, 19.6879501, 32.3990784) |
561 | + | CFrame.new(0, 0, 0, -0.998112559, 0.00249983394, -0.061355114, 0.000210945727, 0.999304712, 0.0372837596, 0.061405655, 0.0372004695, -0.997419059), |
562 | - | MeshPart9.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
562 | + | CFrame.new(0, 0, 0, -0.997855306, 0.0035400514, -0.0653572381, 0.000186079415, 0.998685718, 0.0512525626, 0.0654527768, 0.0511305146, -0.99654454), |
563 | - | MeshPart9.Color = Color3.new(0.960784, 0.803922, 0.188235) |
563 | + | CFrame.new(0, 0, 0, -0.997674704, 0.00426455634, -0.0680164844, 0.000137991738, 0.998164594, 0.0605596006, 0.0681499019, 0.0604094341, -0.995844185), |
564 | - | MeshPart9.Size = Vector3.new(6.77433443, 8.5717144, 6.77415848) |
564 | + | CFrame.new(0, 0, 0, -0.99739033, 0.00539765414, -0.0719914585, 1.86350662e-005, 0.997220278, 0.0745097026, 0.0721935183, 0.0743139535, -0.994617939), |
565 | - | MeshPart9.BrickColor = BrickColor.new("Bright yellow") |
565 | + | CFrame.new(0, 0, 0, -0.997089624, 0.00658616517, -0.0759490207, -0.000157386065, 0.996081114, 0.0884446427, 0.0762338936, 0.0881992429, -0.99318105), |
566 | - | MeshPart9.CanCollide = false |
566 | + | CFrame.new(0, 0, 0, -0.996880114, 0.00740917679, -0.0785772875, -0.000306207687, 0.995213389, 0.0977247208, 0.0789252371, 0.0974439532, -0.992106199), |
567 | - | MeshPart9.brickColor = BrickColor.new("Bright yellow") |
567 | + | CFrame.new(0, 0, 0, -0.996552527, 0.00868947152, -0.0825039595, -0.000576577615, 0.993749917, 0.111627817, 0.0829582959, 0.111290619, -0.990318954), |
568 | - | Vector3Value10.Name = "OriginalSize" |
568 | + | CFrame.new(0, 0, 0, -0.996439755, 0.00912840851, -0.0838085338, -0.000679265708, 0.993218899, 0.116257221, 0.0843014643, 0.115900315, -0.989676595), |
569 | - | Vector3Value10.Parent = MeshPart9 |
569 | + | CFrame.new(0, 0, 0, -0.99609071, 0.0104815867, -0.0877088159, -0.00102499826, 0.991496563, 0.13012895, 0.0883269459, 0.129710212, -0.987609744), |
570 | - | Vector3Value10.Value = Vector3.new(1.00027657, 1.26567209, 1.00025082) |
570 | + | CFrame.new(0, 0, 0, -0.995725632, 0.0118891178, -0.0915883631, -0.00142718991, 0.989580452, 0.143973738, 0.0923457742, 0.143489167, -0.985333622), |
571 | - | Script11.Name = "Hurting" |
571 | + | CFrame.new(0, 0, 0, -0.995344698, 0.0133506767, -0.0954463482, -0.0018857331, 0.987471104, 0.157788649, 0.0963570923, 0.157234192, -0.982848942), |
572 | - | Script11.Parent = MeshPart9 |
572 | + | CFrame.new(0, 0, 0, -0.995214164, 0.0138498135, -0.096727401, -0.00205108477, 0.986725092, 0.162386462, 0.0976923779, 0.161807835, -0.981974423), |
573 | - | table.insert(cors,sandbox(Script11,function() |
573 | + | CFrame.new(0, 0, 0, -0.99481225, 0.0153829418, -0.100555345, -0.00258462178, 0.984358668, 0.176156953, 0.101692334, 0.175503105, -0.979212284), |
574 | - | function onTouched(hit) |
574 | + | CFrame.new(0, 0, 0, -0.994535506, 0.0164346453, -0.103094324, -0.00297148339, 0.982674301, 0.185317114, 0.104353763, 0.184610903, -0.977255583), |
575 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
575 | + | CFrame.new(0, 0, 0, -0.994107306, 0.0180564113, -0.106882706, -0.00359847117, 0.9799878, 0.199024811, 0.108337417, 0.198236778, -0.974148095), |
576 | - | if (humanoid ~= nil) then |
576 | + | CFrame.new(0, 0, 0, -0.993813276, 0.0191668961, -0.109394565, -0.00404751673, 0.978090584, 0.208140373, 0.110987201, 0.207295567, -0.971961796), |
577 | - | humanoid.Health = humanoid.Health - 25 |
577 | + | CFrame.new(0, 0, 0, -0.993663669, 0.0197308958, -0.110646293, -0.00428134482, 0.977110147, 0.212690949, 0.112310186, 0.21181713, -0.970834374), |
578 | CFrame.new(0, 0, 0, -0.993204474, 0.0214577634, -0.114384234, -0.00501998095, 0.97404176, 0.226312667, 0.116271183, 0.225349098, -0.967314899), | |
579 | CFrame.new(0, 0, 0, -0.992729902, 0.0232366305, -0.1180958, -0.00581420446, 0.970783353, 0.239887029, 0.120219603, 0.238829836, -0.963590622), | |
580 | CFrame.new(0, 0, 0, -0.992405117, 0.0244512483, -0.120555125, -0.00637449091, 0.968505919, 0.248908907, 0.122844487, 0.247787103, -0.960994422), | |
581 | - | script.Parent.Touched:connect(onTouched) |
581 | + | CFrame.new(0, 0, 0, -0.992073596, 0.0256886967, -0.123002142, -0.0069593559, 0.966144502, 0.257907569, 0.125463143, 0.25671947, -0.958307624), |
582 | CFrame.new(0, 0, 0, -0.991563559, 0.0275874436, -0.126649037, -0.00788263977, 0.962445498, 0.271360338, 0.12937893, 0.27006948, -0.954108417), | |
583 | - | Script12.Name = "ShieldScript" |
583 | + | CFrame.new(0, 0, 0, -0.991038561, 0.0295368861, -0.130266935, -0.00886090286, 0.958558977, 0.284756184, 0.133279368, 0.283358812, -0.94970721), |
584 | - | Script12.Parent = MeshPart9 |
584 | + | CFrame.new(0, 0, 0, -0.990680277, 0.0308644846, -0.132662416, -0.00954352226, 0.955864191, 0.293653786, 0.13587071, 0.29218325, -0.946661234), |
585 | - | table.insert(cors,sandbox(Script12,function() |
585 | + | CFrame.new(0, 0, 0, -0.990498662, 0.0315366276, -0.133855104, -0.00989394821, 0.954485714, 0.298092335, 0.137163609, 0.296584606, -0.945104837), |
586 | - | function ot(hit) |
586 | + | CFrame.new(0, 0, 0, -0.989943981, 0.0335862339, -0.137412712, -0.0109815523, 0.950226605, 0.311365932, 0.141030833, 0.30974403, -0.940302253), |
587 | - | ch = hit:GetChildren() |
587 | + | CFrame.new(0, 0, 0, -0.989374578, 0.0356852859, -0.140939057, -0.0121234898, 0.945782542, 0.324574202, 0.144880205, 0.322834343, -0.935300589), |
588 | - | for i = 1, #ch do |
588 | + | CFrame.new(0, 0, 0, -0.988790631, 0.0378333256, -0.144433349, -0.0133195231, 0.94115442, 0.337714195, 0.148710936, 0.335852653, -0.930100799), |
589 | - | if ch[i].className == "BodyVelocity" then |
589 | + | CFrame.new(0, 0, 0, -0.988393366, 0.0392923467, -0.146744743, -0.014146802, 0.937967241, 0.34643504, 0.151253998, 0.34449029, -0.926524758), |
590 | - | ch[i].velocity = ch[i].velocity*-1 |
590 | + | CFrame.new(0, 0, 0, -0.98819232, 0.0400299206, -0.147894949, -0.0145693989, 0.936343253, 0.350783408, 0.152522251, 0.348796427, -0.924704015), |
591 | CFrame.new(0, 0, 0, -0.987579703, 0.0422745608, -0.151322931, -0.015872838, 0.931350052, 0.36377874, 0.156313211, 0.361662626, -0.919111371), | |
592 | CFrame.new(0, 0, 0, -0.987163305, 0.0437974483, -0.153589323, -0.0167714115, 0.927920759, 0.372400045, 0.158828884, 0.370195806, -0.915274799), | |
593 | - | if hit.Parent ~= nil then |
593 | + | CFrame.new(0, 0, 0, -0.986527085, 0.0461211987, -0.156959936, -0.0181635432, 0.922626495, 0.385266632, 0.16258435, 0.382927179, -0.909358263), |
594 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
594 | + | CFrame.new(0, 0, 0, -0.98609525, 0.0476963334, -0.159187332, -0.0191209596, 0.918997467, 0.393799275, 0.165075541, 0.391367644, -0.905307055), |
595 | - | if hit.Parent ~= script.Parent.Parent then |
595 | + | CFrame.new(0, 0, 0, -0.985438704, 0.0500819758, -0.162485719, -0.020601891, 0.913425088, 0.406484872, 0.168776095, 0.403913736, -0.899092674), |
596 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
596 | + | CFrame.new(0, 0, 0, -0.989106834, 0.0282096937, -0.144468933, -0.0238995738, 0.937663734, 0.346721083, 0.145244181, 0.346397132, -0.926775396), |
597 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
597 | + | CFrame.new(0, 0, 0, -0.992129982, 0.00746352039, -0.124987543, -0.0287744328, 0.957914591, 0.285607427, 0.121859029, 0.28695628, -0.950160921), |
598 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
598 | + | CFrame.new(0, 0, 0, -0.994490266, -0.0120566785, -0.104130313, -0.0352050737, 0.974081576, 0.223440334, 0.0987374634, 0.225875303, -0.96913904), |
599 | CFrame.new(0, 0, 0, -0.996173263, -0.0302566774, -0.0819926336, -0.0431624688, 0.986088216, 0.160521284, 0.0759951323, 0.163446128, -0.983620584), | |
600 | - | hit.Parent.Humanoid.PlatformStand = true |
600 | + | CFrame.new(0, 0, 0, -0.99675703, -0.0388338231, -0.0704751536, -0.0477025658, 0.990512848, 0.128875002, 0.0648018196, 0.13181898, -0.989153087), |
601 | CFrame.new(0, 0, 0, -0.997464836, -0.0623503514, -0.0342880636, -0.0635038465, 0.997414172, 0.0336494185, 0.032101348, 0.0357415602, -0.998844981), | |
602 | CFrame.new(0, 0, 0, -0.997350633, -0.0694190934, -0.0217271931, -0.0694774017, 0.997581661, 0.00194019848, 0.0215399656, 0.00344462367, -0.999761701), | |
603 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
603 | + | CFrame.new(0, 0, 0, -0.99595356, -0.0881941617, 0.0172477812, -0.0894188657, 0.991684616, -0.0925517529, -0.0089418292, -0.0937196016, -0.995558143), |
604 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
604 | + | CFrame.new(0, 0, 0, -0.994145691, -0.098609224, 0.0441570617, -0.104317427, 0.982448757, -0.154635757, -0.0281335227, -0.158336952, -0.986983895), |
605 | - | hit:breakJoints() |
605 | + | CFrame.new(0, 0, 0, -0.99013257, -0.110950351, 0.085597761, -0.128894195, 0.960752428, -0.245644137, -0.0549839512, -0.254253477, -0.965573072), |
606 | - | if hit.Anchored == false then |
606 | + | CFrame.new(0, 0, 0, -0.984587789, -0.119232811, 0.127944544, -0.155908525, 0.929864705, -0.33323279, -0.0792388171, -0.348044813, -0.93412286), |
607 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
607 | + | CFrame.new(0, 0, 0, -0.982407153, -0.121073768, 0.142185017, -0.165405288, 0.917581916, -0.361503005, -0.0866978616, -0.378661573, -0.921465337), |
608 | CFrame.new(0, 0, 0, -0.97756058, -0.123360068, 0.170753777, -0.185068578, 0.890123904, -0.416447908, -0.100618973, -0.43870455, -0.892980158), | |
609 | CFrame.new(0, 0, 0, -0.969116449, -0.123279601, 0.213576376, -0.21605821, 0.841964185, -0.494383484, -0.118876286, -0.525260389, -0.842596948), | |
610 | CFrame.new(0, 0, 0, -0.959335923, -0.118983477, 0.255962491, -0.248540625, 0.785910428, -0.566190839, -0.133796245, -0.606784761, -0.783524334), | |
611 | - | hit:breakJoints() |
611 | + | CFrame.new(0, 0, 0, -0.952119946, -0.113793723, 0.283756971, -0.270850509, 0.744453788, -0.61026907, -0.141799152, -0.657905459, -0.739630401), |
612 | - | if hit.Anchored == false then |
612 | + | CFrame.new(0, 0, 0, -0.948314786, -0.110508524, 0.297466308, -0.282161534, 0.722573102, -0.631088555, -0.145200491, -0.682404637, -0.716408014), |
613 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
613 | + | CFrame.new(0, 0, 0, -0.940331578, -0.10257531, 0.324429065, -0.305027097, 0.67663902, -0.670162499, -0.150779262, -0.729135096, -0.667553306), |
614 | CFrame.new(0, 0, 0, -0.927491605, -0.0873375684, 0.363497972, -0.339724422, 0.602729142, -0.72201407, -0.156031847, -0.793151677, -0.588696957), | |
615 | CFrame.new(0, 0, 0, -0.918411016, -0.0750200748, 0.388449103, -0.362957537, 0.550463974, -0.75183171, -0.157424748, -0.831481457, -0.532781303), | |
616 | CFrame.new(0, 0, 0, -0.899185121, -0.04545784, 0.435200065, -0.409156322, 0.439894527, -0.799426854, -0.15510188, -0.89689821, -0.414145976), | |
617 | CFrame.new(0, 0, 0, -0.899185121, -0.04545784, 0.435200065, -0.409156322, 0.439894527, -0.799426854, -0.15510188, -0.89689821, -0.414145976), | |
618 | - | if hit.Parent ~= nil then |
618 | + | CFrame.new(0, 0, 0, -0.884007037, -0.0192432851, 0.467076749, -0.443126172, 0.352738529, -0.824144542, -0.148896709, -0.935524106, -0.320350528), |
619 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
619 | + | CFrame.new(0, 0, 0, -0.868351102, 0.010140121, 0.495845675, -0.476095855, 0.263005435, -0.839142621, -0.13891913, -0.964741111, -0.223553374), |
620 | - | if hit.Parent ~= script.Parent.Parent then |
620 | + | CFrame.new(0, 0, 0, -0.863054037, 0.0205872357, 0.504691243, -0.486799926, 0.232689545, -0.841950595, -0.134769797, -0.972333133, -0.190801784), |
621 | - | wait(0.5) |
621 | + | CFrame.new(0, 0, 0, -0.847013056, 0.0537180603, 0.528850436, -0.51786983, 0.141039103, -0.843752503, -0.11991331, -0.988545537, -0.0916429758), |
622 | - | hit.Parent.Humanoid.PlatformStand = false |
622 | + | CFrame.new(0, 0, 0, -0.841636539, 0.0653158128, 0.536079407, -0.527836144, 0.110377491, -0.842143118, -0.11417637, -0.99174118, -0.0584216751), |
623 | CFrame.new(0, 0, 0, -0.835624993, 0.0894432366, 0.541968644, -0.539801896, 0.0489705056, -0.840366066, -0.101705559, -0.994787335, 0.00736065023), | |
624 | CFrame.new(0, 0, 0, -0.849447966, 0.0900679231, 0.519928336, -0.51770997, 0.04830309, -0.854191244, -0.102049321, -0.994763613, 0.00559808081), | |
625 | CFrame.new(0, 0, 0, -0.858340859, 0.0905106217, 0.505032361, -0.50279057, 0.0477474034, -0.863088071, -0.102232724, -0.994750142, 0.00452435156), | |
626 | CFrame.new(0, 0, 0, -0.862690151, 0.090739131, 0.497525603, -0.495275408, 0.0474363789, -0.867439628, -0.102311455, -0.994744301, 0.00401794072), | |
627 | - | function remove(child) |
627 | + | CFrame.new(0, 0, 0, -0.871190608, 0.0912086964, 0.482397258, -0.480136752, 0.0467467345, -0.87594676, -0.102444507, -0.994733989, 0.00306733372), |
628 | - | child:Remove() |
628 | + | CFrame.new(0, 0, 0, -0.875341833, 0.0914492309, 0.474776953, -0.4725146, 0.0463683158, -0.880101979, -0.102499269, -0.994729638, 0.00262297038), |
629 | CFrame.new(0, 0, 0, -0.88739419, 0.0921907723, 0.451698959, -0.449444294, 0.0450973064, -0.892168999, -0.102620132, -0.994719625, 0.00141552929), | |
630 | - | script.Parent.Touched:connect(ot) |
630 | + | CFrame.new(0, 0, 0, -0.891276836, 0.0924434513, 0.44393599, -0.441688269, 0.0446284302, -0.896057546, -0.102646835, -0.9947173, 0.00105490629), |
631 | - | script.Parent.ChildAdded:connect(remove) |
631 | + | CFrame.new(0, 0, 0, -0.902516603, 0.0932146311, 0.420444906, -0.418231636, 0.0430843271, -0.907317638, -0.102689907, -0.994713426, 0.000100982375), |
632 | CFrame.new(0, 0, 0, -0.90612638, 0.0934749991, 0.412549376, -0.410351992, 0.0425240472, -0.910934925, -0.102692895, -0.994713187, -0.000174507964), | |
633 | - | Motor6D13.Name = "LeftElbow" |
633 | + | CFrame.new(0, 0, 0, -0.916539967, 0.0942620039, 0.388675869, -0.386539549, 0.040704973, -0.921373844, -0.102671511, -0.994714975, -0.000871747732), |
634 | - | Motor6D13.Parent = MeshPart9 |
634 | + | CFrame.new(0, 0, 0, -0.919871569, 0.0945252776, 0.380657881, -0.378546417, 0.0400524884, -0.924714863, -0.102655262, -0.994716346, -0.00106094265), |
635 | - | Motor6D13.C0 = CFrame.new(-0.0112769287, -1.78210199, -0.0639314502, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
635 | + | CFrame.new(0, 0, 0, -0.932496369, 0.0955757201, 0.34830299, -0.346313149, 0.0372121111, -0.937380254, -0.1025519, -0.99472636, -0.00160103198), |
636 | - | Motor6D13.C1 = CFrame.new(-0.0112809651, 0.832677782, -0.0670197308, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
636 | + | CFrame.new(0, 0, 0, -0.938384175, 0.0960951895, 0.33196485, -0.330049336, 0.0356532112, -0.943289936, -0.102481179, -0.994733512, -0.00174026121), |
637 | - | Motor6D13.Part0 = MeshPart17 |
637 | + | CFrame.new(0, 0, 0, -0.938384175, 0.0960951895, 0.33196485, -0.330049336, 0.0356532112, -0.943289936, -0.102481179, -0.994733512, -0.00174026121), |
638 | - | Motor6D13.Part1 = MeshPart9 |
638 | + | CFrame.new(0, 0, 0, -0.946679235, 0.0968604535, 0.30727163, -0.305484414, 0.0331410095, -0.951619804, -0.102357626, -0.994746089, -0.00178454886), |
639 | - | Motor6D13.part1 = MeshPart9 |
639 | + | CFrame.new(0, 0, 0, -0.954326689, 0.0976021662, 0.282371253, -0.280732572, 0.0304204412, -0.959303379, -0.102219976, -0.994760394, -0.00163093046), |
640 | - | MeshPart14.Name = "LeftLowerLeg" |
640 | + | CFrame.new(0, 0, 0, -0.959063053, 0.0980795771, 0.265664995, -0.264136612, 0.0284914151, -0.964064062, -0.102124184, -0.994770646, -0.00141865062), |
641 | - | MeshPart14.Parent = Model0 |
641 | + | CFrame.new(0, 0, 0, -0.96132189, 0.0983123258, 0.257282019, -0.255812168, 0.0274918638, -0.966335118, -0.102075838, -0.994775712, -0.00127903884), |
642 | - | MeshPart14.CFrame = CFrame.new(-44.8823509, 6.16508913, 39.1501884, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
642 | + | CFrame.new(0, 0, 0, -0.967660785, 0.0989830941, 0.232022196, -0.230741441, 0.0243557617, -0.972709835, -0.101932921, -0.994790971, -0.000728605781), |
643 | - | MeshPart14.Orientation = Vector3.new(0, -89.9599991, 0) |
643 | + | CFrame.new(0, 0, 0, -0.973339498, 0.0996065736, 0.206610262, -0.205538943, 0.0210127011, -0.97842294, -0.101798832, -0.994804919, 2.05375254e-005), |
644 | - | MeshPart14.Position = Vector3.new(-44.8823509, 6.16508913, 39.1501884) |
644 | + | CFrame.new(0, 0, 0, -0.976757586, 0.0999920741, 0.189593598, -0.188673228, 0.0186695531, -0.981862128, -0.101718053, -0.994813085, 0.000630200375), |
645 | - | MeshPart14.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
645 | + | CFrame.new(0, 0, 0, -0.979880035, 0.100350752, 0.172523141, -0.17176266, 0.0162354857, -0.985004306, -0.101646893, -0.994819701, 0.00132767856), |
646 | - | MeshPart14.Color = Color3.new(0.294118, 0.592157, 0.294118) |
646 | + | CFrame.new(0, 0, 0, -0.982706547, 0.100680232, 0.155404314, -0.154812753, 0.0137104979, -0.987848282, -0.101587497, -0.99482435, 0.00211319001), |
647 | - | MeshPart14.Size = Vector3.new(6.77432919, 10.088563, 6.77468634) |
647 | + | CFrame.new(0, 0, 0, -0.98639071, 0.101114914, 0.129647762, -0.129326493, 0.00975415204, -0.991553724, -0.101525471, -0.994826913, 0.0034554326), |
648 | - | MeshPart14.BrickColor = BrickColor.new("Bright green") |
648 | + | CFrame.new(0, 0, 0, -0.988475621, 0.10136161, 0.112432554, -0.112302735, 0.00700454041, -0.993648946, -0.101505384, -0.994825006, 0.00445936574), |
649 | - | MeshPart14.CanCollide = false |
649 | + | CFrame.new(0, 0, 0, -0.99104619, 0.101661287, 0.0865574777, -0.0867316648, 0.00271392521, -0.996227741, -0.101512693, -0.994815409, 0.00612762757), |
650 | - | MeshPart14.brickColor = BrickColor.new("Bright green") |
650 | + | CFrame.new(0, 0, 0, -0.992388129, 0.101810925, 0.0692807585, -0.0696688294, -0.00025654491, -0.997569799, -0.101545721, -0.994803727, 0.00734764105), |
651 | - | Vector3Value15.Name = "OriginalSize" |
651 | + | CFrame.new(0, 0, 0, -0.994817734, 0.10121838, 0.00958067179, -0.00980068743, -0.00167657901, -0.999950171, -0.101197273, -0.994862795, 0.00265990011), |
652 | - | Vector3Value15.Parent = MeshPart14 |
652 | + | CFrame.new(0, 0, 0, -0.994057119, 0.100613758, -0.0415519141, 0.0415312462, -0.00230100751, -0.999134243, -0.100622267, -0.994922936, -0.00189128146), |
653 | - | Vector3Value15.Value = Vector3.new(1.00027585, 1.48964536, 1.00032866) |
653 | + | CFrame.new(0, 0, 0, -0.987984478, 0.099670954, -0.118117839, 0.118250981, -0.00459193066, -0.992972851, -0.0995129347, -0.995009899, -0.00724943168), |
654 | - | Motor6D16.Name = "LeftKnee" |
654 | + | CFrame.new(0, 0, 0, -0.980661392, 0.0989364609, -0.168861181, 0.169001788, -0.0070189801, -0.985590458, -0.098696053, -0.995069027, -0.00983719528), |
655 | - | Motor6D16.Parent = MeshPart14 |
655 | + | CFrame.new(0, 0, 0, -0.964815795, 0.0975357145, -0.244164526, 0.244177133, -0.0119921258, -0.96965611, -0.097504124, -0.995159745, -0.0122457957), |
656 | - | Motor6D16.C0 = CFrame.new(-0.0259127952, -1.79122257, 0.00397367822, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
656 | + | CFrame.new(0, 0, 0, -0.951057434, 0.0963217095, -0.293617725, 0.293454319, -0.0161794797, -0.955835879, -0.0968183428, -0.995218813, -0.0128784105), |
657 | - | Motor6D16.C1 = CFrame.new(-0.0259127952, 1.9631238, 0.00206926349, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
657 | + | CFrame.new(0, 0, 0, -0.934791028, 0.0948199108, -0.342307627, 0.341897577, -0.021046862, -0.939501226, -0.0962879211, -0.995271921, -0.0127442852), |
658 | - | Motor6D16.Part0 = MeshPart20 |
658 | + | CFrame.new(0, 0, 0, -0.916067302, 0.0929770097, -0.390096396, 0.389370799, -0.0265747271, -0.920697272, -0.0959703699, -0.995313466, -0.0118582863), |
659 | - | Motor6D16.Part1 = MeshPart14 |
659 | + | CFrame.new(0, 0, 0, -0.894946098, 0.0907408893, -0.436849266, 0.435740918, -0.0327408686, -0.899476171, -0.0959220976, -0.995336235, -0.0102382097), |
660 | - | Motor6D16.part1 = MeshPart14 |
660 | + | CFrame.new(0, 0, 0, -0.858917356, 0.0865396708, -0.504748702, 0.502944469, -0.0431289114, -0.863241613, -0.0964739397, -0.995314479, -0.00648048287), |
661 | - | MeshPart17.Name = "LeftUpperArm" |
661 | + | CFrame.new(0, 0, 0, -0.817907751, 0.0811782032, -0.569592953, 0.566952646, -0.0547929145, -0.821925581, -0.0979320407, -0.995192289, -0.00120861456), |
662 | - | MeshPart17.Parent = Model0 |
662 | + | CFrame.new(0, 0, 0, -0.787947357, 0.0768839121, -0.610923231, 0.607651174, -0.0632205531, -0.791683376, -0.0994906351, -0.995033681, 0.00309587037), |
663 | - | MeshPart17.CFrame = CFrame.new(-44.8487396, 22.3027306, 32.3991203, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
663 | + | CFrame.new(0, 0, 0, -0.772216737, 0.0745047629, -0.630975068, 0.627365589, -0.0676158816, -0.7757833, -0.100463487, -0.994925678, 0.00547238439), |
664 | - | MeshPart17.Orientation = Vector3.new(0, -89.9599991, 0) |
664 | + | CFrame.new(0, 0, 0, -0.729989588, 0.0626650155, -0.680579007, 0.679171562, -0.0448368192, -0.732608378, -0.0764239579, -0.99702698, -0.00982989371), |
665 | - | MeshPart17.Position = Vector3.new(-44.8487396, 22.3027306, 32.3991203) |
665 | + | CFrame.new(0, 0, 0, -0.687744975, 0.0502453148, -0.724211097, 0.724967241, -0.00441008061, -0.688768864, -0.0378012322, -0.998727202, -0.0333931968), |
666 | - | MeshPart17.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
666 | + | CFrame.new(0, 0, 0, -0.657491982, 0.0429803133, -0.75223434, 0.753372073, 0.0221479759, -0.657221019, -0.0115871243, -0.998830378, -0.0469423123), |
667 | - | MeshPart17.Color = Color3.new(1, 1, 0) |
667 | + | CFrame.new(0, 0, 0, -0.625618458, 0.0365214646, -0.779273331, 0.779986858, 0.0483306572, -0.623926282, 0.0148761114, -0.998163462, -0.0587228239), |
668 | - | MeshPart17.Size = Vector3.new(6.77433252, 9.45123863, 6.77415848) |
668 | + | CFrame.new(0, 0, 0, -0.574882865, 0.0283253789, -0.817744851, 0.816397905, 0.0867937878, -0.570929646, 0.0548034199, -0.995823503, -0.0730210394), |
669 | - | MeshPart17.BrickColor = BrickColor.new("New Yeller") |
669 | + | CFrame.new(0, 0, 0, -0.520812809, 0.0218821168, -0.853389919, 0.848403215, 0.124146946, -0.514586151, 0.0946855024, -0.992022514, -0.083222203), |
670 | - | MeshPart17.CanCollide = false |
670 | + | CFrame.new(0, 0, 0, -0.483022988, 0.0185333788, -0.875411093, 0.867196918, 0.14836207, -0.475349784, 0.121067993, -0.988759398, -0.0877343565), |
671 | - | MeshPart17.brickColor = BrickColor.new("New Yeller") |
671 | + | CFrame.new(0, 0, 0, -0.443923205, 0.0159185827, -0.895923018, 0.883897781, 0.171982512, -0.434909165, 0.147159979, -0.984971404, -0.0904174), |
672 | - | Vector3Value18.Name = "OriginalSize" |
672 | + | CFrame.new(0, 0, 0, -0.382990181, 0.0133224428, -0.923655927, 0.904931128, 0.206222206, -0.37225163, 0.185519084, -0.978414416, -0.0910369679), |
673 | - | Vector3Value18.Parent = MeshPart17 |
673 | + | CFrame.new(0, 0, 0, -0.31957221, 0.0122379363, -0.947482586, 0.921037436, 0.238940105, -0.307566464, 0.22262758, -0.970957279, -0.087630257), |
674 | - | Vector3Value18.Value = Vector3.new(1.00027633, 1.39554, 1.00025082) |
674 | + | CFrame.new(0, 0, 0, -0.2979334, 0.0121952295, -0.954508424, 0.925294757, 0.249491736, -0.285627246, 0.234658614, -0.968300223, -0.085616082), |
675 | - | Motor6D19.Name = "LeftShoulder" |
675 | + | CFrame.new(0, 0, 0, -0.2316854, 0.0129680932, -0.972704053, 0.934696972, 0.280043155, -0.218899086, 0.269560397, -0.959899902, -0.0770031288), |
676 | - | Motor6D19.Parent = MeshPart17 |
676 | + | CFrame.new(0, 0, 0, -0.209230408, 0.0135108531, -0.977772713, 0.936699748, 0.289837778, -0.196436226, 0.280741334, -0.956980467, -0.0732985511), |
677 | - | Motor6D19.C0 = CFrame.new(-8.46254921, 3.768255, -0.105385743, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
677 | + | |
678 | - | Motor6D19.C1 = CFrame.new(1.67933309, 3.09320617, -0.0639314502, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
678 | + | RSWeld1={ |
679 | - | Motor6D19.Part0 = MeshPart57 |
679 | + | CFrame.new(1.5, 0.000396728516, 0.0199432373, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
680 | - | Motor6D19.Part1 = MeshPart17 |
680 | + | CFrame.new(1.5, 0.000396728516, 0.0199432373, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
681 | - | Motor6D19.part1 = MeshPart17 |
681 | + | CFrame.new(1.5, 4.57763672e-005, 0.00663757324, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
682 | - | MeshPart20.Name = "LeftUpperLeg" |
682 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
683 | - | MeshPart20.Parent = Model0 |
683 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
684 | - | MeshPart20.CFrame = CFrame.new(-44.8803291, 9.9194355, 39.1502571, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
684 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
685 | - | MeshPart20.Orientation = Vector3.new(0, -89.9599991, 0) |
685 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
686 | - | MeshPart20.Position = Vector3.new(-44.8803291, 9.9194355, 39.1502571) |
686 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
687 | - | MeshPart20.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
687 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
688 | - | MeshPart20.Color = Color3.new(0, 1, 0) |
688 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
689 | - | MeshPart20.Size = Vector3.new(6.7743268, 10.4042921, 6.77875233) |
689 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
690 | - | MeshPart20.BrickColor = BrickColor.new("Lime green") |
690 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
691 | - | MeshPart20.CanCollide = false |
691 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
692 | - | MeshPart20.brickColor = BrickColor.new("Lime green") |
692 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
693 | - | Vector3Value21.Name = "OriginalSize" |
693 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
694 | - | Vector3Value21.Parent = MeshPart20 |
694 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
695 | - | Vector3Value21.Value = Vector3.new(1.00027561, 1.5362649, 1.00092912) |
695 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
696 | - | Motor6D22.Name = "LeftHip" |
696 | + | CFrame.new(1.5, 0, 0, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
697 | - | Motor6D22.Parent = MeshPart20 |
697 | + | CFrame.new(1.50015259, 0.000152587891, 0.00300598145, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
698 | - | Motor6D22.C0 = CFrame.new(-3.41684103, -1.64612925, 0.00831584446, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
698 | + | CFrame.new(1.50054932, 0.000686645508, 0.0120010376, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
699 | - | Motor6D22.C1 = CFrame.new(-0.0259127952, 3.28541422, 0.00465092249, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
699 | + | CFrame.new(1.50079346, 0.0011138916, 0.0180053711, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
700 | - | Motor6D22.Part0 = MeshPart23 |
700 | + | CFrame.new(1.50112915, 0.00186157227, 0.0269927979, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
701 | - | Motor6D22.Part1 = MeshPart20 |
701 | + | CFrame.new(1.50134277, 0.00242614746, 0.0329742432, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
702 | - | Motor6D22.part1 = MeshPart20 |
702 | + | CFrame.new(1.50152588, 0.00305175781, 0.0389633179, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
703 | - | MeshPart23.Name = "LowerTorso" |
703 | + | CFrame.new(1.50177002, 0.00408935547, 0.0479125977, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
704 | - | MeshPart23.Parent = Model0 |
704 | + | CFrame.new(1.50189209, 0.00485229492, 0.0538787842, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
705 | - | MeshPart23.CFrame = CFrame.new(-44.873909, 14.850914, 42.541275, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
705 | + | CFrame.new(1.50204468, 0.00566101074, 0.0598373413, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
706 | - | MeshPart23.Orientation = Vector3.new(0, -89.9599991, 0) |
706 | + | CFrame.new(1.50216675, 0.00654602051, 0.0657958984, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
707 | - | MeshPart23.Position = Vector3.new(-44.873909, 14.850914, 42.541275) |
707 | + | CFrame.new(1.50219727, 0.00700378418, 0.0687713623, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
708 | - | MeshPart23.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
708 | + | CFrame.new(1.50231934, 0.0079498291, 0.0747146606, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
709 | - | MeshPart23.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
709 | + | CFrame.new(1.50241089, 0.00897216797, 0.0806427002, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
710 | - | MeshPart23.Size = Vector3.new(13.546114, 2.70923901, 6.77390051) |
710 | + | CFrame.new(1.50247192, 0.0105895996, 0.089515686, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
711 | - | MeshPart23.BrickColor = BrickColor.new("Bright blue") |
711 | + | CFrame.new(1.50250244, 0.0117340088, 0.0954208374, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
712 | - | MeshPart23.brickColor = BrickColor.new("Bright blue") |
712 | + | CFrame.new(1.50253296, 0.0135650635, 0.104263306, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
713 | - | Vector3Value24.Name = "OriginalSize" |
713 | + | CFrame.new(1.50250244, 0.0155181885, 0.113067627, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
714 | - | Vector3Value24.Parent = MeshPart23 |
714 | + | CFrame.new(1.50244141, 0.017578125, 0.121856689, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
715 | - | Vector3Value24.Value = Vector3.new(2.00017595, 0.400037616, 1.00021255) |
715 | + | CFrame.new(1.50238037, 0.01902771, 0.127693176, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
716 | - | Script25.Name = "Hurting" |
716 | + | CFrame.new(1.50231934, 0.0197753906, 0.130607605, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
717 | - | Script25.Parent = MeshPart23 |
717 | + | CFrame.new(1.50222778, 0.0220947266, 0.139328003, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
718 | - | table.insert(cors,sandbox(Script25,function() |
718 | + | CFrame.new(1.50216675, 0.0228881836, 0.142227173, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
719 | - | function onTouched(hit) |
719 | + | CFrame.new(1.50204468, 0.0245361328, 0.148010254, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
720 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
720 | + | CFrame.new(1.50183105, 0.0270996094, 0.156677246, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
721 | - | if (humanoid ~= nil) then |
721 | + | CFrame.new(1.5017395, 0.0279693604, 0.159553528, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
722 | - | humanoid.Health = humanoid.Health - 25 |
722 | + | CFrame.new(1.50149536, 0.0306854248, 0.168151855, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
723 | CFrame.new(1.5012207, 0.0335235596, 0.176712036, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
724 | CFrame.new(1.50097656, 0.0354919434, 0.182395935, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
725 | CFrame.new(1.50088501, 0.0364837646, 0.18522644, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
726 | - | script.Parent.Touched:connect(onTouched) |
726 | + | CFrame.new(1.50048828, 0.03956604, 0.193710327, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
727 | CFrame.new(1.50009155, 0.042755127, 0.202133179, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
728 | - | Script26.Name = "ShieldScript" |
728 | + | CFrame.new(1.49978638, 0.0449523926, 0.207725525, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
729 | - | Script26.Parent = MeshPart23 |
729 | + | CFrame.new(1.4994812, 0.0471954346, 0.213310242, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
730 | - | table.insert(cors,sandbox(Script26,function() |
730 | + | CFrame.new(1.49899292, 0.0506591797, 0.221618652, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
731 | - | function ot(hit) |
731 | + | CFrame.new(1.49880981, 0.0518493652, 0.224388123, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
732 | - | ch = hit:GetChildren() |
732 | + | CFrame.new(1.49847412, 0.0542449951, 0.229888916, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
733 | - | for i = 1, #ch do |
733 | + | CFrame.new(1.49810791, 0.0566864014, 0.235366821, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
734 | - | if ch[i].className == "BodyVelocity" then |
734 | + | CFrame.new(1.49789429, 0.0579376221, 0.238105774, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
735 | - | ch[i].velocity = ch[i].velocity*-1 |
735 | + | CFrame.new(1.49707031, 0.0630493164, 0.248977661, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
736 | CFrame.new(1.49688721, 0.0643463135, 0.251670837, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
737 | CFrame.new(1.49642944, 0.0670013428, 0.25705719, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
738 | - | if hit.Parent ~= nil then |
738 | + | CFrame.new(1.4954834, 0.0564880371, 0.237419128, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
739 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
739 | + | CFrame.new(1.49145508, 0.0247802734, 0.168457031, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
740 | - | if hit.Parent ~= script.Parent.Parent then |
740 | + | CFrame.new(1.48953247, 0.0155181885, 0.144859314, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
741 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
741 | + | CFrame.new(1.47897339, -0.0146789551, 0.0480651855, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
742 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
742 | + | CFrame.new(1.47564697, -0.0204620361, 0.0234069824, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
743 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
743 | + | CFrame.new(1.47201538, -0.0255279541, -0.0013961792, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
744 | CFrame.new(1.45953369, -0.0363769531, -0.0763931274, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
745 | - | hit.Parent.Humanoid.PlatformStand = true |
745 | + | CFrame.new(1.44992065, -0.039932251, -0.126586914, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
746 | CFrame.new(1.44473267, -0.0406036377, -0.151672363, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
747 | CFrame.new(1.42779541, -0.0381469727, -0.226539612, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
748 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
748 | + | CFrame.new(1.41537476, -0.0328216553, -0.275871277, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
749 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
749 | + | CFrame.new(1.40216064, -0.0245513916, -0.324493408, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
750 | - | hit:breakJoints() |
750 | + | CFrame.new(1.38815308, -0.0133972168, -0.372207642, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
751 | - | if hit.Anchored == false then |
751 | + | CFrame.new(1.36587524, 0.0086517334, -0.441642761, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
752 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
752 | + | CFrame.new(1.34225464, 0.0368347168, -0.5079422, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
753 | CFrame.new(1.31759644, 0.0708770752, -0.570472717, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
754 | CFrame.new(1.30917358, 0.0834503174, -0.590393066, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
755 | CFrame.new(1.30062866, 0.0966339111, -0.609802246, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
756 | - | hit:breakJoints() |
756 | + | CFrame.new(1.27474976, 0.139572144, -0.664825439, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
757 | - | if hit.Anchored == false then |
757 | + | CFrame.new(1.2572937, 0.17086792, -0.698661804, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
758 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
758 | + | CFrame.new(1.23974609, 0.204116821, -0.730064392, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
759 | CFrame.new(1.22219849, 0.23916626, -0.758911133, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
760 | CFrame.new(1.19607544, 0.294754028, -0.797149658, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
761 | CFrame.new(1.17047119, 0.353424072, -0.829093933, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
762 | CFrame.new(1.15380859, 0.393936157, -0.846763611, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
763 | - | if hit.Parent ~= nil then |
763 | + | CFrame.new(1.13760376, 0.435348511, -0.861457825, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
764 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
764 | + | CFrame.new(1.11419678, 0.498718262, -0.877868652, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
765 | - | if hit.Parent ~= script.Parent.Parent then |
765 | + | CFrame.new(1.10665894, 0.520050049, -0.88180542, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
766 | - | wait(0.5) |
766 | + | CFrame.new(1.12484741, 0.5206604, -0.87878418, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
767 | - | hit.Parent.Humanoid.PlatformStand = false |
767 | + | CFrame.new(1.14294434, 0.521377563, -0.875267029, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
768 | CFrame.new(1.15493774, 0.52192688, -0.872665405, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
769 | CFrame.new(1.17282104, 0.522857666, -0.868370056, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
770 | CFrame.new(1.18469238, 0.523544312, -0.865249634, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
771 | CFrame.new(1.19650269, 0.524276733, -0.861907959, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
772 | - | function remove(child) |
772 | + | CFrame.new(1.20825195, 0.52507019, -0.85836792, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
773 | - | child:Remove() |
773 | + | CFrame.new(1.21408081, 0.525482178, -0.856529236, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
774 | CFrame.new(1.23150635, 0.526779175, -0.850692749, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
775 | - | script.Parent.Touched:connect(ot) |
775 | + | CFrame.new(1.24301147, 0.527709961, -0.846534729, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
776 | - | script.Parent.ChildAdded:connect(remove) |
776 | + | CFrame.new(1.2487793, 0.528182983, -0.844390869, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
777 | CFrame.new(1.26583862, 0.529693604, -0.837638855, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
778 | - | Motor6D27.Name = "Root" |
778 | + | CFrame.new(1.27716064, 0.530761719, -0.832893372, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
779 | - | Motor6D27.Parent = MeshPart23 |
779 | + | CFrame.new(1.29391479, 0.532424927, -0.825408936, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
780 | - | Motor6D27.C1 = CFrame.new(0.00189745135, 0.900993049, -0.0966572911, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
780 | + | CFrame.new(1.29943848, 0.533004761, -0.822822571, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
781 | - | Motor6D27.Part0 = Part64 |
781 | + | CFrame.new(1.31588745, 0.534790039, -0.814750671, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
782 | - | Motor6D27.Part1 = MeshPart23 |
782 | + | CFrame.new(1.32675171, 0.53604126, -0.809135437, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
783 | - | Motor6D27.part1 = MeshPart23 |
783 | + | CFrame.new(1.33752441, 0.537307739, -0.803329468, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
784 | - | Script28.Name = "Respawn" |
784 | + | CFrame.new(1.35342407, 0.539291382, -0.794281006, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
785 | - | Script28.Parent = Model0 |
785 | + | CFrame.new(1.3638916, 0.540664673, -0.788009644, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
786 | - | table.insert(cors,sandbox(Script28,function() |
786 | + | CFrame.new(1.37426758, 0.542053223, -0.781555176, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
787 | - | name="NPC" |
787 | + | CFrame.new(1.37939453, 0.542770386, -0.778266907, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
788 | CFrame.new(1.3946228, 0.544937134, -0.768127441, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
789 | - | robo=script.Parent:clone() |
789 | + | CFrame.new(1.40460205, 0.546432495, -0.761154175, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
790 | CFrame.new(1.41445923, 0.547943115, -0.753997803, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
791 | CFrame.new(1.42419434, 0.549468994, -0.746673584, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
792 | - | wait(15) |
792 | + | CFrame.new(1.4289856, 0.550247192, -0.74294281, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
793 | - | if script.Parent.NPC.Health<1 then |
793 | + | CFrame.new(1.4526062, 0.551589966, -0.723937988, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
794 | - | robot=robo:clone() |
794 | + | CFrame.new(1.49291992, 0.551452637, -0.687477112, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
795 | - | robot.Parent=script.Parent.Parent |
795 | + | CFrame.new(1.51815796, 0.551818848, -0.661453247, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
796 | - | robot:makeJoints() |
796 | + | CFrame.new(1.54202271, 0.552520752, -0.634140015, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
797 | - | script.Parent:remove() |
797 | + | CFrame.new(1.57513428, 0.554107666, -0.590927124, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
798 | CFrame.new(1.59521484, 0.555480957, -0.56073761, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
799 | CFrame.new(1.62243652, 0.557937622, -0.513618469, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
800 | - | |
800 | + | CFrame.new(1.63848877, 0.559768677, -0.481086731, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
801 | CFrame.new(1.64584351, 0.560745239, -0.464523315, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
802 | CFrame.new(1.66537476, 0.563796997, -0.413803101, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
803 | CFrame.new(1.67617798, 0.565887451, -0.379211426, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
804 | CFrame.new(1.68515015, 0.567977905, -0.344146729, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), | |
805 | - | MeshPart29.Name = "RightFoot" |
805 | + | CFrame.new(1.69235229, 0.570053101, -0.308677673, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
806 | - | MeshPart29.Parent = Model0 |
806 | + | CFrame.new(1.69525146, 0.571060181, -0.29082489, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
807 | - | MeshPart29.CFrame = CFrame.new(-44.8781891, 1.13590193, 45.900589, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
807 | + | CFrame.new(1.70236206, 0.553756714, -0.244728088, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
808 | - | MeshPart29.Orientation = Vector3.new(0, -89.9599991, 0) |
808 | + | CFrame.new(1.70544434, 0.535995483, -0.215835571, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
809 | - | MeshPart29.Position = Vector3.new(-44.8781891, 1.13590193, 45.900589) |
809 | + | CFrame.new(1.70684814, 0.518798828, -0.186309814, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
810 | - | MeshPart29.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
810 | + | CFrame.new(1.70657349, 0.502182007, -0.156265259, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
811 | - | MeshPart29.Color = Color3.new(0.294118, 0.592157, 0.294118) |
811 | + | CFrame.new(1.70584106, 0.494094849, -0.141090393, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
812 | - | MeshPart29.Size = Vector3.new(6.77673674, 2.27153325, 6.77383852) |
812 | + | CFrame.new(1.70098877, 0.47076416, -0.0950469971, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
813 | - | MeshPart29.BrickColor = BrickColor.new("Bright green") |
813 | + | CFrame.new(1.69232178, 0.448867798, -0.0485534668, -0.998718202, -2.78141903e-013, -0.0506092012, -2.44590914e-013, 1, -6.69131471e-013, 0.0506092012, -6.55895639e-013, -0.998718202), |
814 | - | MeshPart29.CanCollide = false |
814 | + | |
815 | - | MeshPart29.brickColor = BrickColor.new("Bright green") |
815 | + | LSWeld0={ |
816 | - | Vector3Value30.Name = "OriginalSize" |
816 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, -0.0133882314, 0.998898983, 0.0449616797, -0.285072088, -0.0469126627, 0.957357228), |
817 | - | Vector3Value30.Parent = MeshPart29 |
817 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, -0.00892700907, 0.999510646, 0.0299795624, -0.28524664, -0.0312804393, 0.957943439), |
818 | - | Vector3Value30.Value = Vector3.new(1.00063133, 0.335407376, 1.00020337) |
818 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
819 | - | Script31.Name = "ShieldScript" |
819 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
820 | - | Script31.Parent = MeshPart29 |
820 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
821 | - | table.insert(cors,sandbox(Script31,function() |
821 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
822 | - | function ot(hit) |
822 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
823 | - | ch = hit:GetChildren() |
823 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
824 | - | for i = 1, #ch do |
824 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
825 | - | if ch[i].className == "BodyVelocity" then |
825 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
826 | - | ch[i].velocity = ch[i].velocity*-1 |
826 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
827 | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
828 | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
829 | - | if hit.Parent ~= nil then |
829 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
830 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
830 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
831 | - | if hit.Parent ~= script.Parent.Parent then |
831 | + | CFrame.new(0, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
832 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
832 | + | CFrame.new(0, 0, 0, 0.957376122, 0.00194927654, 0.288837343, -0.0153296813, 0.998910785, 0.0440701805, -0.2884368, -0.0466195308, 0.956363201), |
833 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
833 | + | CFrame.new(0, 0, 0, 0.956298888, 0.00372837437, 0.292366713, -0.0307821296, 0.995645761, 0.0879880339, -0.290765643, -0.0931425542, 0.952249765), |
834 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
834 | + | CFrame.new(0, 0, 0, 0.954611719, 0.00606964342, 0.297791034, -0.0541178733, 0.986685514, 0.153371736, -0.292895198, -0.162526309, 0.942230046), |
835 | CFrame.new(0, 0, 0, 0.953442812, 0.00740725128, 0.301482439, -0.0697300285, 0.978022635, 0.196492836, -0.293401182, -0.208367109, 0.933005214), | |
836 | - | hit.Parent.Humanoid.PlatformStand = true |
836 | + | CFrame.new(0, 0, 0, 0.951629877, 0.00907147303, 0.307112306, -0.0931452885, 0.961041629, 0.260236382, -0.292786986, -0.276254863, 0.915400922), |
837 | CFrame.new(0, 0, 0, 0.951011062, 0.00953372009, 0.309009522, -0.100932471, 0.954330266, 0.281187415, -0.292216361, -0.298601478, 0.908540845), | |
838 | CFrame.new(0, 0, 0, 0.949753463, 0.010317931, 0.31282863, -0.116454408, 0.939352691, 0.322575361, -0.290528089, -0.342797369, 0.893355012), | |
839 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
839 | + | CFrame.new(0, 0, 0, 0.947822571, 0.0111404881, 0.318603247, -0.139542475, 0.913062871, 0.383202463, -0.286635756, -0.407666713, 0.866976202), |
840 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
840 | + | CFrame.new(0, 0, 0, 0.945846915, 0.0115350839, 0.324407727, -0.162295759, 0.882301509, 0.441819042, -0.281129032, -0.470543236, 0.83639425), |
841 | - | hit:breakJoints() |
841 | + | CFrame.new(0, 0, 0, 0.944509685, 0.0115593458, 0.328279912, -0.177223161, 0.859383821, 0.479636699, -0.276574135, -0.511200368, 0.813744903), |
842 | - | if hit.Anchored == false then |
842 | + | CFrame.new(0, 0, 0, 0.943836093, 0.0114997737, 0.330213487, -0.184602082, 0.847220361, 0.498136073, -0.274035156, -0.531117082, 0.801760077), |
843 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
843 | + | CFrame.new(0, 0, 0, 0.942480922, 0.0112374015, 0.334070563, -0.199170291, 0.821517646, 0.534265816, -0.268441111, -0.570072412, 0.776502848), |
844 | CFrame.new(0, 0, 0, 0.941800117, 0.0110347383, 0.335991889, -0.206351534, 0.807992399, 0.551876187, -0.265389085, -0.589089632, 0.76324439), | |
845 | CFrame.new(0, 0, 0, 0.939749002, 0.0101422649, 0.341714472, -0.22743693, 0.764810741, 0.602774382, -0.255233377, -0.644175291, 0.721036851), | |
846 | CFrame.new(0, 0, 0, 0.938378155, 0.00931190327, 0.345484525, -0.241073444, 0.733930886, 0.635003209, -0.247648686, -0.679160357, 0.690949619), | |
847 | - | hit:breakJoints() |
847 | + | CFrame.new(0, 0, 0, 0.937008083, 0.00829530135, 0.349208981, -0.254338682, 0.701455712, 0.665786505, -0.239431739, -0.712664843, 0.659379482), |
848 | - | if hit.Anchored == false then |
848 | + | CFrame.new(0, 0, 0, 0.934960961, 0.00642617978, 0.35469228, -0.273477077, 0.649908364, 0.709104657, -0.225960642, -0.759985507, 0.609396279), |
849 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
849 | + | CFrame.new(0, 0, 0, 0.932932198, 0.00415232964, 0.360027581, -0.291620523, 0.595186532, 0.74880594, -0.211174279, -0.803576827, 0.556479633), |
850 | CFrame.new(0, 0, 0, 0.931595206, 0.0024170354, 0.36348927, -0.303119153, 0.557074189, 0.773166955, -0.200621724, -0.830459237, 0.519700289), | |
851 | CFrame.new(0, 0, 0, 0.92961961, -0.000505499542, 0.368519902, -0.319408417, 0.497667849, 0.806414783, -0.183808148, -0.867367625, 0.462480336), | |
852 | CFrame.new(0, 0, 0, 0.927688956, -0.00379859284, 0.373334378, -0.334476411, 0.435837388, 0.835566342, -0.165887058, -0.90001744, 0.403050959), | |
853 | CFrame.new(0, 0, 0, 0.926431477, -0.00619190559, 0.376412183, -0.343806326, 0.393420309, 0.852653086, -0.153367743, -0.919337809, 0.362348109), | |
854 | - | if hit.Parent ~= nil then |
854 | + | CFrame.new(0, 0, 0, 0.925200939, -0.00873749703, 0.37937662, -0.352539927, 0.350154042, 0.86781776, -0.140422821, -0.936651409, 0.320882529), |
855 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
855 | + | CFrame.new(0, 0, 0, 0.923411548, -0.0128291361, 0.383596569, -0.364480674, 0.283869714, 0.886888683, -0.120269462, -0.95877701, 0.257452607), |
856 | - | if hit.Parent ~= script.Parent.Parent then |
856 | + | CFrame.new(0, 0, 0, 0.921697557, -0.017230574, 0.387526035, -0.374978036, 0.216215208, 0.901466727, -0.0993218124, -0.976193666, 0.192823946), |
857 | - | wait(0.5) |
857 | + | CFrame.new(0, 0, 0, 0.92060107, -0.0203263499, 0.389974743, -0.381148577, 0.17051509, 0.908652961, -0.0849661678, -0.98514539, 0.14922902), |
858 | - | hit.Parent.Humanoid.PlatformStand = false |
858 | + | CFrame.new(0, 0, 0, 0.919544399, -0.0235434324, 0.39228034, -0.386640877, 0.124454051, 0.913794279, -0.0703347176, -0.991946042, 0.105338156), |
859 | CFrame.new(0, 0, 0, 0.918038487, -0.0285810232, 0.395459414, -0.393581897, 0.0549065992, 0.917648196, -0.0479406565, -0.99808234, 0.039157398), | |
860 | CFrame.new(0, 0, 0, 0.916634798, -0.033850804, 0.398289651, -0.398936182, -0.0148827564, 0.916857839, -0.0251087155, -0.999316096, -0.027146358), | |
861 | CFrame.new(0, 0, 0, 0.915759087, -0.0374802053, 0.399975687, -0.401610792, -0.0613737777, 0.913751543, -0.00969957933, -0.997410953, -0.0712560415), | |
862 | CFrame.new(0, 0, 0, 0.914933383, -0.0411933362, 0.401496589, -0.403562307, -0.10771782, 0.908589065, 0.00582052022, -0.993327737, -0.115178719), | |
863 | - | function remove(child) |
863 | + | CFrame.new(0, 0, 0, 0.914160132, -0.044982072, 0.402849257, -0.404786646, -0.153813198, 0.901381731, 0.0214175079, -0.987075567, -0.158818051), |
864 | - | child:Remove() |
864 | + | CFrame.new(0, 0, 0, 0.913101673, -0.0507886894, 0.404556304, -0.405254066, -0.222268999, 0.886772513, 0.0448823012, -0.973661721, -0.223536521), |
865 | CFrame.new(0, 0, 0, 0.912465692, -0.0547297709, 0.405475914, -0.40465194, -0.267302662, 0.874531806, 0.0605218746, -0.962057114, -0.266051024), | |
866 | - | script.Parent.Touched:connect(ot) |
866 | + | CFrame.new(0, 0, 0, 0.911887527, -0.0587167591, 0.406218588, -0.403320193, -0.311737865, 0.860320926, 0.0761184543, -0.948352218, -0.30795148), |
867 | - | script.Parent.ChildAdded:connect(remove) |
867 | + | CFrame.new(0, 0, 0, 0.9116202, -0.0607247613, 0.40652293, -0.40238148, -0.333700716, 0.852486134, 0.0838899836, -0.940721154, -0.328642815), |
868 | CFrame.new(0, 0, 0, 0.911130488, -0.0647642463, 0.406997055, -0.399961233, -0.37705642, 0.83537972, 0.0993581265, -0.923923135, -0.369450808), | |
869 | - | Script32.Name = "Hurting" |
869 | + | CFrame.new(0, 0, 0, 0.910509706, -0.0708656386, 0.407369852, -0.394984066, -0.440488487, 0.806199372, 0.122309878, -0.894957006, -0.429059774), |
870 | - | Script32.Parent = MeshPart29 |
870 | + | CFrame.new(0, 0, 0, 0.910027206, -0.0769908726, 0.407335758, -0.388414264, -0.5017187, 0.772924662, 0.144859836, -0.861597776, -0.486482084), |
871 | - | table.insert(cors,sandbox(Script32,function() |
871 | + | CFrame.new(0, 0, 0, 0.898889482, -0.0818261355, 0.430466801, -0.414690137, -0.476170152, 0.775431395, 0.141524911, -0.875537753, -0.461956918), |
872 | - | function onTouched(hit) |
872 | + | CFrame.new(0, 0, 0, 0.893043578, -0.0839998722, 0.442060083, -0.427763581, -0.463299274, 0.776126266, 0.139611602, -0.882211924, -0.44967851), |
873 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
873 | + | CFrame.new(0, 0, 0, 0.87439245, -0.0895345658, 0.476887017, -0.466664255, -0.424367517, 0.775974452, 0.132898822, -0.901052594, -0.412846327), |
874 | - | if (humanoid ~= nil) then |
874 | + | CFrame.new(0, 0, 0, 0.861029148, -0.092394948, 0.500091314, -0.4922809, -0.398203462, 0.774011135, 0.127623364, -0.912631929, -0.388349146), |
875 | - | humanoid.Health = humanoid.Health - 25 |
875 | + | CFrame.new(0, 0, 0, 0.854068995, -0.0935745314, 0.51167345, -0.504978836, -0.385075271, 0.772472203, 0.124749057, -0.918129027, -0.376134008), |
876 | CFrame.new(0, 0, 0, 0.832074344, -0.0961059257, 0.546274483, -0.542569757, -0.345573783, 0.765634716, 0.115196094, -0.933457196, -0.339687258), | |
877 | CFrame.new(0, 0, 0, 0.816485882, -0.0969517007, 0.56916666, -0.567161262, -0.319197267, 0.75923717, 0.108067103, -0.942716002, -0.315607399), | |
878 | CFrame.new(0, 0, 0, 0.791725039, -0.0969567299, 0.603133976, -0.603244543, -0.279679745, 0.746910274, 0.0962663591, -0.955185115, -0.279918104), | |
879 | - | script.Parent.Touched:connect(onTouched) |
879 | + | CFrame.new(0, 0, 0, 0.774306238, -0.0961196125, 0.625468135, -0.6267066, -0.253429562, 0.736893475, 0.0876821727, -0.962566614, -0.256470948), |
880 | CFrame.new(0, 0, 0, 0.746828675, -0.0936105549, 0.658395052, -0.660912156, -0.214303315, 0.719214201, 0.0737702176, -0.972271144, -0.221916169), | |
881 | - | Script33.Name = "qPerfectionWeld" |
881 | + | CFrame.new(0, 0, 0, 0.727622211, -0.0911091566, 0.679900527, -0.683001757, -0.18844673, 0.705688596, 0.0638303608, -0.977848113, -0.199345738), |
882 | - | Script33.Parent = MeshPart29 |
882 | + | CFrame.new(0, 0, 0, 0.697506189, -0.0861296207, 0.711383402, -0.714971125, -0.150105268, 0.682850182, 0.0479687303, -0.984911144, -0.166279599), |
883 | - | table.insert(cors,sandbox(Script33,function() |
883 | + | CFrame.new(0, 0, 0, 0.676574767, -0.0820034891, 0.731793702, -0.73545444, -0.124898523, 0.665963292, 0.0367886461, -0.988775015, -0.144812986), |
884 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
884 | + | CFrame.new(0, 0, 0, 0.654974937, -0.0772430152, 0.751692355, -0.755231977, -0.100020945, 0.647781014, 0.0251484439, -0.99198252, -0.123847589), |
885 | - | -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera. |
885 | + | CFrame.new(0, 0, 0, 0.632721066, -0.0718592703, 0.771038413, -0.774269462, -0.0755102187, 0.628334999, 0.0130695906, -0.994552493, -0.103415333), |
886 | - | -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them. |
886 | + | CFrame.new(0, 0, 0, 0.621353567, -0.068937391, 0.78049159, -0.783500016, -0.0634041056, 0.618148386, 0.00687281042, -0.995604038, -0.0934088156), |
887 | CFrame.new(0, 0, 0, 0.586314857, -0.0592714846, 0.807911873, -0.809989572, -0.0277361646, 0.585787654, -0.0123121217, -0.997856498, -0.0642714128), | |
888 | - | --[[ INSTRUCTIONS |
888 | + | CFrame.new(0, 0, 0, 0.562197089, -0.0520954132, 0.825360775, -0.826607883, -0.00454296172, 0.562759876, -0.02556758, -0.998631835, -0.0456164889), |
889 | - | - Place in the model |
889 | + | CFrame.new(0, 0, 0, 0.5374946, -0.0443519056, 0.842099786, -0.842356801, 0.0181421787, 0.538614333, -0.0391661376, -0.99885118, -0.0276088342), |
890 | - | - Make sure model is anchored |
890 | + | CFrame.new(0, 0, 0, 0.512228012, -0.0360579789, 0.858091891, -0.857207298, 0.0402875841, 0.513392925, -0.0530824214, -0.998537183, -0.0102727804), |
891 | - | - That's it. It will weld the model and all children. |
891 | + | CFrame.new(0, 0, 0, 0.499389768, -0.0317100883, 0.865796626, -0.864286542, 0.0511482656, 0.500392139, -0.0601515472, -0.998187423, -0.00186371151), |
892 | CFrame.new(0, 0, 0, 0.460088789, -0.0178916454, 0.887692451, -0.88410008, 0.0828374475, 0.459896505, -0.0817624852, -0.996402442, 0.0222945511), | |
893 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
893 | + | CFrame.new(0, 0, 0, 0.433262169, -0.00805878639, 0.901231825, -0.896089792, 0.10318426, 0.431712806, -0.0964719951, -0.994629622, 0.0374844484), |
894 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
894 | + | CFrame.new(0, 0, 0, 0.405963391, 0.00224584341, 0.913886368, -0.907075226, 0.122876495, 0.402635872, -0.111390933, -0.992419362, 0.0519204736), |
895 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
895 | + | CFrame.new(0, 0, 0, 0.378218353, 0.0130002797, 0.925624967, -0.917033553, 0.141889364, 0.372715056, -0.126490995, -0.989797115, 0.0655868128), |
896 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
896 | + | CFrame.new(0, 0, 0, 0.350053519, 0.0241811872, 0.936417401, -0.925943315, 0.16019918, 0.342001319, -0.141743332, -0.986788452, 0.0784686655), |
897 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
897 | + | CFrame.new(0, 0, 0, 0.30708009, 0.0416993797, 0.950769663, -0.937298238, 0.186298728, 0.294558316, -0.16484426, -0.981607914, 0.0962933898), |
898 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
898 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
899 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
899 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
900 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
900 | + | CFrame.new(0, 0, 0, 0.277990043, 0.0538390875, 0.959073842, -0.943501651, 0.202758521, 0.26209417, -0.180349484, -0.9777475, 0.107162111), |
901 | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), | |
902 | - | This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes. |
902 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
903 | - | ]] |
903 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501711, 0.20275867, 0.2620942, -0.180349618, -0.97774756, 0.107162222), |
904 | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), | |
905 | - | --[[ DOCUMENTATION |
905 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
906 | - | - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again. |
906 | + | CFrame.new(0, 0, 0, 0.277990133, 0.0538392067, 0.959073961, -0.943501651, 0.202758759, 0.2620942, -0.180349678, -0.97774756, 0.107162297), |
907 | - | - Will work in PBS servers |
907 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
908 | - | - Will work as long as it starts out with the part anchored |
908 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
909 | - | - Stores the relative CFrame as a CFrame value |
909 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
910 | - | - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin |
910 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
911 | - | - Utilizes a recursive algorith to find all parts in the model |
911 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
912 | - | - Will reweld on script reparent if the script is initially parented to a tool. |
912 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
913 | - | - Welds as fast as possible |
913 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
914 | - | ]] |
914 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
915 | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), | |
916 | - | -- qPerfectionWeld.lua |
916 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
917 | - | -- Created 10/6/2014 |
917 | + | CFrame.new(0, 0, 0, 0.277990192, 0.0538391471, 0.959073961, -0.943501711, 0.202758759, 0.262094259, -0.180349633, -0.977747619, 0.107162282), |
918 | - | -- Author: Quenty |
918 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501711, 0.20275867, 0.2620942, -0.180349618, -0.97774756, 0.107162222), |
919 | - | -- Version 1.0.3 |
919 | + | CFrame.new(0, 0, 0, 0.277990133, 0.0538391173, 0.959073961, -0.943501711, 0.20275861, 0.262094259, -0.180349529, -0.977747619, 0.107162215), |
920 | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), | |
921 | - | -- Updated 10/14/2014 - Updated to 1.0.1 |
921 | + | CFrame.new(0, 0, 0, 0.277990133, 0.0538391769, 0.959073961, -0.943501592, 0.202758759, 0.2620942, -0.180349663, -0.97774756, 0.107162267), |
922 | - | --- Bug fix with existing ROBLOX welds ? Repro by asimo3089 |
922 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391471, 0.959073901, -0.943501651, 0.20275861, 0.2620942, -0.180349559, -0.97774756, 0.107162207), |
923 | CFrame.new(0, 0, 0, 0.277990192, 0.0538391471, 0.959073961, -0.943501711, 0.202758759, 0.262094259, -0.180349633, -0.977747619, 0.107162282), | |
924 | - | -- Updated 10/14/2014 - Updated to 1.0.2 |
924 | + | CFrame.new(0, 0, 0, 0.277990073, 0.0538391173, 0.959073901, -0.943501711, 0.20275867, 0.2620942, -0.180349618, -0.97774756, 0.107162192), |
925 | - | --- Fixed bug fix. |
925 | + | CFrame.new(0, 0, 0, 0.329226315, 0.0483807623, 0.943010449, -0.925561905, 0.214246392, 0.312142968, -0.186934963, -0.975580633, 0.115314916), |
926 | CFrame.new(0, 0, 0, 0.428647518, 0.0345939696, 0.902809143, -0.881618857, 0.234465271, 0.409602284, -0.19750765, -0.971508801, 0.131001651), | |
927 | - | -- Updated 10/14/2014 - Updated to 1.0.3 |
927 | + | CFrame.new(0, 0, 0, 0.522956789, 0.0174363256, 0.852180839, -0.82738632, 0.250622839, 0.502613187, -0.204812229, -0.967927873, 0.145491481), |
928 | - | --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/ |
928 | + | CFrame.new(0, 0, 0, 0.567817628, 0.00777888298, 0.823117316, -0.796617091, 0.257049203, 0.547107577, -0.207325786, -0.966366947, 0.152153924), |
929 | CFrame.new(0, 0, 0, 0.691560864, -0.0245390385, 0.721901119, -0.690871, 0.269211531, 0.670986056, -0.210809439, -0.962768435, 0.169222862), | |
930 | - | local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges). |
930 | + | CFrame.new(0, 0, 0, 0.763771951, -0.0480145216, 0.643697798, -0.610293269, 0.271066219, 0.7443555, -0.210224569, -0.961362481, 0.177729815), |
931 | CFrame.new(0, 0, 0, 0.826731324, -0.0721988752, 0.557944834, -0.522812724, 0.26771614, 0.80931741, -0.207802653, -0.960788965, 0.183582827), | |
932 | CFrame.new(0, 0, 0, 0.854508936, -0.0843272731, 0.512545645, -0.476822793, 0.264062643, 0.838397741, -0.206043988, -0.960812032, 0.185434744), | |
933 | - | local function CallOnChildren(Instance, FunctionToCall) |
933 | + | CFrame.new(0, 0, 0, 0.922134101, -0.1197474, 0.367870927, -0.331589669, 0.245195612, 0.91100347, -0.199290633, -0.962049723, 0.186396241), |
934 | - | -- Calls a function on each of the children of a certain object, using recursion. |
934 | + | CFrame.new(0, 0, 0, 0.965072513, -0.151801527, 0.213520899, -0.178661957, 0.214746013, 0.960189462, -0.191611007, -0.964800715, 0.180124313), |
935 | CFrame.new(0, 0, 0, 0.973741472, -0.16132389, 0.160630316, -0.126710087, 0.20213604, 0.971125841, -0.18913497, -0.965979159, 0.176386848), | |
936 | - | FunctionToCall(Instance) |
936 | + | CFrame.new(0, 0, 0, 0.982545972, -0.178119436, 0.0536358207, -0.0223047733, 0.173444644, 0.984590888, -0.184677631, -0.968602359, 0.166444421), |
937 | CFrame.new(0, 0, 0, 0.974590957, -0.196523428, -0.107474118, 0.1331487, 0.122450888, 0.983502328, -0.180120945, -0.972822785, 0.145506397), | |
938 | - | for _, Child in next, Instance:GetChildren() do |
938 | + | CFrame.new(0, 0, 0, 0.955545425, -0.203443244, -0.213409886, 0.234166712, 0.0838228911, 0.968576074, -0.179161608, -0.975492001, 0.127736211), |
939 | - | CallOnChildren(Child, FunctionToCall) |
939 | + | CFrame.new(0, 0, 0, 0.911606193, -0.208464429, -0.354283512, 0.369866103, 0.0398931056, 0.92822814, -0.179369092, -0.977216005, 0.113470733), |
940 | CFrame.new(0, 0, 0, 0.878230929, -0.2137025, -0.427833319, 0.444327772, 0.0337576754, 0.895227849, -0.17686975, -0.97631532, 0.124600954), | |
941 | CFrame.new(0, 0, 0, 0.859303594, -0.215926141, -0.463651597, 0.480445743, 0.0298758186, 0.876515269, -0.175410569, -0.975952446, 0.129413217), | |
942 | CFrame.new(0, 0, 0, 0.793946683, -0.220648557, -0.566535711, 0.583574176, 0.0151654035, 0.811918139, -0.170556754, -0.975235462, 0.140805334), | |
943 | - | local function GetNearestParent(Instance, ClassName) |
943 | + | CFrame.new(0, 0, 0, 0.716544569, -0.221844703, -0.661323667, 0.677594125, -0.00373519957, 0.735426664, -0.1656207, -0.975074947, 0.147644237), |
944 | - | -- Returns the nearest parent of a certain class, or returns nil |
944 | + | CFrame.new(0, 0, 0, 0.688276052, -0.221334577, -0.690859735, 0.706646144, -0.0108633637, 0.707483649, -0.16409573, -0.975137472, 0.14892824), |
945 | CFrame.new(0, 0, 0, 0.628342748, -0.218804628, -0.746531844, 0.761009336, -0.0262127668, 0.648211122, -0.161400244, -0.975416541, 0.150041744), | |
946 | - | local Ancestor = Instance |
946 | + | CFrame.new(0, 0, 0, 0.596788943, -0.216740489, -0.772571206, 0.786225855, -0.0343798548, 0.616981864, -0.16028586, -0.975623608, 0.149889529), |
947 | - | repeat |
947 | + | CFrame.new(0, 0, 0, 0.496492147, -0.2071141, -0.842970371, 0.853503525, -0.0605058968, 0.517562032, -0.158199057, -0.976443946, 0.146731883), |
948 | - | Ancestor = Ancestor.Parent |
948 | + | CFrame.new(0, 0, 0, 0.389089137, -0.191991121, -0.900970876, 0.907457411, -0.0884244144, 0.410733223, -0.158524767, -0.977404833, 0.139818698), |
949 | - | if Ancestor == nil then |
949 | + | CFrame.new(0, 0, 0, 0.352025449, -0.185666621, -0.917390704, 0.922338426, -0.0979786515, 0.373753488, -0.159278244, -0.977715731, 0.136756465), |
950 | - | return nil |
950 | + | CFrame.new(0, 0, 0, 0.276431292, -0.171035469, -0.945691466, 0.947302043, -0.117258042, 0.298109233, -0.161877051, -0.978262365, 0.129608363), |
951 | } | |
952 | - | until Ancestor:IsA(ClassName) |
952 | + | LSWeld1={ |
953 | CFrame.new(-1.49996948, 0.000717163086, 0.0268859863, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
954 | - | return Ancestor |
954 | + | CFrame.new(-1.49996948, 0.000717163086, 0.0268859863, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
955 | CFrame.new(-1.5, 0.00032043457, 0.0179290771, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
956 | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
957 | - | local function GetBricks(StartInstance) |
957 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
958 | - | local List = {} |
958 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
959 | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
960 | - | -- if StartInstance:IsA("BasePart") then |
960 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
961 | - | -- List[#List+1] = StartInstance |
961 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
962 | - | -- end |
962 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
963 | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
964 | - | CallOnChildren(StartInstance, function(Item) |
964 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
965 | - | if Item:IsA("BasePart") then |
965 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
966 | - | List[#List+1] = Item; |
966 | + | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
967 | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
968 | CFrame.new(-1.5, 0, 0, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
969 | CFrame.new(-1.49893188, -0.000427246094, -0.025100708, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
970 | - | return List |
970 | + | CFrame.new(-1.49717712, 0.00112915039, -0.0627288818, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
971 | CFrame.new(-1.49588013, 0.00361633301, -0.0877075195, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
972 | CFrame.new(-1.49453735, 0.00727844238, -0.112518311, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
973 | - | local function Modify(Instance, Values) |
973 | + | CFrame.new(-1.49234009, 0.0149383545, -0.149383545, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
974 | - | -- Modifies an Instance by using a table. |
974 | + | CFrame.new(-1.49075317, 0.0214691162, -0.173599243, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
975 | CFrame.new(-1.48997498, 0.0251617432, -0.185577393, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
976 | - | assert(type(Values) == "table", "Values is not a table"); |
976 | + | CFrame.new(-1.48745728, 0.037902832, -0.220977783, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
977 | CFrame.new(-1.48658752, 0.0426940918, -0.232543945, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
978 | - | for Index, Value in next, Values do |
978 | + | CFrame.new(-1.4838562, 0.0586700439, -0.266601563, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
979 | - | if type(Index) == "number" then |
979 | + | CFrame.new(-1.48200989, 0.0706329346, -0.288604736, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
980 | - | Value.Parent = Instance |
980 | + | CFrame.new(-1.48008728, 0.0836181641, -0.310028076, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
981 | CFrame.new(-1.4781189, 0.0975952148, -0.330841064, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
982 | - | Instance[Index] = Value |
982 | + | CFrame.new(-1.47711182, 0.104934692, -0.340988159, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
983 | CFrame.new(-1.47406006, 0.128372192, -0.370330811, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
984 | CFrame.new(-1.47195435, 0.145126343, -0.388977051, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
985 | - | return Instance |
985 | + | CFrame.new(-1.46983337, 0.162719727, -0.406799316, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
986 | CFrame.new(-1.46769714, 0.181137085, -0.42376709, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
987 | CFrame.new(-1.46554565, 0.200332642, -0.439834595, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
988 | - | local function Make(ClassType, Properties) |
988 | + | CFrame.new(-1.46224976, 0.23046875, -0.462219238, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
989 | - | -- Using a syntax hack to create a nice way to Make new items. |
989 | + | CFrame.new(-1.46005249, 0.251419067, -0.475952148, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
990 | CFrame.new(-1.45675659, 0.283981323, -0.494659424, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
991 | - | return Modify(Instance.new(ClassType), Properties) |
991 | + | CFrame.new(-1.45455933, 0.306381226, -0.505828857, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
992 | CFrame.new(-1.45239258, 0.329284668, -0.515945435, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
993 | CFrame.new(-1.4491272, 0.364471436, -0.529052734, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
994 | - | local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"} |
994 | + | CFrame.new(-1.44804382, 0.376403809, -0.532897949, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
995 | - | local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"} |
995 | + | CFrame.new(-1.44487, 0.41267395, -0.542663574, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
996 | CFrame.new(-1.44380188, 0.42489624, -0.545318604, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
997 | - | local function HasWheelJoint(Part) |
997 | + | CFrame.new(-1.44274902, 0.437194824, -0.547714233, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
998 | - | for _, SurfaceName in pairs(Surfaces) do |
998 | + | CFrame.new(-1.43969727, 0.474365234, -0.553161621, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
999 | - | for _, HingSurfaceName in pairs(HingSurfaces) do |
999 | + | CFrame.new(-1.43768311, 0.499328613, -0.555343628, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1000 | - | if Part[SurfaceName].Name == HingSurfaceName then |
1000 | + | CFrame.new(-1.43572998, 0.524368286, -0.556365967, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1001 | - | return true |
1001 | + | CFrame.new(-1.43380737, 0.549423218, -0.556182861, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1002 | CFrame.new(-1.43109131, 0.586929321, -0.553710938, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1003 | CFrame.new(-1.42929077, 0.611816406, -0.550613403, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1004 | CFrame.new(-1.42762756, 0.636520386, -0.546356201, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1005 | CFrame.new(-1.42597961, 0.661010742, -0.540924072, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1006 | - | return false |
1006 | + | CFrame.new(-1.42367554, 0.69720459, -0.530654907, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1007 | CFrame.new(-1.42153931, 0.73260498, -0.517883301, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1008 | CFrame.new(-1.42086792, 0.74420166, -0.513076782, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1009 | - | local function ShouldBreakJoints(Part) |
1009 | + | CFrame.new(-1.41955566, 0.767028809, -0.502655029, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1010 | - | --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are |
1010 | + | CFrame.new(-1.40530396, 0.784240723, -0.502426147, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1011 | - | -- definitely some edge cases. |
1011 | + | CFrame.new(-1.37882996, 0.773651123, -0.524505615, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1012 | CFrame.new(-1.33821106, 0.756958008, -0.55645752, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1013 | - | if NEVER_BREAK_JOINTS then |
1013 | + | CFrame.new(-1.32444763, 0.751174927, -0.566772461, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1014 | - | return false |
1014 | + | CFrame.new(-1.29663086, 0.739334106, -0.58694458, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1015 | CFrame.new(-1.25404358, 0.720840454, -0.615905762, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1016 | CFrame.new(-1.22517395, 0.708084106, -0.634277344, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1017 | - | if HasWheelJoint(Part) then |
1017 | + | CFrame.new(-1.1811676, 0.688323975, -0.660461426, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1018 | - | return false |
1018 | + | CFrame.new(-1.15133667, 0.67477417, -0.676956177, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1019 | CFrame.new(-1.13632202, 0.667907715, -0.684906006, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1020 | CFrame.new(-1.09069824, 0.646896362, -0.707550049, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1021 | - | local Connected = Part:GetConnectedParts() |
1021 | + | CFrame.new(-1.05993652, 0.632614136, -0.721618652, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1022 | CFrame.new(-1.02888489, 0.618118286, -0.734802246, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1023 | - | if #Connected == 1 then |
1023 | + | CFrame.new(-0.997543335, 0.60345459, -0.747177124, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1024 | - | return false |
1024 | + | CFrame.new(-0.981811523, 0.596069336, -0.75302124, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1025 | CFrame.new(-0.934249878, 0.573684692, -0.769241333, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1026 | CFrame.new(-0.902252197, 0.558639526, -0.778961182, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1027 | - | for _, Item in pairs(Connected) do |
1027 | + | CFrame.new(-0.870117188, 0.543502808, -0.787750244, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1028 | - | if HasWheelJoint(Item) then |
1028 | + | CFrame.new(-0.83782959, 0.528320313, -0.795639038, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1029 | - | return false |
1029 | + | CFrame.new(-0.789138794, 0.505493164, -0.805786133, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1030 | - | elseif not Item:IsDescendantOf(script.Parent) then |
1030 | + | CFrame.new(-0.756591797, 0.490280151, -0.811355591, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1031 | - | return false |
1031 | + | CFrame.new(-0.707672119, 0.467529297, -0.818023682, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1032 | CFrame.new(-0.691345215, 0.459976196, -0.819778442, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1033 | CFrame.new(-0.658630371, 0.44493103, -0.82258606, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1034 | CFrame.new(-0.609664917, 0.422561646, -0.825073242, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1035 | - | return true |
1035 | + | CFrame.new(-0.560821533, 0.400497437, -0.825469971, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1036 | CFrame.new(-0.544570923, 0.393234253, -0.825149536, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1037 | CFrame.new(-0.512176514, 0.378829956, -0.823822021, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1038 | - | local function WeldTogether(Part0, Part1, JointType, WeldParent) |
1038 | + | CFrame.new(-0.49029541, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1039 | - | --- Weld's 2 parts together |
1039 | + | CFrame.new(-0.473144531, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1040 | - | -- @param Part0 The first part |
1040 | + | CFrame.new(-0.461685181, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1041 | - | -- @param Part1 The second part (Dependent part most of the time). |
1041 | + | CFrame.new(-0.444473267, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1042 | - | -- @param [JointType] The type of joint. Defaults to weld. |
1042 | + | CFrame.new(-0.433044434, 0.371704102, -0.822799683, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1043 | - | -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better). |
1043 | + | CFrame.new(-0.421585083, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1044 | - | -- @return The weld created. |
1044 | + | CFrame.new(-0.404403687, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1045 | CFrame.new(-0.398651123, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1046 | - | JointType = JointType or "Weld" |
1046 | + | CFrame.new(-0.381484985, 0.371704102, -0.822799683, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1047 | - | local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue") |
1047 | + | CFrame.new(-0.364303589, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1048 | CFrame.new(-0.352844238, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1049 | - | local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType) |
1049 | + | CFrame.new(-0.341369629, 0.371704102, -0.822799683, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1050 | - | Modify(NewWeld, { |
1050 | + | CFrame.new(-0.335662842, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1051 | - | Name = "qCFrameWeldThingy"; |
1051 | + | CFrame.new(-0.324203491, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1052 | - | Part0 = Part0; |
1052 | + | CFrame.new(-0.318481445, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1053 | - | Part1 = Part1; |
1053 | + | CFrame.new(-0.301269531, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1054 | - | C0 = CFrame.new();--Part0.CFrame:inverse(); |
1054 | + | CFrame.new(-0.289855957, 0.371704102, -0.822784424, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1055 | - | C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse(); |
1055 | + | CFrame.new(-0.278381348, 0.371704102, -0.822799683, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1056 | - | Parent = Part1; |
1056 | + | CFrame.new(-0.266921997, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1057 | CFrame.new(-0.26121521, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1058 | CFrame.new(-0.244033813, 0.371704102, -0.822799683, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1059 | - | if not RelativeValue then |
1059 | + | CFrame.new(-0.232574463, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1060 | - | RelativeValue = Make("CFrameValue", { |
1060 | + | CFrame.new(-0.221115112, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1061 | - | Parent = Part1; |
1061 | + | CFrame.new(-0.209655762, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1062 | - | Name = "qRelativeCFrameWeldValue"; |
1062 | + | CFrame.new(-0.203903198, 0.371704102, -0.822799683, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1063 | - | Archivable = true; |
1063 | + | CFrame.new(-0.186752319, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1064 | - | Value = NewWeld.C1; |
1064 | + | CFrame.new(-0.169555664, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1065 | - | }) |
1065 | + | CFrame.new(-0.163833618, 0.371704102, -0.822814941, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1066 | CFrame.new(-0.152374268, 0.371704102, -0.822799683, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1067 | CFrame.new(-0.368164063, 0.365463257, -0.836212158, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1068 | - | return NewWeld |
1068 | + | CFrame.new(-0.584793091, 0.367584229, -0.83190918, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1069 | CFrame.new(-0.798919678, 0.377655029, -0.810043335, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1070 | CFrame.new(-0.86920166, 0.382675171, -0.798904419, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1071 | - | local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor) |
1071 | + | CFrame.new(-1.07518005, 0.402236938, -0.754486084, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1072 | - | -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results. |
1072 | + | CFrame.new(-1.27159119, 0.427688599, -0.694458008, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1073 | - | -- @param MainPart The part to weld the model to (can be in the model). |
1073 | + | CFrame.new(-1.39596558, 0.447311401, -0.64654541, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1074 | - | -- @param [JointType] The type of joint. Defaults to weld. |
1074 | + | CFrame.new(-1.51431274, 0.468521118, -0.592895508, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1075 | - | -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion. |
1075 | + | CFrame.new(-1.57096863, 0.47958374, -0.564147949, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1076 | CFrame.new(-1.78007507, 0.525466919, -0.438171387, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1077 | - | for _, Part in pairs(Parts) do |
1077 | + | CFrame.new(-1.87333679, 0.548492432, -0.369903564, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1078 | - | if ShouldBreakJoints(Part) then |
1078 | + | CFrame.new(-1.95870972, 0.570892334, -0.299133301, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1079 | - | Part:BreakJoints() |
1079 | + | CFrame.new(-2.00244141, 0.584289551, -0.234848022, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1080 | CFrame.new(-2.00737, 0.593017578, -0.149337769, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1081 | CFrame.new(-2.00469971, 0.59942627, -0.0921630859, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1082 | CFrame.new(-1.99725342, 0.606079102, -0.0353393555, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1083 | - | for _, Part in pairs(Parts) do |
1083 | + | CFrame.new(-1.98509216, 0.612792969, 0.0207519531, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1084 | - | if Part ~= MainPart then |
1084 | + | CFrame.new(-1.95820618, 0.622512817, 0.102706909, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1085 | - | WeldTogether(MainPart, Part, JointType, MainPart) |
1085 | + | CFrame.new(-1.93469238, 0.628479004, 0.155334473, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), |
1086 | CFrame.new(-1.89155579, 0.636184692, 0.23034668, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1087 | CFrame.new(-1.8578186, 0.640213013, 0.277282715, 0.958412468, -2.78141903e-013, 0.285386294, 7.93909887e-014, 1, 7.07996379e-013, -0.285386294, -6.55895639e-013, 0.958412468), | |
1088 | } | |
1089 | - | if not DoNotUnanchor then |
1089 | + | NWeld0={ |
1090 | - | for _, Part in pairs(Parts) do |
1090 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1091 | - | Part.Anchored = false |
1091 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1092 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0547729693, 0.990852535, 0.123333775, -0.402165622, 0.134949222, -0.90556711), | |
1093 | - | MainPart.Anchored = false |
1093 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), |
1094 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), | |
1095 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), | |
1096 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), | |
1097 | - | local function PerfectionWeld() |
1097 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), |
1098 | - | local Tool = GetNearestParent(script, "Tool") |
1098 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), |
1099 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), | |
1100 | - | local Parts = GetBricks(script.Parent) |
1100 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), |
1101 | - | local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1] |
1101 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), |
1102 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), | |
1103 | - | if PrimaryPart then |
1103 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), |
1104 | - | WeldParts(Parts, PrimaryPart, "Weld", false) |
1104 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.122140735, 0.953646421, 0.275027573, -0.387064457, 0.300929397, -0.871563435), |
1105 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.119628355, 0.955577672, 0.269370407, -0.387848318, 0.294739425, -0.873328507), | |
1106 | - | warn("qWeld - Unable to weld part") |
1106 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.114570379, 0.959332764, 0.257981211, -0.389372408, 0.282277614, -0.876760364), |
1107 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.10949301, 0.962925315, 0.246548355, -0.390830547, 0.269768029, -0.880043685), | |
1108 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.101842381, 0.96800822, 0.229321241, -0.392893583, 0.250918478, -0.884689093), | |
1109 | - | return Tool |
1109 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0992834195, 0.969620585, 0.223559141, -0.393548012, 0.244613722, -0.886162698), |
1110 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0915817022, 0.974211156, 0.206216991, -0.395411223, 0.2256383, -0.89035815), | |
1111 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0864276662, 0.977065325, 0.194611505, -0.396569669, 0.212939814, -0.892966628), | |
1112 | - | local Tool = PerfectionWeld() |
1112 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0786694214, 0.981036127, 0.177142054, -0.398181349, 0.193825111, -0.896595657), |
1113 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0734804124, 0.983475626, 0.16545783, -0.399171472, 0.181040481, -0.898825169), | |
1114 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0682789534, 0.985748589, 0.153745562, -0.400094032, 0.168225169, -0.90090251), | |
1115 | - | if Tool and script.ClassName == "Script" then |
1115 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0630659387, 0.98785454, 0.142007276, -0.400948793, 0.155381382, -0.902827203), |
1116 | - | --- Don't bother with local scripts |
1116 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0552266762, 0.990699649, 0.124355398, -0.402103543, 0.136067063, -0.905427396), |
1117 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0499886014, 0.992386639, 0.112560682, -0.402788281, 0.123161532, -0.90696919), | |
1118 | - | script.Parent.AncestryChanged:connect(function() |
1118 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0421159044, 0.994601846, 0.0948335156, -0.403687358, 0.103764839, -0.908993721), |
1119 | - | PerfectionWeld() |
1119 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.039487958, 0.995256066, 0.0889161006, -0.403952897, 0.0972901285, -0.909591675), |
1120 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0342271514, 0.996438026, 0.077070199, -0.404432625, 0.0843285918, -0.91067189), | |
1121 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0263253562, 0.997894347, 0.0592775121, -0.405023724, 0.0648602098, -0.912002861), | |
1122 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0210517347, 0.998654008, 0.0474027582, -0.405332059, 0.0518671013, -0.912697136), | |
1123 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
1123 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.0131348884, 0.999476254, 0.0295761824, -0.405665785, 0.0323616378, -0.913448572), |
1124 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, 0.00521304179, 0.999917507, 0.011738346, -0.405844897, 0.0128438519, -0.913851857), | |
1125 | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -6.94921982e-005, 1, -0.000156477457, -0.405878365, -0.000171214342, -0.913927257), | |
1126 | - | Motor6D34.Name = "RightAnkle" |
1126 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.00271079852, 0.999977708, -0.00610397803, -0.405869305, -0.00667884434, -0.913906872), |
1127 | - | Motor6D34.Parent = MeshPart29 |
1127 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0079929661, 0.999806046, -0.0179979783, -0.405799657, -0.0196930096, -0.913749993), |
1128 | - | Motor6D34.C0 = CFrame.new(0.0259127952, -4.8134017, 0.00191943871, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1128 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0106336102, 0.999656737, -0.0239439867, -0.405739039, -0.0261990074, -0.913613558), |
1129 | - | Motor6D34.C1 = CFrame.new(0.0610660091, 0.215656728, 0.0010534653, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1129 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0185523573, 0.998954773, -0.0417748429, -0.405454129, -0.0457091555, -0.912971973), |
1130 | - | Motor6D34.Part0 = MeshPart46 |
1130 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0238277745, 0.99827528, -0.0536536425, -0.405178338, -0.0587066896, -0.912351012), |
1131 | - | Motor6D34.Part1 = MeshPart29 |
1131 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0317330658, 0.996938944, -0.0714542046, -0.404635936, -0.0781836882, -0.911129653), |
1132 | - | Motor6D34.part1 = MeshPart29 |
1132 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0343656242, 0.996409059, -0.0773820058, -0.404420882, -0.0846697614, -0.910645425), |
1133 | - | MeshPart35.Name = "RightHand" |
1133 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0422541164, 0.994566262, -0.0951447338, -0.403672934, -0.104105368, -0.908961236), |
1134 | - | MeshPart35.Parent = Model0 |
1134 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.047504358, 0.993127108, -0.106966846, -0.403088808, -0.117040873, -0.907645941), |
1135 | - | MeshPart35.CFrame = CFrame.new(-44.8740196, 14.6748857, 52.6960068, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
1135 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0527465418, 0.99151969, -0.118770815, -0.402436376, -0.129956529, -0.906176865), |
1136 | - | MeshPart35.Orientation = Vector3.new(0, -89.9599991, 0) |
1136 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0579797886, 0.989744306, -0.130554661, -0.401715815, -0.142850161, -0.904554307), |
1137 | - | MeshPart35.Position = Vector3.new(-44.8740196, 14.6748857, 52.6960068) |
1137 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0605928004, 0.988793731, -0.136438444, -0.401329994, -0.149288073, -0.90368557), |
1138 | - | MeshPart35.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
1138 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0684159473, 0.985690951, -0.154054031, -0.400070637, -0.16856268, -0.900849819), |
1139 | - | MeshPart35.Color = Color3.new(0.960784, 0.803922, 0.188235) |
1139 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0736170858, 0.983413577, -0.165765584, -0.399146289, -0.181377217, -0.898768485), |
1140 | - | MeshPart35.Size = Vector3.new(6.76771307, 2.27050614, 6.77447462) |
1140 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0788057372, 0.980969667, -0.177449003, -0.398154378, -0.194160968, -0.89653492), |
1141 | - | MeshPart35.BrickColor = BrickColor.new("Bright yellow") |
1141 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0839810669, 0.97835958, -0.189102426, -0.397094995, -0.206911907, -0.894149482), |
1142 | - | MeshPart35.CanCollide = false |
1142 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0891421512, 0.975583732, -0.200723797, -0.395968318, -0.219627753, -0.891612589), |
1143 | - | MeshPart35.brickColor = BrickColor.new("Bright yellow") |
1143 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.0968551934, 0.971110284, -0.218091458, -0.394152641, -0.238631085, -0.887524188), |
1144 | - | Vector3Value36.Name = "OriginalSize" |
1144 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.104531333, 0.966266692, -0.23537603, -0.392186731, -0.257543504, -0.88309747), |
1145 | - | Vector3Value36.Parent = MeshPart35 |
1145 | + | CFrame.new(0, 0, 0, -0.913927257, -2.78141903e-013, 0.405878365, -0.109626792, 0.962832928, -0.246849597, -0.390793055, -0.270097643, -0.879959285), |
1146 | - | Vector3Value36.Value = Vector3.new(0.999299049, 0.335255772, 1.00029743) |
1146 | + | CFrame.new(0, 0, 0, -0.904546857, 0.0034356548, 0.426360756, -0.112896025, 0.962347269, -0.247269556, -0.411156654, -0.271801263, -0.870100319), |
1147 | - | Script37.Name = "ShieldScript" |
1147 | + | CFrame.new(0, 0, 0, -0.873435974, 0.0131304711, 0.486762166, -0.11436218, 0.966144383, -0.231270999, -0.473319262, -0.257667542, -0.842363656), |
1148 | - | Script37.Parent = MeshPart35 |
1148 | + | CFrame.new(0, 0, 0, -0.838135719, 0.0218305252, 0.545024991, -0.114788853, 0.969763696, -0.21536462, -0.533246994, -0.243067518, -0.810287714), |
1149 | - | table.insert(cors,sandbox(Script37,function() |
1149 | + | CFrame.new(0, 0, 0, -0.812356174, 0.0270671751, 0.58253336, -0.114504278, 0.972073555, -0.204845905, -0.571809828, -0.233110338, -0.786570609), |
1150 | - | function ot(hit) |
1150 | + | CFrame.new(0, 0, 0, -0.784842789, 0.0318470225, 0.618876338, -0.113771752, 0.974298298, -0.19441919, -0.609161794, -0.222999081, -0.761047602), |
1151 | - | ch = hit:GetChildren() |
1151 | + | CFrame.new(0, 0, 0, -0.740449727, 0.0381515287, 0.671028256, -0.111849129, 0.97747153, -0.178994969, -0.662739873, -0.207590654, -0.719501317), |
1152 | - | for i = 1, #ch do |
1152 | + | CFrame.new(0, 0, 0, -0.692499042, 0.0434094034, 0.720111787, -0.108963236, 0.980442703, -0.16388759, -0.713142633, -0.191957653, -0.674225569), |
1153 | - | if ch[i].className == "BodyVelocity" then |
1153 | + | CFrame.new(0, 0, 0, -0.65866816, 0.0463306829, 0.751006007, -0.106519997, 0.982308686, -0.154023215, -0.744855762, -0.181447297, -0.642080247), |
1154 | - | ch[i].velocity = ch[i].velocity*-1 |
1154 | + | CFrame.new(0, 0, 0, -0.623429954, 0.0487844273, 0.78035593, -0.103673548, 0.984081388, -0.144345745, -0.774975538, -0.170891687, -0.608448148), |
1155 | CFrame.new(0, 0, 0, -0.586859822, 0.0507714935, 0.808095336, -0.100435361, 0.985759676, -0.134872675, -0.803435445, -0.160312638, -0.573403478), | |
1156 | CFrame.new(0, 0, 0, -0.52967906, 0.0528812334, 0.8465482, -0.0948702395, 0.988098443, -0.121083066, -0.842875957, -0.144447356, -0.518358231), | |
1157 | - | if hit.Parent ~= nil then |
1157 | + | CFrame.new(0, 0, 0, -0.510039389, 0.0533537045, 0.858494878, -0.0928329378, 0.98883009, -0.116606653, -0.855126977, -0.139170557, -0.499389291), |
1158 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1158 | + | CFrame.new(0, 0, 0, -0.449529499, 0.0540857203, 0.891626716, -0.0861982256, 0.990880489, -0.103564806, -0.889096916, -0.12341205, -0.440767944), |
1159 | - | if hit.Parent ~= script.Parent.Parent then |
1159 | + | CFrame.new(0, 0, 0, -0.386862427, 0.0538031757, 0.920566678, -0.078817524, 0.992713928, -0.0911424607, -0.918763041, -0.107816346, -0.379803061), |
1160 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
1160 | + | CFrame.new(0, 0, 0, -0.344035238, 0.0530614816, 0.937456489, -0.0735079572, 0.99381572, -0.0832280591, -0.936075151, -0.0975438654, -0.338007182), |
1161 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1161 | + | CFrame.new(0, 0, 0, -0.300476044, 0.051885657, 0.9523772, -0.0679056719, 0.994821668, -0.0756223649, -0.951369166, -0.0873945057, -0.295396775), |
1162 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1162 | + | CFrame.new(0, 0, 0, -0.233970642, 0.0493263118, 0.970991731, -0.0589896217, 0.996151924, -0.064818643, -0.970452607, -0.0724440813, -0.230160594), |
1163 | CFrame.new(0, 0, 0, -0.18899551, 0.0471033603, 0.980847716, -0.0527287498, 0.996921062, -0.0580353439, -0.980561495, -0.0626872778, -0.185929865), | |
1164 | - | hit.Parent.Humanoid.PlatformStand = true |
1164 | + | CFrame.new(0, 0, 0, -0.143622756, 0.0444790348, 0.98863256, -0.0462348834, 0.997596979, -0.0515990965, -0.988551974, -0.0531201065, -0.141221166), |
1165 | CFrame.new(0, 0, 0, -0.0979505777, 0.0414645299, 0.994327247, -0.0395260006, 0.998181224, -0.0455189347, -0.994406164, -0.0437603667, -0.0961335003), | |
1166 | CFrame.new(0, 0, 0, -0.0290969014, 0.0362375155, 0.998919606, -0.0290996078, 0.998888314, -0.0370840169, -0.999153018, -0.030147193, -0.0280100703), | |
1167 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
1167 | + | CFrame.new(0, 0, 0, 0.0168910623, 0.0323014557, 0.999335527, -0.0219338797, 0.999249458, -0.031927947, -0.999616861, -0.0213800035, 0.0175869167), |
1168 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
1168 | + | CFrame.new(0, 0, 0, 0.0857522488, 0.0257545747, 0.99598366, -0.0109104123, 0.999630094, -0.0249095093, -0.996256828, -0.00873054378, 0.0860015154), |
1169 | - | hit:breakJoints() |
1169 | + | CFrame.new(0, 0, 0, 0.131434321, 0.0209826753, 0.991102934, -0.00340614608, 0.999779582, -0.0207146741, -0.991319239, -0.000653223135, 0.131476909), |
1170 | - | if hit.Anchored == false then |
1170 | + | CFrame.new(0, 0, 0, 0.154170722, 0.0184802115, 0.987871468, 0.000385339372, 0.999823809, -0.0187639482, -0.988044262, 0.00327351503, 0.154136449), |
1171 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1171 | + | CFrame.new(0, 0, 0, 0.199371964, 0.0132520888, 0.979834437, 0.00803490356, 0.999852896, -0.0151577415, -0.979891121, 0.0108949011, 0.199236125), |
1172 | CFrame.new(0, 0, 0, 0.221893191, 0.0105205392, 0.975014329, 0.0119020259, 0.999837995, -0.013497049, -0.974998534, 0.0145995459, 0.221732065), | |
1173 | CFrame.new(0, 0, 0, 0.221893311, 0.0105205365, 0.975014269, 0.011902025, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221732169), | |
1174 | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), | |
1175 | - | hit:breakJoints() |
1175 | + | CFrame.new(0, 0, 0, 0.221893311, 0.0105205365, 0.975014269, 0.011902025, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221732169), |
1176 | - | if hit.Anchored == false then |
1176 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1177 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1177 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1178 | CFrame.new(0, 0, 0, 0.221893311, 0.0105205365, 0.975014269, 0.011902025, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221732169), | |
1179 | CFrame.new(0, 0, 0, 0.221893057, 0.0105205383, 0.975014329, 0.0119020268, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221731931), | |
1180 | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), | |
1181 | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), | |
1182 | - | if hit.Parent ~= nil then |
1182 | + | CFrame.new(0, 0, 0, 0.221893311, 0.0105205365, 0.975014269, 0.011902025, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221732169), |
1183 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1183 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1184 | - | if hit.Parent ~= script.Parent.Parent then |
1184 | + | CFrame.new(0, 0, 0, 0.221893057, 0.0105205383, 0.975014329, 0.0119020268, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221731931), |
1185 | - | wait(0.5) |
1185 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1186 | - | hit.Parent.Humanoid.PlatformStand = false |
1186 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1187 | CFrame.new(0, 0, 0, 0.221893057, 0.0105205383, 0.975014329, 0.0119020268, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221731931), | |
1188 | CFrame.new(0, 0, 0, 0.221893311, 0.0105205365, 0.975014269, 0.011902025, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221732169), | |
1189 | CFrame.new(0, 0, 0, 0.221893057, 0.0105205383, 0.975014329, 0.0119020268, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221731931), | |
1190 | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), | |
1191 | - | function remove(child) |
1191 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1192 | - | child:Remove() |
1192 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1193 | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), | |
1194 | - | script.Parent.Touched:connect(ot) |
1194 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.0119020268, 0.999837995, -0.0134970471, -0.974998534, 0.0145995449, 0.221732065), |
1195 | - | script.Parent.ChildAdded:connect(remove) |
1195 | + | CFrame.new(0, 0, 0, 0.221893311, 0.0105205365, 0.975014269, 0.011902025, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221732169), |
1196 | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), | |
1197 | - | Script38.Name = "Hurting" |
1197 | + | CFrame.new(0, 0, 0, 0.221893311, 0.0105205365, 0.975014269, 0.011902025, 0.999837995, -0.0134970471, -0.974998474, 0.0145995449, 0.221732169), |
1198 | - | Script38.Parent = MeshPart35 |
1198 | + | CFrame.new(0, 0, 0, 0.221893191, 0.0105205374, 0.975014329, 0.011902025, 0.999837995, -0.0134970471, -0.974998534, 0.014599544, 0.221732065), |
1199 | - | table.insert(cors,sandbox(Script38,function() |
1199 | + | CFrame.new(0, 0, 0, 0.166082948, 0.0112642711, 0.986047566, 0.0118975444, 0.999839067, -0.0134257618, -0.986040175, 0.013961331, 0.16592221), |
1200 | - | function onTouched(hit) |
1200 | + | CFrame.new(0, 0, 0, 0.109633356, 0.0119814454, 0.993900061, 0.0118899001, 0.999840021, -0.0133645851, -0.993901134, 0.0132825729, 0.109473377), |
1201 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
1201 | + | CFrame.new(0, 0, 0, -0.00414952636, 0.0133236498, 0.999902785, 0.0118686389, 0.999841452, -0.0132735819, -0.999921083, 0.0118124038, -0.00430703163), |
1202 | - | if (humanoid ~= nil) then |
1202 | + | CFrame.new(0, 0, 0, -0.0611131191, 0.0139446817, 0.998033643, 0.0118567981, 0.999842048, -0.0132439211, -0.998060703, 0.0110241035, -0.0612688065), |
1203 | - | humanoid.Health = humanoid.Health - 25 |
1203 | + | CFrame.new(0, 0, 0, -0.146128386, 0.01480834, 0.989154875, 0.0118400231, 0.999842465, -0.0132192131, -0.98919493, 0.00977991242, -0.146280706), |
1204 | CFrame.new(0, 0, 0, -0.17425999, 0.0150772361, 0.984584391, 0.0118351374, 0.999842644, -0.0132162124, -0.984628737, 0.00934963208, -0.174410999), | |
1205 | CFrame.new(0, 0, 0, -0.202249944, 0.0153362891, 0.979214072, 0.0118307909, 0.999842763, -0.0132158082, -0.97926259, 0.00891197845, -0.202399552), | |
1206 | CFrame.new(0, 0, 0, -0.257714391, 0.0158240497, 0.966091633, 0.0118241441, 0.999842644, -0.0132226711, -0.966148973, 0.00801553112, -0.257860929), | |
1207 | - | script.Parent.Touched:connect(onTouched) |
1207 | + | CFrame.new(0, 0, 0, -0.312341303, 0.0162700992, 0.94983077, 0.0118209487, 0.999842525, -0.0132395905, -0.949896574, 0.00709262583, -0.312484473), |
1208 | CFrame.new(0, 0, 0, -0.392324507, 0.0168578736, 0.919672608, 0.0118244784, 0.999841809, -0.0132831819, -0.919751048, 0.00566332834, -0.392461807), | |
1209 | - | Script39.Name = "qPerfectionWeld" |
1209 | + | CFrame.new(0, 0, 0, -0.469440639, 0.0173442978, 0.882793784, 0.0118404701, 0.999840856, -0.0133475615, -0.88288486, 0.00418680534, -0.469571263), |
1210 | - | Script39.Parent = MeshPart35 |
1210 | + | CFrame.new(0, 0, 0, -0.543126285, 0.0177256595, 0.839464068, 0.0118715763, 0.999839306, -0.0134312483, -0.839567304, 0.00267089671, -0.543249369), |
1211 | - | table.insert(cors,sandbox(Script39,function() |
1211 | + | CFrame.new(0, 0, 0, -0.603321552, 0.0179332346, 0.797296643, 0.0118967006, 0.999838293, -0.0134865809, -0.797409534, 0.00134845334, -0.603437304), |
1212 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
1212 | + | CFrame.new(0, 0, 0, -0.616367459, 0.0179422032, 0.787254393, 0.0118915644, 0.999838471, -0.013476884, -0.787369013, 0.00105497148, -0.616481304), |
1213 | - | -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera. |
1213 | + | CFrame.new(0, 0, 0, -0.65448916, 0.0179448519, 0.755858541, 0.0118775461, 0.999838948, -0.0134525727, -0.755978227, 0.000173182227, -0.654596865), |
1214 | - | -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them. |
1214 | + | CFrame.new(0, 0, 0, -0.691014588, 0.0179110486, 0.722619176, 0.0118660163, 0.999839306, -0.0134352772, -0.72274363, -0.000709364424, -0.691116095), |
1215 | CFrame.new(0, 0, 0, -0.725854456, 0.0178407654, 0.687617183, 0.0118574724, 0.999839544, -0.013424783, -0.687746286, -0.00159104029, -0.725949585), | |
1216 | - | --[[ INSTRUCTIONS |
1216 | + | CFrame.new(0, 0, 0, -0.737078428, 0.0178092383, 0.675572753, 0.0118553722, 0.999839604, -0.0134227555, -0.675703466, -0.00188445766, -0.737171412), |
1217 | - | - Place in the model |
1217 | + | CFrame.new(0, 0, 0, -0.769539595, 0.0176904034, 0.638354182, 0.0118515724, 0.999839664, -0.013420945, -0.638489306, -0.00276244502, -0.769625902), |
1218 | - | - Make sure model is anchored |
1218 | + | CFrame.new(0, 0, 0, -0.790142298, 0.017591022, 0.612671137, 0.0118512921, 0.999839664, -0.0134231877, -0.612809062, -0.00334528717, -0.790224135), |
1219 | - | - That's it. It will weld the model and all children. |
1219 | + | CFrame.new(0, 0, 0, -0.81943357, 0.0174118727, 0.572909951, 0.0118545797, 0.999839544, -0.0134315062, -0.57305181, -0.00421462394, -0.819508493), |
1220 | CFrame.new(0, 0, 0, -0.837854862, 0.0172725059, 0.545619965, 0.0118594365, 0.999839365, -0.0134402122, -0.545764446, -0.00479020271, -0.837925136), | |
1221 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1221 | + | CFrame.new(0, 0, 0, -0.863777697, 0.0170337968, 0.503585339, 0.0118710287, 0.999838948, -0.0134577528, -0.503733456, -0.0056464239, -0.863840818), |
1222 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1222 | + | CFrame.new(0, 0, 0, -0.895054042, 0.0166607834, 0.445646554, 0.0118951472, 0.999838233, -0.013488913, -0.445799232, -0.00677225785, -0.895107508), |
1223 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1223 | + | CFrame.new(0, 0, 0, -0.902271748, 0.0165578686, 0.430849969, 0.0119028222, 0.999838054, -0.0134979915, -0.431003749, -0.00705051608, -0.902322769), |
1224 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1224 | + | CFrame.new(0, 0, 0, -0.906997919, 0.00999323744, 0.421016842, 0.00724508148, 0.999940753, -0.0081264358, -0.421073109, -0.00432033883, -0.907016575), |
1225 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1225 | + | |
1226 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1226 | + | NWeld1={ |
1227 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1227 | + | CFrame.new(0, 1.5, 0, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1228 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1228 | + | CFrame.new(0, 1.5, 0, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1229 | CFrame.new(-3.05175781e-005, 1.49536133, -0.0678939819, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1230 | - | This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes. |
1230 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1231 | - | ]] |
1231 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1232 | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1233 | - | --[[ DOCUMENTATION |
1233 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1234 | - | - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again. |
1234 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1235 | - | - Will work in PBS servers |
1235 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1236 | - | - Will work as long as it starts out with the part anchored |
1236 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1237 | - | - Stores the relative CFrame as a CFrame value |
1237 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1238 | - | - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin |
1238 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1239 | - | - Utilizes a recursive algorith to find all parts in the model |
1239 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1240 | - | - Will reweld on script reparent if the script is initially parented to a tool. |
1240 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1241 | - | - Welds as fast as possible |
1241 | + | CFrame.new(0, 1.4768219, -0.15045166, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1242 | - | ]] |
1242 | + | CFrame.new(0, 1.4768219, -0.150444031, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1243 | CFrame.new(-3.05175781e-005, 1.47967529, -0.141120911, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1244 | - | -- qPerfectionWeld.lua |
1244 | + | CFrame.new(-3.05175781e-005, 1.48147583, -0.134857178, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1245 | - | -- Created 10/6/2014 |
1245 | + | CFrame.new(0, 1.48400879, -0.125427246, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1246 | - | -- Author: Quenty |
1246 | + | CFrame.new(-3.05175781e-005, 1.4848175, -0.122283936, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1247 | - | -- Version 1.0.3 |
1247 | + | CFrame.new(0, 1.48710632, -0.112792969, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1248 | CFrame.new(-3.05175781e-005, 1.48854065, -0.106452942, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1249 | - | -- Updated 10/14/2014 - Updated to 1.0.1 |
1249 | + | CFrame.new(0, 1.48988342, -0.100082397, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1250 | - | --- Bug fix with existing ROBLOX welds ? Repro by asimo3089 |
1250 | + | CFrame.new(0, 1.49113464, -0.0936889648, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1251 | CFrame.new(0, 1.49287415, -0.0840835571, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1252 | - | -- Updated 10/14/2014 - Updated to 1.0.2 |
1252 | + | CFrame.new(-3.05175781e-005, 1.493927, -0.0776672363, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1253 | - | --- Fixed bug fix. |
1253 | + | CFrame.new(-3.05175781e-005, 1.49534607, -0.0680084229, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1254 | CFrame.new(-3.05175781e-005, 1.49620056, -0.0615539551, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1255 | - | -- Updated 10/14/2014 - Updated to 1.0.3 |
1255 | + | CFrame.new(-3.05175781e-005, 1.49729919, -0.051864624, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1256 | - | --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/ |
1256 | + | CFrame.new(0, 1.49794006, -0.0453872681, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1257 | CFrame.new(-3.05175781e-005, 1.49873352, -0.0356445313, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1258 | - | local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges). |
1258 | + | CFrame.new(-3.05175781e-005, 1.49932861, -0.0259094238, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1259 | CFrame.new(-3.05175781e-005, 1.4997406, -0.0161590576, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1260 | CFrame.new(0, 1.49995422, -0.00640106201, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1261 | - | local function CallOnChildren(Instance, FunctionToCall) |
1261 | + | CFrame.new(-3.05175781e-005, 1.49998474, -0.00314331055, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1262 | - | -- Calls a function on each of the children of a certain object, using recursion. |
1262 | + | CFrame.new(0, 1.49998474, 0.00337219238, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1263 | CFrame.new(0, 1.49972534, 0.0163803101, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1264 | - | FunctionToCall(Instance) |
1264 | + | CFrame.new(-3.05175781e-005, 1.49931335, 0.0261306763, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1265 | CFrame.new(0, 1.49913025, 0.0293884277, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1266 | - | for _, Child in next, Instance:GetChildren() do |
1266 | + | CFrame.new(0, 1.49847412, 0.0391159058, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1267 | - | CallOnChildren(Child, FunctionToCall) |
1267 | + | CFrame.new(3.05175781e-005, 1.49760437, 0.0488510132, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1268 | CFrame.new(0, 1.49728394, 0.0520858765, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1269 | CFrame.new(0, 1.49617004, 0.0617828369, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1270 | CFrame.new(-3.05175781e-005, 1.49575806, 0.064994812, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1271 | - | local function GetNearestParent(Instance, ClassName) |
1271 | + | CFrame.new(-3.05175781e-005, 1.49440002, 0.0746688843, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1272 | - | -- Returns the nearest parent of a certain class, or returns nil |
1272 | + | CFrame.new(0, 1.49337769, 0.0811004639, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1273 | CFrame.new(-3.05175781e-005, 1.49227905, 0.0875167847, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1274 | - | local Ancestor = Instance |
1274 | + | CFrame.new(-3.05175781e-005, 1.49047852, 0.0970993042, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1275 | - | repeat |
1275 | + | CFrame.new(-3.05175781e-005, 1.48918152, 0.103477478, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1276 | - | Ancestor = Ancestor.Parent |
1276 | + | CFrame.new(-3.05175781e-005, 1.48706055, 0.113006592, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1277 | - | if Ancestor == nil then |
1277 | + | CFrame.new(-3.05175781e-005, 1.48554993, 0.119338989, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1278 | - | return nil |
1278 | + | CFrame.new(0, 1.48312378, 0.128799438, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1279 | CFrame.new(-3.05175781e-005, 1.48141479, 0.135070801, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1280 | - | until Ancestor:IsA(ClassName) |
1280 | + | CFrame.new(0.00277709961, 1.48182678, 0.133583069, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1281 | CFrame.new(0.00531005859, 1.483078, 0.128883362, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1282 | - | return Ancestor |
1282 | + | CFrame.new(0.00875854492, 1.48487854, 0.121704102, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1283 | CFrame.new(0.009765625, 1.48547363, 0.119270325, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1284 | CFrame.new(0.0116577148, 1.48660278, 0.114387512, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1285 | - | local function GetBricks(StartInstance) |
1285 | + | CFrame.new(0.012512207, 1.4871521, 0.111923218, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1286 | - | local List = {} |
1286 | + | CFrame.new(0.0140991211, 1.48822021, 0.106971741, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1287 | CFrame.new(0.0159912109, 1.48974609, 0.0994949341, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1288 | - | -- if StartInstance:IsA("BasePart") then |
1288 | + | CFrame.new(0.0165100098, 1.49021912, 0.0969848633, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1289 | - | -- List[#List+1] = StartInstance |
1289 | + | CFrame.new(0.0177612305, 1.49160767, 0.0894927979, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1290 | - | -- end |
1290 | + | CFrame.new(0.0183410645, 1.49246216, 0.0844955444, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1291 | CFrame.new(0.018737793, 1.4936676, 0.077041626, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1292 | - | CallOnChildren(StartInstance, function(Item) |
1292 | + | CFrame.new(0.0187683105, 1.49441528, 0.0721206665, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1293 | - | if Item:IsA("BasePart") then |
1293 | + | CFrame.new(0.0186767578, 1.49476624, 0.0696716309, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1294 | - | List[#List+1] = Item; |
1294 | + | CFrame.new(0.018371582, 1.49543762, 0.0648040771, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1295 | CFrame.new(0.0178527832, 1.49606323, 0.0600128174, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1296 | CFrame.new(0.0171203613, 1.49664307, 0.0552749634, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1297 | CFrame.new(0.0156555176, 1.49740601, 0.048324585, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1298 | - | return List |
1298 | + | CFrame.new(0.0156555176, 1.49740601, 0.048324585, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1299 | CFrame.new(0.0137634277, 1.49807739, 0.0415802002, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1300 | CFrame.new(0.0130615234, 1.49827576, 0.0393753052, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1301 | - | local function Modify(Instance, Values) |
1301 | + | CFrame.new(0.011505127, 1.49864197, 0.0350723267, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1302 | - | -- Modifies an Instance by using a table. |
1302 | + | CFrame.new(0.009765625, 1.49894714, 0.0308761597, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1303 | CFrame.new(0.00680541992, 1.49934387, 0.0247955322, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1304 | - | assert(type(Values) == "table", "Values is not a table"); |
1304 | + | CFrame.new(0.00354003906, 1.49961853, 0.01902771, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1305 | CFrame.new(-9.15527344e-005, 1.49981689, 0.0135879517, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1306 | - | for Index, Value in next, Values do |
1306 | + | CFrame.new(-0.00268554688, 1.49989319, 0.0101547241, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1307 | - | if type(Index) == "number" then |
1307 | + | CFrame.new(-0.00537109375, 1.49992371, 0.00687408447, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1308 | - | Value.Parent = Instance |
1308 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1309 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1310 | - | Instance[Index] = Value |
1310 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1311 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1312 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1313 | - | return Instance |
1313 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1314 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1315 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1316 | - | local function Make(ClassType, Properties) |
1316 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1317 | - | -- Using a syntax hack to create a nice way to Make new items. |
1317 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1318 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1319 | - | return Modify(Instance.new(ClassType), Properties) |
1319 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1320 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1321 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1322 | - | local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"} |
1322 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1323 | - | local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"} |
1323 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1324 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1325 | - | local function HasWheelJoint(Part) |
1325 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1326 | - | for _, SurfaceName in pairs(Surfaces) do |
1326 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1327 | - | for _, HingSurfaceName in pairs(HingSurfaces) do |
1327 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1328 | - | if Part[SurfaceName].Name == HingSurfaceName then |
1328 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1329 | - | return true |
1329 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1330 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1331 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1332 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1333 | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1334 | - | return false |
1334 | + | CFrame.new(-0.00820922852, 1.49992371, 0.0037612915, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1335 | CFrame.new(-0.00817871094, 1.49992371, 0.00371551514, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1336 | CFrame.new(-0.00817871094, 1.49992371, 0.00368499756, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1337 | - | local function ShouldBreakJoints(Part) |
1337 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00367736816, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1338 | - | --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are |
1338 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00366210938, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1339 | - | -- definitely some edge cases. |
1339 | + | CFrame.new(-0.00811767578, 1.49992371, 0.00365447998, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1340 | CFrame.new(-0.00811767578, 1.49992371, 0.00364685059, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1341 | - | if NEVER_BREAK_JOINTS then |
1341 | + | CFrame.new(-0.00811767578, 1.49992371, 0.00363922119, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1342 | - | return false |
1342 | + | CFrame.new(-0.00811767578, 1.49992371, 0.00363922119, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1343 | CFrame.new(-0.00811767578, 1.49992371, 0.00364685059, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1344 | CFrame.new(-0.00811767578, 1.49992371, 0.00365447998, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1345 | - | if HasWheelJoint(Part) then |
1345 | + | CFrame.new(-0.00811767578, 1.49992371, 0.00366210938, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1346 | - | return false |
1346 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00368499756, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1347 | CFrame.new(-0.00814819336, 1.49992371, 0.00372314453, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1348 | CFrame.new(-0.00820922852, 1.49992371, 0.00374603271, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1349 | - | local Connected = Part:GetConnectedParts() |
1349 | + | CFrame.new(-0.00820922852, 1.49992371, 0.00374603271, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1350 | CFrame.new(-0.00820922852, 1.49992371, 0.00374603271, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1351 | - | if #Connected == 1 then |
1351 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00374603271, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1352 | - | return false |
1352 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00373840332, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1353 | CFrame.new(-0.00814819336, 1.49992371, 0.00373840332, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1354 | CFrame.new(-0.00814819336, 1.49992371, 0.00373840332, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1355 | - | for _, Item in pairs(Connected) do |
1355 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00373840332, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1356 | - | if HasWheelJoint(Item) then |
1356 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00373840332, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1357 | - | return false |
1357 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00373840332, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1358 | - | elseif not Item:IsDescendantOf(script.Parent) then |
1358 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00374603271, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1359 | - | return false |
1359 | + | CFrame.new(-0.00814819336, 1.49992371, 0.00374603271, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), |
1360 | CFrame.new(-0.00814819336, 1.49992371, 0.00375366211, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1361 | CFrame.new(-0.00820922852, 1.49992371, 0.00374603271, -0.913927257, -2.78141903e-013, 0.405878365, -5.20415145e-013, 1, -4.86548898e-013, -0.405878365, -6.55895639e-013, -0.913927257), | |
1362 | } | |
1363 | - | return true |
1363 | + | runAnim=function() |
1364 | if Tool.Enabled==false then return end | |
1365 | Tool.Enabled=false | |
1366 | - | local function WeldTogether(Part0, Part1, JointType, WeldParent) |
1366 | + | Tool.TurnScript.Disabled=true |
1367 | - | --- Weld's 2 parts together |
1367 | + | Char=Tool.Parent |
1368 | - | -- @param Part0 The first part |
1368 | + | orw=Char.Humanoid.WalkSpeed |
1369 | - | -- @param Part1 The second part (Dependent part most of the time). |
1369 | + | Char.Humanoid.WalkSpeed=0 |
1370 | - | -- @param [JointType] The type of joint. Defaults to weld. |
1370 | + | Useless=Char.Animate |
1371 | - | -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better). |
1371 | + | Useless.Parent=nil |
1372 | - | -- @return The weld created. |
1372 | + | wait() |
1373 | Torso=Char.Torso | |
1374 | - | JointType = JointType or "Weld" |
1374 | + | RightS=Torso["Right Shoulder"] |
1375 | - | local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue") |
1375 | + | LeftS=Torso["Left Shoulder"] |
1376 | Neck=Torso["Neck"] | |
1377 | - | local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType) |
1377 | + | RightS.DesiredAngle=1.6 |
1378 | - | Modify(NewWeld, { |
1378 | + | LeftS.DesiredAngle=-.15 |
1379 | - | Name = "qCFrameWeldThingy"; |
1379 | + | Torso["Left Hip"].DesiredAngle=0 |
1380 | - | Part0 = Part0; |
1380 | + | Torso["Right Hip"].DesiredAngle=0 |
1381 | - | Part1 = Part1; |
1381 | + | cNum=#RSWeld1 |
1382 | - | C0 = CFrame.new();--Part0.CFrame:inverse(); |
1382 | + | OriR0=RightS.C0 |
1383 | - | C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse(); |
1383 | + | OriR1=RightS.C1 |
1384 | - | Parent = Part1; |
1384 | + | OriL0=LeftS.C0 |
1385 | OriL1=LeftS.C1 | |
1386 | OriN0=Neck.C0 | |
1387 | - | if not RelativeValue then |
1387 | + | OriN1=Neck.C1 |
1388 | - | RelativeValue = Make("CFrameValue", { |
1388 | + | g=Instance.new("BodyGyro") |
1389 | - | Parent = Part1; |
1389 | + | g.P=10000 |
1390 | - | Name = "qRelativeCFrameWeldValue"; |
1390 | + | g.D=3500 |
1391 | - | Archivable = true; |
1391 | + | g.maxTorque=Vector3.new(50000,50000,50000)*5000000000 |
1392 | - | Value = NewWeld.C1; |
1392 | + | g.cframe=Char.Torso.CFrame |
1393 | - | }) |
1393 | + | g.Parent=Char.Torso |
1394 | for i=1, 54/2 do | |
1395 | RightS.C0=RSWeld1[i*2]*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2) --remember to reverse C0 and C1. IDK why. | |
1396 | - | return NewWeld |
1396 | + | RightS.C1=RSWeld0[i*2] |
1397 | LeftS.C0=LSWeld1[i*2] | |
1398 | LeftS.C1=LSWeld0[i*2] | |
1399 | - | local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor) |
1399 | + | Neck.C0=NWeld1[i*2] |
1400 | - | -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results. |
1400 | + | Neck.C1=NWeld0[i*2] |
1401 | - | -- @param MainPart The part to weld the model to (can be in the model). |
1401 | + | wait() |
1402 | - | -- @param [JointType] The type of joint. Defaults to weld. |
1402 | + | |
1403 | - | -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion. |
1403 | + | wait(1.2) |
1404 | g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) | |
1405 | - | for _, Part in pairs(Parts) do |
1405 | + | for i=54, 93 do |
1406 | - | if ShouldBreakJoints(Part) then |
1406 | + | RightS.C0=RSWeld1[i]*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2) --remember to reverse C0 and C1. IDK why. |
1407 | - | Part:BreakJoints() |
1407 | + | RightS.C1=RSWeld0[i] |
1408 | LeftS.C0=LSWeld1[i] | |
1409 | LeftS.C1=LSWeld0[i] | |
1410 | Neck.C0=NWeld1[i] | |
1411 | - | for _, Part in pairs(Parts) do |
1411 | + | Neck.C1=NWeld0[i] |
1412 | - | if Part ~= MainPart then |
1412 | + | wait() |
1413 | - | WeldTogether(MainPart, Part, JointType, MainPart) |
1413 | + | |
1414 | grip=Tool.Parent["Right Arm"]["RightGrip"] | |
1415 | grip.Part0=Tool.Parent["Left Arm"] | |
1416 | org=grip.C0 | |
1417 | - | if not DoNotUnanchor then |
1417 | + | for i=93, 111 do |
1418 | - | for _, Part in pairs(Parts) do |
1418 | + | RightS.C0=RSWeld1[i]*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2) --remember to reverse C0 and C1. IDK why. |
1419 | - | Part.Anchored = false |
1419 | + | RightS.C1=RSWeld0[i] |
1420 | LeftS.C0=LSWeld1[i] | |
1421 | - | MainPart.Anchored = false |
1421 | + | LeftS.C1=LSWeld0[i] |
1422 | Neck.C0=NWeld1[i] | |
1423 | Neck.C1=NWeld0[i] | |
1424 | --grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/36) | |
1425 | - | local function PerfectionWeld() |
1425 | + | grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/36,0,0) |
1426 | - | local Tool = GetNearestParent(script, "Tool") |
1426 | + | wait() |
1427 | end | |
1428 | - | local Parts = GetBricks(script.Parent) |
1428 | + | Tool.Handle.Swing:Play() |
1429 | - | local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1] |
1429 | + | Tool.Handle.Swing.Pitch=.6 |
1430 | g.D=900 | |
1431 | - | if PrimaryPart then |
1431 | + | g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) |
1432 | - | WeldParts(Parts, PrimaryPart, "Weld", false) |
1432 | + | coroutine.resume(coroutine.create(function() wait(.15) perfDamage() end)) |
1433 | RightS.DesiredAngle=0 | |
1434 | - | warn("qWeld - Unable to weld part") |
1434 | + | for i=111/3, cNum/3 do |
1435 | --grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/48,0,0) | |
1436 | RightS.C0=RSWeld1[i*3]*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) --remember to reverse C0 and C1. IDK why. | |
1437 | - | return Tool |
1437 | + | RightS.C1=RSWeld0[i*3] |
1438 | LeftS.C0=LSWeld1[i*3] | |
1439 | LeftS.C1=LSWeld0[i*3] | |
1440 | - | local Tool = PerfectionWeld() |
1440 | + | Neck.C0=NWeld1[i*3] |
1441 | Neck.C1=NWeld0[i*3] | |
1442 | wait() | |
1443 | - | if Tool and script.ClassName == "Script" then |
1443 | + | |
1444 | - | --- Don't bother with local scripts |
1444 | + | wait(.5) |
1445 | Tool.Handle.Swing.Pitch=1.1 | |
1446 | - | script.Parent.AncestryChanged:connect(function() |
1446 | + | grip.Part0=Tool.Parent["Right Arm"] |
1447 | - | PerfectionWeld() |
1447 | + | RightS.C0=OriR0 |
1448 | RightS.C1=OriR1 | |
1449 | LeftS.C0=OriL0 | |
1450 | LeftS.C1=OriL1 | |
1451 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
1451 | + | Neck.C0=OriN0 |
1452 | Neck.C1=OriN1 | |
1453 | Char.Humanoid.WalkSpeed=orw | |
1454 | - | Motor6D40.Name = "RightWrist" |
1454 | + | Tool.Enabled=true |
1455 | - | Motor6D40.Parent = MeshPart35 |
1455 | + | Useless.Parent=Char |
1456 | - | Motor6D40.C0 = CFrame.new(0.014524051, -4.61915302, -0.067019932, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1456 | + | grip.C0=org |
1457 | - | Motor6D40.C1 = CFrame.new(0.00585886789, 0.393527001, -0.104560249, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1457 | + | g.Parent=nil |
1458 | - | Motor6D40.Part0 = MeshPart41 |
1458 | + | Tool.TurnScript.Disabled=false |
1459 | - | Motor6D40.Part1 = MeshPart35 |
1459 | + | |
1460 | - | Motor6D40.part1 = MeshPart35 |
1460 | + | onK=function(key) |
1461 | - | MeshPart41.Name = "RightLowerArm" |
1461 | + | if key=="g" then |
1462 | - | MeshPart41.Parent = Model0 |
1462 | + | runAnim() |
1463 | - | MeshPart41.CFrame = CFrame.new(-44.8363304, 19.6875648, 52.6874084, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
1463 | + | |
1464 | - | MeshPart41.Orientation = Vector3.new(0, -89.9599991, 0) |
1464 | + | |
1465 | - | MeshPart41.Position = Vector3.new(-44.8363304, 19.6875648, 52.6874084) |
1465 | + | onEq=function(mouse) |
1466 | - | MeshPart41.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
1466 | + | mouse.KeyDown:connect(onK) |
1467 | - | MeshPart41.Color = Color3.new(0.960784, 0.803922, 0.188235) |
1467 | + | |
1468 | - | MeshPart41.Size = Vector3.new(6.77433443, 8.5717144, 6.77415848) |
1468 | + | Tool.Equipped:connect(onEq) |
1469 | - | MeshPart41.BrickColor = BrickColor.new("Bright yellow") |
1469 | + | |
1470 | - | MeshPart41.CanCollide = false |
1470 | + | ImageLabel50.Parent = LocalScript49 |
1471 | - | MeshPart41.brickColor = BrickColor.new("Bright yellow") |
1471 | + | ImageLabel50.Transparency = 1 |
1472 | - | Vector3Value42.Name = "OriginalSize" |
1472 | + | ImageLabel50.Size = UDim2.new(1, 0, 1, 0) |
1473 | - | Vector3Value42.Parent = MeshPart41 |
1473 | + | ImageLabel50.BackgroundColor = BrickColor.new("Light stone grey") |
1474 | - | Vector3Value42.Value = Vector3.new(1.00027657, 1.26567209, 1.00025082) |
1474 | + | ImageLabel50.BackgroundColor3 = Color3.new(0.898039, 0.894118, 0.905882) |
1475 | - | Script43.Name = "Hurting" |
1475 | + | ImageLabel50.BackgroundTransparency = 1 |
1476 | - | Script43.Parent = MeshPart41 |
1476 | + | ImageLabel50.Image = "http://www.roblox.com/asset/?id=37339112" |
1477 | - | table.insert(cors,sandbox(Script43,function() |
1477 | + | Script51.Parent = ImageLabel50 |
1478 | - | function onTouched(hit) |
1478 | + | table.insert(cors,sandbox(Script51,function() |
1479 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
1479 | + | g=script.Parent.Parent |
1480 | - | if (humanoid ~= nil) then |
1480 | + | for i=1, 10 do |
1481 | - | humanoid.Health = humanoid.Health - 25 |
1481 | + | g.Size=UDim2.new(i/4*2,0,i/4*2,0) |
1482 | wait() | |
1483 | end | |
1484 | wait(2.25) | |
1485 | - | script.Parent.Touched:connect(onTouched) |
1485 | + | g:Remove() |
1486 | end)) | |
1487 | - | Script44.Name = "ShieldScript" |
1487 | + | Script51.Disabled = true |
1488 | - | Script44.Parent = MeshPart41 |
1488 | + | LocalScript52.Parent = LocalScript49 |
1489 | - | table.insert(cors,sandbox(Script44,function() |
1489 | + | table.insert(cors,sandbox(LocalScript52,function() |
1490 | - | function ot(hit) |
1490 | + | wait() |
1491 | - | ch = hit:GetChildren() |
1491 | + | g=workspace.CurrentCamera |
1492 | - | for i = 1, #ch do |
1492 | + | g.CameraSubject=script.Parent.Head |
1493 | - | if ch[i].className == "BodyVelocity" then |
1493 | + | |
1494 | - | ch[i].velocity = ch[i].velocity*-1 |
1494 | + | LocalScript52.Disabled = true |
1495 | Script53.Name = "Ragdoll" | |
1496 | Script53.Parent = LocalScript49 | |
1497 | - | if hit.Parent ~= nil then |
1497 | + | table.insert(cors,sandbox(Script53,function() |
1498 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1498 | + | print("Hello world!") |
1499 | - | if hit.Parent ~= script.Parent.Parent then |
1499 | + | |
1500 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
1500 | + | Character = script.Parent |
1501 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1501 | + | Humanoid = Character.Humanoid |
1502 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1502 | + | Torso = Character.Torso |
1503 | ||
1504 | - | hit.Parent.Humanoid.PlatformStand = true |
1504 | + | function OnDeath() |
1505 | print("Death")-- HAHA | |
1506 | wait(0.00000001) | |
1507 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
1507 | + | Humanoid.Parent = nil |
1508 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
1508 | + | if Torso then |
1509 | - | hit:breakJoints() |
1509 | + | local Head = Character:FindFirstChild("Head") |
1510 | - | if hit.Anchored == false then |
1510 | + | if Head then |
1511 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1511 | + | local Neck = Instance.new("Weld") |
1512 | Neck.Name = "Neck" | |
1513 | Neck.Part0 = Torso | |
1514 | Neck.Part1 = Head | |
1515 | - | hit:breakJoints() |
1515 | + | Neck.C0 = CFrame.new(0, 1.5, 0) |
1516 | - | if hit.Anchored == false then |
1516 | + | Neck.C1 = CFrame.new() |
1517 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1517 | + | Neck.Parent = Torso |
1518 | end | |
1519 | local Limb = Character:FindFirstChild("Right Arm") | |
1520 | if Limb then | |
1521 | ||
1522 | - | if hit.Parent ~= nil then |
1522 | + | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) |
1523 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1523 | + | local Joint = Instance.new("Glue") |
1524 | - | if hit.Parent ~= script.Parent.Parent then |
1524 | + | Joint.Name = "RightShoulder" |
1525 | - | wait(0.5) |
1525 | + | Joint.Part0 = Torso |
1526 | - | hit.Parent.Humanoid.PlatformStand = false |
1526 | + | Joint.Part1 = Limb |
1527 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1528 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1529 | Joint.Parent = Torso | |
1530 | ||
1531 | - | function remove(child) |
1531 | + | local B = Instance.new("Part") |
1532 | - | child:Remove() |
1532 | + | B.TopSurface = 0 |
1533 | B.BottomSurface = 0 | |
1534 | - | script.Parent.Touched:connect(ot) |
1534 | + | B.formFactor = "Symmetric" |
1535 | - | script.Parent.ChildAdded:connect(remove) |
1535 | + | B.Size = Vector3.new(1, 1, 1) |
1536 | B.Transparency = 1 | |
1537 | - | Motor6D45.Name = "RightElbow" |
1537 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
1538 | - | Motor6D45.Parent = MeshPart41 |
1538 | + | B.Parent = Character |
1539 | - | Motor6D45.C0 = CFrame.new(0.0145200128, -1.78210199, -0.0639328733, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1539 | + | local W = Instance.new("Weld") |
1540 | - | Motor6D45.C1 = CFrame.new(0.014524051, 0.832677782, -0.067019932, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1540 | + | W.Part0 = Limb |
1541 | - | Motor6D45.Part0 = MeshPart49 |
1541 | + | W.Part1 = B |
1542 | - | Motor6D45.Part1 = MeshPart41 |
1542 | + | W.C0 = CFrame.new(0, -0.5, 0) |
1543 | - | Motor6D45.part1 = MeshPart41 |
1543 | + | W.Parent = Limb |
1544 | - | MeshPart46.Name = "RightLowerLeg" |
1544 | + | |
1545 | - | MeshPart46.Parent = Model0 |
1545 | + | |
1546 | - | MeshPart46.CFrame = CFrame.new(-44.87714, 6.16495991, 45.9358368, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
1546 | + | local Limb = Character:FindFirstChild("Left Arm") |
1547 | - | MeshPart46.Orientation = Vector3.new(0, -89.9599991, 0) |
1547 | + | if Limb then |
1548 | - | MeshPart46.Position = Vector3.new(-44.87714, 6.16495991, 45.9358368) |
1548 | + | |
1549 | - | MeshPart46.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
1549 | + | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) |
1550 | - | MeshPart46.Color = Color3.new(0.294118, 0.592157, 0.294118) |
1550 | + | local Joint = Instance.new("Glue") |
1551 | - | MeshPart46.Size = Vector3.new(6.77432919, 10.088563, 6.77468538) |
1551 | + | Joint.Name = "LeftShoulder" |
1552 | - | MeshPart46.BrickColor = BrickColor.new("Bright green") |
1552 | + | Joint.Part0 = Torso |
1553 | - | MeshPart46.CanCollide = false |
1553 | + | Joint.Part1 = Limb |
1554 | - | MeshPart46.brickColor = BrickColor.new("Bright green") |
1554 | + | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
1555 | - | Vector3Value47.Name = "OriginalSize" |
1555 | + | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
1556 | - | Vector3Value47.Parent = MeshPart46 |
1556 | + | Joint.Parent = Torso |
1557 | - | Vector3Value47.Value = Vector3.new(1.00027585, 1.48964536, 1.00032854) |
1557 | + | |
1558 | - | Motor6D48.Name = "RightKnee" |
1558 | + | local B = Instance.new("Part") |
1559 | - | Motor6D48.Parent = MeshPart46 |
1559 | + | B.TopSurface = 0 |
1560 | - | Motor6D48.C0 = CFrame.new(0.0259127952, -1.7952857, 0.00289178547, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1560 | + | B.BottomSurface = 0 |
1561 | - | Motor6D48.C1 = CFrame.new(0.0259127952, 1.95906019, 0.000987774343, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1561 | + | B.formFactor = "Symmetric" |
1562 | - | Motor6D48.Part0 = MeshPart52 |
1562 | + | B.Size = Vector3.new(1, 1, 1) |
1563 | - | Motor6D48.Part1 = MeshPart46 |
1563 | + | B.Transparency = 1 |
1564 | - | Motor6D48.part1 = MeshPart46 |
1564 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
1565 | - | MeshPart49.Name = "RightUpperArm" |
1565 | + | B.Parent = Character |
1566 | - | MeshPart49.Parent = Model0 |
1566 | + | local W = Instance.new("Weld") |
1567 | - | MeshPart49.CFrame = CFrame.new(-44.8331604, 22.3023453, 52.687458, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
1567 | + | W.Part0 = Limb |
1568 | - | MeshPart49.Orientation = Vector3.new(0, -89.9599991, 0) |
1568 | + | W.Part1 = B |
1569 | - | MeshPart49.Position = Vector3.new(-44.8331604, 22.3023453, 52.687458) |
1569 | + | W.C0 = CFrame.new(0, -0.5, 0) |
1570 | - | MeshPart49.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
1570 | + | W.Parent = Limb |
1571 | - | MeshPart49.Color = Color3.new(1, 1, 0) |
1571 | + | |
1572 | - | MeshPart49.Size = Vector3.new(6.77433252, 9.45123863, 6.77415848) |
1572 | + | |
1573 | - | MeshPart49.BrickColor = BrickColor.new("New Yeller") |
1573 | + | local Limb = Character:FindFirstChild("Right Leg") |
1574 | - | MeshPart49.CanCollide = false |
1574 | + | if Limb then |
1575 | - | MeshPart49.brickColor = BrickColor.new("New Yeller") |
1575 | + | |
1576 | - | Vector3Value50.Name = "OriginalSize" |
1576 | + | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) |
1577 | - | Vector3Value50.Parent = MeshPart49 |
1577 | + | local Joint = Instance.new("Glue") |
1578 | - | Vector3Value50.Value = Vector3.new(1.00027633, 1.39554, 1.00025082) |
1578 | + | Joint.Name = "RightHip" |
1579 | - | Motor6D51.Name = "RightShoulder" |
1579 | + | Joint.Part0 = Torso |
1580 | - | Motor6D51.Parent = MeshPart49 |
1580 | + | Joint.Part1 = Limb |
1581 | - | Motor6D51.C0 = CFrame.new(8.46773338, 3.76923919, -0.105385743, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1581 | + | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
1582 | - | Motor6D51.C1 = CFrame.new(-1.67872834, 3.09419036, -0.0639328733, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1582 | + | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
1583 | - | Motor6D51.Part0 = MeshPart57 |
1583 | + | Joint.Parent = Torso |
1584 | - | Motor6D51.Part1 = MeshPart49 |
1584 | + | |
1585 | - | Motor6D51.part1 = MeshPart49 |
1585 | + | local B = Instance.new("Part") |
1586 | - | MeshPart52.Name = "RightUpperLeg" |
1586 | + | B.TopSurface = 0 |
1587 | - | MeshPart52.Parent = Model0 |
1587 | + | B.BottomSurface = 0 |
1588 | - | MeshPart52.CFrame = CFrame.new(-44.8751183, 9.9193058, 45.9359055, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
1588 | + | B.formFactor = "Symmetric" |
1589 | - | MeshPart52.Orientation = Vector3.new(0, -89.9599991, 0) |
1589 | + | B.Size = Vector3.new(1, 1, 1) |
1590 | - | MeshPart52.Position = Vector3.new(-44.8751183, 9.9193058, 45.9359055) |
1590 | + | B.Transparency = 1 |
1591 | - | MeshPart52.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
1591 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
1592 | - | MeshPart52.Color = Color3.new(0, 1, 0) |
1592 | + | B.Parent = Character |
1593 | - | MeshPart52.Size = Vector3.new(6.7743268, 10.4042921, 6.77875233) |
1593 | + | local W = Instance.new("Weld") |
1594 | - | MeshPart52.BrickColor = BrickColor.new("Lime green") |
1594 | + | W.Part0 = Limb |
1595 | - | MeshPart52.CanCollide = false |
1595 | + | W.Part1 = B |
1596 | - | MeshPart52.brickColor = BrickColor.new("Lime green") |
1596 | + | W.C0 = CFrame.new(0, -0.5, 0) |
1597 | - | Vector3Value53.Name = "OriginalSize" |
1597 | + | W.Parent = Limb |
1598 | - | Vector3Value53.Parent = MeshPart52 |
1598 | + | |
1599 | - | Vector3Value53.Value = Vector3.new(1.00027561, 1.5362649, 1.00092912) |
1599 | + | |
1600 | - | Motor6D54.Name = "RightHip" |
1600 | + | local Limb = Character:FindFirstChild("Left Leg") |
1601 | - | Motor6D54.Parent = MeshPart52 |
1601 | + | if Limb then |
1602 | - | Motor6D54.C0 = CFrame.new(3.42063618, -1.64748406, 0.00696135359, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1602 | + | |
1603 | - | Motor6D54.C1 = CFrame.new(0.0259127952, 3.28405929, 0.00329693779, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1603 | + | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) |
1604 | - | Motor6D54.Part0 = MeshPart23 |
1604 | + | local Joint = Instance.new("Glue") |
1605 | - | Motor6D54.Part1 = MeshPart52 |
1605 | + | Joint.Name = "LeftHip" |
1606 | - | Motor6D54.part1 = MeshPart52 |
1606 | + | Joint.Part0 = Torso |
1607 | - | IntValue55.Name = "Mode" |
1607 | + | Joint.Part1 = Limb |
1608 | - | IntValue55.Parent = Model0 |
1608 | + | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
1609 | - | Humanoid56.Name = "NPC" |
1609 | + | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
1610 | - | Humanoid56.Parent = Model0 |
1610 | + | Joint.Parent = Torso |
1611 | - | Humanoid56.Health = 15000 |
1611 | + | |
1612 | - | Humanoid56.HealthDisplayDistance = 0 |
1612 | + | local B = Instance.new("Part") |
1613 | - | Humanoid56.HipHeight = 7.5 |
1613 | + | B.TopSurface = 0 |
1614 | - | Humanoid56.JumpPower = 100 |
1614 | + | B.BottomSurface = 0 |
1615 | - | Humanoid56.MaxHealth = 15000 |
1615 | + | B.formFactor = "Symmetric" |
1616 | - | Humanoid56.MaxSlopeAngle = 89.900001525879 |
1616 | + | B.Size = Vector3.new(1, 1, 1) |
1617 | - | Humanoid56.NameDisplayDistance = 0 |
1617 | + | B.Transparency = 1 |
1618 | - | Humanoid56.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion |
1618 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
1619 | - | Humanoid56.RigType = Enum.HumanoidRigType.R15 |
1619 | + | B.Parent = Character |
1620 | - | Humanoid56.Torso = Part64 |
1620 | + | local W = Instance.new("Weld") |
1621 | - | Humanoid56.WalkSpeed = 40 |
1621 | + | W.Part0 = Limb |
1622 | - | Humanoid56.maxHealth = 15000 |
1622 | + | W.Part1 = B |
1623 | - | MeshPart57.Name = "UpperTorso" |
1623 | + | W.C0 = CFrame.new(0, -0.5, 0) |
1624 | - | MeshPart57.Parent = Model0 |
1624 | + | W.Parent = Limb |
1625 | - | MeshPart57.CFrame = CFrame.new(-44.8824272, 21.627491, 42.5410194, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
1625 | + | |
1626 | - | MeshPart57.Orientation = Vector3.new(0, -89.9599991, 0) |
1626 | + | |
1627 | - | MeshPart57.Position = Vector3.new(-44.8824272, 21.627491, 42.5410194) |
1627 | + | --[ |
1628 | - | MeshPart57.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
1628 | + | local Bar = Instance.new("Part") |
1629 | - | MeshPart57.Color = Color3.new(0, 0, 1) |
1629 | + | Bar.TopSurface = 0 |
1630 | - | MeshPart57.Size = Vector3.new(13.5468998, 10.8422594, 6.77609539) |
1630 | + | Bar.BottomSurface = 0 |
1631 | - | MeshPart57.BrickColor = BrickColor.new("Really blue") |
1631 | + | Bar.formFactor = "Symmetric" |
1632 | - | MeshPart57.brickColor = BrickColor.new("Really blue") |
1632 | + | Bar.Size = Vector3.new(1, 1, 1) |
1633 | - | Vector3Value58.Name = "OriginalSize" |
1633 | + | Bar.Transparency = 1 |
1634 | - | Vector3Value58.Parent = MeshPart57 |
1634 | + | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) |
1635 | - | Vector3Value58.Value = Vector3.new(2.00029206, 1.60093355, 1.0005368) |
1635 | + | Bar.Parent = Character |
1636 | - | Script59.Name = "Damage Script" |
1636 | + | local Weld = Instance.new("Weld") |
1637 | - | Script59.Parent = MeshPart57 |
1637 | + | Weld.Part0 = Torso |
1638 | - | table.insert(cors,sandbox(Script59,function() |
1638 | + | Weld.Part1 = Bar |
1639 | - | function onTouched(hit) |
1639 | + | Weld.C0 = CFrame.new(0, 0.5, 0) |
1640 | - | local human = hit.Parent:findFirstChild("Humanoid") |
1640 | + | Weld.Parent = Torso |
1641 | - | if (human ~= nil) then |
1641 | + | --]] |
1642 | - | human.Health = human.Health - 5 -- Change the amount to change the damage. |
1642 | + | |
1643 | - | end |
1643 | + | |
1644 | ||
1645 | - | script.Parent.Touched:connect(onTouched) |
1645 | + | Humanoid.Died:connect(OnDeath) |
1646 | ||
1647 | - | Script60.Name = "Hurting" |
1647 | + | |
1648 | - | Script60.Parent = MeshPart57 |
1648 | + | Script53.Disabled = true |
1649 | - | table.insert(cors,sandbox(Script60,function() |
1649 | + | LocalScript54.Name = "SwordScript" |
1650 | - | function onTouched(hit) |
1650 | + | LocalScript54.Parent = Tool0 |
1651 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
1651 | + | table.insert(cors,sandbox(LocalScript54,function() |
1652 | - | if (humanoid ~= nil) then |
1652 | + | wait(.25) |
1653 | - | humanoid.Health = humanoid.Health - 25 |
1653 | + | --Come, let us fight man vorsus tiny baby man! |
1654 | --If you are reading this, go die alone in a ditch. | |
1655 | FakeS=Instance.new("Motor") | |
1656 | FakeSL=Instance.new("Motor") | |
1657 | - | script.Parent.Touched:connect(onTouched) |
1657 | + | Tool=script.Parent |
1658 | Crit=false | |
1659 | - | Script61.Name = "ShieldScript" |
1659 | + | Debris=game:GetService("Debris") |
1660 | - | Script61.Parent = MeshPart57 |
1660 | + | _G["critEffect"]=function(Part) |
1661 | - | table.insert(cors,sandbox(Script61,function() |
1661 | + | he=Part.Parent:FindFirstChild("Head") |
1662 | - | function ot(hit) |
1662 | + | if he~=nil then Part=he end |
1663 | - | ch = hit:GetChildren() |
1663 | + | b=Instance.new("BillboardGui") |
1664 | - | for i = 1, #ch do |
1664 | + | b.Name="CUH-RIT" |
1665 | - | if ch[i].className == "BodyVelocity" then |
1665 | + | b.Size=UDim2.new(1,0,1,0) |
1666 | - | ch[i].velocity = ch[i].velocity*-1 |
1666 | + | b.Adornee=Part |
1667 | b.StudsOffset=Vector3.new(math.random(-3,3)/3,1.75+math.random(0,5)/12.5,math.random(-3,3)/3) | |
1668 | s=script.ImageLabel:clone() | |
1669 | - | if hit.Parent ~= nil then |
1669 | + | s.Parent=b |
1670 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1670 | + | s.Script.Disabled=false |
1671 | - | if hit.Parent ~= script.Parent.Parent then |
1671 | + | for _,v in pairs(game.Players:children()) do |
1672 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
1672 | + | if v:FindFirstChild("PlayerGui")~=nil then |
1673 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1673 | + | n=b:clone() |
1674 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1674 | + | n.Parent=v.PlayerGui |
1675 | end | |
1676 | - | hit.Parent.Humanoid.PlatformStand = true |
1676 | + | |
1677 | c=Instance.new("Sound") | |
1678 | c.SoundId="http://roblox.com/asset/?id=10209481" | |
1679 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
1679 | + | c.Volume=.5 |
1680 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
1680 | + | c.Pitch=1.425 |
1681 | - | hit:breakJoints() |
1681 | + | c.Parent=Part |
1682 | - | if hit.Anchored == false then |
1682 | + | c:Play() |
1683 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1683 | + | game:GetService("Debris"):AddItem(c,1) |
1684 | end | |
1685 | ||
1686 | GetShoulder=function() | |
1687 | - | hit:breakJoints() |
1687 | + | Char=Tool.Parent |
1688 | - | if hit.Anchored == false then |
1688 | + | Torso=Char.Torso |
1689 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1689 | + | return Torso:FindFirstChild("Right Shoulder",nil) |
1690 | end | |
1691 | GetGrip=function() | |
1692 | Char=Tool.Parent | |
1693 | Arm=Char["Right Arm"] | |
1694 | - | if hit.Parent ~= nil then |
1694 | + | return Arm:FindFirstChild("RightGrip",nil) |
1695 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1695 | + | |
1696 | - | if hit.Parent ~= script.Parent.Parent then |
1696 | + | GetHumans=function() |
1697 | - | wait(0.5) |
1697 | + | Chars={} |
1698 | - | hit.Parent.Humanoid.PlatformStand = false |
1698 | + | Things=workspace:GetChildren() |
1699 | for i,v in pairs(Things) do | |
1700 | if v.className=="Model" and v~=script.Parent.Parent then | |
1701 | Human=v:FindFirstChild("Humanoid") | |
1702 | PTorso=v:FindFirstChild("Torso") | |
1703 | - | function remove(child) |
1703 | + | vv=game.Players:GetPlayerFromCharacter(v) |
1704 | - | child:Remove() |
1704 | + | if Human~=nil and PTorso~=nil then |
1705 | if vv~=nil then | |
1706 | - | script.Parent.Touched:connect(ot) |
1706 | + | if vv.TeamColor~=game.Players.LocalPlayer.TeamColor then |
1707 | - | script.Parent.ChildAdded:connect(remove) |
1707 | + | table.insert(Chars,PTorso) |
1708 | end | |
1709 | - | Motor6D62.Name = "Waist" |
1709 | + | |
1710 | - | Motor6D62.Parent = MeshPart57 |
1710 | + | table.insert(Chars,PTorso) |
1711 | - | Motor6D62.C0 = CFrame.new(0.00189745135, 3.63778567, -0.0966572911, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1711 | + | |
1712 | - | Motor6D62.C1 = CFrame.new(0.0022898186, -3.13879156, -0.105385743, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1712 | + | |
1713 | - | Motor6D62.Part0 = MeshPart23 |
1713 | + | |
1714 | - | Motor6D62.Part1 = MeshPart57 |
1714 | + | if string.sub(v.Name,1,10)=="AutoTurret" then |
1715 | - | Motor6D62.part1 = MeshPart57 |
1715 | + | print("Sentry found") |
1716 | - | Script63.Name = "Read me" |
1716 | + | sent=v:FindFirstChild("Sentry") |
1717 | - | Script63.Parent = Model0 |
1717 | + | if sent~=nil then |
1718 | - | table.insert(cors,sandbox(Script63,function() |
1718 | + | Torso=sent:FindFirstChild("Torso") |
1719 | - | --| Help for R15 model Zombie |-- |
1719 | + | if Torso~=nil then |
1720 | - | -- |
1720 | + | table.insert(Chars,Torso) |
1721 | - | -- To edit the zombie's damage go to LeftLowerArm/RightLowerArm > Damage Script > human.Health = human.Health - 5 |
1721 | + | |
1722 | - | -- Edit the number to whatever you'd like |
1722 | + | |
1723 | - | -- The player will recieve damage from the LeftLowerArm and RightLowerArm |
1723 | + | |
1724 | - | -- To edit the walkspeed go to Humanoid > Scroll to the bottom > Edit the number shown after WalkSpeed |
1724 | + | |
1725 | - | -- You can also edit max health and spawn health under Humanoid > game |
1725 | + | return Chars |
1726 | - | -- |
1726 | + | |
1727 | - | -- Have fun! |
1727 | + | perfDamage=function() |
1728 | - | -- |
1728 | + | Hums=GetHumans() |
1729 | - | -- ImFarAway |
1729 | + | R=Ray.new(Char.Torso.Position,Char.Torso.CFrame.lookVector) |
1730 | for _,v in pairs(Hums) do | |
1731 | - | Part64.Name = "HumanoidRootPart" |
1731 | + | print(R:Distance(v.Position)) |
1732 | - | Part64.Parent = Model0 |
1732 | + | if R:Distance(v.Position)<=3 and (v.Position-Char.Torso.Position).magnitude<=4 then |
1733 | - | Part64.CFrame = CFrame.new(-44.7772217, 15.7519035, 42.5431137, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
1733 | + | coroutine.resume(coroutine.create(onTouched),v) |
1734 | - | Part64.Orientation = Vector3.new(0, -89.9599991, 0) |
1734 | + | |
1735 | - | Part64.Position = Vector3.new(-44.7772217, 15.7519035, 42.5431137) |
1735 | + | |
1736 | - | Part64.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
1736 | + | |
1737 | - | Part64.Color = Color3.new(0.294118, 0.592157, 0.294118) |
1737 | + | SpecSlash=function() |
1738 | - | Part64.Transparency = 1 |
1738 | + | Shoulder=GetShoulder() |
1739 | - | Part64.Size = Vector3.new(13.5449219, 13.5449219, 6.77246094) |
1739 | + | Grip=GetGrip() |
1740 | - | Part64.BrickColor = BrickColor.new("Bright green") |
1740 | + | if Shoulder==nil or Grip==nil then |
1741 | - | Part64.CanCollide = false |
1741 | + | error("Could not find appropriate limbs.") |
1742 | - | Part64.brickColor = BrickColor.new("Bright green") |
1742 | + | |
1743 | - | Vector3Value65.Name = "OriginalSize" |
1743 | + | |
1744 | - | Vector3Value65.Parent = Part64 |
1744 | + | ori=Grip.C0 |
1745 | - | Vector3Value65.Value = Vector3.new(2, 2, 1) |
1745 | + | Tool.Handle.Swing:Play() |
1746 | - | Script66.Name = "ShieldScript" |
1746 | + | wait(.1) |
1747 | - | Script66.Parent = Part64 |
1747 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0) |
1748 | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/10) | |
1749 | - | function ot(hit) |
1749 | + | for i=1, 3 do |
1750 | - | ch = hit:GetChildren() |
1750 | + | Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/16,0,0) |
1751 | - | for i = 1, #ch do |
1751 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/8) |
1752 | - | if ch[i].className == "BodyVelocity" then |
1752 | + | wait() |
1753 | - | ch[i].velocity = ch[i].velocity*-1 |
1753 | + | |
1754 | Tool.Handle.Whack_Human:Play() | |
1755 | ball=Instance.new("Part") | |
1756 | - | if hit.Parent ~= nil then |
1756 | + | ball.TopSurface=0 |
1757 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1757 | + | ball.BottomSurface=0 |
1758 | - | if hit.Parent ~= script.Parent.Parent then |
1758 | + | ball.BrickColor=BrickColor:White() |
1759 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
1759 | + | ball.Reflectance=.1 |
1760 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1760 | + | ball.Shape="Ball" |
1761 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
1761 | + | ball.Size=Vector3.new(2,2,2) |
1762 | m=Instance.new("SpecialMesh") | |
1763 | - | hit.Parent.Humanoid.PlatformStand = true |
1763 | + | m.MeshType="Sphere" |
1764 | m.Scale=Vector3.new(.55,.55,.55) | |
1765 | m.Parent=ball | |
1766 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
1766 | + | ball.CFrame=Tool.Parent.Torso.CFrame*CFrame.new(1,0.5,0)+Tool.Parent.Torso.CFrame.lookVector*3 |
1767 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
1767 | + | ball.Name="StunBall" |
1768 | - | hit:breakJoints() |
1768 | + | ball.Parent=workspace |
1769 | - | if hit.Anchored == false then |
1769 | + | vk=Instance.new("BodyVelocity") |
1770 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1770 | + | vk.P=4000 |
1771 | vk.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1772 | vk.velocity=-(ball.Position-Tool.Parent.Humanoid.TargetPoint).unit*115+Vector3.new(0,5,0) | |
1773 | vk.Parent=ball | |
1774 | - | hit:breakJoints() |
1774 | + | fp=Instance.new("BodyForce") |
1775 | - | if hit.Anchored == false then |
1775 | + | fp.force=Vector3.new(math.random(-200,200)/5,510,math.random(-200,200)/5) |
1776 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
1776 | + | fp.Parent=ball |
1777 | sp=script.BallScript:clone() | |
1778 | sp.Disabled=false | |
1779 | sp.Parent=ball | |
1780 | ball.Elasticity=0 | |
1781 | - | if hit.Parent ~= nil then |
1781 | + | ball.Friction=1 |
1782 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
1782 | + | if math.random(1,100)>=80 then |
1783 | - | if hit.Parent ~= script.Parent.Parent then |
1783 | + | print("CritBall!") |
1784 | - | wait(0.5) |
1784 | + | CritSound() |
1785 | - | hit.Parent.Humanoid.PlatformStand = false |
1785 | + | sp.Crit.Value=true |
1786 | end | |
1787 | sp.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent) | |
1788 | game:GetService("Debris"):AddItem(vk,.32) | |
1789 | game:GetService("Debris"):AddItem(ball,8) | |
1790 | - | function remove(child) |
1790 | + | for i=1, 3 do |
1791 | - | child:Remove() |
1791 | + | Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/15,0,0) |
1792 | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/8) | |
1793 | - | script.Parent.Touched:connect(ot) |
1793 | + | wait() |
1794 | - | script.Parent.ChildAdded:connect(remove) |
1794 | + | |
1795 | wait(.15) | |
1796 | - | Script67.Name = "Hurting" |
1796 | + | for i=1, 3 do |
1797 | - | Script67.Parent = Part64 |
1797 | + | Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/12,0,0) |
1798 | - | table.insert(cors,sandbox(Script67,function() |
1798 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/24) |
1799 | - | function onTouched(hit) |
1799 | + | wait() |
1800 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
1800 | + | |
1801 | - | if (humanoid ~= nil) then |
1801 | + | Grip.C0=ori |
1802 | - | humanoid.Health = humanoid.Health - 25 |
1802 | + | Shoulder.C0=ArmOri |
1803 | end | |
1804 | ArmOri=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1805 | NormSlash=function() | |
1806 | - | script.Parent.Touched:connect(onTouched) |
1806 | + | Shoulder=GetShoulder() |
1807 | Grip=GetGrip() | |
1808 | - | Part68.Name = "Scary Popup" |
1808 | + | if Shoulder==nil or Grip==nil then |
1809 | - | Part68.Parent = Part64 |
1809 | + | error("Could not find appropriate limbs.") |
1810 | - | Part68.CFrame = CFrame.new(-42.9161453, 12.918376, 42.8049088, 1.29615285e-06, -6.0259481e-08, -1, -1.70004219e-10, 1, -6.0259481e-08, 1, 1.70082337e-10, 1.29615285e-06) |
1810 | + | |
1811 | - | Part68.Orientation = Vector3.new(0, -90, 0) |
1811 | + | |
1812 | - | Part68.Position = Vector3.new(-42.9161453, 12.918376, 42.8049088) |
1812 | + | for i=1, 3 do |
1813 | - | Part68.Rotation = Vector3.new(0, -90, 0) |
1813 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/6.5) |
1814 | - | Part68.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1814 | + | wait() |
1815 | - | Part68.Transparency = 1 |
1815 | + | |
1816 | - | Part68.Size = Vector3.new(13.8900099, 25.7999935, 2.60000205) |
1816 | + | Tool.Handle.Swing:Play() |
1817 | - | Part68.Anchored = true |
1817 | + | for i=1, 2 do |
1818 | - | Part68.BrickColor = BrickColor.new("Dark stone grey") |
1818 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/3.5) |
1819 | - | Part68.CanCollide = false |
1819 | + | wait() |
1820 | - | Part68.brickColor = BrickColor.new("Dark stone grey") |
1820 | + | |
1821 | - | Part68.FormFactor = Enum.FormFactor.Custom |
1821 | + | perfDamage() |
1822 | - | Part68.formFactor = Enum.FormFactor.Custom |
1822 | + | for i=1, 2 do |
1823 | - | Script69.Name = "ScaryScript" |
1823 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/3.5) |
1824 | - | Script69.Parent = Part68 |
1824 | + | wait() |
1825 | - | table.insert(cors,sandbox(Script69,function() |
1825 | + | |
1826 | - | Sound = script.Parent.Scream |
1826 | + | for i=1, 3 do |
1827 | - | Popup = script.Parent.Popup |
1827 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/11) |
1828 | - | Ready = true |
1828 | + | wait() |
1829 | - | function onTouch(hit) |
1829 | + | |
1830 | - | local h = hit.Parent:FindFirstChild("Humanoid") |
1830 | + | Shoulder.C0=ArmOri |
1831 | - | if h ~= nil and Ready == true then |
1831 | + | |
1832 | - | Ready = false |
1832 | + | CritSound=function() |
1833 | - | local plyr = game.Players:FindFirstChild(h.Parent.Name) |
1833 | + | Char=Tool.Parent |
1834 | - | local c = Popup:clone() |
1834 | + | c=Instance.new("Sound") |
1835 | - | c.Parent = plyr.PlayerGui |
1835 | + | c.SoundId="http://roblox.com/asset/?id=10209481" |
1836 | - | script.Parent.Scream:play() |
1836 | + | c.Volume=.3 |
1837 | - | wait(7) |
1837 | + | c.Pitch=1.15 |
1838 | - | c:remove() |
1838 | + | c.Parent=Char.Torso |
1839 | - | wait(1) |
1839 | + | c:Play() |
1840 | - | Ready = true |
1840 | + | game:GetService("Debris"):AddItem(c,.5) |
1841 | end | |
1842 | CritSlash=function() | |
1843 | Shoulder=GetShoulder() | |
1844 | - | script.Parent.Touched:connect(onTouch) |
1844 | + | Grip=GetGrip() |
1845 | if Shoulder==nil or Grip==nil then | |
1846 | error("Could not find appropriate limbs.") | |
1847 | - | ScreenGui70.Name = "Popup" |
1847 | + | |
1848 | - | ScreenGui70.Parent = Part68 |
1848 | + | |
1849 | - | Frame71.Name = "BackGround" |
1849 | + | ori=Grip.C0 |
1850 | - | Frame71.Parent = ScreenGui70 |
1850 | + | for i=1, 4 do |
1851 | - | Frame71.Transparency = 1 |
1851 | + | Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/16,0,0) |
1852 | - | Frame71.Size = UDim2.new(1, 1, 1, 1) |
1852 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/6) |
1853 | - | Frame71.BackgroundColor = BrickColor.new("Black metallic") |
1853 | + | wait() |
1854 | - | Frame71.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804) |
1854 | + | |
1855 | - | Frame71.BackgroundTransparency = 1 |
1855 | + | Tool.Handle.Swing:Play() |
1856 | - | ImageLabel72.Name = "Image" |
1856 | + | CritSound() |
1857 | - | ImageLabel72.Parent = Frame71 |
1857 | + | for i=1, 3 do |
1858 | - | ImageLabel72.Transparency = 1 |
1858 | + | Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/11,0,0) |
1859 | - | ImageLabel72.Size = UDim2.new(1, 1, 1, 1) |
1859 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/4) |
1860 | - | ImageLabel72.BackgroundColor = BrickColor.new("Really black") |
1860 | + | wait() |
1861 | - | ImageLabel72.BackgroundColor3 = Color3.new(0, 0, 0) |
1861 | + | |
1862 | - | ImageLabel72.BackgroundTransparency = 1 |
1862 | + | perfDamage() |
1863 | - | ImageLabel72.ImageTransparency = 1 |
1863 | + | for i=1, 2 do |
1864 | - | Sound73.Name = "Scream" |
1864 | + | Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/11,0,0) |
1865 | - | Sound73.Parent = Part68 |
1865 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/4) |
1866 | - | Sound73.TimePosition = 0.3 |
1866 | + | wait() |
1867 | - | Sound73.EmitterSize = 500 |
1867 | + | |
1868 | - | Sound73.MinDistance = 500 |
1868 | + | wait(.2) |
1869 | - | Sound73.SoundId = "rbxassetid://154157312" |
1869 | + | for i=1, 4 do |
1870 | - | Sound73.Volume = 10 |
1870 | + | Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/12,0,0) |
1871 | - | Script74.Name = "qPerfectionWeld" |
1871 | + | Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/8) |
1872 | - | Script74.Parent = Part64 |
1872 | + | wait() |
1873 | - | table.insert(cors,sandbox(Script74,function() |
1873 | + | |
1874 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
1874 | + | Grip.C0=ori |
1875 | - | -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera. |
1875 | + | Shoulder.C0=ArmOri |
1876 | - | -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them. |
1876 | + | |
1877 | Animation=function(T,C) | |
1878 | - | --[[ INSTRUCTIONS |
1878 | + | if C=="Stop" then |
1879 | - | - Place in the model |
1879 | + | RightS=T:FindFirstChild("Right Shoulder") |
1880 | - | - Make sure model is anchored |
1880 | + | if RightS==nil then |
1881 | - | - That's it. It will weld the model and all children. |
1881 | + | return |
1882 | end | |
1883 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1883 | + | LeftS=T:FindFirstChild("Left Shoulder") |
1884 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1884 | + | if LeftS==nil then |
1885 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1885 | + | return |
1886 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1886 | + | |
1887 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1887 | + | elseif C=="Resume" then |
1888 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1888 | + | |
1889 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1889 | + | |
1890 | - | THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. |
1890 | + | DEB=true |
1891 | vBlood=function(Point,Quantity,Parent) | |
1892 | - | This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes. |
1892 | + | for doBlood=1, Quantity do |
1893 | - | ]] |
1893 | + | Blood=Instance.new("Part") |
1894 | Blood.Name="Blood" | |
1895 | - | --[[ DOCUMENTATION |
1895 | + | Blood.TopSurface="Smooth" |
1896 | - | - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again. |
1896 | + | Blood.BottomSurface="Smooth" |
1897 | - | - Will work in PBS servers |
1897 | + | Blood.formFactor="Plate" |
1898 | - | - Will work as long as it starts out with the part anchored |
1898 | + | Blood.BrickColor=BrickColor:Red() |
1899 | - | - Stores the relative CFrame as a CFrame value |
1899 | + | Blood.Size=Vector3.new(1,.4,1) |
1900 | - | - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin |
1900 | + | Blood.Reflectance=math.random(0,10)/100 |
1901 | - | - Utilizes a recursive algorith to find all parts in the model |
1901 | + | Blood.Velocity=Vector3.new(math.random(-4,4),math.random(5,25),math.random(-4,4)) |
1902 | - | - Will reweld on script reparent if the script is initially parented to a tool. |
1902 | + | Blood.CFrame=CFrame.new(Point+Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)))*CFrame.fromEulerAnglesXYZ(math.random(-100,100),math.random(-100,100),math.random(-100,100)) |
1903 | - | - Welds as fast as possible |
1903 | + | Blood.Parent=Parent |
1904 | - | ]] |
1904 | + | Debris:AddItem(Blood,3) |
1905 | end | |
1906 | - | -- qPerfectionWeld.lua |
1906 | + | |
1907 | - | -- Created 10/6/2014 |
1907 | + | onTouched=function(hit) |
1908 | - | -- Author: Quenty |
1908 | + | if hit.Parent==nil then |
1909 | - | -- Version 1.0.3 |
1909 | + | |
1910 | end | |
1911 | - | -- Updated 10/14/2014 - Updated to 1.0.1 |
1911 | + | h=hit.Parent:FindFirstChild("Humanoid") |
1912 | - | --- Bug fix with existing ROBLOX welds ? Repro by asimo3089 |
1912 | + | if h~=nil then |
1913 | vp=game.Players:GetPlayerFromCharacter(hit.Parent) | |
1914 | - | -- Updated 10/14/2014 - Updated to 1.0.2 |
1914 | + | if vp==nil and h.Parent.Name=="Sentry" or h.Parent.Name=="Dispenser" then |
1915 | - | --- Fixed bug fix. |
1915 | + | Deb=false |
1916 | h.Health=h.Health-35 | |
1917 | - | -- Updated 10/14/2014 - Updated to 1.0.3 |
1917 | + | Tool.Handle.Whack_Human:Play() |
1918 | - | --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/ |
1918 | + | wait(.25) |
1919 | Deb=true | |
1920 | - | local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges). |
1920 | + | return |
1921 | elseif vp~=nil then | |
1922 | ovp=game.Players.LocalPlayer | |
1923 | - | local function CallOnChildren(Instance, FunctionToCall) |
1923 | + | if ovp.TeamColor==vp.TeamColor then |
1924 | - | -- Calls a function on each of the children of a certain object, using recursion. |
1924 | + | Deb=true |
1925 | return | |
1926 | - | FunctionToCall(Instance) |
1926 | + | |
1927 | end | |
1928 | - | for _, Child in next, Instance:GetChildren() do |
1928 | + | Deb=false |
1929 | - | CallOnChildren(Child, FunctionToCall) |
1929 | + | if Crit==false then |
1930 | h:TakeDamage(42+math.random(-6,6)) | |
1931 | vBlood(hit.Position,2,workspace) | |
1932 | else | |
1933 | - | local function GetNearestParent(Instance, ClassName) |
1933 | + | _G["critEffect"](hit) |
1934 | - | -- Returns the nearest parent of a certain class, or returns nil |
1934 | + | h:TakeDamage(42*3+math.random(-15,5)) |
1935 | vBlood(hit.Position,6,workspace) | |
1936 | - | local Ancestor = Instance |
1936 | + | |
1937 | - | repeat |
1937 | + | t=Instance.new("ObjectValue") |
1938 | - | Ancestor = Ancestor.Parent |
1938 | + | t.Name="creator" |
1939 | - | if Ancestor == nil then |
1939 | + | t.Value=game.Players:GetPlayerFromCharacter(Tool.Parent) |
1940 | - | return nil |
1940 | + | game:GetService("Debris"):AddItem(t,.25) |
1941 | k=Instance.new("StringValue") | |
1942 | - | until Ancestor:IsA(ClassName) |
1942 | + | k.Name="KillType" |
1943 | k.Value="Bat" | |
1944 | - | return Ancestor |
1944 | + | k.Parent=t |
1945 | t.Parent=h | |
1946 | Tool.Handle.Whack_Human:Play() | |
1947 | - | local function GetBricks(StartInstance) |
1947 | + | wait(.5) |
1948 | - | local List = {} |
1948 | + | Deb=true |
1949 | end | |
1950 | - | -- if StartInstance:IsA("BasePart") then |
1950 | + | |
1951 | - | -- List[#List+1] = StartInstance |
1951 | + | d=true |
1952 | - | -- end |
1952 | + | critchance=76 |
1953 | Punch=function() | |
1954 | - | CallOnChildren(StartInstance, function(Item) |
1954 | + | if not d or Tool.Enabled==false then return end |
1955 | - | if Item:IsA("BasePart") then |
1955 | + | d=false |
1956 | - | List[#List+1] = Item; |
1956 | + | Char=Tool.Parent |
1957 | if math.random(1,100)<critchance then | |
1958 | NormSlash() | |
1959 | else | |
1960 | - | return List |
1960 | + | Crit=true |
1961 | print("Crit!") | |
1962 | CritSlash() | |
1963 | - | local function Modify(Instance, Values) |
1963 | + | Crit=false |
1964 | - | -- Modifies an Instance by using a table. |
1964 | + | |
1965 | wait(.15) | |
1966 | - | assert(type(Values) == "table", "Values is not a table"); |
1966 | + | d=true |
1967 | end | |
1968 | - | for Index, Value in next, Values do |
1968 | + | dd=true |
1969 | - | if type(Index) == "number" then |
1969 | + | fail=function(key) |
1970 | - | Value.Parent = Instance |
1970 | + | if key=="z" and dd==true and d==true and Tool.Enabled==true then |
1971 | dd=false | |
1972 | - | Instance[Index] = Value |
1972 | + | SpecSlash() |
1973 | Tool.Name="Sandman(R)" | |
1974 | wait() | |
1975 | - | return Instance |
1975 | + | Tool.Name="Sandman" |
1976 | dd=true | |
1977 | end | |
1978 | - | local function Make(ClassType, Properties) |
1978 | + | |
1979 | - | -- Using a syntax hack to create a nice way to Make new items. |
1979 | + | onSelect=function(mouse) |
1980 | vP=game.Players.LocalPlayer | |
1981 | - | return Modify(Instance.new(ClassType), Properties) |
1981 | + | Char=vP.Character |
1982 | Animation(Char.Torso,"Stop") | |
1983 | mouse.Button1Down:connect(Punch) | |
1984 | - | local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"} |
1984 | + | mouse.KeyDown:connect(fail) |
1985 | - | local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"} |
1985 | + | |
1986 | onDes=function() | |
1987 | - | local function HasWheelJoint(Part) |
1987 | + | |
1988 | - | for _, SurfaceName in pairs(Surfaces) do |
1988 | + | Tool.Equipped:connect(onSelect) |
1989 | - | for _, HingSurfaceName in pairs(HingSurfaces) do |
1989 | + | Tool.Unequipped:connect(onDes) |
1990 | - | if Part[SurfaceName].Name == HingSurfaceName then |
1990 | + | |
1991 | - | return true |
1991 | + | |
1992 | ImageLabel55.Parent = LocalScript54 | |
1993 | ImageLabel55.Transparency = 1 | |
1994 | ImageLabel55.Size = UDim2.new(1, 0, 1, 0) | |
1995 | ImageLabel55.BackgroundColor = BrickColor.new("Light stone grey") | |
1996 | - | return false |
1996 | + | ImageLabel55.BackgroundColor3 = Color3.new(0.898039, 0.894118, 0.905882) |
1997 | ImageLabel55.BackgroundTransparency = 1 | |
1998 | ImageLabel55.Image = "http://www.roblox.com/asset/?id=34709535" | |
1999 | - | local function ShouldBreakJoints(Part) |
1999 | + | Script56.Parent = ImageLabel55 |
2000 | - | --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are |
2000 | + | table.insert(cors,sandbox(Script56,function() |
2001 | - | -- definitely some edge cases. |
2001 | + | g=script.Parent.Parent |
2002 | for i=1, 10 do | |
2003 | - | if NEVER_BREAK_JOINTS then |
2003 | + | g.Size=g.Size+UDim2.new(.35/i,0,.35/i,0) |
2004 | - | return false |
2004 | + | g.StudsOffset=g.StudsOffset+Vector3.new(0,.25/i,0) |
2005 | wait() | |
2006 | end | |
2007 | - | if HasWheelJoint(Part) then |
2007 | + | for i=10, 40 do |
2008 | - | return false |
2008 | + | g.Size=g.Size+UDim2.new(.3/i,0,.3/i,0) |
2009 | g.StudsOffset=g.StudsOffset+Vector3.new(0,.25/i,0) | |
2010 | wait() | |
2011 | - | local Connected = Part:GetConnectedParts() |
2011 | + | |
2012 | g:Remove() | |
2013 | - | if #Connected == 1 then |
2013 | + | |
2014 | - | return false |
2014 | + | Script56.Disabled = true |
2015 | Script57.Name = "BallScript" | |
2016 | Script57.Parent = LocalScript54 | |
2017 | - | for _, Item in pairs(Connected) do |
2017 | + | table.insert(cors,sandbox(Script57,function() |
2018 | - | if HasWheelJoint(Item) then |
2018 | + | wait() |
2019 | - | return false |
2019 | + | Debris=game:service("Debris") |
2020 | - | elseif not Item:IsDescendantOf(script.Parent) then |
2020 | + | Crit=script.Crit.Value |
2021 | - | return false |
2021 | + | pos=script.Parent.Position |
2022 | Damage=script.Damage.Value | |
2023 | Damage=Damage+math.random(-10,10) | |
2024 | Effect=function(Part) | |
2025 | - | return true |
2025 | + | he=Part.Parent:FindFirstChild("Head") |
2026 | if he~=nil then Part=he end | |
2027 | b=Instance.new("BillboardGui") | |
2028 | - | local function WeldTogether(Part0, Part1, JointType, WeldParent) |
2028 | + | b.Name="CUH-RIT" |
2029 | - | --- Weld's 2 parts together |
2029 | + | b.Size=UDim2.new(1,0,1,0) |
2030 | - | -- @param Part0 The first part |
2030 | + | b.Adornee=Part |
2031 | - | -- @param Part1 The second part (Dependent part most of the time). |
2031 | + | b.StudsOffset=Vector3.new(0,4,0) |
2032 | - | -- @param [JointType] The type of joint. Defaults to weld. |
2032 | + | s=script.ImageLabel:clone() |
2033 | - | -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better). |
2033 | + | s.Parent=b |
2034 | - | -- @return The weld created. |
2034 | + | s.Script.Disabled=false |
2035 | for _,v in pairs(game.Players:children()) do | |
2036 | - | JointType = JointType or "Weld" |
2036 | + | if v:FindFirstChild("PlayerGui")~=nil then |
2037 | - | local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue") |
2037 | + | n=b:clone() |
2038 | n.Parent=v.PlayerGui | |
2039 | - | local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType) |
2039 | + | |
2040 | - | Modify(NewWeld, { |
2040 | + | |
2041 | - | Name = "qCFrameWeldThingy"; |
2041 | + | game:GetService("Debris"):AddItem(b,2.25) |
2042 | - | Part0 = Part0; |
2042 | + | |
2043 | - | Part1 = Part1; |
2043 | + | if Crit==true then |
2044 | - | C0 = CFrame.new();--Part0.CFrame:inverse(); |
2044 | + | Damage=Damage*2 |
2045 | - | C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse(); |
2045 | + | s=Instance.new("Sparkles") |
2046 | - | Parent = Part1; |
2046 | + | s.Parent=script.Parent |
2047 | end | |
2048 | Tag=function(Human) | |
2049 | - | if not RelativeValue then |
2049 | + | Tag=script.creator:clone() |
2050 | - | RelativeValue = Make("CFrameValue", { |
2050 | + | Tag.Parent=Human |
2051 | - | Parent = Part1; |
2051 | + | Debris:AddItem(Tag,.25) |
2052 | - | Name = "qRelativeCFrameWeldValue"; |
2052 | + | |
2053 | - | Archivable = true; |
2053 | + | Blood=function(Point,Quantity,Parent) |
2054 | - | Value = NewWeld.C1; |
2054 | + | for doBlood=1, Quantity do |
2055 | - | }) |
2055 | + | Blood=Instance.new("Part") |
2056 | Blood.Name="Blood" | |
2057 | Blood.TopSurface="Smooth" | |
2058 | - | return NewWeld |
2058 | + | Blood.BottomSurface="Smooth" |
2059 | Blood.formFactor="Plate" | |
2060 | Blood.BrickColor=BrickColor:Red() | |
2061 | - | local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor) |
2061 | + | Blood.Size=Vector3.new(1,.4,1) |
2062 | - | -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results. |
2062 | + | Blood.Reflectance=math.random(0,10)/100 |
2063 | - | -- @param MainPart The part to weld the model to (can be in the model). |
2063 | + | Blood.Velocity=Vector3.new(math.random(-4,4),math.random(5,25),math.random(-4,4)) |
2064 | - | -- @param [JointType] The type of joint. Defaults to weld. |
2064 | + | Blood.CFrame=CFrame.new(Point+Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)))*CFrame.fromEulerAnglesXYZ(math.random(-100,100),math.random(-100,100),math.random(-100,100)) |
2065 | - | -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion. |
2065 | + | Blood.Parent=Parent |
2066 | Debris:AddItem(Blood,3) | |
2067 | - | for _, Part in pairs(Parts) do |
2067 | + | |
2068 | - | if ShouldBreakJoints(Part) then |
2068 | + | |
2069 | - | Part:BreakJoints() |
2069 | + | ComputeDamage=function(name) |
2070 | if name=="Head" then | |
2071 | return Damage | |
2072 | elseif name=="Torso" then | |
2073 | - | for _, Part in pairs(Parts) do |
2073 | + | return Damage |
2074 | - | if Part ~= MainPart then |
2074 | + | elseif name~="Torso" and name~="Head" then |
2075 | - | WeldTogether(MainPart, Part, JointType, MainPart) |
2075 | + | return Damage |
2076 | end | |
2077 | end | |
2078 | onTouched=function(hit) | |
2079 | - | if not DoNotUnanchor then |
2079 | + | if hit.Parent==nil then |
2080 | - | for _, Part in pairs(Parts) do |
2080 | + | |
2081 | - | Part.Anchored = false |
2081 | + | |
2082 | if hit.Parent.className=="Tool" or hit.Name=="Trail" then return end | |
2083 | - | MainPart.Anchored = false |
2083 | + | if hit:FindFirstChild("BulletScript")~=nil then return end |
2084 | ||
2085 | h=hit.Parent:FindFirstChild("Humanoid") | |
2086 | if h~=nil then | |
2087 | - | local function PerfectionWeld() |
2087 | + | if h.Parent~=script.creator.Value then |
2088 | - | local Tool = GetNearestParent(script, "Tool") |
2088 | + | vP=game.Players:GetPlayerFromCharacter(hit.Parent) |
2089 | if vP~=nil then | |
2090 | - | local Parts = GetBricks(script.Parent) |
2090 | + | if vP.TeamColor==script.creator.Value.TeamColor then |
2091 | - | local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1] |
2091 | + | return |
2092 | end | |
2093 | - | if PrimaryPart then |
2093 | + | |
2094 | - | WeldParts(Parts, PrimaryPart, "Weld", false) |
2094 | + | Inflict=ComputeDamage(hit.Name) |
2095 | h:TakeDamage(Inflict) | |
2096 | - | warn("qWeld - Unable to weld part") |
2096 | + | Blood(hit.Position,math.ceil(Inflict/10),hit.Parent) |
2097 | Tag(h) | |
2098 | if Crit==true then | |
2099 | - | return Tool |
2099 | + | _G["critEffect"](hit) |
2100 | end | |
2101 | s=Instance.new("Sound") | |
2102 | - | local Tool = PerfectionWeld() |
2102 | + | s.SoundId="http://roblox.com/asset/?id=10209467" |
2103 | s.Volume=1 | |
2104 | s.Pitch=math.random(14,16)*.1 | |
2105 | - | if Tool and script.ClassName == "Script" then |
2105 | + | s.Parent=hit |
2106 | - | --- Don't bother with local scripts |
2106 | + | s:Play() |
2107 | game:GetService("Debris"):AddItem(s,3) | |
2108 | - | script.Parent.AncestryChanged:connect(function() |
2108 | + | s=script.Stun:clone() |
2109 | - | PerfectionWeld() |
2109 | + | s.Disabled=false |
2110 | s.Dist.Value=(pos-script.Parent.Position).magnitude/1.35 | |
2111 | s.Parent=hit.Parent | |
2112 | Effect(hit) | |
2113 | - | -- Created by Quenty (@Quenty, follow me on twitter). |
2113 | + | |
2114 | end | |
2115 | ccv:disconnect() | |
2116 | - | Part75.Name = "Head" |
2116 | + | ccv=nil |
2117 | - | Part75.Parent = Model0 |
2117 | + | |
2118 | - | Part75.CFrame = CFrame.new(-44.7505646, 30.9169159, 42.5435677, 0.00076800026, 3.10000432e-05, -0.999999762, -1.89996717e-05, 1, 3.09854622e-05, 0.999999762, 1.89758666e-05, 0.000768000842) |
2118 | + | ccv=script.Parent.Touched:connect(onTouched) |
2119 | - | Part75.Orientation = Vector3.new(0, -89.9599991, 0) |
2119 | + | Rate=.9975 |
2120 | - | Part75.Position = Vector3.new(-44.7505646, 30.9169159, 42.5435677) |
2120 | + | Ori=Damage |
2121 | - | Part75.Rotation = Vector3.new(-2.30999994, -89.9599991, -2.30999994) |
2121 | + | while script.Parent~=nil do |
2122 | - | Part75.Color = Color3.new(0.960784, 0.803922, 0.188235) |
2122 | + | if Crit==false then |
2123 | - | Part75.Size = Vector3.new(6.77246094, 6.77246094, 6.77246094) |
2123 | + | Damage=Damage*Rate |
2124 | - | Part75.BottomSurface = Enum.SurfaceType.Smooth |
2124 | + | |
2125 | - | Part75.BrickColor = BrickColor.new("Bright yellow") |
2125 | + | if ccv~=nil then |
2126 | - | Part75.TopSurface = Enum.SurfaceType.Smooth |
2126 | + | trail=script.Parent:clone() |
2127 | - | Part75.brickColor = BrickColor.new("Bright yellow") |
2127 | + | if trail:FindFirstChild("Sparkles")~=nil then |
2128 | - | Part75.FormFactor = Enum.FormFactor.Custom |
2128 | + | trail.Sparkles:Remove() |
2129 | - | Part75.formFactor = Enum.FormFactor.Custom |
2129 | + | |
2130 | - | Vector3Value76.Name = "OriginalSize" |
2130 | + | trail.BallScript:Remove() |
2131 | - | Vector3Value76.Parent = Part75 |
2131 | + | trail.Anchored=true |
2132 | - | Vector3Value76.Value = Vector3.new(1, 1, 1) |
2132 | + | trail.Name="Trail" |
2133 | - | Script77.Name = "ShieldScript" |
2133 | + | trail.CanCollide=false |
2134 | - | Script77.Parent = Part75 |
2134 | + | m=Instance.new("SpecialMesh") |
2135 | - | table.insert(cors,sandbox(Script77,function() |
2135 | + | m.MeshType="Sphere" |
2136 | - | function ot(hit) |
2136 | + | m.Scale=Vector3.new(.8,.8,.8) |
2137 | - | ch = hit:GetChildren() |
2137 | + | m.Parent=trail |
2138 | - | for i = 1, #ch do |
2138 | + | trail.BrickColor=script.creator.Value.TeamColor |
2139 | - | if ch[i].className == "BodyVelocity" then |
2139 | + | trail.Reflectance=0 |
2140 | - | ch[i].velocity = ch[i].velocity*-1 |
2140 | + | ss=script.Script:clone() |
2141 | ss.Disabled=false | |
2142 | ss.Parent=trail | |
2143 | - | if hit.Parent ~= nil then |
2143 | + | trail.Parent=workspace |
2144 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
2144 | + | game:GetService("Debris"):AddItem(trail,5) |
2145 | - | if hit.Parent ~= script.Parent.Parent then |
2145 | + | |
2146 | - | if hit.Parent:FindFirstChild("Torso") ~= nil then |
2146 | + | wait(.05) |
2147 | - | hit.Parent.Torso.Velocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
2147 | + | |
2148 | - | hit.Parent.Torso.RotVelocity = (hit.Parent.Torso.Position - script.Parent.Position)*5 |
2148 | + | |
2149 | end)) | |
2150 | - | hit.Parent.Humanoid.PlatformStand = true |
2150 | + | Script57.Disabled = true |
2151 | ObjectValue58.Name = "creator" | |
2152 | ObjectValue58.Parent = Script57 | |
2153 | - | if hit.Parent.className == "Model" or hit.Parent.className == "Hat" then |
2153 | + | StringValue59.Name = "KillType" |
2154 | - | if hit.Parent.Parent:FindFirstChild("Humanoid") == nil then |
2154 | + | StringValue59.Parent = ObjectValue58 |
2155 | - | hit:breakJoints() |
2155 | + | StringValue59.Value = "SandmanBall" |
2156 | - | if hit.Anchored == false then |
2156 | + | IntValue60.Name = "Damage" |
2157 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
2157 | + | IntValue60.Parent = Script57 |
2158 | IntValue60.Value = 25 | |
2159 | BoolValue61.Name = "Crit" | |
2160 | BoolValue61.Parent = Script57 | |
2161 | - | hit:breakJoints() |
2161 | + | LocalScript62.Name = "Stun" |
2162 | - | if hit.Anchored == false then |
2162 | + | LocalScript62.Parent = Script57 |
2163 | - | hit.Velocity = hit.Velocity*-1 + ((hit.Position - script.Parent.Position)*1000)/hit:GetMass() |
2163 | + | table.insert(cors,sandbox(LocalScript62,function() |
2164 | wait(.1) | |
2165 | Char=script.Parent | |
2166 | vP=game.Players:GetPlayerFromCharacter(Char) | |
2167 | nWep=nil | |
2168 | - | if hit.Parent ~= nil then |
2168 | + | dRate=0 |
2169 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil then |
2169 | + | Distance=script.Dist.Value+15 |
2170 | - | if hit.Parent ~= script.Parent.Parent then |
2170 | + | if Distance>=100 then |
2171 | - | wait(0.5) |
2171 | + | fullStun=true |
2172 | - | hit.Parent.Humanoid.PlatformStand = false |
2172 | + | |
2173 | ori=Char.Humanoid.WalkSpeed | |
2174 | if fullStun==true then | |
2175 | Char.Humanoid.WalkSpeed=0 | |
2176 | else | |
2177 | - | function remove(child) |
2177 | + | Char.Humanoid.WalkSpeed=ori*.5 |
2178 | - | child:Remove() |
2178 | + | |
2179 | while true do | |
2180 | - | script.Parent.Touched:connect(ot) |
2180 | + | dRate=dRate+1 |
2181 | - | script.Parent.ChildAdded:connect(remove) |
2181 | + | for _,v in pairs(Char:children()) do |
2182 | if v.className=="Tool" then | |
2183 | - | Script78.Name = "Hurting" |
2183 | + | v.Parent=vP.Backpack |
2184 | - | Script78.Parent = Part75 |
2184 | + | |
2185 | - | table.insert(cors,sandbox(Script78,function() |
2185 | + | |
2186 | - | function onTouched(hit) |
2186 | + | if dRate>=Distance then |
2187 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
2187 | + | break |
2188 | - | if (humanoid ~= nil) then |
2188 | + | |
2189 | - | humanoid.Health = humanoid.Health - 25 |
2189 | + | wait(.009) |
2190 | end | |
2191 | Char.Humanoid.WalkSpeed=ori | |
2192 | wait(.2) | |
2193 | - | script.Parent.Touched:connect(onTouched) |
2193 | + | script:Remove() |
2194 | ||
2195 | - | SpecialMesh79.Parent = Part75 |
2195 | + | |
2196 | - | SpecialMesh79.MeshId = "rbxassetid://1047997" |
2196 | + | LocalScript62.Disabled = true |
2197 | - | SpecialMesh79.Scale = Vector3.new(6.03900242, 5.49000359, 5.79500103) |
2197 | + | IntValue63.Name = "Dist" |
2198 | - | SpecialMesh79.TextureId = "rbxassetid://1047998" |
2198 | + | IntValue63.Parent = LocalScript62 |
2199 | - | SpecialMesh79.MeshType = Enum.MeshType.FileMesh |
2199 | + | IntValue63.Value = 25 |
2200 | - | Motor6D80.Name = "Neck" |
2200 | + | Script64.Parent = Script57 |
2201 | - | Motor6D80.Parent = Part75 |
2201 | + | table.insert(cors,sandbox(Script64,function() |
2202 | - | Motor6D80.C0 = CFrame.new(0.0022898186, 5.4588213, -0.105385743, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2202 | + | for i=1, 10 do |
2203 | - | Motor6D80.C1 = CFrame.new(-0.000184275414, -3.83060861, 0.026188096, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2203 | + | script.Parent.Mesh.Scale=script.Parent.Mesh.Scale-Vector3.new(.09/1.25,.09/1.25,.09/1.25) |
2204 | - | Motor6D80.Part0 = MeshPart57 |
2204 | + | script.Parent.Transparency=i/10 |
2205 | - | Motor6D80.Part1 = Part75 |
2205 | + | wait(.015) |
2206 | - | Motor6D80.part1 = Part75 |
2206 | + | |
2207 | - | Script81.Name = "Sound" |
2207 | + | script.Parent:Remove() |
2208 | - | Script81.Parent = Model0 |
2208 | + | |
2209 | - | table.insert(cors,sandbox(Script81,function() |
2209 | + | Script64.Disabled = true |
2210 | - | --[[ |
2210 | + | ImageLabel65.Parent = Script57 |
2211 | - | Author: @spotco |
2211 | + | ImageLabel65.Transparency = 1 |
2212 | - | This script creates sounds which are placed under the character head. |
2212 | + | ImageLabel65.Size = UDim2.new(1, 0, 1, 0) |
2213 | - | These sounds are used by the "LocalSound" script. |
2213 | + | ImageLabel65.BackgroundColor = BrickColor.new("Light stone grey") |
2214 | ImageLabel65.BackgroundColor3 = Color3.new(0.898039, 0.894118, 0.905882) | |
2215 | - | To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound"). |
2215 | + | ImageLabel65.BackgroundTransparency = 1 |
2216 | - | The default Sound script loaded for every character will then be replaced with your copy of the script. |
2216 | + | ImageLabel65.Image = "http://www.roblox.com/asset/?id=37339112" |
2217 | - | ]]-- |
2217 | + | Script66.Parent = ImageLabel65 |
2218 | table.insert(cors,sandbox(Script66,function() | |
2219 | - | function CreateNewSound(name, id, looped, pitch, parent) |
2219 | + | g=script.Parent.Parent |
2220 | - | local sound = Instance.new("Sound") |
2220 | + | for i=1, 10 do |
2221 | - | sound.SoundId = id |
2221 | + | g.Size=UDim2.new(i/4*2,0,i/4*2,0) |
2222 | - | sound.Name = name |
2222 | + | wait() |
2223 | - | sound.archivable = false |
2223 | + | |
2224 | - | sound.Parent = parent |
2224 | + | wait(2.25) |
2225 | - | sound.Pitch = pitch |
2225 | + | g:Remove() |
2226 | - | sound.Looped = looped |
2226 | + | |
2227 | Script66.Disabled = true | |
2228 | - | sound.MinDistance = 5 |
2228 | + | |
2229 | - | sound.MaxDistance = 150 |
2229 | + | v.Parent = game:GetService("Players").LocalPlayer.Backpack |
2230 | - | sound.Volume = 0.65 |
2230 | + | |
2231 | end | |
2232 | - | return sound |
2232 | + | |
2233 | for i,v in pairs(cors) do | |
2234 | spawn(function() | |
2235 | - | local head = script.Parent:FindFirstChild("Head") |
2235 | + | |
2236 | - | if head == nil then |
2236 | + | |
2237 | - | error("Sound script parent has no child Head.") |
2237 | + |