SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | do | |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | - | local plr = game.Players.LocalPlayer |
8 | + | local Event = Instance.new("RemoteEvent") |
9 | Event.Name = "UserInput_Event" | |
10 | - | local mouse = plr:GetMouse() |
10 | + | |
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | --[[SCRIPT NAME]]-- | |
85 | --[[ | |
86 | ||
87 | Move List | |
88 | ||
89 | ||
90 | --]] | |
91 | local plr = owner | |
92 | local char = plr.Character | |
93 | local torso = char.Torso | |
94 | local rs = torso["Right Shoulder"] | |
95 | local ls = torso["Left Shoulder"] | |
96 | local rh = torso["Right Hip"] | |
97 | local lh = torso["Left Hip"] | |
98 | local rj = char.HumanoidRootPart.RootJoint | |
99 | local neck = torso.Neck | |
100 | local animpose = "Idle" | |
101 | local attacking = false | |
102 | local cananim = true | |
103 | local rage = false | |
104 | local shield = nil | |
105 | local deb = false | |
106 | local sprint = false | |
107 | local canrage = true | |
108 | local legs = false | |
109 | local powers = false | |
110 | local bc = char:WaitForChild("Body Colors") | |
111 | local multiplier = 1 | |
112 | local lac = char["Body Colors"].LeftArmColor | |
113 | local rac = char["Body Colors"].RightArmColor | |
114 | local rlc = char["Body Colors"].RightArmColor | |
115 | local llc = char["Body Colors"].LeftLegColor | |
116 | local hc = char["Body Colors"].HeadColor | |
117 | local tc = char["Body Colors"].TorsoColor | |
118 | local humanoid = char:FindFirstChildOfClass("Humanoid") | |
119 | local huge = Vector3.new(math.huge,math.huge,math.huge) | |
120 | local mobs = Instance.new("Sound", char) | |
121 | mobs.SoundId = "rbxassetid://soundid" | |
122 | mobs.Looped = true | |
123 | mobs.Volume = 3 | |
124 | mobs:Play() | |
125 | function legsonly() | |
126 | spawn(function() | |
127 | for i = 0, 10 do | |
128 | wait(0.001) | |
129 | if attacking then break end | |
130 | end | |
131 | if not attacking then | |
132 | legs = false | |
133 | end | |
134 | end) | |
135 | end | |
136 | function swait(t) | |
137 | if t == nil or t == 0 then | |
138 | game:service('RunService').Stepped:wait(0) | |
139 | return true | |
140 | else | |
141 | for i = 0, t do | |
142 | game:service('RunService').Stepped:wait(0) | |
143 | end | |
144 | return true | |
145 | end | |
146 | end | |
147 | function hurt(hit, dmg) | |
148 | if hit.Parent then | |
149 | if hit.Parent:IsA("LocalScript") then hit.Parent:Destroy() end | |
150 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
151 | if hum then | |
152 | if hum.Parent.Name ~= plr.Name then | |
153 | if dmg == "Kill" or hum.Health > 100000 then | |
154 | hit.Parent:BreakJoints() | |
155 | return true | |
156 | else | |
157 | if math.random(0, 100) == 50 then | |
158 | hum.Health = hum.Health - dmg*multiplier*2.5 | |
159 | else | |
160 | hum.Health = hum.Health -dmg*multiplier | |
161 | end | |
162 | return true | |
163 | end | |
164 | end | |
165 | end | |
166 | end | |
167 | end | |
168 | function soundeffect(id, volume, speed, parent) | |
169 | spawn(function() | |
170 | local s = Instance.new("Sound") | |
171 | s.SoundId = id | |
172 | s.Volume = volume | |
173 | s.PlaybackSpeed = speed | |
174 | s.Parent = parent | |
175 | s:Play() | |
176 | repeat wait() until not s.Playing | |
177 | s:Destroy() | |
178 | end) | |
179 | end | |
180 | function gethum(obj) | |
181 | if obj.Parent then | |
182 | if obj.Parent:FindFirstChild("Humanoid") then | |
183 | if obj.Parent.Name ~= plr.Name then | |
184 | return obj.Parent:FindFirstChildOfClass("Humanoid") | |
185 | end | |
186 | end | |
187 | end | |
188 | end | |
189 | function smooth(obj) | |
190 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
191 | for i,v in pairs(sides) do | |
192 | obj[v.."Surface"] = "SmoothNoOutlines" | |
193 | end | |
194 | end | |
195 | function fade(obj, dest, grow) | |
196 | spawn(function() | |
197 | local oldcf = obj.CFrame | |
198 | for i = 0, 10 do | |
199 | if grow then | |
200 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
201 | obj.CFrame = oldcf | |
202 | end | |
203 | obj.Transparency = obj.Transparency +0.1 | |
204 | swait() | |
205 | end | |
206 | if dest then | |
207 | obj:Destroy() | |
208 | end | |
209 | end) | |
210 | end | |
211 | function replacejoint(name) | |
212 | local j = torso:FindFirstChild(name) | |
213 | if not j then j = char.HumanoidRootPart:FindFirstChild(name) end | |
214 | if j then | |
215 | if true then | |
216 | local new = Instance.new("Weld") | |
217 | new.Part0 = j.Part0 | |
218 | j.Part0 = nil | |
219 | new.Name = j.Name.." Replacement" | |
220 | new.Parent = j.Parent | |
221 | new.Part1 = j.Part1 | |
222 | new.C0 = j.C0 | |
223 | new.C1 = j.C1 | |
224 | return new | |
225 | end | |
226 | end | |
227 | end | |
228 | function removejoint(name) | |
229 | local j = torso:FindFirstChild(name.." Replacement") | |
230 | if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end | |
231 | if j then | |
232 | local p0 = j.Part0 | |
233 | local c0 = j.C0 | |
234 | local c1 = j.C1 | |
235 | j:Destroy() | |
236 | local new = p0:FindFirstChild(name) | |
237 | local ac0 = new.C0 | |
238 | local ac1 = new.C1 | |
239 | new.Part0 = p0 | |
240 | new.C0 = c0 | |
241 | new.C1 = c1 | |
242 | spawn(function() | |
243 | for i = 0, 1, 0.1 do | |
244 | new.C0 = new.C0:Lerp(ac0, 0.7) | |
245 | new.C1 = new.C1:lerp(ac1, 0.7) | |
246 | wait() | |
247 | end | |
248 | end) | |
249 | end | |
250 | end | |
251 | function fixalljoints() | |
252 | for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do | |
253 | removejoint(v) | |
254 | end | |
255 | end | |
256 | function getnewjoints() | |
257 | local rs = replacejoint("Right Shoulder") | |
258 | local ls = replacejoint("Left Shoulder") | |
259 | local rh = replacejoint("Right Hip") | |
260 | local lh = replacejoint("Left Hip") | |
261 | local neck = replacejoint("Neck") | |
262 | local rj = replacejoint("RootJoint") | |
263 | return rs,ls,rh,lh,neck,rj | |
264 | end | |
265 | local keyamount = 0 | |
266 | mouse.KeyDown:connect(function(key) | |
267 | if key == "w" or key == "a" or key == "s" or key == "d" then | |
268 | keyamount = keyamount + 1 | |
269 | if animpose ~= "Falling" then | |
270 | animpose = "Walking" | |
271 | if keyamount > 3 then keyamount = 0 end | |
272 | end | |
273 | end | |
274 | end) | |
275 | mouse.KeyUp:connect(function(key) | |
276 | if key == "w" or key == "a" or key == "s" or key == "d" then | |
277 | keyamount = keyamount - 1 | |
278 | if keyamount < 0 then keyamount = 0 end | |
279 | if keyamount == 0 then | |
280 | animpose = "Idle" | |
281 | end | |
282 | end | |
283 | end) | |
284 | item1 = Instance.new('Model') | |
285 | item1.Name = [[Great_ball]] | |
286 | item1.Parent = workspace | |
287 | item2 = Instance.new('Part') | |
288 | item2.Name = [[Part]] | |
289 | item2.BrickColor = BrickColor.new('Black') | |
290 | item2.Material = Enum.Material.Plastic | |
291 | item2.Reflectance = 0 | |
292 | item2.Transparency = 0 | |
293 | item2.Size = Vector3.new(187, 1, 57) | |
294 | item2.CFrame = CFrame.new(-130.5, 990, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
295 | item2.RotVelocity = Vector3.new(0, 0, 0) | |
296 | item2.Velocity = Vector3.new(0, 0, 0) | |
297 | item2.Anchored = true | |
298 | item2.CanCollide = true | |
299 | item2.Locked = true | |
300 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item2[v..'Surface'] = 'SmoothNoOutlines' end | |
301 | item2.Parent = workspace.Great_ball | |
302 | item3 = Instance.new('Part') | |
303 | item3.Name = [[Part]] | |
304 | item3.BrickColor = BrickColor.new('Black') | |
305 | item3.Material = Enum.Material.Plastic | |
306 | item3.Reflectance = 0 | |
307 | item3.Transparency = 0 | |
308 | item3.Size = Vector3.new(187, 47, 1) | |
309 | item3.CFrame = CFrame.new(-130.5, 1014, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
310 | item3.RotVelocity = Vector3.new(0, 0, 0) | |
311 | item3.Velocity = Vector3.new(0, 0, 0) | |
312 | item3.Anchored = true | |
313 | item3.CanCollide = true | |
314 | item3.Locked = true | |
315 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item3[v..'Surface'] = 'SmoothNoOutlines' end | |
316 | item3.Parent = workspace.Great_ball | |
317 | item4 = Instance.new('Part') | |
318 | item4.Name = [[Part]] | |
319 | item4.BrickColor = BrickColor.new('Black') | |
320 | item4.Material = Enum.Material.Plastic | |
321 | item4.Reflectance = 0 | |
322 | item4.Transparency = 0 | |
323 | item4.Size = Vector3.new(55, 47, 1) | |
324 | item4.CFrame = CFrame.new(-37.5, 1014, 36.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
325 | item4.RotVelocity = Vector3.new(0, 0, 0) | |
326 | item4.Velocity = Vector3.new(0, 0, 0) | |
327 | item4.Anchored = true | |
328 | item4.CanCollide = true | |
329 | item4.Locked = true | |
330 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item4[v..'Surface'] = 'SmoothNoOutlines' end | |
331 | item4.Parent = workspace.Great_ball | |
332 | item5 = Instance.new('Part') | |
333 | item5.Name = [[Part]] | |
334 | item5.BrickColor = BrickColor.new('Black') | |
335 | item5.Material = Enum.Material.Plastic | |
336 | item5.Reflectance = 0 | |
337 | item5.Transparency = 0 | |
338 | item5.Size = Vector3.new(55, 47, 1) | |
339 | item5.CFrame = CFrame.new(-223.5, 1014, 36.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
340 | item5.RotVelocity = Vector3.new(0, 0, 0) | |
341 | item5.Velocity = Vector3.new(0, 0, 0) | |
342 | item5.Anchored = true | |
343 | item5.CanCollide = true | |
344 | item5.Locked = true | |
345 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item5[v..'Surface'] = 'SmoothNoOutlines' end | |
346 | item5.Parent = workspace.Great_ball | |
347 | item6 = Instance.new('Part') | |
348 | item6.Name = [[Part]] | |
349 | item6.BrickColor = BrickColor.new('Black') | |
350 | item6.Material = Enum.Material.Plastic | |
351 | item6.Reflectance = 0 | |
352 | item6.Transparency = 0 | |
353 | item6.Size = Vector3.new(187, 47, 1) | |
354 | item6.CFrame = CFrame.new(-130.5, 1014, 64.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
355 | item6.RotVelocity = Vector3.new(0, 0, 0) | |
356 | item6.Velocity = Vector3.new(0, 0, 0) | |
357 | item6.Anchored = true | |
358 | item6.CanCollide = true | |
359 | item6.Locked = true | |
360 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item6[v..'Surface'] = 'SmoothNoOutlines' end | |
361 | item6.Parent = workspace.Great_ball | |
362 | item7 = Instance.new('Part') | |
363 | item7.Name = [[Part]] | |
364 | item7.BrickColor = BrickColor.new('Black') | |
365 | item7.Material = Enum.Material.Plastic | |
366 | item7.Reflectance = 0 | |
367 | item7.Transparency = 0 | |
368 | item7.Size = Vector3.new(187, 1, 57) | |
369 | item7.CFrame = CFrame.new(-130.5, 1038, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
370 | item7.RotVelocity = Vector3.new(0, 0, 0) | |
371 | item7.Velocity = Vector3.new(0, 0, 0) | |
372 | item7.Anchored = true | |
373 | item7.CanCollide = true | |
374 | item7.Locked = true | |
375 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item7[v..'Surface'] = 'SmoothNoOutlines' end | |
376 | item7.Parent = workspace.Great_ball | |
377 | item8 = Instance.new('Part') | |
378 | item8.Name = [[Part]] | |
379 | item8.BrickColor = BrickColor.new('Maroon') | |
380 | item8.Material = Enum.Material.Plastic | |
381 | item8.Reflectance = 0 | |
382 | item8.Transparency = 0 | |
383 | item8.Size = Vector3.new(1, 1, 57) | |
384 | item8.CFrame = CFrame.new(-58.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
385 | item8.RotVelocity = Vector3.new(0, 0, 0) | |
386 | item8.Velocity = Vector3.new(0, 0, 0) | |
387 | item8.Anchored = true | |
388 | item8.CanCollide = true | |
389 | item8.Locked = true | |
390 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item8[v..'Surface'] = 'SmoothNoOutlines' end | |
391 | item8.Parent = workspace.Great_ball | |
392 | item9 = Instance.new('Part') | |
393 | item9.Name = [[Part]] | |
394 | item9.BrickColor = BrickColor.new('Maroon') | |
395 | item9.Material = Enum.Material.Plastic | |
396 | item9.Reflectance = 0 | |
397 | item9.Transparency = 0 | |
398 | item9.Size = Vector3.new(1, 1, 57) | |
399 | item9.CFrame = CFrame.new(-65.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
400 | item9.RotVelocity = Vector3.new(0, 0, 0) | |
401 | item9.Velocity = Vector3.new(0, 0, 0) | |
402 | item9.Anchored = true | |
403 | item9.CanCollide = true | |
404 | item9.Locked = true | |
405 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item9[v..'Surface'] = 'SmoothNoOutlines' end | |
406 | item9.Parent = workspace.Great_ball | |
407 | item10 = Instance.new('Part') | |
408 | item10.Name = [[Part]] | |
409 | item10.BrickColor = BrickColor.new('Maroon') | |
410 | item10.Material = Enum.Material.Plastic | |
411 | item10.Reflectance = 0 | |
412 | item10.Transparency = 0 | |
413 | item10.Size = Vector3.new(1, 1, 57) | |
414 | item10.CFrame = CFrame.new(-72.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
415 | item10.RotVelocity = Vector3.new(0, 0, 0) | |
416 | item10.Velocity = Vector3.new(0, 0, 0) | |
417 | item10.Anchored = true | |
418 | item10.CanCollide = true | |
419 | item10.Locked = true | |
420 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item10[v..'Surface'] = 'SmoothNoOutlines' end | |
421 | item10.Parent = workspace.Great_ball | |
422 | item11 = Instance.new('Part') | |
423 | item11.Name = [[Part]] | |
424 | item11.BrickColor = BrickColor.new('Maroon') | |
425 | item11.Material = Enum.Material.Plastic | |
426 | item11.Reflectance = 0 | |
427 | item11.Transparency = 0 | |
428 | item11.Size = Vector3.new(1, 1, 57) | |
429 | item11.CFrame = CFrame.new(-81.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
430 | item11.RotVelocity = Vector3.new(0, 0, 0) | |
431 | item11.Velocity = Vector3.new(0, 0, 0) | |
432 | item11.Anchored = true | |
433 | item11.CanCollide = true | |
434 | item11.Locked = true | |
435 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item11[v..'Surface'] = 'SmoothNoOutlines' end | |
436 | item11.Parent = workspace.Great_ball | |
437 | item12 = Instance.new('Part') | |
438 | item12.Name = [[Part]] | |
439 | item12.BrickColor = BrickColor.new('Maroon') | |
440 | item12.Material = Enum.Material.Plastic | |
441 | item12.Reflectance = 0 | |
442 | item12.Transparency = 0 | |
443 | item12.Size = Vector3.new(1, 1, 57) | |
444 | item12.CFrame = CFrame.new(-91.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
445 | item12.RotVelocity = Vector3.new(0, 0, 0) | |
446 | item12.Velocity = Vector3.new(0, 0, 0) | |
447 | item12.Anchored = true | |
448 | item12.CanCollide = true | |
449 | item12.Locked = true | |
450 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item12[v..'Surface'] = 'SmoothNoOutlines' end | |
451 | item12.Parent = workspace.Great_ball | |
452 | item13 = Instance.new('Part') | |
453 | item13.Name = [[Part]] | |
454 | item13.BrickColor = BrickColor.new('Maroon') | |
455 | item13.Material = Enum.Material.Plastic | |
456 | item13.Reflectance = 0 | |
457 | item13.Transparency = 0 | |
458 | item13.Size = Vector3.new(1, 1, 57) | |
459 | item13.CFrame = CFrame.new(-101.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
460 | item13.RotVelocity = Vector3.new(0, 0, 0) | |
461 | item13.Velocity = Vector3.new(0, 0, 0) | |
462 | item13.Anchored = true | |
463 | item13.CanCollide = true | |
464 | item13.Locked = true | |
465 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item13[v..'Surface'] = 'SmoothNoOutlines' end | |
466 | item13.Parent = workspace.Great_ball | |
467 | item14 = Instance.new('Part') | |
468 | item14.Name = [[Part]] | |
469 | item14.BrickColor = BrickColor.new('Maroon') | |
470 | item14.Material = Enum.Material.Plastic | |
471 | item14.Reflectance = 0 | |
472 | item14.Transparency = 0 | |
473 | item14.Size = Vector3.new(1, 1, 57) | |
474 | item14.CFrame = CFrame.new(-110.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
475 | item14.RotVelocity = Vector3.new(0, 0, 0) | |
476 | item14.Velocity = Vector3.new(0, 0, 0) | |
477 | item14.Anchored = true | |
478 | item14.CanCollide = true | |
479 | item14.Locked = true | |
480 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item14[v..'Surface'] = 'SmoothNoOutlines' end | |
481 | item14.Parent = workspace.Great_ball | |
482 | item15 = Instance.new('Part') | |
483 | item15.Name = [[Part]] | |
484 | item15.BrickColor = BrickColor.new('Maroon') | |
485 | item15.Material = Enum.Material.Plastic | |
486 | item15.Reflectance = 0 | |
487 | item15.Transparency = 0 | |
488 | item15.Size = Vector3.new(1, 1, 57) | |
489 | item15.CFrame = CFrame.new(-116.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
490 | item15.RotVelocity = Vector3.new(0, 0, 0) | |
491 | item15.Velocity = Vector3.new(0, 0, 0) | |
492 | item15.Anchored = true | |
493 | item15.CanCollide = true | |
494 | item15.Locked = true | |
495 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item15[v..'Surface'] = 'SmoothNoOutlines' end | |
496 | item15.Parent = workspace.Great_ball | |
497 | item16 = Instance.new('Part') | |
498 | item16.Name = [[Part]] | |
499 | item16.BrickColor = BrickColor.new('Maroon') | |
500 | item16.Material = Enum.Material.Plastic | |
501 | item16.Reflectance = 0 | |
502 | item16.Transparency = 0 | |
503 | item16.Size = Vector3.new(1, 1, 57) | |
504 | item16.CFrame = CFrame.new(-121.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
505 | item16.RotVelocity = Vector3.new(0, 0, 0) | |
506 | item16.Velocity = Vector3.new(0, 0, 0) | |
507 | item16.Anchored = true | |
508 | item16.CanCollide = true | |
509 | item16.Locked = true | |
510 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item16[v..'Surface'] = 'SmoothNoOutlines' end | |
511 | item16.Parent = workspace.Great_ball | |
512 | item17 = Instance.new('Part') | |
513 | item17.Name = [[Part]] | |
514 | item17.BrickColor = BrickColor.new('Maroon') | |
515 | item17.Material = Enum.Material.Plastic | |
516 | item17.Reflectance = 0 | |
517 | item17.Transparency = 0 | |
518 | item17.Size = Vector3.new(1, 1, 57) | |
519 | item17.CFrame = CFrame.new(-128.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
520 | item17.RotVelocity = Vector3.new(0, 0, 0) | |
521 | item17.Velocity = Vector3.new(0, 0, 0) | |
522 | item17.Anchored = true | |
523 | item17.CanCollide = true | |
524 | item17.Locked = true | |
525 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item17[v..'Surface'] = 'SmoothNoOutlines' end | |
526 | item17.Parent = workspace.Great_ball | |
527 | item18 = Instance.new('Part') | |
528 | item18.Name = [[Part]] | |
529 | item18.BrickColor = BrickColor.new('Maroon') | |
530 | item18.Material = Enum.Material.Plastic | |
531 | item18.Reflectance = 0 | |
532 | item18.Transparency = 0 | |
533 | item18.Size = Vector3.new(1, 1, 57) | |
534 | item18.CFrame = CFrame.new(-135.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
535 | item18.RotVelocity = Vector3.new(0, 0, 0) | |
536 | item18.Velocity = Vector3.new(0, 0, 0) | |
537 | item18.Anchored = true | |
538 | item18.CanCollide = true | |
539 | item18.Locked = true | |
540 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item18[v..'Surface'] = 'SmoothNoOutlines' end | |
541 | item18.Parent = workspace.Great_ball | |
542 | item19 = Instance.new('Part') | |
543 | item19.Name = [[Part]] | |
544 | item19.BrickColor = BrickColor.new('Maroon') | |
545 | item19.Material = Enum.Material.Plastic | |
546 | item19.Reflectance = 0 | |
547 | item19.Transparency = 0 | |
548 | item19.Size = Vector3.new(1, 1, 57) | |
549 | item19.CFrame = CFrame.new(-143.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
550 | item19.RotVelocity = Vector3.new(0, 0, 0) | |
551 | item19.Velocity = Vector3.new(0, 0, 0) | |
552 | item19.Anchored = true | |
553 | item19.CanCollide = true | |
554 | item19.Locked = true | |
555 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item19[v..'Surface'] = 'SmoothNoOutlines' end | |
556 | item19.Parent = workspace.Great_ball | |
557 | item20 = Instance.new('Part') | |
558 | item20.Name = [[Part]] | |
559 | item20.BrickColor = BrickColor.new('Maroon') | |
560 | item20.Material = Enum.Material.Plastic | |
561 | item20.Reflectance = 0 | |
562 | item20.Transparency = 0 | |
563 | item20.Size = Vector3.new(1, 1, 57) | |
564 | item20.CFrame = CFrame.new(-149.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
565 | item20.RotVelocity = Vector3.new(0, 0, 0) | |
566 | item20.Velocity = Vector3.new(0, 0, 0) | |
567 | item20.Anchored = true | |
568 | item20.CanCollide = true | |
569 | item20.Locked = true | |
570 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item20[v..'Surface'] = 'SmoothNoOutlines' end | |
571 | item20.Parent = workspace.Great_ball | |
572 | item21 = Instance.new('Part') | |
573 | item21.Name = [[Part]] | |
574 | item21.BrickColor = BrickColor.new('Maroon') | |
575 | item21.Material = Enum.Material.Plastic | |
576 | item21.Reflectance = 0 | |
577 | item21.Transparency = 0 | |
578 | item21.Size = Vector3.new(1, 1, 57) | |
579 | item21.CFrame = CFrame.new(-156.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
580 | item21.RotVelocity = Vector3.new(0, 0, 0) | |
581 | item21.Velocity = Vector3.new(0, 0, 0) | |
582 | item21.Anchored = true | |
583 | item21.CanCollide = true | |
584 | item21.Locked = true | |
585 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item21[v..'Surface'] = 'SmoothNoOutlines' end | |
586 | item21.Parent = workspace.Great_ball | |
587 | item22 = Instance.new('Part') | |
588 | item22.Name = [[Part]] | |
589 | item22.BrickColor = BrickColor.new('Maroon') | |
590 | item22.Material = Enum.Material.Plastic | |
591 | item22.Reflectance = 0 | |
592 | item22.Transparency = 0 | |
593 | item22.Size = Vector3.new(1, 1, 57) | |
594 | item22.CFrame = CFrame.new(-164.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
595 | item22.RotVelocity = Vector3.new(0, 0, 0) | |
596 | item22.Velocity = Vector3.new(0, 0, 0) | |
597 | item22.Anchored = true | |
598 | item22.CanCollide = true | |
599 | item22.Locked = true | |
600 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item22[v..'Surface'] = 'SmoothNoOutlines' end | |
601 | item22.Parent = workspace.Great_ball | |
602 | item23 = Instance.new('Part') | |
603 | item23.Name = [[Part]] | |
604 | item23.BrickColor = BrickColor.new('Maroon') | |
605 | item23.Material = Enum.Material.Plastic | |
606 | item23.Reflectance = 0 | |
607 | item23.Transparency = 0 | |
608 | item23.Size = Vector3.new(1, 1, 57) | |
609 | item23.CFrame = CFrame.new(-170.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
610 | item23.RotVelocity = Vector3.new(0, 0, 0) | |
611 | item23.Velocity = Vector3.new(0, 0, 0) | |
612 | item23.Anchored = true | |
613 | item23.CanCollide = true | |
614 | item23.Locked = true | |
615 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item23[v..'Surface'] = 'SmoothNoOutlines' end | |
616 | item23.Parent = workspace.Great_ball | |
617 | item24 = Instance.new('Part') | |
618 | item24.Name = [[Part]] | |
619 | item24.BrickColor = BrickColor.new('Maroon') | |
620 | item24.Material = Enum.Material.Plastic | |
621 | item24.Reflectance = 0 | |
622 | item24.Transparency = 0 | |
623 | item24.Size = Vector3.new(1, 1, 57) | |
624 | item24.CFrame = CFrame.new(-178.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
625 | item24.RotVelocity = Vector3.new(0, 0, 0) | |
626 | item24.Velocity = Vector3.new(0, 0, 0) | |
627 | item24.Anchored = true | |
628 | item24.CanCollide = true | |
629 | item24.Locked = true | |
630 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item24[v..'Surface'] = 'SmoothNoOutlines' end | |
631 | item24.Parent = workspace.Great_ball | |
632 | item25 = Instance.new('Part') | |
633 | item25.Name = [[Part]] | |
634 | item25.BrickColor = BrickColor.new('Maroon') | |
635 | item25.Material = Enum.Material.Plastic | |
636 | item25.Reflectance = 0 | |
637 | item25.Transparency = 0 | |
638 | item25.Size = Vector3.new(1, 1, 57) | |
639 | item25.CFrame = CFrame.new(-186.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
640 | item25.RotVelocity = Vector3.new(0, 0, 0) | |
641 | item25.Velocity = Vector3.new(0, 0, 0) | |
642 | item25.Anchored = true | |
643 | item25.CanCollide = true | |
644 | item25.Locked = true | |
645 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item25[v..'Surface'] = 'SmoothNoOutlines' end | |
646 | item25.Parent = workspace.Great_ball | |
647 | item26 = Instance.new('Part') | |
648 | item26.Name = [[Part]] | |
649 | item26.BrickColor = BrickColor.new('Deep orange') | |
650 | item26.Material = Enum.Material.Plastic | |
651 | item26.Reflectance = 0 | |
652 | item26.Transparency = 0 | |
653 | item26.Size = Vector3.new(29, 1, 57) | |
654 | item26.CFrame = CFrame.new(-208.5, 991, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
655 | item26.RotVelocity = Vector3.new(0, 0, 0) | |
656 | item26.Velocity = Vector3.new(0, 0, 0) | |
657 | item26.Anchored = true | |
658 | item26.CanCollide = true | |
659 | item26.Locked = true | |
660 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item26[v..'Surface'] = 'SmoothNoOutlines' end | |
661 | item26.Parent = workspace.Great_ball | |
662 | item27 = Instance.new('Part') | |
663 | item27.Name = [[Spawn]] | |
664 | item27.BrickColor = BrickColor.new('Black') | |
665 | item27.Material = Enum.Material.Slate | |
666 | item27.Reflectance = 0 | |
667 | item27.Transparency = 0.5 | |
668 | item27.Size = Vector3.new(1, 1, 1) | |
669 | item27.CFrame = CFrame.new(-50, 1008, 39.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
670 | item27.RotVelocity = Vector3.new(0, 0, 0) | |
671 | item27.Velocity = Vector3.new(0, 0, 0) | |
672 | item27.Anchored = true | |
673 | item27.CanCollide = false | |
674 | item27.Locked = true | |
675 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item27[v..'Surface'] = 'SmoothNoOutlines' end | |
676 | item27.Parent = workspace.Great_ball | |
677 | item28 = Instance.new('Model') | |
678 | item28.Name = [[Love_ball]] | |
679 | item28.Parent = workspace | |
680 | item29 = Instance.new('Part') | |
681 | item29.Name = [[Part]] | |
682 | item29.BrickColor = BrickColor.new('Pastel orange') | |
683 | item29.Material = Enum.Material.Plastic | |
684 | item29.Reflectance = 0 | |
685 | item29.Transparency = 0 | |
686 | item29.Size = Vector3.new(187, 1, 57) | |
687 | item29.CFrame = CFrame.new(-130.5, 1038, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
688 | item29.RotVelocity = Vector3.new(0, 0, 0) | |
689 | item29.Velocity = Vector3.new(0, 0, 0) | |
690 | item29.Anchored = true | |
691 | item29.CanCollide = true | |
692 | item29.Locked = true | |
693 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item29[v..'Surface'] = 'SmoothNoOutlines' end | |
694 | item29.Parent = workspace.Love_ball | |
695 | item30 = Instance.new('Part') | |
696 | item30.Name = [[Part]] | |
697 | item30.BrickColor = BrickColor.new('Pastel orange') | |
698 | item30.Material = Enum.Material.Plastic | |
699 | item30.Reflectance = 0 | |
700 | item30.Transparency = 0 | |
701 | item30.Size = Vector3.new(55, 47, 1) | |
702 | item30.CFrame = CFrame.new(-37.5, 1014, 259.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
703 | item30.RotVelocity = Vector3.new(0, 0, 0) | |
704 | item30.Velocity = Vector3.new(0, 0, 0) | |
705 | item30.Anchored = true | |
706 | item30.CanCollide = true | |
707 | item30.Locked = true | |
708 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item30[v..'Surface'] = 'SmoothNoOutlines' end | |
709 | item30.Parent = workspace.Love_ball | |
710 | item31 = Instance.new('Part') | |
711 | item31.Name = [[Part]] | |
712 | item31.BrickColor = BrickColor.new('Pastel orange') | |
713 | item31.Material = Enum.Material.Plastic | |
714 | item31.Reflectance = 0 | |
715 | item31.Transparency = 0 | |
716 | item31.Size = Vector3.new(55, 47, 1) | |
717 | item31.CFrame = CFrame.new(-223.5, 1014, 259.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
718 | item31.RotVelocity = Vector3.new(0, 0, 0) | |
719 | item31.Velocity = Vector3.new(0, 0, 0) | |
720 | item31.Anchored = true | |
721 | item31.CanCollide = true | |
722 | item31.Locked = true | |
723 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item31[v..'Surface'] = 'SmoothNoOutlines' end | |
724 | item31.Parent = workspace.Love_ball | |
725 | item32 = Instance.new('Part') | |
726 | item32.Name = [[Part]] | |
727 | item32.BrickColor = BrickColor.new('Pastel orange') | |
728 | item32.Material = Enum.Material.Plastic | |
729 | item32.Reflectance = 0 | |
730 | item32.Transparency = 0 | |
731 | item32.Size = Vector3.new(187, 1, 57) | |
732 | item32.CFrame = CFrame.new(-130.5, 990, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
733 | item32.RotVelocity = Vector3.new(0, 0, 0) | |
734 | item32.Velocity = Vector3.new(0, 0, 0) | |
735 | item32.Anchored = true | |
736 | item32.CanCollide = true | |
737 | item32.Locked = true | |
738 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item32[v..'Surface'] = 'SmoothNoOutlines' end | |
739 | item32.Parent = workspace.Love_ball | |
740 | item33 = Instance.new('Part') | |
741 | item33.Name = [[Part]] | |
742 | item33.BrickColor = BrickColor.new('Pastel orange') | |
743 | item33.Material = Enum.Material.Plastic | |
744 | item33.Reflectance = 0 | |
745 | item33.Transparency = 0 | |
746 | item33.Size = Vector3.new(187, 47, 1) | |
747 | item33.CFrame = CFrame.new(-130.5, 1014, 231.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
748 | item33.RotVelocity = Vector3.new(0, 0, 0) | |
749 | item33.Velocity = Vector3.new(0, 0, 0) | |
750 | item33.Anchored = true | |
751 | item33.CanCollide = true | |
752 | item33.Locked = true | |
753 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item33[v..'Surface'] = 'SmoothNoOutlines' end | |
754 | item33.Parent = workspace.Love_ball | |
755 | item34 = Instance.new('Part') | |
756 | item34.Name = [[Part]] | |
757 | item34.BrickColor = BrickColor.new('Pastel orange') | |
758 | item34.Material = Enum.Material.Plastic | |
759 | item34.Reflectance = 0 | |
760 | item34.Transparency = 0 | |
761 | item34.Size = Vector3.new(187, 47, 1) | |
762 | item34.CFrame = CFrame.new(-130.5, 1014, 287.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
763 | item34.RotVelocity = Vector3.new(0, 0, 0) | |
764 | item34.Velocity = Vector3.new(0, 0, 0) | |
765 | item34.Anchored = true | |
766 | item34.CanCollide = true | |
767 | item34.Locked = true | |
768 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item34[v..'Surface'] = 'SmoothNoOutlines' end | |
769 | item34.Parent = workspace.Love_ball | |
770 | item35 = Instance.new('Part') | |
771 | item35.Name = [[Part]] | |
772 | item35.BrickColor = BrickColor.new('Maroon') | |
773 | item35.Material = Enum.Material.Plastic | |
774 | item35.Reflectance = 0 | |
775 | item35.Transparency = 0 | |
776 | item35.Size = Vector3.new(1, 1, 57) | |
777 | item35.CFrame = CFrame.new(-116.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
778 | item35.RotVelocity = Vector3.new(0, 0, 0) | |
779 | item35.Velocity = Vector3.new(0, 0, 0) | |
780 | item35.Anchored = true | |
781 | item35.CanCollide = true | |
782 | item35.Locked = true | |
783 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item35[v..'Surface'] = 'SmoothNoOutlines' end | |
784 | item35.Parent = workspace.Love_ball | |
785 | item36 = Instance.new('Part') | |
786 | item36.Name = [[Part]] | |
787 | item36.BrickColor = BrickColor.new('Maroon') | |
788 | item36.Material = Enum.Material.Plastic | |
789 | item36.Reflectance = 0 | |
790 | item36.Transparency = 0 | |
791 | item36.Size = Vector3.new(1, 1, 57) | |
792 | item36.CFrame = CFrame.new(-65.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
793 | item36.RotVelocity = Vector3.new(0, 0, 0) | |
794 | item36.Velocity = Vector3.new(0, 0, 0) | |
795 | item36.Anchored = true | |
796 | item36.CanCollide = true | |
797 | item36.Locked = true | |
798 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item36[v..'Surface'] = 'SmoothNoOutlines' end | |
799 | item36.Parent = workspace.Love_ball | |
800 | item37 = Instance.new('Part') | |
801 | item37.Name = [[Part]] | |
802 | item37.BrickColor = BrickColor.new('Maroon') | |
803 | item37.Material = Enum.Material.Plastic | |
804 | item37.Reflectance = 0 | |
805 | item37.Transparency = 0 | |
806 | item37.Size = Vector3.new(1, 1, 57) | |
807 | item37.CFrame = CFrame.new(-72.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
808 | item37.RotVelocity = Vector3.new(0, 0, 0) | |
809 | item37.Velocity = Vector3.new(0, 0, 0) | |
810 | item37.Anchored = true | |
811 | item37.CanCollide = true | |
812 | item37.Locked = true | |
813 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item37[v..'Surface'] = 'SmoothNoOutlines' end | |
814 | item37.Parent = workspace.Love_ball | |
815 | item38 = Instance.new('Part') | |
816 | item38.Name = [[Part]] | |
817 | item38.BrickColor = BrickColor.new('Maroon') | |
818 | item38.Material = Enum.Material.Plastic | |
819 | item38.Reflectance = 0 | |
820 | item38.Transparency = 0 | |
821 | item38.Size = Vector3.new(1, 1, 57) | |
822 | item38.CFrame = CFrame.new(-170.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
823 | item38.RotVelocity = Vector3.new(0, 0, 0) | |
824 | item38.Velocity = Vector3.new(0, 0, 0) | |
825 | item38.Anchored = true | |
826 | item38.CanCollide = true | |
827 | item38.Locked = true | |
828 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item38[v..'Surface'] = 'SmoothNoOutlines' end | |
829 | item38.Parent = workspace.Love_ball | |
830 | item39 = Instance.new('Part') | |
831 | item39.Name = [[Part]] | |
832 | item39.BrickColor = BrickColor.new('Maroon') | |
833 | item39.Material = Enum.Material.Plastic | |
834 | item39.Reflectance = 0 | |
835 | item39.Transparency = 0 | |
836 | item39.Size = Vector3.new(1, 1, 57) | |
837 | item39.CFrame = CFrame.new(-81.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
838 | item39.RotVelocity = Vector3.new(0, 0, 0) | |
839 | item39.Velocity = Vector3.new(0, 0, 0) | |
840 | item39.Anchored = true | |
841 | item39.CanCollide = true | |
842 | item39.Locked = true | |
843 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item39[v..'Surface'] = 'SmoothNoOutlines' end | |
844 | item39.Parent = workspace.Love_ball | |
845 | item40 = Instance.new('Part') | |
846 | item40.Name = [[Part]] | |
847 | item40.BrickColor = BrickColor.new('Maroon') | |
848 | item40.Material = Enum.Material.Plastic | |
849 | item40.Reflectance = 0 | |
850 | item40.Transparency = 0 | |
851 | item40.Size = Vector3.new(1, 1, 57) | |
852 | item40.CFrame = CFrame.new(-164.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
853 | item40.RotVelocity = Vector3.new(0, 0, 0) | |
854 | item40.Velocity = Vector3.new(0, 0, 0) | |
855 | item40.Anchored = true | |
856 | item40.CanCollide = true | |
857 | item40.Locked = true | |
858 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item40[v..'Surface'] = 'SmoothNoOutlines' end | |
859 | item40.Parent = workspace.Love_ball | |
860 | item41 = Instance.new('Part') | |
861 | item41.Name = [[Part]] | |
862 | item41.BrickColor = BrickColor.new('Maroon') | |
863 | item41.Material = Enum.Material.Plastic | |
864 | item41.Reflectance = 0 | |
865 | item41.Transparency = 0 | |
866 | item41.Size = Vector3.new(1, 1, 57) | |
867 | item41.CFrame = CFrame.new(-101.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
868 | item41.RotVelocity = Vector3.new(0, 0, 0) | |
869 | item41.Velocity = Vector3.new(0, 0, 0) | |
870 | item41.Anchored = true | |
871 | item41.CanCollide = true | |
872 | item41.Locked = true | |
873 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item41[v..'Surface'] = 'SmoothNoOutlines' end | |
874 | item41.Parent = workspace.Love_ball | |
875 | item42 = Instance.new('Part') | |
876 | item42.Name = [[Part]] | |
877 | item42.BrickColor = BrickColor.new('Maroon') | |
878 | item42.Material = Enum.Material.Plastic | |
879 | item42.Reflectance = 0 | |
880 | item42.Transparency = 0 | |
881 | item42.Size = Vector3.new(1, 1, 57) | |
882 | item42.CFrame = CFrame.new(-58.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
883 | item42.RotVelocity = Vector3.new(0, 0, 0) | |
884 | item42.Velocity = Vector3.new(0, 0, 0) | |
885 | item42.Anchored = true | |
886 | item42.CanCollide = true | |
887 | item42.Locked = true | |
888 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item42[v..'Surface'] = 'SmoothNoOutlines' end | |
889 | item42.Parent = workspace.Love_ball | |
890 | item43 = Instance.new('Part') | |
891 | item43.Name = [[Part]] | |
892 | item43.BrickColor = BrickColor.new('Maroon') | |
893 | item43.Material = Enum.Material.Plastic | |
894 | item43.Reflectance = 0 | |
895 | item43.Transparency = 0 | |
896 | item43.Size = Vector3.new(1, 1, 57) | |
897 | item43.CFrame = CFrame.new(-186.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
898 | item43.RotVelocity = Vector3.new(0, 0, 0) | |
899 | item43.Velocity = Vector3.new(0, 0, 0) | |
900 | item43.Anchored = true | |
901 | item43.CanCollide = true | |
902 | item43.Locked = true | |
903 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item43[v..'Surface'] = 'SmoothNoOutlines' end | |
904 | item43.Parent = workspace.Love_ball | |
905 | item44 = Instance.new('Part') | |
906 | item44.Name = [[Part]] | |
907 | item44.BrickColor = BrickColor.new('Maroon') | |
908 | item44.Material = Enum.Material.Plastic | |
909 | item44.Reflectance = 0 | |
910 | item44.Transparency = 0 | |
911 | item44.Size = Vector3.new(1, 1, 57) | |
912 | item44.CFrame = CFrame.new(-91.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
913 | item44.RotVelocity = Vector3.new(0, 0, 0) | |
914 | item44.Velocity = Vector3.new(0, 0, 0) | |
915 | item44.Anchored = true | |
916 | item44.CanCollide = true | |
917 | item44.Locked = true | |
918 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item44[v..'Surface'] = 'SmoothNoOutlines' end | |
919 | item44.Parent = workspace.Love_ball | |
920 | item45 = Instance.new('Part') | |
921 | item45.Name = [[Part]] | |
922 | item45.BrickColor = BrickColor.new('Maroon') | |
923 | item45.Material = Enum.Material.Plastic | |
924 | item45.Reflectance = 0 | |
925 | item45.Transparency = 0 | |
926 | item45.Size = Vector3.new(1, 1, 57) | |
927 | item45.CFrame = CFrame.new(-143.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
928 | item45.RotVelocity = Vector3.new(0, 0, 0) | |
929 | item45.Velocity = Vector3.new(0, 0, 0) | |
930 | item45.Anchored = true | |
931 | item45.CanCollide = true | |
932 | item45.Locked = true | |
933 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item45[v..'Surface'] = 'SmoothNoOutlines' end | |
934 | item45.Parent = workspace.Love_ball | |
935 | item46 = Instance.new('Part') | |
936 | item46.Name = [[Part]] | |
937 | item46.BrickColor = BrickColor.new('Maroon') | |
938 | item46.Material = Enum.Material.Plastic | |
939 | item46.Reflectance = 0 | |
940 | item46.Transparency = 0 | |
941 | item46.Size = Vector3.new(1, 1, 57) | |
942 | item46.CFrame = CFrame.new(-149.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
943 | item46.RotVelocity = Vector3.new(0, 0, 0) | |
944 | item46.Velocity = Vector3.new(0, 0, 0) | |
945 | item46.Anchored = true | |
946 | item46.CanCollide = true | |
947 | item46.Locked = true | |
948 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item46[v..'Surface'] = 'SmoothNoOutlines' end | |
949 | item46.Parent = workspace.Love_ball | |
950 | item47 = Instance.new('Part') | |
951 | item47.Name = [[Part]] | |
952 | item47.BrickColor = BrickColor.new('Maroon') | |
953 | item47.Material = Enum.Material.Plastic | |
954 | item47.Reflectance = 0 | |
955 | item47.Transparency = 0 | |
956 | item47.Size = Vector3.new(1, 1, 57) | |
957 | item47.CFrame = CFrame.new(-128.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
958 | item47.RotVelocity = Vector3.new(0, 0, 0) | |
959 | item47.Velocity = Vector3.new(0, 0, 0) | |
960 | item47.Anchored = true | |
961 | item47.CanCollide = true | |
962 | item47.Locked = true | |
963 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item47[v..'Surface'] = 'SmoothNoOutlines' end | |
964 | item47.Parent = workspace.Love_ball | |
965 | item48 = Instance.new('Part') | |
966 | item48.Name = [[Part]] | |
967 | item48.BrickColor = BrickColor.new('Maroon') | |
968 | item48.Material = Enum.Material.Plastic | |
969 | item48.Reflectance = 0 | |
970 | item48.Transparency = 0 | |
971 | item48.Size = Vector3.new(1, 1, 57) | |
972 | item48.CFrame = CFrame.new(-121.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
973 | item48.RotVelocity = Vector3.new(0, 0, 0) | |
974 | item48.Velocity = Vector3.new(0, 0, 0) | |
975 | item48.Anchored = true | |
976 | item48.CanCollide = true | |
977 | item48.Locked = true | |
978 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item48[v..'Surface'] = 'SmoothNoOutlines' end | |
979 | item48.Parent = workspace.Love_ball | |
980 | item49 = Instance.new('Part') | |
981 | item49.Name = [[Part]] | |
982 | item49.BrickColor = BrickColor.new('Maroon') | |
983 | item49.Material = Enum.Material.Plastic | |
984 | item49.Reflectance = 0 | |
985 | item49.Transparency = 0 | |
986 | item49.Size = Vector3.new(1, 1, 57) | |
987 | item49.CFrame = CFrame.new(-110.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
988 | item49.RotVelocity = Vector3.new(0, 0, 0) | |
989 | item49.Velocity = Vector3.new(0, 0, 0) | |
990 | item49.Anchored = true | |
991 | item49.CanCollide = true | |
992 | item49.Locked = true | |
993 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item49[v..'Surface'] = 'SmoothNoOutlines' end | |
994 | item49.Parent = workspace.Love_ball | |
995 | item50 = Instance.new('Part') | |
996 | item50.Name = [[Part]] | |
997 | item50.BrickColor = BrickColor.new('Maroon') | |
998 | item50.Material = Enum.Material.Plastic | |
999 | item50.Reflectance = 0 | |
1000 | item50.Transparency = 0 | |
1001 | item50.Size = Vector3.new(1, 1, 57) | |
1002 | item50.CFrame = CFrame.new(-135.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1003 | item50.RotVelocity = Vector3.new(0, 0, 0) | |
1004 | item50.Velocity = Vector3.new(0, 0, 0) | |
1005 | item50.Anchored = true | |
1006 | item50.CanCollide = true | |
1007 | item50.Locked = true | |
1008 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item50[v..'Surface'] = 'SmoothNoOutlines' end | |
1009 | item50.Parent = workspace.Love_ball | |
1010 | item51 = Instance.new('Part') | |
1011 | item51.Name = [[Part]] | |
1012 | item51.BrickColor = BrickColor.new('Maroon') | |
1013 | item51.Material = Enum.Material.Plastic | |
1014 | item51.Reflectance = 0 | |
1015 | item51.Transparency = 0 | |
1016 | item51.Size = Vector3.new(1, 1, 57) | |
1017 | item51.CFrame = CFrame.new(-156.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1018 | item51.RotVelocity = Vector3.new(0, 0, 0) | |
1019 | item51.Velocity = Vector3.new(0, 0, 0) | |
1020 | item51.Anchored = true | |
1021 | item51.CanCollide = true | |
1022 | item51.Locked = true | |
1023 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item51[v..'Surface'] = 'SmoothNoOutlines' end | |
1024 | item51.Parent = workspace.Love_ball | |
1025 | item52 = Instance.new('Part') | |
1026 | item52.Name = [[Part]] | |
1027 | item52.BrickColor = BrickColor.new('Maroon') | |
1028 | item52.Material = Enum.Material.Plastic | |
1029 | item52.Reflectance = 0 | |
1030 | item52.Transparency = 0 | |
1031 | item52.Size = Vector3.new(1, 1, 57) | |
1032 | item52.CFrame = CFrame.new(-178.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1033 | item52.RotVelocity = Vector3.new(0, 0, 0) | |
1034 | item52.Velocity = Vector3.new(0, 0, 0) | |
1035 | item52.Anchored = true | |
1036 | item52.CanCollide = true | |
1037 | item52.Locked = true | |
1038 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item52[v..'Surface'] = 'SmoothNoOutlines' end | |
1039 | item52.Parent = workspace.Love_ball | |
1040 | item53 = Instance.new('Part') | |
1041 | item53.Name = [[Part]] | |
1042 | item53.BrickColor = BrickColor.new('Deep orange') | |
1043 | item53.Material = Enum.Material.Plastic | |
1044 | item53.Reflectance = 0 | |
1045 | item53.Transparency = 0 | |
1046 | item53.Size = Vector3.new(29, 1, 57) | |
1047 | item53.CFrame = CFrame.new(-208.5, 991, 259.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1048 | item53.RotVelocity = Vector3.new(0, 0, 0) | |
1049 | item53.Velocity = Vector3.new(0, 0, 0) | |
1050 | item53.Anchored = true | |
1051 | item53.CanCollide = true | |
1052 | item53.Locked = true | |
1053 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item53[v..'Surface'] = 'SmoothNoOutlines' end | |
1054 | item53.Parent = workspace.Love_ball | |
1055 | item54 = Instance.new('Part') | |
1056 | item54.Name = [[Spawn]] | |
1057 | item54.BrickColor = BrickColor.new('Black') | |
1058 | item54.Material = Enum.Material.Slate | |
1059 | item54.Reflectance = 0 | |
1060 | item54.Transparency = 0.5 | |
1061 | item54.Size = Vector3.new(1, 1, 1) | |
1062 | item54.CFrame = CFrame.new(-50, 1008, 262.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1063 | item54.RotVelocity = Vector3.new(0, 0, 0) | |
1064 | item54.Velocity = Vector3.new(0, 0, 0) | |
1065 | item54.Anchored = true | |
1066 | item54.CanCollide = false | |
1067 | item54.Locked = true | |
1068 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item54[v..'Surface'] = 'SmoothNoOutlines' end | |
1069 | item54.Parent = workspace.Love_ball | |
1070 | item55 = Instance.new('Model') | |
1071 | item55.Name = [[Master_ball]] | |
1072 | item55.Parent = workspace | |
1073 | item56 = Instance.new('Part') | |
1074 | item56.Name = [[Part]] | |
1075 | item56.BrickColor = BrickColor.new('Magenta') | |
1076 | item56.Material = Enum.Material.Slate | |
1077 | item56.Reflectance = 0 | |
1078 | item56.Transparency = 0 | |
1079 | item56.Size = Vector3.new(55, 47, 1) | |
1080 | item56.CFrame = CFrame.new(-96.5, 1014, 484.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
1081 | item56.RotVelocity = Vector3.new(0, 0, 0) | |
1082 | item56.Velocity = Vector3.new(0, 0, 0) | |
1083 | item56.Anchored = true | |
1084 | item56.CanCollide = true | |
1085 | item56.Locked = true | |
1086 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item56[v..'Surface'] = 'SmoothNoOutlines' end | |
1087 | item56.Parent = workspace.Master_ball | |
1088 | item57 = Instance.new('Part') | |
1089 | item57.Name = [[Part]] | |
1090 | item57.BrickColor = BrickColor.new('Magenta') | |
1091 | item57.Material = Enum.Material.Slate | |
1092 | item57.Reflectance = 0 | |
1093 | item57.Transparency = 0 | |
1094 | item57.Size = Vector3.new(60, 1, 57) | |
1095 | item57.CFrame = CFrame.new(-67, 990, 484.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1096 | item57.RotVelocity = Vector3.new(0, 0, 0) | |
1097 | item57.Velocity = Vector3.new(0, 0, 0) | |
1098 | item57.Anchored = true | |
1099 | item57.CanCollide = true | |
1100 | item57.Locked = true | |
1101 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item57[v..'Surface'] = 'SmoothNoOutlines' end | |
1102 | item57.Parent = workspace.Master_ball | |
1103 | item58 = Instance.new('Part') | |
1104 | item58.Name = [[Part]] | |
1105 | item58.BrickColor = BrickColor.new('Magenta') | |
1106 | item58.Material = Enum.Material.Slate | |
1107 | item58.Reflectance = 0 | |
1108 | item58.Transparency = 0 | |
1109 | item58.Size = Vector3.new(60, 47, 1) | |
1110 | item58.CFrame = CFrame.new(-67, 1014, 456.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1111 | item58.RotVelocity = Vector3.new(0, 0, 0) | |
1112 | item58.Velocity = Vector3.new(0, 0, 0) | |
1113 | item58.Anchored = true | |
1114 | item58.CanCollide = true | |
1115 | item58.Locked = true | |
1116 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item58[v..'Surface'] = 'SmoothNoOutlines' end | |
1117 | item58.Parent = workspace.Master_ball | |
1118 | item59 = Instance.new('Part') | |
1119 | item59.Name = [[Part]] | |
1120 | item59.BrickColor = BrickColor.new('Magenta') | |
1121 | item59.Material = Enum.Material.Slate | |
1122 | item59.Reflectance = 0 | |
1123 | item59.Transparency = 0 | |
1124 | item59.Size = Vector3.new(55, 47, 1) | |
1125 | item59.CFrame = CFrame.new(-37.5, 1014, 484.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
1126 | item59.RotVelocity = Vector3.new(0, 0, 0) | |
1127 | item59.Velocity = Vector3.new(0, 0, 0) | |
1128 | item59.Anchored = true | |
1129 | item59.CanCollide = true | |
1130 | item59.Locked = true | |
1131 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item59[v..'Surface'] = 'SmoothNoOutlines' end | |
1132 | item59.Parent = workspace.Master_ball | |
1133 | item60 = Instance.new('Part') | |
1134 | item60.Name = [[Part]] | |
1135 | item60.BrickColor = BrickColor.new('Magenta') | |
1136 | item60.Material = Enum.Material.Slate | |
1137 | item60.Reflectance = 0 | |
1138 | item60.Transparency = 0 | |
1139 | item60.Size = Vector3.new(60, 47, 1) | |
1140 | item60.CFrame = CFrame.new(-67, 1014, 512.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1141 | item60.RotVelocity = Vector3.new(0, 0, 0) | |
1142 | item60.Velocity = Vector3.new(0, 0, 0) | |
1143 | item60.Anchored = true | |
1144 | item60.CanCollide = true | |
1145 | item60.Locked = true | |
1146 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item60[v..'Surface'] = 'SmoothNoOutlines' end | |
1147 | item60.Parent = workspace.Master_ball | |
1148 | item61 = Instance.new('Part') | |
1149 | item61.Name = [[Part]] | |
1150 | item61.BrickColor = BrickColor.new('Magenta') | |
1151 | item61.Material = Enum.Material.Slate | |
1152 | item61.Reflectance = 0 | |
1153 | item61.Transparency = 0 | |
1154 | item61.Size = Vector3.new(60, 1, 57) | |
1155 | item61.CFrame = CFrame.new(-67, 1038, 484.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1156 | item61.RotVelocity = Vector3.new(0, 0, 0) | |
1157 | item61.Velocity = Vector3.new(0, 0, 0) | |
1158 | item61.Anchored = true | |
1159 | item61.CanCollide = true | |
1160 | item61.Locked = true | |
1161 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item61[v..'Surface'] = 'SmoothNoOutlines' end | |
1162 | item61.Parent = workspace.Master_ball | |
1163 | item62 = Instance.new('Part') | |
1164 | item62.Name = [[Spawn]] | |
1165 | item62.BrickColor = BrickColor.new('Black') | |
1166 | item62.Material = Enum.Material.Slate | |
1167 | item62.Reflectance = 0 | |
1168 | item62.Transparency = 0.5 | |
1169 | item62.Size = Vector3.new(1, 1, 1) | |
1170 | item62.CFrame = CFrame.new(-67, 1019, 484.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1171 | item62.RotVelocity = Vector3.new(0, 0, 0) | |
1172 | item62.Velocity = Vector3.new(0, 0, 0) | |
1173 | item62.Anchored = true | |
1174 | item62.CanCollide = false | |
1175 | item62.Locked = true | |
1176 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item62[v..'Surface'] = 'SmoothNoOutlines' end | |
1177 | item62.Parent = workspace.Master_ball | |
1178 | item63 = Instance.new('Model') | |
1179 | item63.Name = [[Timer_ball]] | |
1180 | item63.Parent = workspace | |
1181 | item64 = Instance.new('Part') | |
1182 | item64.Name = [[Part]] | |
1183 | item64.BrickColor = BrickColor.new('Ghost grey') | |
1184 | item64.Material = Enum.Material.Plastic | |
1185 | item64.Reflectance = 0 | |
1186 | item64.Transparency = 0 | |
1187 | item64.Size = Vector3.new(187, 47, 1) | |
1188 | item64.CFrame = CFrame.new(-130.5, 1014, 329.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1189 | item64.RotVelocity = Vector3.new(0, 0, 0) | |
1190 | item64.Velocity = Vector3.new(0, 0, 0) | |
1191 | item64.Anchored = true | |
1192 | item64.CanCollide = true | |
1193 | item64.Locked = true | |
1194 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item64[v..'Surface'] = 'SmoothNoOutlines' end | |
1195 | item64.Parent = workspace.Timer_ball | |
1196 | item65 = Instance.new('Part') | |
1197 | item65.Name = [[Part]] | |
1198 | item65.BrickColor = BrickColor.new('Ghost grey') | |
1199 | item65.Material = Enum.Material.Plastic | |
1200 | item65.Reflectance = 0 | |
1201 | item65.Transparency = 0 | |
1202 | item65.Size = Vector3.new(187, 1, 57) | |
1203 | item65.CFrame = CFrame.new(-130.5, 990, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1204 | item65.RotVelocity = Vector3.new(0, 0, 0) | |
1205 | item65.Velocity = Vector3.new(0, 0, 0) | |
1206 | item65.Anchored = true | |
1207 | item65.CanCollide = true | |
1208 | item65.Locked = true | |
1209 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item65[v..'Surface'] = 'SmoothNoOutlines' end | |
1210 | item65.Parent = workspace.Timer_ball | |
1211 | item66 = Instance.new('Part') | |
1212 | item66.Name = [[Part]] | |
1213 | item66.BrickColor = BrickColor.new('Ghost grey') | |
1214 | item66.Material = Enum.Material.Plastic | |
1215 | item66.Reflectance = 0 | |
1216 | item66.Transparency = 0 | |
1217 | item66.Size = Vector3.new(187, 1, 57) | |
1218 | item66.CFrame = CFrame.new(-130.5, 1038, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1219 | item66.RotVelocity = Vector3.new(0, 0, 0) | |
1220 | item66.Velocity = Vector3.new(0, 0, 0) | |
1221 | item66.Anchored = true | |
1222 | item66.CanCollide = true | |
1223 | item66.Locked = true | |
1224 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item66[v..'Surface'] = 'SmoothNoOutlines' end | |
1225 | item66.Parent = workspace.Timer_ball | |
1226 | item67 = Instance.new('Part') | |
1227 | item67.Name = [[Part]] | |
1228 | item67.BrickColor = BrickColor.new('Ghost grey') | |
1229 | item67.Material = Enum.Material.Plastic | |
1230 | item67.Reflectance = 0 | |
1231 | item67.Transparency = 0 | |
1232 | item67.Size = Vector3.new(187, 47, 1) | |
1233 | item67.CFrame = CFrame.new(-130.5, 1014, 385.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1234 | item67.RotVelocity = Vector3.new(0, 0, 0) | |
1235 | item67.Velocity = Vector3.new(0, 0, 0) | |
1236 | item67.Anchored = true | |
1237 | item67.CanCollide = true | |
1238 | item67.Locked = true | |
1239 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item67[v..'Surface'] = 'SmoothNoOutlines' end | |
1240 | item67.Parent = workspace.Timer_ball | |
1241 | item68 = Instance.new('Part') | |
1242 | item68.Name = [[Part]] | |
1243 | item68.BrickColor = BrickColor.new('Ghost grey') | |
1244 | item68.Material = Enum.Material.Plastic | |
1245 | item68.Reflectance = 0 | |
1246 | item68.Transparency = 0 | |
1247 | item68.Size = Vector3.new(55, 47, 1) | |
1248 | item68.CFrame = CFrame.new(-37.5, 1014, 357.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
1249 | item68.RotVelocity = Vector3.new(0, 0, 0) | |
1250 | item68.Velocity = Vector3.new(0, 0, 0) | |
1251 | item68.Anchored = true | |
1252 | item68.CanCollide = true | |
1253 | item68.Locked = true | |
1254 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item68[v..'Surface'] = 'SmoothNoOutlines' end | |
1255 | item68.Parent = workspace.Timer_ball | |
1256 | item69 = Instance.new('Part') | |
1257 | item69.Name = [[Part]] | |
1258 | item69.BrickColor = BrickColor.new('Ghost grey') | |
1259 | item69.Material = Enum.Material.Plastic | |
1260 | item69.Reflectance = 0 | |
1261 | item69.Transparency = 0 | |
1262 | item69.Size = Vector3.new(55, 47, 1) | |
1263 | item69.CFrame = CFrame.new(-223.5, 1014, 357.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
1264 | item69.RotVelocity = Vector3.new(0, 0, 0) | |
1265 | item69.Velocity = Vector3.new(0, 0, 0) | |
1266 | item69.Anchored = true | |
1267 | item69.CanCollide = true | |
1268 | item69.Locked = true | |
1269 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item69[v..'Surface'] = 'SmoothNoOutlines' end | |
1270 | item69.Parent = workspace.Timer_ball | |
1271 | item70 = Instance.new('Part') | |
1272 | item70.Name = [[Part]] | |
1273 | item70.BrickColor = BrickColor.new('Maroon') | |
1274 | item70.Material = Enum.Material.Plastic | |
1275 | item70.Reflectance = 0 | |
1276 | item70.Transparency = 0 | |
1277 | item70.Size = Vector3.new(1, 1, 57) | |
1278 | item70.CFrame = CFrame.new(-164.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1279 | item70.RotVelocity = Vector3.new(0, 0, 0) | |
1280 | item70.Velocity = Vector3.new(0, 0, 0) | |
1281 | item70.Anchored = true | |
1282 | item70.CanCollide = true | |
1283 | item70.Locked = true | |
1284 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item70[v..'Surface'] = 'SmoothNoOutlines' end | |
1285 | item70.Parent = workspace.Timer_ball | |
1286 | item71 = Instance.new('Part') | |
1287 | item71.Name = [[Part]] | |
1288 | item71.BrickColor = BrickColor.new('Maroon') | |
1289 | item71.Material = Enum.Material.Plastic | |
1290 | item71.Reflectance = 0 | |
1291 | item71.Transparency = 0 | |
1292 | item71.Size = Vector3.new(1, 1, 57) | |
1293 | item71.CFrame = CFrame.new(-116.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1294 | item71.RotVelocity = Vector3.new(0, 0, 0) | |
1295 | item71.Velocity = Vector3.new(0, 0, 0) | |
1296 | item71.Anchored = true | |
1297 | item71.CanCollide = true | |
1298 | item71.Locked = true | |
1299 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item71[v..'Surface'] = 'SmoothNoOutlines' end | |
1300 | item71.Parent = workspace.Timer_ball | |
1301 | item72 = Instance.new('Part') | |
1302 | item72.Name = [[Part]] | |
1303 | item72.BrickColor = BrickColor.new('Maroon') | |
1304 | item72.Material = Enum.Material.Plastic | |
1305 | item72.Reflectance = 0 | |
1306 | item72.Transparency = 0 | |
1307 | item72.Size = Vector3.new(1, 1, 57) | |
1308 | item72.CFrame = CFrame.new(-81.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1309 | item72.RotVelocity = Vector3.new(0, 0, 0) | |
1310 | item72.Velocity = Vector3.new(0, 0, 0) | |
1311 | item72.Anchored = true | |
1312 | item72.CanCollide = true | |
1313 | item72.Locked = true | |
1314 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item72[v..'Surface'] = 'SmoothNoOutlines' end | |
1315 | item72.Parent = workspace.Timer_ball | |
1316 | item73 = Instance.new('Part') | |
1317 | item73.Name = [[Part]] | |
1318 | item73.BrickColor = BrickColor.new('Maroon') | |
1319 | item73.Material = Enum.Material.Plastic | |
1320 | item73.Reflectance = 0 | |
1321 | item73.Transparency = 0 | |
1322 | item73.Size = Vector3.new(1, 1, 57) | |
1323 | item73.CFrame = CFrame.new(-170.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1324 | item73.RotVelocity = Vector3.new(0, 0, 0) | |
1325 | item73.Velocity = Vector3.new(0, 0, 0) | |
1326 | item73.Anchored = true | |
1327 | item73.CanCollide = true | |
1328 | item73.Locked = true | |
1329 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item73[v..'Surface'] = 'SmoothNoOutlines' end | |
1330 | item73.Parent = workspace.Timer_ball | |
1331 | item74 = Instance.new('Part') | |
1332 | item74.Name = [[Part]] | |
1333 | item74.BrickColor = BrickColor.new('Maroon') | |
1334 | item74.Material = Enum.Material.Plastic | |
1335 | item74.Reflectance = 0 | |
1336 | item74.Transparency = 0 | |
1337 | item74.Size = Vector3.new(1, 1, 57) | |
1338 | item74.CFrame = CFrame.new(-65.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1339 | item74.RotVelocity = Vector3.new(0, 0, 0) | |
1340 | item74.Velocity = Vector3.new(0, 0, 0) | |
1341 | item74.Anchored = true | |
1342 | item74.CanCollide = true | |
1343 | item74.Locked = true | |
1344 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item74[v..'Surface'] = 'SmoothNoOutlines' end | |
1345 | item74.Parent = workspace.Timer_ball | |
1346 | item75 = Instance.new('Part') | |
1347 | item75.Name = [[Part]] | |
1348 | item75.BrickColor = BrickColor.new('Maroon') | |
1349 | item75.Material = Enum.Material.Plastic | |
1350 | item75.Reflectance = 0 | |
1351 | item75.Transparency = 0 | |
1352 | item75.Size = Vector3.new(1, 1, 57) | |
1353 | item75.CFrame = CFrame.new(-101.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1354 | item75.RotVelocity = Vector3.new(0, 0, 0) | |
1355 | item75.Velocity = Vector3.new(0, 0, 0) | |
1356 | item75.Anchored = true | |
1357 | item75.CanCollide = true | |
1358 | item75.Locked = true | |
1359 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item75[v..'Surface'] = 'SmoothNoOutlines' end | |
1360 | item75.Parent = workspace.Timer_ball | |
1361 | item76 = Instance.new('Part') | |
1362 | item76.Name = [[Part]] | |
1363 | item76.BrickColor = BrickColor.new('Maroon') | |
1364 | item76.Material = Enum.Material.Plastic | |
1365 | item76.Reflectance = 0 | |
1366 | item76.Transparency = 0 | |
1367 | item76.Size = Vector3.new(1, 1, 57) | |
1368 | item76.CFrame = CFrame.new(-72.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1369 | item76.RotVelocity = Vector3.new(0, 0, 0) | |
1370 | item76.Velocity = Vector3.new(0, 0, 0) | |
1371 | item76.Anchored = true | |
1372 | item76.CanCollide = true | |
1373 | item76.Locked = true | |
1374 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item76[v..'Surface'] = 'SmoothNoOutlines' end | |
1375 | item76.Parent = workspace.Timer_ball | |
1376 | item77 = Instance.new('Part') | |
1377 | item77.Name = [[Part]] | |
1378 | item77.BrickColor = BrickColor.new('Deep orange') | |
1379 | item77.Material = Enum.Material.Plastic | |
1380 | item77.Reflectance = 0 | |
1381 | item77.Transparency = 0 | |
1382 | item77.Size = Vector3.new(29, 1, 57) | |
1383 | item77.CFrame = CFrame.new(-208.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1384 | item77.RotVelocity = Vector3.new(0, 0, 0) | |
1385 | item77.Velocity = Vector3.new(0, 0, 0) | |
1386 | item77.Anchored = true | |
1387 | item77.CanCollide = true | |
1388 | item77.Locked = true | |
1389 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item77[v..'Surface'] = 'SmoothNoOutlines' end | |
1390 | item77.Parent = workspace.Timer_ball | |
1391 | item78 = Instance.new('Part') | |
1392 | item78.Name = [[Part]] | |
1393 | item78.BrickColor = BrickColor.new('Maroon') | |
1394 | item78.Material = Enum.Material.Plastic | |
1395 | item78.Reflectance = 0 | |
1396 | item78.Transparency = 0 | |
1397 | item78.Size = Vector3.new(1, 1, 57) | |
1398 | item78.CFrame = CFrame.new(-128.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1399 | item78.RotVelocity = Vector3.new(0, 0, 0) | |
1400 | item78.Velocity = Vector3.new(0, 0, 0) | |
1401 | item78.Anchored = true | |
1402 | item78.CanCollide = true | |
1403 | item78.Locked = true | |
1404 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item78[v..'Surface'] = 'SmoothNoOutlines' end | |
1405 | item78.Parent = workspace.Timer_ball | |
1406 | item79 = Instance.new('Part') | |
1407 | item79.Name = [[Part]] | |
1408 | item79.BrickColor = BrickColor.new('Maroon') | |
1409 | item79.Material = Enum.Material.Plastic | |
1410 | item79.Reflectance = 0 | |
1411 | item79.Transparency = 0 | |
1412 | item79.Size = Vector3.new(1, 1, 57) | |
1413 | item79.CFrame = CFrame.new(-143.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1414 | item79.RotVelocity = Vector3.new(0, 0, 0) | |
1415 | item79.Velocity = Vector3.new(0, 0, 0) | |
1416 | item79.Anchored = true | |
1417 | item79.CanCollide = true | |
1418 | item79.Locked = true | |
1419 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item79[v..'Surface'] = 'SmoothNoOutlines' end | |
1420 | item79.Parent = workspace.Timer_ball | |
1421 | item80 = Instance.new('Part') | |
1422 | item80.Name = [[Part]] | |
1423 | item80.BrickColor = BrickColor.new('Maroon') | |
1424 | item80.Material = Enum.Material.Plastic | |
1425 | item80.Reflectance = 0 | |
1426 | item80.Transparency = 0 | |
1427 | item80.Size = Vector3.new(1, 1, 57) | |
1428 | item80.CFrame = CFrame.new(-110.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1429 | item80.RotVelocity = Vector3.new(0, 0, 0) | |
1430 | item80.Velocity = Vector3.new(0, 0, 0) | |
1431 | item80.Anchored = true | |
1432 | item80.CanCollide = true | |
1433 | item80.Locked = true | |
1434 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item80[v..'Surface'] = 'SmoothNoOutlines' end | |
1435 | item80.Parent = workspace.Timer_ball | |
1436 | item81 = Instance.new('Part') | |
1437 | item81.Name = [[Part]] | |
1438 | item81.BrickColor = BrickColor.new('Maroon') | |
1439 | item81.Material = Enum.Material.Plastic | |
1440 | item81.Reflectance = 0 | |
1441 | item81.Transparency = 0 | |
1442 | item81.Size = Vector3.new(1, 1, 57) | |
1443 | item81.CFrame = CFrame.new(-186.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1444 | item81.RotVelocity = Vector3.new(0, 0, 0) | |
1445 | item81.Velocity = Vector3.new(0, 0, 0) | |
1446 | item81.Anchored = true | |
1447 | item81.CanCollide = true | |
1448 | item81.Locked = true | |
1449 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item81[v..'Surface'] = 'SmoothNoOutlines' end | |
1450 | item81.Parent = workspace.Timer_ball | |
1451 | item82 = Instance.new('Part') | |
1452 | item82.Name = [[Part]] | |
1453 | item82.BrickColor = BrickColor.new('Maroon') | |
1454 | item82.Material = Enum.Material.Plastic | |
1455 | item82.Reflectance = 0 | |
1456 | item82.Transparency = 0 | |
1457 | item82.Size = Vector3.new(1, 1, 57) | |
1458 | item82.CFrame = CFrame.new(-58.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1459 | item82.RotVelocity = Vector3.new(0, 0, 0) | |
1460 | item82.Velocity = Vector3.new(0, 0, 0) | |
1461 | item82.Anchored = true | |
1462 | item82.CanCollide = true | |
1463 | item82.Locked = true | |
1464 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item82[v..'Surface'] = 'SmoothNoOutlines' end | |
1465 | item82.Parent = workspace.Timer_ball | |
1466 | item83 = Instance.new('Part') | |
1467 | item83.Name = [[Part]] | |
1468 | item83.BrickColor = BrickColor.new('Maroon') | |
1469 | item83.Material = Enum.Material.Plastic | |
1470 | item83.Reflectance = 0 | |
1471 | item83.Transparency = 0 | |
1472 | item83.Size = Vector3.new(1, 1, 57) | |
1473 | item83.CFrame = CFrame.new(-149.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1474 | item83.RotVelocity = Vector3.new(0, 0, 0) | |
1475 | item83.Velocity = Vector3.new(0, 0, 0) | |
1476 | item83.Anchored = true | |
1477 | item83.CanCollide = true | |
1478 | item83.Locked = true | |
1479 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item83[v..'Surface'] = 'SmoothNoOutlines' end | |
1480 | item83.Parent = workspace.Timer_ball | |
1481 | item84 = Instance.new('Part') | |
1482 | item84.Name = [[Part]] | |
1483 | item84.BrickColor = BrickColor.new('Maroon') | |
1484 | item84.Material = Enum.Material.Plastic | |
1485 | item84.Reflectance = 0 | |
1486 | item84.Transparency = 0 | |
1487 | item84.Size = Vector3.new(1, 1, 57) | |
1488 | item84.CFrame = CFrame.new(-91.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1489 | item84.RotVelocity = Vector3.new(0, 0, 0) | |
1490 | item84.Velocity = Vector3.new(0, 0, 0) | |
1491 | item84.Anchored = true | |
1492 | item84.CanCollide = true | |
1493 | item84.Locked = true | |
1494 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item84[v..'Surface'] = 'SmoothNoOutlines' end | |
1495 | item84.Parent = workspace.Timer_ball | |
1496 | item85 = Instance.new('Part') | |
1497 | item85.Name = [[Part]] | |
1498 | item85.BrickColor = BrickColor.new('Maroon') | |
1499 | item85.Material = Enum.Material.Plastic | |
1500 | item85.Reflectance = 0 | |
1501 | item85.Transparency = 0 | |
1502 | item85.Size = Vector3.new(1, 1, 57) | |
1503 | item85.CFrame = CFrame.new(-121.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1504 | item85.RotVelocity = Vector3.new(0, 0, 0) | |
1505 | item85.Velocity = Vector3.new(0, 0, 0) | |
1506 | item85.Anchored = true | |
1507 | item85.CanCollide = true | |
1508 | item85.Locked = true | |
1509 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item85[v..'Surface'] = 'SmoothNoOutlines' end | |
1510 | item85.Parent = workspace.Timer_ball | |
1511 | item86 = Instance.new('Part') | |
1512 | item86.Name = [[Part]] | |
1513 | item86.BrickColor = BrickColor.new('Maroon') | |
1514 | item86.Material = Enum.Material.Plastic | |
1515 | item86.Reflectance = 0 | |
1516 | item86.Transparency = 0 | |
1517 | item86.Size = Vector3.new(1, 1, 57) | |
1518 | item86.CFrame = CFrame.new(-156.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1519 | item86.RotVelocity = Vector3.new(0, 0, 0) | |
1520 | item86.Velocity = Vector3.new(0, 0, 0) | |
1521 | item86.Anchored = true | |
1522 | item86.CanCollide = true | |
1523 | item86.Locked = true | |
1524 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item86[v..'Surface'] = 'SmoothNoOutlines' end | |
1525 | item86.Parent = workspace.Timer_ball | |
1526 | item87 = Instance.new('Part') | |
1527 | item87.Name = [[Part]] | |
1528 | item87.BrickColor = BrickColor.new('Maroon') | |
1529 | item87.Material = Enum.Material.Plastic | |
1530 | item87.Reflectance = 0 | |
1531 | item87.Transparency = 0 | |
1532 | item87.Size = Vector3.new(1, 1, 57) | |
1533 | item87.CFrame = CFrame.new(-178.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1534 | item87.RotVelocity = Vector3.new(0, 0, 0) | |
1535 | item87.Velocity = Vector3.new(0, 0, 0) | |
1536 | item87.Anchored = true | |
1537 | item87.CanCollide = true | |
1538 | item87.Locked = true | |
1539 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item87[v..'Surface'] = 'SmoothNoOutlines' end | |
1540 | item87.Parent = workspace.Timer_ball | |
1541 | item88 = Instance.new('Part') | |
1542 | item88.Name = [[Part]] | |
1543 | item88.BrickColor = BrickColor.new('Maroon') | |
1544 | item88.Material = Enum.Material.Plastic | |
1545 | item88.Reflectance = 0 | |
1546 | item88.Transparency = 0 | |
1547 | item88.Size = Vector3.new(1, 1, 57) | |
1548 | item88.CFrame = CFrame.new(-135.5, 991, 357.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1549 | item88.RotVelocity = Vector3.new(0, 0, 0) | |
1550 | item88.Velocity = Vector3.new(0, 0, 0) | |
1551 | item88.Anchored = true | |
1552 | item88.CanCollide = true | |
1553 | item88.Locked = true | |
1554 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item88[v..'Surface'] = 'SmoothNoOutlines' end | |
1555 | item88.Parent = workspace.Timer_ball | |
1556 | item89 = Instance.new('Part') | |
1557 | item89.Name = [[Spawn]] | |
1558 | item89.BrickColor = BrickColor.new('Black') | |
1559 | item89.Material = Enum.Material.Slate | |
1560 | item89.Reflectance = 0 | |
1561 | item89.Transparency = 0.5 | |
1562 | item89.Size = Vector3.new(1, 1, 1) | |
1563 | item89.CFrame = CFrame.new(-50, 1008, 359.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1564 | item89.RotVelocity = Vector3.new(0, 0, 0) | |
1565 | item89.Velocity = Vector3.new(0, 0, 0) | |
1566 | item89.Anchored = true | |
1567 | item89.CanCollide = false | |
1568 | item89.Locked = true | |
1569 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item89[v..'Surface'] = 'SmoothNoOutlines' end | |
1570 | item89.Parent = workspace.Timer_ball | |
1571 | item90 = Instance.new('Model') | |
1572 | item90.Name = [[Ultra_ball]] | |
1573 | item90.Parent = workspace | |
1574 | item91 = Instance.new('Part') | |
1575 | item91.Name = [[Part]] | |
1576 | item91.BrickColor = BrickColor.new('Black') | |
1577 | item91.Material = Enum.Material.Plastic | |
1578 | item91.Reflectance = 0 | |
1579 | item91.Transparency = 0 | |
1580 | item91.Size = Vector3.new(187, 47, 1) | |
1581 | item91.CFrame = CFrame.new(-130.5, 1014, 157.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1582 | item91.RotVelocity = Vector3.new(0, 0, 0) | |
1583 | item91.Velocity = Vector3.new(0, 0, 0) | |
1584 | item91.Anchored = true | |
1585 | item91.CanCollide = true | |
1586 | item91.Locked = true | |
1587 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item91[v..'Surface'] = 'SmoothNoOutlines' end | |
1588 | item91.Parent = workspace.Ultra_ball | |
1589 | item92 = Instance.new('Part') | |
1590 | item92.Name = [[Part]] | |
1591 | item92.BrickColor = BrickColor.new('Black') | |
1592 | item92.Material = Enum.Material.Plastic | |
1593 | item92.Reflectance = 0 | |
1594 | item92.Transparency = 0 | |
1595 | item92.Size = Vector3.new(187, 1, 57) | |
1596 | item92.CFrame = CFrame.new(-130.5, 1038, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1597 | item92.RotVelocity = Vector3.new(0, 0, 0) | |
1598 | item92.Velocity = Vector3.new(0, 0, 0) | |
1599 | item92.Anchored = true | |
1600 | item92.CanCollide = true | |
1601 | item92.Locked = true | |
1602 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item92[v..'Surface'] = 'SmoothNoOutlines' end | |
1603 | item92.Parent = workspace.Ultra_ball | |
1604 | item93 = Instance.new('Part') | |
1605 | item93.Name = [[Part]] | |
1606 | item93.BrickColor = BrickColor.new('Maroon') | |
1607 | item93.Material = Enum.Material.Plastic | |
1608 | item93.Reflectance = 0 | |
1609 | item93.Transparency = 0 | |
1610 | item93.Size = Vector3.new(1, 1, 57) | |
1611 | item93.CFrame = CFrame.new(-186.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1612 | item93.RotVelocity = Vector3.new(0, 0, 0) | |
1613 | item93.Velocity = Vector3.new(0, 0, 0) | |
1614 | item93.Anchored = true | |
1615 | item93.CanCollide = true | |
1616 | item93.Locked = true | |
1617 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item93[v..'Surface'] = 'SmoothNoOutlines' end | |
1618 | item93.Parent = workspace.Ultra_ball | |
1619 | item94 = Instance.new('Part') | |
1620 | item94.Name = [[Part]] | |
1621 | item94.BrickColor = BrickColor.new('Maroon') | |
1622 | item94.Material = Enum.Material.Plastic | |
1623 | item94.Reflectance = 0 | |
1624 | item94.Transparency = 0 | |
1625 | item94.Size = Vector3.new(1, 1, 57) | |
1626 | item94.CFrame = CFrame.new(-81.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1627 | item94.RotVelocity = Vector3.new(0, 0, 0) | |
1628 | item94.Velocity = Vector3.new(0, 0, 0) | |
1629 | item94.Anchored = true | |
1630 | item94.CanCollide = true | |
1631 | item94.Locked = true | |
1632 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item94[v..'Surface'] = 'SmoothNoOutlines' end | |
1633 | item94.Parent = workspace.Ultra_ball | |
1634 | item95 = Instance.new('Part') | |
1635 | item95.Name = [[Part]] | |
1636 | item95.BrickColor = BrickColor.new('Maroon') | |
1637 | item95.Material = Enum.Material.Plastic | |
1638 | item95.Reflectance = 0 | |
1639 | item95.Transparency = 0 | |
1640 | item95.Size = Vector3.new(1, 1, 57) | |
1641 | item95.CFrame = CFrame.new(-58.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1642 | item95.RotVelocity = Vector3.new(0, 0, 0) | |
1643 | item95.Velocity = Vector3.new(0, 0, 0) | |
1644 | item95.Anchored = true | |
1645 | item95.CanCollide = true | |
1646 | item95.Locked = true | |
1647 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item95[v..'Surface'] = 'SmoothNoOutlines' end | |
1648 | item95.Parent = workspace.Ultra_ball | |
1649 | item96 = Instance.new('Part') | |
1650 | item96.Name = [[Part]] | |
1651 | item96.BrickColor = BrickColor.new('Maroon') | |
1652 | item96.Material = Enum.Material.Plastic | |
1653 | item96.Reflectance = 0 | |
1654 | item96.Transparency = 0 | |
1655 | item96.Size = Vector3.new(1, 1, 57) | |
1656 | item96.CFrame = CFrame.new(-65.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1657 | item96.RotVelocity = Vector3.new(0, 0, 0) | |
1658 | item96.Velocity = Vector3.new(0, 0, 0) | |
1659 | item96.Anchored = true | |
1660 | item96.CanCollide = true | |
1661 | item96.Locked = true | |
1662 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item96[v..'Surface'] = 'SmoothNoOutlines' end | |
1663 | item96.Parent = workspace.Ultra_ball | |
1664 | item97 = Instance.new('Part') | |
1665 | item97.Name = [[Part]] | |
1666 | item97.BrickColor = BrickColor.new('Maroon') | |
1667 | item97.Material = Enum.Material.Plastic | |
1668 | item97.Reflectance = 0 | |
1669 | item97.Transparency = 0 | |
1670 | item97.Size = Vector3.new(1, 1, 57) | |
1671 | item97.CFrame = CFrame.new(-170.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1672 | item97.RotVelocity = Vector3.new(0, 0, 0) | |
1673 | item97.Velocity = Vector3.new(0, 0, 0) | |
1674 | item97.Anchored = true | |
1675 | item97.CanCollide = true | |
1676 | item97.Locked = true | |
1677 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item97[v..'Surface'] = 'SmoothNoOutlines' end | |
1678 | item97.Parent = workspace.Ultra_ball | |
1679 | item98 = Instance.new('Part') | |
1680 | item98.Name = [[Part]] | |
1681 | item98.BrickColor = BrickColor.new('Maroon') | |
1682 | item98.Material = Enum.Material.Plastic | |
1683 | item98.Reflectance = 0 | |
1684 | item98.Transparency = 0 | |
1685 | item98.Size = Vector3.new(1, 1, 57) | |
1686 | item98.CFrame = CFrame.new(-116.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1687 | item98.RotVelocity = Vector3.new(0, 0, 0) | |
1688 | item98.Velocity = Vector3.new(0, 0, 0) | |
1689 | item98.Anchored = true | |
1690 | item98.CanCollide = true | |
1691 | item98.Locked = true | |
1692 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item98[v..'Surface'] = 'SmoothNoOutlines' end | |
1693 | item98.Parent = workspace.Ultra_ball | |
1694 | item99 = Instance.new('Part') | |
1695 | item99.Name = [[Part]] | |
1696 | item99.BrickColor = BrickColor.new('Maroon') | |
1697 | item99.Material = Enum.Material.Plastic | |
1698 | item99.Reflectance = 0 | |
1699 | item99.Transparency = 0 | |
1700 | item99.Size = Vector3.new(1, 1, 57) | |
1701 | item99.CFrame = CFrame.new(-91.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1702 | item99.RotVelocity = Vector3.new(0, 0, 0) | |
1703 | item99.Velocity = Vector3.new(0, 0, 0) | |
1704 | item99.Anchored = true | |
1705 | item99.CanCollide = true | |
1706 | item99.Locked = true | |
1707 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item99[v..'Surface'] = 'SmoothNoOutlines' end | |
1708 | item99.Parent = workspace.Ultra_ball | |
1709 | item100 = Instance.new('Part') | |
1710 | item100.Name = [[Part]] | |
1711 | item100.BrickColor = BrickColor.new('Deep orange') | |
1712 | item100.Material = Enum.Material.Plastic | |
1713 | item100.Reflectance = 0 | |
1714 | item100.Transparency = 0 | |
1715 | item100.Size = Vector3.new(29, 1, 57) | |
1716 | item100.CFrame = CFrame.new(-208.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1717 | item100.RotVelocity = Vector3.new(0, 0, 0) | |
1718 | item100.Velocity = Vector3.new(0, 0, 0) | |
1719 | item100.Anchored = true | |
1720 | item100.CanCollide = true | |
1721 | item100.Locked = true | |
1722 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item100[v..'Surface'] = 'SmoothNoOutlines' end | |
1723 | item100.Parent = workspace.Ultra_ball | |
1724 | item101 = Instance.new('Part') | |
1725 | item101.Name = [[Part]] | |
1726 | item101.BrickColor = BrickColor.new('Maroon') | |
1727 | item101.Material = Enum.Material.Plastic | |
1728 | item101.Reflectance = 0 | |
1729 | item101.Transparency = 0 | |
1730 | item101.Size = Vector3.new(1, 1, 57) | |
1731 | item101.CFrame = CFrame.new(-143.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1732 | item101.RotVelocity = Vector3.new(0, 0, 0) | |
1733 | item101.Velocity = Vector3.new(0, 0, 0) | |
1734 | item101.Anchored = true | |
1735 | item101.CanCollide = true | |
1736 | item101.Locked = true | |
1737 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item101[v..'Surface'] = 'SmoothNoOutlines' end | |
1738 | item101.Parent = workspace.Ultra_ball | |
1739 | item102 = Instance.new('Part') | |
1740 | item102.Name = [[Part]] | |
1741 | item102.BrickColor = BrickColor.new('Maroon') | |
1742 | item102.Material = Enum.Material.Plastic | |
1743 | item102.Reflectance = 0 | |
1744 | item102.Transparency = 0 | |
1745 | item102.Size = Vector3.new(1, 1, 57) | |
1746 | item102.CFrame = CFrame.new(-110.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1747 | item102.RotVelocity = Vector3.new(0, 0, 0) | |
1748 | item102.Velocity = Vector3.new(0, 0, 0) | |
1749 | item102.Anchored = true | |
1750 | item102.CanCollide = true | |
1751 | item102.Locked = true | |
1752 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item102[v..'Surface'] = 'SmoothNoOutlines' end | |
1753 | item102.Parent = workspace.Ultra_ball | |
1754 | item103 = Instance.new('Part') | |
1755 | item103.Name = [[Part]] | |
1756 | item103.BrickColor = BrickColor.new('Black') | |
1757 | item103.Material = Enum.Material.Plastic | |
1758 | item103.Reflectance = 0 | |
1759 | item103.Transparency = 0 | |
1760 | item103.Size = Vector3.new(187, 47, 1) | |
1761 | item103.CFrame = CFrame.new(-130.5, 1014, 101.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1762 | item103.RotVelocity = Vector3.new(0, 0, 0) | |
1763 | item103.Velocity = Vector3.new(0, 0, 0) | |
1764 | item103.Anchored = true | |
1765 | item103.CanCollide = true | |
1766 | item103.Locked = true | |
1767 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item103[v..'Surface'] = 'SmoothNoOutlines' end | |
1768 | item103.Parent = workspace.Ultra_ball | |
1769 | item104 = Instance.new('Part') | |
1770 | item104.Name = [[Part]] | |
1771 | item104.BrickColor = BrickColor.new('Maroon') | |
1772 | item104.Material = Enum.Material.Plastic | |
1773 | item104.Reflectance = 0 | |
1774 | item104.Transparency = 0 | |
1775 | item104.Size = Vector3.new(1, 1, 57) | |
1776 | item104.CFrame = CFrame.new(-135.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1777 | item104.RotVelocity = Vector3.new(0, 0, 0) | |
1778 | item104.Velocity = Vector3.new(0, 0, 0) | |
1779 | item104.Anchored = true | |
1780 | item104.CanCollide = true | |
1781 | item104.Locked = true | |
1782 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item104[v..'Surface'] = 'SmoothNoOutlines' end | |
1783 | item104.Parent = workspace.Ultra_ball | |
1784 | item105 = Instance.new('Part') | |
1785 | item105.Name = [[Part]] | |
1786 | item105.BrickColor = BrickColor.new('Maroon') | |
1787 | item105.Material = Enum.Material.Plastic | |
1788 | item105.Reflectance = 0 | |
1789 | item105.Transparency = 0 | |
1790 | item105.Size = Vector3.new(1, 1, 57) | |
1791 | item105.CFrame = CFrame.new(-164.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1792 | item105.RotVelocity = Vector3.new(0, 0, 0) | |
1793 | item105.Velocity = Vector3.new(0, 0, 0) | |
1794 | item105.Anchored = true | |
1795 | item105.CanCollide = true | |
1796 | item105.Locked = true | |
1797 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item105[v..'Surface'] = 'SmoothNoOutlines' end | |
1798 | item105.Parent = workspace.Ultra_ball | |
1799 | item106 = Instance.new('Part') | |
1800 | item106.Name = [[Part]] | |
1801 | item106.BrickColor = BrickColor.new('Black') | |
1802 | item106.Material = Enum.Material.Plastic | |
1803 | item106.Reflectance = 0 | |
1804 | item106.Transparency = 0 | |
1805 | item106.Size = Vector3.new(55, 47, 1) | |
1806 | item106.CFrame = CFrame.new(-223.5, 1014, 129.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
1807 | item106.RotVelocity = Vector3.new(0, 0, 0) | |
1808 | item106.Velocity = Vector3.new(0, 0, 0) | |
1809 | item106.Anchored = true | |
1810 | item106.CanCollide = true | |
1811 | item106.Locked = true | |
1812 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item106[v..'Surface'] = 'SmoothNoOutlines' end | |
1813 | item106.Parent = workspace.Ultra_ball | |
1814 | item107 = Instance.new('Part') | |
1815 | item107.Name = [[Part]] | |
1816 | item107.BrickColor = BrickColor.new('Black') | |
1817 | item107.Material = Enum.Material.Plastic | |
1818 | item107.Reflectance = 0 | |
1819 | item107.Transparency = 0 | |
1820 | item107.Size = Vector3.new(55, 47, 1) | |
1821 | item107.CFrame = CFrame.new(-37.5, 1014, 129.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
1822 | item107.RotVelocity = Vector3.new(0, 0, 0) | |
1823 | item107.Velocity = Vector3.new(0, 0, 0) | |
1824 | item107.Anchored = true | |
1825 | item107.CanCollide = true | |
1826 | item107.Locked = true | |
1827 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item107[v..'Surface'] = 'SmoothNoOutlines' end | |
1828 | item107.Parent = workspace.Ultra_ball | |
1829 | item108 = Instance.new('Part') | |
1830 | item108.Name = [[Part]] | |
1831 | item108.BrickColor = BrickColor.new('Maroon') | |
1832 | item108.Material = Enum.Material.Plastic | |
1833 | item108.Reflectance = 0 | |
1834 | item108.Transparency = 0 | |
1835 | item108.Size = Vector3.new(1, 1, 57) | |
1836 | item108.CFrame = CFrame.new(-121.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1837 | item108.RotVelocity = Vector3.new(0, 0, 0) | |
1838 | item108.Velocity = Vector3.new(0, 0, 0) | |
1839 | item108.Anchored = true | |
1840 | item108.CanCollide = true | |
1841 | item108.Locked = true | |
1842 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item108[v..'Surface'] = 'SmoothNoOutlines' end | |
1843 | item108.Parent = workspace.Ultra_ball | |
1844 | item109 = Instance.new('Part') | |
1845 | item109.Name = [[Part]] | |
1846 | item109.BrickColor = BrickColor.new('Black') | |
1847 | item109.Material = Enum.Material.Plastic | |
1848 | item109.Reflectance = 0 | |
1849 | item109.Transparency = 0 | |
1850 | item109.Size = Vector3.new(187, 1, 57) | |
1851 | item109.CFrame = CFrame.new(-130.5, 990, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1852 | item109.RotVelocity = Vector3.new(0, 0, 0) | |
1853 | item109.Velocity = Vector3.new(0, 0, 0) | |
1854 | item109.Anchored = true | |
1855 | item109.CanCollide = true | |
1856 | item109.Locked = true | |
1857 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item109[v..'Surface'] = 'SmoothNoOutlines' end | |
1858 | item109.Parent = workspace.Ultra_ball | |
1859 | item110 = Instance.new('Part') | |
1860 | item110.Name = [[Part]] | |
1861 | item110.BrickColor = BrickColor.new('Maroon') | |
1862 | item110.Material = Enum.Material.Plastic | |
1863 | item110.Reflectance = 0 | |
1864 | item110.Transparency = 0 | |
1865 | item110.Size = Vector3.new(1, 1, 57) | |
1866 | item110.CFrame = CFrame.new(-156.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1867 | item110.RotVelocity = Vector3.new(0, 0, 0) | |
1868 | item110.Velocity = Vector3.new(0, 0, 0) | |
1869 | item110.Anchored = true | |
1870 | item110.CanCollide = true | |
1871 | item110.Locked = true | |
1872 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item110[v..'Surface'] = 'SmoothNoOutlines' end | |
1873 | item110.Parent = workspace.Ultra_ball | |
1874 | item111 = Instance.new('Part') | |
1875 | item111.Name = [[Part]] | |
1876 | item111.BrickColor = BrickColor.new('Maroon') | |
1877 | item111.Material = Enum.Material.Plastic | |
1878 | item111.Reflectance = 0 | |
1879 | item111.Transparency = 0 | |
1880 | item111.Size = Vector3.new(1, 1, 57) | |
1881 | item111.CFrame = CFrame.new(-178.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1882 | item111.RotVelocity = Vector3.new(0, 0, 0) | |
1883 | item111.Velocity = Vector3.new(0, 0, 0) | |
1884 | item111.Anchored = true | |
1885 | item111.CanCollide = true | |
1886 | item111.Locked = true | |
1887 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item111[v..'Surface'] = 'SmoothNoOutlines' end | |
1888 | item111.Parent = workspace.Ultra_ball | |
1889 | item112 = Instance.new('Part') | |
1890 | item112.Name = [[Part]] | |
1891 | item112.BrickColor = BrickColor.new('Maroon') | |
1892 | item112.Material = Enum.Material.Plastic | |
1893 | item112.Reflectance = 0 | |
1894 | item112.Transparency = 0 | |
1895 | item112.Size = Vector3.new(1, 1, 57) | |
1896 | item112.CFrame = CFrame.new(-101.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1897 | item112.RotVelocity = Vector3.new(0, 0, 0) | |
1898 | item112.Velocity = Vector3.new(0, 0, 0) | |
1899 | item112.Anchored = true | |
1900 | item112.CanCollide = true | |
1901 | item112.Locked = true | |
1902 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item112[v..'Surface'] = 'SmoothNoOutlines' end | |
1903 | item112.Parent = workspace.Ultra_ball | |
1904 | item113 = Instance.new('Part') | |
1905 | item113.Name = [[Part]] | |
1906 | item113.BrickColor = BrickColor.new('Maroon') | |
1907 | item113.Material = Enum.Material.Plastic | |
1908 | item113.Reflectance = 0 | |
1909 | item113.Transparency = 0 | |
1910 | item113.Size = Vector3.new(1, 1, 57) | |
1911 | item113.CFrame = CFrame.new(-149.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1912 | item113.RotVelocity = Vector3.new(0, 0, 0) | |
1913 | item113.Velocity = Vector3.new(0, 0, 0) | |
1914 | item113.Anchored = true | |
1915 | item113.CanCollide = true | |
1916 | item113.Locked = true | |
1917 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item113[v..'Surface'] = 'SmoothNoOutlines' end | |
1918 | item113.Parent = workspace.Ultra_ball | |
1919 | item114 = Instance.new('Part') | |
1920 | item114.Name = [[Part]] | |
1921 | item114.BrickColor = BrickColor.new('Maroon') | |
1922 | item114.Material = Enum.Material.Plastic | |
1923 | item114.Reflectance = 0 | |
1924 | item114.Transparency = 0 | |
1925 | item114.Size = Vector3.new(1, 1, 57) | |
1926 | item114.CFrame = CFrame.new(-128.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1927 | item114.RotVelocity = Vector3.new(0, 0, 0) | |
1928 | item114.Velocity = Vector3.new(0, 0, 0) | |
1929 | item114.Anchored = true | |
1930 | item114.CanCollide = true | |
1931 | item114.Locked = true | |
1932 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item114[v..'Surface'] = 'SmoothNoOutlines' end | |
1933 | item114.Parent = workspace.Ultra_ball | |
1934 | item115 = Instance.new('Part') | |
1935 | item115.Name = [[Part]] | |
1936 | item115.BrickColor = BrickColor.new('Maroon') | |
1937 | item115.Material = Enum.Material.Plastic | |
1938 | item115.Reflectance = 0 | |
1939 | item115.Transparency = 0 | |
1940 | item115.Size = Vector3.new(1, 1, 57) | |
1941 | item115.CFrame = CFrame.new(-72.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1942 | item115.RotVelocity = Vector3.new(0, 0, 0) | |
1943 | item115.Velocity = Vector3.new(0, 0, 0) | |
1944 | item115.Anchored = true | |
1945 | item115.CanCollide = true | |
1946 | item115.Locked = true | |
1947 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item115[v..'Surface'] = 'SmoothNoOutlines' end | |
1948 | item115.Parent = workspace.Ultra_ball | |
1949 | item116 = Instance.new('Part') | |
1950 | item116.Name = [[Part]] | |
1951 | item116.BrickColor = BrickColor.new('Maroon') | |
1952 | item116.Material = Enum.Material.Plastic | |
1953 | item116.Reflectance = 0 | |
1954 | item116.Transparency = 0 | |
1955 | item116.Size = Vector3.new(1, 1, 57) | |
1956 | item116.CFrame = CFrame.new(-112.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1957 | item116.RotVelocity = Vector3.new(0, 0, 0) | |
1958 | item116.Velocity = Vector3.new(0, 0, 0) | |
1959 | item116.Anchored = true | |
1960 | item116.CanCollide = true | |
1961 | item116.Locked = true | |
1962 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item116[v..'Surface'] = 'SmoothNoOutlines' end | |
1963 | item116.Parent = workspace.Ultra_ball | |
1964 | item117 = Instance.new('Part') | |
1965 | item117.Name = [[Part]] | |
1966 | item117.BrickColor = BrickColor.new('Maroon') | |
1967 | item117.Material = Enum.Material.Plastic | |
1968 | item117.Reflectance = 0 | |
1969 | item117.Transparency = 0 | |
1970 | item117.Size = Vector3.new(1, 1, 57) | |
1971 | item117.CFrame = CFrame.new(-145.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1972 | item117.RotVelocity = Vector3.new(0, 0, 0) | |
1973 | item117.Velocity = Vector3.new(0, 0, 0) | |
1974 | item117.Anchored = true | |
1975 | item117.CanCollide = true | |
1976 | item117.Locked = true | |
1977 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item117[v..'Surface'] = 'SmoothNoOutlines' end | |
1978 | item117.Parent = workspace.Ultra_ball | |
1979 | item118 = Instance.new('Part') | |
1980 | item118.Name = [[Part]] | |
1981 | item118.BrickColor = BrickColor.new('Maroon') | |
1982 | item118.Material = Enum.Material.Plastic | |
1983 | item118.Reflectance = 0 | |
1984 | item118.Transparency = 0 | |
1985 | item118.Size = Vector3.new(1, 1, 57) | |
1986 | item118.CFrame = CFrame.new(-182.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1987 | item118.RotVelocity = Vector3.new(0, 0, 0) | |
1988 | item118.Velocity = Vector3.new(0, 0, 0) | |
1989 | item118.Anchored = true | |
1990 | item118.CanCollide = true | |
1991 | item118.Locked = true | |
1992 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item118[v..'Surface'] = 'SmoothNoOutlines' end | |
1993 | item118.Parent = workspace.Ultra_ball | |
1994 | item119 = Instance.new('Part') | |
1995 | item119.Name = [[Part]] | |
1996 | item119.BrickColor = BrickColor.new('Maroon') | |
1997 | item119.Material = Enum.Material.Plastic | |
1998 | item119.Reflectance = 0 | |
1999 | item119.Transparency = 0 | |
2000 | item119.Size = Vector3.new(1, 1, 57) | |
2001 | item119.CFrame = CFrame.new(-160.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2002 | item119.RotVelocity = Vector3.new(0, 0, 0) | |
2003 | item119.Velocity = Vector3.new(0, 0, 0) | |
2004 | item119.Anchored = true | |
2005 | item119.CanCollide = true | |
2006 | item119.Locked = true | |
2007 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item119[v..'Surface'] = 'SmoothNoOutlines' end | |
2008 | item119.Parent = workspace.Ultra_ball | |
2009 | item120 = Instance.new('Part') | |
2010 | item120.Name = [[Part]] | |
2011 | item120.BrickColor = BrickColor.new('Maroon') | |
2012 | item120.Material = Enum.Material.Plastic | |
2013 | item120.Reflectance = 0 | |
2014 | item120.Transparency = 0 | |
2015 | item120.Size = Vector3.new(1, 1, 57) | |
2016 | item120.CFrame = CFrame.new(-61.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2017 | item120.RotVelocity = Vector3.new(0, 0, 0) | |
2018 | item120.Velocity = Vector3.new(0, 0, 0) | |
2019 | item120.Anchored = true | |
2020 | item120.CanCollide = true | |
2021 | item120.Locked = true | |
2022 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item120[v..'Surface'] = 'SmoothNoOutlines' end | |
2023 | item120.Parent = workspace.Ultra_ball | |
2024 | item121 = Instance.new('Part') | |
2025 | item121.Name = [[Part]] | |
2026 | item121.BrickColor = BrickColor.new('Maroon') | |
2027 | item121.Material = Enum.Material.Plastic | |
2028 | item121.Reflectance = 0 | |
2029 | item121.Transparency = 0 | |
2030 | item121.Size = Vector3.new(1, 1, 57) | |
2031 | item121.CFrame = CFrame.new(-97.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2032 | item121.RotVelocity = Vector3.new(0, 0, 0) | |
2033 | item121.Velocity = Vector3.new(0, 0, 0) | |
2034 | item121.Anchored = true | |
2035 | item121.CanCollide = true | |
2036 | item121.Locked = true | |
2037 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item121[v..'Surface'] = 'SmoothNoOutlines' end | |
2038 | item121.Parent = workspace.Ultra_ball | |
2039 | item122 = Instance.new('Part') | |
2040 | item122.Name = [[Part]] | |
2041 | item122.BrickColor = BrickColor.new('Maroon') | |
2042 | item122.Material = Enum.Material.Plastic | |
2043 | item122.Reflectance = 0 | |
2044 | item122.Transparency = 0 | |
2045 | item122.Size = Vector3.new(1, 1, 57) | |
2046 | item122.CFrame = CFrame.new(-87.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2047 | item122.RotVelocity = Vector3.new(0, 0, 0) | |
2048 | item122.Velocity = Vector3.new(0, 0, 0) | |
2049 | item122.Anchored = true | |
2050 | item122.CanCollide = true | |
2051 | item122.Locked = true | |
2052 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item122[v..'Surface'] = 'SmoothNoOutlines' end | |
2053 | item122.Parent = workspace.Ultra_ball | |
2054 | item123 = Instance.new('Part') | |
2055 | item123.Name = [[Part]] | |
2056 | item123.BrickColor = BrickColor.new('Maroon') | |
2057 | item123.Material = Enum.Material.Plastic | |
2058 | item123.Reflectance = 0 | |
2059 | item123.Transparency = 0 | |
2060 | item123.Size = Vector3.new(1, 1, 57) | |
2061 | item123.CFrame = CFrame.new(-131.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2062 | item123.RotVelocity = Vector3.new(0, 0, 0) | |
2063 | item123.Velocity = Vector3.new(0, 0, 0) | |
2064 | item123.Anchored = true | |
2065 | item123.CanCollide = true | |
2066 | item123.Locked = true | |
2067 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item123[v..'Surface'] = 'SmoothNoOutlines' end | |
2068 | item123.Parent = workspace.Ultra_ball | |
2069 | item124 = Instance.new('Part') | |
2070 | item124.Name = [[Part]] | |
2071 | item124.BrickColor = BrickColor.new('Maroon') | |
2072 | item124.Material = Enum.Material.Plastic | |
2073 | item124.Reflectance = 0 | |
2074 | item124.Transparency = 0 | |
2075 | item124.Size = Vector3.new(1, 1, 57) | |
2076 | item124.CFrame = CFrame.new(-152.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2077 | item124.RotVelocity = Vector3.new(0, 0, 0) | |
2078 | item124.Velocity = Vector3.new(0, 0, 0) | |
2079 | item124.Anchored = true | |
2080 | item124.CanCollide = true | |
2081 | item124.Locked = true | |
2082 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item124[v..'Surface'] = 'SmoothNoOutlines' end | |
2083 | item124.Parent = workspace.Ultra_ball | |
2084 | item125 = Instance.new('Part') | |
2085 | item125.Name = [[Part]] | |
2086 | item125.BrickColor = BrickColor.new('Maroon') | |
2087 | item125.Material = Enum.Material.Plastic | |
2088 | item125.Reflectance = 0 | |
2089 | item125.Transparency = 0 | |
2090 | item125.Size = Vector3.new(1, 1, 57) | |
2091 | item125.CFrame = CFrame.new(-139.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2092 | item125.RotVelocity = Vector3.new(0, 0, 0) | |
2093 | item125.Velocity = Vector3.new(0, 0, 0) | |
2094 | item125.Anchored = true | |
2095 | item125.CanCollide = true | |
2096 | item125.Locked = true | |
2097 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item125[v..'Surface'] = 'SmoothNoOutlines' end | |
2098 | item125.Parent = workspace.Ultra_ball | |
2099 | item126 = Instance.new('Part') | |
2100 | item126.Name = [[Part]] | |
2101 | item126.BrickColor = BrickColor.new('Maroon') | |
2102 | item126.Material = Enum.Material.Plastic | |
2103 | item126.Reflectance = 0 | |
2104 | item126.Transparency = 0 | |
2105 | item126.Size = Vector3.new(1, 1, 57) | |
2106 | item126.CFrame = CFrame.new(-117.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2107 | item126.RotVelocity = Vector3.new(0, 0, 0) | |
2108 | item126.Velocity = Vector3.new(0, 0, 0) | |
2109 | item126.Anchored = true | |
2110 | item126.CanCollide = true | |
2111 | item126.Locked = true | |
2112 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item126[v..'Surface'] = 'SmoothNoOutlines' end | |
2113 | item126.Parent = workspace.Ultra_ball | |
2114 | item127 = Instance.new('Part') | |
2115 | item127.Name = [[Part]] | |
2116 | item127.BrickColor = BrickColor.new('Maroon') | |
2117 | item127.Material = Enum.Material.Plastic | |
2118 | item127.Reflectance = 0 | |
2119 | item127.Transparency = 0 | |
2120 | item127.Size = Vector3.new(1, 1, 57) | |
2121 | item127.CFrame = CFrame.new(-54.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2122 | item127.RotVelocity = Vector3.new(0, 0, 0) | |
2123 | item127.Velocity = Vector3.new(0, 0, 0) | |
2124 | item127.Anchored = true | |
2125 | item127.CanCollide = true | |
2126 | item127.Locked = true | |
2127 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item127[v..'Surface'] = 'SmoothNoOutlines' end | |
2128 | item127.Parent = workspace.Ultra_ball | |
2129 | item128 = Instance.new('Part') | |
2130 | item128.Name = [[Part]] | |
2131 | item128.BrickColor = BrickColor.new('Maroon') | |
2132 | item128.Material = Enum.Material.Plastic | |
2133 | item128.Reflectance = 0 | |
2134 | item128.Transparency = 0 | |
2135 | item128.Size = Vector3.new(1, 1, 57) | |
2136 | item128.CFrame = CFrame.new(-124.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2137 | item128.RotVelocity = Vector3.new(0, 0, 0) | |
2138 | item128.Velocity = Vector3.new(0, 0, 0) | |
2139 | item128.Anchored = true | |
2140 | item128.CanCollide = true | |
2141 | item128.Locked = true | |
2142 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item128[v..'Surface'] = 'SmoothNoOutlines' end | |
2143 | item128.Parent = workspace.Ultra_ball | |
2144 | item129 = Instance.new('Part') | |
2145 | item129.Name = [[Part]] | |
2146 | item129.BrickColor = BrickColor.new('Maroon') | |
2147 | item129.Material = Enum.Material.Plastic | |
2148 | item129.Reflectance = 0 | |
2149 | item129.Transparency = 0 | |
2150 | item129.Size = Vector3.new(1, 1, 57) | |
2151 | item129.CFrame = CFrame.new(-166.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2152 | item129.RotVelocity = Vector3.new(0, 0, 0) | |
2153 | item129.Velocity = Vector3.new(0, 0, 0) | |
2154 | item129.Anchored = true | |
2155 | item129.CanCollide = true | |
2156 | item129.Locked = true | |
2157 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item129[v..'Surface'] = 'SmoothNoOutlines' end | |
2158 | item129.Parent = workspace.Ultra_ball | |
2159 | item130 = Instance.new('Part') | |
2160 | item130.Name = [[Part]] | |
2161 | item130.BrickColor = BrickColor.new('Maroon') | |
2162 | item130.Material = Enum.Material.Plastic | |
2163 | item130.Reflectance = 0 | |
2164 | item130.Transparency = 0 | |
2165 | item130.Size = Vector3.new(1, 1, 57) | |
2166 | item130.CFrame = CFrame.new(-68.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2167 | item130.RotVelocity = Vector3.new(0, 0, 0) | |
2168 | item130.Velocity = Vector3.new(0, 0, 0) | |
2169 | item130.Anchored = true | |
2170 | item130.CanCollide = true | |
2171 | item130.Locked = true | |
2172 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item130[v..'Surface'] = 'SmoothNoOutlines' end | |
2173 | item130.Parent = workspace.Ultra_ball | |
2174 | item131 = Instance.new('Part') | |
2175 | item131.Name = [[Part]] | |
2176 | item131.BrickColor = BrickColor.new('Maroon') | |
2177 | item131.Material = Enum.Material.Plastic | |
2178 | item131.Reflectance = 0 | |
2179 | item131.Transparency = 0 | |
2180 | item131.Size = Vector3.new(1, 1, 57) | |
2181 | item131.CFrame = CFrame.new(-174.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2182 | item131.RotVelocity = Vector3.new(0, 0, 0) | |
2183 | item131.Velocity = Vector3.new(0, 0, 0) | |
2184 | item131.Anchored = true | |
2185 | item131.CanCollide = true | |
2186 | item131.Locked = true | |
2187 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item131[v..'Surface'] = 'SmoothNoOutlines' end | |
2188 | item131.Parent = workspace.Ultra_ball | |
2189 | item132 = Instance.new('Part') | |
2190 | item132.Name = [[Part]] | |
2191 | item132.BrickColor = BrickColor.new('Maroon') | |
2192 | item132.Material = Enum.Material.Plastic | |
2193 | item132.Reflectance = 0 | |
2194 | item132.Transparency = 0 | |
2195 | item132.Size = Vector3.new(1, 1, 57) | |
2196 | item132.CFrame = CFrame.new(-106.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2197 | item132.RotVelocity = Vector3.new(0, 0, 0) | |
2198 | item132.Velocity = Vector3.new(0, 0, 0) | |
2199 | item132.Anchored = true | |
2200 | item132.CanCollide = true | |
2201 | item132.Locked = true | |
2202 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item132[v..'Surface'] = 'SmoothNoOutlines' end | |
2203 | item132.Parent = workspace.Ultra_ball | |
2204 | item133 = Instance.new('Part') | |
2205 | item133.Name = [[Part]] | |
2206 | item133.BrickColor = BrickColor.new('Maroon') | |
2207 | item133.Material = Enum.Material.Plastic | |
2208 | item133.Reflectance = 0 | |
2209 | item133.Transparency = 0 | |
2210 | item133.Size = Vector3.new(1, 1, 57) | |
2211 | item133.CFrame = CFrame.new(-77.5, 991, 129.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2212 | item133.RotVelocity = Vector3.new(0, 0, 0) | |
2213 | item133.Velocity = Vector3.new(0, 0, 0) | |
2214 | item133.Anchored = true | |
2215 | item133.CanCollide = true | |
2216 | item133.Locked = true | |
2217 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item133[v..'Surface'] = 'SmoothNoOutlines' end | |
2218 | item133.Parent = workspace.Ultra_ball | |
2219 | item134 = Instance.new('Part') | |
2220 | item134.Name = [[Spawn]] | |
2221 | item134.BrickColor = BrickColor.new('Black') | |
2222 | item134.Material = Enum.Material.Slate | |
2223 | item134.Reflectance = 0 | |
2224 | item134.Transparency = 0.5 | |
2225 | item134.Size = Vector3.new(1, 1, 1) | |
2226 | item134.CFrame = CFrame.new(-50, 1008, 130.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2227 | item134.RotVelocity = Vector3.new(0, 0, 0) | |
2228 | item134.Velocity = Vector3.new(0, 0, 0) | |
2229 | item134.Anchored = true | |
2230 | item134.CanCollide = false | |
2231 | item134.Locked = true | |
2232 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item134[v..'Surface'] = 'SmoothNoOutlines' end | |
2233 | item134.Parent = workspace.Ultra_ball | |
2234 | item135 = Instance.new('Model') | |
2235 | item135.Name = [[Pokeball]] | |
2236 | item135.Parent = workspace | |
2237 | item136 = Instance.new('Part') | |
2238 | item136.Name = [[Part]] | |
2239 | item136.BrickColor = BrickColor.new('Black') | |
2240 | item136.Material = Enum.Material.Plastic | |
2241 | item136.Reflectance = 0 | |
2242 | item136.Transparency = 0 | |
2243 | item136.Size = Vector3.new(187, 1, 57) | |
2244 | item136.CFrame = CFrame.new(-130.5, 990, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2245 | item136.RotVelocity = Vector3.new(0, 0, 0) | |
2246 | item136.Velocity = Vector3.new(0, 0, 0) | |
2247 | item136.Anchored = true | |
2248 | item136.CanCollide = true | |
2249 | item136.Locked = true | |
2250 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item136[v..'Surface'] = 'SmoothNoOutlines' end | |
2251 | item136.Parent = workspace.Pokeball | |
2252 | item137 = Instance.new('Part') | |
2253 | item137.Name = [[Part]] | |
2254 | item137.BrickColor = BrickColor.new('Black') | |
2255 | item137.Material = Enum.Material.Plastic | |
2256 | item137.Reflectance = 0 | |
2257 | item137.Transparency = 0 | |
2258 | item137.Size = Vector3.new(187, 47, 1) | |
2259 | item137.CFrame = CFrame.new(-130.5, 1014, -80.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2260 | item137.RotVelocity = Vector3.new(0, 0, 0) | |
2261 | item137.Velocity = Vector3.new(0, 0, 0) | |
2262 | item137.Anchored = true | |
2263 | item137.CanCollide = true | |
2264 | item137.Locked = true | |
2265 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item137[v..'Surface'] = 'SmoothNoOutlines' end | |
2266 | item137.Parent = workspace.Pokeball | |
2267 | item138 = Instance.new('Part') | |
2268 | item138.Name = [[Part]] | |
2269 | item138.BrickColor = BrickColor.new('Black') | |
2270 | item138.Material = Enum.Material.Plastic | |
2271 | item138.Reflectance = 0 | |
2272 | item138.Transparency = 0 | |
2273 | item138.Size = Vector3.new(187, 47, 1) | |
2274 | item138.CFrame = CFrame.new(-130.5, 1014, -24.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2275 | item138.RotVelocity = Vector3.new(0, 0, 0) | |
2276 | item138.Velocity = Vector3.new(0, 0, 0) | |
2277 | item138.Anchored = true | |
2278 | item138.CanCollide = true | |
2279 | item138.Locked = true | |
2280 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item138[v..'Surface'] = 'SmoothNoOutlines' end | |
2281 | item138.Parent = workspace.Pokeball | |
2282 | item139 = Instance.new('Part') | |
2283 | item139.Name = [[Part]] | |
2284 | item139.BrickColor = BrickColor.new('Black') | |
2285 | item139.Material = Enum.Material.Plastic | |
2286 | item139.Reflectance = 0 | |
2287 | item139.Transparency = 0 | |
2288 | item139.Size = Vector3.new(187, 1, 57) | |
2289 | item139.CFrame = CFrame.new(-130.5, 1038, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2290 | item139.RotVelocity = Vector3.new(0, 0, 0) | |
2291 | item139.Velocity = Vector3.new(0, 0, 0) | |
2292 | item139.Anchored = true | |
2293 | item139.CanCollide = true | |
2294 | item139.Locked = true | |
2295 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item139[v..'Surface'] = 'SmoothNoOutlines' end | |
2296 | item139.Parent = workspace.Pokeball | |
2297 | item140 = Instance.new('Part') | |
2298 | item140.Name = [[Part]] | |
2299 | item140.BrickColor = BrickColor.new('Black') | |
2300 | item140.Material = Enum.Material.Plastic | |
2301 | item140.Reflectance = 0 | |
2302 | item140.Transparency = 0 | |
2303 | item140.Size = Vector3.new(55, 47, 1) | |
2304 | item140.CFrame = CFrame.new(-37.5, 1014, -52.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
2305 | item140.RotVelocity = Vector3.new(0, 0, 0) | |
2306 | item140.Velocity = Vector3.new(0, 0, 0) | |
2307 | item140.Anchored = true | |
2308 | item140.CanCollide = true | |
2309 | item140.Locked = true | |
2310 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item140[v..'Surface'] = 'SmoothNoOutlines' end | |
2311 | item140.Parent = workspace.Pokeball | |
2312 | item141 = Instance.new('Part') | |
2313 | item141.Name = [[Part]] | |
2314 | item141.BrickColor = BrickColor.new('Black') | |
2315 | item141.Material = Enum.Material.Plastic | |
2316 | item141.Reflectance = 0 | |
2317 | item141.Transparency = 0 | |
2318 | item141.Size = Vector3.new(55, 47, 1) | |
2319 | item141.CFrame = CFrame.new(-223.5, 1014, -52.5, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
2320 | item141.RotVelocity = Vector3.new(0, 0, 0) | |
2321 | item141.Velocity = Vector3.new(0, 0, 0) | |
2322 | item141.Anchored = true | |
2323 | item141.CanCollide = true | |
2324 | item141.Locked = true | |
2325 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item141[v..'Surface'] = 'SmoothNoOutlines' end | |
2326 | item141.Parent = workspace.Pokeball | |
2327 | item142 = Instance.new('Part') | |
2328 | item142.Name = [[Part]] | |
2329 | item142.BrickColor = BrickColor.new('Maroon') | |
2330 | item142.Material = Enum.Material.Plastic | |
2331 | item142.Reflectance = 0 | |
2332 | item142.Transparency = 0 | |
2333 | item142.Size = Vector3.new(1, 1, 57) | |
2334 | item142.CFrame = CFrame.new(-58.5, 991, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2335 | item142.RotVelocity = Vector3.new(0, 0, 0) | |
2336 | item142.Velocity = Vector3.new(0, 0, 0) | |
2337 | item142.Anchored = true | |
2338 | item142.CanCollide = true | |
2339 | item142.Locked = true | |
2340 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item142[v..'Surface'] = 'SmoothNoOutlines' end | |
2341 | item142.Parent = workspace.Pokeball | |
2342 | item143 = Instance.new('Part') | |
2343 | item143.Name = [[Part]] | |
2344 | item143.BrickColor = BrickColor.new('Maroon') | |
2345 | item143.Material = Enum.Material.Plastic | |
2346 | item143.Reflectance = 0 | |
2347 | item143.Transparency = 0 | |
2348 | item143.Size = Vector3.new(1, 1, 57) | |
2349 | item143.CFrame = CFrame.new(-78.5, 991, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2350 | item143.RotVelocity = Vector3.new(0, 0, 0) | |
2351 | item143.Velocity = Vector3.new(0, 0, 0) | |
2352 | item143.Anchored = true | |
2353 | item143.CanCollide = true | |
2354 | item143.Locked = true | |
2355 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item143[v..'Surface'] = 'SmoothNoOutlines' end | |
2356 | item143.Parent = workspace.Pokeball | |
2357 | item144 = Instance.new('Part') | |
2358 | item144.Name = [[Part]] | |
2359 | item144.BrickColor = BrickColor.new('Maroon') | |
2360 | item144.Material = Enum.Material.Plastic | |
2361 | item144.Reflectance = 0 | |
2362 | item144.Transparency = 0 | |
2363 | item144.Size = Vector3.new(1, 1, 57) | |
2364 | item144.CFrame = CFrame.new(-109.5, 991, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2365 | item144.RotVelocity = Vector3.new(0, 0, 0) | |
2366 | item144.Velocity = Vector3.new(0, 0, 0) | |
2367 | item144.Anchored = true | |
2368 | item144.CanCollide = true | |
2369 | item144.Locked = true | |
2370 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item144[v..'Surface'] = 'SmoothNoOutlines' end | |
2371 | item144.Parent = workspace.Pokeball | |
2372 | item145 = Instance.new('Part') | |
2373 | item145.Name = [[Part]] | |
2374 | item145.BrickColor = BrickColor.new('Maroon') | |
2375 | item145.Material = Enum.Material.Plastic | |
2376 | item145.Reflectance = 0 | |
2377 | item145.Transparency = 0 | |
2378 | item145.Size = Vector3.new(1, 1, 57) | |
2379 | item145.CFrame = CFrame.new(-138.5, 991, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2380 | item145.RotVelocity = Vector3.new(0, 0, 0) | |
2381 | item145.Velocity = Vector3.new(0, 0, 0) | |
2382 | item145.Anchored = true | |
2383 | item145.CanCollide = true | |
2384 | item145.Locked = true | |
2385 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item145[v..'Surface'] = 'SmoothNoOutlines' end | |
2386 | item145.Parent = workspace.Pokeball | |
2387 | item146 = Instance.new('Part') | |
2388 | item146.Name = [[Part]] | |
2389 | item146.BrickColor = BrickColor.new('Maroon') | |
2390 | item146.Material = Enum.Material.Plastic | |
2391 | item146.Reflectance = 0 | |
2392 | item146.Transparency = 0 | |
2393 | item146.Size = Vector3.new(1, 1, 57) | |
2394 | item146.CFrame = CFrame.new(-174.5, 991, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2395 | item146.RotVelocity = Vector3.new(0, 0, 0) | |
2396 | item146.Velocity = Vector3.new(0, 0, 0) | |
2397 | item146.Anchored = true | |
2398 | item146.CanCollide = true | |
2399 | item146.Locked = true | |
2400 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item146[v..'Surface'] = 'SmoothNoOutlines' end | |
2401 | item146.Parent = workspace.Pokeball | |
2402 | item147 = Instance.new('Part') | |
2403 | item147.Name = [[Part]] | |
2404 | item147.BrickColor = BrickColor.new('Maroon') | |
2405 | item147.Material = Enum.Material.Plastic | |
2406 | item147.Reflectance = 0 | |
2407 | item147.Transparency = 0 | |
2408 | item147.Size = Vector3.new(1, 1, 57) | |
2409 | item147.CFrame = CFrame.new(-197.5, 991, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2410 | item147.RotVelocity = Vector3.new(0, 0, 0) | |
2411 | item147.Velocity = Vector3.new(0, 0, 0) | |
2412 | item147.Anchored = true | |
2413 | item147.CanCollide = true | |
2414 | item147.Locked = true | |
2415 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item147[v..'Surface'] = 'SmoothNoOutlines' end | |
2416 | item147.Parent = workspace.Pokeball | |
2417 | item148 = Instance.new('Part') | |
2418 | item148.Name = [[Part]] | |
2419 | item148.BrickColor = BrickColor.new('Deep orange') | |
2420 | item148.Material = Enum.Material.Plastic | |
2421 | item148.Reflectance = 0 | |
2422 | item148.Transparency = 0 | |
2423 | item148.Size = Vector3.new(17, 1, 57) | |
2424 | item148.CFrame = CFrame.new(-213.5, 991, -52.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2425 | item148.RotVelocity = Vector3.new(0, 0, 0) | |
2426 | item148.Velocity = Vector3.new(0, 0, 0) | |
2427 | item148.Anchored = true | |
2428 | item148.CanCollide = true | |
2429 | item148.Locked = true | |
2430 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item148[v..'Surface'] = 'SmoothNoOutlines' end | |
2431 | item148.Parent = workspace.Pokeball | |
2432 | item149 = Instance.new('Part') | |
2433 | item149.Name = [[Spawn]] | |
2434 | item149.BrickColor = BrickColor.new('Black') | |
2435 | item149.Material = Enum.Material.Slate | |
2436 | item149.Reflectance = 0 | |
2437 | item149.Transparency = 0.5 | |
2438 | item149.Size = Vector3.new(1, 1, 1) | |
2439 | item149.CFrame = CFrame.new(-50, 1008, -50.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2440 | item149.RotVelocity = Vector3.new(0, 0, 0) | |
2441 | item149.Velocity = Vector3.new(0, 0, 0) | |
2442 | item149.Anchored = true | |
2443 | item149.CanCollide = false | |
2444 | item149.Locked = true | |
2445 | for i,v in pairs({'Left', 'Right', 'Top', 'Bottom', 'Front', 'Back'}) do item149[v..'Surface'] = 'SmoothNoOutlines' end | |
2446 | item149.Parent = workspace.Pokeball | |
2447 | ||
2448 | mouse.KeyDown:connect(function(key) | |
2449 | if key == "z" then | |
2450 | mobs.SoundId = "rbxassetid://143994596" | |
2451 | mobs:Play() | |
2452 | end | |
2453 | if key == "x" then | |
2454 | mobs.SoundId = "rbxassetid://197819141" | |
2455 | mobs:Play() | |
2456 | end | |
2457 | if key == "c" then | |
2458 | mobs.SoundId = "rbxassetid://315131669" | |
2459 | mobs:Play() | |
2460 | end | |
2461 | if key == "v" then | |
2462 | mobs.SoundId = "rbxassetid://161643878" | |
2463 | mobs:Play() | |
2464 | end | |
2465 | if key == "b" then | |
2466 | mobs.SoundId = "rbxassetid://304111314" | |
2467 | mobs:Play() | |
2468 | end | |
2469 | if key == "l" then | |
2470 | mobs:Stop() | |
2471 | end | |
2472 | if key == "q" and not attacking then | |
2473 | attacking = true | |
2474 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
2475 | local p = Instance.new("Part") | |
2476 | p.Anchored = false | |
2477 | p.CanCollide = false | |
2478 | p.Name = "Pokeballsack" | |
2479 | p.Size = Vector3.new(6.031, 6.046, 5.802)/6 | |
2480 | local m = Instance.new("SpecialMesh") | |
2481 | m.MeshId = "rbxassetid://430070470" | |
2482 | m.TextureId = "rbxassetid://430070478" | |
2483 | m.Scale = Vector3.new(1,1,1)/6 | |
2484 | m.Parent = p | |
2485 | p.Parent = workspace | |
2486 | local w = Instance.new("Weld") | |
2487 | w.Part0 = p | |
2488 | w.Part1 = char["Right Arm"] | |
2489 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
2490 | w.Parent = p | |
2491 | local pe = Instance.new("ParticleEmitter") | |
2492 | pe.Enabled = false | |
2493 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
2494 | pe.Size = NumberSequence.new(0.5) | |
2495 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2496 | pe.Lifetime = NumberRange.new(1) | |
2497 | pe.Rate = 500 | |
2498 | pe.Rotation = NumberRange.new(5) | |
2499 | pe.RotSpeed = NumberRange.new(100) | |
2500 | pe.Speed = NumberRange.new(5) | |
2501 | pe.SpreadAngle = Vector2.new(360,360) | |
2502 | pe.Parent = p | |
2503 | for i = 0, 2, 0.1 do | |
2504 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
2505 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
2506 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
2507 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
2508 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
2509 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
2510 | swait() | |
2511 | end | |
2512 | swait(15) | |
2513 | for i = 0, 2, 0.1 do | |
2514 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
2515 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
2516 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
2517 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
2518 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
2519 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
2520 | if i == 0.5 then | |
2521 | w:Destroy() | |
2522 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
2523 | local bv = Instance.new("BodyVelocity") | |
2524 | bv.MaxForce = huge | |
2525 | bv.Velocity = p.CFrame.lookVector*150 | |
2526 | bv.Parent = p | |
2527 | p.CanCollide = true | |
2528 | game.Debris:AddItem(bv, 0.1) | |
2529 | game.Debris:AddItem(p, 60) | |
2530 | local con | |
2531 | con = p.Touched:connect(function(hit) | |
2532 | if gethum(hit) and not hit.Parent:FindFirstChild("Caught") then | |
2533 | con:disconnect() | |
2534 | swait(5) | |
2535 | p.Anchored = true | |
2536 | local e = Instance.new("Part") | |
2537 | e.Name = "Effect" | |
2538 | e.BrickColor = BrickColor.new("Really red") | |
2539 | e.Material = "Neon" | |
2540 | smooth(e) | |
2541 | e.Anchored = true | |
2542 | e.CanCollide = false | |
2543 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
2544 | hit.Parent.Head.Anchored = true | |
2545 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
2546 | e.Size = Vector3.new(0.2,0.2,mag) | |
2547 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
2548 | e.Parent = workspace | |
2549 | for i,v in pairs(hit.Parent:children()) do | |
2550 | if v:IsA("BasePart") then | |
2551 | local p = Instance.new("Part") | |
2552 | p.Anchored = true | |
2553 | p.CanCollide = false | |
2554 | p.Material = "Neon" | |
2555 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
2556 | p.CFrame = v.CFrame | |
2557 | p.Name = "notbody" | |
2558 | p.BrickColor = BrickColor.new("Really red") | |
2559 | p.Transparency = 0.6 | |
2560 | p.Parent = hit.Parent | |
2561 | end | |
2562 | end | |
2563 | swait(90) | |
2564 | local poke = workspace.Pokeball | |
2565 | hit.Parent:MoveTo(poke.Spawn.Position) | |
2566 | --char:MoveTo(poke.Spawn.Position) | |
2567 | hit.Parent.Head.Anchored = false | |
2568 | for i,v in pairs(hit.Parent:children()) do | |
2569 | if v.Name == "notbody" then | |
2570 | v:Destroy() | |
2571 | end | |
2572 | end | |
2573 | local done = false | |
2574 | e:Destroy() | |
2575 | local hurtz = {} | |
2576 | local cons = {} | |
2577 | local finish | |
2578 | for i,v in pairs(poke:children()) do | |
2579 | if tostring(v.BrickColor) == "Deep orange" then | |
2580 | print("found end") | |
2581 | finish = v | |
2582 | end | |
2583 | if tostring(v.BrickColor) == "Maroon" then | |
2584 | table.insert(hurtz, v) | |
2585 | end | |
2586 | end | |
2587 | for i,v in pairs(hurtz) do | |
2588 | local con = v.Touched:connect(function(hit) | |
2589 | if gethum(hit) then | |
2590 | finish = true | |
2591 | end | |
2592 | end) | |
2593 | table.insert(cons, con) | |
2594 | end | |
2595 | for i,v in pairs(hurtz) do | |
2596 | local con = finish.Touched:connect(function(hit) | |
2597 | if gethum(hit) then | |
2598 | gethum(hit).WalkSpeed = 0 | |
2599 | hit.Parent.Head.Anchored = true | |
2600 | end | |
2601 | end) | |
2602 | table.insert(cons, con) | |
2603 | end | |
2604 | if finish then | |
2605 | local con = finish.Touched:connect(function(hit) | |
2606 | local ok = false | |
2607 | pcall(function() | |
2608 | if hit.Parent.Name == plr.Name then | |
2609 | ok = true | |
2610 | end | |
2611 | end) | |
2612 | if gethum(hit) or ok then | |
2613 | done = true | |
2614 | end | |
2615 | end) | |
2616 | table.insert(cons, con) | |
2617 | end | |
2618 | for i = 1, 3 do | |
2619 | local before = p.CFrame | |
2620 | local endp = p.CFrame*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))) | |
2621 | print("shake "..i) | |
2622 | for i = 0, 1.5, 0.1 do | |
2623 | p.CFrame = p.CFrame:Lerp(endp, 0.4) | |
2624 | end | |
2625 | if done then break end | |
2626 | for i = 1, 320 do swait() p.CFrame = p.CFrame:Lerp(before, 0.15) if done then break end end | |
2627 | end | |
2628 | if done then | |
2629 | print("they escaped!") | |
2630 | else | |
2631 | print("they were caught!") | |
2632 | local sv = Instance.new("StringValue") | |
2633 | sv.Name = "Caught" | |
2634 | sv.Parent = hit.Parent | |
2635 | end | |
2636 | local ope = pe:Clone() | |
2637 | pe.Enabled = true | |
2638 | swait(5) | |
2639 | pe.Enabled = false | |
2640 | local t = Instance.new("Tool") | |
2641 | t.Name = hit.Parent.Name | |
2642 | t.Parent = plr.Backpack | |
2643 | local hand = Instance.new("Part") | |
2644 | hand.Transparency = 0 | |
2645 | hand.CanCollide = false | |
2646 | hand.Size = Vector3.new(1,1,1) | |
2647 | hand.Name = "Handle" | |
2648 | local m = p.Mesh:Clone() | |
2649 | m.Parent = hand | |
2650 | hand.Parent = t | |
2651 | local out = true | |
2652 | local new = p:Clone() | |
2653 | t.Activated:connect(function() | |
2654 | if not deb and not attacking then | |
2655 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
2656 | deb = true | |
2657 | hand.Transparency = 1 | |
2658 | local p = new:Clone() | |
2659 | p.Anchored = false | |
2660 | p.CanCollide = false | |
2661 | p.Parent = workspace | |
2662 | local w = Instance.new("Weld") | |
2663 | w.Part0 = p | |
2664 | w.Part1 = char["Right Arm"] | |
2665 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
2666 | w.Parent = p | |
2667 | local pe = ope:Clone() | |
2668 | pe.Enabled = false | |
2669 | pe.Parent = p | |
2670 | --[[local pe = Instance.new("ParticleEmitter") | |
2671 | pe.Enabled = false | |
2672 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
2673 | pe.Size = NumberSequence.new(0.5) | |
2674 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2675 | pe.Lifetime = NumberRange.new(1) | |
2676 | pe.Rate = 500 | |
2677 | pe.Rotation = NumberRange.new(5) | |
2678 | pe.RotSpeed = NumberRange.new(100) | |
2679 | pe.Speed = NumberRange.new(5) | |
2680 | pe.SpreadAngle = Vector2.new(360,360) | |
2681 | pe.Parent = p]] | |
2682 | if not out then | |
2683 | out = true | |
2684 | for i = 0, 2, 0.1 do | |
2685 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
2686 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
2687 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
2688 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
2689 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
2690 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
2691 | swait() | |
2692 | end | |
2693 | swait(7) | |
2694 | for i = 0,2, 0.1 do | |
2695 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
2696 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
2697 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
2698 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
2699 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
2700 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
2701 | if i == 0.5 then | |
2702 | w:Destroy() | |
2703 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
2704 | local bv = Instance.new("BodyVelocity") | |
2705 | bv.MaxForce = huge | |
2706 | bv.Velocity = p.CFrame.lookVector*150 | |
2707 | bv.Parent = p | |
2708 | p.CanCollide = true | |
2709 | game.Debris:AddItem(bv, 0.1) | |
2710 | swait(15) | |
2711 | p.Anchored = true | |
2712 | a = function(b, t) | |
2713 | for i,v in pairs(b:children()) do | |
2714 | if v:IsA("Decal") then | |
2715 | v.Transparency = t | |
2716 | end | |
2717 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
2718 | v.Transparency = t | |
2719 | end | |
2720 | a(v, t) | |
2721 | end | |
2722 | end | |
2723 | a(hit.Parent, 0) | |
2724 | for i,v in pairs(hit.Parent:children()) do | |
2725 | if v:IsA("BasePart") then | |
2726 | v.Anchored = false | |
2727 | if v.Name ~= "HumanoidRootPart" then | |
2728 | v.Transparency = 0 | |
2729 | end | |
2730 | end | |
2731 | end | |
2732 | hit.Parent:MoveTo(p.Position) | |
2733 | pe.Enabled = true | |
2734 | swait(5) | |
2735 | pe.Enabled = false | |
2736 | game.Debris:AddItem(p, 1) | |
2737 | end | |
2738 | swait() | |
2739 | end | |
2740 | else | |
2741 | out = false | |
2742 | humanoid.WalkSpeed = 0 | |
2743 | for i,v in pairs(hit.Parent:children()) do | |
2744 | if v:IsA("BasePart") then | |
2745 | v.Anchored = true | |
2746 | v.Transparency = 1 | |
2747 | end | |
2748 | end | |
2749 | for i = 0, 2, 0.1 do | |
2750 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
2751 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
2752 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2) | |
2753 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
2754 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.2) | |
2755 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.2) | |
2756 | swait() | |
2757 | end | |
2758 | local e = Instance.new("Part") | |
2759 | e.Name = "Effect" | |
2760 | e.BrickColor = BrickColor.new("Really red") | |
2761 | e.Material = "Neon" | |
2762 | smooth(e) | |
2763 | e.Anchored = true | |
2764 | e.CanCollide = false | |
2765 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
2766 | hit.Parent.Head.Anchored = true | |
2767 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
2768 | e.Size = Vector3.new(0.2,0.2,mag) | |
2769 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
2770 | e.Parent = workspace | |
2771 | a = function(b, t) | |
2772 | for i,v in pairs(b:children()) do | |
2773 | if v:IsA("Decal") then | |
2774 | v.Transparency = t | |
2775 | end | |
2776 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
2777 | v.Transparency = t | |
2778 | end | |
2779 | a(v, t) | |
2780 | end | |
2781 | end | |
2782 | a(hit.Parent, 1) | |
2783 | for i,v in pairs(hit.Parent:children()) do | |
2784 | if v:IsA("BasePart") then | |
2785 | local p = Instance.new("Part") | |
2786 | p.Anchored = true | |
2787 | p.CanCollide = false | |
2788 | p.Material = "Neon" | |
2789 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
2790 | p.CFrame = v.CFrame | |
2791 | p.Name = "notbody" | |
2792 | p.BrickColor = BrickColor.new("Really red") | |
2793 | p.Transparency = 0.6 | |
2794 | p.Parent = hit.Parent | |
2795 | end | |
2796 | end | |
2797 | humanoid.WalkSpeed = 16 | |
2798 | swait(20) | |
2799 | for i,v in pairs(hit.Parent:children()) do | |
2800 | if v.Name == "notbody" then | |
2801 | v:Destroy() | |
2802 | end | |
2803 | end | |
2804 | e:Destroy() | |
2805 | end | |
2806 | p:Destroy() | |
2807 | hand.Transparency = 0 | |
2808 | fixalljoints() | |
2809 | deb = false | |
2810 | end | |
2811 | end) | |
2812 | game.Debris:AddItem(p, 1) | |
2813 | hit.Parent:MoveTo(p.Position) | |
2814 | for i,v in pairs(cons) do | |
2815 | v:disconnect() | |
2816 | end | |
2817 | hit.Parent.Head.Anchored = false | |
2818 | end | |
2819 | end) | |
2820 | end | |
2821 | swait() | |
2822 | end | |
2823 | attacking = false | |
2824 | fixalljoints() | |
2825 | ||
2826 | end | |
2827 | if key == "e" and not attacking then | |
2828 | attacking = true | |
2829 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
2830 | local p = Instance.new("Part") | |
2831 | p.Anchored = false | |
2832 | p.CanCollide = false | |
2833 | p.Name = "Pokeballsack" | |
2834 | p.Size = Vector3.new(6.031, 6.046, 5.802)/6 | |
2835 | local m = Instance.new("SpecialMesh") | |
2836 | m.MeshId = "rbxassetid://433356448" | |
2837 | m.TextureId = "rbxassetid://433356453" | |
2838 | m.Scale = Vector3.new(1,1,1)/6 | |
2839 | m.Parent = p | |
2840 | p.Parent = workspace | |
2841 | local w = Instance.new("Weld") | |
2842 | w.Part0 = p | |
2843 | w.Part1 = char["Right Arm"] | |
2844 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
2845 | w.Parent = p | |
2846 | local pe = Instance.new("ParticleEmitter") | |
2847 | pe.Enabled = false | |
2848 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
2849 | pe.Size = NumberSequence.new(0.5) | |
2850 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2851 | pe.Lifetime = NumberRange.new(1) | |
2852 | pe.Rate = 500 | |
2853 | pe.Rotation = NumberRange.new(5) | |
2854 | pe.RotSpeed = NumberRange.new(100) | |
2855 | pe.Speed = NumberRange.new(5) | |
2856 | pe.SpreadAngle = Vector2.new(360,360) | |
2857 | pe.Parent = p | |
2858 | for i = 0, 2, 0.1 do | |
2859 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
2860 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
2861 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
2862 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
2863 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
2864 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
2865 | swait() | |
2866 | end | |
2867 | swait(15) | |
2868 | for i = 0, 2, 0.1 do | |
2869 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
2870 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
2871 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
2872 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
2873 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
2874 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
2875 | if i == 0.5 then | |
2876 | w:Destroy() | |
2877 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
2878 | local bv = Instance.new("BodyVelocity") | |
2879 | bv.MaxForce = huge | |
2880 | bv.Velocity = p.CFrame.lookVector*150 | |
2881 | bv.Parent = p | |
2882 | p.CanCollide = true | |
2883 | game.Debris:AddItem(bv, 0.1) | |
2884 | game.Debris:AddItem(p, 60) | |
2885 | local con | |
2886 | con = p.Touched:connect(function(hit) | |
2887 | if gethum(hit) and not hit.Parent:FindFirstChild("Caught") then | |
2888 | con:disconnect() | |
2889 | swait(5) | |
2890 | p.Anchored = true | |
2891 | local e = Instance.new("Part") | |
2892 | e.Name = "Effect" | |
2893 | e.BrickColor = BrickColor.new("Really red") | |
2894 | e.Material = "Neon" | |
2895 | smooth(e) | |
2896 | e.Anchored = true | |
2897 | e.CanCollide = false | |
2898 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
2899 | hit.Parent.Head.Anchored = true | |
2900 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
2901 | e.Size = Vector3.new(0.2,0.2,mag) | |
2902 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
2903 | e.Parent = workspace | |
2904 | for i,v in pairs(hit.Parent:children()) do | |
2905 | if v:IsA("BasePart") then | |
2906 | local p = Instance.new("Part") | |
2907 | p.Anchored = true | |
2908 | p.CanCollide = false | |
2909 | p.Material = "Neon" | |
2910 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
2911 | p.CFrame = v.CFrame | |
2912 | p.Name = "notbody" | |
2913 | p.BrickColor = BrickColor.new("Really red") | |
2914 | p.Transparency = 0.6 | |
2915 | p.Parent = hit.Parent | |
2916 | end | |
2917 | end | |
2918 | swait(90) | |
2919 | local poke = workspace.Great_ball | |
2920 | hit.Parent:MoveTo(poke.Spawn.Position) | |
2921 | --char:MoveTo(poke.Spawn.Position) | |
2922 | hit.Parent.Head.Anchored = false | |
2923 | for i,v in pairs(hit.Parent:children()) do | |
2924 | if v.Name == "notbody" then | |
2925 | v:Destroy() | |
2926 | end | |
2927 | end | |
2928 | local done = false | |
2929 | e:Destroy() | |
2930 | local hurtz = {} | |
2931 | local cons = {} | |
2932 | local finish | |
2933 | for i,v in pairs(poke:children()) do | |
2934 | if tostring(v.BrickColor) == "Deep orange" then | |
2935 | print("found end") | |
2936 | finish = v | |
2937 | end | |
2938 | if tostring(v.BrickColor) == "Maroon" then | |
2939 | table.insert(hurtz, v) | |
2940 | end | |
2941 | end | |
2942 | for i,v in pairs(hurtz) do | |
2943 | local con = v.Touched:connect(function(hit) | |
2944 | if gethum(hit) then | |
2945 | finish = true | |
2946 | end | |
2947 | end) | |
2948 | table.insert(cons, con) | |
2949 | end | |
2950 | for i,v in pairs(hurtz) do | |
2951 | local con = finish.Touched:connect(function(hit) | |
2952 | if gethum(hit) then | |
2953 | gethum(hit).WalkSpeed = 0 | |
2954 | hit.Parent.Head.Anchored = true | |
2955 | end | |
2956 | end) | |
2957 | table.insert(cons, con) | |
2958 | end | |
2959 | if finish then | |
2960 | local con = finish.Touched:connect(function(hit) | |
2961 | local ok = false | |
2962 | pcall(function() | |
2963 | if hit.Parent.Name == plr.Name then | |
2964 | ok = true | |
2965 | end | |
2966 | end) | |
2967 | if gethum(hit) or ok then | |
2968 | done = true | |
2969 | end | |
2970 | end) | |
2971 | table.insert(cons, con) | |
2972 | end | |
2973 | for i = 1, 3 do | |
2974 | local before = p.CFrame | |
2975 | local endp = p.CFrame*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))) | |
2976 | print("shake "..i) | |
2977 | for i = 0, 1.5, 0.1 do | |
2978 | p.CFrame = p.CFrame:Lerp(endp, 0.4) | |
2979 | end | |
2980 | if done then break end | |
2981 | for i = 1, 500 do swait() p.CFrame = p.CFrame:Lerp(before, 0.15) if done then break end end | |
2982 | end | |
2983 | if done then | |
2984 | print("they escaped!") | |
2985 | else | |
2986 | print("they were caught!") | |
2987 | local sv = Instance.new("StringValue") | |
2988 | sv.Name = "Caught" | |
2989 | sv.Parent = hit.Parent | |
2990 | end | |
2991 | local ope = pe:Clone() | |
2992 | pe.Enabled = true | |
2993 | swait(5) | |
2994 | pe.Enabled = false | |
2995 | local t = Instance.new("Tool") | |
2996 | t.Name = hit.Parent.Name | |
2997 | t.Parent = plr.Backpack | |
2998 | local hand = Instance.new("Part") | |
2999 | hand.Transparency = 0 | |
3000 | hand.CanCollide = false | |
3001 | hand.Size = Vector3.new(1,1,1) | |
3002 | hand.Name = "Handle" | |
3003 | local m = p.Mesh:Clone() | |
3004 | m.Parent = hand | |
3005 | hand.Parent = t | |
3006 | local out = true | |
3007 | local new = p:Clone() | |
3008 | t.Activated:connect(function() | |
3009 | if not deb and not attacking then | |
3010 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
3011 | deb = true | |
3012 | hand.Transparency = 1 | |
3013 | local p = new:Clone() | |
3014 | p.Anchored = false | |
3015 | p.CanCollide = false | |
3016 | p.Parent = workspace | |
3017 | local w = Instance.new("Weld") | |
3018 | w.Part0 = p | |
3019 | w.Part1 = char["Right Arm"] | |
3020 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
3021 | w.Parent = p | |
3022 | local pe = ope:Clone() | |
3023 | pe.Enabled = false | |
3024 | pe.Parent = p | |
3025 | --[[local pe = Instance.new("ParticleEmitter") | |
3026 | pe.Enabled = false | |
3027 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
3028 | pe.Size = NumberSequence.new(0.5) | |
3029 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3030 | pe.Lifetime = NumberRange.new(1) | |
3031 | pe.Rate = 500 | |
3032 | pe.Rotation = NumberRange.new(5) | |
3033 | pe.RotSpeed = NumberRange.new(100) | |
3034 | pe.Speed = NumberRange.new(5) | |
3035 | pe.SpreadAngle = Vector2.new(360,360) | |
3036 | pe.Parent = p]] | |
3037 | if not out then | |
3038 | out = true | |
3039 | for i = 0, 2, 0.1 do | |
3040 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
3041 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
3042 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
3043 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
3044 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3045 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
3046 | swait() | |
3047 | end | |
3048 | swait(7) | |
3049 | for i = 0,2, 0.1 do | |
3050 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
3051 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
3052 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
3053 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
3054 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3055 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
3056 | if i == 0.5 then | |
3057 | w:Destroy() | |
3058 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
3059 | local bv = Instance.new("BodyVelocity") | |
3060 | bv.MaxForce = huge | |
3061 | bv.Velocity = p.CFrame.lookVector*150 | |
3062 | bv.Parent = p | |
3063 | p.CanCollide = true | |
3064 | game.Debris:AddItem(bv, 0.1) | |
3065 | swait(15) | |
3066 | p.Anchored = true | |
3067 | a = function(b, t) | |
3068 | for i,v in pairs(b:children()) do | |
3069 | if v:IsA("Decal") then | |
3070 | v.Transparency = t | |
3071 | end | |
3072 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
3073 | v.Transparency = t | |
3074 | end | |
3075 | a(v, t) | |
3076 | end | |
3077 | end | |
3078 | a(hit.Parent, 0) | |
3079 | for i,v in pairs(hit.Parent:children()) do | |
3080 | if v:IsA("BasePart") then | |
3081 | v.Anchored = false | |
3082 | if v.Name ~= "HumanoidRootPart" then | |
3083 | v.Transparency = 0 | |
3084 | end | |
3085 | end | |
3086 | end | |
3087 | hit.Parent:MoveTo(p.Position) | |
3088 | pe.Enabled = true | |
3089 | swait(5) | |
3090 | pe.Enabled = false | |
3091 | game.Debris:AddItem(p, 1) | |
3092 | end | |
3093 | swait() | |
3094 | end | |
3095 | else | |
3096 | out = false | |
3097 | humanoid.WalkSpeed = 0 | |
3098 | for i,v in pairs(hit.Parent:children()) do | |
3099 | if v:IsA("BasePart") then | |
3100 | v.Anchored = true | |
3101 | v.Transparency = 1 | |
3102 | end | |
3103 | end | |
3104 | for i = 0, 2, 0.1 do | |
3105 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
3106 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
3107 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2) | |
3108 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
3109 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.2) | |
3110 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.2) | |
3111 | swait() | |
3112 | end | |
3113 | local e = Instance.new("Part") | |
3114 | e.Name = "Effect" | |
3115 | e.BrickColor = BrickColor.new("Really red") | |
3116 | e.Material = "Neon" | |
3117 | smooth(e) | |
3118 | e.Anchored = true | |
3119 | e.CanCollide = false | |
3120 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
3121 | hit.Parent.Head.Anchored = true | |
3122 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
3123 | e.Size = Vector3.new(0.2,0.2,mag) | |
3124 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
3125 | e.Parent = workspace | |
3126 | a = function(b, t) | |
3127 | for i,v in pairs(b:children()) do | |
3128 | if v:IsA("Decal") then | |
3129 | v.Transparency = t | |
3130 | end | |
3131 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
3132 | v.Transparency = t | |
3133 | end | |
3134 | a(v, t) | |
3135 | end | |
3136 | end | |
3137 | a(hit.Parent, 1) | |
3138 | for i,v in pairs(hit.Parent:children()) do | |
3139 | if v:IsA("BasePart") then | |
3140 | local p = Instance.new("Part") | |
3141 | p.Anchored = true | |
3142 | p.CanCollide = false | |
3143 | p.Material = "Neon" | |
3144 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
3145 | p.CFrame = v.CFrame | |
3146 | p.Name = "notbody" | |
3147 | p.BrickColor = BrickColor.new("Really red") | |
3148 | p.Transparency = 0.6 | |
3149 | p.Parent = hit.Parent | |
3150 | end | |
3151 | end | |
3152 | humanoid.WalkSpeed = 16 | |
3153 | swait(20) | |
3154 | for i,v in pairs(hit.Parent:children()) do | |
3155 | if v.Name == "notbody" then | |
3156 | v:Destroy() | |
3157 | end | |
3158 | end | |
3159 | e:Destroy() | |
3160 | end | |
3161 | p:Destroy() | |
3162 | hand.Transparency = 0 | |
3163 | fixalljoints() | |
3164 | deb = false | |
3165 | end | |
3166 | end) | |
3167 | game.Debris:AddItem(p, 1) | |
3168 | hit.Parent:MoveTo(p.Position) | |
3169 | for i,v in pairs(cons) do | |
3170 | v:disconnect() | |
3171 | end | |
3172 | hit.Parent.Head.Anchored = false | |
3173 | end | |
3174 | end) | |
3175 | end | |
3176 | swait() | |
3177 | end | |
3178 | attacking = false | |
3179 | fixalljoints() | |
3180 | ||
3181 | end | |
3182 | if key == "r" and not attacking then | |
3183 | attacking = true | |
3184 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
3185 | local p = Instance.new("Part") | |
3186 | p.Anchored = false | |
3187 | p.CanCollide = false | |
3188 | p.Name = "Pokeballsack" | |
3189 | p.Size = Vector3.new(6.031, 6.046, 5.802)/6 | |
3190 | local m = Instance.new("SpecialMesh") | |
3191 | m.MeshId = "rbxassetid://430075463" | |
3192 | m.TextureId = "rbxassetid://430075468" | |
3193 | m.Scale = Vector3.new(1,1,1)/6 | |
3194 | m.Parent = p | |
3195 | p.Parent = workspace | |
3196 | local w = Instance.new("Weld") | |
3197 | w.Part0 = p | |
3198 | w.Part1 = char["Right Arm"] | |
3199 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
3200 | w.Parent = p | |
3201 | local pe = Instance.new("ParticleEmitter") | |
3202 | pe.Enabled = false | |
3203 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
3204 | pe.Size = NumberSequence.new(0.5) | |
3205 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3206 | pe.Lifetime = NumberRange.new(1) | |
3207 | pe.Rate = 500 | |
3208 | pe.Rotation = NumberRange.new(5) | |
3209 | pe.RotSpeed = NumberRange.new(100) | |
3210 | pe.Speed = NumberRange.new(5) | |
3211 | pe.SpreadAngle = Vector2.new(360,360) | |
3212 | pe.Parent = p | |
3213 | for i = 0, 2, 0.1 do | |
3214 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
3215 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
3216 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
3217 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
3218 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3219 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
3220 | swait() | |
3221 | end | |
3222 | swait(15) | |
3223 | for i = 0, 2, 0.1 do | |
3224 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
3225 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
3226 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
3227 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
3228 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3229 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
3230 | if i == 0.5 then | |
3231 | w:Destroy() | |
3232 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
3233 | local bv = Instance.new("BodyVelocity") | |
3234 | bv.MaxForce = huge | |
3235 | bv.Velocity = p.CFrame.lookVector*150 | |
3236 | bv.Parent = p | |
3237 | p.CanCollide = true | |
3238 | game.Debris:AddItem(p, 60) | |
3239 | game.Debris:AddItem(bv, 0.1) | |
3240 | local con | |
3241 | con = p.Touched:connect(function(hit) | |
3242 | if gethum(hit) and not hit.Parent:FindFirstChild("Caught") then | |
3243 | con:disconnect() | |
3244 | swait(5) | |
3245 | p.Anchored = true | |
3246 | local e = Instance.new("Part") | |
3247 | e.Name = "Effect" | |
3248 | e.BrickColor = BrickColor.new("Really red") | |
3249 | e.Material = "Neon" | |
3250 | smooth(e) | |
3251 | e.Anchored = true | |
3252 | e.CanCollide = false | |
3253 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
3254 | hit.Parent.Head.Anchored = true | |
3255 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
3256 | e.Size = Vector3.new(0.2,0.2,mag) | |
3257 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
3258 | e.Parent = workspace | |
3259 | for i,v in pairs(hit.Parent:children()) do | |
3260 | if v:IsA("BasePart") then | |
3261 | local p = Instance.new("Part") | |
3262 | p.Anchored = true | |
3263 | p.CanCollide = false | |
3264 | p.Material = "Neon" | |
3265 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
3266 | p.CFrame = v.CFrame | |
3267 | p.Name = "notbody" | |
3268 | p.BrickColor = BrickColor.new("Really red") | |
3269 | p.Transparency = 0.6 | |
3270 | p.Parent = hit.Parent | |
3271 | end | |
3272 | end | |
3273 | swait(90) | |
3274 | local poke = workspace.Ultra_ball | |
3275 | hit.Parent:MoveTo(poke.Spawn.Position) | |
3276 | --char:MoveTo(poke.Spawn.Position) | |
3277 | hit.Parent.Head.Anchored = false | |
3278 | for i,v in pairs(hit.Parent:children()) do | |
3279 | if v.Name == "notbody" then | |
3280 | v:Destroy() | |
3281 | end | |
3282 | end | |
3283 | local done = false | |
3284 | e:Destroy() | |
3285 | local hurtz = {} | |
3286 | local cons = {} | |
3287 | local finish | |
3288 | for i,v in pairs(poke:children()) do | |
3289 | if tostring(v.BrickColor) == "Deep orange" then | |
3290 | print("found end") | |
3291 | finish = v | |
3292 | end | |
3293 | if tostring(v.BrickColor) == "Maroon" then | |
3294 | table.insert(hurtz, v) | |
3295 | end | |
3296 | end | |
3297 | for i,v in pairs(hurtz) do | |
3298 | local con = v.Touched:connect(function(hit) | |
3299 | if gethum(hit) then | |
3300 | finish = true | |
3301 | end | |
3302 | end) | |
3303 | table.insert(cons, con) | |
3304 | end | |
3305 | for i,v in pairs(hurtz) do | |
3306 | local con = finish.Touched:connect(function(hit) | |
3307 | if gethum(hit) then | |
3308 | gethum(hit).WalkSpeed = 0 | |
3309 | hit.Parent.Head.Anchored = true | |
3310 | end | |
3311 | end) | |
3312 | table.insert(cons, con) | |
3313 | end | |
3314 | if finish then | |
3315 | local con = finish.Touched:connect(function(hit) | |
3316 | local ok = false | |
3317 | pcall(function() | |
3318 | if hit.Parent.Name == plr.Name then | |
3319 | ok = true | |
3320 | end | |
3321 | end) | |
3322 | if gethum(hit) or ok then | |
3323 | done = true | |
3324 | end | |
3325 | end) | |
3326 | table.insert(cons, con) | |
3327 | end | |
3328 | for i = 1, 3 do | |
3329 | local before = p.CFrame | |
3330 | local endp = p.CFrame*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))) | |
3331 | print("shake "..i) | |
3332 | for i = 0, 1.5, 0.1 do | |
3333 | p.CFrame = p.CFrame:Lerp(endp, 0.4) | |
3334 | end | |
3335 | if done then break end | |
3336 | for i = 1, 500 do swait() p.CFrame = p.CFrame:Lerp(before, 0.15) if done then break end end | |
3337 | end | |
3338 | if done then | |
3339 | print("they escaped!") | |
3340 | else | |
3341 | print("they were caught!") | |
3342 | local sv = Instance.new("StringValue") | |
3343 | sv.Name = "Caught" | |
3344 | sv.Parent = hit.Parent | |
3345 | end | |
3346 | local ope = pe:Clone() | |
3347 | pe.Enabled = true | |
3348 | swait(5) | |
3349 | pe.Enabled = false | |
3350 | local t = Instance.new("Tool") | |
3351 | t.Name = hit.Parent.Name | |
3352 | t.Parent = plr.Backpack | |
3353 | local hand = Instance.new("Part") | |
3354 | hand.Transparency = 0 | |
3355 | hand.CanCollide = false | |
3356 | hand.Size = Vector3.new(1,1,1) | |
3357 | hand.Name = "Handle" | |
3358 | local m = p.Mesh:Clone() | |
3359 | m.Parent = hand | |
3360 | hand.Parent = t | |
3361 | local out = true | |
3362 | local new = p:Clone() | |
3363 | t.Activated:connect(function() | |
3364 | if not deb and not attacking then | |
3365 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
3366 | deb = true | |
3367 | hand.Transparency = 1 | |
3368 | local p = new:Clone() | |
3369 | p.Anchored = false | |
3370 | p.CanCollide = false | |
3371 | p.Parent = workspace | |
3372 | local w = Instance.new("Weld") | |
3373 | w.Part0 = p | |
3374 | w.Part1 = char["Right Arm"] | |
3375 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
3376 | w.Parent = p | |
3377 | local pe = ope:Clone() | |
3378 | pe.Enabled = false | |
3379 | pe.Parent = p | |
3380 | --[[local pe = Instance.new("ParticleEmitter") | |
3381 | pe.Enabled = false | |
3382 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
3383 | pe.Size = NumberSequence.new(0.5) | |
3384 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3385 | pe.Lifetime = NumberRange.new(1) | |
3386 | pe.Rate = 500 | |
3387 | pe.Rotation = NumberRange.new(5) | |
3388 | pe.RotSpeed = NumberRange.new(100) | |
3389 | pe.Speed = NumberRange.new(5) | |
3390 | pe.SpreadAngle = Vector2.new(360,360) | |
3391 | pe.Parent = p]] | |
3392 | if not out then | |
3393 | out = true | |
3394 | for i = 0, 2, 0.1 do | |
3395 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
3396 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
3397 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
3398 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
3399 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3400 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
3401 | swait() | |
3402 | end | |
3403 | swait(7) | |
3404 | for i = 0,2, 0.1 do | |
3405 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
3406 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
3407 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
3408 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
3409 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3410 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
3411 | if i == 0.5 then | |
3412 | w:Destroy() | |
3413 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
3414 | local bv = Instance.new("BodyVelocity") | |
3415 | bv.MaxForce = huge | |
3416 | bv.Velocity = p.CFrame.lookVector*150 | |
3417 | bv.Parent = p | |
3418 | p.CanCollide = true | |
3419 | game.Debris:AddItem(bv, 0.1) | |
3420 | swait(15) | |
3421 | p.Anchored = true | |
3422 | a = function(b, t) | |
3423 | for i,v in pairs(b:children()) do | |
3424 | if v:IsA("Decal") then | |
3425 | v.Transparency = t | |
3426 | end | |
3427 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
3428 | v.Transparency = t | |
3429 | end | |
3430 | a(v, t) | |
3431 | end | |
3432 | end | |
3433 | a(hit.Parent, 0) | |
3434 | for i,v in pairs(hit.Parent:children()) do | |
3435 | if v:IsA("BasePart") then | |
3436 | v.Anchored = false | |
3437 | if v.Name ~= "HumanoidRootPart" then | |
3438 | v.Transparency = 0 | |
3439 | end | |
3440 | end | |
3441 | end | |
3442 | hit.Parent:MoveTo(p.Position) | |
3443 | pe.Enabled = true | |
3444 | swait(5) | |
3445 | pe.Enabled = false | |
3446 | game.Debris:AddItem(p, 1) | |
3447 | end | |
3448 | swait() | |
3449 | end | |
3450 | else | |
3451 | out = false | |
3452 | humanoid.WalkSpeed = 0 | |
3453 | for i,v in pairs(hit.Parent:children()) do | |
3454 | if v:IsA("BasePart") then | |
3455 | v.Anchored = true | |
3456 | v.Transparency = 1 | |
3457 | end | |
3458 | end | |
3459 | for i = 0, 2, 0.1 do | |
3460 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
3461 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
3462 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2) | |
3463 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
3464 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.2) | |
3465 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.2) | |
3466 | swait() | |
3467 | end | |
3468 | local e = Instance.new("Part") | |
3469 | e.Name = "Effect" | |
3470 | e.BrickColor = BrickColor.new("Really red") | |
3471 | e.Material = "Neon" | |
3472 | smooth(e) | |
3473 | e.Anchored = true | |
3474 | e.CanCollide = false | |
3475 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
3476 | hit.Parent.Head.Anchored = true | |
3477 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
3478 | e.Size = Vector3.new(0.2,0.2,mag) | |
3479 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
3480 | e.Parent = workspace | |
3481 | a = function(b, t) | |
3482 | for i,v in pairs(b:children()) do | |
3483 | if v:IsA("Decal") then | |
3484 | v.Transparency = t | |
3485 | end | |
3486 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
3487 | v.Transparency = t | |
3488 | end | |
3489 | a(v, t) | |
3490 | end | |
3491 | end | |
3492 | a(hit.Parent, 1) | |
3493 | for i,v in pairs(hit.Parent:children()) do | |
3494 | if v:IsA("BasePart") then | |
3495 | local p = Instance.new("Part") | |
3496 | p.Anchored = true | |
3497 | p.CanCollide = false | |
3498 | p.Material = "Neon" | |
3499 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
3500 | p.CFrame = v.CFrame | |
3501 | p.Name = "notbody" | |
3502 | p.BrickColor = BrickColor.new("Really red") | |
3503 | p.Transparency = 0.6 | |
3504 | p.Parent = hit.Parent | |
3505 | end | |
3506 | end | |
3507 | humanoid.WalkSpeed = 16 | |
3508 | swait(20) | |
3509 | for i,v in pairs(hit.Parent:children()) do | |
3510 | if v.Name == "notbody" then | |
3511 | v:Destroy() | |
3512 | end | |
3513 | end | |
3514 | e:Destroy() | |
3515 | end | |
3516 | p:Destroy() | |
3517 | hand.Transparency = 0 | |
3518 | fixalljoints() | |
3519 | deb = false | |
3520 | end | |
3521 | end) | |
3522 | game.Debris:AddItem(p, 1) | |
3523 | hit.Parent:MoveTo(p.Position) | |
3524 | for i,v in pairs(cons) do | |
3525 | v:disconnect() | |
3526 | end | |
3527 | hit.Parent.Head.Anchored = false | |
3528 | end | |
3529 | end) | |
3530 | end | |
3531 | swait() | |
3532 | end | |
3533 | attacking = false | |
3534 | fixalljoints() | |
3535 | ||
3536 | end | |
3537 | if key == "t" and not attacking then | |
3538 | attacking = true | |
3539 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
3540 | local p = Instance.new("Part") | |
3541 | p.Anchored = false | |
3542 | p.CanCollide = false | |
3543 | p.Name = "Pokeballsack" | |
3544 | p.Size = Vector3.new(6.031, 6.046, 5.802)/6 | |
3545 | local m = Instance.new("SpecialMesh") | |
3546 | m.MeshId = "rbxassetid://442019812" | |
3547 | m.TextureId = "rbxassetid://442019839" | |
3548 | m.Scale = Vector3.new(1,1,1)/6 | |
3549 | m.Parent = p | |
3550 | p.Parent = workspace | |
3551 | local w = Instance.new("Weld") | |
3552 | w.Part0 = p | |
3553 | w.Part1 = char["Right Arm"] | |
3554 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
3555 | w.Parent = p | |
3556 | local pe = Instance.new("ParticleEmitter") | |
3557 | pe.Enabled = false | |
3558 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
3559 | pe.Size = NumberSequence.new(0.5) | |
3560 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3561 | pe.Lifetime = NumberRange.new(1) | |
3562 | pe.Rate = 500 | |
3563 | pe.Rotation = NumberRange.new(5) | |
3564 | pe.RotSpeed = NumberRange.new(100) | |
3565 | pe.Speed = NumberRange.new(5) | |
3566 | pe.SpreadAngle = Vector2.new(360,360) | |
3567 | pe.Parent = p | |
3568 | for i = 0, 2, 0.1 do | |
3569 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
3570 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
3571 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
3572 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
3573 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3574 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
3575 | swait() | |
3576 | end | |
3577 | swait(15) | |
3578 | for i = 0, 2, 0.1 do | |
3579 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
3580 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
3581 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
3582 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
3583 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3584 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
3585 | if i == 0.5 then | |
3586 | w:Destroy() | |
3587 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
3588 | local bv = Instance.new("BodyVelocity") | |
3589 | bv.MaxForce = huge | |
3590 | bv.Velocity = p.CFrame.lookVector*150 | |
3591 | bv.Parent = p | |
3592 | p.CanCollide = true | |
3593 | game.Debris:AddItem(bv, 0.1) | |
3594 | game.Debris:AddItem(p, 60) | |
3595 | local con | |
3596 | con = p.Touched:connect(function(hit) | |
3597 | if gethum(hit) and not hit.Parent:FindFirstChild("Caught") then | |
3598 | con:disconnect() | |
3599 | swait(5) | |
3600 | p.Anchored = true | |
3601 | local e = Instance.new("Part") | |
3602 | e.Name = "Effect" | |
3603 | e.BrickColor = BrickColor.new("Really red") | |
3604 | e.Material = "Neon" | |
3605 | smooth(e) | |
3606 | e.Anchored = true | |
3607 | e.CanCollide = false | |
3608 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
3609 | hit.Parent.Head.Anchored = true | |
3610 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
3611 | e.Size = Vector3.new(0.2,0.2,mag) | |
3612 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
3613 | e.Parent = workspace | |
3614 | for i,v in pairs(hit.Parent:children()) do | |
3615 | if v:IsA("BasePart") then | |
3616 | local p = Instance.new("Part") | |
3617 | p.Anchored = true | |
3618 | p.CanCollide = false | |
3619 | p.Material = "Neon" | |
3620 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
3621 | p.CFrame = v.CFrame | |
3622 | p.Name = "notbody" | |
3623 | p.BrickColor = BrickColor.new("Really red") | |
3624 | p.Transparency = 0.6 | |
3625 | p.Parent = hit.Parent | |
3626 | end | |
3627 | end | |
3628 | swait(90) | |
3629 | local poke = workspace.Master_ball | |
3630 | hit.Parent:MoveTo(poke.Spawn.Position) | |
3631 | --char:MoveTo(poke.Spawn.Position) | |
3632 | hit.Parent.Head.Anchored = false | |
3633 | for i,v in pairs(hit.Parent:children()) do | |
3634 | if v.Name == "notbody" then | |
3635 | v:Destroy() | |
3636 | end | |
3637 | end | |
3638 | local done = false | |
3639 | e:Destroy() | |
3640 | local hurtz = {} | |
3641 | local cons = {} | |
3642 | local finish | |
3643 | for i,v in pairs(poke:children()) do | |
3644 | if tostring(v.BrickColor) == "Deep orange" then | |
3645 | print("found end") | |
3646 | finish = v | |
3647 | end | |
3648 | if tostring(v.BrickColor) == "Maroon" then | |
3649 | table.insert(hurtz, v) | |
3650 | end | |
3651 | end | |
3652 | for i,v in pairs(hurtz) do | |
3653 | local con = v.Touched:connect(function(hit) | |
3654 | if gethum(hit) then | |
3655 | finish = true | |
3656 | end | |
3657 | end) | |
3658 | table.insert(cons, con) | |
3659 | end | |
3660 | for i,v in pairs(hurtz) do | |
3661 | local con = finish.Touched:connect(function(hit) | |
3662 | if gethum(hit) then | |
3663 | gethum(hit).WalkSpeed = 0 | |
3664 | hit.Parent.Head.Anchored = true | |
3665 | end | |
3666 | end) | |
3667 | table.insert(cons, con) | |
3668 | end | |
3669 | if finish then | |
3670 | local con = finish.Touched:connect(function(hit) | |
3671 | local ok = false | |
3672 | pcall(function() | |
3673 | if hit.Parent.Name == plr.Name then | |
3674 | ok = true | |
3675 | end | |
3676 | end) | |
3677 | if gethum(hit) or ok then | |
3678 | done = true | |
3679 | end | |
3680 | end) | |
3681 | table.insert(cons, con) | |
3682 | end | |
3683 | for i = 1, 3 do | |
3684 | local before = p.CFrame | |
3685 | local endp = p.CFrame*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))) | |
3686 | print("shake "..i) | |
3687 | for i = 0, 1.5, 0.1 do | |
3688 | p.CFrame = p.CFrame:Lerp(endp, 0.4) | |
3689 | end | |
3690 | if done then break end | |
3691 | for i = 1, 100 do swait() p.CFrame = p.CFrame:Lerp(before, 0.15) if done then break end end | |
3692 | end | |
3693 | if done then | |
3694 | print("they escaped!") | |
3695 | else | |
3696 | print("they were caught!") | |
3697 | local sv = Instance.new("StringValue") | |
3698 | sv.Name = "Caught" | |
3699 | sv.Parent = hit.Parent | |
3700 | end | |
3701 | local ope = pe:Clone() | |
3702 | pe.Enabled = true | |
3703 | swait(5) | |
3704 | pe.Enabled = false | |
3705 | local t = Instance.new("Tool") | |
3706 | t.Name = hit.Parent.Name | |
3707 | t.Parent = plr.Backpack | |
3708 | local hand = Instance.new("Part") | |
3709 | hand.Transparency = 0 | |
3710 | hand.CanCollide = false | |
3711 | hand.Size = Vector3.new(1,1,1) | |
3712 | hand.Name = "Handle" | |
3713 | local m = p.Mesh:Clone() | |
3714 | m.Parent = hand | |
3715 | hand.Parent = t | |
3716 | local out = true | |
3717 | local new = p:Clone() | |
3718 | t.Activated:connect(function() | |
3719 | if not deb and not attacking then | |
3720 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
3721 | deb = true | |
3722 | hand.Transparency = 1 | |
3723 | local p = new:Clone() | |
3724 | p.Anchored = false | |
3725 | p.CanCollide = false | |
3726 | p.Parent = workspace | |
3727 | local w = Instance.new("Weld") | |
3728 | w.Part0 = p | |
3729 | w.Part1 = char["Right Arm"] | |
3730 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
3731 | w.Parent = p | |
3732 | local pe = ope:Clone() | |
3733 | pe.Enabled = false | |
3734 | pe.Parent = p | |
3735 | --[[local pe = Instance.new("ParticleEmitter") | |
3736 | pe.Enabled = false | |
3737 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
3738 | pe.Size = NumberSequence.new(0.5) | |
3739 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3740 | pe.Lifetime = NumberRange.new(1) | |
3741 | pe.Rate = 500 | |
3742 | pe.Rotation = NumberRange.new(5) | |
3743 | pe.RotSpeed = NumberRange.new(100) | |
3744 | pe.Speed = NumberRange.new(5) | |
3745 | pe.SpreadAngle = Vector2.new(360,360) | |
3746 | pe.Parent = p]] | |
3747 | if not out then | |
3748 | out = true | |
3749 | for i = 0, 2, 0.1 do | |
3750 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
3751 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
3752 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
3753 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
3754 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3755 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
3756 | swait() | |
3757 | end | |
3758 | swait(7) | |
3759 | for i = 0,2, 0.1 do | |
3760 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
3761 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
3762 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
3763 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
3764 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3765 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
3766 | if i == 0.5 then | |
3767 | w:Destroy() | |
3768 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
3769 | local bv = Instance.new("BodyVelocity") | |
3770 | bv.MaxForce = huge | |
3771 | bv.Velocity = p.CFrame.lookVector*150 | |
3772 | bv.Parent = p | |
3773 | p.CanCollide = true | |
3774 | game.Debris:AddItem(bv, 0.1) | |
3775 | swait(15) | |
3776 | p.Anchored = true | |
3777 | a = function(b, t) | |
3778 | for i,v in pairs(b:children()) do | |
3779 | if v:IsA("Decal") then | |
3780 | v.Transparency = t | |
3781 | end | |
3782 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
3783 | v.Transparency = t | |
3784 | end | |
3785 | a(v, t) | |
3786 | end | |
3787 | end | |
3788 | a(hit.Parent, 0) | |
3789 | for i,v in pairs(hit.Parent:children()) do | |
3790 | if v:IsA("BasePart") then | |
3791 | v.Anchored = false | |
3792 | if v.Name ~= "HumanoidRootPart" then | |
3793 | v.Transparency = 0 | |
3794 | end | |
3795 | end | |
3796 | end | |
3797 | hit.Parent:MoveTo(p.Position) | |
3798 | pe.Enabled = true | |
3799 | swait(5) | |
3800 | pe.Enabled = false | |
3801 | game.Debris:AddItem(p, 1) | |
3802 | end | |
3803 | swait() | |
3804 | end | |
3805 | else | |
3806 | out = false | |
3807 | humanoid.WalkSpeed = 0 | |
3808 | for i,v in pairs(hit.Parent:children()) do | |
3809 | if v:IsA("BasePart") then | |
3810 | v.Anchored = true | |
3811 | v.Transparency = 1 | |
3812 | end | |
3813 | end | |
3814 | for i = 0, 2, 0.1 do | |
3815 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
3816 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
3817 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2) | |
3818 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
3819 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.2) | |
3820 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.2) | |
3821 | swait() | |
3822 | end | |
3823 | local e = Instance.new("Part") | |
3824 | e.Name = "Effect" | |
3825 | e.BrickColor = BrickColor.new("Really red") | |
3826 | e.Material = "Neon" | |
3827 | smooth(e) | |
3828 | e.Anchored = true | |
3829 | e.CanCollide = false | |
3830 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
3831 | hit.Parent.Head.Anchored = true | |
3832 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
3833 | e.Size = Vector3.new(0.2,0.2,mag) | |
3834 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
3835 | e.Parent = workspace | |
3836 | a = function(b, t) | |
3837 | for i,v in pairs(b:children()) do | |
3838 | if v:IsA("Decal") then | |
3839 | v.Transparency = t | |
3840 | end | |
3841 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
3842 | v.Transparency = t | |
3843 | end | |
3844 | a(v, t) | |
3845 | end | |
3846 | end | |
3847 | a(hit.Parent, 1) | |
3848 | for i,v in pairs(hit.Parent:children()) do | |
3849 | if v:IsA("BasePart") then | |
3850 | local p = Instance.new("Part") | |
3851 | p.Anchored = true | |
3852 | p.CanCollide = false | |
3853 | p.Material = "Neon" | |
3854 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
3855 | p.CFrame = v.CFrame | |
3856 | p.Name = "notbody" | |
3857 | p.BrickColor = BrickColor.new("Really red") | |
3858 | p.Transparency = 0.6 | |
3859 | p.Parent = hit.Parent | |
3860 | end | |
3861 | end | |
3862 | humanoid.WalkSpeed = 16 | |
3863 | swait(20) | |
3864 | for i,v in pairs(hit.Parent:children()) do | |
3865 | if v.Name == "notbody" then | |
3866 | v:Destroy() | |
3867 | end | |
3868 | end | |
3869 | e:Destroy() | |
3870 | end | |
3871 | p:Destroy() | |
3872 | hand.Transparency = 0 | |
3873 | fixalljoints() | |
3874 | deb = false | |
3875 | end | |
3876 | end) | |
3877 | game.Debris:AddItem(p, 1) | |
3878 | hit.Parent:MoveTo(p.Position) | |
3879 | for i,v in pairs(cons) do | |
3880 | v:disconnect() | |
3881 | end | |
3882 | hit.Parent.Head.Anchored = false | |
3883 | end | |
3884 | end) | |
3885 | end | |
3886 | swait() | |
3887 | end | |
3888 | attacking = false | |
3889 | fixalljoints() | |
3890 | ||
3891 | end | |
3892 | if key == "y" and not attacking then | |
3893 | attacking = true | |
3894 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
3895 | local p = Instance.new("Part") | |
3896 | p.Anchored = false | |
3897 | p.CanCollide = false | |
3898 | p.Name = "Pokeballsack" | |
3899 | p.Size = Vector3.new(6.031, 6.046, 5.802)/6 | |
3900 | local m = Instance.new("SpecialMesh") | |
3901 | m.MeshId = "rbxassetid://430977397" | |
3902 | m.TextureId = "rbxassetid://430977402" | |
3903 | m.Scale = Vector3.new(1,1,1)/6 | |
3904 | m.Parent = p | |
3905 | p.Parent = workspace | |
3906 | local w = Instance.new("Weld") | |
3907 | w.Part0 = p | |
3908 | w.Part1 = char["Right Arm"] | |
3909 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
3910 | w.Parent = p | |
3911 | local pe = Instance.new("ParticleEmitter") | |
3912 | pe.Enabled = false | |
3913 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
3914 | pe.Size = NumberSequence.new(0.5) | |
3915 | pe.Texture = "rbxassetid://152671819" | |
3916 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3917 | pe.Lifetime = NumberRange.new(1) | |
3918 | pe.Rate = 500 | |
3919 | pe.Rotation = NumberRange.new(5) | |
3920 | pe.RotSpeed = NumberRange.new(100) | |
3921 | pe.Speed = NumberRange.new(5) | |
3922 | pe.SpreadAngle = Vector2.new(360,360) | |
3923 | pe.Parent = p | |
3924 | for i = 0, 2, 0.1 do | |
3925 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
3926 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
3927 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
3928 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
3929 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3930 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
3931 | swait() | |
3932 | end | |
3933 | swait(15) | |
3934 | for i = 0, 2, 0.1 do | |
3935 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
3936 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
3937 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
3938 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
3939 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
3940 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
3941 | if i == 0.5 then | |
3942 | w:Destroy() | |
3943 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
3944 | local bv = Instance.new("BodyVelocity") | |
3945 | bv.MaxForce = huge | |
3946 | bv.Velocity = p.CFrame.lookVector*150 | |
3947 | bv.Parent = p | |
3948 | p.CanCollide = true | |
3949 | game.Debris:AddItem(p, 60) | |
3950 | game.Debris:AddItem(bv, 0.1) | |
3951 | local con | |
3952 | con = p.Touched:connect(function(hit) | |
3953 | if gethum(hit) and not hit.Parent:FindFirstChild("Caught") then | |
3954 | con:disconnect() | |
3955 | swait(5) | |
3956 | p.Anchored = true | |
3957 | local e = Instance.new("Part") | |
3958 | e.Name = "Effect" | |
3959 | e.BrickColor = BrickColor.new("Really red") | |
3960 | e.Material = "Neon" | |
3961 | smooth(e) | |
3962 | e.Anchored = true | |
3963 | e.CanCollide = false | |
3964 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
3965 | hit.Parent.Head.Anchored = true | |
3966 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
3967 | e.Size = Vector3.new(0.2,0.2,mag) | |
3968 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
3969 | e.Parent = workspace | |
3970 | for i,v in pairs(hit.Parent:children()) do | |
3971 | if v:IsA("BasePart") then | |
3972 | local p = Instance.new("Part") | |
3973 | p.Anchored = true | |
3974 | p.CanCollide = false | |
3975 | p.Material = "Neon" | |
3976 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
3977 | p.CFrame = v.CFrame | |
3978 | p.Name = "notbody" | |
3979 | p.BrickColor = BrickColor.new("Really red") | |
3980 | p.Transparency = 0.6 | |
3981 | p.Parent = hit.Parent | |
3982 | end | |
3983 | end | |
3984 | swait(90) | |
3985 | local poke = workspace.Timer_ball | |
3986 | hit.Parent:MoveTo(poke.Spawn.Position) | |
3987 | --char:MoveTo(poke.Spawn.Position) | |
3988 | hit.Parent.Head.Anchored = false | |
3989 | for i,v in pairs(hit.Parent:children()) do | |
3990 | if v.Name == "notbody" then | |
3991 | v:Destroy() | |
3992 | end | |
3993 | end | |
3994 | local done = false | |
3995 | e:Destroy() | |
3996 | local hurtz = {} | |
3997 | local cons = {} | |
3998 | local finish | |
3999 | for i,v in pairs(poke:children()) do | |
4000 | if tostring(v.BrickColor) == "Deep orange" then | |
4001 | print("found end") | |
4002 | finish = v | |
4003 | end | |
4004 | if tostring(v.BrickColor) == "Maroon" then | |
4005 | table.insert(hurtz, v) | |
4006 | end | |
4007 | end | |
4008 | for i,v in pairs(hurtz) do | |
4009 | local con = v.Touched:connect(function(hit) | |
4010 | if gethum(hit) then | |
4011 | finish = true | |
4012 | end | |
4013 | end) | |
4014 | table.insert(cons, con) | |
4015 | end | |
4016 | for i,v in pairs(hurtz) do | |
4017 | local con = finish.Touched:connect(function(hit) | |
4018 | if gethum(hit) then | |
4019 | gethum(hit).WalkSpeed = 0 | |
4020 | hit.Parent.Head.Anchored = true | |
4021 | end | |
4022 | end) | |
4023 | table.insert(cons, con) | |
4024 | end | |
4025 | if finish then | |
4026 | local con = finish.Touched:connect(function(hit) | |
4027 | local ok = false | |
4028 | pcall(function() | |
4029 | if hit.Parent.Name == plr.Name then | |
4030 | ok = true | |
4031 | end | |
4032 | end) | |
4033 | if gethum(hit) or ok then | |
4034 | done = true | |
4035 | end | |
4036 | end) | |
4037 | table.insert(cons, con) | |
4038 | end | |
4039 | for i = 1, 3 do | |
4040 | local before = p.CFrame | |
4041 | local endp = p.CFrame*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))) | |
4042 | print("shake "..i) | |
4043 | for i = 0, 1.5, 0.1 do | |
4044 | p.CFrame = p.CFrame:Lerp(endp, 0.4) | |
4045 | end | |
4046 | if done then break end | |
4047 | for i = 1, 500 do swait() p.CFrame = p.CFrame:Lerp(before, 0.15) if done then break end end | |
4048 | end | |
4049 | if done then | |
4050 | print("they escaped!") | |
4051 | else | |
4052 | print("they were caught!") | |
4053 | local sv = Instance.new("StringValue") | |
4054 | sv.Name = "Caught" | |
4055 | sv.Parent = hit.Parent | |
4056 | end | |
4057 | local ope = pe:Clone() | |
4058 | pe.Enabled = true | |
4059 | swait(5) | |
4060 | pe.Enabled = false | |
4061 | local t = Instance.new("Tool") | |
4062 | t.Name = hit.Parent.Name | |
4063 | t.Parent = plr.Backpack | |
4064 | local hand = Instance.new("Part") | |
4065 | hand.Transparency = 0 | |
4066 | hand.CanCollide = false | |
4067 | hand.Size = Vector3.new(1,1,1) | |
4068 | hand.Name = "Handle" | |
4069 | local m = p.Mesh:Clone() | |
4070 | m.Parent = hand | |
4071 | hand.Parent = t | |
4072 | local out = true | |
4073 | local new = p:Clone() | |
4074 | t.Activated:connect(function() | |
4075 | if not deb and not attacking then | |
4076 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
4077 | deb = true | |
4078 | hand.Transparency = 1 | |
4079 | local p = new:Clone() | |
4080 | p.Anchored = false | |
4081 | p.CanCollide = false | |
4082 | p.Parent = workspace | |
4083 | local w = Instance.new("Weld") | |
4084 | w.Part0 = p | |
4085 | w.Part1 = char["Right Arm"] | |
4086 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
4087 | w.Parent = p | |
4088 | local pe = ope:Clone() | |
4089 | pe.Enabled = false | |
4090 | pe.Parent = p | |
4091 | --[[local pe = Instance.new("ParticleEmitter") | |
4092 | pe.Enabled = false | |
4093 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
4094 | pe.Size = NumberSequence.new(0.5) | |
4095 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4096 | pe.Lifetime = NumberRange.new(1) | |
4097 | pe.Rate = 500 | |
4098 | pe.Rotation = NumberRange.new(5) | |
4099 | pe.RotSpeed = NumberRange.new(100) | |
4100 | pe.Speed = NumberRange.new(5) | |
4101 | pe.SpreadAngle = Vector2.new(360,360) | |
4102 | pe.Parent = p]] | |
4103 | if not out then | |
4104 | out = true | |
4105 | for i = 0, 2, 0.1 do | |
4106 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
4107 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
4108 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
4109 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
4110 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
4111 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
4112 | swait() | |
4113 | end | |
4114 | swait(7) | |
4115 | for i = 0,2, 0.1 do | |
4116 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
4117 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
4118 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
4119 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
4120 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
4121 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
4122 | if i == 0.5 then | |
4123 | w:Destroy() | |
4124 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
4125 | local bv = Instance.new("BodyVelocity") | |
4126 | bv.MaxForce = huge | |
4127 | bv.Velocity = p.CFrame.lookVector*150 | |
4128 | bv.Parent = p | |
4129 | p.CanCollide = true | |
4130 | game.Debris:AddItem(bv, 0.1) | |
4131 | swait(15) | |
4132 | p.Anchored = true | |
4133 | a = function(b, t) | |
4134 | for i,v in pairs(b:children()) do | |
4135 | if v:IsA("Decal") then | |
4136 | v.Transparency = t | |
4137 | end | |
4138 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
4139 | v.Transparency = t | |
4140 | end | |
4141 | a(v, t) | |
4142 | end | |
4143 | end | |
4144 | a(hit.Parent, 0) | |
4145 | for i,v in pairs(hit.Parent:children()) do | |
4146 | if v:IsA("BasePart") then | |
4147 | v.Anchored = false | |
4148 | if v.Name ~= "HumanoidRootPart" then | |
4149 | v.Transparency = 0 | |
4150 | end | |
4151 | end | |
4152 | end | |
4153 | hit.Parent:MoveTo(p.Position) | |
4154 | pe.Enabled = true | |
4155 | swait(5) | |
4156 | pe.Enabled = false | |
4157 | game.Debris:AddItem(p, 1) | |
4158 | end | |
4159 | swait() | |
4160 | end | |
4161 | else | |
4162 | out = false | |
4163 | humanoid.WalkSpeed = 0 | |
4164 | for i,v in pairs(hit.Parent:children()) do | |
4165 | if v:IsA("BasePart") then | |
4166 | v.Anchored = true | |
4167 | v.Transparency = 1 | |
4168 | end | |
4169 | end | |
4170 | for i = 0, 2, 0.1 do | |
4171 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
4172 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
4173 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2) | |
4174 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
4175 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.2) | |
4176 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.2) | |
4177 | swait() | |
4178 | end | |
4179 | local e = Instance.new("Part") | |
4180 | e.Name = "Effect" | |
4181 | e.BrickColor = BrickColor.new("Really red") | |
4182 | e.Material = "Neon" | |
4183 | smooth(e) | |
4184 | e.Anchored = true | |
4185 | e.CanCollide = false | |
4186 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
4187 | hit.Parent.Head.Anchored = true | |
4188 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
4189 | e.Size = Vector3.new(0.2,0.2,mag) | |
4190 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
4191 | e.Parent = workspace | |
4192 | a = function(b, t) | |
4193 | for i,v in pairs(b:children()) do | |
4194 | if v:IsA("Decal") then | |
4195 | v.Transparency = t | |
4196 | end | |
4197 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
4198 | v.Transparency = t | |
4199 | end | |
4200 | a(v, t) | |
4201 | end | |
4202 | end | |
4203 | a(hit.Parent, 1) | |
4204 | for i,v in pairs(hit.Parent:children()) do | |
4205 | if v:IsA("BasePart") then | |
4206 | local p = Instance.new("Part") | |
4207 | p.Anchored = true | |
4208 | p.CanCollide = false | |
4209 | p.Material = "Neon" | |
4210 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
4211 | p.CFrame = v.CFrame | |
4212 | p.Name = "notbody" | |
4213 | p.BrickColor = BrickColor.new("Really red") | |
4214 | p.Transparency = 0.6 | |
4215 | p.Parent = hit.Parent | |
4216 | end | |
4217 | end | |
4218 | humanoid.WalkSpeed = 16 | |
4219 | swait(20) | |
4220 | for i,v in pairs(hit.Parent:children()) do | |
4221 | if v.Name == "notbody" then | |
4222 | v:Destroy() | |
4223 | end | |
4224 | end | |
4225 | e:Destroy() | |
4226 | end | |
4227 | p:Destroy() | |
4228 | hand.Transparency = 0 | |
4229 | fixalljoints() | |
4230 | deb = false | |
4231 | end | |
4232 | end) | |
4233 | game.Debris:AddItem(p, 1) | |
4234 | hit.Parent:MoveTo(p.Position) | |
4235 | for i,v in pairs(cons) do | |
4236 | v:disconnect() | |
4237 | end | |
4238 | hit.Parent.Head.Anchored = false | |
4239 | end | |
4240 | end) | |
4241 | end | |
4242 | swait() | |
4243 | end | |
4244 | attacking = false | |
4245 | fixalljoints() | |
4246 | ||
4247 | end | |
4248 | if key == "u" and not attacking then | |
4249 | attacking = true | |
4250 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
4251 | local p = Instance.new("Part") | |
4252 | p.Anchored = false | |
4253 | p.CanCollide = false | |
4254 | p.Name = "Pokeballsack" | |
4255 | p.Size = Vector3.new(6.031, 6.046, 5.802)/6 | |
4256 | local m = Instance.new("SpecialMesh") | |
4257 | m.MeshId = "rbxassetid://433356792" | |
4258 | m.TextureId = "rbxassetid://433356797" | |
4259 | m.Scale = Vector3.new(1,1,1)/6 | |
4260 | m.Parent = p | |
4261 | p.Parent = workspace | |
4262 | local w = Instance.new("Weld") | |
4263 | w.Part0 = p | |
4264 | w.Part1 = char["Right Arm"] | |
4265 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
4266 | w.Parent = p | |
4267 | local pe = Instance.new("ParticleEmitter") | |
4268 | pe.Enabled = false | |
4269 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
4270 | pe.Size = NumberSequence.new(0.5) | |
4271 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4272 | pe.Lifetime = NumberRange.new(1) | |
4273 | pe.Rate = 500 | |
4274 | pe.Texture = "rbxassetid://264486777" | |
4275 | pe.Rotation = NumberRange.new(5) | |
4276 | pe.RotSpeed = NumberRange.new(100) | |
4277 | pe.Speed = NumberRange.new(5) | |
4278 | pe.SpreadAngle = Vector2.new(360,360) | |
4279 | pe.Parent = p | |
4280 | for i = 0, 2, 0.1 do | |
4281 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
4282 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
4283 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
4284 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
4285 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
4286 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
4287 | swait() | |
4288 | end | |
4289 | swait(15) | |
4290 | for i = 0, 2, 0.1 do | |
4291 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
4292 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
4293 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
4294 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
4295 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
4296 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
4297 | if i == 0.5 then | |
4298 | w:Destroy() | |
4299 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
4300 | local bv = Instance.new("BodyVelocity") | |
4301 | bv.MaxForce = huge | |
4302 | bv.Velocity = p.CFrame.lookVector*150 | |
4303 | bv.Parent = p | |
4304 | p.CanCollide = true | |
4305 | game.Debris:AddItem(bv, 0.1) | |
4306 | game.Debris:AddItem(p, 60) | |
4307 | local con | |
4308 | con = p.Touched:connect(function(hit) | |
4309 | if gethum(hit) and not hit.Parent:FindFirstChild("Caught") then | |
4310 | con:disconnect() | |
4311 | swait(5) | |
4312 | p.Anchored = true | |
4313 | local e = Instance.new("Part") | |
4314 | e.Name = "Effect" | |
4315 | e.BrickColor = BrickColor.new("Really red") | |
4316 | e.Material = "Neon" | |
4317 | smooth(e) | |
4318 | e.Anchored = true | |
4319 | e.CanCollide = false | |
4320 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
4321 | hit.Parent.Head.Anchored = true | |
4322 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
4323 | e.Size = Vector3.new(0.2,0.2,mag) | |
4324 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
4325 | e.Parent = workspace | |
4326 | for i,v in pairs(hit.Parent:children()) do | |
4327 | if v:IsA("BasePart") then | |
4328 | local p = Instance.new("Part") | |
4329 | p.Anchored = true | |
4330 | p.CanCollide = false | |
4331 | p.Material = "Neon" | |
4332 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
4333 | p.CFrame = v.CFrame | |
4334 | p.Name = "notbody" | |
4335 | p.BrickColor = BrickColor.new("Really red") | |
4336 | p.Transparency = 0.6 | |
4337 | p.Parent = hit.Parent | |
4338 | end | |
4339 | end | |
4340 | swait(90) | |
4341 | local poke = workspace.Love_ball | |
4342 | hit.Parent:MoveTo(poke.Spawn.Position) | |
4343 | --char:MoveTo(poke.Spawn.Position) | |
4344 | hit.Parent.Head.Anchored = false | |
4345 | for i,v in pairs(hit.Parent:children()) do | |
4346 | if v.Name == "notbody" then | |
4347 | v:Destroy() | |
4348 | end | |
4349 | end | |
4350 | local done = false | |
4351 | e:Destroy() | |
4352 | local hurtz = {} | |
4353 | local cons = {} | |
4354 | local finish | |
4355 | for i,v in pairs(poke:children()) do | |
4356 | if tostring(v.BrickColor) == "Deep orange" then | |
4357 | print("found end") | |
4358 | finish = v | |
4359 | end | |
4360 | if tostring(v.BrickColor) == "Maroon" then | |
4361 | table.insert(hurtz, v) | |
4362 | end | |
4363 | end | |
4364 | for i,v in pairs(hurtz) do | |
4365 | local con = v.Touched:connect(function(hit) | |
4366 | if gethum(hit) then | |
4367 | finish = true | |
4368 | end | |
4369 | end) | |
4370 | table.insert(cons, con) | |
4371 | end | |
4372 | for i,v in pairs(hurtz) do | |
4373 | local con = finish.Touched:connect(function(hit) | |
4374 | if gethum(hit) then | |
4375 | gethum(hit).WalkSpeed = 0 | |
4376 | hit.Parent.Head.Anchored = true | |
4377 | end | |
4378 | end) | |
4379 | table.insert(cons, con) | |
4380 | end | |
4381 | if finish then | |
4382 | local con = finish.Touched:connect(function(hit) | |
4383 | local ok = false | |
4384 | pcall(function() | |
4385 | if hit.Parent.Name == plr.Name then | |
4386 | ok = true | |
4387 | end | |
4388 | end) | |
4389 | if gethum(hit) or ok then | |
4390 | done = true | |
4391 | end | |
4392 | end) | |
4393 | table.insert(cons, con) | |
4394 | end | |
4395 | for i = 1, 3 do | |
4396 | local before = p.CFrame | |
4397 | local endp = p.CFrame*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))) | |
4398 | print("shake "..i) | |
4399 | for i = 0, 1.5, 0.1 do | |
4400 | p.CFrame = p.CFrame:Lerp(endp, 0.4) | |
4401 | end | |
4402 | if done then break end | |
4403 | for i = 1, 320 do swait() p.CFrame = p.CFrame:Lerp(before, 0.15) if done then break end end | |
4404 | end | |
4405 | if done then | |
4406 | print("they escaped!") | |
4407 | else | |
4408 | print("they were caught!") | |
4409 | local sv = Instance.new("StringValue") | |
4410 | sv.Name = "Caught" | |
4411 | sv.Parent = hit.Parent | |
4412 | end | |
4413 | local ope = pe:Clone() | |
4414 | pe.Enabled = true | |
4415 | swait(5) | |
4416 | pe.Enabled = false | |
4417 | local t = Instance.new("Tool") | |
4418 | t.Name = hit.Parent.Name | |
4419 | t.Parent = plr.Backpack | |
4420 | local hand = Instance.new("Part") | |
4421 | hand.Transparency = 0 | |
4422 | hand.CanCollide = false | |
4423 | hand.Size = Vector3.new(1,1,1) | |
4424 | hand.Name = "Handle" | |
4425 | local m = p.Mesh:Clone() | |
4426 | m.Parent = hand | |
4427 | hand.Parent = t | |
4428 | local out = true | |
4429 | local new = p:Clone() | |
4430 | t.Activated:connect(function() | |
4431 | if not deb and not attacking then | |
4432 | local rs,ls,rh,lh,neck,rj = getnewjoints() | |
4433 | deb = true | |
4434 | hand.Transparency = 1 | |
4435 | local p = new:Clone() | |
4436 | p.Anchored = false | |
4437 | p.CanCollide = false | |
4438 | p.Parent = workspace | |
4439 | local w = Instance.new("Weld") | |
4440 | w.Part0 = p | |
4441 | w.Part1 = char["Right Arm"] | |
4442 | w.C1 = CFrame.new(0,-1,0) *CFrame.Angles(math.rad(90),0,math.rad(180)) | |
4443 | w.Parent = p | |
4444 | local pe = ope:Clone() | |
4445 | pe.Enabled = false | |
4446 | pe.Parent = p | |
4447 | --[[local pe = Instance.new("ParticleEmitter") | |
4448 | pe.Enabled = false | |
4449 | pe.Color = ColorSequence.new(Color3.new(255,255,255)) | |
4450 | pe.Size = NumberSequence.new(0.5) | |
4451 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.907,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4452 | pe.Lifetime = NumberRange.new(1) | |
4453 | pe.Rate = 500 | |
4454 | pe.Rotation = NumberRange.new(5) | |
4455 | pe.RotSpeed = NumberRange.new(100) | |
4456 | pe.Speed = NumberRange.new(5) | |
4457 | pe.SpreadAngle = Vector2.new(360,360) | |
4458 | pe.Parent = p]] | |
4459 | if not out then | |
4460 | out = true | |
4461 | for i = 0, 2, 0.1 do | |
4462 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2) | |
4463 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2) | |
4464 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2) | |
4465 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2) | |
4466 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
4467 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2) | |
4468 | swait() | |
4469 | end | |
4470 | swait(7) | |
4471 | for i = 0,2, 0.1 do | |
4472 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2) | |
4473 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2) | |
4474 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2) | |
4475 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2) | |
4476 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
4477 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2) | |
4478 | if i == 0.5 then | |
4479 | w:Destroy() | |
4480 | p.CFrame = CFrame.new(p.CFrame.p, mouse.Hit.p) | |
4481 | local bv = Instance.new("BodyVelocity") | |
4482 | bv.MaxForce = huge | |
4483 | bv.Velocity = p.CFrame.lookVector*150 | |
4484 | bv.Parent = p | |
4485 | p.CanCollide = true | |
4486 | game.Debris:AddItem(bv, 0.1) | |
4487 | swait(15) | |
4488 | p.Anchored = true | |
4489 | a = function(b, t) | |
4490 | for i,v in pairs(b:children()) do | |
4491 | if v:IsA("Decal") then | |
4492 | v.Transparency = t | |
4493 | end | |
4494 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
4495 | v.Transparency = t | |
4496 | end | |
4497 | a(v, t) | |
4498 | end | |
4499 | end | |
4500 | a(hit.Parent, 0) | |
4501 | for i,v in pairs(hit.Parent:children()) do | |
4502 | if v:IsA("BasePart") then | |
4503 | v.Anchored = false | |
4504 | if v.Name ~= "HumanoidRootPart" then | |
4505 | v.Transparency = 0 | |
4506 | end | |
4507 | end | |
4508 | end | |
4509 | hit.Parent:MoveTo(p.Position) | |
4510 | pe.Enabled = true | |
4511 | swait(5) | |
4512 | pe.Enabled = false | |
4513 | game.Debris:AddItem(p, 1) | |
4514 | end | |
4515 | swait() | |
4516 | end | |
4517 | else | |
4518 | out = false | |
4519 | humanoid.WalkSpeed = 0 | |
4520 | for i,v in pairs(hit.Parent:children()) do | |
4521 | if v:IsA("BasePart") then | |
4522 | v.Anchored = true | |
4523 | v.Transparency = 1 | |
4524 | end | |
4525 | end | |
4526 | for i = 0, 2, 0.1 do | |
4527 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
4528 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
4529 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2) | |
4530 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
4531 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.2) | |
4532 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.2) | |
4533 | swait() | |
4534 | end | |
4535 | local e = Instance.new("Part") | |
4536 | e.Name = "Effect" | |
4537 | e.BrickColor = BrickColor.new("Really red") | |
4538 | e.Material = "Neon" | |
4539 | smooth(e) | |
4540 | e.Anchored = true | |
4541 | e.CanCollide = false | |
4542 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) | |
4543 | hit.Parent.Head.Anchored = true | |
4544 | local mag = (e.Position-hit.Parent.Head.CFrame.p).magnitude | |
4545 | e.Size = Vector3.new(0.2,0.2,mag) | |
4546 | e.CFrame = CFrame.new(p.CFrame.p, hit.Parent.Head.CFrame.p) *CFrame.new(0,0,-mag/2) *CFrame.Angles(math.rad(180),math.rad(180),math.rad(180)) | |
4547 | e.Parent = workspace | |
4548 | a = function(b, t) | |
4549 | for i,v in pairs(b:children()) do | |
4550 | if v:IsA("Decal") then | |
4551 | v.Transparency = t | |
4552 | end | |
4553 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootpart" then | |
4554 | v.Transparency = t | |
4555 | end | |
4556 | a(v, t) | |
4557 | end | |
4558 | end | |
4559 | a(hit.Parent, 1) | |
4560 | for i,v in pairs(hit.Parent:children()) do | |
4561 | if v:IsA("BasePart") then | |
4562 | local p = Instance.new("Part") | |
4563 | p.Anchored = true | |
4564 | p.CanCollide = false | |
4565 | p.Material = "Neon" | |
4566 | p.Size = v.Size+Vector3.new(0.1,0.1,0.1) | |
4567 | p.CFrame = v.CFrame | |
4568 | p.Name = "notbody" | |
4569 | p.BrickColor = BrickColor.new("Really red") | |
4570 | p.Transparency = 0.6 | |
4571 | p.Parent = hit.Parent | |
4572 | end | |
4573 | end | |
4574 | humanoid.WalkSpeed = 16 | |
4575 | swait(20) | |
4576 | for i,v in pairs(hit.Parent:children()) do | |
4577 | if v.Name == "notbody" then | |
4578 | v:Destroy() | |
4579 | end | |
4580 | end | |
4581 | e:Destroy() | |
4582 | end | |
4583 | p:Destroy() | |
4584 | hand.Transparency = 0 | |
4585 | fixalljoints() | |
4586 | deb = false | |
4587 | end | |
4588 | end) | |
4589 | game.Debris:AddItem(p, 1) | |
4590 | hit.Parent:MoveTo(p.Position) | |
4591 | for i,v in pairs(cons) do | |
4592 | v:disconnect() | |
4593 | end | |
4594 | hit.Parent.Head.Anchored = false | |
4595 | end | |
4596 | end) | |
4597 | end | |
4598 | swait() | |
4599 | end | |
4600 | attacking = false | |
4601 | fixalljoints() | |
4602 | ||
4603 | end | |
4604 | end) |