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