SHOW:
|
|
- or go back to the newest paste.
1 | - | --fixed by Scenius |
1 | + | wait(0.016666666666666666) |
2 | plr = game.Players.LocalPlayer | |
3 | mse = plr:GetMouse() | |
4 | sound = Instance.new("Sound", game.Workspace) | |
5 | sound.SoundId = "https://www.roblox.com/asset/?id=274698941" | |
6 | sound.Volume = 10 | |
7 | canworld = true | |
8 | mse.KeyDown:connect(function(key) | |
9 | key = key:lower() | |
10 | if key == "g" then | |
11 | if canworld == false then return end | |
12 | if canworld then | |
13 | canworld = false | |
14 | sound:Play() | |
15 | local function spawnpart() | |
16 | sphere = Instance.new("Part") | |
17 | --game.Debris:AddItem(sphere,3) | |
18 | local sm = Instance.new("SpecialMesh", sphere) | |
19 | sm.MeshType = "Sphere" | |
20 | sphere.Transparency = 0.5 | |
21 | sphere.Anchored = true | |
22 | sphere.CanCollide = false | |
23 | sphere.Material = "SmoothPlastic" | |
24 | sphere.BrickColor = BrickColor.new("Lapis") | |
25 | end | |
26 | ||
27 | local function weld(lol) | |
28 | local weld = Instance.new("Weld", plr.Character.Torso) | |
29 | weld.Part0 = plr.Character.Torso | |
30 | weld.Part1 = lol | |
31 | weld.C0 = plr.Character.Torso.CFrame:inverse() | |
32 | weld.C1 = lol.CFrame:inverse() | |
33 | end | |
34 | wait(1.4) | |
35 | spawnpart() | |
36 | for i, v in pairs(game.Players:GetChildren()) do | |
37 | t = v.Character:FindFirstChild("Torso") | |
38 | if t then | |
39 | t.Anchored = true | |
40 | plr.Character:FindFirstChild("Torso").Anchored = false | |
41 | end | |
42 | RA = v.Character:FindFirstChild("Right Arm") | |
43 | - | A = true |
43 | + | if RA then |
44 | - | if A == true then |
44 | + | RA.Anchored = true |
45 | - | Model = Instance.new("Model") |
45 | + | plr.Character:FindFirstChild("Right Arm").Anchored = false |
46 | - | Model.Name = "Weapon" |
46 | + | |
47 | - | p = Instance.new("Part", Model) |
47 | + | LA = v.Character:FindFirstChild("Left Arm") |
48 | - | p.Name = "Part" |
48 | + | if LA then |
49 | - | p.TopSurface = 0 |
49 | + | LA.Anchored = true |
50 | - | p.BottomSurface = 0 |
50 | + | plr.Character:FindFirstChild("Left Arm").Anchored = false |
51 | - | p.formFactor = "Custom" |
51 | + | |
52 | - | p.Size = Vector3.new(10, 12, 10) |
52 | + | RL = v.Character:FindFirstChild("Right Leg") |
53 | - | p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
53 | + | if RL then |
54 | - | p.BrickColor = BrickColor.new("Medium stone grey") |
54 | + | RL.Anchored = true |
55 | - | p.Transparency = 0 |
55 | + | plr.Character:FindFirstChild("Right Leg").Anchored = false |
56 | - | p.Reflectance = .1 |
56 | + | |
57 | - | p.Material = Enum.Material.Concrete |
57 | + | LL = v.Character:FindFirstChild("Left Leg") |
58 | - | m = Instance.new("CylinderMesh") |
58 | + | if LL then |
59 | - | m.Scale = Vector3.new(1, 1.02999997, 1) |
59 | + | LL.Anchored = true |
60 | - | m.Parent = p |
60 | + | plr.Character:FindFirstChild("Left Leg").Anchored = false |
61 | - | p = Instance.new("Part", Model) |
61 | + | |
62 | - | p.Name = "Part" |
62 | + | |
63 | - | p.TopSurface = 0 |
63 | + | weld(sphere) |
64 | - | p.BottomSurface = 0 |
64 | + | cce = Instance.new("ColorCorrectionEffect", game.Lighting) |
65 | - | p.formFactor = "Custom" |
65 | + | cce.Saturation = -2 |
66 | - | p.Size = Vector3.new(2, 12.8, 2) |
66 | + | --game.Debris:AddItem(cce, 5) |
67 | - | p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
67 | + | sphere.Parent = game.Workspace |
68 | - | p.BrickColor = BrickColor.new("Bright yellow") |
68 | + | for i = 1,10 do |
69 | - | p.Transparency = 0 |
69 | + | sphere.Size = sphere.Size + Vector3.new(50,50,50) |
70 | - | p.Reflectance = .1 |
70 | + | |
71 | - | p.Material = Enum.Material.Plastic |
71 | + | |
72 | - | m = Instance.new("CylinderMesh") |
72 | + | --wait(5) |
73 | - | m.Scale = Vector3.new(1, 1, 1) |
73 | + | |
74 | - | m.Parent = p |
74 | + | |
75 | - | p = Instance.new("Part", Model) |
75 | + | |
76 | - | p.Name = "Part" |
76 | + | |
77 | - | p.TopSurface = 0 |
77 | + | ) |
78 | - | p.BottomSurface = 0 |
78 | + | |
79 | - | p.formFactor = "Custom" |
79 | + | mse.KeyDown:connect(function(key) |
80 | - | p.Size = Vector3.new(1.79, 5, 1) |
80 | + | key = key:lower() |
81 | - | p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
81 | + | |
82 | - | p.BrickColor = BrickColor.new("Bright yellow") |
82 | + | canworld = true |
83 | - | p.Transparency = 0 |
83 | + | for i, v in pairs(game.Players:GetChildren()) do |
84 | - | p.Reflectance = .1 |
84 | + | t = v.Character:FindFirstChild("Torso") |
85 | - | p.Material = Enum.Material.Plastic |
85 | + | if t then |
86 | - | p = Instance.new("Part", Model) |
86 | + | t.Anchored = false |
87 | - | p.Name = "Part" |
87 | + | |
88 | - | p.TopSurface = 0 |
88 | + | RA = v.Character:FindFirstChild("Right Arm") |
89 | - | p.BottomSurface = 0 |
89 | + | if RA then |
90 | - | p.formFactor = "Custom" |
90 | + | RA.Anchored = false |
91 | - | p.Size = Vector3.new(5, 1.40, 0.99) |
91 | + | |
92 | - | p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) |
92 | + | LA = v.Character:FindFirstChild("Left Arm") |
93 | - | p.BrickColor = BrickColor.new("Bright yellow") |
93 | + | if LA then |
94 | - | p.Transparency = 0 |
94 | + | LA.Anchored = false |
95 | - | p.Reflectance = .1 |
95 | + | |
96 | - | p.Material = Enum.Material.Plastic |
96 | + | RL = v.Character:FindFirstChild("Right Leg") |
97 | - | m = Instance.new("SpecialMesh") |
97 | + | if RL then |
98 | - | m.Scale = Vector3.new(1, 1, 1) |
98 | + | RL.Anchored = false |
99 | - | m.Parent = p |
99 | + | |
100 | - | m.MeshType = Enum.MeshType.Wedge |
100 | + | LL = v.Character:FindFirstChild("Left Leg") |
101 | - | p = Instance.new("Part", Model) |
101 | + | if LL then |
102 | - | p.Name = "Center" |
102 | + | LL.Anchored = false |
103 | - | p.TopSurface = 0 |
103 | + | |
104 | - | p.BottomSurface = 0 |
104 | + | |
105 | - | p.formFactor = "Custom" |
105 | + | cce.Saturation = 0 |
106 | - | p.Size = Vector3.new(12.5, 5.80, 27.6) |
106 | + | sphere:Destroy() |
107 | - | p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008) |
107 | + | |
108 | - | p.BrickColor = BrickColor.new("Bright yellow") |
108 | + | |
109 | - | p.Transparency = 1 |
109 | + | |
110 | - | p.Reflectance = .1 |
110 | + | |
111 | - | p.Material = Enum.Material.Plastic |
111 | + | |
112 | - | p = Instance.new("Part", Model) |
112 | + | |
113 | - | p.Name = "Part" |
113 | + | |
114 | - | p.TopSurface = 0 |
114 | + | |
115 | - | p.BottomSurface = 0 |
115 | + | |
116 | - | p.formFactor = "Custom" |
116 | + | |
117 | - | p.Size = Vector3.new(6.80, 1, 6.00) |
117 | + | |
118 | - | p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
118 | + | |
119 | - | p.BrickColor = BrickColor.new("Bright yellow") |
119 | + | |
120 | - | p.Transparency = 0 |
120 | + | |
121 | - | p.Reflectance = .1 |
121 | + | |
122 | - | p.Material = Enum.Material.Plastic |
122 | + | |
123 | - | p = Instance.new("Part", Model) |
123 | + | |
124 | - | p.Name = "Part" |
124 | + | |
125 | - | p.TopSurface = 0 |
125 | + | |
126 | - | p.BottomSurface = 0 |
126 | + | |
127 | - | p.formFactor = "Custom" |
127 | + | |
128 | - | p.Size = Vector3.new(11, 5.40, 2.79) |
128 | + | |
129 | - | p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) |
129 | + | |
130 | - | p.BrickColor = BrickColor.new("Bright yellow") |
130 | + | |
131 | - | p.Transparency = 0 |
131 | + | |
132 | - | p.Reflectance = .1 |
132 | + | |
133 | - | p.Material = Enum.Material.Plastic |
133 | + | |
134 | - | m = Instance.new("SpecialMesh") |
134 | + | |
135 | - | m.Scale = Vector3.new(1, 1, 1) |
135 | + | |
136 | - | m.Parent = p |
136 | + | |
137 | - | m.MeshType = Enum.MeshType.Wedge |
137 | + | |
138 | - | p = Instance.new("Part", Model) |
138 | + | |
139 | - | p.Name = "Part" |
139 | + | |
140 | - | p.TopSurface = 0 |
140 | + | |
141 | - | p.BottomSurface = 0 |
141 | + | |
142 | - | p.formFactor = "Custom" |
142 | + | |
143 | - | p.Size = Vector3.new(2.60, 11, 1.99) |
143 | + | |
144 | - | p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
144 | + | |
145 | - | p.BrickColor = BrickColor.new("Bright yellow") |
145 | + | |
146 | - | p.Transparency = 0 |
146 | + | |
147 | - | p.Reflectance = .1 |
147 | + | |
148 | - | p.Material = Enum.Material.Plastic |
148 | + | |
149 | - | p = Instance.new("Part", Model) |
149 | + | |
150 | - | p.Name = "Part" |
150 | + | |
151 | - | p.TopSurface = 0 |
151 | + | |
152 | - | p.BottomSurface = 0 |
152 | + | |
153 | - | p.formFactor = "Custom" |
153 | + | |
154 | - | p.Size = Vector3.new(3.20, 11.0, 5) |
154 | + | |
155 | - | p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
155 | + | |
156 | - | p.BrickColor = BrickColor.new("Bright yellow") |
156 | + | |
157 | - | p.Transparency = 0 |
157 | + | |
158 | - | p.Reflectance = .1 |
158 | + | |
159 | - | p.Material = Enum.Material.Plastic |
159 | + | |
160 | - | p = Instance.new("Part", Model) |
160 | + | |
161 | - | p.Name = "Part" |
161 | + | |
162 | - | p.TopSurface = 0 |
162 | + | |
163 | - | p.BottomSurface = 0 |
163 | + | |
164 | - | p.formFactor = "Custom" |
164 | + | |
165 | - | p.Size = Vector3.new(1.99, 1, 1) |
165 | + | |
166 | - | p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
166 | + | |
167 | - | p.BrickColor = BrickColor.new("Mid gray") |
167 | + | |
168 | - | p.Transparency = 0 |
168 | + | |
169 | - | p.Reflectance = .1 |
169 | + | |
170 | - | p.Material = Enum.Material.Plastic |
170 | + | |
171 | - | p = Instance.new("Part", Model) |
171 | + | |
172 | - | p.Name = "Part" |
172 | + | |
173 | - | p.TopSurface = 0 |
173 | + | |
174 | - | p.BottomSurface = 0 |
174 | + | |
175 | - | p.formFactor = "Custom" |
175 | + | |
176 | - | p.Size = Vector3.new(1, 1, 4.59) |
176 | + | |
177 | - | p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
177 | + | |
178 | - | p.BrickColor = BrickColor.new("Mid gray") |
178 | + | |
179 | - | p.Transparency = 0 |
179 | + | |
180 | - | p.Reflectance = .1 |
180 | + | |
181 | - | p.Material = Enum.Material.Plastic |
181 | + | |
182 | - | p = Instance.new("Part", Model) |
182 | + | |
183 | - | p.Name = "Part" |
183 | + | |
184 | - | p.TopSurface = 0 |
184 | + | |
185 | - | p.BottomSurface = 0 |
185 | + | |
186 | - | p.formFactor = "Custom" |
186 | + | |
187 | - | p.Size = Vector3.new(1, 12.6, 9.80) |
187 | + | |
188 | - | p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
188 | + | |
189 | - | p.BrickColor = BrickColor.new("Bright yellow") |
189 | + | |
190 | - | p.Transparency = 0 |
190 | + | |
191 | - | p.Reflectance = .1 |
191 | + | |
192 | - | p.Material = Enum.Material.Plastic |
192 | + | |
193 | - | p = Instance.new("Part", Model) |
193 | + | |
194 | - | p.Name = "Part" |
194 | + | |
195 | - | p.TopSurface = 0 |
195 | + | |
196 | - | p.BottomSurface = 0 |
196 | + | |
197 | - | p.formFactor = "Custom" |
197 | + | |
198 | - | p.Size = Vector3.new(5.19, 1.39, 2.39) |
198 | + | |
199 | - | p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) |
199 | + | |
200 | - | p.BrickColor = BrickColor.new("Bright yellow") |
200 | + | |
201 | - | p.Transparency = 0 |
201 | + | |
202 | - | p.Reflectance = .1 |
202 | + | |
203 | - | p.Material = Enum.Material.Plastic |
203 | + | |
204 | - | m = Instance.new("SpecialMesh") |
204 | + | |
205 | - | m.Scale = Vector3.new(1, 1, 1) |
205 | + | |
206 | - | m.Parent = p |
206 | + | |
207 | - | m.MeshType = Enum.MeshType.Wedge |
207 | + | |
208 | - | p = Instance.new("Part", Model) |
208 | + | |
209 | - | p.Name = "Part" |
209 | + | |
210 | - | p.TopSurface = 0 |
210 | + | |
211 | - | p.BottomSurface = 0 |
211 | + | |
212 | - | p.formFactor = "Custom" |
212 | + | |
213 | - | p.Size = Vector3.new(11, 0.60, 1.99) |
213 | + | |
214 | - | p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008) |
214 | + | |
215 | - | p.BrickColor = BrickColor.new("Bright yellow") |
215 | + | |
216 | - | p.Transparency = 0 |
216 | + | |
217 | - | p.Reflectance = .1 |
217 | + | |
218 | - | p.Material = Enum.Material.Plastic |
218 | + | |
219 | - | m = Instance.new("SpecialMesh") |
219 | + | |
220 | - | m.Scale = Vector3.new(1, 1, 1) |
220 | + | |
221 | - | m.Parent = p |
221 | + | |
222 | - | m.MeshType = Enum.MeshType.Wedge |
222 | + | |
223 | - | p = Instance.new("Part", Model) |
223 | + | |
224 | - | p.Name = "Part" |
224 | + | |
225 | - | p.TopSurface = 0 |
225 | + | |
226 | - | p.BottomSurface = 0 |
226 | + | |
227 | - | p.formFactor = "Custom" |
227 | + | |
228 | - | p.Size = Vector3.new(3.20, 11, 5.60) |
228 | + | |
229 | - | p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
229 | + | |
230 | - | p.BrickColor = BrickColor.new("Bright yellow") |
230 | + | |
231 | - | p.Transparency = 0 |
231 | + | |
232 | - | p.Reflectance = .1 |
232 | + | |
233 | - | p.Material = Enum.Material.Plastic |
233 | + | |
234 | - | p = Instance.new("Part", Model) |
234 | + | |
235 | - | p.Name = "Part" |
235 | + | |
236 | - | p.TopSurface = 0 |
236 | + | |
237 | - | p.BottomSurface = 0 |
237 | + | |
238 | - | p.formFactor = "Custom" |
238 | + | |
239 | - | p.Size = Vector3.new(5, 13, 3.79) |
239 | + | |
240 | - | p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
240 | + | |
241 | - | p.BrickColor = BrickColor.new("Bright yellow") |
241 | + | |
242 | - | p.Transparency = 0 |
242 | + | |
243 | - | p.Reflectance = .1 |
243 | + | |
244 | - | p.Material = Enum.Material.Plastic |
244 | + | |
245 | - | p = Instance.new("Part", Model) |
245 | + | |
246 | - | p.Name = "Part" |
246 | + | |
247 | - | p.TopSurface = 0 |
247 | + | |
248 | - | p.BottomSurface = 0 |
248 | + | |
249 | - | p.formFactor = "Custom" |
249 | + | |
250 | - | p.Size = Vector3.new(5.19, 1.39, 2.39) |
250 | + | |
251 | - | p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) |
251 | + | |
252 | - | p.BrickColor = BrickColor.new("Bright yellow") |
252 | + | |
253 | - | p.Transparency = 0 |
253 | + | |
254 | - | p.Reflectance = .1 |
254 | + | |
255 | - | p.Material = Enum.Material.Plastic |
255 | + | |
256 | - | m = Instance.new("SpecialMesh") |
256 | + | |
257 | - | m.Scale = Vector3.new(1, 1, 1) |
257 | + | |
258 | - | m.Parent = p |
258 | + | |
259 | - | m.MeshType = Enum.MeshType.Wedge |
259 | + | |
260 | - | p = Instance.new("Part", Model) |
260 | + | |
261 | - | p.Name = "Part" |
261 | + | |
262 | - | p.TopSurface = 0 |
262 | + | |
263 | - | p.BottomSurface = 0 |
263 | + | |
264 | - | p.formFactor = "Custom" |
264 | + | |
265 | - | p.Size = Vector3.new(5.19, 1, 1) |
265 | + | |
266 | - | p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
266 | + | |
267 | - | p.BrickColor = BrickColor.new("Mid gray") |
267 | + | |
268 | - | p.Transparency = 0 |
268 | + | |
269 | - | p.Reflectance = .1 |
269 | + | |
270 | - | p.Material = Enum.Material.Plastic |
270 | + | |
271 | - | p = Instance.new("Part", Model) |
271 | + | |
272 | - | p.Name = "Part" |
272 | + | |
273 | - | p.TopSurface = 0 |
273 | + | |
274 | - | p.BottomSurface = 0 |
274 | + | |
275 | - | p.formFactor = "Custom" |
275 | + | |
276 | - | p.Size = Vector3.new(3.20, 5, 4) |
276 | + | |
277 | - | p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
277 | + | |
278 | - | p.BrickColor = BrickColor.new("Bright yellow") |
278 | + | |
279 | - | p.Transparency = 0 |
279 | + | |
280 | - | p.Reflectance = .1 |
280 | + | |
281 | - | p.Material = Enum.Material.Plastic |
281 | + | |
282 | - | p = Instance.new("Part", Model) |
282 | + | |
283 | - | p.Name = "Part" |
283 | + | |
284 | - | p.TopSurface = 0 |
284 | + | |
285 | - | p.BottomSurface = 0 |
285 | + | |
286 | - | p.formFactor = "Custom" |
286 | + | |
287 | - | p.Size = Vector3.new(6, 6.79, 2.79) |
287 | + | |
288 | - | p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1) |
288 | + | |
289 | - | p.BrickColor = BrickColor.new("Bright yellow") |
289 | + | |
290 | - | p.Transparency = 0 |
290 | + | |
291 | - | p.Reflectance = .1 |
291 | + | |
292 | - | p.Material = Enum.Material.Plastic |
292 | + | |
293 | - | m = Instance.new("SpecialMesh") |
293 | + | |
294 | - | m.Scale = Vector3.new(1, 1, 1) |
294 | + | |
295 | - | m.Parent = p |
295 | + | |
296 | - | m.MeshType = Enum.MeshType.Wedge |
296 | + | |
297 | - | p = Instance.new("Part", Model) |
297 | + | |
298 | - | p.Name = "Part" |
298 | + | |
299 | - | p.TopSurface = 0 |
299 | + | |
300 | - | p.BottomSurface = 0 |
300 | + | |
301 | - | p.formFactor = "Custom" |
301 | + | |
302 | - | p.Size = Vector3.new(0.60, 7.40, 3.79) |
302 | + | |
303 | - | p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
303 | + | |
304 | - | p.BrickColor = BrickColor.new("Black") |
304 | + | |
305 | - | p.Transparency = 0 |
305 | + | |
306 | - | p.Reflectance = .1 |
306 | + | |
307 | - | p.Material = Enum.Material.Plastic |
307 | + | |
308 | - | p = Instance.new("Part", Model) |
308 | + | |
309 | - | p.Name = "Part" |
309 | + | |
310 | - | p.TopSurface = 0 |
310 | + | |
311 | - | p.BottomSurface = 0 |
311 | + | |
312 | - | p.formFactor = "Custom" |
312 | + | |
313 | - | p.Size = Vector3.new(6.80, 1, 6.00) |
313 | + | |
314 | - | p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
314 | + | |
315 | - | p.BrickColor = BrickColor.new("Bright yellow") |
315 | + | |
316 | - | p.Transparency = 0 |
316 | + | |
317 | - | p.Reflectance = .1 |
317 | + | |
318 | - | p.Material = Enum.Material.Plastic |
318 | + | |
319 | - | p = Instance.new("Part", Model) |
319 | + | |
320 | - | p.Name = "Part" |
320 | + | |
321 | - | p.TopSurface = 0 |
321 | + | |
322 | - | p.BottomSurface = 0 |
322 | + | |
323 | - | p.formFactor = "Custom" |
323 | + | |
324 | - | p.Size = Vector3.new(11, 3.20, 2.19) |
324 | + | |
325 | - | p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) |
325 | + | |
326 | - | p.BrickColor = BrickColor.new("Bright yellow") |
326 | + | |
327 | - | p.Transparency = 0 |
327 | + | |
328 | - | p.Reflectance = .1 |
328 | + | |
329 | - | p.Material = Enum.Material.Plastic |
329 | + | |
330 | - | m = Instance.new("SpecialMesh") |
330 | + | |
331 | - | m.Scale = Vector3.new(1, 1, 1) |
331 | + | |
332 | - | m.Parent = p |
332 | + | |
333 | - | m.MeshType = Enum.MeshType.Wedge |
333 | + | |
334 | - | p = Instance.new("Part", Model) |
334 | + | |
335 | - | p.Name = "Part" |
335 | + | |
336 | - | p.TopSurface = 0 |
336 | + | |
337 | - | p.BottomSurface = 0 |
337 | + | |
338 | - | p.formFactor = "Custom" |
338 | + | |
339 | - | p.Size = Vector3.new(2.60, 11, 2.39) |
339 | + | |
340 | - | p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
340 | + | |
341 | - | p.BrickColor = BrickColor.new("Bright yellow") |
341 | + | |
342 | - | p.Transparency = 0 |
342 | + | |
343 | - | p.Reflectance = .1 |
343 | + | |
344 | - | p.Material = Enum.Material.Plastic |
344 | + | |
345 | - | p = Instance.new("Part", Model) |
345 | + | |
346 | - | p.Name = "Part" |
346 | + | |
347 | - | p.TopSurface = 0 |
347 | + | |
348 | - | p.BottomSurface = 0 |
348 | + | |
349 | - | p.formFactor = "Custom" |
349 | + | |
350 | - | p.Size = Vector3.new(5.19, 1, 1) |
350 | + | |
351 | - | p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
351 | + | |
352 | - | p.BrickColor = BrickColor.new("Mid gray") |
352 | + | |
353 | - | p.Transparency = 0 |
353 | + | |
354 | - | p.Reflectance = .1 |
354 | + | |
355 | - | p.Material = Enum.Material.Plastic |
355 | + | |
356 | - | p = Instance.new("Part", Model) |
356 | + | |
357 | - | p.Name = "Part" |
357 | + | |
358 | - | p.TopSurface = 0 |
358 | + | |
359 | - | p.BottomSurface = 0 |
359 | + | |
360 | - | p.formFactor = "Custom" |
360 | + | |
361 | - | p.Size = Vector3.new(5, 0.80, 0.79) |
361 | + | |
362 | - | p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) |
362 | + | |
363 | - | p.BrickColor = BrickColor.new("Bright yellow") |
363 | + | |
364 | - | p.Transparency = 0 |
364 | + | |
365 | - | p.Reflectance = .1 |
365 | + | |
366 | - | p.Material = Enum.Material.Plastic |
366 | + | |
367 | - | m = Instance.new("SpecialMesh") |
367 | + | |
368 | - | m.Scale = Vector3.new(1, 1, 1) |
368 | + | |
369 | - | m.Parent = p |
369 | + | |
370 | - | m.MeshType = Enum.MeshType.Wedge |
370 | + | |
371 | - | p = Instance.new("Part", Model) |
371 | + | |
372 | - | p.Name = "Part" |
372 | + | |
373 | - | p.TopSurface = 0 |
373 | + | |
374 | - | p.BottomSurface = 0 |
374 | + | |
375 | - | p.formFactor = "Custom" |
375 | + | |
376 | - | p.Size = Vector3.new(10, 12, 10) |
376 | + | |
377 | - | p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
377 | + | |
378 | - | p.BrickColor = BrickColor.new("Medium stone grey") |
378 | + | |
379 | - | p.Transparency = 0 |
379 | + | |
380 | - | p.Reflectance = .1 |
380 | + | |
381 | - | p.Material = Enum.Material.Concrete |
381 | + | |
382 | - | m = Instance.new("CylinderMesh") |
382 | + | |
383 | - | m.Scale = Vector3.new(1, 1.02999997, 1) |
383 | + | |
384 | - | m.Parent = p |
384 | + | |
385 | - | p = Instance.new("Part", Model) |
385 | + | |
386 | - | p.Name = "Part" |
386 | + | |
387 | - | p.TopSurface = 0 |
387 | + | |
388 | - | p.BottomSurface = 0 |
388 | + | |
389 | - | p.formFactor = "Custom" |
389 | + | |
390 | - | p.Size = Vector3.new(0.60, 5.19, 5) |
390 | + | |
391 | - | p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
391 | + | |
392 | - | p.BrickColor = BrickColor.new("Bright yellow") |
392 | + | |
393 | - | p.Transparency = 0 |
393 | + | |
394 | - | p.Reflectance = .1 |
394 | + | |
395 | - | p.Material = Enum.Material.Plastic |
395 | + | |
396 | - | p = Instance.new("Part", Model) |
396 | + | |
397 | - | p.Name = "Part" |
397 | + | |
398 | - | p.TopSurface = 0 |
398 | + | |
399 | - | p.BottomSurface = 0 |
399 | + | |
400 | - | p.formFactor = "Custom" |
400 | + | |
401 | - | p.Size = Vector3.new(6, 6.79, 2.79) |
401 | + | |
402 | - | p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
402 | + | |
403 | - | p.BrickColor = BrickColor.new("Bright yellow") |
403 | + | |
404 | - | p.Transparency = 0 |
404 | + | |
405 | - | p.Reflectance = .1 |
405 | + | |
406 | - | p.Material = Enum.Material.Plastic |
406 | + | |
407 | - | m = Instance.new("SpecialMesh") |
407 | + | |
408 | - | m.Scale = Vector3.new(1, 1, 1) |
408 | + | |
409 | - | m.Parent = p |
409 | + | |
410 | - | m.MeshType = Enum.MeshType.Wedge |
410 | + | |
411 | - | p = Instance.new("Part", Model) |
411 | + | |
412 | - | p.Name = "Part" |
412 | + | |
413 | - | p.TopSurface = 0 |
413 | + | |
414 | - | p.BottomSurface = 0 |
414 | + | |
415 | - | p.formFactor = "Custom" |
415 | + | |
416 | - | p.Size = Vector3.new(2.79, 7.40, 0.79) |
416 | + | |
417 | - | p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
417 | + | |
418 | - | p.BrickColor = BrickColor.new("Black") |
418 | + | |
419 | - | p.Transparency = 0 |
419 | + | |
420 | - | p.Reflectance = .1 |
420 | + | |
421 | - | p.Material = Enum.Material.Plastic |
421 | + | |
422 | - | p = Instance.new("Part", Model) |
422 | + | |
423 | - | p.Name = "Part" |
423 | + | |
424 | - | p.TopSurface = 0 |
424 | + | |
425 | - | p.BottomSurface = 0 |
425 | + | |
426 | - | p.formFactor = "Custom" |
426 | + | |
427 | - | p.Size = Vector3.new(5.40, 11, 10) |
427 | + | |
428 | - | p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
428 | + | |
429 | - | p.BrickColor = BrickColor.new("Bright yellow") |
429 | + | |
430 | - | p.Transparency = 0 |
430 | + | |
431 | - | p.Reflectance = .1 |
431 | + | |
432 | - | p.Material = Enum.Material.Plastic |
432 | + | |
433 | - | p = Instance.new("Part", Model) |
433 | + | |
434 | - | p.Name = "Part" |
434 | + | |
435 | - | p.TopSurface = 0 |
435 | + | |
436 | - | p.BottomSurface = 0 |
436 | + | |
437 | - | p.formFactor = "Custom" |
437 | + | |
438 | - | p.Size = Vector3.new(11, 0.60, 2.39) |
438 | + | |
439 | - | p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) |
439 | + | |
440 | - | p.BrickColor = BrickColor.new("Bright yellow") |
440 | + | |
441 | - | p.Transparency = 0 |
441 | + | |
442 | - | p.Reflectance = .1 |
442 | + | |
443 | - | p.Material = Enum.Material.Plastic |
443 | + | |
444 | - | m = Instance.new("SpecialMesh") |
444 | + | |
445 | - | m.Scale = Vector3.new(1, 1, 1) |
445 | + | |
446 | - | m.Parent = p |
446 | + | |
447 | - | m.MeshType = Enum.MeshType.Wedge |
447 | + | |
448 | - | p = Instance.new("Part", Model) |
448 | + | |
449 | - | p.Name = "Part" |
449 | + | |
450 | - | p.TopSurface = 0 |
450 | + | |
451 | - | p.BottomSurface = 0 |
451 | + | |
452 | - | p.formFactor = "Custom" |
452 | + | |
453 | - | p.Size = Vector3.new(4, 13, 1) |
453 | + | |
454 | - | p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
454 | + | |
455 | - | p.BrickColor = BrickColor.new("Bright yellow") |
455 | + | |
456 | - | p.Transparency = 0 |
456 | + | |
457 | - | p.Reflectance = .1 |
457 | + | |
458 | - | p.Material = Enum.Material.Plastic |
458 | + | |
459 | - | p = Instance.new("Part", Model) |
459 | + | |
460 | - | p.Name = "Part" |
460 | + | |
461 | - | p.TopSurface = 0 |
461 | + | |
462 | - | p.BottomSurface = 0 |
462 | + | |
463 | - | p.formFactor = "Custom" |
463 | + | |
464 | - | p.Size = Vector3.new(10.1, 1, 0.99) |
464 | + | |
465 | - | p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008) |
465 | + | |
466 | - | p.BrickColor = BrickColor.new("Mid gray") |
466 | + | |
467 | - | p.Transparency = 0 |
467 | + | |
468 | - | p.Reflectance = .1 |
468 | + | |
469 | - | p.Material = Enum.Material.Plastic |
469 | + | |
470 | - | m = Instance.new("SpecialMesh") |
470 | + | |
471 | - | m.Scale = Vector3.new(1, 1, 1) |
471 | + | |
472 | - | m.Parent = p |
472 | + | |
473 | - | m.MeshType = Enum.MeshType.Wedge |
473 | + | |
474 | - | p = Instance.new("Part", Model) |
474 | + | |
475 | - | p.Name = "Part" |
475 | + | |
476 | - | p.TopSurface = 0 |
476 | + | |
477 | - | p.BottomSurface = 0 |
477 | + | |
478 | - | p.formFactor = "Custom" |
478 | + | |
479 | - | p.Size = Vector3.new(1, 1, 4.59) |
479 | + | |
480 | - | p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
480 | + | |
481 | - | p.BrickColor = BrickColor.new("Mid gray") |
481 | + | |
482 | - | p.Transparency = 0 |
482 | + | |
483 | - | p.Reflectance = .1 |
483 | + | |
484 | - | p.Material = Enum.Material.Plastic |
484 | + | |
485 | - | p = Instance.new("Part", Model) |
485 | + | |
486 | - | p.Name = "Part" |
486 | + | |
487 | - | p.TopSurface = 0 |
487 | + | |
488 | - | p.BottomSurface = 0 |
488 | + | |
489 | - | p.formFactor = "Custom" |
489 | + | |
490 | - | p.Size = Vector3.new(1.99, 1, 1) |
490 | + | |
491 | - | p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
491 | + | |
492 | - | p.BrickColor = BrickColor.new("Mid gray") |
492 | + | |
493 | - | p.Transparency = 0 |
493 | + | |
494 | - | p.Reflectance = .1 |
494 | + | |
495 | - | p.Material = Enum.Material.Plastic |
495 | + | |
496 | - | p = Instance.new("Part", Model) |
496 | + | |
497 | - | p.Name = "Part" |
497 | + | |
498 | - | p.TopSurface = 0 |
498 | + | |
499 | - | p.BottomSurface = 0 |
499 | + | |
500 | - | p.formFactor = "Custom" |
500 | + | |
501 | - | p.Size = Vector3.new(1, 1, 4.59) |
501 | + | |
502 | - | p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) |
502 | + | |
503 | - | p.BrickColor = BrickColor.new("Mid gray") |
503 | + | |
504 | - | p.Transparency = 0 |
504 | + | |
505 | - | p.Reflectance = .1 |
505 | + | |
506 | - | p.Material = Enum.Material.Plastic |
506 | + | |
507 | - | p = Instance.new("Part", Model) |
507 | + | |
508 | - | p.Name = "Part" |
508 | + | |
509 | - | p.TopSurface = 0 |
509 | + | |
510 | - | p.BottomSurface = 0 |
510 | + | |
511 | - | p.formFactor = "Custom" |
511 | + | |
512 | - | p.Size = Vector3.new(10.1, 1, 0.99) |
512 | + | |
513 | - | p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008) |
513 | + | |
514 | - | p.BrickColor = BrickColor.new("Mid gray") |
514 | + | |
515 | - | p.Transparency = 0 |
515 | + | |
516 | - | p.Reflectance = .1 |
516 | + | |
517 | - | p.Material = Enum.Material.Plastic |
517 | + | |
518 | - | m = Instance.new("SpecialMesh") |
518 | + | |
519 | - | m.Scale = Vector3.new(1, 1, 1) |
519 | + | |
520 | - | m.Parent = p |
520 | + | |
521 | - | m.MeshType = Enum.MeshType.Wedge |
521 | + | |
522 | shok.Parent = model | |
523 | - | Spawn = function() |
523 | + | |
524 | - | Modelc = Model:clone() |
524 | + | |
525 | - | for _, v in pairs(Modelc:children()) do |
525 | + | |
526 | - | if v.className == "Part" then |
526 | + | |
527 | - | if v.Name ~= "Center" then |
527 | + | |
528 | - | w = Instance.new("Weld") |
528 | + | |
529 | - | w.Part0 = Modelc.Center |
529 | + | |
530 | - | w.Part1 = v |
530 | + | |
531 | - | w.C1 = v.CFrame:inverse() * CFrame.new(v.Position) |
531 | + | |
532 | - | w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position) |
532 | + | |
533 | - | w.Parent = w.Part0 |
533 | + | |
534 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
535 | end | |
536 | for e = 1, 38 do | |
537 | - | return Modelc |
537 | + | |
538 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
539 | shok.Transparency = shok.Transparency + 0.002 | |
540 | - | CameraRadius = 66 |
540 | + | |
541 | - | TimeStopRadius = 66 |
541 | + | |
542 | end | |
543 | - | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
543 | + | |
544 | - | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
544 | + | |
545 | - | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
545 | + | |
546 | - | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
546 | + | |
547 | - | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
547 | + | |
548 | - | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
548 | + | |
549 | - | LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
549 | + | |
550 | - | LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
550 | + | |
551 | - | NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
551 | + | |
552 | - | NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
552 | + | |
553 | - | RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
553 | + | |
554 | - | RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
554 | + | |
555 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
556 | - | getWelds = function(c) --designate weld variables |
556 | + | |
557 | - | local t = c.Torso |
557 | + | |
558 | - | local hrp = c.HumanoidRootPart.RootJoint |
558 | + | |
559 | - | RightShoulder = t:FindFirstChild("Right Shoulder") |
559 | + | |
560 | - | LeftShoulder = t:FindFirstChild("Left Shoulder") |
560 | + | |
561 | - | RightHip = t:FindFirstChild("Right Hip") |
561 | + | |
562 | - | LeftHip = t:FindFirstChild("Left Hip") |
562 | + | |
563 | - | RootJoint = hrp |
563 | + | |
564 | - | Neck = t:FindFirstChild("Neck") |
564 | + | |
565 | mesh.MeshId = "rbxassetid://3270017" | |
566 | - | resetWelds = function(ext, occ) --extent 1-3; occlusion |
566 | + | |
567 | - | --1 == reset desiredangle/currentangle |
567 | + | |
568 | - | --2 == reset C0/C1 |
568 | + | |
569 | - | --3 == reset both des/cur/c0/c1 |
569 | + | |
570 | - | local r = { |
570 | + | |
571 | - | RightShoulder, |
571 | + | |
572 | - | LeftShoulder, |
572 | + | |
573 | - | RightHip, |
573 | + | |
574 | - | LeftHip, |
574 | + | |
575 | - | RootJoint, |
575 | + | |
576 | - | Neck, |
576 | + | |
577 | - | Grip |
577 | + | |
578 | - | } |
578 | + | |
579 | - | for _, v in pairs(r) do |
579 | + | |
580 | - | for i = 1, #occ do |
580 | + | |
581 | - | if occ[i] == v then |
581 | + | |
582 | - | table.remove(r, _) |
582 | + | |
583 | wait() | |
584 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
585 | shok.Transparency = shok.Transparency + 0.03 | |
586 | - | for _, v in pairs(r) do |
586 | + | |
587 | - | if v.Name == "Right Shoulder" then |
587 | + | |
588 | - | if ext == 1 then |
588 | + | |
589 | - | v.DesiredAngle = 0 |
589 | + | |
590 | - | v.CurrentAngle = 0 |
590 | + | |
591 | - | elseif ext == 2 then |
591 | + | |
592 | - | v.C0 = RightShoulderC0 |
592 | + | |
593 | - | v.C1 = RightShoulderC1 |
593 | + | |
594 | - | elseif ext == 3 then |
594 | + | |
595 | - | v.DesiredAngle = 0 |
595 | + | |
596 | - | v.CurrentAngle = 0 |
596 | + | |
597 | - | v.C0 = RightShoulderC0 |
597 | + | |
598 | - | v.C1 = RightShoulderC1 |
598 | + | |
599 | shok.Transparency = 0.6 | |
600 | - | elseif v.Name == "Left Shoulder" then |
600 | + | |
601 | - | if ext == 1 then |
601 | + | |
602 | - | v.DesiredAngle = 0 |
602 | + | |
603 | - | v.CurrentAngle = 0 |
603 | + | |
604 | - | elseif ext == 2 then |
604 | + | |
605 | - | v.C0 = LeftShoulderC0 |
605 | + | |
606 | - | v.C1 = LeftShoulderC1 |
606 | + | |
607 | - | elseif ext == 3 then |
607 | + | |
608 | - | v.DesiredAngle = 0 |
608 | + | |
609 | - | v.CurrentAngle = 0 |
609 | + | |
610 | - | v.C0 = LeftShoulderC0 |
610 | + | |
611 | - | v.C1 = LeftShoulderC1 |
611 | + | |
612 | end | |
613 | - | elseif v.Name == "Right Hip" then |
613 | + | |
614 | - | if ext == 1 then |
614 | + | |
615 | - | v.DesiredAngle = 0 |
615 | + | |
616 | - | v.CurrentAngle = 0 |
616 | + | |
617 | - | elseif ext == 2 then |
617 | + | |
618 | - | v.C0 = RightHipC0 |
618 | + | |
619 | - | v.C1 = RightHipC1 |
619 | + | |
620 | - | elseif ext == 3 then |
620 | + | |
621 | - | v.DesiredAngle = 0 |
621 | + | |
622 | - | v.CurrentAngle = 0 |
622 | + | |
623 | - | v.C0 = RightHipC0 |
623 | + | |
624 | - | v.C1 = RightHipC1 |
624 | + | |
625 | local shok = Instance.new("Part") | |
626 | - | elseif v.Name == "Left Hip" then |
626 | + | |
627 | - | if ext == 1 then |
627 | + | |
628 | - | v.DesiredAngle = 0 |
628 | + | |
629 | - | v.CurrentAngle = 0 |
629 | + | |
630 | - | elseif ext == 2 then |
630 | + | |
631 | - | v.C0 = LeftHipC0 |
631 | + | |
632 | - | v.C1 = LeftHipC1 |
632 | + | |
633 | - | elseif ext == 3 then |
633 | + | |
634 | - | v.DesiredAngle = 0 |
634 | + | |
635 | - | v.CurrentAngle = 0 |
635 | + | |
636 | - | v.C0 = LeftHipC0 |
636 | + | |
637 | - | v.C1 = LeftHipC1 |
637 | + | |
638 | mesh.MeshId = "rbxassetid://489415447" | |
639 | - | elseif v.Name == "Neck" then |
639 | + | |
640 | - | if ext == 1 then |
640 | + | |
641 | - | v.DesiredAngle = 0 |
641 | + | |
642 | - | v.CurrentAngle = 0 |
642 | + | |
643 | - | elseif ext == 2 then |
643 | + | |
644 | - | v.C0 = NeckC0 |
644 | + | |
645 | - | v.C1 = NeckC1 |
645 | + | |
646 | - | elseif ext == 3 then |
646 | + | |
647 | - | v.DesiredAngle = 0 |
647 | + | |
648 | - | v.CurrentAngle = 0 |
648 | + | |
649 | - | v.C0 = NeckC0 |
649 | + | |
650 | - | v.C1 = NeckC1 |
650 | + | |
651 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
652 | - | elseif v.Name == "RootJoint" then |
652 | + | |
653 | - | if ext == 1 then |
653 | + | |
654 | - | v.DesiredAngle = 0 |
654 | + | |
655 | - | v.CurrentAngle = 0 |
655 | + | |
656 | - | elseif ext == 2 then |
656 | + | |
657 | - | v.C0 = RootJointC0 |
657 | + | |
658 | - | v.C1 = RootJointC1 |
658 | + | |
659 | - | elseif ext == 3 then |
659 | + | |
660 | - | v.DesiredAngle = 0 |
660 | + | |
661 | - | v.CurrentAngle = 0 |
661 | + | |
662 | - | v.C0 = RootJointC0 |
662 | + | |
663 | - | v.C1 = RootJointC1 |
663 | + | |
664 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
665 | - | elseif v.Name == "RightGrip" then |
665 | + | |
666 | - | if ext == 1 then |
666 | + | |
667 | - | elseif ext == 2 then |
667 | + | |
668 | - | Grip.C0 = nGrip.C0 |
668 | + | |
669 | - | Grip.C1 = nGrip.C1 |
669 | + | |
670 | - | elseif ext == 3 then |
670 | + | |
671 | - | Grip.C0 = nGrip.C0 |
671 | + | |
672 | - | Grip.C1 = nGrip.C1 |
672 | + | |
673 | mesh.MeshType = "FileMesh" | |
674 | mesh.MeshId = "rbxassetid://489415447" | |
675 | mesh.Scale = Vector3.new(20, 20, 20) | |
676 | mesh.Parent = shok | |
677 | for e = 1, 15 do | |
678 | wait() | |
679 | - | doitdocdoit = function() |
679 | + | |
680 | - | if deb == false then |
680 | + | |
681 | - | return |
681 | + | |
682 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
683 | - | deb = false |
683 | + | |
684 | - | |
684 | + | |
685 | - | vPlayer = game.Players.LocalPlayer |
685 | + | |
686 | - | cPlayer = vPlayer.Character |
686 | + | |
687 | - | Anim = cPlayer.Animate |
687 | + | |
688 | - | Anim.Disabled = true |
688 | + | |
689 | - | Hum = cPlayer.Humanoid |
689 | + | |
690 | - | Hum.Name = "NOPE" |
690 | + | |
691 | - | Hum.WalkSpeed = 0 |
691 | + | |
692 | - | getWelds(cPlayer) |
692 | + | |
693 | - | resetWelds(3, {}) |
693 | + | |
694 | - | |
694 | + | |
695 | - | bodypos = Instance.new("BodyPosition") |
695 | + | |
696 | - | bodypos.P = 4000 |
696 | + | |
697 | - | bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000 |
697 | + | |
698 | - | bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0) |
698 | + | |
699 | - | bodypos.Parent = cPlayer.Torso |
699 | + | |
700 | - | |
700 | + | |
701 | - | dir = cPlayer.HumanoidRootPart.CFrame.lookVector |
701 | + | |
702 | - | CPlayer = cPlayer |
702 | + | |
703 | - | partpos = Instance.new("Part", workspace) |
703 | + | |
704 | - | partpos.Transparency = 1 |
704 | + | |
705 | - | partpos.CanCollide = false |
705 | + | |
706 | - | partpos.Anchored = true |
706 | + | |
707 | - | partpos.CFrame = cPlayer.Torso.CFrame |
707 | + | |
708 | - | |
708 | + | |
709 | - | sound = Instance.new("Sound") |
709 | + | |
710 | - | sound.Parent = partpos |
710 | + | |
711 | - | sound.Volume = 1 |
711 | + | |
712 | - | sound.SoundId = "http://www.roblox.com/asset/?id=468760371" |
712 | + | |
713 | - | -- sound.SoundId="http://www.roblox.com/asset/?id=168009623" |
713 | + | |
714 | - | sound2 = Instance.new("Sound") |
714 | + | |
715 | - | sound2.Parent = workspace.CurrentCamera |
715 | + | |
716 | - | sound2.Volume = 1 |
716 | + | |
717 | - | sound2.SoundId = "http://www.roblox.com/asset/?id=468760371" |
717 | + | |
718 | - | -- sound2.SoundId="http://www.roblox.com/asset/?id=168009623" |
718 | + | |
719 | c.BrickColor = workspace.Base.BrickColor | |
720 | - | sound2:Play() |
720 | + | |
721 | - | expected = 10 |
721 | + | |
722 | - | did = false |
722 | + | |
723 | - | pooted = 0 |
723 | + | |
724 | - | sos = game:GetService("RunService").Stepped:connect(function() |
724 | + | |
725 | - | pooted = pooted + 1 |
725 | + | |
726 | - | if pooted >= expected + 1 then |
726 | + | |
727 | - | sos:disconnect() |
727 | + | |
728 | - | did = true |
728 | + | |
729 | - | return |
729 | + | |
730 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
731 | - | resetWelds(3, {}) |
731 | + | |
732 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) |
732 | + | |
733 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) |
733 | + | |
734 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) |
734 | + | |
735 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) |
735 | + | |
736 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
736 | + | |
737 | - | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
737 | + | |
738 | - | end) |
738 | + | |
739 | - | --[[sound=Instance.new("Sound") |
739 | + | |
740 | - | sound.Parent=cPlayer.Torso |
740 | + | |
741 | - | sound.Volume=1 |
741 | + | |
742 | - | sound.SoundId="http://www.roblox.com/asset/?id=316900066" |
742 | + | |
743 | - | sound:Play()]]-- |
743 | + | |
744 | - | while did == false do |
744 | + | |
745 | function newRay(start,face,range,wat) | |
746 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
747 | - | |
747 | + | |
748 | - | expected = 10 |
748 | + | |
749 | - | did = false |
749 | + | |
750 | - | pooted = 0 |
750 | + | |
751 | - | sos = game:GetService("RunService").Stepped:connect(function() |
751 | + | |
752 | - | pooted = pooted + 1 |
752 | + | |
753 | - | if pooted >= expected + 1 then |
753 | + | |
754 | - | sos:disconnect() |
754 | + | |
755 | - | did = true |
755 | + | |
756 | - | return |
756 | + | |
757 | end | |
758 | - | resetWelds(3, {}) |
758 | + | |
759 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) |
759 | + | |
760 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) |
760 | + | |
761 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) |
761 | + | |
762 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) |
762 | + | |
763 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9)) |
763 | + | |
764 | - | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10)) |
764 | + | |
765 | - | end) |
765 | + | |
766 | - | while did == false do |
766 | + | |
767 | pe.Size = NumberSequence.new(0.5) | |
768 | pe.Texture = "rbxassetid://359293258" | |
769 | - | wait(.2) |
769 | + | |
770 | - | expected = 5 |
770 | + | |
771 | - | did = false |
771 | + | |
772 | - | pooted = 0 |
772 | + | |
773 | - | nubhit = nil |
773 | + | |
774 | - | sos = game:GetService("RunService").Stepped:connect(function() |
774 | + | |
775 | - | pooted = pooted + 1 |
775 | + | |
776 | - | if pooted >= expected + 1 then |
776 | + | |
777 | - | sos:disconnect() |
777 | + | |
778 | - | did = true |
778 | + | |
779 | - | return |
779 | + | |
780 | pe2.LightEmission = 0.9 | |
781 | - | resetWelds(3, {}) |
781 | + | |
782 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) |
782 | + | |
783 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) |
783 | + | |
784 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) |
784 | + | |
785 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) |
785 | + | |
786 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40)) |
786 | + | |
787 | - | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34)) |
787 | + | |
788 | - | if nubhit == nil then |
788 | + | |
789 | - | bodypos.position = bodypos.position + dir * 4 |
789 | + | |
790 | - | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20) |
790 | + | |
791 | - | --bodypos.position=bodypos.position + dir*9 |
791 | + | |
792 | - | --cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20) |
792 | + | |
793 | pe2.Parent = lleg.Glow | |
794 | - | if nubhit == nil and pooted >= 2 then |
794 | + | |
795 | - | pos = bodypos.position + dir * 2 |
795 | + | |
796 | - | radi = 6 |
796 | + | |
797 | - | for _, v in pairs(workspace:children()) do |
797 | + | |
798 | - | h = v:FindFirstChild("Humanoid") |
798 | + | |
799 | - | t = v:FindFirstChild("Torso") |
799 | + | |
800 | - | if h ~= nil and t ~= nil and v ~= cPlayer then |
800 | + | |
801 | - | if (t.Position - pos).magnitude <= radi then |
801 | + | |
802 | - | print(":>") |
802 | + | |
803 | - | nubhit = v |
803 | + | |
804 | - | break |
804 | + | |
805 | - | end |
805 | + | |
806 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
807 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
808 | end | |
809 | - | if nubhit ~= nil then |
809 | + | |
810 | - | if nubhit.Torso:FindFirstChild("PART1") == nil then |
810 | + | |
811 | - | v = Instance.new("BodyVelocity") |
811 | + | |
812 | - | v.P = 4000 |
812 | + | |
813 | - | v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000) |
813 | + | |
814 | - | v.velocity = dir * 4 + Vector3.new(0, 4, 0) |
814 | + | |
815 | - | v.Name = "PART1" |
815 | + | |
816 | - | v.Parent = nubhit.Torso |
816 | + | |
817 | - | game:GetService("Debris"):AddItem(v, 5) |
817 | + | |
818 | - | coroutine.resume(coroutine.create(function(v) |
818 | + | |
819 | - | for i = 1, 100 do |
819 | + | |
820 | - | v.velocity = v.velocity - Vector3.new(0, .07, 0) |
820 | + | |
821 | - | wait() |
821 | + | |
822 | - | end |
822 | + | |
823 | - | end), v) |
823 | + | |
824 | - | v = Instance.new("BodyGyro") |
824 | + | |
825 | - | v.P = 20 |
825 | + | |
826 | - | v.D = 30 |
826 | + | |
827 | - | v.maxTorque = Vector3.new(5000000, 5000000, 5000000) |
827 | + | |
828 | - | v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0) |
828 | + | |
829 | - | v.Name = "PART1" |
829 | + | |
830 | - | v.Parent = nubhit.Torso |
830 | + | |
831 | - | game:GetService("Debris"):AddItem(v, 5) |
831 | + | |
832 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
833 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6) | |
834 | - | end) |
834 | + | |
835 | - | while did == false do |
835 | + | |
836 | for _ = 1, 18 do | |
837 | swait() | |
838 | - | if nubhit == nil then |
838 | + | |
839 | - | sound:Stop() |
839 | + | |
840 | - | wait(.5) |
840 | + | |
841 | - | sound2:Stop() |
841 | + | |
842 | - | else |
842 | + | |
843 | - | expected = 32 |
843 | + | |
844 | - | did = false |
844 | + | |
845 | - | pooted = 0 |
845 | + | |
846 | - | sos = game:GetService("RunService").Stepped:connect(function() |
846 | + | |
847 | - | pooted = pooted + 1 |
847 | + | |
848 | - | if pooted >= expected + 1 then |
848 | + | |
849 | - | sos:disconnect() |
849 | + | |
850 | - | did = true |
850 | + | |
851 | - | return |
851 | + | |
852 | ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr}) | |
853 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03)) |
853 | + | |
854 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0)) |
854 | + | |
855 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) |
855 | + | |
856 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) |
856 | + | |
857 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1)) |
857 | + | |
858 | - | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05)) |
858 | + | |
859 | - | bodypos.position = bodypos.position + dir * .05 |
859 | + | |
860 | - | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20) |
860 | + | |
861 | - | end) |
861 | + | |
862 | - | while did == false do |
862 | + | |
863 | - | wait() |
863 | + | |
864 | swait() | |
865 | - | bodypos.Parent = nil |
865 | + | |
866 | - | expected = 12 |
866 | + | |
867 | - | did = false |
867 | + | |
868 | - | pooted = 0 |
868 | + | |
869 | - | sos = game:GetService("RunService").Stepped:connect(function() |
869 | + | |
870 | - | pooted = pooted + 1 |
870 | + | |
871 | - | if pooted >= expected + 1 then |
871 | + | |
872 | - | sos:disconnect() |
872 | + | |
873 | - | did = true |
873 | + | |
874 | - | return |
874 | + | |
875 | end | |
876 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15)) |
876 | + | |
877 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25)) |
877 | + | |
878 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) |
878 | + | |
879 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) |
879 | + | |
880 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8)) |
880 | + | |
881 | - | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7)) |
881 | + | |
882 | - | end) |
882 | + | |
883 | ||
884 | - | while did == false do |
884 | + | |
885 | - | wait() |
885 | + | |
886 | local Vec3 = Vector3.new | |
887 | - | expected = 6 |
887 | + | |
888 | - | did = false |
888 | + | |
889 | - | pooted = 0 |
889 | + | |
890 | - | sos = game:GetService("RunService").Stepped:connect(function() |
890 | + | |
891 | - | pooted = pooted + 1 |
891 | + | |
892 | - | if pooted >= expected + 1 then |
892 | + | |
893 | - | sos:disconnect() |
893 | + | |
894 | - | did = true |
894 | + | |
895 | - | return |
895 | + | |
896 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
897 | - | resetWelds(3, {}) |
897 | + | |
898 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18)) |
898 | + | |
899 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18)) |
899 | + | |
900 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6)) |
900 | + | |
901 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6)) |
901 | + | |
902 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0)) |
902 | + | |
903 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1)) |
903 | + | |
904 | - | print(":(") |
904 | + | |
905 | - | end) |
905 | + | |
906 | - | wait(.3) |
906 | + | |
907 | - | while did == false do |
907 | + | |
908 | - | wait() |
908 | + | |
909 | return (math.sin((1-Num)*math.pi)+1)/2 | |
910 | - | resetWelds(3, { |
910 | + | |
911 | - | "Neck" |
911 | + | |
912 | - | }) |
912 | + | |
913 | - | expected = 5 |
913 | + | |
914 | - | did = false |
914 | + | |
915 | - | pooted = 0 |
915 | + | |
916 | - | p = Instance.new("Part", workspace) |
916 | + | |
917 | - | p.Name = "ORB" |
917 | + | |
918 | - | p.TopSurface = 0 |
918 | + | |
919 | - | p.BottomSurface = 0 |
919 | + | |
920 | - | p.formFactor = "Custom" |
920 | + | |
921 | - | p.CFrame = cPlayer.Torso.CFrame |
921 | + | |
922 | - | m = Instance.new("SpecialMesh", p) |
922 | + | |
923 | - | m.MeshType = "Sphere" |
923 | + | |
924 | - | p.BrickColor = BrickColor:White() |
924 | + | |
925 | - | p.Size = Vector3.new(1, 1, 1) |
925 | + | |
926 | - | p.CanCollide = false |
926 | + | |
927 | - | p.Anchored = true |
927 | + | |
928 | - | game:GetService("Debris"):AddItem(p, 5) |
928 | + | |
929 | - | coroutine.resume(coroutine.create(function(p) |
929 | + | |
930 | - | nubhit.Torso.Anchored = true |
930 | + | |
931 | - | for i = 1, 10 do |
931 | + | |
932 | - | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) |
932 | + | |
933 | - | p.Transparency = .5 + i / 20 |
933 | + | |
934 | - | wait() |
934 | + | |
935 | P.FormFactor = "Custom" | |
936 | - | p:Remove() |
936 | + | |
937 | - | end), p) |
937 | + | |
938 | - | sos = game:GetService("RunService").Stepped:connect(function() |
938 | + | |
939 | - | pooted = pooted + 1 |
939 | + | |
940 | - | if pooted >= expected + 1 then |
940 | + | |
941 | - | sos:disconnect() |
941 | + | |
942 | - | did = true |
942 | + | |
943 | - | return |
943 | + | |
944 | local P = Instance.new("Part",Torso.Parent) | |
945 | - | resetWelds(3, {}) |
945 | + | |
946 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10)) |
946 | + | |
947 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10)) |
947 | + | |
948 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10)) |
948 | + | |
949 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9)) |
949 | + | |
950 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0)) |
950 | + | |
951 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2)) |
951 | + | |
952 | - | print(":(") |
952 | + | |
953 | - | end) |
953 | + | |
954 | - | |
954 | + | |
955 | - | while did == false do |
955 | + | |
956 | - | wait() |
956 | + | |
957 | for i2,v in pairs(Parts) do | |
958 | - | wait(1) |
958 | + | |
959 | - | expected = 5 |
959 | + | |
960 | - | did = false |
960 | + | |
961 | - | pooted = 0 |
961 | + | |
962 | - | sos = game:GetService("RunService").Stepped:connect(function() |
962 | + | |
963 | - | pooted = pooted + 1 |
963 | + | |
964 | - | if pooted >= expected + 1 then |
964 | + | |
965 | - | sos:disconnect() |
965 | + | |
966 | - | did = true |
966 | + | |
967 | - | return |
967 | + | |
968 | for i = 0,1,0.05 do | |
969 | - | resetWelds(3, {}) |
969 | + | |
970 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) |
970 | + | |
971 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) |
971 | + | |
972 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) |
972 | + | |
973 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) |
973 | + | |
974 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) |
974 | + | |
975 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) |
975 | + | |
976 | - | print(":(") |
976 | + | |
977 | - | end) |
977 | + | |
978 | - | while did == false do |
978 | + | |
979 | - | wait() |
979 | + | |
980 | end) | |
981 | - | wait(.8) |
981 | + | |
982 | - | expected = 5 |
982 | + | |
983 | - | did = false |
983 | + | |
984 | - | pooted = 0 |
984 | + | |
985 | - | bodypos.Parent = cPlayer.Torso |
985 | + | |
986 | - | workspace.CurrentCamera.CameraType = "Follow" |
986 | + | |
987 | - | sos = game:GetService("RunService").Stepped:connect(function() |
987 | + | |
988 | - | pooted = pooted + 1 |
988 | + | |
989 | - | if pooted >= expected + 1 then |
989 | + | |
990 | - | sos:disconnect() |
990 | + | |
991 | - | did = true |
991 | + | |
992 | - | return |
992 | + | |
993 | end | |
994 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3)) |
994 | + | |
995 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3)) |
995 | + | |
996 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8)) |
996 | + | |
997 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8)) |
997 | + | |
998 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0)) |
998 | + | |
999 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) |
999 | + | |
1000 | - | |
1000 | + | |
1001 | - | bodypos.position = bodypos.position + Vector3.new(0, 240, 0) |
1001 | + | |
1002 | - | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 240, 0) |
1002 | + | |
1003 | - | |
1003 | + | |
1004 | - | print(":(") |
1004 | + | |
1005 | - | end) |
1005 | + | |
1006 | - | local DIOPLS = Instance.new("Sound", cPlayer.Torso) |
1006 | + | |
1007 | - | DIOPLS.SoundId = "rbxassetid://316900066" |
1007 | + | |
1008 | - | DIOPLS.Volume = 1 |
1008 | + | |
1009 | - | DIOPLS:Play() |
1009 | + | |
1010 | - | Instance.new("DistortionSoundEffect", DIOPLS).Level = 1 |
1010 | + | |
1011 | - | game:GetService("Debris"):AddItem(DIOPLS, 19) |
1011 | + | |
1012 | - | while did == false do |
1012 | + | |
1013 | - | wait() |
1013 | + | |
1014 | sound2.EmitterSize = 20 | |
1015 | - | wait(.8) |
1015 | + | |
1016 | - | LOL = Spawn() |
1016 | + | |
1017 | - | LOL.Parent = workspace |
1017 | + | |
1018 | - | LOL:MakeJoints() |
1018 | + | |
1019 | - | LOL:MoveTo(cPlayer.Torso.CFrame.p) |
1019 | + | |
1020 | - | C = LOL.Center |
1020 | + | |
1021 | - | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0) |
1021 | + | |
1022 | - | |
1022 | + | |
1023 | - | bb = Instance.new("BodyPosition") |
1023 | + | |
1024 | - | bb.Parent = C |
1024 | + | |
1025 | - | bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000) |
1025 | + | |
1026 | - | bb.position = bb.Parent.Position |
1026 | + | |
1027 | - | C.CFrame = CFrame.new(bb.position) |
1027 | + | |
1028 | - | orig = bb.position |
1028 | + | |
1029 | - | |
1029 | + | |
1030 | - | gg = Instance.new("BodyGyro") |
1030 | + | |
1031 | - | gg.P = 15000 |
1031 | + | |
1032 | - | gg.D = 100 |
1032 | + | |
1033 | - | gg.maxTorque = Vector3.new(500000000, 500000000, 500000000) |
1033 | + | |
1034 | - | gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0) |
1034 | + | |
1035 | - | gg.Parent = C |
1035 | + | |
1036 | - | |
1036 | + | |
1037 | - | expected = 80 |
1037 | + | |
1038 | - | did = false |
1038 | + | |
1039 | - | pooted = 0 |
1039 | + | |
1040 | - | |
1040 | + | |
1041 | - | resetWelds(3, {}) |
1041 | + | |
1042 | - | |
1042 | + | |
1043 | - | Hum.PlatformStand = true |
1043 | + | |
1044 | - | |
1044 | + | |
1045 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180)) |
1045 | + | |
1046 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180)) |
1046 | + | |
1047 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8)) |
1047 | + | |
1048 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8)) |
1048 | + | |
1049 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0)) |
1049 | + | |
1050 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1050 | + | |
1051 | - | |
1051 | + | |
1052 | - | bodypos.Parent = nil |
1052 | + | |
1053 | - | w = Instance.new("Weld") |
1053 | + | |
1054 | - | w.Part0 = C |
1054 | + | |
1055 | - | w.Part1 = cPlayer.Torso |
1055 | + | |
1056 | - | w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0) |
1056 | + | |
1057 | - | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0) |
1057 | + | |
1058 | - | w.Parent = w.Part0 |
1058 | + | |
1059 | - | |
1059 | + | |
1060 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1060 | + | |
1061 | - | pooted = pooted + 1 |
1061 | + | |
1062 | - | if pooted >= expected + 1 then |
1062 | + | |
1063 | - | sos:disconnect() |
1063 | + | |
1064 | - | did = true |
1064 | + | |
1065 | - | return |
1065 | + | |
1066 | mesh.Scale = Vector3.new(20, 20, 15) | |
1067 | - | |
1067 | + | |
1068 | - | bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0) |
1068 | + | |
1069 | - | C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0) |
1069 | + | |
1070 | - | print(":(") |
1070 | + | |
1071 | - | end) |
1071 | + | |
1072 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4) | |
1073 | - | while did == false do |
1073 | + | |
1074 | - | wait() |
1074 | + | |
1075 | end | |
1076 | - | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0) |
1076 | + | |
1077 | - | C.CFrame = C.CFrame * CFrame.new(8, 0, 0) |
1077 | + | |
1078 | - | bl2 = Instance.new("Part") |
1078 | + | |
1079 | - | bl2.TopSurface = 0 |
1079 | + | |
1080 | - | bl2.BottomSurface = 0 |
1080 | + | |
1081 | - | bl2.CanCollide = false |
1081 | + | |
1082 | - | bl2.formFactor = "Symmetric" |
1082 | + | |
1083 | - | local ShockWaveSound = Instance.new("Sound", bl2) |
1083 | + | |
1084 | - | ShockWaveSound.SoundId = "rbxassetid://138186576" |
1084 | + | |
1085 | - | ShockWaveSound.Pitch = 0.8 |
1085 | + | |
1086 | - | ShockWaveSound.Volume = 1 |
1086 | + | |
1087 | - | ShockWaveSound:Play() |
1087 | + | |
1088 | - | Instance.new("DistortionSoundEffect", ShockWaveSound).Level = 1 |
1088 | + | |
1089 | - | m = Instance.new("SpecialMesh") |
1089 | + | |
1090 | - | m.MeshId = "http://www.roblox.com/asset/?id=20329976" |
1090 | + | |
1091 | - | m.Scale = Vector3.new(1, 4, 1) |
1091 | + | |
1092 | - | m.Parent = bl2 |
1092 | + | |
1093 | - | bl2.Size = Vector3.new(1, 1, 1) |
1093 | + | |
1094 | - | bl2.Anchored = false |
1094 | + | |
1095 | - | bl2.Name = "c" |
1095 | + | |
1096 | - | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) |
1096 | + | |
1097 | - | bl2.BrickColor = BrickColor.new("White") |
1097 | + | |
1098 | - | bl2.Parent = CPlayer |
1098 | + | |
1099 | - | coroutine.resume(coroutine.create(function(p) |
1099 | + | |
1100 | - | for i = 1, 10 do |
1100 | + | |
1101 | - | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8) |
1101 | + | |
1102 | - | p.Transparency = .25 + i * .075 |
1102 | + | |
1103 | - | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0) |
1103 | + | |
1104 | - | wait() |
1104 | + | |
1105 | shok.Transparency = shok.Transparency + 0.002 | |
1106 | - | p:Remove() |
1106 | + | |
1107 | - | end), bl2) |
1107 | + | |
1108 | - | bl2.Anchored = true |
1108 | + | |
1109 | ||
1110 | - | bl2 = Instance.new("Part") |
1110 | + | |
1111 | - | bl2.TopSurface = 0 |
1111 | + | |
1112 | - | bl2.BottomSurface = 0 |
1112 | + | |
1113 | - | bl2.CanCollide = false |
1113 | + | |
1114 | - | bl2.formFactor = "Symmetric" |
1114 | + | |
1115 | - | m = Instance.new("SpecialMesh") |
1115 | + | |
1116 | - | m.MeshId = "http://www.roblox.com/asset/?id=20329976" |
1116 | + | |
1117 | - | m.Scale = Vector3.new(1, 6, 1) |
1117 | + | |
1118 | - | m.Parent = bl2 |
1118 | + | |
1119 | - | bl2.Size = Vector3.new(1, 1, 1) |
1119 | + | |
1120 | - | bl2.Anchored = false |
1120 | + | |
1121 | - | bl2.Name = "c" |
1121 | + | |
1122 | - | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) |
1122 | + | |
1123 | - | bl2.BrickColor = BrickColor.new("White") |
1123 | + | |
1124 | - | bl2.Parent = CPlayer |
1124 | + | |
1125 | - | coroutine.resume(coroutine.create(function(p) |
1125 | + | |
1126 | - | for i = 1, 20 do |
1126 | + | |
1127 | - | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6) |
1127 | + | |
1128 | - | p.Transparency = i / 20 |
1128 | + | |
1129 | - | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0) |
1129 | + | |
1130 | - | wait() |
1130 | + | |
1131 | local shok = Instance.new("Part") | |
1132 | - | p:Remove() |
1132 | + | |
1133 | - | end), bl2) |
1133 | + | |
1134 | - | bl2.Anchored = true |
1134 | + | |
1135 | - | |
1135 | + | |
1136 | - | gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0) |
1136 | + | |
1137 | - | expected = 3 |
1137 | + | |
1138 | - | did = false |
1138 | + | |
1139 | - | pooted = 0 |
1139 | + | |
1140 | - | workspace.CurrentCamera.CameraType = "Follow" |
1140 | + | |
1141 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1141 | + | |
1142 | - | pooted = pooted + 1 |
1142 | + | |
1143 | - | if pooted >= expected + 1 then |
1143 | + | |
1144 | - | sos:disconnect() |
1144 | + | |
1145 | - | did = true |
1145 | + | |
1146 | - | return |
1146 | + | |
1147 | for e = 1, 30 do | |
1148 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1148 | + | |
1149 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1149 | + | |
1150 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0)) |
1150 | + | |
1151 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0)) |
1151 | + | |
1152 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1152 | + | |
1153 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) |
1153 | + | |
1154 | - | |
1154 | + | |
1155 | - | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) |
1155 | + | |
1156 | - | |
1156 | + | |
1157 | - | print(":(") |
1157 | + | |
1158 | - | end) |
1158 | + | |
1159 | - | while did == false do |
1159 | + | |
1160 | - | wait() |
1160 | + | |
1161 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
1162 | - | wait(.3) |
1162 | + | |
1163 | - | expected = 5 |
1163 | + | |
1164 | - | did = false |
1164 | + | |
1165 | - | pooted = 0 |
1165 | + | |
1166 | - | workspace.CurrentCamera.CameraType = "Follow" |
1166 | + | |
1167 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1167 | + | |
1168 | - | pooted = pooted + 1 |
1168 | + | |
1169 | - | if pooted >= expected + 1 then |
1169 | + | |
1170 | - | sos:disconnect() |
1170 | + | |
1171 | - | did = true |
1171 | + | |
1172 | - | return |
1172 | + | |
1173 | end | |
1174 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1174 | + | |
1175 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1175 | + | |
1176 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8)) |
1176 | + | |
1177 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8)) |
1177 | + | |
1178 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) |
1178 | + | |
1179 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0)) |
1179 | + | |
1180 | - | |
1180 | + | |
1181 | - | w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) |
1181 | + | |
1182 | - | |
1182 | + | |
1183 | - | print(":(") |
1183 | + | |
1184 | - | end) |
1184 | + | |
1185 | - | while did == false do |
1185 | + | |
1186 | - | wait() |
1186 | + | |
1187 | local mesh = Instance.new("SpecialMesh") | |
1188 | - | expected = 203 |
1188 | + | |
1189 | - | did = false |
1189 | + | |
1190 | - | pooted = 0 |
1190 | + | |
1191 | - | workspace.CurrentCamera.CameraType = "Follow" |
1191 | + | |
1192 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1192 | + | |
1193 | - | pooted = pooted + 1 |
1193 | + | |
1194 | - | if pooted >= expected + 1 then |
1194 | + | |
1195 | - | sos:disconnect() |
1195 | + | |
1196 | - | did = true |
1196 | + | |
1197 | - | return |
1197 | + | |
1198 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1199 | - | resetWelds(3, { |
1199 | + | |
1200 | - | RightHip, |
1200 | + | |
1201 | - | LeftHip, |
1201 | + | |
1202 | - | RootJoint, |
1202 | + | |
1203 | - | Neck |
1203 | + | |
1204 | - | }) |
1204 | + | |
1205 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2) |
1205 | + | |
1206 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2) |
1206 | + | |
1207 | - | RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30)) |
1207 | + | |
1208 | - | LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30)) |
1208 | + | |
1209 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0)) |
1209 | + | |
1210 | - | RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0)) |
1210 | + | |
1211 | - | w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0) |
1211 | + | |
1212 | - | C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) |
1212 | + | |
1213 | - | |
1213 | + | |
1214 | - | if pooted / 2 == math.floor(pooted / 2) then |
1214 | + | |
1215 | - | p = cPlayer["Right Arm"]:clone() |
1215 | + | |
1216 | - | p.Anchored = true |
1216 | + | |
1217 | - | p.CanCollide = false |
1217 | + | |
1218 | - | p.Parent = workspace |
1218 | + | |
1219 | - | p.Transparency = .5 |
1219 | + | |
1220 | - | game:GetService("Debris"):AddItem(p, .2) |
1220 | + | |
1221 | - | p = cPlayer["Left Arm"]:clone() |
1221 | + | |
1222 | - | p.Anchored = true |
1222 | + | |
1223 | - | p.CanCollide = false |
1223 | + | |
1224 | - | p.Parent = workspace |
1224 | + | |
1225 | - | p.Transparency = .5 |
1225 | + | |
1226 | - | game:GetService("Debris"):AddItem(p, .2) |
1226 | + | |
1227 | - | |
1227 | + | |
1228 | - | p = Instance.new("Part", workspace) |
1228 | + | |
1229 | - | p.Name = "ORB" |
1229 | + | |
1230 | - | p.TopSurface = 0 |
1230 | + | |
1231 | - | p.BottomSurface = 0 |
1231 | + | |
1232 | - | p.formFactor = "Custom" |
1232 | + | |
1233 | - | p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15) |
1233 | + | |
1234 | - | m = Instance.new("SpecialMesh", p) |
1234 | + | |
1235 | - | m.MeshType = "Sphere" |
1235 | + | |
1236 | - | p.BrickColor = BrickColor:White() |
1236 | + | |
1237 | - | p.Size = Vector3.new(.4, .4, .4) |
1237 | + | |
1238 | - | p.CanCollide = false |
1238 | + | |
1239 | - | p.Anchored = true |
1239 | + | |
1240 | - | game:GetService("Debris"):AddItem(p, 5) |
1240 | + | |
1241 | - | coroutine.resume(coroutine.create(function(p) |
1241 | + | |
1242 | - | for i = 1, 8 do |
1242 | + | |
1243 | - | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1) |
1243 | + | |
1244 | - | p.Transparency = i / 8 |
1244 | + | |
1245 | - | wait() |
1245 | + | |
1246 | - | end |
1246 | + | |
1247 | - | p:Remove() |
1247 | + | |
1248 | - | end), p) |
1248 | + | |
1249 | - | |
1249 | + | |
1250 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1251 | - | |
1251 | + | |
1252 | - | print(":)") |
1252 | + | |
1253 | - | end) |
1253 | + | |
1254 | - | while did == false do |
1254 | + | |
1255 | - | wait() |
1255 | + | |
1256 | wait() | |
1257 | - | wait(.5) |
1257 | + | |
1258 | - | expected = 20 |
1258 | + | |
1259 | - | did = false |
1259 | + | |
1260 | - | pooted = 0 |
1260 | + | |
1261 | - | workspace.CurrentCamera.CameraType = "Follow" |
1261 | + | |
1262 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1262 | + | |
1263 | - | pooted = pooted + 1 |
1263 | + | |
1264 | - | if pooted >= expected + 1 then |
1264 | + | |
1265 | - | sos:disconnect() |
1265 | + | |
1266 | - | did = true |
1266 | + | |
1267 | - | return |
1267 | + | |
1268 | shok.BrickColor = BrickColor.new("Really black") | |
1269 | - | resetWelds(3, { |
1269 | + | |
1270 | - | Neck, |
1270 | + | |
1271 | - | RootJoint, |
1271 | + | |
1272 | - | RightHip, |
1272 | + | |
1273 | - | LeftHip |
1273 | + | |
1274 | - | }) |
1274 | + | |
1275 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted)) |
1275 | + | |
1276 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted)) |
1276 | + | |
1277 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2)) |
1277 | + | |
1278 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted)) |
1278 | + | |
1279 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2)) |
1279 | + | |
1280 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1280 | + | |
1281 | - | w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0)) |
1281 | + | |
1282 | - | print(":)") |
1282 | + | |
1283 | - | end) |
1283 | + | |
1284 | - | while did == false do |
1284 | + | |
1285 | - | wait() |
1285 | + | |
1286 | end | |
1287 | - | wait(2) |
1287 | + | |
1288 | - | expected = 5 |
1288 | + | |
1289 | - | did = false |
1289 | + | |
1290 | - | pooted = 0 |
1290 | + | |
1291 | - | workspace.CurrentCamera.CameraType = "Follow" |
1291 | + | |
1292 | - | w.Parent = nil |
1292 | + | |
1293 | - | bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0) |
1293 | + | |
1294 | - | poo = cPlayer.Torso.CFrame.lookVector |
1294 | + | |
1295 | - | cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50) |
1295 | + | |
1296 | - | bodypos.Parent = cPlayer.Torso |
1296 | + | |
1297 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1297 | + | |
1298 | - | pooted = pooted + 1 |
1298 | + | |
1299 | - | if pooted >= expected + 1 then |
1299 | + | |
1300 | - | sos:disconnect() |
1300 | + | |
1301 | - | did = true |
1301 | + | |
1302 | - | return |
1302 | + | |
1303 | shok.Size = Vector3.new(1, 1, 1) | |
1304 | - | resetWelds(3, {}) |
1304 | + | |
1305 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35)) |
1305 | + | |
1306 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28)) |
1306 | + | |
1307 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4)) |
1307 | + | |
1308 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4)) |
1308 | + | |
1309 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0)) |
1309 | + | |
1310 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0)) |
1310 | + | |
1311 | - | print(":)") |
1311 | + | |
1312 | - | end) |
1312 | + | |
1313 | - | while did == false do |
1313 | + | |
1314 | - | wait() |
1314 | + | |
1315 | for e = 1, 15 do | |
1316 | - | wait(.7) |
1316 | + | |
1317 | - | expected = 5 |
1317 | + | |
1318 | - | did = false |
1318 | + | |
1319 | - | pooted = 0 |
1319 | + | |
1320 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1320 | + | |
1321 | - | pooted = pooted + 1 |
1321 | + | |
1322 | - | if pooted >= expected + 1 then |
1322 | + | |
1323 | - | sos:disconnect() |
1323 | + | |
1324 | - | did = true |
1324 | + | |
1325 | - | return |
1325 | + | |
1326 | shok.Transparency = shok.Transparency + 0.004 | |
1327 | - | resetWelds(3, {}) |
1327 | + | |
1328 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) |
1328 | + | |
1329 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) |
1329 | + | |
1330 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) |
1330 | + | |
1331 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) |
1331 | + | |
1332 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) |
1332 | + | |
1333 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) |
1333 | + | |
1334 | - | print(":(") |
1334 | + | |
1335 | - | end) |
1335 | + | |
1336 | - | while did == false do |
1336 | + | |
1337 | - | wait() |
1337 | + | |
1338 | end | |
1339 | - | wait(.2) |
1339 | + | |
1340 | - | expected = 10 |
1340 | + | |
1341 | - | did = false |
1341 | + | |
1342 | - | pooted = 0 |
1342 | + | |
1343 | - | workspace.CurrentCamera.CameraType = "Follow" |
1343 | + | |
1344 | - | g = Instance.new("BodyGyro") |
1344 | + | |
1345 | - | g.Parent = cPlayer.Torso |
1345 | + | |
1346 | - | sos = game:GetService("RunService").Stepped:connect(function() |
1346 | + | |
1347 | - | pooted = pooted + 1 |
1347 | + | |
1348 | - | if pooted >= expected + 1 then |
1348 | + | |
1349 | - | sos:disconnect() |
1349 | + | |
1350 | - | did = true |
1350 | + | |
1351 | - | return |
1351 | + | |
1352 | local mesh = Instance.new("SpecialMesh") | |
1353 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2)) |
1353 | + | |
1354 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2)) |
1354 | + | |
1355 | - | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4)) |
1355 | + | |
1356 | - | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4)) |
1356 | + | |
1357 | - | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) |
1357 | + | |
1358 | - | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) |
1358 | + | |
1359 | - | if pooted >= 2 then |
1359 | + | |
1360 | - | bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5 |
1360 | + | |
1361 | - | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5 |
1361 | + | |
1362 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1363 | - | print(":(") |
1363 | + | |
1364 | - | end) |
1364 | + | |
1365 | - | while did == false do |
1365 | + | |
1366 | - | wait() |
1366 | + | |
1367 | wait() | |
1368 | - | wait(.2) |
1368 | + | |
1369 | - | bodypos:Remove() |
1369 | + | |
1370 | - | wait(.5) |
1370 | + | |
1371 | - | |
1371 | + | |
1372 | - | e = Instance.new("Explosion") |
1372 | + | |
1373 | - | e.BlastRadius = 30 |
1373 | + | |
1374 | - | e.Position = C.Position |
1374 | + | |
1375 | - | e.BlastPressure = e.BlastPressure * 2.5 |
1375 | + | |
1376 | - | e.Parent = workspace |
1376 | + | |
1377 | - | s = Instance.new("Sound", C) |
1377 | + | |
1378 | - | s.SoundId = "rbxassetid://258057783" |
1378 | + | |
1379 | - | s.Volume = 1 |
1379 | + | |
1380 | - | s:Play() |
1380 | + | |
1381 | - | Instance.new("DistortionSoundEffect", s).Level = 1 |
1381 | + | |
1382 | - | g:Remove() |
1382 | + | |
1383 | - | --dun |
1383 | + | |
1384 | - | nubhit.Torso.Anchored = false |
1384 | + | |
1385 | - | Hum.PlatformStand = false |
1385 | + | |
1386 | - | C.Anchored = true |
1386 | + | |
1387 | local effspwn = Instance.new("Part") | |
1388 | - | coroutine.resume(coroutine.create(function(t) |
1388 | + | |
1389 | - | wait(3) |
1389 | + | |
1390 | - | p = Instance.new("Sound") |
1390 | + | |
1391 | - | p.SoundId = "http://www.roblox.com/asset/?id=154677261" |
1391 | + | |
1392 | - | p.Parent = t |
1392 | + | |
1393 | - | p.Volume = 1 |
1393 | + | |
1394 | - | p:Play() |
1394 | + | |
1395 | - | end), C) |
1395 | + | |
1396 | - | game:GetService("Debris"):AddItem(LOL, 5) |
1396 | + | |
1397 | sound2.SoundId = "rbxassetid://157878578" | |
1398 | - | resetWelds(3, {}) |
1398 | + | |
1399 | - | workspace.CurrentCamera.CameraType = "Custom" |
1399 | + | |
1400 | - | Hum.WalkSpeed = 16 |
1400 | + | |
1401 | - | Hum.Name = "Humanoid" |
1401 | + | |
1402 | - | bodypos:Remove() |
1402 | + | |
1403 | - | partpos:Remove() |
1403 | + | |
1404 | - | Anim.Parent = nil |
1404 | + | |
1405 | - | wait(.1) |
1405 | + | |
1406 | - | Anim.Disabled = false |
1406 | + | |
1407 | - | Anim.Parent = cPlayer |
1407 | + | |
1408 | - | deb = true |
1408 | + | |
1409 | sound2.Parent = effspwn | |
1410 | sound2:Play() | |
1411 | - | Tool = Instance.new("HopperBin") |
1411 | + | |
1412 | - | Tool.Name = "ROAD ROLLER DA" |
1412 | + | |
1413 | - | Tool.Parent = game.Players.LocalPlayer.Backpack |
1413 | + | |
1414 | - | Tool.Selected:connect(function(mouse) |
1414 | + | |
1415 | - | mouse.Button1Down:connect(function() |
1415 | + | |
1416 | - | doitdocdoit() |
1416 | + | |
1417 | - | end) |
1417 | + | |
1418 | - | end) |
1418 | + | |
1419 | effspwn.Name = "spwnr" | |
1420 | effspwn.Size = Vector3.new(1, 1, 1) | |
1421 | effspwn.Anchored = true | |
1422 | effspwn.CanCollide = false | |
1423 | effspwn.Transparency = 1 | |
1424 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
1425 | effspwn.Parent = model | |
1426 | ||
1427 | ||
1428 | ||
1429 | ||
1430 | ||
1431 | Crater(head,60) | |
1432 | Crater(head,120) | |
1433 | ||
1434 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
1435 | if v:FindFirstChild('Humanoid') then | |
1436 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1437 | v.Humanoid.PlatformStand = true | |
1438 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200 | |
1439 | end | |
1440 | end | |
1441 | ||
1442 | coroutine.resume(coroutine.create(function() | |
1443 | local shok = Instance.new("Part") | |
1444 | shok.Name = "whoosh" | |
1445 | shok.BrickColor = BrickColor.new("Really black") | |
1446 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
1447 | shok.Size = Vector3.new(1, 1, 1) | |
1448 | shok.Anchored = true | |
1449 | shok.Material = "Neon" | |
1450 | shok.Transparency = 0.1 | |
1451 | shok.CanCollide = false | |
1452 | shok.Parent = model | |
1453 | game.Debris:AddItem(shok, 12) | |
1454 | local mesh = Instance.new("SpecialMesh") | |
1455 | mesh.MeshType = "FileMesh" | |
1456 | mesh.MeshId = "rbxassetid://437347603" | |
1457 | mesh.Scale = Vector3.new(20, 20, 15) | |
1458 | mesh.Parent = shok | |
1459 | ||
1460 | ||
1461 | ||
1462 | ||
1463 | ||
1464 | for e = 1, 8 do | |
1465 | wait() | |
1466 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
1467 | shok.Transparency = shok.Transparency + 0.035 | |
1468 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
1469 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
1470 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1471 | ||
1472 | end | |
1473 | for e = 1, 16 do | |
1474 | wait() | |
1475 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
1476 | shok.Transparency = shok.Transparency + 0.11 | |
1477 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
1478 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
1479 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1480 | ||
1481 | end | |
1482 | end)) | |
1483 | coroutine.resume(coroutine.create(function() | |
1484 | local shok = Instance.new("Part") | |
1485 | shok.Name = "wring1" | |
1486 | shok.BrickColor = BrickColor.new("Really black") | |
1487 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
1488 | shok.Size = Vector3.new(1, 1, 1) | |
1489 | shok.Anchored = true | |
1490 | shok.Material = "Neon" | |
1491 | shok.Transparency = 0.25 | |
1492 | shok.CanCollide = false | |
1493 | shok.Parent = model | |
1494 | game.Debris:AddItem(shok, 12) | |
1495 | local mesh = Instance.new("SpecialMesh") | |
1496 | mesh.MeshType = "FileMesh" | |
1497 | mesh.MeshId = "rbxassetid://3270017" | |
1498 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
1499 | mesh.Parent = shok | |
1500 | for e = 1, 30 do | |
1501 | wait() | |
1502 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
1503 | shok.Transparency = shok.Transparency + 0.002 | |
1504 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1505 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
1506 | end | |
1507 | for e = 1, 38 do | |
1508 | wait() | |
1509 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
1510 | shok.Transparency = shok.Transparency + 0.002 | |
1511 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1512 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
1513 | end | |
1514 | for e = 1, 24 do | |
1515 | wait() | |
1516 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
1517 | shok.Transparency = shok.Transparency + 0.03 | |
1518 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1519 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
1520 | end | |
1521 | end)) | |
1522 | coroutine.resume(coroutine.create(function() | |
1523 | local shok = Instance.new("Part") | |
1524 | shok.Name = "wring2" | |
1525 | shok.BrickColor = BrickColor.new("Really black") | |
1526 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
1527 | shok.Size = Vector3.new(1, 1, 1) | |
1528 | shok.Anchored = true | |
1529 | shok.Material = "Neon" | |
1530 | shok.Transparency = 0.25 | |
1531 | shok.CanCollide = false | |
1532 | shok.Parent = model | |
1533 | game.Debris:AddItem(shok, 12) | |
1534 | local mesh = Instance.new("SpecialMesh") | |
1535 | mesh.MeshType = "FileMesh" | |
1536 | mesh.MeshId = "rbxassetid://3270017" | |
1537 | mesh.Scale = Vector3.new(20, 20, 0.05) | |
1538 | mesh.Parent = shok | |
1539 | for e = 1, 30 do | |
1540 | wait() | |
1541 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
1542 | shok.Transparency = shok.Transparency + 0.002 | |
1543 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1544 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
1545 | end | |
1546 | for e = 1, 38 do | |
1547 | wait() | |
1548 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
1549 | shok.Transparency = shok.Transparency + 0.002 | |
1550 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1551 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
1552 | end | |
1553 | for e = 1, 24 do | |
1554 | wait() | |
1555 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
1556 | shok.Transparency = shok.Transparency + 0.03 | |
1557 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1558 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
1559 | end | |
1560 | end)) | |
1561 | coroutine.resume(coroutine.create(function() | |
1562 | local shok = Instance.new("Part") | |
1563 | shok.Name = "coil1" | |
1564 | shok.BrickColor = BrickColor.new("Really black") | |
1565 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1566 | shok.Size = Vector3.new(1, 1, 1) | |
1567 | shok.Anchored = true | |
1568 | shok.Material = "Neon" | |
1569 | shok.Transparency = 0.25 | |
1570 | shok.CanCollide = false | |
1571 | shok.Parent = model | |
1572 | game.Debris:AddItem(shok, 12) | |
1573 | local mesh = Instance.new("SpecialMesh") | |
1574 | mesh.MeshType = "FileMesh" | |
1575 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
1576 | mesh.Scale = Vector3.new(12, 12, 12) | |
1577 | mesh.Parent = shok | |
1578 | for e = 1, 15 do | |
1579 | wait() | |
1580 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1581 | shok.Transparency = shok.Transparency + 0.004 | |
1582 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1583 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1584 | end | |
1585 | for e = 1, 16 do | |
1586 | wait() | |
1587 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1588 | shok.Transparency = shok.Transparency + 0.004 | |
1589 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1590 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1591 | end | |
1592 | for e = 1, 12 do | |
1593 | wait() | |
1594 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1595 | shok.Transparency = shok.Transparency + 0.06 | |
1596 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1597 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1598 | end | |
1599 | end)) | |
1600 | coroutine.resume(coroutine.create(function() | |
1601 | local shok = Instance.new("Part") | |
1602 | shok.Name = "coil2" | |
1603 | shok.BrickColor = BrickColor.new("Really black") | |
1604 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1605 | shok.Size = Vector3.new(1, 1, 1) | |
1606 | shok.Anchored = true | |
1607 | shok.Material = "Neon" | |
1608 | shok.Transparency = 0.25 | |
1609 | shok.CanCollide = false | |
1610 | shok.Parent = model | |
1611 | game.Debris:AddItem(shok, 12) | |
1612 | local mesh = Instance.new("SpecialMesh") | |
1613 | mesh.MeshType = "FileMesh" | |
1614 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
1615 | mesh.Scale = Vector3.new(6, 12, 6) | |
1616 | mesh.Parent = shok | |
1617 | for e = 1, 15 do | |
1618 | wait() | |
1619 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1620 | shok.Transparency = shok.Transparency + 0.005 | |
1621 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1622 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1623 | end | |
1624 | for e = 1, 16 do | |
1625 | wait() | |
1626 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1627 | shok.Transparency = shok.Transparency + 0.005 | |
1628 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1629 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1630 | end | |
1631 | for e = 1, 12 do | |
1632 | wait() | |
1633 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1634 | shok.Transparency = shok.Transparency + 0.09 | |
1635 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1636 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1637 | end | |
1638 | end)) | |
1639 | coroutine.resume(coroutine.create(function() | |
1640 | local shok = Instance.new("Part") | |
1641 | shok.Name = "shokwve" | |
1642 | shok.BrickColor = BrickColor.new("Really black") | |
1643 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
1644 | shok.Size = Vector3.new(1, 1, 1) | |
1645 | shok.Anchored = true | |
1646 | shok.Material = "Neon" | |
1647 | shok.Transparency = 0.6 | |
1648 | shok.CanCollide = false | |
1649 | shok.Parent = model | |
1650 | game.Debris:AddItem(shok, 12) | |
1651 | local mesh = Instance.new("SpecialMesh") | |
1652 | mesh.MeshType = "FileMesh" | |
1653 | mesh.MeshId = "rbxassetid://489415447" | |
1654 | mesh.Scale = Vector3.new(1, 1, 1) | |
1655 | mesh.Parent = shok | |
1656 | for e = 1, 12 do | |
1657 | wait() | |
1658 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
1659 | shok.Transparency = shok.Transparency + 0.002 | |
1660 | end | |
1661 | for e = 1, 32 do | |
1662 | wait() | |
1663 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1664 | shok.Transparency = shok.Transparency + 0.002 | |
1665 | end | |
1666 | for e = 1, 24 do | |
1667 | wait() | |
1668 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1669 | shok.Transparency = shok.Transparency + 0.03 | |
1670 | end | |
1671 | end)) | |
1672 | coroutine.resume(coroutine.create(function() | |
1673 | local shok = Instance.new("Part") | |
1674 | shok.Name = "shock2" | |
1675 | shok.BrickColor = BrickColor.new("Really black") | |
1676 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1677 | shok.Size = Vector3.new(1, 1, 1) | |
1678 | shok.Anchored = true | |
1679 | shok.Material = "Neon" | |
1680 | shok.Transparency = 0.35 | |
1681 | shok.CanCollide = false | |
1682 | shok.Parent = model | |
1683 | game.Debris:AddItem(shok, 12) | |
1684 | local mesh = Instance.new("SpecialMesh") | |
1685 | mesh.MeshType = "FileMesh" | |
1686 | mesh.MeshId = "rbxassetid://489415447" | |
1687 | mesh.Scale = Vector3.new(12, 12, 12) | |
1688 | mesh.Parent = shok | |
1689 | for e = 1, 15 do | |
1690 | wait() | |
1691 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1692 | shok.Transparency = shok.Transparency + 0.004 | |
1693 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1694 | end | |
1695 | for e = 1, 16 do | |
1696 | wait() | |
1697 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1698 | shok.Transparency = shok.Transparency + 0.004 | |
1699 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1700 | end | |
1701 | for e = 1, 12 do | |
1702 | wait() | |
1703 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1704 | shok.Transparency = shok.Transparency + 0.06 | |
1705 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1706 | end | |
1707 | end)) | |
1708 | coroutine.resume(coroutine.create(function() | |
1709 | local shok = Instance.new("Part") | |
1710 | shok.Name = "shock3" | |
1711 | shok.BrickColor = BrickColor.new("Really black") | |
1712 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1713 | shok.Size = Vector3.new(1, 1, 1) | |
1714 | shok.Anchored = true | |
1715 | shok.Material = "Neon" | |
1716 | shok.Transparency = 0.35 | |
1717 | shok.CanCollide = false | |
1718 | shok.Parent = model | |
1719 | game.Debris:AddItem(shok, 12) | |
1720 | local mesh = Instance.new("SpecialMesh") | |
1721 | mesh.MeshType = "FileMesh" | |
1722 | mesh.MeshId = "rbxassetid://489415447" | |
1723 | mesh.Scale = Vector3.new(12, 12, 12) | |
1724 | mesh.Parent = shok | |
1725 | for e = 1, 15 do | |
1726 | wait() | |
1727 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1728 | shok.Transparency = shok.Transparency + 0.004 | |
1729 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1730 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1731 | end | |
1732 | for e = 1, 16 do | |
1733 | wait() | |
1734 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1735 | shok.Transparency = shok.Transparency + 0.004 | |
1736 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1737 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1738 | end | |
1739 | for e = 1, 12 do | |
1740 | wait() | |
1741 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
1742 | shok.Transparency = shok.Transparency + 0.06 | |
1743 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1744 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1745 | end | |
1746 | end)) | |
1747 | end | |
1748 | ||
1749 | ||
1750 | ||
1751 | tor = chr.Torso | |
1752 | Debounce = false | |
1753 | ||
1754 | Invis = function() | |
1755 | for i = 1,20 do | |
1756 | chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05 | |
1757 | chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05 | |
1758 | chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05 | |
1759 | chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05 | |
1760 | chr['Head'].Transparency = chr['Head'].Transparency + .05 | |
1761 | chr['Torso'].Transparency = chr['Torso'].Transparency + .05 | |
1762 | chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05 | |
1763 | game["Run Service"].RenderStepped:wait() | |
1764 | end | |
1765 | end | |
1766 | ||
1767 | Vis = function() | |
1768 | for i = 1,20 do | |
1769 | chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05 | |
1770 | chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05 | |
1771 | chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05 | |
1772 | chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05 | |
1773 | chr['Head'].Transparency = chr['Head'].Transparency - .05 | |
1774 | chr['Torso'].Transparency = chr['Torso'].Transparency - .05 | |
1775 | chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05 | |
1776 | game["Run Service"].RenderStepped:wait() | |
1777 | end | |
1778 | end | |
1779 | ||
1780 | Fade = function(Part) | |
1781 | if Part:IsA'Part' then | |
1782 | for i = 1,20 do | |
1783 | Part.Transparency = Part.Transparency + .05 | |
1784 | Part.Size = Part.Size - Vector3.new(.04,.04,.04) | |
1785 | Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0) | |
1786 | wait() | |
1787 | end | |
1788 | Part:Destroy() | |
1789 | end | |
1790 | end | |
1791 | ||
1792 | Teleport = function(cx,cy,cz) | |
1793 | Debounce = true | |
1794 | tor.Anchored = true | |
1795 | Invis() | |
1796 | --MakeTpPart() | |
1797 | tor.Anchored = false | |
1798 | tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0) | |
1799 | tor.Anchored = true | |
1800 | Vis() | |
1801 | tor.Anchored = false | |
1802 | Debounce = false | |
1803 | end; | |
1804 | ||
1805 | ||
1806 | ||
1807 | tps = Instance.new("Sound",chr) | |
1808 | tps.SoundId = "http://www.roblox.com/asset/?id = 357621062" | |
1809 | tps.Volume = 30 | |
1810 | ||
1811 | ||
1812 | function Tele() | |
1813 | human.WalkSpeed = 0 | |
1814 | if activu == true or selected == false then | |
1815 | return | |
1816 | end | |
1817 | coroutine.resume(coroutine.create(function() | |
1818 | fglow(rleg.Glow, 1) | |
1819 | fglow(lleg.Glow, 1) | |
1820 | end)) | |
1821 | activu = true | |
1822 | local pe = Instance.new("ParticleEmitter") | |
1823 | pe.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
1824 | pe.LightEmission = 0.9 | |
1825 | pe.Size = NumberSequence.new(0.5) | |
1826 | pe.Texture = "rbxassetid://359293258" | |
1827 | pe.Transparency = NumberSequence.new(0.1) | |
1828 | pe.Lifetime = NumberRange.new(0.1) | |
1829 | pe.Rate = 250 | |
1830 | pe.RotSpeed = NumberRange.new(360) | |
1831 | pe.Speed = NumberRange.new(3) | |
1832 | pe.VelocitySpread = 360 | |
1833 | pe.Parent = rleg.Glow | |
1834 | local pea = pe:Clone() | |
1835 | pea.Parent = lleg.Glow | |
1836 | local pe2 = Instance.new("ParticleEmitter") | |
1837 | pe2.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
1838 | pe2.LightEmission = 0.9 | |
1839 | pe2.Size = NumberSequence.new(5) | |
1840 | pe2.Texture = "rbxassetid://359293258" | |
1841 | pe2.Transparency = NumberSequence.new(0.4) | |
1842 | pe2.ZOffset = 2 | |
1843 | pe2.Enabled = true | |
1844 | pe2.LockedToPart = true | |
1845 | pe2.Lifetime = NumberRange.new(0.07) | |
1846 | pe2.Rate = 8 | |
1847 | pe2.Rotation = NumberRange.new(0, 360) | |
1848 | pe2.RotSpeed = NumberRange.new(0) | |
1849 | pe2.Speed = NumberRange.new(0) | |
1850 | pe2.VelocitySpread = 180 | |
1851 | pe2.Parent = lleg.Glow | |
1852 | local pea2 = pe2:Clone() | |
1853 | pea2.Parent = rleg.Glow | |
1854 | ||
1855 | for l = 1, 30 do | |
1856 | swait() | |
1857 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
1858 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
1859 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
1860 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1861 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
1862 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1863 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
1864 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1865 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
1866 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1867 | end | |
1868 | ||
1869 | pe:Destroy() | |
1870 | pe2:Destroy() | |
1871 | pea:Destroy() | |
1872 | pea2:Destroy() | |
1873 | local rng = Instance.new("Part", chr) | |
1874 | rng.Anchored = true | |
1875 | rng.BrickColor = BrickColor.new("Really black") | |
1876 | rng.CanCollide = false | |
1877 | rng.FormFactor = 3 | |
1878 | rng.Name = "Ring" | |
1879 | rng.Size = Vector3.new(1, 1, 1) | |
1880 | rng.Transparency = 0.5 | |
1881 | rng.TopSurface = 0 | |
1882 | rng.BottomSurface = 0 | |
1883 | rng.Position = tors.Position - Vector3.new(0,2,0) | |
1884 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1885 | local rngm = Instance.new("SpecialMesh", rng) | |
1886 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1887 | rngm.Scale = Vector3.new(1, 1, 2) | |
1888 | coroutine.wrap(function() | |
1889 | for i = 1, 60, 8 do | |
1890 | rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1) | |
1891 | rng.Transparency = i/60 | |
1892 | wait() | |
1893 | end | |
1894 | wait() | |
1895 | rng:Destroy() | |
1896 | end)() | |
1897 | tps:Play() | |
1898 | Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z) | |
1899 | resetlerp() | |
1900 | human.WalkSpeed = 16 | |
1901 | activu = false | |
1902 | ||
1903 | end | |
1904 | ||
1905 | ||
1906 | ||
1907 | ||
1908 | boom3 = Instance.new("Sound",chr) | |
1909 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
1910 | boom3.Volume = 50 | |
1911 | ||
1912 | ||
1913 | ||
1914 | ||
1915 | ||
1916 | gprop = {} | |
1917 | function materialhit(hit) | |
1918 | if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then | |
1919 | gprop = {hit.BrickColor,hit.Material} | |
1920 | end | |
1921 | end | |
1922 | chr["Left Leg"].Touched:connect(materialhit) | |
1923 | chr["Right Leg"].Touched:connect(materialhit) | |
1924 | ||
1925 | ||
1926 | function KickBoom() | |
1927 | local effspwn = Instance.new("Part") | |
1928 | local model = Instance.new("Model") | |
1929 | game.Debris:AddItem(model, 20) | |
1930 | model.Name = "smasheffects" | |
1931 | model.Parent = chr | |
1932 | effspwn.Name = "spwnr" | |
1933 | effspwn.Size = Vector3.new(1, 1, 1) | |
1934 | effspwn.Anchored = true | |
1935 | effspwn.CanCollide = false | |
1936 | effspwn.Transparency = 1 | |
1937 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
1938 | effspwn.Parent = model | |
1939 | ||
1940 | for i = 1, 15 do | |
1941 | local gtrace = Instance.new("Part",game.Workspace) | |
1942 | gtrace.BrickColor = gprop[1] | |
1943 | gtrace.Material = gprop[2] | |
1944 | gtrace.Size = Vector3.new(16,16,16) | |
1945 | gtrace.Anchored = true | |
1946 | gtrace.CanCollide = false | |
1947 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1948 | local gdisp = coroutine.wrap(function() | |
1949 | wait(3) | |
1950 | for i = 1, 9 do | |
1951 | wait(.1) | |
1952 | gtrace.Transparency = gtrace.Transparency + .1 | |
1953 | end | |
1954 | gtrace:Destroy() | |
1955 | end) | |
1956 | gdisp() | |
1957 | end | |
1958 | ||
1959 | Crater(head,67) | |
1960 | ||
1961 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
1962 | if v:FindFirstChild('Humanoid') then | |
1963 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1964 | v.Humanoid.PlatformStand = true | |
1965 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250 | |
1966 | end | |
1967 | end | |
1968 | ||
1969 | coroutine.resume(coroutine.create(function() | |
1970 | local shok = Instance.new("Part") | |
1971 | shok.Name = "shock3" | |
1972 | shok.BrickColor = BrickColor.new("Really black") | |
1973 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1974 | shok.Size = Vector3.new(1, 1, 1) | |
1975 | shok.Anchored = true | |
1976 | shok.Material = "Neon" | |
1977 | shok.Transparency = 0.35 | |
1978 | shok.CanCollide = false | |
1979 | shok.Parent = model | |
1980 | game.Debris:AddItem(shok, 12) | |
1981 | local mesh = Instance.new("SpecialMesh") | |
1982 | mesh.MeshType = "FileMesh" | |
1983 | mesh.MeshId = "rbxassetid://489415447" | |
1984 | mesh.Scale = Vector3.new(19, 19, 19) | |
1985 | mesh.Parent = shok | |
1986 | for e = 1, 15 do | |
1987 | wait() | |
1988 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1989 | shok.Transparency = shok.Transparency + 0.004 | |
1990 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1991 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1992 | end | |
1993 | for e = 1, 16 do | |
1994 | wait() | |
1995 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1996 | shok.Transparency = shok.Transparency + 0.004 | |
1997 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1998 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1999 | end | |
2000 | for e = 1, 12 do | |
2001 | wait() | |
2002 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
2003 | shok.Transparency = shok.Transparency + 0.06 | |
2004 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2005 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2006 | end | |
2007 | end)) | |
2008 | ||
2009 | ||
2010 | coroutine.resume(coroutine.create(function() | |
2011 | local shok = Instance.new("Part") | |
2012 | shok.Name = "shock3" | |
2013 | shok.BrickColor = BrickColor.new("Really black") | |
2014 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2015 | shok.Size = Vector3.new(1, 1, 1) | |
2016 | shok.Anchored = true | |
2017 | shok.Material = "Neon" | |
2018 | shok.Transparency = 0.35 | |
2019 | shok.CanCollide = false | |
2020 | shok.Parent = model | |
2021 | game.Debris:AddItem(shok, 12) | |
2022 | local mesh = Instance.new("SpecialMesh") | |
2023 | mesh.MeshType = "FileMesh" | |
2024 | mesh.MeshId = "rbxassetid://489415447" | |
2025 | mesh.Scale = Vector3.new(47, 47, 47) | |
2026 | mesh.Parent = shok | |
2027 | for e = 1, 15 do | |
2028 | wait() | |
2029 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2030 | shok.Transparency = shok.Transparency + 0.004 | |
2031 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2032 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2033 | end | |
2034 | for e = 1, 16 do | |
2035 | wait() | |
2036 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2037 | shok.Transparency = shok.Transparency + 0.004 | |
2038 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2039 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2040 | end | |
2041 | for e = 1, 12 do | |
2042 | wait() | |
2043 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
2044 | shok.Transparency = shok.Transparency + 0.06 | |
2045 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2046 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2047 | end | |
2048 | end)) | |
2049 | ||
2050 | coroutine.resume(coroutine.create(function() | |
2051 | local shok = Instance.new("Part") | |
2052 | shok.Name = "shock3" | |
2053 | shok.BrickColor = BrickColor.new("Really black") | |
2054 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2055 | shok.Size = Vector3.new(1, 1, 1) | |
2056 | shok.Anchored = true | |
2057 | shok.Material = "Neon" | |
2058 | shok.Transparency = 0.35 | |
2059 | shok.CanCollide = false | |
2060 | shok.Parent = model | |
2061 | game.Debris:AddItem(shok, 12) | |
2062 | local mesh = Instance.new("SpecialMesh") | |
2063 | mesh.MeshType = "FileMesh" | |
2064 | mesh.MeshId = "rbxassetid://489415447" | |
2065 | mesh.Scale = Vector3.new(79, 79, 79) | |
2066 | mesh.Parent = shok | |
2067 | for e = 1, 15 do | |
2068 | wait() | |
2069 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2070 | shok.Transparency = shok.Transparency + 0.004 | |
2071 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2072 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2073 | end | |
2074 | for e = 1, 16 do | |
2075 | wait() | |
2076 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2077 | shok.Transparency = shok.Transparency + 0.004 | |
2078 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2079 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2080 | end | |
2081 | for e = 1, 12 do | |
2082 | wait() | |
2083 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
2084 | shok.Transparency = shok.Transparency + 0.06 | |
2085 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2086 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2087 | end | |
2088 | end)) | |
2089 | end | |
2090 | ||
2091 | ||
2092 | ||
2093 | ||
2094 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2095 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2096 | end | |
2097 | cam = workspace.CurrentCamera | |
2098 | ||
2099 | ||
2100 | ||
2101 | ||
2102 | ||
2103 | ||
2104 | ||
2105 | ||
2106 | function NoOutline(Part) | |
2107 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
2108 | end | |
2109 | ||
2110 | ||
2111 | ||
2112 | ||
2113 | it = Instance.new | |
2114 | ||
2115 | ||
2116 | ||
2117 | ||
2118 | ||
2119 | ||
2120 | ||
2121 | ||
2122 | ||
2123 | ||
2124 | so = function(id,par,vol,pit) | |
2125 | coroutine.resume(coroutine.create(function() | |
2126 | local sou = Instance.new("Sound",par or workspace) | |
2127 | sou.Volume=vol | |
2128 | sou.Pitch=pit or 1 | |
2129 | sou.SoundId=id | |
2130 | swait() | |
2131 | sou:play() | |
2132 | game:GetService("Debris"):AddItem(sou,6) | |
2133 | end)) | |
2134 | end | |
2135 | ||
2136 | ||
2137 | function Stom() | |
2138 | ||
2139 | cf=CFrame.new | |
2140 | angles=CFrame.Angles | |
2141 | euler=CFrame.fromEulerAnglesXYZ | |
2142 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
2143 | RootPart=chr.HumanoidRootPart | |
2144 | RootJoint=RootPart.RootJoint | |
2145 | RootCF=euler(-1.57,0,3.14) | |
2146 | ||
2147 | function QuaternionFromCFrame(cf) | |
2148 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
2149 | local trace = m00 + m11 + m22 | |
2150 | if trace > 0 then | |
2151 | local s = math.sqrt(1 + trace) | |
2152 | local recip = 0.5/s | |
2153 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
2154 | else | |
2155 | local i = 0 | |
2156 | if m11 > m00 then | |
2157 | i = 1 | |
2158 | end | |
2159 | if m22 > (i == 0 and m00 or m11) then | |
2160 | i = 2 | |
2161 | end | |
2162 | if i == 0 then | |
2163 | local s = math.sqrt(m00-m11-m22+1) | |
2164 | local recip = 0.5/s | |
2165 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
2166 | elseif i == 1 then | |
2167 | local s = math.sqrt(m11-m22-m00+1) | |
2168 | local recip = 0.5/s | |
2169 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
2170 | elseif i == 2 then | |
2171 | local s = math.sqrt(m22-m00-m11+1) | |
2172 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
2173 | end | |
2174 | end | |
2175 | end | |
2176 | ||
2177 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
2178 | local xs, ys, zs = x + x, y + y, z + z | |
2179 | local wx, wy, wz = w*xs, w*ys, w*zs | |
2180 | local xx = x*xs | |
2181 | local xy = x*ys | |
2182 | local xz = x*zs | |
2183 | local yy = y*ys | |
2184 | local yz = y*zs | |
2185 | local zz = z*zs | |
2186 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
2187 | end | |
2188 | ||
2189 | function QuaternionSlerp(a, b, t) | |
2190 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
2191 | local startInterp, finishInterp; | |
2192 | if cosTheta >= 0.0001 then | |
2193 | if (1 - cosTheta) > 0.0001 then | |
2194 | local theta = math.acos(cosTheta) | |
2195 | local invSinTheta = 1/math.sin(theta) | |
2196 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
2197 | finishInterp = math.sin(t*theta)*invSinTheta | |
2198 | else | |
2199 | startInterp = 1-t | |
2200 | finishInterp = t | |
2201 | end | |
2202 | else | |
2203 | if (1+cosTheta) > 0.0001 then | |
2204 | local theta = math.acos(-cosTheta) | |
2205 | local invSinTheta = 1/math.sin(theta) | |
2206 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
2207 | finishInterp = math.sin(t*theta)*invSinTheta | |
2208 | else | |
2209 | startInterp = t-1 | |
2210 | finishInterp = t | |
2211 | end | |
2212 | end | |
2213 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
2214 | end | |
2215 | ||
2216 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2217 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2218 | end | |
2219 | ||
2220 | function clerp(a,b,t) | |
2221 | local qa = {QuaternionFromCFrame(a)} | |
2222 | local qb = {QuaternionFromCFrame(b)} | |
2223 | local ax, ay, az = a.x, a.y, a.z | |
2224 | local bx, by, bz = b.x, b.y, b.z | |
2225 | local _t = 1-t | |
2226 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
2227 | end | |
2228 | ||
2229 | ||
2230 | ||
2231 | if activu == true or selected == false then | |
2232 | return | |
2233 | end | |
2234 | coroutine.resume(coroutine.create(function() | |
2235 | fglow(lleg.Glow, 6) | |
2236 | end)) | |
2237 | activu = true | |
2238 | local pe = Instance.new("ParticleEmitter") | |
2239 | pe.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2240 | pe.LightEmission = 0.9 | |
2241 | pe.Size = NumberSequence.new(0.5) | |
2242 | pe.Texture = "rbxassetid://359293258" | |
2243 | pe.Transparency = NumberSequence.new(0.1) | |
2244 | pe.Lifetime = NumberRange.new(0.1) | |
2245 | pe.Rate = 250 | |
2246 | pe.RotSpeed = NumberRange.new(360) | |
2247 | pe.Speed = NumberRange.new(3) | |
2248 | pe.VelocitySpread = 360 | |
2249 | pe.Parent = lleg.Glow | |
2250 | local pea = pe:Clone() | |
2251 | pea.Parent = lleg.Glow | |
2252 | wait(0.5) | |
2253 | local pe2 = Instance.new("ParticleEmitter") | |
2254 | pe2.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2255 | pe2.LightEmission = 0.9 | |
2256 | pe2.Size = NumberSequence.new(5) | |
2257 | pe2.Texture = "rbxassetid://359293258" | |
2258 | pe2.Transparency = NumberSequence.new(0.4) | |
2259 | pe2.ZOffset = 2 | |
2260 | pe2.Enabled = true | |
2261 | pe2.LockedToPart = true | |
2262 | pe2.Lifetime = NumberRange.new(0.07) | |
2263 | pe2.Rate = 8 | |
2264 | pe2.Rotation = NumberRange.new(0, 360) | |
2265 | pe2.RotSpeed = NumberRange.new(0) | |
2266 | pe2.Speed = NumberRange.new(0) | |
2267 | pe2.VelocitySpread = 180 | |
2268 | pe2.Parent = lleg.Glow | |
2269 | local pea2 = pe2:Clone() | |
2270 | pea2.Parent = lleg.Glow | |
2271 | local Mus = Instance.new("Sound",workspace) | |
2272 | Mus.SoundId = "rbxassetid://840567549" | |
2273 | Mus.Pitch = 1 | |
2274 | Mus.Volume = 90000 | |
2275 | Mus.Looped = false | |
2276 | wait(0.9) | |
2277 | Mus:Play() | |
2278 | ||
2279 | ||
2280 | ||
2281 | human.WalkSpeed = 0 | |
2282 | for i = 0,1,0.1 do | |
2283 | swait() | |
2284 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2285 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
2286 | RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3) | |
2287 | LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
2288 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
2289 | LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2290 | end | |
2291 | wait(1) | |
2292 | for i = 0,1,0.1 do | |
2293 | swait() | |
2294 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
2295 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2296 | RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3) | |
2297 | LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
2298 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
2299 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2300 | end | |
2301 | KickBoom() | |
2302 | so("http://roblox.com/asset/?id=144699494",lleg,2,1.1) | |
2303 | so("http://roblox.com/asset/?id=321321137",lleg,1,1) | |
2304 | so("http://roblox.com/asset/?id=506384002",lleg,1,1) | |
2305 | so("http://roblox.com/asset/?id=157878578",lleg,25,1) | |
2306 | so("http://roblox.com/asset/?id=165970126",lleg,25,1) | |
2307 | ||
2308 | wait(3) | |
2309 | human.WalkSpeed = 16 | |
2310 | pe:Destroy() | |
2311 | pe2:Destroy() | |
2312 | pea:Destroy() | |
2313 | pea2:Destroy() | |
2314 | resetlerp() | |
2315 | activu = false | |
2316 | end | |
2317 | ||
2318 | ||
2319 | ||
2320 | ||
2321 | ||
2322 | function Smash() | |
2323 | for i = 1, 15 do | |
2324 | local gtrace = Instance.new("Part",game.Workspace) | |
2325 | gtrace.BrickColor = gprop[1] | |
2326 | gtrace.Material = gprop[2] | |
2327 | gtrace.Size = Vector3.new(19,19,19) | |
2328 | gtrace.Anchored = true | |
2329 | gtrace.CanCollide = false | |
2330 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2331 | local gdisp = coroutine.wrap(function() | |
2332 | wait(7) | |
2333 | for i = 1, 9 do | |
2334 | wait(.1) | |
2335 | gtrace.Transparency = gtrace.Transparency + .1 | |
2336 | end | |
2337 | gtrace:Destroy() | |
2338 | end) | |
2339 | gdisp() | |
2340 | end | |
2341 | ||
2342 | Crater(head,67) | |
2343 | end | |
2344 | ||
2345 | function Smash2() | |
2346 | for i = 1, 15 do | |
2347 | local gtrace = Instance.new("Part",game.Workspace) | |
2348 | gtrace.BrickColor = gprop[1] | |
2349 | gtrace.Material = gprop[2] | |
2350 | gtrace.Size = Vector3.new(19,19,19) | |
2351 | gtrace.Anchored = true | |
2352 | gtrace.CanCollide = false | |
2353 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2354 | local gdisp = coroutine.wrap(function() | |
2355 | wait(7) | |
2356 | for i = 1, 9 do | |
2357 | wait(.1) | |
2358 | gtrace.Transparency = gtrace.Transparency + .1 | |
2359 | end | |
2360 | gtrace:Destroy() | |
2361 | end) | |
2362 | gdisp() | |
2363 | end | |
2364 | ||
2365 | end | |
2366 | ||
2367 | function Smash3() | |
2368 | for i = 1, 15 do | |
2369 | local gtrace = Instance.new("Part",game.Workspace) | |
2370 | gtrace.BrickColor = gprop[1] | |
2371 | gtrace.Material = gprop[2] | |
2372 | gtrace.Size = Vector3.new(19,19,19) | |
2373 | gtrace.Anchored = true | |
2374 | gtrace.CanCollide = false | |
2375 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2376 | local gdisp = coroutine.wrap(function() | |
2377 | wait(7) | |
2378 | for i = 1, 9 do | |
2379 | wait(.1) | |
2380 | gtrace.Transparency = gtrace.Transparency + .1 | |
2381 | end | |
2382 | gtrace:Destroy() | |
2383 | end) | |
2384 | gdisp() | |
2385 | end | |
2386 | ||
2387 | end | |
2388 | ||
2389 | ||
2390 | function Smash4() | |
2391 | for i = 1, 15 do | |
2392 | local gtrace = Instance.new("Part",game.Workspace) | |
2393 | gtrace.BrickColor = gprop[1] | |
2394 | gtrace.Material = gprop[2] | |
2395 | gtrace.Size = Vector3.new(19,19,19) | |
2396 | gtrace.Anchored = true | |
2397 | gtrace.CanCollide = false | |
2398 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2399 | local gdisp = coroutine.wrap(function() | |
2400 | wait(7) | |
2401 | for i = 1, 9 do | |
2402 | wait(.1) | |
2403 | gtrace.Transparency = gtrace.Transparency + .1 | |
2404 | end | |
2405 | gtrace:Destroy() | |
2406 | end) | |
2407 | gdisp() | |
2408 | end | |
2409 | ||
2410 | end | |
2411 | ||
2412 | function Smash5() | |
2413 | for i = 1, 15 do | |
2414 | local gtrace = Instance.new("Part",game.Workspace) | |
2415 | gtrace.BrickColor = gprop[1] | |
2416 | gtrace.Material = gprop[2] | |
2417 | gtrace.Size = Vector3.new(19,19,19) | |
2418 | gtrace.Anchored = true | |
2419 | gtrace.CanCollide = false | |
2420 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2421 | local gdisp = coroutine.wrap(function() | |
2422 | wait(7) | |
2423 | for i = 1, 9 do | |
2424 | wait(.1) | |
2425 | gtrace.Transparency = gtrace.Transparency + .1 | |
2426 | end | |
2427 | gtrace:Destroy() | |
2428 | end) | |
2429 | gdisp() | |
2430 | end | |
2431 | ||
2432 | end | |
2433 | ||
2434 | function Smash6() | |
2435 | for i = 1, 15 do | |
2436 | local gtrace = Instance.new("Part",game.Workspace) | |
2437 | gtrace.BrickColor = gprop[1] | |
2438 | gtrace.Material = gprop[2] | |
2439 | gtrace.Size = Vector3.new(19,19,19) | |
2440 | gtrace.Anchored = true | |
2441 | gtrace.CanCollide = false | |
2442 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2443 | local gdisp = coroutine.wrap(function() | |
2444 | wait(7) | |
2445 | for i = 1, 9 do | |
2446 | wait(.1) | |
2447 | gtrace.Transparency = gtrace.Transparency + .1 | |
2448 | end | |
2449 | gtrace:Destroy() | |
2450 | end) | |
2451 | gdisp() | |
2452 | end | |
2453 | ||
2454 | end | |
2455 | ||
2456 | ||
2457 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do | |
2458 | if v:FindFirstChild('Humanoid') then | |
2459 | v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)) | |
2460 | v.Humanoid.PlatformStand = true | |
2461 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600 | |
2462 | end | |
2463 | end | |
2464 | ||
2465 | ||
2466 | function HeavenSmash() | |
2467 | ||
2468 | ||
2469 | if activu == true or selected == false then | |
2470 | return | |
2471 | end | |
2472 | coroutine.resume(coroutine.create(function() | |
2473 | fglow(lleg.Glow, 19) | |
2474 | fglow(rleg.Glow, 19) | |
2475 | fglow(rarm.Glow, 19) | |
2476 | fglow(larm.Glow, 19) | |
2477 | fglow(head.Glow, 19) | |
2478 | fglow(tors.Glow, 19) | |
2479 | end)) | |
2480 | activu = true | |
2481 | local pe = Instance.new("ParticleEmitter") | |
2482 | pe.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2483 | pe.LightEmission = 0.9 | |
2484 | pe.Size = NumberSequence.new(0.5) | |
2485 | pe.Texture = "rbxassetid://359293258" | |
2486 | pe.Transparency = NumberSequence.new(0.1) | |
2487 | pe.Lifetime = NumberRange.new(0.1) | |
2488 | pe.Rate = 250 | |
2489 | pe.RotSpeed = NumberRange.new(360) | |
2490 | pe.Speed = NumberRange.new(3) | |
2491 | pe.VelocitySpread = 360 | |
2492 | pe.Parent = lleg.Glow | |
2493 | local pea = pe:Clone() | |
2494 | pea.Parent = lleg.Glow | |
2495 | local pe2 = Instance.new("ParticleEmitter") | |
2496 | pe2.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2497 | pe2.LightEmission = 0.9 | |
2498 | pe2.Size = NumberSequence.new(5) | |
2499 | pe2.Texture = "rbxassetid://359293258" | |
2500 | pe2.Transparency = NumberSequence.new(0.4) | |
2501 | pe2.ZOffset = 2 | |
2502 | pe2.Enabled = true | |
2503 | pe2.LockedToPart = true | |
2504 | pe2.Lifetime = NumberRange.new(0.07) | |
2505 | pe2.Rate = 8 | |
2506 | pe2.Rotation = NumberRange.new(0, 360) | |
2507 | pe2.RotSpeed = NumberRange.new(0) | |
2508 | pe2.Speed = NumberRange.new(0) | |
2509 | pe2.VelocitySpread = 180 | |
2510 | pe2.Parent = lleg.Glow | |
2511 | local pea2 = pe2:Clone() | |
2512 | pea2.Parent = lleg.Glow | |
2513 | ||
2514 | ||
2515 | ||
2516 | local pet = Instance.new("ParticleEmitter") | |
2517 | pet.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2518 | pet.LightEmission = 0.9 | |
2519 | pet.Size = NumberSequence.new(0.5) | |
2520 | pet.Texture = "rbxassetid://359293258" | |
2521 | pet.Transparency = NumberSequence.new(0.1) | |
2522 | pet.Lifetime = NumberRange.new(0.1) | |
2523 | pet.Rate = 1 | |
2524 | pet.RotSpeed = NumberRange.new(360) | |
2525 | pet.Speed = NumberRange.new(3) | |
2526 | pet.VelocitySpread = 360 | |
2527 | pet.Parent = rarm.Glow | |
2528 | local pet2 = Instance.new("ParticleEmitter") | |
2529 | pet2.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2530 | pet2.LightEmission = 0.9 | |
2531 | pet2.Size = NumberSequence.new(5) | |
2532 | pet2.Texture = "rbxassetid://359293258" | |
2533 | pet2.Transparency = NumberSequence.new(0.4) | |
2534 | pet2.ZOffset = 2 | |
2535 | pet2.Enabled = false | |
2536 | pet2.LockedToPart = true | |
2537 | pet2.Lifetime = NumberRange.new(0.07) | |
2538 | pet2.Rate = 8 | |
2539 | pet2.Rotation = NumberRange.new(0, 360) | |
2540 | pet2.RotSpeed = NumberRange.new(0) | |
2541 | pet2.Speed = NumberRange.new(0) | |
2542 | pet2.VelocitySpread = 180 | |
2543 | pet2.Parent = rarm.Glow | |
2544 | ||
2545 | ||
2546 | ||
2547 | local petl = Instance.new("ParticleEmitter") | |
2548 | petl.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2549 | petl.LightEmission = 0.9 | |
2550 | petl.Size = NumberSequence.new(0.5) | |
2551 | petl.Texture = "rbxassetid://359293258" | |
2552 | petl.Transparency = NumberSequence.new(0.1) | |
2553 | petl.Lifetime = NumberRange.new(0.1) | |
2554 | petl.Rate = 1 | |
2555 | petl.RotSpeed = NumberRange.new(360) | |
2556 | petl.Speed = NumberRange.new(3) | |
2557 | petl.VelocitySpread = 360 | |
2558 | petl.Parent = larm.Glow | |
2559 | local petl2 = Instance.new("ParticleEmitter") | |
2560 | petl2.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2561 | petl2.LightEmission = 0.9 | |
2562 | petl2.Size = NumberSequence.new(5) | |
2563 | petl2.Texture = "rbxassetid://359293258" | |
2564 | petl2.Transparency = NumberSequence.new(0.4) | |
2565 | petl2.ZOffset = 2 | |
2566 | petl2.Enabled = false | |
2567 | petl2.LockedToPart = true | |
2568 | petl2.Lifetime = NumberRange.new(0.07) | |
2569 | petl2.Rate = 8 | |
2570 | petl2.Rotation = NumberRange.new(0, 360) | |
2571 | petl2.RotSpeed = NumberRange.new(0) | |
2572 | petl2.Speed = NumberRange.new(0) | |
2573 | petl2.VelocitySpread = 180 | |
2574 | petl2.Parent = larm.Glow | |
2575 | ||
2576 | ||
2577 | local petl3 = Instance.new("ParticleEmitter") | |
2578 | petl3.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2579 | petl3.LightEmission = 0.9 | |
2580 | petl3.Size = NumberSequence.new(0.5) | |
2581 | petl3.Texture = "rbxassetid://359293258" | |
2582 | petl3.Transparency = NumberSequence.new(0.1) | |
2583 | petl3.Lifetime = NumberRange.new(0.1) | |
2584 | petl3.Rate = 1 | |
2585 | petl3.RotSpeed = NumberRange.new(360) | |
2586 | petl3.Speed = NumberRange.new(3) | |
2587 | petl3.VelocitySpread = 360 | |
2588 | petl3.Parent = head.Glow | |
2589 | local petl23 = Instance.new("ParticleEmitter") | |
2590 | petl23.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2591 | petl23.LightEmission = 0.9 | |
2592 | petl23.Size = NumberSequence.new(5) | |
2593 | petl23.Texture = "rbxassetid://359293258" | |
2594 | petl23.Transparency = NumberSequence.new(0.4) | |
2595 | petl23.ZOffset = 2 | |
2596 | petl23.Enabled = false | |
2597 | petl23.LockedToPart = true | |
2598 | petl23.Lifetime = NumberRange.new(0.07) | |
2599 | petl23.Rate = 8 | |
2600 | petl23.Rotation = NumberRange.new(0, 360) | |
2601 | petl23.RotSpeed = NumberRange.new(0) | |
2602 | petl23.Speed = NumberRange.new(0) | |
2603 | petl23.VelocitySpread = 180 | |
2604 | petl23.Parent = head.Glow | |
2605 | ||
2606 | ||
2607 | ||
2608 | local petl34 = Instance.new("ParticleEmitter") | |
2609 | petl34.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2610 | petl34.LightEmission = 0.9 | |
2611 | petl34.Size = NumberSequence.new(0.5) | |
2612 | petl34.Texture = "rbxassetid://359293258" | |
2613 | petl34.Transparency = NumberSequence.new(0.1) | |
2614 | petl34.Lifetime = NumberRange.new(0.1) | |
2615 | petl34.Rate = 1 | |
2616 | petl34.RotSpeed = NumberRange.new(360) | |
2617 | petl34.Speed = NumberRange.new(3) | |
2618 | petl34.VelocitySpread = 360 | |
2619 | petl34.Parent = rleg.Glow | |
2620 | local petl234 = Instance.new("ParticleEmitter") | |
2621 | petl234.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2622 | petl234.LightEmission = 0.9 | |
2623 | petl234.Size = NumberSequence.new(5) | |
2624 | petl234.Texture = "rbxassetid://359293258" | |
2625 | petl234.Transparency = NumberSequence.new(0.4) | |
2626 | petl234.ZOffset = 2 | |
2627 | petl234.Enabled = false | |
2628 | petl234.LockedToPart = true | |
2629 | petl234.Rate = 8 | |
2630 | petl234.Rotation = NumberRange.new(0, 360) | |
2631 | petl234.RotSpeed = NumberRange.new(0) | |
2632 | petl234.Speed = NumberRange.new(0) | |
2633 | petl234.VelocitySpread = 180 | |
2634 | petl234.Parent = rleg.Glow | |
2635 | ||
2636 | ||
2637 | local petl345 = Instance.new("ParticleEmitter") | |
2638 | petl345.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2639 | petl345.LightEmission = 0.9 | |
2640 | petl345.Size = NumberSequence.new(0.5) | |
2641 | petl345.Texture = "rbxassetid://359293258" | |
2642 | petl345.Transparency = NumberSequence.new(0.1) | |
2643 | petl345.Lifetime = NumberRange.new(0.1) | |
2644 | petl345.Rate = 1 | |
2645 | petl345.RotSpeed = NumberRange.new(360) | |
2646 | petl345.Speed = NumberRange.new(3) | |
2647 | petl345.VelocitySpread = 360 | |
2648 | petl345.Parent = tors.Glow | |
2649 | local petl2345 = Instance.new("ParticleEmitter") | |
2650 | petl2345.Color = ColorSequence.new(Color3.new(0, 0, 0)) | |
2651 | petl2345.LightEmission = 0.9 | |
2652 | petl2345.Size = NumberSequence.new(5) | |
2653 | petl2345.Texture = "rbxassetid://359293258" | |
2654 | petl2345.Transparency = NumberSequence.new(0.4) | |
2655 | petl2345.ZOffset = 2 | |
2656 | petl2345.Enabled = false | |
2657 | petl2345.LockedToPart = true | |
2658 | petl2345.Rate = 8 | |
2659 | petl2345.Rotation = NumberRange.new(0, 360) | |
2660 | petl2345.RotSpeed = NumberRange.new(0) | |
2661 | petl2345.Speed = NumberRange.new(0) | |
2662 | petl2345.VelocitySpread = 180 | |
2663 | petl2345.Parent = tors.Glow | |
2664 | human.WalkSpeed = 0 | |
2665 | so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5) | |
2666 | so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5) | |
2667 | for l = 1, 30 do | |
2668 | swait() | |
2669 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
2670 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
2671 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
2672 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2673 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
2674 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2675 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
2676 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2677 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
2678 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2679 | end | |
2680 | ||
2681 | ||
2682 | resetlerp() | |
2683 | ||
2684 | BV = Instance.new("BodyVelocity", tors) | |
2685 | BV.maxForce = Vector3.new(0,200000,0) | |
2686 | BV.P = 100000 | |
2687 | BV.velocity = Vector3.new(0,150,0) | |
2688 | local rng = Instance.new("Part", chr) | |
2689 | rng.Anchored = true | |
2690 | rng.BrickColor = BrickColor.new("Really black") | |
2691 | rng.CanCollide = false | |
2692 | rng.FormFactor = 3 | |
2693 | rng.Name = "Ring" | |
2694 | rng.Size = Vector3.new(1, 1, 1) | |
2695 | rng.Transparency = 0.5 | |
2696 | rng.TopSurface = 0 | |
2697 | rng.BottomSurface = 0 | |
2698 | rng.Position = tors.Position - Vector3.new(0,2,0) | |
2699 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2700 | local rngm = Instance.new("SpecialMesh", rng) | |
2701 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2702 | rngm.Scale = Vector3.new(10, 10, 20) | |
2703 | x = Instance.new("Sound",tors) | |
2704 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2705 | x.Looped = false | |
2706 | x.Pitch = .7 | |
2707 | x.Volume = 30 | |
2708 | x:Play() | |
2709 | coroutine.wrap(function() | |
2710 | for i = 1, 60, 8 do | |
2711 | rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10) | |
2712 | rng.Transparency = i/60 | |
2713 | wait() | |
2714 | end | |
2715 | wait() | |
2716 | rng:Destroy() | |
2717 | end)() | |
2718 | wait(2.6) | |
2719 | BV:Destroy() | |
2720 | tors.Anchored = true | |
2721 | wait(3.2) | |
2722 | tors.Anchored = false | |
2723 | BV = Instance.new("BodyVelocity", tors) | |
2724 | BV.maxForce = Vector3.new(0,-20000,0) | |
2725 | BV.P = 1000 | |
2726 | BV.velocity = Vector3.new(0,-150,0) | |
2727 | wait(1) | |
2728 | BV:Destroy() | |
2729 | wait(0.01) | |
2730 | ||
2731 | human.WalkSpeed = 0 | |
2732 | boom3:Play() | |
2733 | ||
2734 | Smash() | |
2735 | Smash2() | |
2736 | Smash3() | |
2737 | Ring() | |
2738 | pe:Destroy() | |
2739 | pea:Destroy() | |
2740 | pea2:Destroy() | |
2741 | pe2:Destroy() | |
2742 | wait(2) | |
2743 | human.WalkSpeed = 16 | |
2744 | activu = false | |
2745 | end | |
2746 | ||
2747 | ||
2748 | ||
2749 | sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"]) | |
2750 | sound.SoundId = "rbxassetid://220025776" | |
2751 | sound.Volume = 6 | |
2752 | ||
2753 | sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"]) | |
2754 | sound2.SoundId = "rbxassetid://386946017" | |
2755 | sound2.Volume = 6 | |
2756 | ||
2757 | sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character) | |
2758 | sound3.SoundId = "rbxassetid://165969964" | |
2759 | sound3.Volume = 6 | |
2760 | ||
2761 | function rip() | |
2762 | activu = true | |
2763 | local detect = Instance.new("Part", game.Players.LocalPlayer.Character) | |
2764 | detect.Size = Vector3.new(1,1,1) | |
2765 | detect:BreakJoints() | |
2766 | detect.CanCollide = false | |
2767 | local weld = Instance.new("Weld", detect) | |
2768 | weld.Part0 = game.Players.LocalPlayer.Character["Torso"] | |
2769 | weld.Part1 = detect | |
2770 | weld.C0 = weld.C0 * CFrame.new(0,-1,0) | |
2771 | ||
2772 | ||
2773 | ||
2774 | local function attack(prt) | |
2775 | local humanoid = prt.Parent:findFirstChild("Humanoid") | |
2776 | if humanoid ~= nil then | |
2777 | local torso = prt.Parent:findFirstChild("Torso") | |
2778 | ||
2779 | ||
2780 | ||
2781 | ||
2782 | ||
2783 | ||
2784 | ||
2785 | function KABOOMZ3() | |
2786 | local effspwn = Instance.new("Part") | |
2787 | coroutine.resume(coroutine.create(function() | |
2788 | local sound1 = Instance.new("Sound") | |
2789 | sound1.SoundId = "rbxassetid://138137702" | |
2790 | sound1.MaxDistance = 300 | |
2791 | sound1.EmitterSize = 20 | |
2792 | sound1.Volume = 2.5 | |
2793 | sound1.Pitch = 0.65 | |
2794 | sound1.Parent = effspwn | |
2795 | local sound2 = Instance.new("Sound") | |
2796 | sound2.SoundId = "rbxassetid://157878578" | |
2797 | sound2.MaxDistance = 300 | |
2798 | sound2.EmitterSize = 20 | |
2799 | sound2.Volume = 1 | |
2800 | sound2.Pitch = 0.7 | |
2801 | sound2.Parent = effspwn | |
2802 | local sound3 = Instance.new("Sound") | |
2803 | sound3.SoundId = "rbxassetid://138250406" | |
2804 | sound2.MaxDistance = 400 | |
2805 | sound2.EmitterSize = 30 | |
2806 | sound2.Volume = 0.5 | |
2807 | sound2.Pitch = 0.5 | |
2808 | sound2.Parent = effspwn | |
2809 | sound2:Play() | |
2810 | wait() | |
2811 | sound1:Play() | |
2812 | sound3:Play() | |
2813 | end)) | |
2814 | local model = Instance.new("Model") | |
2815 | game.Debris:AddItem(model, 20) | |
2816 | model.Name = "smasheffects" | |
2817 | model.Parent = workspace | |
2818 | effspwn.Name = "spwnr" | |
2819 | effspwn.Size = Vector3.new(1, 1, 1) | |
2820 | effspwn.Anchored = true | |
2821 | effspwn.CanCollide = false | |
2822 | effspwn.Transparency = 1 | |
2823 | effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
2824 | effspwn.Parent = model | |
2825 | ||
2826 | ||
2827 | ||
2828 | ||
2829 | ||
2830 | Crater(head,60) | |
2831 | Crater(head,120) | |
2832 | ||
2833 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
2834 | if v:FindFirstChild('Humanoid') then | |
2835 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2836 | v.Humanoid.PlatformStand = true | |
2837 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200 | |
2838 | end | |
2839 | end | |
2840 | ||
2841 | coroutine.resume(coroutine.create(function() | |
2842 | local shok = Instance.new("Part") | |
2843 | shok.Name = "whoosh" | |
2844 | shok.BrickColor = BrickColor.new("Really black") | |
2845 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2846 | shok.Size = Vector3.new(1, 1, 1) | |
2847 | shok.Anchored = true | |
2848 | shok.Material = "Neon" | |
2849 | shok.Transparency = 0.1 | |
2850 | shok.CanCollide = false | |
2851 | shok.Parent = model | |
2852 | game.Debris:AddItem(shok, 12) | |
2853 | local mesh = Instance.new("SpecialMesh") | |
2854 | mesh.MeshType = "FileMesh" | |
2855 | mesh.MeshId = "rbxassetid://437347603" | |
2856 | mesh.Scale = Vector3.new(1.2, 1.2, 0.5) | |
2857 | mesh.Parent = shok | |
2858 | ||
2859 | ||
2860 | ||
2861 | ||
2862 | ||
2863 | for e = 1, 8 do | |
2864 | wait() | |
2865 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
2866 | shok.Transparency = shok.Transparency + 0.035 | |
2867 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
2868 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
2869 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
2870 | ||
2871 | end | |
2872 | for e = 1, 16 do | |
2873 | wait() | |
2874 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
2875 | shok.Transparency = shok.Transparency + 0.11 | |
2876 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
2877 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
2878 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
2879 | ||
2880 | end | |
2881 | end)) | |
2882 | coroutine.resume(coroutine.create(function() | |
2883 | local shok = Instance.new("Part") | |
2884 | shok.Name = "wring1" | |
2885 | shok.BrickColor = BrickColor.new("Really black") | |
2886 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2887 | shok.Size = Vector3.new(1, 1, 1) | |
2888 | shok.Anchored = true | |
2889 | shok.Material = "Neon" | |
2890 | shok.Transparency = 0.25 | |
2891 | shok.CanCollide = false | |
2892 | shok.Parent = model | |
2893 | game.Debris:AddItem(shok, 12) | |
2894 | local mesh = Instance.new("SpecialMesh") | |
2895 | mesh.MeshType = "FileMesh" | |
2896 | mesh.MeshId = "rbxassetid://3270017" | |
2897 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
2898 | mesh.Parent = shok | |
2899 | for e = 1, 30 do | |
2900 | wait() | |
2901 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
2902 | shok.Transparency = shok.Transparency + 0.002 | |
2903 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2904 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2905 | end | |
2906 | for e = 1, 38 do | |
2907 | wait() | |
2908 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
2909 | shok.Transparency = shok.Transparency + 0.002 | |
2910 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2911 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2912 | end | |
2913 | for e = 1, 24 do | |
2914 | wait() | |
2915 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
2916 | shok.Transparency = shok.Transparency + 0.03 | |
2917 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2918 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2919 | end | |
2920 | end)) | |
2921 | coroutine.resume(coroutine.create(function() | |
2922 | local shok = Instance.new("Part") | |
2923 | shok.Name = "wring2" | |
2924 | shok.BrickColor = BrickColor.new("Really black") | |
2925 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2926 | shok.Size = Vector3.new(1, 1, 1) | |
2927 | shok.Anchored = true | |
2928 | shok.Material = "Neon" | |
2929 | shok.Transparency = 0.25 | |
2930 | shok.CanCollide = false | |
2931 | shok.Parent = model | |
2932 | game.Debris:AddItem(shok, 12) | |
2933 | local mesh = Instance.new("SpecialMesh") | |
2934 | mesh.MeshType = "FileMesh" | |
2935 | mesh.MeshId = "rbxassetid://3270017" | |
2936 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
2937 | mesh.Parent = shok | |
2938 | for e = 1, 30 do | |
2939 | wait() | |
2940 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
2941 | shok.Transparency = shok.Transparency + 0.002 | |
2942 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2943 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2944 | end | |
2945 | for e = 1, 38 do | |
2946 | wait() | |
2947 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
2948 | shok.Transparency = shok.Transparency + 0.002 | |
2949 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2950 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2951 | end | |
2952 | for e = 1, 24 do | |
2953 | wait() | |
2954 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
2955 | shok.Transparency = shok.Transparency + 0.03 | |
2956 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2957 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2958 | end | |
2959 | end)) | |
2960 | coroutine.resume(coroutine.create(function() | |
2961 | local shok = Instance.new("Part") | |
2962 | shok.Name = "coil1" | |
2963 | shok.BrickColor = BrickColor.new("Really black") | |
2964 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2965 | shok.Size = Vector3.new(1, 1, 1) | |
2966 | shok.Anchored = true | |
2967 | shok.Material = "Neon" | |
2968 | shok.Transparency = 0.25 | |
2969 | shok.CanCollide = false | |
2970 | shok.Parent = model | |
2971 | game.Debris:AddItem(shok, 12) | |
2972 | local mesh = Instance.new("SpecialMesh") | |
2973 | mesh.MeshType = "FileMesh" | |
2974 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2975 | mesh.Scale = Vector3.new(12, 12, 12) | |
2976 | mesh.Parent = shok | |
2977 | for e = 1, 15 do | |
2978 | wait() | |
2979 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2980 | shok.Transparency = shok.Transparency + 0.004 | |
2981 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2982 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2983 | end | |
2984 | for e = 1, 16 do | |
2985 | wait() | |
2986 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2987 | shok.Transparency = shok.Transparency + 0.004 | |
2988 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2989 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2990 | end | |
2991 | for e = 1, 12 do | |
2992 | wait() | |
2993 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2994 | shok.Transparency = shok.Transparency + 0.06 | |
2995 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2996 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2997 | end | |
2998 | end)) | |
2999 | coroutine.resume(coroutine.create(function() | |
3000 | local shok = Instance.new("Part") | |
3001 | shok.Name = "coil2" | |
3002 | shok.BrickColor = BrickColor.new("Really black") | |
3003 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
3004 | shok.Size = Vector3.new(1, 1, 1) | |
3005 | shok.Anchored = true | |
3006 | shok.Material = "Neon" | |
3007 | shok.Transparency = 0.25 | |
3008 | shok.CanCollide = false | |
3009 | shok.Parent = model | |
3010 | game.Debris:AddItem(shok, 12) | |
3011 | local mesh = Instance.new("SpecialMesh") | |
3012 | mesh.MeshType = "FileMesh" | |
3013 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
3014 | mesh.Scale = Vector3.new(6, 12, 6) | |
3015 | mesh.Parent = shok | |
3016 | for e = 1, 15 do | |
3017 | wait() | |
3018 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
3019 | shok.Transparency = shok.Transparency + 0.005 | |
3020 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
3021 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
3022 | end | |
3023 | for e = 1, 16 do | |
3024 | wait() | |
3025 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
3026 | shok.Transparency = shok.Transparency + 0.005 | |
3027 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
3028 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
3029 | end | |
3030 | for e = 1, 12 do | |
3031 | wait() | |
3032 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
3033 | shok.Transparency = shok.Transparency + 0.09 | |
3034 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
3035 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
3036 | end | |
3037 | end)) | |
3038 | coroutine.resume(coroutine.create(function() | |
3039 | local shok = Instance.new("Part") | |
3040 | shok.Name = "shokwve" | |
3041 | shok.BrickColor = BrickColor.new("Really black") | |
3042 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
3043 | shok.Size = Vector3.new(1, 1, 1) | |
3044 | shok.Anchored = true | |
3045 | shok.Material = "Neon" | |
3046 | shok.Transparency = 0.6 | |
3047 | shok.CanCollide = false | |
3048 | shok.Parent = model | |
3049 | game.Debris:AddItem(shok, 12) | |
3050 | local mesh = Instance.new("SpecialMesh") | |
3051 | mesh.MeshType = "FileMesh" | |
3052 | mesh.MeshId = "rbxassetid://489415447" | |
3053 | mesh.Scale = Vector3.new(1, 1, 1) | |
3054 | mesh.Parent = shok | |
3055 | for e = 1, 12 do | |
3056 | wait() | |
3057 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
3058 | shok.Transparency = shok.Transparency + 0.002 | |
3059 | end | |
3060 | for e = 1, 32 do | |
3061 | wait() | |
3062 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
3063 | shok.Transparency = shok.Transparency + 0.002 | |
3064 | end | |
3065 | for e = 1, 24 do | |
3066 | wait() | |
3067 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
3068 | shok.Transparency = shok.Transparency + 0.03 | |
3069 | end | |
3070 | end)) | |
3071 | coroutine.resume(coroutine.create(function() | |
3072 | local shok = Instance.new("Part") | |
3073 | shok.Name = "shock2" | |
3074 | shok.BrickColor = BrickColor.new("Really black") | |
3075 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
3076 | shok.Size = Vector3.new(1, 1, 1) | |
3077 | shok.Anchored = true | |
3078 | shok.Material = "Neon" | |
3079 | shok.Transparency = 0.35 | |
3080 | shok.CanCollide = false | |
3081 | shok.Parent = model | |
3082 | game.Debris:AddItem(shok, 12) | |
3083 | local mesh = Instance.new("SpecialMesh") | |
3084 | mesh.MeshType = "FileMesh" | |
3085 | mesh.MeshId = "rbxassetid://489415447" | |
3086 | mesh.Scale = Vector3.new(12, 12, 12) | |
3087 | mesh.Parent = shok | |
3088 | for e = 1, 15 do | |
3089 | wait() | |
3090 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
3091 | shok.Transparency = shok.Transparency + 0.004 | |
3092 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
3093 | end | |
3094 | for e = 1, 16 do | |
3095 | wait() | |
3096 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
3097 | shok.Transparency = shok.Transparency + 0.004 | |
3098 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
3099 | end | |
3100 | for e = 1, 12 do | |
3101 | wait() | |
3102 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
3103 | shok.Transparency = shok.Transparency + 0.06 | |
3104 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
3105 | end | |
3106 | end)) | |
3107 | coroutine.resume(coroutine.create(function() | |
3108 | local shok = Instance.new("Part") | |
3109 | shok.Name = "shock3" | |
3110 | shok.BrickColor = BrickColor.new("Really black") | |
3111 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
3112 | shok.Size = Vector3.new(1, 1, 1) | |
3113 | shok.Anchored = true | |
3114 | shok.Material = "Neon" | |
3115 | shok.Transparency = 0.35 | |
3116 | shok.CanCollide = false | |
3117 | shok.Parent = model | |
3118 | game.Debris:AddItem(shok, 12) | |
3119 | local mesh = Instance.new("SpecialMesh") | |
3120 | mesh.MeshType = "FileMesh" | |
3121 | mesh.MeshId = "rbxassetid://489415447" | |
3122 | mesh.Scale = Vector3.new(12, 12, 12) | |
3123 | mesh.Parent = shok | |
3124 | for e = 1, 15 do | |
3125 | wait() | |
3126 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
3127 | shok.Transparency = shok.Transparency + 0.004 | |
3128 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
3129 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
3130 | end | |
3131 | for e = 1, 16 do | |
3132 | wait() | |
3133 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
3134 | shok.Transparency = shok.Transparency + 0.004 | |
3135 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
3136 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
3137 | end | |
3138 | for e = 1, 12 do | |
3139 | wait() | |
3140 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
3141 | shok.Transparency = shok.Transparency + 0.06 | |
3142 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
3143 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
3144 | end | |
3145 | end)) | |
3146 | end | |
3147 | ||
3148 | ||
3149 | ||
3150 | if torso ~= nil then | |
3151 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 | |
3152 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 | |
3153 | for i = 1,5 do | |
3154 | wait() | |
3155 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25) | |
3156 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25) | |
3157 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0) | |
3158 | end | |
3159 | sound:Play() | |
3160 | local bodyVel = Instance.new("BodyPosition", torso) | |
3161 | bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0) | |
3162 | bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3163 | wait(2) | |
3164 | torso.Anchored = true | |
3165 | for i = 1,5 do | |
3166 | wait() | |
3167 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25) | |
3168 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25) | |
3169 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0) | |
3170 | end | |
3171 | for i = 1,5 do | |
3172 | wait() | |
3173 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08) | |
3174 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0) | |
3175 | end | |
3176 | wait(1) | |
3177 | local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso) | |
3178 | bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3179 | bodyvel.Position = torso.Position | |
3180 | for i = 1,5 do | |
3181 | wait() | |
3182 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0) | |
3183 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08) | |
3184 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0) | |
3185 | end | |
3186 | wait(2) | |
3187 | bodyVel:destroy() | |
3188 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
3189 | torso.Anchored = false | |
3190 | humanoid.PlatformStand = true | |
3191 | local bodyVel = Instance.new("BodyPosition", torso) | |
3192 | bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0) | |
3193 | bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3194 | sound2:Play() | |
3195 | ||
3196 | wait(1.2) | |
3197 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
3198 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
3199 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3200 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3201 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
3202 | activu = false | |
3203 | wait(0.5) | |
3204 | bodyvel:destroy() | |
3205 | local ROW3 = function(out, trans, s, wt, t, ang, plus) | |
3206 | for i = 1, 360, 360/t do | |
3207 | local c = Instance.new("Part", game.Workspace) | |
3208 | c.FormFactor = 3 | |
3209 | c.TopSurface = 0 | |
3210 | c.BottomSurface = 0 | |
3211 | c.Size = s | |
3212 | c.Anchored = true | |
3213 | c.CanCollide = wt | |
3214 | c.Material=workspace.Base.Material | |
3215 | c.Transparency = trans | |
3216 | c.BrickColor = workspace.Base.BrickColor | |
3217 | c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
3218 | c.Locked=true | |
3219 | game.Debris:AddItem(c,25) | |
3220 | end | |
3221 | end | |
3222 | ||
3223 | ||
3224 | ||
3225 | ||
3226 | sound3:Play() | |
3227 | ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
3228 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
3229 | KABOOMZ3() | |
3230 | wait(0.1) | |
3231 | ||
3232 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
3233 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
3234 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
3235 | ||
3236 | ||
3237 | end | |
3238 | end | |
3239 | end | |
3240 | detect.Touched:connect(attack) | |
3241 | wait(0.1) | |
3242 | detect:destroy() | |
3243 | activu = false | |
3244 | end | |
3245 | ||
3246 | ||
3247 | ||
3248 | function hito(partoz, magn, dmg, debtim) | |
3249 | for _, guy in pairs(workspace:GetChildren()) do | |
3250 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then | |
3251 | do | |
3252 | local humz = guy:FindFirstChild("Humanoid") | |
3253 | local hed = guy:FindFirstChild("Head") | |
3254 | humz:TakeDamage(dmg) | |
3255 | local db = Instance.new("StringValue") | |
3256 | db.Name = "alabo" | |
3257 | db.Parent = hed | |
3258 | delay(debtim, function() | |
3259 | db:Destroy() | |
3260 | end) | |
3261 | end | |
3262 | end | |
3263 | end | |
3264 | end | |
3265 | function animo(yep) | |
3266 | if yep == true then | |
3267 | anim.Parent = human | |
3268 | chr.Animate.Disabled = false | |
3269 | elseif yep == false then | |
3270 | chr.Animate.Disabled = true | |
3271 | anim.Parent = nil | |
3272 | end | |
3273 | end | |
3274 | mouse.KeyDown:connect(function(key) | |
3275 | if key == "e" then | |
3276 | rsmash() | |
3277 | end | |
3278 | if key == "t" then | |
3279 | jum() | |
3280 | end | |
3281 | if key == "r" then | |
3282 | Tele() | |
3283 | end | |
3284 | if key == "q" then | |
3285 | Stom() | |
3286 | end | |
3287 | if key == "f" then | |
3288 | HeavenSmash() | |
3289 | end | |
3290 | if key == "h" then | |
3291 | rip() | |
3292 | end | |
3293 | end) | |
3294 | tool.Equipped:connect(function() | |
3295 | selected = true | |
3296 | end) | |
3297 | tool.Unequipped:connect(function() | |
3298 | selected = false | |
3299 | end) |