SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.PlayerGui) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | print([[ | |
88 | ___________________________________ | |
89 | ||
90 | Kyutatsuki13's Homura script | |
91 | Build 0002.5 | |
92 | Vengeful's custom script request | |
93 | (You must see her boobies lmao) | |
94 | ||
95 | ___________________________________ | |
96 | ]]) | |
97 | ||
98 | warn("200R$ has been spent for this.") | |
99 | ||
100 | ||
101 | - | local p = game:GetService("Players").owner |
101 | + | local p = owner |
102 | local char = p.Character | |
103 | local mouse = p:GetMouse() | |
104 | local larm = char:WaitForChild("Left Arm") | |
105 | local rarm = char:WaitForChild("Right Arm") | |
106 | local lleg = char:WaitForChild("Left Leg") | |
107 | local rleg = char:WaitForChild("Right Leg") | |
108 | local hed = char:WaitForChild("Head") | |
109 | local torso = char:WaitForChild("Torso") | |
110 | local root = char:WaitForChild("HumanoidRootPart") | |
111 | local hum = char:FindFirstChildOfClass("Humanoid") | |
112 | local debris = game:GetService("Debris") | |
113 | local input = game:GetService("UserInputService") | |
114 | local run = game:GetService("RunService") | |
115 | local rs = run.RenderStepped | |
116 | local wingpose = "Idle" | |
117 | local DebrisModel = Instance.new("Model",char) | |
118 | DebrisModel.Name = "Debris" | |
119 | repeat rs:wait() until p.CharacterAppearanceLoaded | |
120 | ||
121 | noidle = false | |
122 | shift = false | |
123 | control = false | |
124 | no_nosound_able = true | |
125 | jumped = false | |
126 | ||
127 | ---------------------------------------------------------------------------- | |
128 | ||
129 | function rswait(value) | |
130 | if value ~= nil and value ~= 0 then | |
131 | for i=1,value do | |
132 | rs:wait() | |
133 | end | |
134 | else | |
135 | rs:wait() | |
136 | end | |
137 | end | |
138 | ||
139 | ---------------------------------------------------------------------------- | |
140 | ||
141 | local timeposition = 0 | |
142 | ||
143 | function music(id) | |
144 | if not torso:FindFirstChild("MusicRuin") then | |
145 | soundz = Instance.new("Sound",torso) | |
146 | end | |
147 | soundz.Volume = 10 | |
148 | soundz.Name = "MusicRuin" | |
149 | soundz.Looped = true | |
150 | soundz.PlaybackSpeed = 1 | |
151 | soundz.SoundId = "rbxassetid://"..id | |
152 | soundz:Stop() | |
153 | soundz:Play() | |
154 | if no_nosound_able == true then | |
155 | soundz.TimePosition = timeposition | |
156 | end | |
157 | end | |
158 | ||
159 | ---------------------------------------------------------------------------- | |
160 | ||
161 | function lerp(a, b, t) | |
162 | return a + (b - a)*t | |
163 | end | |
164 | ||
165 | ---------------------------------------------------------------------------- | |
166 | ||
167 | function Lerp(c1,c2,al) | |
168 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
169 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
170 | for i,v in pairs(com1) do | |
171 | com1[i] = v+(com2[i]-v)*al | |
172 | end | |
173 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
174 | end | |
175 | ||
176 | ---------------------------------------------------------------------------- | |
177 | ||
178 | function slerp(a, b, t) | |
179 | dot = a:Dot(b) | |
180 | if dot > 0.99999 or dot < -0.99999 then | |
181 | return t <= 0.5 and a or b | |
182 | else | |
183 | r = math.acos(dot) | |
184 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
185 | end | |
186 | end | |
187 | ||
188 | ---------------------------------------------------------------------------- | |
189 | ||
190 | function clerp(c1,c2,al) | |
191 | ||
192 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
193 | ||
194 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
195 | ||
196 | for i,v in pairs(com1) do | |
197 | ||
198 | com1[i] = lerp(v,com2[i],al) | |
199 | ||
200 | end | |
201 | ||
202 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
203 | ||
204 | end | |
205 | ||
206 | ---------------------------------------------------------------------------- | |
207 | ||
208 | function findAllNearestTorso(pos,dist) | |
209 | local list = workspace:children() | |
210 | local torso = {} | |
211 | local temp = nil | |
212 | local human = nil | |
213 | local temp2 = nil | |
214 | for x = 1, #list do | |
215 | temp2 = list[x] | |
216 | if (temp2.className == "Model") and (temp2 ~= char) then | |
217 | temp = temp2:findFirstChild("Torso") | |
218 | human = temp2:findFirstChildOfClass("Humanoid") | |
219 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
220 | if (temp.Position - pos).magnitude < dist then | |
221 | table.insert(torso,temp) | |
222 | dist = (temp.Position - pos).magnitude | |
223 | end | |
224 | end | |
225 | end | |
226 | end | |
227 | return torso | |
228 | end | |
229 | ||
230 | ---------------------------------------------------------------------------- | |
231 | ||
232 | function checkIfNotPlayer(model) | |
233 | if model.CanCollide == true and model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel and model ~= wings and model.Parent ~= wings and model.Parent.Parent ~= wings then | |
234 | return true | |
235 | else | |
236 | return false | |
237 | end | |
238 | end | |
239 | ||
240 | ---------------------------------------------------------------------------- | |
241 | ||
242 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
243 | ||
244 | local wld = Instance.new("Weld", wp1) | |
245 | ||
246 | wld.Part0 = wp0 | |
247 | ||
248 | wld.Part1 = wp1 | |
249 | ||
250 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
251 | ||
252 | return wld | |
253 | ||
254 | end | |
255 | ||
256 | function weld(model) | |
257 | local parts,last = {} | |
258 | local function scan(parent) | |
259 | for _,v in pairs(parent:GetChildren()) do | |
260 | if (v:IsA("BasePart")) then | |
261 | if (last) then | |
262 | local w = Instance.new("Weld") | |
263 | w.Name = ("%s_Weld"):format(v.Name) | |
264 | w.Part0,w.Part1 = last,v | |
265 | w.C0 = last.CFrame:inverse() | |
266 | w.C1 = v.CFrame:inverse() | |
267 | w.Parent = last | |
268 | end | |
269 | last = v | |
270 | table.insert(parts,v) | |
271 | end | |
272 | scan(v) | |
273 | end | |
274 | end | |
275 | scan(model) | |
276 | for _,v in pairs(parts) do | |
277 | v.Anchored = false | |
278 | v.Locked = true | |
279 | v.Anchored = false | |
280 | v.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
281 | v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
282 | v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
283 | v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
284 | v.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
285 | v.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
286 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0) | |
287 | end | |
288 | end | |
289 | ||
290 | ---------------------------------------------------------------------------- | |
291 | ||
292 | function calculate(part,asd) | |
293 | local Head = hed | |
294 | local RightShoulder = asd | |
295 | local RightArm = part | |
296 | local MousePosition = mouse.Hit.p | |
297 | local ToMouse = (MousePosition - Head.Position).unit | |
298 | local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0))) | |
299 | local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0))) | |
300 | local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit | |
301 | local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit | |
302 | local LateralAngle = math.acos(ToMouseRightArm:Dot(Look)) | |
303 | if tostring(LateralAngle) == "-1.#IND" then | |
304 | LateralAngle = 0 | |
305 | end | |
306 | local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm) | |
307 | if LateralAngle > (math.pi / 2) then | |
308 | LateralAngle = (math.pi / 2) | |
309 | local Torso = root | |
310 | local Point = Torso.CFrame:vectorToObjectSpace(mouse.Hit.p-Torso.CFrame.p) | |
311 | if Point.Z > 0 then | |
312 | if Point.X > -0 and RightArm == rarm then | |
313 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(110),0) | |
314 | elseif Point.X < 0 and RightArm == rarm then | |
315 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(-110),0) | |
316 | end | |
317 | end | |
318 | end | |
319 | if Cross.Y < 0 then | |
320 | LateralAngle = -LateralAngle | |
321 | end | |
322 | return(CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)) | |
323 | end | |
324 | ||
325 | ---------------------------------------------------------------------------- | |
326 | ||
327 | function random(min,max,multiplied) | |
328 | return math.random(min,max)/multiplied | |
329 | end | |
330 | ||
331 | ---------------------------------------------------------------------------- | |
332 | ||
333 | function sound(id,position,vol,pitch,start,finish) | |
334 | coroutine.resume(coroutine.create(function() | |
335 | ||
336 | local part = Instance.new("Part",workspace) | |
337 | part.Position = position | |
338 | part.Size = Vector3.new(0,0,0) | |
339 | part.CanCollide = false | |
340 | part.Transparency = 1 | |
341 | ||
342 | local sound = Instance.new("Sound",part) | |
343 | ||
344 | sound.SoundId = "rbxassetid://"..id | |
345 | ||
346 | repeat rs:wait() until sound.IsLoaded | |
347 | ||
348 | if vol ~= nil then | |
349 | sound.Volume = vol | |
350 | end | |
351 | ||
352 | if pitch ~= nil then | |
353 | sound.PlaybackSpeed = pitch | |
354 | end | |
355 | ||
356 | if start ~= nil then | |
357 | sound.TimePosition = start | |
358 | end | |
359 | ||
360 | if finish ~= nil then | |
361 | debris:AddItem(part,finish-start) | |
362 | else | |
363 | debris:AddItem(part,sound.TimeLength) | |
364 | end | |
365 | ||
366 | sound:Play() | |
367 | ||
368 | return sound | |
369 | ||
370 | end)) | |
371 | end | |
372 | comboid = {} | |
373 | comboid[1] = 1591834623 | |
374 | comboid[2] = 1591835384 | |
375 | comboid[3] = 1591835860 | |
376 | comboid[4] = 1591836776 | |
377 | comboid[5] = 1591837308 | |
378 | comboid[6] = 1591838011 | |
379 | comboid[7] = 1591838398 | |
380 | comboid[8] = 1591840045 | |
381 | comboid[9] = 1591840538 | |
382 | comboid[10] = 1591841249 | |
383 | ||
384 | combosfx = {} | |
385 | for i=1,10 do | |
386 | local sound = Instance.new("Sound",script) | |
387 | sound.Volume = 5 | |
388 | sound.SoundId = "rbxassetid://"..comboid[i] | |
389 | sound.Name = i | |
390 | combosfx[i] = sound | |
391 | end | |
392 | ---------------------------------------------------------------------------- | |
393 | ||
394 | function computeDirection(vec) | |
395 | local lenSquared = vec.magnitude * vec.magnitude | |
396 | local invSqrt = 1 / math.sqrt(lenSquared) | |
397 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
398 | end | |
399 | ||
400 | ---------------------------------------------------------------------------- | |
401 | local shaking = 0 | |
402 | local cam = workspace.CurrentCamera | |
403 | script.Parent = cam | |
404 | game:GetService("RunService").RenderStepped:connect(function() | |
405 | if not script:FindFirstChild("CameraPosition") then | |
406 | cameraposition = Instance.new("Part",script) | |
407 | cameraposition.Name = "CameraPosition" | |
408 | cameraposition.CanCollide = false | |
409 | cameraposition.Transparency = 1 | |
410 | cameraposition.Anchored = false | |
411 | cameraposition.Size = Vector3.new() | |
412 | camerapositionbp = Instance.new("BodyPosition",cameraposition) | |
413 | camerapositionbp.P = 10000 | |
414 | camerapositionbp.D = 500 | |
415 | camerapositionbg = Instance.new("BodyGyro",cameraposition) | |
416 | camerapositionbg.MaxTorque = Vector3.new(10000,10000,10000) | |
417 | camerapositionbg.D = 500 | |
418 | end | |
419 | local asdfg = cameraposition.RotVelocity.Y*2 | |
420 | if asdfg > 45 then asdfg = 45 end | |
421 | if asdfg < -45 then asdfg = -45 end | |
422 | asdfg = math.rad(asdfg) | |
423 | if script:FindFirstChild("CameraPosition"):FindFirstChildOfClass("BodyPosition") then | |
424 | script:FindFirstChild("CameraPosition"):FindFirstChildOfClass("BodyPosition").Position = root.Position+Vector3.new(0,2,0) | |
425 | end | |
426 | if script:FindFirstChild("CameraPosition"):FindFirstChildOfClass("BodyGyro") then | |
427 | script:FindFirstChild("CameraPosition"):FindFirstChildOfClass("BodyGyro").CFrame = root.CFrame*CFrame.Angles(0,0,asdfg) | |
428 | end | |
429 | cam.CameraSubject = cameraposition | |
430 | cam.CFrame = cam.CFrame * CFrame.new(Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100)) * CFrame.Angles(0,0,asdfg) | |
431 | cam.CameraType = Enum.CameraType.Follow | |
432 | end) | |
433 | ||
434 | function shake(num) if num > shaking then shaking = num end end | |
435 | game:GetService("RunService").RenderStepped:connect(function() | |
436 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100) | |
437 | if shaking > 0 then shaking = shaking - 1 else shaking = 0 end | |
438 | end) | |
439 | ||
440 | plr = game:GetService("Players").LocalPlayer | |
441 | DebrisModel = Instance.new("Model",plr.Character) | |
442 | DebrisModel.Name = "DebrisModel" | |
443 | ||
444 | effect = {} | |
445 | ||
446 | function Effect(mesh,size,transparency,material,color,position,rotation,positionchange,sizechange,rotationchange,transparencychange,acceleration) | |
447 | ||
448 | local part = Instance.new("Part",DebrisModel) | |
449 | part.Anchored = true | |
450 | part.CanCollide = false | |
451 | part.Size = Vector3.new(1,1,1) | |
452 | part.Transparency = transparency | |
453 | part.Material = material | |
454 | part.Color = color | |
455 | part.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(rotation.X),math.rad(rotation.Y),math.rad(rotation.Z)) | |
456 | ||
457 | local partmesh = Instance.new("SpecialMesh",part) | |
458 | if tonumber(mesh) == nil then partmesh.MeshType = mesh else partmesh.MeshId = "rbxassetid://"..mesh end | |
459 | partmesh.Scale = size | |
460 | ||
461 | local pvalue = Instance.new("Vector3Value",part) | |
462 | pvalue.Name = "Position" | |
463 | pvalue.Value = positionchange | |
464 | ||
465 | local svalue = Instance.new("Vector3Value",part) | |
466 | svalue.Name = "Size" | |
467 | svalue.Value = sizechange | |
468 | ||
469 | local rvalue = Instance.new("Vector3Value",part) | |
470 | rvalue.Name = "Rotation" | |
471 | rvalue.Value = rotationchange | |
472 | ||
473 | local tvalue = Instance.new("NumberValue",part) | |
474 | tvalue.Name = "Transparency" | |
475 | tvalue.Value = transparencychange | |
476 | ||
477 | local avalue = Instance.new("NumberValue",part) | |
478 | avalue.Name = "Acceleration" | |
479 | avalue.Value = acceleration | |
480 | ||
481 | part.Name = "EFFECT" | |
482 | ||
483 | table.insert(effect,part) | |
484 | ||
485 | return part | |
486 | ||
487 | end | |
488 | ||
489 | coroutine.resume(coroutine.create(function() | |
490 | while true do rs:wait() | |
491 | ||
492 | if not plr.Character:FindFirstChild("DebrisModel") then | |
493 | DebrisModel = Instance.new("Model",plr.Character) | |
494 | DebrisModel.Name = "DebrisModel" | |
495 | end | |
496 | ||
497 | if #effect > 0 then | |
498 | for i=1,#effect do | |
499 | if effect[i] ~= nil then | |
500 | local v = effect[i] | |
501 | local pvalue = v:FindFirstChild("Position").Value | |
502 | local svalue = v:FindFirstChild("Size").Value | |
503 | local rvalue = v:FindFirstChild("Rotation").Value | |
504 | local tvalue = v:FindFirstChild("Transparency").Value | |
505 | local avalue = v:FindFirstChild("Acceleration").Value | |
506 | local mesh = v:FindFirstChild("Mesh") | |
507 | mesh.Scale = mesh.Scale + svalue | |
508 | v:FindFirstChild("Size").Value = v:FindFirstChild("Size").Value + (Vector3.new(1,1,1)*avalue) | |
509 | v.Transparency = v.Transparency + tvalue | |
510 | v.CFrame = CFrame.new(pvalue)*v.CFrame*CFrame.Angles(math.rad(rvalue.X),math.rad(rvalue.Y),math.rad(rvalue.Z)) | |
511 | if v.Transparency >= 1 or mesh.Scale.X < 0 or mesh.Scale.Y < 0 or mesh.Scale.Z < 0 then | |
512 | v.Parent = nil | |
513 | table.remove(effect,i) | |
514 | end | |
515 | end | |
516 | end | |
517 | end | |
518 | ||
519 | end | |
520 | end)) | |
521 | ||
522 | ---------------------------------------------------------------------------- | |
523 | ||
524 | local WorldUp = Vector3.new(0,1,0) | |
525 | function look2(Vec1,Vec2) | |
526 | local Orig = Vec1 | |
527 | Vec1 = Vec1+Vector3.new(0,1,0) | |
528 | Vec2 = Vec2+Vector3.new(0,1,0) | |
529 | local Forward = (Vec2-Vec1).unit | |
530 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
531 | local Right = Up:Cross(Forward).unit | |
532 | Forward = -Forward | |
533 | Right = -Right | |
534 | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
535 | end | |
536 | ||
537 | function look(CFr,Vec2) | |
538 | local A = Vector3.new(0,0,0) | |
539 | local B = CFr:inverse()*Vec2 | |
540 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
541 | if B.Z > 0 then | |
542 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
543 | elseif B.Z == 0 then | |
544 | if B.Y > 0 then | |
545 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
546 | elseif B.Y < 0 then | |
547 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
548 | else | |
549 | CF = CFr | |
550 | end | |
551 | end | |
552 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
553 | local Up = Vector3.new(X,Y,Z) | |
554 | local Forward = (Vec2-CFr.p).unit | |
555 | local Right = Up:Cross(Forward) | |
556 | Forward = -Forward | |
557 | Right = -Right | |
558 | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
559 | end | |
560 | ||
561 | function simulate(j,d,m,r,t) | |
562 | local joint = j | |
563 | for i,v in ipairs(t) do | |
564 | if v[1]:FindFirstChild("Weld") then | |
565 | local stiff = m.CFrame.lookVector*0.001 | |
566 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
567 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.07,0)+stiff)).unit | |
568 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.07,0)+stiff)).magnitude | |
569 | local pos = joint.p+(dir*(d*0.5)) | |
570 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
571 | local inv = v[1].Weld.Part0.CFrame | |
572 | local rel1 = inv:inverse()*pos | |
573 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
574 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
575 | v[1].Weld.C0 = Lerp(v[1].Weld.C0,cf*CFrame.Angles(math.rad(-360-90),math.rad(0),math.rad(0)),0.4) | |
576 | v[2] = inv*cf | |
577 | --v[1].CFrame = cf | |
578 | end | |
579 | end | |
580 | end | |
581 | ||
582 | ---------------------------------------------------------------------------- | |
583 | skin_color = BrickColor.new("Bright yellow") | |
584 | hed:WaitForChild("face"):Destroy() | |
585 | p:ClearCharacterAppearance() | |
586 | ||
587 | hat = Instance.new("Part",hed) | |
588 | hat.CanCollide = false | |
589 | hat.Color = Color3.fromRGB(40, 40, 40) | |
590 | hatmesh = Instance.new("SpecialMesh",hat) | |
591 | hatmesh.MeshId = "rbxassetid://0" | |
592 | hatmesh.Scale = Vector3.new(0.6,0.6,0.6) | |
593 | newWeld(hed,hat,0,0,0) | |
594 | hat.Weld.C0 = CFrame.new(0,-0.2,0.1)*CFrame.Angles(math.rad(15),math.rad(180),math.rad(0)) | |
595 | ||
596 | hat = Instance.new("Part",hed) | |
597 | hat.CanCollide = false | |
598 | hat.Color = Color3.fromRGB(40, 40, 40) | |
599 | hatmesh = Instance.new("SpecialMesh",hat) | |
600 | hatmesh.MeshId = "rbxassetid://0" | |
601 | hatmesh.Scale = Vector3.new(0.7,0.7,0.7) | |
602 | newWeld(hed,hat,0,0,0) | |
603 | hat.Weld.C0 = CFrame.new(0.12,0.2,0)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
604 | ||
605 | hair={} | |
606 | hairz = Instance.new("Part",hed) | |
607 | hairz.CanCollide = false | |
608 | hairz.Color = Color3.fromRGB(40, 40, 40) | |
609 | hairz.Size = Vector3.new() | |
610 | hatmesh = Instance.new("SpecialMesh",hairz) | |
611 | hatmesh.MeshId = "rbxassetid://0" | |
612 | hatmesh.Scale = Vector3.new(0.3,1,0.3) | |
613 | hairz:BreakJoints() | |
614 | local w = Instance.new("Motor6D",hairz) | |
615 | w.Part0 = hair[1-1] and hair[1-1][1] or torso | |
616 | w.Part1 = hairz | |
617 | w.Name = "Weld" | |
618 | w.C1 = CFrame.new(0,1.2,0.2) | |
619 | w.C1 = w.C1*CFrame.Angles(math.rad(180),math.rad(0),math.rad(180)) | |
620 | hair[1] = {hairz,hairz.CFrame} | |
621 | ||
622 | Model0 = Instance.new("Model") | |
623 | Part1 = Instance.new("Part") | |
624 | Part2 = Instance.new("Part") | |
625 | Part3 = Instance.new("Part") | |
626 | Part4 = Instance.new("Part") | |
627 | Part5 = Instance.new("Part") | |
628 | Part6 = Instance.new("Part") | |
629 | Part7 = Instance.new("Part") | |
630 | Part8 = Instance.new("Part") | |
631 | Part9 = Instance.new("Part") | |
632 | Part10 = Instance.new("Part") | |
633 | Part11 = Instance.new("Part") | |
634 | Part12 = Instance.new("Part") | |
635 | Part13 = Instance.new("Part") | |
636 | Part14 = Instance.new("Part") | |
637 | Model0.Parent = char | |
638 | Part1.Parent = Model0 | |
639 | Part1.Rotation = Vector3.new(0, 0, -15) | |
640 | Part1.Anchored = true | |
641 | Part1.CanCollide = false | |
642 | Part1.Size = Vector3.new(0.199999958, 1.60000002, 0.100000001) | |
643 | Part1.CFrame = CFrame.new(13.3949995, 21.2308884, 6.98250198, 0.965925574, 0.258819729, 0, -0.258819729, 0.965925574, 0, 0, 0, 1) | |
644 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
645 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
646 | Part1.Position = Vector3.new(13.3949995, 21.2308884, 6.98250198) | |
647 | Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
648 | Part2.Parent = Model0 | |
649 | Part2.Rotation = Vector3.new(0, 0, -10) | |
650 | Part2.Anchored = true | |
651 | Part2.CanCollide = false | |
652 | Part2.Size = Vector3.new(0.239999965, 0.13000001, 0.140000015) | |
653 | Part2.CFrame = CFrame.new(13.795537, 21.6192799, 6.98250198, 0.984807611, 0.173648745, 0, -0.173648745, 0.984807611, 0, 0, 0, 1) | |
654 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
655 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
656 | Part2.Position = Vector3.new(13.795537, 21.6192799, 6.98250198) | |
657 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
658 | Part3.Name = "asd" | |
659 | Part3.Parent = Model0 | |
660 | Part3.Transparency = 1 | |
661 | Part3.Anchored = true | |
662 | Part3.CanCollide = false | |
663 | Part3.Size = Vector3.new(2, 2, 1) | |
664 | Part3.CFrame = CFrame.new(14, 21.824646, 6.42750168, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
665 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
666 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
667 | Part3.Position = Vector3.new(14, 21.824646, 6.42750168) | |
668 | Part3.Color = Color3.new(1, 0.8, 0.6) | |
669 | Part4.Parent = Model0 | |
670 | Part4.Rotation = Vector3.new(0, 0, 10) | |
671 | Part4.Anchored = true | |
672 | Part4.CanCollide = false | |
673 | Part4.Size = Vector3.new(0.239999965, 0.13000001, 0.140000015) | |
674 | Part4.CFrame = CFrame.new(14.204463, 21.6192799, 6.98250198, 0.984807611, -0.173648745, 0, 0.173648745, 0.984807611, 0, 0, 0, 1) | |
675 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
676 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
677 | Part4.Position = Vector3.new(14.204463, 21.6192799, 6.98250198) | |
678 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
679 | Part5.Parent = Model0 | |
680 | Part5.Rotation = Vector3.new(0, 0, -25) | |
681 | Part5.Anchored = true | |
682 | Part5.CanCollide = false | |
683 | Part5.Size = Vector3.new(0.199999958, 1.60000002, 0.100000001) | |
684 | Part5.CFrame = CFrame.new(12.9899998, 21.2658882, 6.98250198, 0.906307638, 0.422618568, 0, -0.422618568, 0.906307638, 0, 0, 0, 1) | |
685 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
686 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
687 | Part5.Position = Vector3.new(12.9899998, 21.2658882, 6.98250198) | |
688 | Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
689 | Part6.Parent = Model0 | |
690 | Part6.Rotation = Vector3.new(0, 0, -15) | |
691 | Part6.Anchored = true | |
692 | Part6.CanCollide = false | |
693 | Part6.Size = Vector3.new(0.239999965, 0.13000001, 0.140000015) | |
694 | Part6.CFrame = CFrame.new(13.5075865, 21.6510658, 6.98250198, 0.965925574, 0.258819729, 0, -0.258819729, 0.965925574, 0, 0, 0, 1) | |
695 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
696 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
697 | Part6.Position = Vector3.new(13.5075865, 21.6510658, 6.98250198) | |
698 | Part6.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
699 | Part7.Parent = Model0 | |
700 | Part7.Rotation = Vector3.new(0, 0, 25) | |
701 | Part7.Anchored = true | |
702 | Part7.CanCollide = false | |
703 | Part7.Size = Vector3.new(0.199999958, 1.60000002, 0.100000001) | |
704 | Part7.CFrame = CFrame.new(15.0100002, 21.2658882, 6.98250198, 0.906307638, -0.422618568, 0, 0.422618568, 0.906307638, 0, 0, 0, 1) | |
705 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
706 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
707 | Part7.Position = Vector3.new(15.0100002, 21.2658882, 6.98250198) | |
708 | Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
709 | Part8.Parent = Model0 | |
710 | Part8.Rotation = Vector3.new(0, 0, -25) | |
711 | Part8.Anchored = true | |
712 | Part8.CanCollide = false | |
713 | Part8.Size = Vector3.new(0.239999965, 0.13000001, 0.140000015) | |
714 | Part8.CFrame = CFrame.new(13.1738396, 21.6601334, 6.98250198, 0.906307638, 0.422618568, 0, -0.422618568, 0.906307638, 0, 0, 0, 1) | |
715 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
716 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
717 | Part8.Position = Vector3.new(13.1738396, 21.6601334, 6.98250198) | |
718 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
719 | Part9.Parent = Model0 | |
720 | Part9.Anchored = true | |
721 | Part9.CanCollide = false | |
722 | Part9.Size = Vector3.new(2.06000018, 0.26000005, 1.06000006) | |
723 | Part9.CFrame = CFrame.new(14, 21.6546459, 6.42750168, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
724 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
725 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
726 | Part9.Position = Vector3.new(14, 21.6546459, 6.42750168) | |
727 | Part9.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
728 | Part10.Parent = Model0 | |
729 | Part10.Rotation = Vector3.new(0, 0, 25) | |
730 | Part10.Anchored = true | |
731 | Part10.CanCollide = false | |
732 | Part10.Size = Vector3.new(0.239999965, 0.13000001, 0.140000015) | |
733 | Part10.CFrame = CFrame.new(14.8261604, 21.6601334, 6.98250198, 0.906307638, -0.422618568, 0, 0.422618568, 0.906307638, 0, 0, 0, 1) | |
734 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
735 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
736 | Part10.Position = Vector3.new(14.8261604, 21.6601334, 6.98250198) | |
737 | Part10.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
738 | Part11.Parent = Model0 | |
739 | Part11.Rotation = Vector3.new(0, 0, -10) | |
740 | Part11.Anchored = true | |
741 | Part11.CanCollide = false | |
742 | Part11.Size = Vector3.new(0.199999958, 1.60000002, 0.100000001) | |
743 | Part11.CFrame = CFrame.new(13.7200003, 21.1908894, 6.98250198, 0.984807611, 0.173648745, 0, -0.173648745, 0.984807611, 0, 0, 0, 1) | |
744 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
745 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
746 | Part11.Position = Vector3.new(13.7200003, 21.1908894, 6.98250198) | |
747 | Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
748 | Part12.Parent = Model0 | |
749 | Part12.Rotation = Vector3.new(0, 0, 15) | |
750 | Part12.Anchored = true | |
751 | Part12.CanCollide = false | |
752 | Part12.Size = Vector3.new(0.239999965, 0.13000001, 0.140000015) | |
753 | Part12.CFrame = CFrame.new(14.4924135, 21.6510658, 6.98250198, 0.965925574, -0.258819729, 0, 0.258819729, 0.965925574, 0, 0, 0, 1) | |
754 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
755 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
756 | Part12.Position = Vector3.new(14.4924135, 21.6510658, 6.98250198) | |
757 | Part12.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
758 | Part13.Parent = Model0 | |
759 | Part13.Rotation = Vector3.new(0, 0, 15) | |
760 | Part13.Anchored = true | |
761 | Part13.CanCollide = false | |
762 | Part13.Size = Vector3.new(0.199999958, 1.60000002, 0.100000001) | |
763 | Part13.CFrame = CFrame.new(14.6050005, 21.2308884, 6.98250198, 0.965925574, -0.258819729, 0, 0.258819729, 0.965925574, 0, 0, 0, 1) | |
764 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
765 | Part13.TopSurface = Enum.SurfaceType.Smooth | |
766 | Part13.Position = Vector3.new(14.6050005, 21.2308884, 6.98250198) | |
767 | Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
768 | Part14.Parent = Model0 | |
769 | Part14.Rotation = Vector3.new(0, 0, 10) | |
770 | Part14.Anchored = true | |
771 | Part14.CanCollide = false | |
772 | Part14.Size = Vector3.new(0.199999958, 1.60000002, 0.100000001) | |
773 | Part14.CFrame = CFrame.new(14.2799997, 21.1908894, 6.98250198, 0.984807611, -0.173648745, 0, 0.173648745, 0.984807611, 0, 0, 0, 1) | |
774 | Part14.BottomSurface = Enum.SurfaceType.Smooth | |
775 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
776 | Part14.Position = Vector3.new(14.2799997, 21.1908894, 6.98250198) | |
777 | Part14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
778 | weld(Model0) | |
779 | newWeld(torso,Model0.asd,0,0,0) | |
780 | ||
781 | Model0 = Instance.new("Model") | |
782 | Part1 = Instance.new("Part") | |
783 | SpecialMesh2 = Instance.new("SpecialMesh") | |
784 | Part3 = Instance.new("Part") | |
785 | SpecialMesh4 = Instance.new("SpecialMesh") | |
786 | Part5 = Instance.new("Part") | |
787 | BlockMesh6 = Instance.new("BlockMesh") | |
788 | Part7 = Instance.new("Part") | |
789 | SpecialMesh8 = Instance.new("SpecialMesh") | |
790 | Part9 = Instance.new("Part") | |
791 | Part10 = Instance.new("Part") | |
792 | SpecialMesh11 = Instance.new("SpecialMesh") | |
793 | Part12 = Instance.new("Part") | |
794 | Part13 = Instance.new("Part") | |
795 | BlockMesh14 = Instance.new("BlockMesh") | |
796 | Part15 = Instance.new("Part") | |
797 | WedgePart16 = Instance.new("WedgePart") | |
798 | Part17 = Instance.new("Part") | |
799 | SpecialMesh18 = Instance.new("SpecialMesh") | |
800 | Part19 = Instance.new("Part") | |
801 | SpecialMesh20 = Instance.new("SpecialMesh") | |
802 | Part21 = Instance.new("Part") | |
803 | BlockMesh22 = Instance.new("BlockMesh") | |
804 | Part23 = Instance.new("Part") | |
805 | Part24 = Instance.new("Part") | |
806 | Part25 = Instance.new("Part") | |
807 | BlockMesh26 = Instance.new("BlockMesh") | |
808 | Part27 = Instance.new("Part") | |
809 | Part28 = Instance.new("Part") | |
810 | SpecialMesh29 = Instance.new("SpecialMesh") | |
811 | Part30 = Instance.new("Part") | |
812 | SpecialMesh31 = Instance.new("SpecialMesh") | |
813 | Part32 = Instance.new("Part") | |
814 | Part33 = Instance.new("Part") | |
815 | Part34 = Instance.new("Part") | |
816 | SpecialMesh35 = Instance.new("SpecialMesh") | |
817 | Part36 = Instance.new("Part") | |
818 | SpecialMesh37 = Instance.new("SpecialMesh") | |
819 | Part38 = Instance.new("Part") | |
820 | SpecialMesh39 = Instance.new("SpecialMesh") | |
821 | Part40 = Instance.new("Part") | |
822 | SpecialMesh41 = Instance.new("SpecialMesh") | |
823 | WedgePart42 = Instance.new("WedgePart") | |
824 | Part43 = Instance.new("Part") | |
825 | Part44 = Instance.new("Part") | |
826 | SpecialMesh45 = Instance.new("SpecialMesh") | |
827 | Part46 = Instance.new("Part") | |
828 | Part47 = Instance.new("Part") | |
829 | WedgePart48 = Instance.new("WedgePart") | |
830 | Part49 = Instance.new("Part") | |
831 | SpecialMesh50 = Instance.new("SpecialMesh") | |
832 | Part51 = Instance.new("Part") | |
833 | SpecialMesh52 = Instance.new("SpecialMesh") | |
834 | Part53 = Instance.new("Part") | |
835 | SpecialMesh54 = Instance.new("SpecialMesh") | |
836 | Part55 = Instance.new("Part") | |
837 | BlockMesh56 = Instance.new("BlockMesh") | |
838 | WedgePart57 = Instance.new("WedgePart") | |
839 | Part58 = Instance.new("Part") | |
840 | WedgePart59 = Instance.new("WedgePart") | |
841 | Part60 = Instance.new("Part") | |
842 | SpecialMesh61 = Instance.new("SpecialMesh") | |
843 | Part62 = Instance.new("Part") | |
844 | Part63 = Instance.new("Part") | |
845 | Part64 = Instance.new("Part") | |
846 | SpecialMesh65 = Instance.new("SpecialMesh") | |
847 | Part66 = Instance.new("Part") | |
848 | SpecialMesh67 = Instance.new("SpecialMesh") | |
849 | Part68 = Instance.new("Part") | |
850 | SpecialMesh69 = Instance.new("SpecialMesh") | |
851 | Part70 = Instance.new("Part") | |
852 | SpecialMesh71 = Instance.new("SpecialMesh") | |
853 | Part72 = Instance.new("Part") | |
854 | Part73 = Instance.new("Part") | |
855 | WedgePart74 = Instance.new("WedgePart") | |
856 | Part75 = Instance.new("Part") | |
857 | SpecialMesh76 = Instance.new("SpecialMesh") | |
858 | Part77 = Instance.new("Part") | |
859 | SpecialMesh78 = Instance.new("SpecialMesh") | |
860 | Part79 = Instance.new("Part") | |
861 | Part80 = Instance.new("Part") | |
862 | Part81 = Instance.new("Part") | |
863 | SpecialMesh82 = Instance.new("SpecialMesh") | |
864 | Part83 = Instance.new("Part") | |
865 | BlockMesh84 = Instance.new("BlockMesh") | |
866 | Part85 = Instance.new("Part") | |
867 | BlockMesh86 = Instance.new("BlockMesh") | |
868 | Part87 = Instance.new("Part") | |
869 | BlockMesh88 = Instance.new("BlockMesh") | |
870 | Part89 = Instance.new("Part") | |
871 | BlockMesh90 = Instance.new("BlockMesh") | |
872 | Part91 = Instance.new("Part") | |
873 | Part92 = Instance.new("Part") | |
874 | SpecialMesh93 = Instance.new("SpecialMesh") | |
875 | Part94 = Instance.new("Part") | |
876 | SpecialMesh95 = Instance.new("SpecialMesh") | |
877 | WedgePart96 = Instance.new("WedgePart") | |
878 | Part97 = Instance.new("Part") | |
879 | Part98 = Instance.new("Part") | |
880 | BlockMesh99 = Instance.new("BlockMesh") | |
881 | Part100 = Instance.new("Part") | |
882 | SpecialMesh101 = Instance.new("SpecialMesh") | |
883 | Part102 = Instance.new("Part") | |
884 | SpecialMesh103 = Instance.new("SpecialMesh") | |
885 | Part104 = Instance.new("Part") | |
886 | Part105 = Instance.new("Part") | |
887 | SpecialMesh106 = Instance.new("SpecialMesh") | |
888 | Part107 = Instance.new("Part") | |
889 | SpecialMesh108 = Instance.new("SpecialMesh") | |
890 | Part109 = Instance.new("Part") | |
891 | SpecialMesh110 = Instance.new("SpecialMesh") | |
892 | Part111 = Instance.new("Part") | |
893 | SpecialMesh112 = Instance.new("SpecialMesh") | |
894 | Part113 = Instance.new("Part") | |
895 | SpecialMesh114 = Instance.new("SpecialMesh") | |
896 | Part115 = Instance.new("Part") | |
897 | SpecialMesh116 = Instance.new("SpecialMesh") | |
898 | WedgePart117 = Instance.new("WedgePart") | |
899 | Part118 = Instance.new("Part") | |
900 | Part119 = Instance.new("Part") | |
901 | SpecialMesh120 = Instance.new("SpecialMesh") | |
902 | Part121 = Instance.new("Part") | |
903 | Part122 = Instance.new("Part") | |
904 | SpecialMesh123 = Instance.new("SpecialMesh") | |
905 | Part124 = Instance.new("Part") | |
906 | Model0.Parent = char | |
907 | Part1.Parent = Model0 | |
908 | Part1.Rotation = Vector3.new(-90, 0, -90) | |
909 | Part1.Anchored = true | |
910 | Part1.CanCollide = false | |
911 | Part1.Size = Vector3.new(0.26000008, 0.180000097, 0.770000041) | |
912 | Part1.CFrame = CFrame.new(14.0900002, 23.8749981, -21.4300003, 8.74227837e-08, 0.99999994, -1.31134158e-07, -4.37113741e-08, 1.31134158e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
913 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
914 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
915 | Part1.Position = Vector3.new(14.0900002, 23.8749981, -21.4300003) | |
916 | Part1.Color = Color3.new(1, 0, 0) | |
917 | SpecialMesh2.Parent = Part1 | |
918 | SpecialMesh2.MeshType = Enum.MeshType.Wedge | |
919 | Part3.Parent = Model0 | |
920 | Part3.Rotation = Vector3.new(90, 0, 90) | |
921 | Part3.Anchored = true | |
922 | Part3.CanCollide = false | |
923 | Part3.Size = Vector3.new(0.240000054, 0.190000102, 0.230000004) | |
924 | Part3.CFrame = CFrame.new(13.9049997, 24.3749981, -21.4300003, -8.74227766e-08, -0.99999994, 4.37113847e-08, 4.37113812e-08, -4.37113847e-08, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
925 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
926 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
927 | Part3.Position = Vector3.new(13.9049997, 24.3749981, -21.4300003) | |
928 | Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
929 | SpecialMesh4.Parent = Part3 | |
930 | SpecialMesh4.MeshType = Enum.MeshType.Wedge | |
931 | Part5.Parent = Model0 | |
932 | Part5.Anchored = true | |
933 | Part5.CanCollide = false | |
934 | Part5.Size = Vector3.new(0.110000156, 0.0500000007, 1.24000001) | |
935 | Part5.CFrame = CFrame.new(12.9350004, 22.6999989, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
936 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
937 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
938 | Part5.Position = Vector3.new(12.9350004, 22.6999989, -21) | |
939 | Part5.Color = Color3.new(1, 0, 0) | |
940 | BlockMesh6.Parent = Part5 | |
941 | BlockMesh6.Scale = Vector3.new(1, 0.400000691, 1) | |
942 | BlockMesh6.Scale = Vector3.new(1, 0.400000691, 1) | |
943 | Part7.Parent = Model0 | |
944 | Part7.Rotation = Vector3.new(90, 0, 90) | |
945 | Part7.Anchored = true | |
946 | Part7.CanCollide = false | |
947 | Part7.Size = Vector3.new(0.220000058, 0.190000102, 0.189999998) | |
948 | Part7.CFrame = CFrame.new(14.1350002, 24.4449997, -21.4300003, 8.74227766e-08, -0.99999994, -1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, 0.99999994, 8.74227695e-08, 4.37113954e-08) | |
949 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
950 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
951 | Part7.Position = Vector3.new(14.1350002, 24.4449997, -21.4300003) | |
952 | Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
953 | SpecialMesh8.Parent = Part7 | |
954 | SpecialMesh8.MeshType = Enum.MeshType.Wedge | |
955 | Part9.Parent = Model0 | |
956 | Part9.Anchored = true | |
957 | Part9.CanCollide = false | |
958 | Part9.Size = Vector3.new(0.150000051, 0.170000046, 1.08000004) | |
959 | Part9.CFrame = CFrame.new(14.4949999, 24.664999, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
960 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
961 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
962 | Part9.Position = Vector3.new(14.4949999, 24.664999, -21) | |
963 | Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
964 | Part10.Parent = Model0 | |
965 | Part10.Rotation = Vector3.new(90, 0, 90) | |
966 | Part10.Anchored = true | |
967 | Part10.CanCollide = false | |
968 | Part10.Size = Vector3.new(0.200000048, 0.210000113, 0.209999993) | |
969 | Part10.CFrame = CFrame.new(14.125, 24.4449997, -21.4300003, 8.74227766e-08, -0.99999994, -1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, 0.99999994, 8.74227695e-08, 4.37113954e-08) | |
970 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
971 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
972 | Part10.Position = Vector3.new(14.125, 24.4449997, -21.4300003) | |
973 | Part10.Color = Color3.new(1, 0, 0) | |
974 | SpecialMesh11.Parent = Part10 | |
975 | SpecialMesh11.MeshType = Enum.MeshType.Wedge | |
976 | Part12.Parent = Model0 | |
977 | Part12.Rotation = Vector3.new(-111.040001, -90, 0) | |
978 | Part12.Anchored = true | |
979 | Part12.CanCollide = false | |
980 | Part12.Size = Vector3.new(0.278567731, 0.100000001, 2.02000022) | |
981 | Part12.CFrame = CFrame.new(14, 22.8620491, -20.4866676, 0, -0, -1, 0.933345556, -0.358979136, 0, -0.358979136, -0.933345556, 0) | |
982 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
983 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
984 | Part12.Position = Vector3.new(14, 22.8620491, -20.4866676) | |
985 | Part12.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
986 | Part13.Parent = Model0 | |
987 | Part13.Anchored = true | |
988 | Part13.CanCollide = false | |
989 | Part13.Size = Vector3.new(2.24000025, 0.0500000007, 0.120000005) | |
990 | Part13.CFrame = CFrame.new(14, 22.6999989, -21.5599995, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
991 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
992 | Part13.TopSurface = Enum.SurfaceType.Smooth | |
993 | Part13.Position = Vector3.new(14, 22.6999989, -21.5599995) | |
994 | Part13.Color = Color3.new(1, 0, 0) | |
995 | BlockMesh14.Parent = Part13 | |
996 | BlockMesh14.Scale = Vector3.new(1, 0.400000691, 1) | |
997 | BlockMesh14.Scale = Vector3.new(1, 0.400000691, 1) | |
998 | Part15.Parent = Model0 | |
999 | Part15.Anchored = true | |
1000 | Part15.CanCollide = false | |
1001 | Part15.Size = Vector3.new(0.170000061, 0.170000046, 1.06000006) | |
1002 | Part15.CFrame = CFrame.new(14.4949999, 24.6549988, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1003 | Part15.BottomSurface = Enum.SurfaceType.Smooth | |
1004 | Part15.TopSurface = Enum.SurfaceType.Smooth | |
1005 | Part15.Position = Vector3.new(14.4949999, 24.6549988, -21) | |
1006 | Part15.Color = Color3.new(1, 0, 0) | |
1007 | WedgePart16.Parent = Model0 | |
1008 | WedgePart16.Rotation = Vector3.new(90, 21.039999, 180) | |
1009 | WedgePart16.Anchored = true | |
1010 | WedgePart16.CanCollide = false | |
1011 | WedgePart16.Size = Vector3.new(0.100000001, 0.100000001, 0.278567731) | |
1012 | WedgePart16.CFrame = CFrame.new(15.0133324, 22.8620491, -21.5599995, -0.933345497, -7.21807822e-08, 0.358979225, -0.358979225, 6.59041746e-08, -0.933345497, 4.37113847e-08, -0.99999994, -8.74227695e-08) | |
1013 | WedgePart16.BottomSurface = Enum.SurfaceType.Smooth | |
1014 | WedgePart16.Position = Vector3.new(15.0133324, 22.8620491, -21.5599995) | |
1015 | WedgePart16.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1016 | Part17.Parent = Model0 | |
1017 | Part17.Rotation = Vector3.new(-90, 0, -90) | |
1018 | Part17.Anchored = true | |
1019 | Part17.CanCollide = false | |
1020 | Part17.Size = Vector3.new(0.180000052, 0.360000104, 0.230000004) | |
1021 | Part17.CFrame = CFrame.new(14.4099998, 24.4449997, -21.4300003, 8.74227695e-08, 0.99999994, 4.37113918e-08, -4.37113883e-08, -4.37113847e-08, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1022 | Part17.BottomSurface = Enum.SurfaceType.Smooth | |
1023 | Part17.TopSurface = Enum.SurfaceType.Smooth | |
1024 | Part17.Position = Vector3.new(14.4099998, 24.4449997, -21.4300003) | |
1025 | Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1026 | SpecialMesh18.Parent = Part17 | |
1027 | SpecialMesh18.MeshType = Enum.MeshType.Wedge | |
1028 | Part19.Parent = Model0 | |
1029 | Part19.Rotation = Vector3.new(-90, 0, 90) | |
1030 | Part19.Anchored = true | |
1031 | Part19.CanCollide = false | |
1032 | Part19.Size = Vector3.new(0.240000054, 0.190000102, 0.780000031) | |
1033 | Part19.CFrame = CFrame.new(13.9049997, 23.8699989, -21.4300003, 9.55342711e-15, -0.99999994, -2.18556934e-07, -4.37113883e-08, -2.1855692e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1034 | Part19.BottomSurface = Enum.SurfaceType.Smooth | |
1035 | Part19.TopSurface = Enum.SurfaceType.Smooth | |
1036 | Part19.Position = Vector3.new(13.9049997, 23.8699989, -21.4300003) | |
1037 | Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1038 | SpecialMesh20.Parent = Part19 | |
1039 | SpecialMesh20.MeshType = Enum.MeshType.Wedge | |
1040 | Part21.Parent = Model0 | |
1041 | Part21.Anchored = true | |
1042 | Part21.CanCollide = false | |
1043 | Part21.Size = Vector3.new(0.780000091, 0.220000029, 0.0500000007) | |
1044 | Part21.CFrame = CFrame.new(14.6199999, 24.4399986, -21.4899998, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1045 | Part21.BottomSurface = Enum.SurfaceType.Smooth | |
1046 | Part21.TopSurface = Enum.SurfaceType.Smooth | |
1047 | Part21.Position = Vector3.new(14.6199999, 24.4399986, -21.4899998) | |
1048 | Part21.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1049 | BlockMesh22.Parent = Part21 | |
1050 | BlockMesh22.Scale = Vector3.new(1, 1, 0.799999237) | |
1051 | BlockMesh22.Scale = Vector3.new(1, 1, 0.799999237) | |
1052 | Part23.Parent = Model0 | |
1053 | Part23.Anchored = true | |
1054 | Part23.CanCollide = false | |
1055 | Part23.Size = Vector3.new(2.22000003, 0.100000039, 0.100000001) | |
1056 | Part23.CFrame = CFrame.new(14, 22.6999989, -20.4400005, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1057 | Part23.BottomSurface = Enum.SurfaceType.Smooth | |
1058 | Part23.TopSurface = Enum.SurfaceType.Smooth | |
1059 | Part23.Position = Vector3.new(14, 22.6999989, -20.4400005) | |
1060 | Part23.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1061 | Part24.Parent = Model0 | |
1062 | Part24.Anchored = true | |
1063 | Part24.CanCollide = false | |
1064 | Part24.Size = Vector3.new(2.02000022, 0.220000029, 0.179999933) | |
1065 | Part24.CFrame = CFrame.new(14, 24.4399986, -20.5799999, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1066 | Part24.BottomSurface = Enum.SurfaceType.Smooth | |
1067 | Part24.TopSurface = Enum.SurfaceType.Smooth | |
1068 | Part24.Position = Vector3.new(14, 24.4399986, -20.5799999) | |
1069 | Part24.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1070 | Part25.Parent = Model0 | |
1071 | Part25.Anchored = true | |
1072 | Part25.CanCollide = false | |
1073 | Part25.Size = Vector3.new(2.24000025, 0.0500000007, 0.120000005) | |
1074 | Part25.CFrame = CFrame.new(14, 22.6999989, -20.4400005, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1075 | Part25.BottomSurface = Enum.SurfaceType.Smooth | |
1076 | Part25.TopSurface = Enum.SurfaceType.Smooth | |
1077 | Part25.Position = Vector3.new(14, 22.6999989, -20.4400005) | |
1078 | Part25.Color = Color3.new(1, 0, 0) | |
1079 | BlockMesh26.Parent = Part25 | |
1080 | BlockMesh26.Scale = Vector3.new(1, 0.400000691, 1) | |
1081 | BlockMesh26.Scale = Vector3.new(1, 0.400000691, 1) | |
1082 | Part27.Parent = Model0 | |
1083 | Part27.Anchored = true | |
1084 | Part27.CanCollide = false | |
1085 | Part27.Size = Vector3.new(1.18000007, 0.440000057, 0.100000001) | |
1086 | Part27.CFrame = CFrame.new(14, 24.5099983, -20.5300007, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1087 | Part27.BottomSurface = Enum.SurfaceType.Smooth | |
1088 | Part27.TopSurface = Enum.SurfaceType.Smooth | |
1089 | Part27.Position = Vector3.new(14, 24.5099983, -20.5300007) | |
1090 | Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1091 | Part28.Parent = Model0 | |
1092 | Part28.Rotation = Vector3.new(-90, 0, -90) | |
1093 | Part28.Anchored = true | |
1094 | Part28.CanCollide = false | |
1095 | Part28.Size = Vector3.new(0.220000058, 0.300000101, 0.189999983) | |
1096 | Part28.CFrame = CFrame.new(14.3800001, 24.4449997, -21.4300003, 8.74227695e-08, 0.99999994, 4.37113918e-08, -4.37113883e-08, -4.37113847e-08, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1097 | Part28.BottomSurface = Enum.SurfaceType.Smooth | |
1098 | Part28.TopSurface = Enum.SurfaceType.Smooth | |
1099 | Part28.Position = Vector3.new(14.3800001, 24.4449997, -21.4300003) | |
1100 | Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1101 | SpecialMesh29.Parent = Part28 | |
1102 | SpecialMesh29.MeshType = Enum.MeshType.Wedge | |
1103 | Part30.Parent = Model0 | |
1104 | Part30.Rotation = Vector3.new(90, 0, 90) | |
1105 | Part30.Anchored = true | |
1106 | Part30.CanCollide = false | |
1107 | Part30.Size = Vector3.new(0.240000054, 0.160000086, 0.330000013) | |
1108 | Part30.CFrame = CFrame.new(13.9200001, 23.7549992, -21.4300003, -8.74227908e-08, -0.99999994, 2.18556934e-07, 4.3711367e-08, -2.1855692e-07, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1109 | Part30.BottomSurface = Enum.SurfaceType.Smooth | |
1110 | Part30.TopSurface = Enum.SurfaceType.Smooth | |
1111 | Part30.Position = Vector3.new(13.9200001, 23.7549992, -21.4300003) | |
1112 | Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1113 | SpecialMesh31.Parent = Part30 | |
1114 | SpecialMesh31.MeshType = Enum.MeshType.Wedge | |
1115 | Part32.Parent = Model0 | |
1116 | Part32.Anchored = true | |
1117 | Part32.CanCollide = false | |
1118 | Part32.Size = Vector3.new(0.150000051, 0.170000046, 1.08000004) | |
1119 | Part32.CFrame = CFrame.new(13.5050001, 24.664999, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1120 | Part32.BottomSurface = Enum.SurfaceType.Smooth | |
1121 | Part32.TopSurface = Enum.SurfaceType.Smooth | |
1122 | Part32.Position = Vector3.new(13.5050001, 24.664999, -21) | |
1123 | Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1124 | Part33.Name = "asd" | |
1125 | Part33.Parent = Model0 | |
1126 | Part33.Transparency = 1 | |
1127 | Part33.Anchored = true | |
1128 | Part33.CanCollide = false | |
1129 | Part33.Size = Vector3.new(2, 2, 1) | |
1130 | Part33.CFrame = CFrame.new(14, 23.7099991, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1131 | Part33.BottomSurface = Enum.SurfaceType.Smooth | |
1132 | Part33.TopSurface = Enum.SurfaceType.Smooth | |
1133 | Part33.Position = Vector3.new(14, 23.7099991, -21) | |
1134 | Part33.Color = Color3.new(1, 0.8, 0.6) | |
1135 | Part34.Parent = Model0 | |
1136 | Part34.Rotation = Vector3.new(90, 0, 90) | |
1137 | Part34.Anchored = true | |
1138 | Part34.CanCollide = false | |
1139 | Part34.Size = Vector3.new(0.180000052, 0.230000094, 0.230000004) | |
1140 | Part34.CFrame = CFrame.new(14.1149998, 24.4449997, -21.4300003, 8.74227766e-08, -0.99999994, -1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, 0.99999994, 8.74227695e-08, 4.37113954e-08) | |
1141 | Part34.BottomSurface = Enum.SurfaceType.Smooth | |
1142 | Part34.TopSurface = Enum.SurfaceType.Smooth | |
1143 | Part34.Position = Vector3.new(14.1149998, 24.4449997, -21.4300003) | |
1144 | Part34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1145 | SpecialMesh35.Parent = Part34 | |
1146 | SpecialMesh35.MeshType = Enum.MeshType.Wedge | |
1147 | Part36.Parent = Model0 | |
1148 | Part36.Rotation = Vector3.new(-90, 0, 90) | |
1149 | Part36.Anchored = true | |
1150 | Part36.CanCollide = false | |
1151 | Part36.Size = Vector3.new(0.26000008, 0.15000008, 0.160000011) | |
1152 | Part36.CFrame = CFrame.new(13.9250002, 23.5099983, -21.4300003, 1.71961681e-14, -0.99999994, -3.93402502e-07, -4.37113883e-08, -3.93402445e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1153 | Part36.BottomSurface = Enum.SurfaceType.Smooth | |
1154 | Part36.TopSurface = Enum.SurfaceType.Smooth | |
1155 | Part36.Position = Vector3.new(13.9250002, 23.5099983, -21.4300003) | |
1156 | Part36.Color = Color3.new(1, 0, 0) | |
1157 | SpecialMesh37.Parent = Part36 | |
1158 | SpecialMesh37.MeshType = Enum.MeshType.Wedge | |
1159 | Part38.Parent = Model0 | |
1160 | Part38.Rotation = Vector3.new(-90, 0, 90) | |
1161 | Part38.Anchored = true | |
1162 | Part38.CanCollide = false | |
1163 | Part38.Size = Vector3.new(0.280000061, 0.170000091, 0.76000005) | |
1164 | Part38.CFrame = CFrame.new(13.915, 23.8799992, -21.4300003, 9.55342711e-15, -0.99999994, -2.18556934e-07, -4.37113883e-08, -2.1855692e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1165 | Part38.BottomSurface = Enum.SurfaceType.Smooth | |
1166 | Part38.TopSurface = Enum.SurfaceType.Smooth | |
1167 | Part38.Position = Vector3.new(13.915, 23.8799992, -21.4300003) | |
1168 | Part38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1169 | SpecialMesh39.Parent = Part38 | |
1170 | SpecialMesh39.MeshType = Enum.MeshType.Wedge | |
1171 | Part40.Parent = Model0 | |
1172 | Part40.Rotation = Vector3.new(-90, 0, 90) | |
1173 | Part40.Anchored = true | |
1174 | Part40.CanCollide = false | |
1175 | Part40.Size = Vector3.new(0.240000054, 0.160000086, 0.170000017) | |
1176 | Part40.CFrame = CFrame.new(13.9200001, 23.5049992, -21.4300003, 1.71961681e-14, -0.99999994, -3.93402502e-07, -4.37113883e-08, -3.93402445e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1177 | Part40.BottomSurface = Enum.SurfaceType.Smooth | |
1178 | Part40.TopSurface = Enum.SurfaceType.Smooth | |
1179 | Part40.Position = Vector3.new(13.9200001, 23.5049992, -21.4300003) | |
1180 | Part40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1181 | SpecialMesh41.Parent = Part40 | |
1182 | SpecialMesh41.MeshType = Enum.MeshType.Wedge | |
1183 | WedgePart42.Parent = Model0 | |
1184 | WedgePart42.Rotation = Vector3.new(0, 0, -21.039999) | |
1185 | WedgePart42.Anchored = true | |
1186 | WedgePart42.CanCollide = false | |
1187 | WedgePart42.Size = Vector3.new(0.100000001, 0.278567731, 0.100000195) | |
1188 | WedgePart42.CFrame = CFrame.new(12.9866676, 22.8620491, -21.5599995, 0.933345556, 0.358979166, -5.02127051e-08, -0.358979166, 0.933345556, 1.12978611e-07, 8.74227837e-08, -8.74227695e-08, 1) | |
1189 | WedgePart42.BottomSurface = Enum.SurfaceType.Smooth | |
1190 | WedgePart42.Position = Vector3.new(12.9866676, 22.8620491, -21.5599995) | |
1191 | WedgePart42.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1192 | Part43.Parent = Model0 | |
1193 | Part43.Rotation = Vector3.new(0, 0, 111.040001) | |
1194 | Part43.Anchored = true | |
1195 | Part43.CanCollide = false | |
1196 | Part43.Size = Vector3.new(0.278567731, 0.100000001, 1.01999998) | |
1197 | Part43.CFrame = CFrame.new(15.0133324, 22.8620491, -21, -0.358979106, -0.933345556, 0, 0.933345497, -0.358979136, 0, 0, -0, 0.99999994) | |
1198 | Part43.BottomSurface = Enum.SurfaceType.Smooth | |
1199 | Part43.TopSurface = Enum.SurfaceType.Smooth | |
1200 | Part43.Position = Vector3.new(15.0133324, 22.8620491, -21) | |
1201 | Part43.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1202 | Part44.Parent = Model0 | |
1203 | Part44.Rotation = Vector3.new(90, 0, -90) | |
1204 | Part44.Anchored = true | |
1205 | Part44.CanCollide = false | |
1206 | Part44.Size = Vector3.new(0.240000054, 0.160000086, 0.330000013) | |
1207 | Part44.CFrame = CFrame.new(14.0799999, 23.7549992, -21.4300003, -1.33747976e-14, 0.99999994, 3.05979711e-07, 4.37113883e-08, 3.05979682e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1208 | Part44.BottomSurface = Enum.SurfaceType.Smooth | |
1209 | Part44.TopSurface = Enum.SurfaceType.Smooth | |
1210 | Part44.Position = Vector3.new(14.0799999, 23.7549992, -21.4300003) | |
1211 | Part44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1212 | SpecialMesh45.Parent = Part44 | |
1213 | SpecialMesh45.MeshType = Enum.MeshType.Wedge | |
1214 | Part46.Parent = Model0 | |
1215 | Part46.Anchored = true | |
1216 | Part46.CanCollide = false | |
1217 | Part46.Size = Vector3.new(1.13999999, 0.120000005, 0.0500000007) | |
1218 | Part46.CFrame = CFrame.new(14, 24.3699989, -20.4850006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1219 | Part46.BottomSurface = Enum.SurfaceType.Smooth | |
1220 | Part46.TopSurface = Enum.SurfaceType.Smooth | |
1221 | Part46.Position = Vector3.new(14, 24.3699989, -20.4850006) | |
1222 | Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1223 | Part47.Parent = Model0 | |
1224 | Part47.Anchored = true | |
1225 | Part47.CanCollide = false | |
1226 | Part47.Size = Vector3.new(0.600000083, 0.390000045, 1.01999998) | |
1227 | Part47.CFrame = CFrame.new(13.29, 24.5249996, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1228 | Part47.BottomSurface = Enum.SurfaceType.Smooth | |
1229 | Part47.TopSurface = Enum.SurfaceType.Smooth | |
1230 | Part47.Position = Vector3.new(13.29, 24.5249996, -21) | |
1231 | Part47.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1232 | WedgePart48.Parent = Model0 | |
1233 | WedgePart48.Rotation = Vector3.new(21.039999, -90, 0) | |
1234 | WedgePart48.Anchored = true | |
1235 | WedgePart48.CanCollide = false | |
1236 | WedgePart48.Size = Vector3.new(0.100000001, 0.278567731, 0.100000001) | |
1237 | WedgePart48.CFrame = CFrame.new(15.0600004, 22.8620491, -21.5133324, -8.74227837e-08, 8.74227695e-08, -1, -0.358979166, 0.933345556, 1.12978611e-07, 0.933345556, 0.358979166, -5.02127051e-08) | |
1238 | WedgePart48.BottomSurface = Enum.SurfaceType.Smooth | |
1239 | WedgePart48.Position = Vector3.new(15.0600004, 22.8620491, -21.5133324) | |
1240 | WedgePart48.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1241 | Part49.Parent = Model0 | |
1242 | Part49.Rotation = Vector3.new(-90, 0, 90) | |
1243 | Part49.Anchored = true | |
1244 | Part49.CanCollide = false | |
1245 | Part49.Size = Vector3.new(0.220000058, 0.300000101, 0.189999983) | |
1246 | Part49.CFrame = CFrame.new(13.6199999, 24.4449997, -21.4300003, 1.91068547e-15, -0.99999994, -4.37113883e-08, -4.37113883e-08, -4.37113847e-08, 1, -0.99999994, 0, -4.37113847e-08) | |
1247 | Part49.BottomSurface = Enum.SurfaceType.Smooth | |
1248 | Part49.TopSurface = Enum.SurfaceType.Smooth | |
1249 | Part49.Position = Vector3.new(13.6199999, 24.4449997, -21.4300003) | |
1250 | Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1251 | SpecialMesh50.Parent = Part49 | |
1252 | SpecialMesh50.MeshType = Enum.MeshType.Wedge | |
1253 | Part51.Parent = Model0 | |
1254 | Part51.Rotation = Vector3.new(-90, 0, 90) | |
1255 | Part51.Anchored = true | |
1256 | Part51.CanCollide = false | |
1257 | Part51.Size = Vector3.new(0.180000052, 0.360000104, 0.230000004) | |
1258 | Part51.CFrame = CFrame.new(13.5900002, 24.4449997, -21.4300003, 1.91068547e-15, -0.99999994, -4.37113883e-08, -4.37113883e-08, -4.37113847e-08, 1, -0.99999994, 0, -4.37113847e-08) | |
1259 | Part51.BottomSurface = Enum.SurfaceType.Smooth | |
1260 | Part51.TopSurface = Enum.SurfaceType.Smooth | |
1261 | Part51.Position = Vector3.new(13.5900002, 24.4449997, -21.4300003) | |
1262 | Part51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1263 | SpecialMesh52.Parent = Part51 | |
1264 | SpecialMesh52.MeshType = Enum.MeshType.Wedge | |
1265 | Part53.Parent = Model0 | |
1266 | Part53.Rotation = Vector3.new(-90, 0, -90) | |
1267 | Part53.Anchored = true | |
1268 | Part53.CanCollide = false | |
1269 | Part53.Size = Vector3.new(0.26000008, 0.15000008, 0.160000011) | |
1270 | Part53.CFrame = CFrame.new(14.0749998, 23.5099983, -21.4300003, 8.74227979e-08, 0.99999994, -3.05979711e-07, -4.37113599e-08, 3.05979682e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1271 | Part53.BottomSurface = Enum.SurfaceType.Smooth | |
1272 | Part53.TopSurface = Enum.SurfaceType.Smooth | |
1273 | Part53.Position = Vector3.new(14.0749998, 23.5099983, -21.4300003) | |
1274 | Part53.Color = Color3.new(1, 0, 0) | |
1275 | SpecialMesh54.Parent = Part53 | |
1276 | SpecialMesh54.MeshType = Enum.MeshType.Wedge | |
1277 | Part55.Parent = Model0 | |
1278 | Part55.Anchored = true | |
1279 | Part55.CanCollide = false | |
1280 | Part55.Size = Vector3.new(0.78000015, 0.220000029, 0.0500000007) | |
1281 | Part55.CFrame = CFrame.new(13.3800001, 24.4399986, -21.4899998, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1282 | Part55.BottomSurface = Enum.SurfaceType.Smooth | |
1283 | Part55.TopSurface = Enum.SurfaceType.Smooth | |
1284 | Part55.Position = Vector3.new(13.3800001, 24.4399986, -21.4899998) | |
1285 | Part55.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1286 | BlockMesh56.Parent = Part55 | |
1287 | BlockMesh56.Scale = Vector3.new(1, 1, 0.799999237) | |
1288 | BlockMesh56.Scale = Vector3.new(1, 1, 0.799999237) | |
1289 | WedgePart57.Parent = Model0 | |
1290 | WedgePart57.Rotation = Vector3.new(-21.039999, 90, 0) | |
1291 | WedgePart57.Anchored = true | |
1292 | WedgePart57.CanCollide = false | |
1293 | WedgePart57.Size = Vector3.new(0.100000001, 0.278567731, 0.100000001) | |
1294 | WedgePart57.CFrame = CFrame.new(12.9399996, 22.8620491, -20.4866676, 8.74227837e-08, -8.74227695e-08, 1, -0.358979166, 0.933345556, 1.12978611e-07, -0.933345556, -0.358979166, 5.02127051e-08) | |
1295 | WedgePart57.BottomSurface = Enum.SurfaceType.Smooth | |
1296 | WedgePart57.Position = Vector3.new(12.9399996, 22.8620491, -20.4866676) | |
1297 | WedgePart57.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1298 | Part58.Parent = Model0 | |
1299 | Part58.Anchored = true | |
1300 | Part58.CanCollide = false | |
1301 | Part58.Size = Vector3.new(0.150000051, 0.440000027, 0.0500000007) | |
1302 | Part58.CFrame = CFrame.new(14.4949999, 24.5299988, -20.4850006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1303 | Part58.BottomSurface = Enum.SurfaceType.Smooth | |
1304 | Part58.TopSurface = Enum.SurfaceType.Smooth | |
1305 | Part58.Position = Vector3.new(14.4949999, 24.5299988, -20.4850006) | |
1306 | Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1307 | WedgePart59.Parent = Model0 | |
1308 | WedgePart59.Rotation = Vector3.new(68.9599991, 0, -90) | |
1309 | WedgePart59.Anchored = true | |
1310 | WedgePart59.CanCollide = false | |
1311 | WedgePart59.Size = Vector3.new(0.100000001, 0.100000001, 0.278567731) | |
1312 | WedgePart59.CFrame = CFrame.new(15.0600004, 22.8620491, -20.4866676, -4.37113847e-08, 0.99999994, 8.74227695e-08, -0.358979225, 6.59041746e-08, -0.933345497, -0.933345497, -7.21807822e-08, 0.358979225) | |
1313 | WedgePart59.BottomSurface = Enum.SurfaceType.Smooth | |
1314 | WedgePart59.Position = Vector3.new(15.0600004, 22.8620491, -20.4866676) | |
1315 | WedgePart59.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1316 | Part60.Parent = Model0 | |
1317 | Part60.Rotation = Vector3.new(90, 0, -90) | |
1318 | Part60.Anchored = true | |
1319 | Part60.CanCollide = false | |
1320 | Part60.Size = Vector3.new(0.26000008, 0.180000097, 0.209999993) | |
1321 | Part60.CFrame = CFrame.new(14.0900002, 24.3649979, -21.4300003, -5.73205661e-15, 0.99999994, 1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1322 | Part60.BottomSurface = Enum.SurfaceType.Smooth | |
1323 | Part60.TopSurface = Enum.SurfaceType.Smooth | |
1324 | Part60.Position = Vector3.new(14.0900002, 24.3649979, -21.4300003) | |
1325 | Part60.Color = Color3.new(1, 0, 0) | |
1326 | SpecialMesh61.Parent = Part60 | |
1327 | SpecialMesh61.MeshType = Enum.MeshType.Wedge | |
1328 | Part62.Parent = Model0 | |
1329 | Part62.Anchored = true | |
1330 | Part62.CanCollide = false | |
1331 | Part62.Size = Vector3.new(0.190000057, 0.170000046, 1.04000008) | |
1332 | Part62.CFrame = CFrame.new(14.4949999, 24.6449986, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1333 | Part62.BottomSurface = Enum.SurfaceType.Smooth | |
1334 | Part62.TopSurface = Enum.SurfaceType.Smooth | |
1335 | Part62.Position = Vector3.new(14.4949999, 24.6449986, -21) | |
1336 | Part62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1337 | Part63.Parent = Model0 | |
1338 | Part63.Anchored = true | |
1339 | Part63.CanCollide = false | |
1340 | Part63.Size = Vector3.new(2.22000003, 0.100000039, 0.100000001) | |
1341 | Part63.CFrame = CFrame.new(14, 22.6999989, -21.5599995, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1342 | Part63.BottomSurface = Enum.SurfaceType.Smooth | |
1343 | Part63.TopSurface = Enum.SurfaceType.Smooth | |
1344 | Part63.Position = Vector3.new(14, 22.6999989, -21.5599995) | |
1345 | Part63.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1346 | Part64.Parent = Model0 | |
1347 | Part64.Rotation = Vector3.new(-90, 0, -90) | |
1348 | Part64.Anchored = true | |
1349 | Part64.CanCollide = false | |
1350 | Part64.Size = Vector3.new(0.280000061, 0.170000091, 0.76000005) | |
1351 | Part64.CFrame = CFrame.new(14.085, 23.8799992, -21.4300003, 8.74227837e-08, 0.99999994, -1.31134158e-07, -4.37113741e-08, 1.31134158e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1352 | Part64.BottomSurface = Enum.SurfaceType.Smooth | |
1353 | Part64.TopSurface = Enum.SurfaceType.Smooth | |
1354 | Part64.Position = Vector3.new(14.085, 23.8799992, -21.4300003) | |
1355 | Part64.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1356 | SpecialMesh65.Parent = Part64 | |
1357 | SpecialMesh65.MeshType = Enum.MeshType.Wedge | |
1358 | Part66.Parent = Model0 | |
1359 | Part66.Rotation = Vector3.new(90, 0, 90) | |
1360 | Part66.Anchored = true | |
1361 | Part66.CanCollide = false | |
1362 | Part66.Size = Vector3.new(0.26000008, 0.180000097, 0.209999993) | |
1363 | Part66.CFrame = CFrame.new(13.9099998, 24.3649979, -21.4300003, -8.74227766e-08, -0.99999994, 4.37113847e-08, 4.37113812e-08, -4.37113847e-08, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1364 | Part66.BottomSurface = Enum.SurfaceType.Smooth | |
1365 | Part66.TopSurface = Enum.SurfaceType.Smooth | |
1366 | Part66.Position = Vector3.new(13.9099998, 24.3649979, -21.4300003) | |
1367 | Part66.Color = Color3.new(1, 0, 0) | |
1368 | SpecialMesh67.Parent = Part66 | |
1369 | SpecialMesh67.MeshType = Enum.MeshType.Wedge | |
1370 | Part68.Parent = Model0 | |
1371 | Part68.Rotation = Vector3.new(90, 0, -90) | |
1372 | Part68.Anchored = true | |
1373 | Part68.CanCollide = false | |
1374 | Part68.Size = Vector3.new(0.26000008, 0.15000008, 0.320000023) | |
1375 | Part68.CFrame = CFrame.new(14.0749998, 23.75, -21.4300003, -1.33747976e-14, 0.99999994, 3.05979711e-07, 4.37113883e-08, 3.05979682e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1376 | Part68.BottomSurface = Enum.SurfaceType.Smooth | |
1377 | Part68.TopSurface = Enum.SurfaceType.Smooth | |
1378 | Part68.Position = Vector3.new(14.0749998, 23.75, -21.4300003) | |
1379 | Part68.Color = Color3.new(1, 0, 0) | |
1380 | SpecialMesh69.Parent = Part68 | |
1381 | SpecialMesh69.MeshType = Enum.MeshType.Wedge | |
1382 | Part70.Parent = Model0 | |
1383 | Part70.Rotation = Vector3.new(-90, 0, 90) | |
1384 | Part70.Anchored = true | |
1385 | Part70.CanCollide = false | |
1386 | Part70.Size = Vector3.new(0.26000008, 0.180000097, 0.770000041) | |
1387 | Part70.CFrame = CFrame.new(13.9099998, 23.8749981, -21.4300003, 9.55342711e-15, -0.99999994, -2.18556934e-07, -4.37113883e-08, -2.1855692e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1388 | Part70.BottomSurface = Enum.SurfaceType.Smooth | |
1389 | Part70.TopSurface = Enum.SurfaceType.Smooth | |
1390 | Part70.Position = Vector3.new(13.9099998, 23.8749981, -21.4300003) | |
1391 | Part70.Color = Color3.new(1, 0, 0) | |
1392 | SpecialMesh71.Parent = Part70 | |
1393 | SpecialMesh71.MeshType = Enum.MeshType.Wedge | |
1394 | Part72.Parent = Model0 | |
1395 | Part72.Rotation = Vector3.new(-180, 0, -68.9599991) | |
1396 | Part72.Anchored = true | |
1397 | Part72.CanCollide = false | |
1398 | Part72.Size = Vector3.new(0.278567731, 0.100000001, 1.01999998) | |
1399 | Part72.CFrame = CFrame.new(12.9866676, 22.8620491, -21, 0.358979106, 0.933345556, 0, 0.933345497, -0.358979136, 0, 0, 0, -0.99999994) | |
1400 | Part72.BottomSurface = Enum.SurfaceType.Smooth | |
1401 | Part72.TopSurface = Enum.SurfaceType.Smooth | |
1402 | Part72.Position = Vector3.new(12.9866676, 22.8620491, -21) | |
1403 | Part72.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1404 | Part73.Parent = Model0 | |
1405 | Part73.Rotation = Vector3.new(111.040001, 90, 0) | |
1406 | Part73.Anchored = true | |
1407 | Part73.CanCollide = false | |
1408 | Part73.Size = Vector3.new(0.278567731, 0.100000001, 2.02000022) | |
1409 | Part73.CFrame = CFrame.new(14, 22.8620491, -21.5133324, 0, 0, 1, 0.933345556, -0.358979136, 0, 0.358979136, 0.933345556, 0) | |
1410 | Part73.BottomSurface = Enum.SurfaceType.Smooth | |
1411 | Part73.TopSurface = Enum.SurfaceType.Smooth | |
1412 | Part73.Position = Vector3.new(14, 22.8620491, -21.5133324) | |
1413 | Part73.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1414 | WedgePart74.Parent = Model0 | |
1415 | WedgePart74.Rotation = Vector3.new(90, -21.039999, 0) | |
1416 | WedgePart74.Anchored = true | |
1417 | WedgePart74.CanCollide = false | |
1418 | WedgePart74.Size = Vector3.new(0.100000001, 0.100000001, 0.278567731) | |
1419 | WedgePart74.CFrame = CFrame.new(12.9866676, 22.8620491, -20.4400005, 0.933345497, 7.21807822e-08, -0.358979225, -0.358979225, 6.59041746e-08, -0.933345497, -4.37113847e-08, 0.99999994, 8.74227695e-08) | |
1420 | WedgePart74.BottomSurface = Enum.SurfaceType.Smooth | |
1421 | WedgePart74.Position = Vector3.new(12.9866676, 22.8620491, -20.4400005) | |
1422 | WedgePart74.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1423 | Part75.Parent = Model0 | |
1424 | Part75.Rotation = Vector3.new(90, 0, -90) | |
1425 | Part75.Anchored = true | |
1426 | Part75.CanCollide = false | |
1427 | Part75.Size = Vector3.new(0.280000061, 0.170000091, 0.199999988) | |
1428 | Part75.CFrame = CFrame.new(14.085, 24.3599987, -21.4300003, -5.73205661e-15, 0.99999994, 1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1429 | Part75.BottomSurface = Enum.SurfaceType.Smooth | |
1430 | Part75.TopSurface = Enum.SurfaceType.Smooth | |
1431 | Part75.Position = Vector3.new(14.085, 24.3599987, -21.4300003) | |
1432 | Part75.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1433 | SpecialMesh76.Parent = Part75 | |
1434 | SpecialMesh76.MeshType = Enum.MeshType.Wedge | |
1435 | Part77.Parent = Model0 | |
1436 | Part77.Rotation = Vector3.new(90, 0, -90) | |
1437 | Part77.Anchored = true | |
1438 | Part77.CanCollide = false | |
1439 | Part77.Size = Vector3.new(0.240000054, 0.190000102, 0.230000004) | |
1440 | Part77.CFrame = CFrame.new(14.0950003, 24.3749981, -21.4300003, -5.73205661e-15, 0.99999994, 1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1441 | Part77.BottomSurface = Enum.SurfaceType.Smooth | |
1442 | Part77.TopSurface = Enum.SurfaceType.Smooth | |
1443 | Part77.Position = Vector3.new(14.0950003, 24.3749981, -21.4300003) | |
1444 | Part77.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1445 | SpecialMesh78.Parent = Part77 | |
1446 | SpecialMesh78.MeshType = Enum.MeshType.Wedge | |
1447 | Part79.Parent = Model0 | |
1448 | Part79.Anchored = true | |
1449 | Part79.CanCollide = false | |
1450 | Part79.Size = Vector3.new(0.0900001526, 0.100000039, 1.22000003) | |
1451 | Part79.CFrame = CFrame.new(12.9350004, 22.6999989, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1452 | Part79.BottomSurface = Enum.SurfaceType.Smooth | |
1453 | Part79.TopSurface = Enum.SurfaceType.Smooth | |
1454 | Part79.Position = Vector3.new(12.9350004, 22.6999989, -21) | |
1455 | Part79.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1456 | Part80.Parent = Model0 | |
1457 | Part80.Anchored = true | |
1458 | Part80.CanCollide = false | |
1459 | Part80.Size = Vector3.new(0.170000061, 0.170000046, 1.06000006) | |
1460 | Part80.CFrame = CFrame.new(13.5050001, 24.6549988, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1461 | Part80.BottomSurface = Enum.SurfaceType.Smooth | |
1462 | Part80.TopSurface = Enum.SurfaceType.Smooth | |
1463 | Part80.Position = Vector3.new(13.5050001, 24.6549988, -21) | |
1464 | Part80.Color = Color3.new(1, 0, 0) | |
1465 | Part81.Parent = Model0 | |
1466 | Part81.Rotation = Vector3.new(-90, 0, -90) | |
1467 | Part81.Anchored = true | |
1468 | Part81.CanCollide = false | |
1469 | Part81.Size = Vector3.new(0.240000054, 0.160000086, 0.170000017) | |
1470 | Part81.CFrame = CFrame.new(14.0799999, 23.5049992, -21.4300003, 8.74227979e-08, 0.99999994, -3.05979711e-07, -4.37113599e-08, 3.05979682e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1471 | Part81.BottomSurface = Enum.SurfaceType.Smooth | |
1472 | Part81.TopSurface = Enum.SurfaceType.Smooth | |
1473 | Part81.Position = Vector3.new(14.0799999, 23.5049992, -21.4300003) | |
1474 | Part81.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1475 | SpecialMesh82.Parent = Part81 | |
1476 | SpecialMesh82.MeshType = Enum.MeshType.Wedge | |
1477 | Part83.Parent = Model0 | |
1478 | Part83.Anchored = true | |
1479 | Part83.CanCollide = false | |
1480 | Part83.Size = Vector3.new(0.120000005, 0.0500000007, 1.24000001) | |
1481 | Part83.CFrame = CFrame.new(15.0600004, 22.6999989, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1482 | Part83.BottomSurface = Enum.SurfaceType.Smooth | |
1483 | Part83.TopSurface = Enum.SurfaceType.Smooth | |
1484 | Part83.Position = Vector3.new(15.0600004, 22.6999989, -21) | |
1485 | Part83.Color = Color3.new(1, 0, 0) | |
1486 | BlockMesh84.Parent = Part83 | |
1487 | BlockMesh84.Scale = Vector3.new(1, 0.400000691, 1) | |
1488 | BlockMesh84.Scale = Vector3.new(1, 0.400000691, 1) | |
1489 | Part85.Parent = Model0 | |
1490 | Part85.Anchored = true | |
1491 | Part85.CanCollide = false | |
1492 | Part85.Size = Vector3.new(1.16000009, 0.140000015, 0.0500000007) | |
1493 | Part85.CFrame = CFrame.new(14, 24.3699989, -20.4850006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1494 | Part85.BottomSurface = Enum.SurfaceType.Smooth | |
1495 | Part85.TopSurface = Enum.SurfaceType.Smooth | |
1496 | Part85.Position = Vector3.new(14, 24.3699989, -20.4850006) | |
1497 | Part85.Color = Color3.new(1, 0, 0) | |
1498 | BlockMesh86.Parent = Part85 | |
1499 | BlockMesh86.Scale = Vector3.new(1, 1, 0.600000381) | |
1500 | BlockMesh86.Scale = Vector3.new(1, 1, 0.600000381) | |
1501 | Part87.Parent = Model0 | |
1502 | Part87.Anchored = true | |
1503 | Part87.CanCollide = false | |
1504 | Part87.Size = Vector3.new(0.170000061, 0.440000027, 0.0500000007) | |
1505 | Part87.CFrame = CFrame.new(13.5050001, 24.5199986, -20.4850006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1506 | Part87.BottomSurface = Enum.SurfaceType.Smooth | |
1507 | Part87.TopSurface = Enum.SurfaceType.Smooth | |
1508 | Part87.Position = Vector3.new(13.5050001, 24.5199986, -20.4850006) | |
1509 | Part87.Color = Color3.new(1, 0, 0) | |
1510 | BlockMesh88.Parent = Part87 | |
1511 | BlockMesh88.Scale = Vector3.new(1, 1, 0.600000381) | |
1512 | BlockMesh88.Scale = Vector3.new(1, 1, 0.600000381) | |
1513 | Part89.Parent = Model0 | |
1514 | Part89.Anchored = true | |
1515 | Part89.CanCollide = false | |
1516 | Part89.Size = Vector3.new(0.239999965, 0.0500000007, 1) | |
1517 | Part89.CFrame = CFrame.new(14, 22.704998, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1518 | Part89.BottomSurface = Enum.SurfaceType.Smooth | |
1519 | Part89.TopSurface = Enum.SurfaceType.Smooth | |
1520 | Part89.Position = Vector3.new(14, 22.704998, -21) | |
1521 | Part89.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1522 | BlockMesh90.Parent = Part89 | |
1523 | BlockMesh90.Scale = Vector3.new(1, 0.200000763, 1) | |
1524 | BlockMesh90.Scale = Vector3.new(1, 0.200000763, 1) | |
1525 | Part91.Parent = Model0 | |
1526 | Part91.Anchored = true | |
1527 | Part91.CanCollide = false | |
1528 | Part91.Size = Vector3.new(2.02000022, 0.100000039, 1.01999998) | |
1529 | Part91.CFrame = CFrame.new(14, 23.0599995, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1530 | Part91.BottomSurface = Enum.SurfaceType.Smooth | |
1531 | Part91.TopSurface = Enum.SurfaceType.Smooth | |
1532 | Part91.Position = Vector3.new(14, 23.0599995, -21) | |
1533 | Part91.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1534 | Part92.Parent = Model0 | |
1535 | Part92.Rotation = Vector3.new(-90, 0, -90) | |
1536 | Part92.Anchored = true | |
1537 | Part92.CanCollide = false | |
1538 | Part92.Size = Vector3.new(0.200000048, 0.330000103, 0.209999993) | |
1539 | Part92.CFrame = CFrame.new(14.3949995, 24.4449997, -21.4300003, 8.74227695e-08, 0.99999994, 4.37113918e-08, -4.37113883e-08, -4.37113847e-08, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1540 | Part92.BottomSurface = Enum.SurfaceType.Smooth | |
1541 | Part92.TopSurface = Enum.SurfaceType.Smooth | |
1542 | Part92.Position = Vector3.new(14.3949995, 24.4449997, -21.4300003) | |
1543 | Part92.Color = Color3.new(1, 0, 0) | |
1544 | SpecialMesh93.Parent = Part92 | |
1545 | SpecialMesh93.MeshType = Enum.MeshType.Wedge | |
1546 | Part94.Parent = Model0 | |
1547 | Part94.Rotation = Vector3.new(90, 0, 90) | |
1548 | Part94.Anchored = true | |
1549 | Part94.CanCollide = false | |
1550 | Part94.Size = Vector3.new(0.26000008, 0.15000008, 0.320000023) | |
1551 | Part94.CFrame = CFrame.new(13.9250002, 23.75, -21.4300003, -8.74227908e-08, -0.99999994, 2.18556934e-07, 4.3711367e-08, -2.1855692e-07, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1552 | Part94.BottomSurface = Enum.SurfaceType.Smooth | |
1553 | Part94.TopSurface = Enum.SurfaceType.Smooth | |
1554 | Part94.Position = Vector3.new(13.9250002, 23.75, -21.4300003) | |
1555 | Part94.Color = Color3.new(1, 0, 0) | |
1556 | SpecialMesh95.Parent = Part94 | |
1557 | SpecialMesh95.MeshType = Enum.MeshType.Wedge | |
1558 | WedgePart96.Parent = Model0 | |
1559 | WedgePart96.Rotation = Vector3.new(-180, 0, 158.959991) | |
1560 | WedgePart96.Anchored = true | |
1561 | WedgePart96.CanCollide = false | |
1562 | WedgePart96.Size = Vector3.new(0.100000001, 0.278567731, 0.100000195) | |
1563 | WedgePart96.CFrame = CFrame.new(15.0133324, 22.8620491, -20.4400005, -0.933345556, -0.358979166, 5.02127051e-08, -0.358979166, 0.933345556, 1.12978611e-07, -8.74227837e-08, 8.74227695e-08, -1) | |
1564 | WedgePart96.BottomSurface = Enum.SurfaceType.Smooth | |
1565 | WedgePart96.Position = Vector3.new(15.0133324, 22.8620491, -20.4400005) | |
1566 | WedgePart96.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1567 | Part97.Parent = Model0 | |
1568 | Part97.Anchored = true | |
1569 | Part97.CanCollide = false | |
1570 | Part97.Size = Vector3.new(0.100000001, 0.100000039, 1.22000003) | |
1571 | Part97.CFrame = CFrame.new(15.0600004, 22.6999989, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1572 | Part97.BottomSurface = Enum.SurfaceType.Smooth | |
1573 | Part97.TopSurface = Enum.SurfaceType.Smooth | |
1574 | Part97.Position = Vector3.new(15.0600004, 22.6999989, -21) | |
1575 | Part97.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1576 | Part98.Parent = Model0 | |
1577 | Part98.Anchored = true | |
1578 | Part98.CanCollide = false | |
1579 | Part98.Size = Vector3.new(0.170000061, 0.440000027, 0.0500000007) | |
1580 | Part98.CFrame = CFrame.new(14.4949999, 24.5199986, -20.4850006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1581 | Part98.BottomSurface = Enum.SurfaceType.Smooth | |
1582 | Part98.TopSurface = Enum.SurfaceType.Smooth | |
1583 | Part98.Position = Vector3.new(14.4949999, 24.5199986, -20.4850006) | |
1584 | Part98.Color = Color3.new(1, 0, 0) | |
1585 | BlockMesh99.Parent = Part98 | |
1586 | BlockMesh99.Scale = Vector3.new(1, 1, 0.600000381) | |
1587 | BlockMesh99.Scale = Vector3.new(1, 1, 0.600000381) | |
1588 | Part100.Parent = Model0 | |
1589 | Part100.Rotation = Vector3.new(-90, 0, 90) | |
1590 | Part100.Anchored = true | |
1591 | Part100.CanCollide = false | |
1592 | Part100.Size = Vector3.new(0.200000048, 0.330000103, 0.209999993) | |
1593 | Part100.CFrame = CFrame.new(13.6049995, 24.4449997, -21.4300003, 1.91068547e-15, -0.99999994, -4.37113883e-08, -4.37113883e-08, -4.37113847e-08, 1, -0.99999994, 0, -4.37113847e-08) | |
1594 | Part100.BottomSurface = Enum.SurfaceType.Smooth | |
1595 | Part100.TopSurface = Enum.SurfaceType.Smooth | |
1596 | Part100.Position = Vector3.new(13.6049995, 24.4449997, -21.4300003) | |
1597 | Part100.Color = Color3.new(1, 0, 0) | |
1598 | SpecialMesh101.Parent = Part100 | |
1599 | SpecialMesh101.MeshType = Enum.MeshType.Wedge | |
1600 | Part102.Parent = Model0 | |
1601 | Part102.Rotation = Vector3.new(90, 0, -90) | |
1602 | Part102.Anchored = true | |
1603 | Part102.CanCollide = false | |
1604 | Part102.Size = Vector3.new(0.220000058, 0.190000102, 0.189999998) | |
1605 | Part102.CFrame = CFrame.new(13.8649998, 24.4449997, -21.4300003, -5.73205661e-15, 0.99999994, 1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1606 | Part102.BottomSurface = Enum.SurfaceType.Smooth | |
1607 | Part102.TopSurface = Enum.SurfaceType.Smooth | |
1608 | Part102.Position = Vector3.new(13.8649998, 24.4449997, -21.4300003) | |
1609 | Part102.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1610 | SpecialMesh103.Parent = Part102 | |
1611 | SpecialMesh103.MeshType = Enum.MeshType.Wedge | |
1612 | Part104.Parent = Model0 | |
1613 | Part104.Anchored = true | |
1614 | Part104.CanCollide = false | |
1615 | Part104.Size = Vector3.new(0.150000051, 0.440000027, 0.0500000007) | |
1616 | Part104.CFrame = CFrame.new(13.5050001, 24.5299988, -20.4850006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1617 | Part104.BottomSurface = Enum.SurfaceType.Smooth | |
1618 | Part104.TopSurface = Enum.SurfaceType.Smooth | |
1619 | Part104.Position = Vector3.new(13.5050001, 24.5299988, -20.4850006) | |
1620 | Part104.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1621 | Part105.Parent = Model0 | |
1622 | Part105.Rotation = Vector3.new(-90, 0, -90) | |
1623 | Part105.Anchored = true | |
1624 | Part105.CanCollide = false | |
1625 | Part105.Size = Vector3.new(0.240000054, 0.190000102, 0.780000031) | |
1626 | Part105.CFrame = CFrame.new(14.0950003, 23.8699989, -21.4300003, 8.74227837e-08, 0.99999994, -1.31134158e-07, -4.37113741e-08, 1.31134158e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1627 | Part105.BottomSurface = Enum.SurfaceType.Smooth | |
1628 | Part105.TopSurface = Enum.SurfaceType.Smooth | |
1629 | Part105.Position = Vector3.new(14.0950003, 23.8699989, -21.4300003) | |
1630 | Part105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1631 | SpecialMesh106.Parent = Part105 | |
1632 | SpecialMesh106.MeshType = Enum.MeshType.Wedge | |
1633 | Part107.Parent = Model0 | |
1634 | Part107.Rotation = Vector3.new(90, 0, -90) | |
1635 | Part107.Anchored = true | |
1636 | Part107.CanCollide = false | |
1637 | Part107.Size = Vector3.new(0.200000048, 0.210000113, 0.209999993) | |
1638 | Part107.CFrame = CFrame.new(13.875, 24.4449997, -21.4300003, -5.73205661e-15, 0.99999994, 1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1639 | Part107.BottomSurface = Enum.SurfaceType.Smooth | |
1640 | Part107.TopSurface = Enum.SurfaceType.Smooth | |
1641 | Part107.Position = Vector3.new(13.875, 24.4449997, -21.4300003) | |
1642 | Part107.Color = Color3.new(1, 0, 0) | |
1643 | SpecialMesh108.Parent = Part107 | |
1644 | SpecialMesh108.MeshType = Enum.MeshType.Wedge | |
1645 | Part109.Parent = Model0 | |
1646 | Part109.Rotation = Vector3.new(-90, 0, 90) | |
1647 | Part109.Anchored = true | |
1648 | Part109.CanCollide = false | |
1649 | Part109.Size = Vector3.new(0.280000061, 0.14000009, 0.150000021) | |
1650 | Part109.CFrame = CFrame.new(13.9300003, 23.5149994, -21.4300003, 1.71961681e-14, -0.99999994, -3.93402502e-07, -4.37113883e-08, -3.93402445e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1651 | Part109.BottomSurface = Enum.SurfaceType.Smooth | |
1652 | Part109.TopSurface = Enum.SurfaceType.Smooth | |
1653 | Part109.Position = Vector3.new(13.9300003, 23.5149994, -21.4300003) | |
1654 | Part109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1655 | SpecialMesh110.Parent = Part109 | |
1656 | SpecialMesh110.MeshType = Enum.MeshType.Wedge | |
1657 | Part111.Parent = Model0 | |
1658 | Part111.Rotation = Vector3.new(90, 0, -90) | |
1659 | Part111.Anchored = true | |
1660 | Part111.CanCollide = false | |
1661 | Part111.Size = Vector3.new(0.280000061, 0.14000009, 0.310000032) | |
1662 | Part111.CFrame = CFrame.new(14.0699997, 23.7449989, -21.4300003, -1.33747976e-14, 0.99999994, 3.05979711e-07, 4.37113883e-08, 3.05979682e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1663 | Part111.BottomSurface = Enum.SurfaceType.Smooth | |
1664 | Part111.TopSurface = Enum.SurfaceType.Smooth | |
1665 | Part111.Position = Vector3.new(14.0699997, 23.7449989, -21.4300003) | |
1666 | Part111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1667 | SpecialMesh112.Parent = Part111 | |
1668 | SpecialMesh112.MeshType = Enum.MeshType.Wedge | |
1669 | Part113.Parent = Model0 | |
1670 | Part113.Rotation = Vector3.new(90, 0, 90) | |
1671 | Part113.Anchored = true | |
1672 | Part113.CanCollide = false | |
1673 | Part113.Size = Vector3.new(0.280000061, 0.14000009, 0.310000032) | |
1674 | Part113.CFrame = CFrame.new(13.9300003, 23.7449989, -21.4300003, -8.74227908e-08, -0.99999994, 2.18556934e-07, 4.3711367e-08, -2.1855692e-07, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1675 | Part113.BottomSurface = Enum.SurfaceType.Smooth | |
1676 | Part113.TopSurface = Enum.SurfaceType.Smooth | |
1677 | Part113.Position = Vector3.new(13.9300003, 23.7449989, -21.4300003) | |
1678 | Part113.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1679 | SpecialMesh114.Parent = Part113 | |
1680 | SpecialMesh114.MeshType = Enum.MeshType.Wedge | |
1681 | Part115.Parent = Model0 | |
1682 | Part115.Rotation = Vector3.new(-90, 0, -90) | |
1683 | Part115.Anchored = true | |
1684 | Part115.CanCollide = false | |
1685 | Part115.Size = Vector3.new(0.280000061, 0.14000009, 0.150000021) | |
1686 | Part115.CFrame = CFrame.new(14.0699997, 23.5149994, -21.4300003, 8.74227979e-08, 0.99999994, -3.05979711e-07, -4.37113599e-08, 3.05979682e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1687 | Part115.BottomSurface = Enum.SurfaceType.Smooth | |
1688 | Part115.TopSurface = Enum.SurfaceType.Smooth | |
1689 | Part115.Position = Vector3.new(14.0699997, 23.5149994, -21.4300003) | |
1690 | Part115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1691 | SpecialMesh116.Parent = Part115 | |
1692 | SpecialMesh116.MeshType = Enum.MeshType.Wedge | |
1693 | WedgePart117.Parent = Model0 | |
1694 | WedgePart117.Rotation = Vector3.new(111.040001, 0, 90) | |
1695 | WedgePart117.Anchored = true | |
1696 | WedgePart117.CanCollide = false | |
1697 | WedgePart117.Size = Vector3.new(0.100000001, 0.100000001, 0.278567731) | |
1698 | WedgePart117.CFrame = CFrame.new(12.9399996, 22.8620491, -21.5133324, 4.37113847e-08, -0.99999994, -8.74227695e-08, -0.358979225, 6.59041746e-08, -0.933345497, 0.933345497, 7.21807822e-08, -0.358979225) | |
1699 | WedgePart117.BottomSurface = Enum.SurfaceType.Smooth | |
1700 | WedgePart117.Position = Vector3.new(12.9399996, 22.8620491, -21.5133324) | |
1701 | WedgePart117.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1702 | Part118.Parent = Model0 | |
1703 | Part118.Anchored = true | |
1704 | Part118.CanCollide = false | |
1705 | Part118.Size = Vector3.new(0.600000083, 0.390000045, 1.01999998) | |
1706 | Part118.CFrame = CFrame.new(14.71, 24.5249996, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1707 | Part118.BottomSurface = Enum.SurfaceType.Smooth | |
1708 | Part118.TopSurface = Enum.SurfaceType.Smooth | |
1709 | Part118.Position = Vector3.new(14.71, 24.5249996, -21) | |
1710 | Part118.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1711 | Part119.Parent = Model0 | |
1712 | Part119.Rotation = Vector3.new(90, 0, 90) | |
1713 | Part119.Anchored = true | |
1714 | Part119.CanCollide = false | |
1715 | Part119.Size = Vector3.new(0.280000061, 0.170000091, 0.199999988) | |
1716 | Part119.CFrame = CFrame.new(13.915, 24.3599987, -21.4300003, -8.74227766e-08, -0.99999994, 4.37113847e-08, 4.37113812e-08, -4.37113847e-08, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1717 | Part119.BottomSurface = Enum.SurfaceType.Smooth | |
1718 | Part119.TopSurface = Enum.SurfaceType.Smooth | |
1719 | Part119.Position = Vector3.new(13.915, 24.3599987, -21.4300003) | |
1720 | Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1721 | SpecialMesh120.Parent = Part119 | |
1722 | SpecialMesh120.MeshType = Enum.MeshType.Wedge | |
1723 | Part121.Parent = Model0 | |
1724 | Part121.Anchored = true | |
1725 | Part121.CanCollide = false | |
1726 | Part121.Size = Vector3.new(0.190000057, 0.170000046, 1.04000008) | |
1727 | Part121.CFrame = CFrame.new(13.5050001, 24.6449986, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1728 | Part121.BottomSurface = Enum.SurfaceType.Smooth | |
1729 | Part121.TopSurface = Enum.SurfaceType.Smooth | |
1730 | Part121.Position = Vector3.new(13.5050001, 24.6449986, -21) | |
1731 | Part121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1732 | Part122.Parent = Model0 | |
1733 | Part122.Rotation = Vector3.new(90, 0, -90) | |
1734 | Part122.Anchored = true | |
1735 | Part122.CanCollide = false | |
1736 | Part122.Size = Vector3.new(0.180000052, 0.230000094, 0.230000004) | |
1737 | Part122.CFrame = CFrame.new(13.8850002, 24.4449997, -21.4300003, -5.73205661e-15, 0.99999994, 1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1738 | Part122.BottomSurface = Enum.SurfaceType.Smooth | |
1739 | Part122.TopSurface = Enum.SurfaceType.Smooth | |
1740 | Part122.Position = Vector3.new(13.8850002, 24.4449997, -21.4300003) | |
1741 | Part122.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1742 | SpecialMesh123.Parent = Part122 | |
1743 | SpecialMesh123.MeshType = Enum.MeshType.Wedge | |
1744 | Part124.Parent = Model0 | |
1745 | Part124.Anchored = true | |
1746 | Part124.CanCollide = false | |
1747 | Part124.Size = Vector3.new(2.02000022, 0.870000005, 1.01999998) | |
1748 | Part124.CFrame = CFrame.new(14, 23.8949986, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1749 | Part124.BottomSurface = Enum.SurfaceType.Smooth | |
1750 | Part124.TopSurface = Enum.SurfaceType.Smooth | |
1751 | Part124.Position = Vector3.new(14, 23.8949986, -21) | |
1752 | Part124.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1753 | weld(Model0) | |
1754 | newWeld(torso,Model0.asd,0,0,0) | |
1755 | ||
1756 | Model0 = Instance.new("Model") | |
1757 | Part1 = Instance.new("Part") | |
1758 | Part2 = Instance.new("Part") | |
1759 | Part3 = Instance.new("Part") | |
1760 | Part4 = Instance.new("Part") | |
1761 | Part5 = Instance.new("Part") | |
1762 | Model0.Parent = char | |
1763 | Part1.Name = "asd" | |
1764 | Part1.Parent = Model0 | |
1765 | Part1.Transparency = 1 | |
1766 | Part1.Anchored = true | |
1767 | Part1.CanCollide = false | |
1768 | Part1.Size = Vector3.new(1, 2, 1) | |
1769 | Part1.CFrame = CFrame.new(-42.0999985, 23.5749989, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1770 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
1771 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
1772 | Part1.Position = Vector3.new(-42.0999985, 23.5749989, -21) | |
1773 | Part1.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1774 | Part2.Parent = Model0 | |
1775 | Part2.Anchored = true | |
1776 | Part2.CanCollide = false | |
1777 | Part2.Size = Vector3.new(1.01999998, 0.28000012, 1.01999998) | |
1778 | Part2.CFrame = CFrame.new(-42.0999985, 22.7049999, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1779 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
1780 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
1781 | Part2.Position = Vector3.new(-42.0999985, 22.7049999, -21) | |
1782 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
1783 | Part3.Parent = Model0 | |
1784 | Part3.Anchored = true | |
1785 | Part3.CanCollide = false | |
1786 | Part3.Size = Vector3.new(1.01999998, 0.320000112, 0.180000022) | |
1787 | Part3.CFrame = CFrame.new(-42.0999985, 22.6849995, -20.5799999, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1788 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
1789 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
1790 | Part3.Position = Vector3.new(-42.0999985, 22.6849995, -20.5799999) | |
1791 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
1792 | Part4.Parent = Model0 | |
1793 | Part4.Anchored = true | |
1794 | Part4.CanCollide = false | |
1795 | Part4.Size = Vector3.new(1.01999998, 0.320000112, 0.629999995) | |
1796 | Part4.CFrame = CFrame.new(-42.0999985, 22.6849995, -21.1949997, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1797 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
1798 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
1799 | Part4.Position = Vector3.new(-42.0999985, 22.6849995, -21.1949997) | |
1800 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
1801 | Part5.Parent = Model0 | |
1802 | Part5.Anchored = true | |
1803 | Part5.CanCollide = false | |
1804 | Part5.Size = Vector3.new(1.03999996, 0.51000005, 1.03999996) | |
1805 | Part5.CFrame = CFrame.new(-42.0999985, 23.0899982, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1806 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
1807 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
1808 | Part5.Position = Vector3.new(-42.0999985, 23.0899982, -21) | |
1809 | Part5.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1810 | weld(Model0) | |
1811 | Model1 = Model0:Clone() | |
1812 | Model1.Parent = char | |
1813 | newWeld(lleg,Model0.asd,0,0,0) | |
1814 | newWeld(rleg,Model1.asd,0,0,0) | |
1815 | ||
1816 | Model0 = Instance.new("Model") | |
1817 | Part1 = Instance.new("Part") | |
1818 | SpecialMesh2 = Instance.new("SpecialMesh") | |
1819 | Part3 = Instance.new("Part") | |
1820 | Part4 = Instance.new("Part") | |
1821 | Part5 = Instance.new("Part") | |
1822 | BlockMesh6 = Instance.new("BlockMesh") | |
1823 | Part7 = Instance.new("Part") | |
1824 | BlockMesh8 = Instance.new("BlockMesh") | |
1825 | Part9 = Instance.new("Part") | |
1826 | Part10 = Instance.new("Part") | |
1827 | SpecialMesh11 = Instance.new("SpecialMesh") | |
1828 | Part12 = Instance.new("Part") | |
1829 | SpecialMesh13 = Instance.new("SpecialMesh") | |
1830 | Part14 = Instance.new("Part") | |
1831 | Part15 = Instance.new("Part") | |
1832 | BlockMesh16 = Instance.new("BlockMesh") | |
1833 | Part17 = Instance.new("Part") | |
1834 | SpecialMesh18 = Instance.new("SpecialMesh") | |
1835 | Part19 = Instance.new("Part") | |
1836 | Model0.Parent = char | |
1837 | Part1.Parent = Model0 | |
1838 | Part1.Anchored = true | |
1839 | Part1.CanCollide = false | |
1840 | Part1.Size = Vector3.new(0.0500000007, 0.230000004, 0.239999995) | |
1841 | Part1.CFrame = CFrame.new(-16.0599995, 23.1539993, -21.1100006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1842 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
1843 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
1844 | Part1.Position = Vector3.new(-16.0599995, 23.1539993, -21.1100006) | |
1845 | Part1.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
1846 | SpecialMesh2.Parent = Part1 | |
1847 | SpecialMesh2.Scale = Vector3.new(0.600000739, 1, 1) | |
1848 | SpecialMesh2.MeshType = Enum.MeshType.Cylinder | |
1849 | SpecialMesh2.Scale = Vector3.new(0.600000739, 1, 1) | |
1850 | Part3.Parent = Model0 | |
1851 | Part3.Anchored = true | |
1852 | Part3.CanCollide = false | |
1853 | Part3.Size = Vector3.new(0.580000103, 0.25, 1.01999998) | |
1854 | Part3.CFrame = CFrame.new(-15.7650003, 22.914999, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1855 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
1856 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
1857 | Part3.Position = Vector3.new(-15.7650003, 22.914999, -21) | |
1858 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
1859 | Part4.Name = "asd" | |
1860 | Part4.Parent = Model0 | |
1861 | Part4.Transparency = 1 | |
1862 | Part4.Anchored = true | |
1863 | Part4.CanCollide = false | |
1864 | Part4.Size = Vector3.new(1, 2, 1) | |
1865 | Part4.CFrame = CFrame.new(-15.5450001, 23.7999992, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1866 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
1867 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
1868 | Part4.Position = Vector3.new(-15.5450001, 23.7999992, -21) | |
1869 | Part4.Color = Color3.new(1, 0.8, 0.6) | |
1870 | Part5.Parent = Model0 | |
1871 | Part5.Anchored = true | |
1872 | Part5.CanCollide = false | |
1873 | Part5.Size = Vector3.new(1.0200001, 0.0500000007, 1.01999998) | |
1874 | Part5.CFrame = CFrame.new(-15.5450001, 23.6299992, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1875 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
1876 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
1877 | Part5.Position = Vector3.new(-15.5450001, 23.6299992, -21) | |
1878 | Part5.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1879 | BlockMesh6.Parent = Part5 | |
1880 | BlockMesh6.Scale = Vector3.new(1, 0.800000191, 1) | |
1881 | BlockMesh6.Scale = Vector3.new(1, 0.800000191, 1) | |
1882 | Part7.Parent = Model0 | |
1883 | Part7.Anchored = true | |
1884 | Part7.CanCollide = false | |
1885 | Part7.Size = Vector3.new(1.0200001, 0.0500000007, 1.01999998) | |
1886 | Part7.CFrame = CFrame.new(-15.5450001, 23.5799999, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1887 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
1888 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
1889 | Part7.Position = Vector3.new(-15.5450001, 23.5799999, -21) | |
1890 | Part7.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1891 | BlockMesh8.Parent = Part7 | |
1892 | BlockMesh8.Scale = Vector3.new(1, 0.800000191, 1) | |
1893 | BlockMesh8.Scale = Vector3.new(1, 0.800000191, 1) | |
1894 | Part9.Parent = Model0 | |
1895 | Part9.Anchored = true | |
1896 | Part9.CanCollide = false | |
1897 | Part9.Size = Vector3.new(1.04000008, 0.290000021, 1.03999996) | |
1898 | Part9.CFrame = CFrame.new(-15.5450001, 24.0049992, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1899 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
1900 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
1901 | Part9.Position = Vector3.new(-15.5450001, 24.0049992, -21) | |
1902 | Part9.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1903 | Part10.Parent = Model0 | |
1904 | Part10.Anchored = true | |
1905 | Part10.CanCollide = false | |
1906 | Part10.Size = Vector3.new(0.0500000007, 0.230000004, 0.239999995) | |
1907 | Part10.CFrame = CFrame.new(-16.0599995, 23.1759987, -20.8899994, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1908 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
1909 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
1910 | Part10.Position = Vector3.new(-16.0599995, 23.1759987, -20.8899994) | |
1911 | Part10.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
1912 | SpecialMesh11.Parent = Part10 | |
1913 | SpecialMesh11.Scale = Vector3.new(0.600000739, 1, 1) | |
1914 | SpecialMesh11.MeshType = Enum.MeshType.Cylinder | |
1915 | SpecialMesh11.Scale = Vector3.new(0.600000739, 1, 1) | |
1916 | Part12.Parent = Model0 | |
1917 | Part12.Material = Enum.Material.Neon | |
1918 | Part12.Anchored = true | |
1919 | Part12.CanCollide = false | |
1920 | Part12.Size = Vector3.new(0.0500000007, 0.25, 0.25999999) | |
1921 | Part12.CFrame = CFrame.new(-16.0599995, 23.164999, -21.1100006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1922 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
1923 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
1924 | Part12.Position = Vector3.new(-16.0599995, 23.164999, -21.1100006) | |
1925 | Part12.Color = Color3.new(0, 1, 0) | |
1926 | SpecialMesh13.Parent = Part12 | |
1927 | SpecialMesh13.Scale = Vector3.new(0.200000763, 1, 1) | |
1928 | SpecialMesh13.MeshType = Enum.MeshType.Cylinder | |
1929 | SpecialMesh13.Scale = Vector3.new(0.200000763, 1, 1) | |
1930 | Part14.Parent = Model0 | |
1931 | Part14.Anchored = true | |
1932 | Part14.CanCollide = false | |
1933 | Part14.Size = Vector3.new(1.0200001, 0.949999988, 1.01999998) | |
1934 | Part14.CFrame = CFrame.new(-15.5450001, 24.3349991, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1935 | Part14.BottomSurface = Enum.SurfaceType.Smooth | |
1936 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
1937 | Part14.Position = Vector3.new(-15.5450001, 24.3349991, -21) | |
1938 | Part14.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1939 | Part15.Parent = Model0 | |
1940 | Part15.Rotation = Vector3.new(1, 90, 0) | |
1941 | Part15.Anchored = true | |
1942 | Part15.CanCollide = false | |
1943 | Part15.Size = Vector3.new(1.0200001, 0.0500000007, 1.01999998) | |
1944 | Part15.CFrame = CFrame.new(-15.5450001, 23.6049995, -21, -4.37047305e-08, 7.62864549e-10, 1, 0.0174523052, 0.999847651, 0, -0.99984771, 0.017452307, -4.37113883e-08) | |
1945 | Part15.BottomSurface = Enum.SurfaceType.Smooth | |
1946 | Part15.TopSurface = Enum.SurfaceType.Smooth | |
1947 | Part15.Position = Vector3.new(-15.5450001, 23.6049995, -21) | |
1948 | Part15.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1949 | BlockMesh16.Parent = Part15 | |
1950 | BlockMesh16.Scale = Vector3.new(1, 0.200000167, 1) | |
1951 | BlockMesh16.Scale = Vector3.new(1, 0.200000167, 1) | |
1952 | Part17.Parent = Model0 | |
1953 | Part17.Material = Enum.Material.Neon | |
1954 | Part17.Anchored = true | |
1955 | Part17.CanCollide = false | |
1956 | Part17.Size = Vector3.new(0.0500000007, 0.25, 0.25999999) | |
1957 | Part17.CFrame = CFrame.new(-16.0599995, 23.164999, -20.8899994, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1958 | Part17.BottomSurface = Enum.SurfaceType.Smooth | |
1959 | Part17.TopSurface = Enum.SurfaceType.Smooth | |
1960 | Part17.Position = Vector3.new(-16.0599995, 23.164999, -20.8899994) | |
1961 | Part17.Color = Color3.new(0, 1, 0) | |
1962 | SpecialMesh18.Parent = Part17 | |
1963 | SpecialMesh18.Scale = Vector3.new(0.200000763, 1, 1) | |
1964 | SpecialMesh18.MeshType = Enum.MeshType.Cylinder | |
1965 | SpecialMesh18.Scale = Vector3.new(0.200000763, 1, 1) | |
1966 | Part19.Parent = Model0 | |
1967 | Part19.Anchored = true | |
1968 | Part19.CanCollide = false | |
1969 | Part19.Size = Vector3.new(1.0200001, 0.519999981, 1.01999998) | |
1970 | Part19.CFrame = CFrame.new(-15.5450001, 23.2999992, -21, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1971 | Part19.BottomSurface = Enum.SurfaceType.Smooth | |
1972 | Part19.TopSurface = Enum.SurfaceType.Smooth | |
1973 | Part19.Position = Vector3.new(-15.5450001, 23.2999992, -21) | |
1974 | Part19.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
1975 | weld(Model0) | |
1976 | Model1 = Model0:Clone() | |
1977 | Model1.Parent = char | |
1978 | newWeld(larm,Model0.asd,0,0,0) | |
1979 | newWeld(rarm,Model1.asd,0,0,0) | |
1980 | Model1.asd.Weld.C1 = CFrame.Angles(0,math.rad(180),0) | |
1981 | ||
1982 | ---------------------------------------------------------------------------- | |
1983 | leftwpn = {} | |
1984 | rightwpn = {} | |
1985 | lmidwpn = nil | |
1986 | rmidwpn = nil | |
1987 | for z=1,2 do | |
1988 | local target = larm | |
1989 | if z == 1 then target = rarm end | |
1990 | for i=-1,1 do | |
1991 | local part = Instance.new("Part",char) | |
1992 | local mesh = Instance.new("SpecialMesh",part) | |
1993 | mesh.MeshId = "rbxassetid://441574777" | |
1994 | mesh.TextureId = "rbxassetid://441574805" | |
1995 | mesh.Scale = Vector3.new(1,1,1)*0.015 | |
1996 | part.CanCollide = false | |
1997 | part.Size = Vector3.new(0.2,3,0.3) | |
1998 | newWeld(target,part,0,-1.5,-i*0.5) | |
1999 | part.Weld.C1 = CFrame.new(0,-0.6,0.2)*CFrame.Angles(math.rad(-150+i*20),math.rad(180),math.rad(0)) | |
2000 | if z == 1 then table.insert(rightwpn,part) if i == 0 then rmidwpn = part end else table.insert(leftwpn,part) if i == 0 then lmidwpn = part end end | |
2001 | end | |
2002 | end | |
2003 | ||
2004 | local size = 1 | |
2005 | ||
2006 | newWeld(torso, larm, -1.5*size, 0.5*size, 0) | |
2007 | larm.Weld.C1 = CFrame.new(0, 0.5*size, 0) | |
2008 | newWeld(torso, rarm, 1.5*size, 0.5*size, 0) | |
2009 | rarm.Weld.C1 = CFrame.new(0, 0.5*size, 0) | |
2010 | newWeld(torso, hed, 0, 1.5*size, 0) | |
2011 | newWeld(torso, lleg, -0.5*size, -1, 0) | |
2012 | lleg.Weld.C1 = CFrame.new(0, 1*size, 0) | |
2013 | newWeld(torso, rleg, 0.5*size, -1*size, 0) | |
2014 | rleg.Weld.C1 = CFrame.new(0, 1*size, 0) | |
2015 | newWeld(root, torso, 0, -1*size, 0) | |
2016 | torso.Weld.C1 = CFrame.new(0, -1*size, 0) | |
2017 | ||
2018 | ---------------------------------------------------------------------------------------- | |
2019 | combocounter = 0 | |
2020 | combotimer = 0 | |
2021 | texttimer = 0 | |
2022 | gui = Instance.new("ScreenGui",plr.PlayerGui) | |
2023 | ||
2024 | chattext = Instance.new("TextLabel",gui) | |
2025 | chattext.Size = UDim2.new(1,0,0,40) | |
2026 | chattext.AnchorPoint = Vector2.new(0.5,1) | |
2027 | chattext.Position = UDim2.new(0.5,0,1,-100) | |
2028 | chattext.TextXAlignment = Enum.TextXAlignment.Center | |
2029 | chattext.BackgroundTransparency = 1 | |
2030 | chattext.BackgroundColor3 = Color3.fromHSV(0,0,0) | |
2031 | chattext.Font = Enum.Font.Cartoon | |
2032 | chattext.FontSize = Enum.FontSize.Size28 | |
2033 | chattext.TextColor3 = Color3.new(1,1,1) | |
2034 | chattext.TextStrokeTransparency = 1 | |
2035 | chattext.BorderSizePixel = 0 | |
2036 | ||
2037 | combotext = Instance.new("TextLabel",gui) | |
2038 | combotext.Size = UDim2.new(1,0,0,80) | |
2039 | combotext.AnchorPoint = Vector2.new(1,1) | |
2040 | combotext.Position = UDim2.new(1,-40,1,-240) | |
2041 | combotext.TextXAlignment = Enum.TextXAlignment.Right | |
2042 | combotext.BackgroundTransparency = 1 | |
2043 | combotext.BackgroundColor3 = Color3.fromHSV(0,0,0) | |
2044 | combotext.Font = Enum.Font.Cartoon | |
2045 | combotext.FontSize = 8 | |
2046 | combotext.TextColor3 = Color3.new(0,0,0) | |
2047 | combotext.TextStrokeTransparency = 1 | |
2048 | combotext.BorderSizePixel = 0 | |
2049 | ||
2050 | combotimervis = Instance.new("Frame",combotext) | |
2051 | combotimervis.Size = UDim2.new(0,0,0,4) | |
2052 | combotimervis.AnchorPoint = Vector2.new(1,0) | |
2053 | combotimervis.Position = UDim2.new(1,0,1,0) | |
2054 | combotimervis.BorderColor3 = Color3.new(0,0,0) | |
2055 | ||
2056 | rs:connect(function() | |
2057 | local asdf = -0.1 | |
2058 | if -(combocounter/1000) > -0.1 then asdf = -(combocounter/1000) end | |
2059 | if combocounter > 0 then | |
2060 | combotext.TextColor3 = Color3.fromHSV(0.1+asdf,1,1) | |
2061 | else | |
2062 | combotext.TextColor3 = Color3.fromHSV(0,0,0) | |
2063 | end | |
2064 | combotimervis.BackgroundColor3 = combotext.TextColor3 | |
2065 | combotimervis.Size = UDim2.new(0,combotimer/2,0,4) | |
2066 | combotext.Text = combocounter.."x" | |
2067 | if combotimer > 0 then | |
2068 | combotimer = combotimer - 1 | |
2069 | else | |
2070 | combocounter = 0 | |
2071 | end | |
2072 | if texttimer > 0 then | |
2073 | texttimer = texttimer - 1 | |
2074 | chattext.BackgroundTransparency = 1 | |
2075 | else | |
2076 | chattext.Text = "" | |
2077 | chattext.BackgroundTransparency = 1 | |
2078 | end | |
2079 | end) | |
2080 | ||
2081 | function damage(model,dmg) | |
2082 | local hum = model:FindFirstChildOfClass("Humanoid") | |
2083 | local torson = model:FindFirstChild("Torso") or model:FindFirstChild("UpperTorso") | |
2084 | hum:TakeDamage(hum.MaxHealth/dmg) | |
2085 | combotimer = 60*5 | |
2086 | combocounter = combocounter + 1 | |
2087 | if combocounter == 100 or combocounter == 200 or combocounter == 300 or combocounter == 400 or combocounter == 500 or combocounter == 600 or combocounter == 700 or combocounter == 800 or combocounter == 900 or combocounter == 1000 then | |
2088 | combosfx[combocounter/100]:Play() | |
2089 | texttimer = math.ceil(60*combosfx[combocounter/100].TimeLength)+30 | |
2090 | if combocounter == 500 then | |
2091 | chattext.Text = combocounter.." hit combo! That's nowhere near enough!" | |
2092 | elseif combocounter == 1000 then | |
2093 | chattext.Text = "1,000 hit combo! That's what I'm talking about!" | |
2094 | else | |
2095 | chattext.Text = combocounter.." hit combo!" | |
2096 | end | |
2097 | print(texttimer) | |
2098 | end | |
2099 | if torson:FindFirstChildOfClass("BodyPosition") then | |
2100 | torson:FindFirstChildOfClass("BodyPosition"):Destroy() | |
2101 | end | |
2102 | if hum.Health > 0 then | |
2103 | local bp = Instance.new("BodyPosition",torson) | |
2104 | bp.MaxForce = Vector3.new(1,1,1)*9e9 | |
2105 | bp.P = 10000 | |
2106 | bp.D = 500 | |
2107 | bp.Position = root.Position+(root.CFrame.lookVector*4) | |
2108 | local loop = rs:connect(function() | |
2109 | bp.Position = root.Position+(root.CFrame.lookVector*4) | |
2110 | end) | |
2111 | delay(0.5,function() coroutine.resume(coroutine.create(function() bp:Destroy() end)) loop:disconnect() end) | |
2112 | end | |
2113 | end | |
2114 | ||
2115 | function attackone() | |
2116 | local spd = 0.25 | |
2117 | for i=1,10 do rs:wait() | |
2118 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2119 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(10),math.rad(-40),math.rad(0)), spd) | |
2120 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), spd) | |
2121 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(120),math.rad(0),math.rad(40)), spd) | |
2122 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(10),math.rad(-40),math.rad(0)), spd) | |
2123 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2124 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2125 | end | |
2126 | if jumped == true then | |
2127 | root.Velocity = Vector3.new(0,50,0)+(root.CFrame.lookVector*20) | |
2128 | else | |
2129 | root.Velocity = Vector3.new(0,0,0)+(root.CFrame.lookVector*120) | |
2130 | end | |
2131 | local alreadytouched = {} | |
2132 | local randomiser = math.random(1,2) | |
2133 | local spd = 0.5 | |
2134 | for i=1,10 do rs:wait() | |
2135 | ||
2136 | local v = rmidwpn | |
2137 | local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000) | |
2138 | local effekt = Effect(Enum.MeshType.Brick,Vector3.new(1,1,1)*(2+(math.random(-10000,10000)/10000*0.2)),0,Enum.Material.Neon,Color3.fromHSV(math.random(10,100)/1000,1,1),v.Position,v.Orientation,Vector3.new(0,0,0),Vector3.new(-0.2,-0.2,0.2),Vector3.new(),0,0) | |
2139 | ||
2140 | for i,x in pairs(findAllNearestTorso(v.Position,8)) do | |
2141 | local hitting = true | |
2142 | for i,z in pairs(alreadytouched) do if x == z then hitting = false end end | |
2143 | if hitting == true then | |
2144 | damage(x.Parent,math.random(10,15)) | |
2145 | table.insert(alreadytouched,x) | |
2146 | end | |
2147 | end | |
2148 | ||
2149 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2150 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(-10),math.rad(50),math.rad(0)), spd) | |
2151 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), spd) | |
2152 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), spd) | |
2153 | if randomiser == 1 then | |
2154 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(-10),math.rad(50),math.rad(0)), spd) | |
2155 | elseif randomiser == 2 then | |
2156 | torso.Weld.C0 = CFrame.new(0, -1, 0) *CFrame.Angles(0,math.rad((i/10)*360),0) | |
2157 | end | |
2158 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2159 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2160 | effekt.CFrame = CFrame.new(effekt.Position,rmidwpn.Position) | |
2161 | end | |
2162 | end | |
2163 | ||
2164 | function attacktwo() | |
2165 | local spd = 0.25 | |
2166 | for i=1,10 do rs:wait() | |
2167 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2168 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(10),math.rad(40),math.rad(0)), spd) | |
2169 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(120),math.rad(0),math.rad(-40)), spd) | |
2170 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), spd) | |
2171 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(10),math.rad(40),math.rad(0)), spd) | |
2172 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2173 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2174 | end | |
2175 | if jumped == true then | |
2176 | root.Velocity = Vector3.new(0,50,0)+(root.CFrame.lookVector*20) | |
2177 | else | |
2178 | root.Velocity = Vector3.new(0,0,0)+(root.CFrame.lookVector*120) | |
2179 | end | |
2180 | local alreadytouched = {} | |
2181 | local randomiser = math.random(1,2) | |
2182 | local spd = 0.5 | |
2183 | for i=1,10 do rs:wait() | |
2184 | ||
2185 | local v = lmidwpn | |
2186 | local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000) | |
2187 | local effekt = Effect(Enum.MeshType.Brick,Vector3.new(1,1,1)*(2+(math.random(-10000,10000)/10000*0.2)),0,Enum.Material.Neon,Color3.fromHSV(math.random(10,100)/1000,1,1),v.Position,v.Orientation,Vector3.new(0,0,0),Vector3.new(-0.2,-0.2,0.2),Vector3.new(),0,0) | |
2188 | ||
2189 | for i,x in pairs(findAllNearestTorso(v.Position,8)) do | |
2190 | local hitting = true | |
2191 | for i,z in pairs(alreadytouched) do if x == z then hitting = false end end | |
2192 | if hitting == true then | |
2193 | damage(x.Parent,math.random(10,15)) | |
2194 | table.insert(alreadytouched,x) | |
2195 | end | |
2196 | end | |
2197 | ||
2198 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2199 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(-10),math.rad(-50),math.rad(0)), spd) | |
2200 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), spd) | |
2201 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), spd) | |
2202 | if randomiser == 1 then | |
2203 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(-10),math.rad(-50),math.rad(0)), spd) | |
2204 | elseif randomiser == 2 then | |
2205 | torso.Weld.C0 = CFrame.new(0, -1, 0) *CFrame.Angles(0,math.rad(-(i/10)*360),0) | |
2206 | end | |
2207 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2208 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.5,-0.5) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2209 | effekt.CFrame = CFrame.new(effekt.Position,lmidwpn.Position) | |
2210 | end | |
2211 | end | |
2212 | ||
2213 | function attackthree(uhidk) | |
2214 | local spd = 0.15 | |
2215 | for i=1,15 do rs:wait() | |
2216 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2217 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2218 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.5,0.55,-0.2) *CFrame.Angles(math.rad(160),math.rad(0),math.rad(20)), spd) | |
2219 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.5,0.55,-0.2) *CFrame.Angles(math.rad(160),math.rad(0),math.rad(-20)), spd) | |
2220 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), spd) | |
2221 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.5,-0.5)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), spd) | |
2222 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.5,-0.5) *CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), spd) | |
2223 | end | |
2224 | if jumped == true then | |
2225 | root.Velocity = Vector3.new(0,40,0)+(root.CFrame.lookVector*10) | |
2226 | else | |
2227 | root.Velocity = Vector3.new(0,0,0)+(root.CFrame.lookVector*80) | |
2228 | end | |
2229 | local alreadytouched = {} | |
2230 | if uhidk == true then | |
2231 | Effect(Enum.MeshType.Sphere,Vector3.new(1,1,1)*5,0,Enum.Material.Neon,Color3.new(0,1,0),torso.Position,Vector3.new(),Vector3.new(),Vector3.new(0.2,0.2,0.2),Vector3.new(),0.05,0.05) | |
2232 | Effect(Enum.MeshType.Sphere,Vector3.new(1,1,1)*5,0,Enum.Material.Neon,Color3.new(0.5,1,0),torso.Position,Vector3.new(),Vector3.new(),Vector3.new(0.3,0.3,0.3),Vector3.new(),0.05,0.1) | |
2233 | sound(260433768,torso.Position,2,math.random(100,120)/100) | |
2234 | ||
2235 | for i,x in pairs(findAllNearestTorso(root.Position,10)) do | |
2236 | damage(x.Parent,math.random(7,10)) | |
2237 | end | |
2238 | ||
2239 | end | |
2240 | ||
2241 | local spd = 0.4 | |
2242 | for i=1,6 do rs:wait() | |
2243 | local effekt = nil | |
2244 | local effect2 = nil | |
2245 | if uhidk == false then | |
2246 | ||
2247 | local v = rmidwpn | |
2248 | local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000) | |
2249 | effekt = Effect(Enum.MeshType.Brick,Vector3.new(1,1,1)*(2+(math.random(-10000,10000)/10000*0.2)),0,Enum.Material.Neon,Color3.fromHSV(math.random(10,100)/1000,1,1),v.Position,v.Orientation,Vector3.new(0,0,0),Vector3.new(-0.2,-0.2,0.2),Vector3.new(),0,0) | |
2250 | ||
2251 | for i,x in pairs(findAllNearestTorso(v.Position,8)) do | |
2252 | local hitting = true | |
2253 | for i,z in pairs(alreadytouched) do if x == z then hitting = false end end | |
2254 | if hitting == true then | |
2255 | damage(x.Parent,math.random(10,15)) | |
2256 | table.insert(alreadytouched,x) | |
2257 | end | |
2258 | end | |
2259 | ||
2260 | local v = lmidwpn | |
2261 | local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000) | |
2262 | effekt2 = Effect(Enum.MeshType.Brick,Vector3.new(1,1,1)*(2+(math.random(-10000,10000)/10000*0.2)),0,Enum.Material.Neon,Color3.fromHSV(math.random(10,100)/1000,1,1),v.Position,v.Orientation,Vector3.new(0,0,0),Vector3.new(-0.2,-0.2,0.2),Vector3.new(),0,0) | |
2263 | ||
2264 | for i,x in pairs(findAllNearestTorso(v.Position,8)) do | |
2265 | local hitting = true | |
2266 | for i,z in pairs(alreadytouched) do if x == z then hitting = false end end | |
2267 | if hitting == true then | |
2268 | damage(x.Parent,math.random(10,15)) | |
2269 | table.insert(alreadytouched,x) | |
2270 | end | |
2271 | end | |
2272 | ||
2273 | end | |
2274 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2275 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), spd) | |
2276 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-50)), spd) | |
2277 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(50)), spd) | |
2278 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), spd) | |
2279 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-30)), spd) | |
2280 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad(30)), spd) | |
2281 | if uhidk == false then | |
2282 | effekt.CFrame = CFrame.new(effekt.Position,rmidwpn.Position) | |
2283 | effekt2.CFrame = CFrame.new(effekt2.Position,lmidwpn.Position) | |
2284 | end | |
2285 | end | |
2286 | end | |
2287 | ||
2288 | local combo = 1 | |
2289 | local combo2 = 2 | |
2290 | local timer = 0 | |
2291 | local debounce = false | |
2292 | local idk = false | |
2293 | mouse.Button1Down:connect(function() | |
2294 | if debounce == false and idk == false then | |
2295 | timer = 40 | |
2296 | noidle = true | |
2297 | freeze = true | |
2298 | debounce = true | |
2299 | if combo == 1 then | |
2300 | if combo2 == 1 then attackone() else attacktwo() end | |
2301 | combo = 2 | |
2302 | elseif combo == 2 then | |
2303 | if combo2 == 2 then attackone() else attacktwo() end | |
2304 | combo = 3 | |
2305 | elseif combo == 3 then | |
2306 | if combo2 == 1 then combo2 = 2 else combo2 = 1 end | |
2307 | attackthree(false) | |
2308 | combo = 1 | |
2309 | end | |
2310 | noidle = false | |
2311 | freeze = false | |
2312 | debounce = false | |
2313 | end | |
2314 | end) | |
2315 | ||
2316 | function spintf(power) | |
2317 | local spd = 0.4 | |
2318 | local asdf = 0 | |
2319 | for i=1,power do rs:wait() | |
2320 | root.Velocity = (root.CFrame.lookVector*(power*10)) | |
2321 | local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000) | |
2322 | local effekt = Effect(Enum.MeshType.Brick,Vector3.new(1,1,1)*(3+(math.random(-10000,10000)/10000*0.2)),0,Enum.Material.Neon,Color3.fromHSV(math.random(10,100)/1000,1,1),rarm.Position,root.Orientation,Vector3.new(0,0,0),Vector3.new(-0.2,-0.2,0.4+(power/20)),Vector3.new(),0,0) | |
2323 | local effekt2 = Effect(Enum.MeshType.Brick,Vector3.new(1,1,1)*(3+(math.random(-10000,10000)/10000*0.2)),0,Enum.Material.Neon,Color3.fromHSV(math.random(10,100)/1000,1,1),larm.Position,root.Orientation,Vector3.new(0,0,0),Vector3.new(-0.2,-0.2,0.4+(power/20)),Vector3.new(),0,0) | |
2324 | for i,v in pairs(findAllNearestTorso(root.Position,30)) do | |
2325 | damage(v.Parent,180-(power*4)) | |
2326 | end | |
2327 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2328 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2329 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-40)), spd) | |
2330 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(40),math.rad(0),math.rad(40)), spd) | |
2331 | torso.Weld.C0 = CFrame.new(0, -0.5, 0) *CFrame.Angles(math.rad(-90),math.rad(i*35),math.rad(0)) | |
2332 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), spd) | |
2333 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(-70),math.rad(0),math.rad(-20)), spd) | |
2334 | if i*35 > asdf then | |
2335 | asdf = (i*35) + 180 | |
2336 | end | |
2337 | end | |
2338 | torso.Weld.C0 = CFrame.new(0, -0.5, 0) *CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)) | |
2339 | end | |
2340 | ||
2341 | mouse.KeyDown:connect(function(key) | |
2342 | if debounce == false then | |
2343 | if string.byte(string.lower(key)) == 48 then | |
2344 | noidle = true | |
2345 | freeze = true | |
2346 | debounce = true | |
2347 | local keyup = false | |
2348 | local power = 20 | |
2349 | local asd = mouse.KeyUp:connect(function(key) keyup = true end) | |
2350 | local i = 0 | |
2351 | repeat rs:wait() | |
2352 | if i > 10 then i = 0 | |
2353 | Effect(Enum.MeshType.Sphere,Vector3.new(10,10,10)*5,0.999,Enum.Material.Neon,Color3.fromHSV(0,1,1),torso.Position,Vector3.new(),Vector3.new(),Vector3.new(-0.3,-0.3,-0.3),Vector3.new(),-0.005,-0.05) | |
2354 | sound(180204562,torso.Position,2,1+((i/40)*2)) | |
2355 | end | |
2356 | local spd = 0.4 | |
2357 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2358 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), spd) | |
2359 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.55,-0.3) *CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), spd) | |
2360 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(-40),math.rad(0),math.rad(40)), spd) | |
2361 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) *CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), spd) | |
2362 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,0,-0.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), spd) | |
2363 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.5,-0.5) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), spd) | |
2364 | i = i + 1 | |
2365 | if power < 40 then power = power + 0.25 else keyup = true end | |
2366 | until keyup == true | |
2367 | Effect(Enum.MeshType.Sphere,Vector3.new(1,1,1)*5,0,Enum.Material.Neon,Color3.fromHSV(0,1,1),torso.Position,Vector3.new(),Vector3.new(),Vector3.new(0.5,0.5,0.5),Vector3.new(),0.04,0.1) | |
2368 | Effect(Enum.MeshType.Sphere,Vector3.new(1,1,1)*5,0,Enum.Material.Neon,Color3.fromHSV(0,1,1),torso.Position,Vector3.new(),Vector3.new(),Vector3.new(0.5,0.5,0.5),Vector3.new(),0.04,0.2) | |
2369 | Effect(Enum.MeshType.Sphere,Vector3.new(10,10,10)*5,0.999,Enum.Material.Neon,Color3.fromHSV(0,1,1),torso.Position,Vector3.new(),Vector3.new(),Vector3.new(-0.3,-0.3,-0.3),Vector3.new(),-0.005,-0.05) | |
2370 | asd:disconnect() | |
2371 | spintf(power) | |
2372 | noidle = false | |
2373 | freeze = false | |
2374 | idk = true | |
2375 | local mousasdfg = nil | |
2376 | mousasdfg = mouse.Button1Down:connect(function() | |
2377 | noidle = true | |
2378 | freeze = true | |
2379 | debounce = true | |
2380 | mousasdfg:disconnect() | |
2381 | root.Velocity = Vector3.new() | |
2382 | attackthree(true) | |
2383 | idk = false | |
2384 | combo = 1 | |
2385 | noidle = false | |
2386 | freeze = false | |
2387 | end) | |
2388 | delay(0.2,function() debounce = false mousasdfg:disconnect() idk = false end) | |
2389 | end | |
2390 | end | |
2391 | end) | |
2392 | ||
2393 | mouse.KeyDown:connect(function(key) | |
2394 | if debounce == false then | |
2395 | if string.byte(string.lower(key)) == 50 and jumped == true then | |
2396 | freeze = true | |
2397 | debounce = true | |
2398 | root.Velocity = Vector3.new(0,120,0)+(root.CFrame.lookVector*20) | |
2399 | sound(1388740053,torso.Position,10,math.random(180,200)/100) | |
2400 | Effect(559831844,Vector3.new(0.1,0.1,0.1),0,Enum.Material.Neon,Color3.fromHSV(0,0,1),root.Position,Vector3.new(90,0,0),Vector3.new(),Vector3.new(0.2,0.2,0.2),Vector3.new(),0.05,-0.005) | |
2401 | noidle = true | |
2402 | local i = 0 | |
2403 | local spd = 0.4 | |
2404 | repeat rs:wait() | |
2405 | root.Velocity = Vector3.new(0,root.Velocity.Y,0)+(root.CFrame.lookVector*20) | |
2406 | torso.Weld.C0 = CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(i*10),0,0) | |
2407 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2408 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2409 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-50)), spd) | |
2410 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad(50)), spd) | |
2411 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), spd) | |
2412 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), spd) | |
2413 | i = i + 1 | |
2414 | until root.Velocity.Y < 0 | |
2415 | noidle = false | |
2416 | torso.Weld.C0 = CFrame.new(0, -1, 0) *CFrame.Angles(0,0,0) | |
2417 | local ray = Ray.new(root.Position,Vector3.new(0, -6, 0)) | |
2418 | local part, endPoint = workspace:FindPartOnRay(ray, char) | |
2419 | repeat rs:wait() | |
2420 | root.Velocity = Vector3.new(0,root.Velocity.Y-50,0)+(root.CFrame.lookVector*10) | |
2421 | local ray = Ray.new(root.Position,Vector3.new(0, -6, 0)) | |
2422 | part, endPoint = workspace:FindPartOnRay(ray, char) | |
2423 | until part | |
2424 | shake(50) | |
2425 | sound(262562442,torso.Position,10,math.random(70,100)/100) | |
2426 | Effect(559831844,Vector3.new(0.1,0.1,0.1),0,Enum.Material.Neon,Color3.fromHSV(0,0,1),endPoint,Vector3.new(90,0,0),Vector3.new(0,0.5,0),Vector3.new(0.3,0.3,0.3),Vector3.new(),0.05,-0.005) | |
2427 | for i,x in pairs(findAllNearestTorso(root.Position,20)) do | |
2428 | damage(x.Parent,math.random(7,10)) | |
2429 | end | |
2430 | for i=1,15 do | |
2431 | local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000) | |
2432 | Effect(Enum.MeshType.Brick,Vector3.new(1,1,1)*math.random(3,5),-3,part.Material,part.Color,endPoint+Vector3.new(math.random(-10,10)/2,math.random(-1,0)/2,math.random(-10,10)/2),asd*360,Vector3.new(),Vector3.new(),Vector3.new(),0.05,0) | |
2433 | Effect(Enum.MeshType.Sphere,Vector3.new(1,1,1)*math.random(7,10),0,Enum.Material.Neon,part.Color,endPoint+Vector3.new(math.random(-8,8),-1,math.random(-8,8)),Vector3.new(),Vector3.new(),Vector3.new(1,1,1),Vector3.new(),0.03,-0.002) | |
2434 | end | |
2435 | freeze = false | |
2436 | delay(0.1,function() debounce = false end) | |
2437 | end | |
2438 | end | |
2439 | end) | |
2440 | ||
2441 | velocityYFall=0 | |
2442 | velocityYFall2=0 | |
2443 | velocityYFall3=0 | |
2444 | velocityYFall4=0 | |
2445 | neckrotY=0 | |
2446 | neckrotY2=0 | |
2447 | torsorotY=0 | |
2448 | torsorotY2=0 | |
2449 | torsoY=0 | |
2450 | torsoY2=0 | |
2451 | colored = 0 | |
2452 | sine = 0 | |
2453 | change=0.4 | |
2454 | movement=5 | |
2455 | timeranim=0 | |
2456 | running = true | |
2457 | ||
2458 | --[[mouse.KeyDown:connect(function(key) | |
2459 | key = string.lower(key) | |
2460 | if string.byte(key) == 48 then | |
2461 | running = true | |
2462 | local keyup = mouse.KeyUp:connect(function(key) | |
2463 | if string.byte(key) == 48 then | |
2464 | running = false | |
2465 | end | |
2466 | end) | |
2467 | repeat rs:wait() until running == false | |
2468 | keyup:disconnect() | |
2469 | end | |
2470 | end)]] | |
2471 | ||
2472 | icolor=1 | |
2473 | imode=false | |
2474 | ||
2475 | didjump = false | |
2476 | jumppower = 0 | |
2477 | freeze = false | |
2478 | debounceimpact = false | |
2479 | ||
2480 | mouse.KeyDown:connect(function(key) | |
2481 | if key == " " and debounce == false and jumped == true and candouble == true then | |
2482 | candouble = false | |
2483 | sound(138210320,torso.Position,2,math.random(240,260)/100) | |
2484 | Effect(559831844,Vector3.new(0.1,0.1,0.1),0,Enum.Material.Neon,Color3.fromHSV(0,0,1),root.Position,Vector3.new(90,0,0),Vector3.new(),Vector3.new(0.1,0.1,0.1),Vector3.new(),0.05,-0.005) | |
2485 | root.Velocity = Vector3.new(root.Velocity.X,hum.JumpPower,root.Velocity.Z) | |
2486 | noidle = true | |
2487 | local spd = 0.15 | |
2488 | for i=1,20 do rs:wait() | |
2489 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2490 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
2491 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.5,0.55,-0.2) *CFrame.Angles(math.rad(160),math.rad(0),math.rad(20)), spd) | |
2492 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.5,0.55,-0.2) *CFrame.Angles(math.rad(160),math.rad(0),math.rad(-20)), spd) | |
2493 | torso.Weld.C0 = CFrame.new(0, -1, 0) *CFrame.Angles(-math.rad((i/20)*(360*2)),0,0) | |
2494 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,0,-0.5)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), spd) | |
2495 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0,-0.5) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), spd) | |
2496 | end | |
2497 | noidle = false | |
2498 | end | |
2499 | end) | |
2500 | ||
2501 | function jumpimpact() | |
2502 | if debounceimpact == false then | |
2503 | debounceimpact = true | |
2504 | if jumppower < -150 then jumppower = -150 end | |
2505 | shake(-jumppower/5) | |
2506 | for i=1,-jumppower/20 do rs:wait() | |
2507 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0), 0.05) | |
2508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (jumppower/20)*size-hum.HipHeight, 0) * CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.05) | |
2509 | end | |
2510 | debounceimpact = false | |
2511 | end | |
2512 | end | |
2513 | ||
2514 | rs:connect(function() | |
2515 | ||
2516 | hum.JumpPower = 100 | |
2517 | ||
2518 | if icolor > 1 then | |
2519 | imode = false | |
2520 | elseif icolor < 0 then | |
2521 | imode = true | |
2522 | end | |
2523 | ||
2524 | if imode == true then | |
2525 | icolor = icolor + 0.01 | |
2526 | else | |
2527 | icolor = icolor - 0.01 | |
2528 | end | |
2529 | ||
2530 | if p.Character.Parent == nil then | |
2531 | local model = Instance.new("Model") | |
2532 | model.Name = p.Name | |
2533 | p.Character = model | |
2534 | for i,v in pairs(char:GetChildren()) do | |
2535 | v.Parent = p.Character | |
2536 | end | |
2537 | end | |
2538 | ||
2539 | char = p.Character | |
2540 | if p.Character.Parent ~= workspace then | |
2541 | p.Character.Parent = workspace | |
2542 | end | |
2543 | for i,v in pairs(char:GetChildren()) do | |
2544 | if v:IsA("Accoutrement") then | |
2545 | if v.Handle:FindFirstChild("Mesh") then | |
2546 | v.Handle:FindFirstChild("Mesh").Offset = Vector3.new() | |
2547 | v.Handle.Transparency = 1 | |
2548 | end | |
2549 | elseif v:IsA("BasePart") then | |
2550 | v.Anchored = false | |
2551 | if v:FindFirstChildOfClass("BodyPosition") then | |
2552 | v:FindFirstChildOfClass("BodyPosition"):Destroy() | |
2553 | end | |
2554 | if v:FindFirstChildOfClass("BodyVelocity") then | |
2555 | v:FindFirstChildOfClass("BodyVelocity"):Destroy() | |
2556 | end | |
2557 | if v:FindFirstChildOfClass("BodyGyro") and v:FindFirstChildOfClass("BodyGyro").Name ~= "lolnochara" then | |
2558 | v:FindFirstChildOfClass("BodyGyro"):Destroy() | |
2559 | end | |
2560 | if v:FindFirstChild("Mesh") then | |
2561 | v:FindFirstChild("Mesh").Offset = Vector3.new() | |
2562 | end | |
2563 | if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD") then | |
2564 | local force = Instance.new("Part",DebrisModel) | |
2565 | force.Name = v.Name.."FORCEFIELD" | |
2566 | if v ~= hed then | |
2567 | force.Size = v.Size+(Vector3.new(1,1,1)*0.2) | |
2568 | else | |
2569 | force.Size = (Vector3.new(1,1,1)*v.Size.Y)+(Vector3.new(1,1,1)*0.2) | |
2570 | end | |
2571 | force.CanCollide = false | |
2572 | force.Transparency = 1 | |
2573 | force.Color = Color3.new(0,1,1) | |
2574 | force.Material = Enum.Material.Neon | |
2575 | newWeld(v,force,0,0,0) | |
2576 | else | |
2577 | if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"):FindFirstChildOfClass("Weld") then | |
2578 | newWeld(v,DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"),0,0,0) | |
2579 | end | |
2580 | end | |
2581 | if v.Name ~= "HumanoidRootPart" then | |
2582 | v.Transparency = 1 | |
2583 | else | |
2584 | v.Transparency = 1 | |
2585 | end | |
2586 | end | |
2587 | end | |
2588 | ||
2589 | if freeze == false then | |
2590 | hum.WalkSpeed = (666/10)*size | |
2591 | change=1.4 | |
2592 | movement=18 | |
2593 | else | |
2594 | hum.WalkSpeed = 1 | |
2595 | change=0.4 | |
2596 | movement=5 | |
2597 | end | |
2598 | ||
2599 | if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 150 then | |
2600 | velocityYFall = root.Velocity.Y/1.5 | |
2601 | else | |
2602 | if -root.Velocity.Y/1.5 < -5 then | |
2603 | velocityYFall = 5 | |
2604 | elseif -root.Velocity.Y/1.5 > 150 then | |
2605 | velocityYFall = -150 | |
2606 | end | |
2607 | end | |
2608 | ||
2609 | if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then | |
2610 | velocityYFall2 = root.Velocity.Y/180 | |
2611 | else | |
2612 | if -root.Velocity.Y/180 < 0 then | |
2613 | velocityYFall2 = 0 | |
2614 | elseif -root.Velocity.Y/180 > 1.2 then | |
2615 | velocityYFall2 = -1.2 | |
2616 | end | |
2617 | end | |
2618 | ||
2619 | if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then | |
2620 | velocityYFall3 = root.Velocity.Y/1.5 | |
2621 | else | |
2622 | if -root.Velocity.Y/1.5 < -5 then | |
2623 | velocityYFall3 = 5 | |
2624 | elseif -root.Velocity.Y/1.5 > 50 then | |
2625 | velocityYFall3 = -50 | |
2626 | end | |
2627 | end | |
2628 | ||
2629 | if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then | |
2630 | velocityYFall4 = root.Velocity.Y/1.5 | |
2631 | else | |
2632 | if -root.Velocity.Y/180 < -5 then | |
2633 | velocityYFall4 = 5 | |
2634 | elseif -root.Velocity.Y/180 > 50 then | |
2635 | velocityYFall4 = -50 | |
2636 | end | |
2637 | end | |
2638 | ||
2639 | if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then | |
2640 | neckrotY = root.RotVelocity.Y/6 | |
2641 | else | |
2642 | if root.RotVelocity.Y/6 < -1 then | |
2643 | neckrotY = -1 | |
2644 | elseif root.RotVelocity.Y/6 > 1 then | |
2645 | neckrotY = 1 | |
2646 | end | |
2647 | end | |
2648 | ||
2649 | if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then | |
2650 | neckrotY2 = root.RotVelocity.Y/8 | |
2651 | else | |
2652 | if root.RotVelocity.Y/8 < -0.6 then | |
2653 | neckrotY2 = -0.6 | |
2654 | elseif root.RotVelocity.Y/8 > 0.6 then | |
2655 | neckrotY2 = 0.6 | |
2656 | end | |
2657 | end | |
2658 | ||
2659 | if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then | |
2660 | torsorotY = root.RotVelocity.Y/6 | |
2661 | else | |
2662 | if root.RotVelocity.Y/6 < -0.2 then | |
2663 | torsorotY = -0.2 | |
2664 | elseif root.RotVelocity.Y/6 > 0.2 then | |
2665 | torsorotY = 0.2 | |
2666 | end | |
2667 | end | |
2668 | ||
2669 | if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then | |
2670 | torsorotY2 = root.RotVelocity.Y/8 | |
2671 | else | |
2672 | if root.RotVelocity.Y/8 < -0.2 then | |
2673 | torsorotY2 = -0.2 | |
2674 | elseif root.RotVelocity.Y/8 > 0.2 then | |
2675 | torsorotY2 = 0.2 | |
2676 | end | |
2677 | end | |
2678 | ||
2679 | simulate(hed.CFrame*CFrame.new(0,0.4,0.8),0,hed,Vector3.new(),hair) | |
2680 | ||
2681 | torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20 | |
2682 | torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36 | |
2683 | ||
2684 | local ray1 = Ray.new(root.Position+Vector3.new(size,0,0),Vector3.new(0, -4*size, 0)) | |
2685 | local part1, endPoint = workspace:FindPartOnRay(ray1, char) | |
2686 | ||
2687 | local ray2 = Ray.new(root.Position-Vector3.new(size,0,0),Vector3.new(0, -4*size, 0)) | |
2688 | local part2, endPoint = workspace:FindPartOnRay(ray2, char) | |
2689 | ||
2690 | local ray3 = Ray.new(root.Position+Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0)) | |
2691 | local part3, endPoint = workspace:FindPartOnRay(ray3, char) | |
2692 | ||
2693 | local ray4 = Ray.new(root.Position-Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0)) | |
2694 | local part4, endPoint = workspace:FindPartOnRay(ray4, char) | |
2695 | ||
2696 | local ray5 = Ray.new(root.Position+Vector3.new(size,0,size/2),Vector3.new(0, -4*size, 0)) | |
2697 | local part5, endPoint = workspace:FindPartOnRay(ray5, char) | |
2698 | ||
2699 | local ray6 = Ray.new(root.Position-Vector3.new(size,0,size/2),Vector3.new(0, -4*size, 0)) | |
2700 | local part6, endPoint = workspace:FindPartOnRay(ray6, char) | |
2701 | ||
2702 | local ray7 = Ray.new(root.Position+Vector3.new(size,0,-size/2),Vector3.new(0, -4*size, 0)) | |
2703 | local part7, endPoint = workspace:FindPartOnRay(ray7, char) | |
2704 | ||
2705 | local ray8 = Ray.new(root.Position-Vector3.new(size,0,-size/2),Vector3.new(0, -4*size, 0)) | |
2706 | local part8, endPoint = workspace:FindPartOnRay(ray8, char) | |
2707 | ||
2708 | local ray = Ray.new(root.Position,Vector3.new(0, -6, 0)) | |
2709 | local part, endPoint = workspace:FindPartOnRay(ray, char) | |
2710 | ||
2711 | if part1 or part2 or part3 or part4 or part5 or part6 or part7 or part8 then jumped = false candouble = true else endPoint = 0 jumped = true end | |
2712 | ||
2713 | local rlegray = Ray.new(rleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0)) | |
2714 | local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char) | |
2715 | ||
2716 | local llegray = Ray.new(lleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0)) | |
2717 | local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char) | |
2718 | ||
2719 | if hum.Health > 0 and noidle == false then | |
2720 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then | |
2721 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),torsorotY, math.rad(0)+torsorotY), 0.4) | |
2722 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles((change/10)*math.cos(sine/2)+0.1,-(change/10)*math.cos(sine/4)-(torsorotY/5),(change/5)*math.cos(sine/4)), 0.1) | |
2723 | --rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/40)*math.cos(sine/4)/3,(movement/150)+(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
2724 | --larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/40)*math.cos(sine/4)/3,(movement/150)-(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
2725 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.8-(movement/40)*math.cos(sine/4)/3,(movement/150)+(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-70-(movement*0.5)*math.cos(sine/4))+ -(movement/40)*math.sin(sine/4),math.rad(-25-(movement*2)*math.cos(sine/4)),math.rad(10)), 0.2) | |
2726 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.8+(movement/40)*math.cos(sine/4)/3,(movement/150)-(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-70+(movement*0.5)*math.cos(sine/4))+ (movement/40)*math.sin(sine/4),math.rad(25-(movement*2)*math.cos(sine/4)),math.rad(-10)), 0.2) | |
2727 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.05+(change/2)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-(movement/20)*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.sin(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1) | |
2728 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,(-0.85-(movement/15)*math.cos(sine/4)/2),-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
2729 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,(-0.85+(movement/15)*math.cos(sine/4)/2),-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
2730 | elseif jumped == true then | |
2731 | didjump = true | |
2732 | jumppower = root.Velocity.Y | |
2733 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4) | |
2734 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-velocityYFall3/5),0,0), 0.1) | |
2735 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(velocityYFall)), 0.2) | |
2736 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(-velocityYFall)), 0.2) | |
2737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(velocityYFall3/10),math.rad(0), math.rad(0)), 0.1) | |
2738 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925,0)*CFrame.Angles(math.rad(-35),math.rad(0),math.rad(-2)), 0.2) | |
2739 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0,-0.8)*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(2)), 0.2) | |
2740 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5*size then | |
2741 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5*size, -.1*size) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),0, 0), 0.4) | |
2742 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10)+0.05*math.sin(sine/16)+0.15,math.rad(-40)+0.01*math.sin(sine/32),0.01*math.sin(sine/32)), 0.1) | |
2743 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(20+4*math.cos(sine/16)),math.rad(-5-5*math.sin(sine/16)),math.rad(10+2*math.cos(sine/16))), 0.2) | |
2744 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(-20+4*math.cos(sine/16)),math.rad(5+5*math.sin(sine/16)),math.rad(5-2*math.cos(sine/16))), 0.2) | |
2745 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1*size-(0.1*size)*math.cos(sine/16)-hum.HipHeight, -0.1*math.cos(sine/16)) * CFrame.Angles(math.rad(-10-2*math.cos(sine/16)),math.rad(-40), math.rad(1-1*math.cos(sine/16))), 0.1) | |
2746 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(15),math.rad(20),math.rad(-10+1*math.cos(sine/16))), 0.1) | |
2747 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(-5),math.rad(-20),math.rad(10+1*math.cos(sine/16))), 0.1) | |
2748 | end | |
2749 | end | |
2750 | if didjump == true and jumped == false and jumppower < 0 then | |
2751 | didjump = false | |
2752 | jumpimpact() | |
2753 | end | |
2754 | ||
2755 | --timeposition = soundz.TimePosition | |
2756 | hed.BrickColor = skin_color | |
2757 | torso.BrickColor = skin_color | |
2758 | rarm.BrickColor = skin_color | |
2759 | larm.BrickColor = skin_color | |
2760 | rleg.BrickColor = skin_color | |
2761 | lleg.BrickColor = skin_color | |
2762 | sine = sine + change | |
2763 | hum.Health = math.huge | |
2764 | hum.MaxHealth = math.huge | |
2765 | end) |