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