SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end | |
2 | print("FE Compatibility: by WaverlyCole & Mokiros") | |
3 | InternalData = {} | |
4 | do | |
5 | script.Parent = owner.Character | |
6 | local Event = Instance.new("RemoteEvent") | |
7 | Event.Name = "UserInput" | |
8 | local function NewFakeEvent() | |
9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect | |
10 | return Fake | |
11 | end | |
12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
17 | local function TriggerEvent(self,Event,...) | |
18 | local Trigger = Mouse[Event] | |
19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
20 | Trigger.Function(...) | |
21 | end | |
22 | end | |
23 | Mouse.TrigEvent = TriggerEvent | |
24 | UserInputService.TrigEvent = TriggerEvent | |
25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
26 | if FiredBy.Name ~= owner.Name then end | |
27 | if Input.MouseEvent then | |
28 | Mouse.Target = Input.Target | |
29 | Mouse.Hit = Input.Hit | |
30 | else | |
31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
34 | end | |
35 | for _,Action in pairs(ContextActionService.Actions) do | |
36 | for _,Key in pairs(Action.Keys) do | |
37 | if Key==Input.KeyCode then | |
38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
39 | end | |
40 | end | |
41 | end | |
42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
44 | end | |
45 | end) | |
46 | InternalData["Mouse"] = Mouse | |
47 | InternalData["ContextActionService"] = ContextActionService | |
48 | InternalData["UserInputService"] = UserInputService | |
49 | Event.Parent = NLS([[ | |
50 | local Player = owner | |
51 | local Event = script:WaitForChild("UserInput") | |
52 | local UserInputService = game:GetService("UserInputService") | |
53 | local Mouse = Player:GetMouse() | |
54 | local Input = function(Input,gameProcessedEvent) | |
55 | if gameProcessedEvent then return end | |
56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
57 | end | |
58 | UserInputService.InputBegan:Connect(Input) | |
59 | UserInputService.InputEnded:Connect(Input) | |
60 | local Hit,Target | |
61 | while wait(1/30) do | |
62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
63 | Hit,Target = Mouse.Hit,Mouse.Target | |
64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
65 | end | |
66 | end | |
67 | ]],owner.Character) | |
68 | end | |
69 | RealGame = game;game = setmetatable({},{ | |
70 | __index = function (self,Index) | |
71 | local Sandbox = function (Thing) | |
72 | if Thing:IsA("Player") then | |
73 | local RealPlayer = Thing | |
74 | return setmetatable({},{ | |
75 | __index = function (self,Index) | |
76 | local Type = type(RealPlayer[Index]) | |
77 | if Type == "function" then | |
78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
79 | return function (self) | |
80 | return InternalData["Mouse"] | |
81 | end | |
82 | end | |
83 | return function (self,...) | |
84 | return RealPlayer[Index](RealPlayer,...) | |
85 | end | |
86 | else | |
87 | return RealPlayer[Index] | |
88 | end | |
89 | end; | |
90 | __tostring = function(self) | |
91 | return RealPlayer.Name | |
92 | end | |
93 | }) | |
94 | end | |
95 | end | |
96 | if RealGame[Index] then | |
97 | local Type = type(RealGame[Index]) | |
98 | if Type == "function" then | |
99 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
100 | return function (self,Service) | |
101 | if Service:lower() == "players" then | |
102 | return setmetatable({},{ | |
103 | __index = function (self2,Index2) | |
104 | local RealService = RealGame:GetService(Service) | |
105 | local Type2 = type(Index2) | |
106 | if Type2 == "function" then | |
107 | return function (self,...) | |
108 | return RealService[Index2](RealService,...) | |
109 | end | |
110 | else | |
111 | if Index2:lower() == "localplayer" then | |
112 | return Sandbox(owner) | |
113 | end | |
114 | return RealService[Index2] | |
115 | end | |
116 | end; | |
117 | __tostring = function(self) | |
118 | return RealGame:GetService(Service).Name | |
119 | end | |
120 | }) | |
121 | elseif Service:lower() == "contextactionservice" then | |
122 | return InternalData["ContextActionService"] | |
123 | elseif Service:lower() == "contextactionservice" then | |
124 | return InternalData["UserInputService"] | |
125 | elseif Service:lower() == "runservice" then | |
126 | return setmetatable({},{ | |
127 | __index = function(self2,Index2) | |
128 | local RealService = RealGame:GetService(Service) | |
129 | local Type2 = type(Index2) | |
130 | if Type2 == "function" then | |
131 | return function (self,...) | |
132 | return RealService[Index2](RealService,...) | |
133 | end | |
134 | else | |
135 | if Index2:lower() == "bindtorenderstep" then | |
136 | return function (self,Name,Priority,Function) | |
137 | return RealGame:GetService("RunService").Stepped:Connect(Function) | |
138 | end | |
139 | end | |
140 | if Index2:lower() == "renderstepped" then | |
141 | return RealService["Stepped"] | |
142 | end | |
143 | return RealService[Index2] | |
144 | end | |
145 | end | |
146 | }) | |
147 | else | |
148 | return RealGame:GetService(Service) | |
149 | end | |
150 | end | |
151 | end | |
152 | return function (self,...) | |
153 | return RealGame[Index](RealGame,...) | |
154 | end | |
155 | else | |
156 | if game:GetService(Index) then | |
157 | return game:GetService(Index) | |
158 | end | |
159 | return RealGame[Index] | |
160 | end | |
161 | else | |
162 | return nil | |
163 | end | |
164 | end | |
165 | });Game = game;owner = game:GetService("Players").LocalPlayer | |
166 | print("Complete! Running... Showcased by VengefulProgram ") | |
167 | print(" Created by Kyutatsuki13 ") | |
168 | ||
169 | ||
170 | print([[ | |
171 | ___________________________________ | |
172 | ||
173 | Kyutatsuki13's Stella the [T E C H N O . F A I R Y] script | |
174 | Build 0002 | |
175 | Mmmmmh character designed by Kyu... | |
176 | ||
177 | ___________________________________ | |
178 | ]]) | |
179 | ||
180 | ||
181 | warn("You're whitelisted, "..game:GetService("Players").LocalPlayer.Name.." :)") | |
182 | ||
183 | local p = game:GetService("Players").LocalPlayer | |
184 | local char = p.Character | |
185 | local mouse = p:GetMouse() | |
186 | local larm = char:WaitForChild("Left Arm") | |
187 | local rarm = char:WaitForChild("Right Arm") | |
188 | local lleg = char:WaitForChild("Left Leg") | |
189 | local rleg = char:WaitForChild("Right Leg") | |
190 | local hed = char:WaitForChild("Head") | |
191 | local torso = char:WaitForChild("Torso") | |
192 | local root = char:WaitForChild("HumanoidRootPart") | |
193 | local hum = char:FindFirstChildOfClass("Humanoid") | |
194 | local debris = game:GetService("Debris") | |
195 | local input = game:GetService("UserInputService") | |
196 | local run = game:GetService("RunService") | |
197 | local rs = run.RenderStepped | |
198 | local wingpose = "Idle" | |
199 | local DebrisModel = Instance.new("Model",char) | |
200 | DebrisModel.Name = "Debris" | |
201 | repeat rs:wait() until p.CharacterAppearanceLoaded | |
202 | ||
203 | noidle = false | |
204 | shift = false | |
205 | control = false | |
206 | no_nosound_able = true | |
207 | ||
208 | ---------------------------------------------------------------------------- | |
209 | ||
210 | function rswait(value) | |
211 | if value ~= nil and value ~= 0 then | |
212 | for i=1,value do | |
213 | rs:wait() | |
214 | end | |
215 | else | |
216 | rs:wait() | |
217 | end | |
218 | end | |
219 | ||
220 | ---------------------------------------------------------------------------- | |
221 | ||
222 | local timeposition = 0 | |
223 | ||
224 | function music(id) | |
225 | if not torso:FindFirstChild("MusicRuin") then | |
226 | soundz = Instance.new("Sound",torso) | |
227 | end | |
228 | soundz.Volume = 10 | |
229 | soundz.Name = "MusicRuin" | |
230 | soundz.Looped = true | |
231 | soundz.PlaybackSpeed = 1 | |
232 | soundz.SoundId = "rbxassetid://"..id | |
233 | soundz:Stop() | |
234 | soundz:Play() | |
235 | if no_nosound_able == true then | |
236 | soundz.TimePosition = timeposition | |
237 | end | |
238 | end | |
239 | ||
240 | ---------------------------------------------------------------------------- | |
241 | ||
242 | function lerp(a, b, t) | |
243 | return a + (b - a)*t | |
244 | end | |
245 | ||
246 | ---------------------------------------------------------------------------- | |
247 | ||
248 | function Lerp(c1,c2,al) | |
249 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
250 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
251 | for i,v in pairs(com1) do | |
252 | com1[i] = v+(com2[i]-v)*al | |
253 | end | |
254 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
255 | end | |
256 | ||
257 | ---------------------------------------------------------------------------- | |
258 | ||
259 | function slerp(a, b, t) | |
260 | dot = a:Dot(b) | |
261 | if dot > 0.99999 or dot < -0.99999 then | |
262 | return t <= 0.5 and a or b | |
263 | else | |
264 | r = math.acos(dot) | |
265 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
266 | end | |
267 | end | |
268 | ||
269 | ---------------------------------------------------------------------------- | |
270 | ||
271 | function clerp(c1,c2,al) | |
272 | ||
273 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
274 | ||
275 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
276 | ||
277 | for i,v in pairs(com1) do | |
278 | ||
279 | com1[i] = lerp(v,com2[i],al) | |
280 | ||
281 | end | |
282 | ||
283 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
284 | ||
285 | end | |
286 | ||
287 | ---------------------------------------------------------------------------- | |
288 | ||
289 | function findAllNearestTorso(pos,dist) | |
290 | local list = workspace:children() | |
291 | local torso = {} | |
292 | local temp = nil | |
293 | local human = nil | |
294 | local temp2 = nil | |
295 | for x = 1, #list do | |
296 | temp2 = list[x] | |
297 | if (temp2.className == "Model") and (temp2 ~= char) then | |
298 | temp = temp2:findFirstChild("Torso") | |
299 | human = temp2:findFirstChildOfClass("Humanoid") | |
300 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
301 | if (temp.Position - pos).magnitude < dist then | |
302 | table.insert(torso,temp) | |
303 | dist = (temp.Position - pos).magnitude | |
304 | end | |
305 | end | |
306 | end | |
307 | end | |
308 | return torso | |
309 | end | |
310 | ||
311 | ---------------------------------------------------------------------------- | |
312 | ||
313 | function checkIfNotPlayer(model) | |
314 | 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 | |
315 | return true | |
316 | else | |
317 | return false | |
318 | end | |
319 | end | |
320 | ||
321 | ---------------------------------------------------------------------------- | |
322 | ||
323 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
324 | ||
325 | local wld = Instance.new("Weld", wp1) | |
326 | ||
327 | wld.Part0 = wp0 | |
328 | ||
329 | wld.Part1 = wp1 | |
330 | ||
331 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
332 | ||
333 | return wld | |
334 | ||
335 | end | |
336 | ||
337 | function weld(model) | |
338 | local parts,last = {} | |
339 | local function scan(parent) | |
340 | for _,v in pairs(parent:GetChildren()) do | |
341 | if (v:IsA("BasePart")) then | |
342 | if (last) then | |
343 | local w = Instance.new("Weld") | |
344 | w.Name = ("%s_Weld"):format(v.Name) | |
345 | w.Part0,w.Part1 = last,v | |
346 | w.C0 = last.CFrame:inverse() | |
347 | w.C1 = v.CFrame:inverse() | |
348 | w.Parent = last | |
349 | end | |
350 | last = v | |
351 | table.insert(parts,v) | |
352 | end | |
353 | scan(v) | |
354 | end | |
355 | end | |
356 | scan(model) | |
357 | for _,v in pairs(parts) do | |
358 | v.Anchored = false | |
359 | v.Locked = true | |
360 | v.Anchored = false | |
361 | v.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
362 | v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
363 | v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
364 | v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
365 | v.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
366 | v.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
367 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0) | |
368 | end | |
369 | end | |
370 | ||
371 | ---------------------------------------------------------------------------- | |
372 | ||
373 | function calculate(part,asd) | |
374 | local Head = hed | |
375 | local RightShoulder = asd | |
376 | local RightArm = part | |
377 | local MousePosition = mouse.Hit.p | |
378 | local ToMouse = (MousePosition - Head.Position).unit | |
379 | local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0))) | |
380 | 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))) | |
381 | local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit | |
382 | local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit | |
383 | local LateralAngle = math.acos(ToMouseRightArm:Dot(Look)) | |
384 | if tostring(LateralAngle) == "-1.#IND" then | |
385 | LateralAngle = 0 | |
386 | end | |
387 | local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm) | |
388 | if LateralAngle > (math.pi / 2) then | |
389 | LateralAngle = (math.pi / 2) | |
390 | local Torso = root | |
391 | local Point = Torso.CFrame:vectorToObjectSpace(mouse.Hit.p-Torso.CFrame.p) | |
392 | if Point.Z > 0 then | |
393 | if Point.X > -0 and RightArm == rarm then | |
394 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(110),0) | |
395 | elseif Point.X < 0 and RightArm == rarm then | |
396 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(-110),0) | |
397 | end | |
398 | end | |
399 | end | |
400 | if Cross.Y < 0 then | |
401 | LateralAngle = -LateralAngle | |
402 | end | |
403 | return(CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)) | |
404 | end | |
405 | ||
406 | ---------------------------------------------------------------------------- | |
407 | ||
408 | function sound(id,position,vol,pitch,start,finish) | |
409 | coroutine.resume(coroutine.create(function() | |
410 | ||
411 | local part = Instance.new("Part",workspace) | |
412 | part.Position = position | |
413 | part.Size = Vector3.new(0,0,0) | |
414 | part.CanCollide = false | |
415 | part.Transparency = 1 | |
416 | ||
417 | local sound = Instance.new("Sound",part) | |
418 | ||
419 | sound.SoundId = "rbxassetid://"..id | |
420 | ||
421 | repeat rs:wait() until sound.IsLoaded | |
422 | ||
423 | if vol ~= nil then | |
424 | sound.Volume = vol | |
425 | end | |
426 | ||
427 | if pitch ~= nil then | |
428 | sound.PlaybackSpeed = pitch | |
429 | end | |
430 | ||
431 | if start ~= nil then | |
432 | sound.TimePosition = start | |
433 | end | |
434 | ||
435 | if finish ~= nil then | |
436 | debris:AddItem(part,finish-start) | |
437 | else | |
438 | debris:AddItem(part,sound.TimeLength) | |
439 | end | |
440 | ||
441 | sound:Play() | |
442 | ||
443 | return sound | |
444 | ||
445 | end)) | |
446 | end | |
447 | ||
448 | ---------------------------------------------------------------------------- | |
449 | ||
450 | function computeDirection(vec) | |
451 | local lenSquared = vec.magnitude * vec.magnitude | |
452 | local invSqrt = 1 / math.sqrt(lenSquared) | |
453 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
454 | end | |
455 | ||
456 | ---------------------------------------------------------------------------- | |
457 | ||
458 | local shaking = 0 | |
459 | function shake(num) if num > shaking then shaking = num end end | |
460 | game:GetService("RunService").RenderStepped:connect(function() | |
461 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100) | |
462 | if shaking > 0 then shaking = shaking - 1 else shaking = 0 end | |
463 | end) | |
464 | ||
465 | plr = game:GetService("Players").LocalPlayer | |
466 | DebrisModel = Instance.new("Model",plr.Character) | |
467 | DebrisModel.Name = "DebrisModel" | |
468 | ||
469 | function Effect(mesh,size,transparency,material,color,position,rotation,positionchange,sizechange,rotationchange,transparencychange,acceleration) | |
470 | ||
471 | local part = Instance.new("Part",DebrisModel) | |
472 | part.Anchored = true | |
473 | part.CanCollide = false | |
474 | part.Size = Vector3.new(1,1,1) | |
475 | part.Transparency = transparency | |
476 | part.Material = material | |
477 | part.Color = color | |
478 | part.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(rotation.X),math.rad(rotation.Y),math.rad(rotation.Z)) | |
479 | ||
480 | local partmesh = Instance.new("SpecialMesh",part) | |
481 | if tonumber(mesh) == nil then partmesh.MeshType = mesh else partmesh.MeshId = "rbxassetid://"..mesh end | |
482 | partmesh.Scale = size | |
483 | ||
484 | local pvalue = Instance.new("Vector3Value",part) | |
485 | pvalue.Name = "Position" | |
486 | pvalue.Value = positionchange | |
487 | ||
488 | local svalue = Instance.new("Vector3Value",part) | |
489 | svalue.Name = "Size" | |
490 | svalue.Value = sizechange | |
491 | ||
492 | local rvalue = Instance.new("Vector3Value",part) | |
493 | rvalue.Name = "Rotation" | |
494 | rvalue.Value = rotationchange | |
495 | ||
496 | local tvalue = Instance.new("NumberValue",part) | |
497 | tvalue.Name = "Transparency" | |
498 | tvalue.Value = transparencychange | |
499 | ||
500 | local avalue = Instance.new("NumberValue",part) | |
501 | avalue.Name = "Acceleration" | |
502 | avalue.Value = acceleration | |
503 | ||
504 | part.Name = "EFFECT" | |
505 | ||
506 | return part | |
507 | ||
508 | end | |
509 | ||
510 | game:GetService("RunService").RenderStepped:connect(function() | |
511 | coroutine.resume(coroutine.create(function() | |
512 | ||
513 | if not plr.Character:FindFirstChild("DebrisModel") then | |
514 | DebrisModel = Instance.new("Model",plr.Character) | |
515 | DebrisModel.Name = "DebrisModel" | |
516 | end | |
517 | ||
518 | for i,v in pairs(DebrisModel:GetChildren()) do | |
519 | if v:IsA("BasePart") and v.Name == "EFFECT" then | |
520 | local pvalue = v:FindFirstChild("Position").Value | |
521 | local svalue = v:FindFirstChild("Size").Value | |
522 | local rvalue = v:FindFirstChild("Rotation").Value | |
523 | local tvalue = v:FindFirstChild("Transparency").Value | |
524 | local avalue = v:FindFirstChild("Acceleration").Value | |
525 | local mesh = v:FindFirstChild("Mesh") | |
526 | mesh.Scale = mesh.Scale + svalue | |
527 | v:FindFirstChild("Size").Value = v:FindFirstChild("Size").Value + (Vector3.new(1,1,1)*avalue) | |
528 | v.Transparency = v.Transparency + tvalue | |
529 | v.CFrame = CFrame.new(pvalue)*v.CFrame*CFrame.Angles(math.rad(rvalue.X),math.rad(rvalue.Y),math.rad(rvalue.Z)) | |
530 | if v.Transparency >= 1 or mesh.Scale.X < 0 or mesh.Scale.Y < 0 or mesh.Scale.Z < 0 then | |
531 | v:Destroy() | |
532 | end | |
533 | end | |
534 | end | |
535 | ||
536 | end)) | |
537 | end) | |
538 | ||
539 | ---------------------------------------------------------------------------- | |
540 | skin_color = BrickColor.new("Light orange") | |
541 | p:ClearCharacterAppearance() | |
542 | hed:WaitForChild("face"):Destroy() | |
543 | ||
544 | ---------------------------------------------------------------------------- | |
545 | ||
546 | local size = 1 | |
547 | ||
548 | newWeld(torso, larm, -1.5, 0.5, 0) | |
549 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
550 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
551 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
552 | newWeld(torso, hed, 0, 1.5, 0) | |
553 | newWeld(torso, lleg, -0.5, -1, 0) | |
554 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
555 | newWeld(torso, rleg, 0.5, -1, 0) | |
556 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
557 | newWeld(root, torso, 0, -1, 0) | |
558 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
559 | ||
560 | emitters={} | |
561 | ||
562 | ---------------------------------------------------------------------------------------- | |
563 | ||
564 | Model0 = Instance.new("Model") | |
565 | Part1 = Instance.new("Part") | |
566 | Part2 = Instance.new("Part") | |
567 | Part3 = Instance.new("Part") | |
568 | Part4 = Instance.new("Part") | |
569 | Part5 = Instance.new("Part") | |
570 | SpecialMesh6 = Instance.new("SpecialMesh") | |
571 | Part7 = Instance.new("Part") | |
572 | SpecialMesh8 = Instance.new("SpecialMesh") | |
573 | Part9 = Instance.new("Part") | |
574 | Part10 = Instance.new("Part") | |
575 | Part11 = Instance.new("Part") | |
576 | Model0.Name = "3" | |
577 | Model0.Parent = char | |
578 | Part1.Parent = Model0 | |
579 | Part1.Material = Enum.Material.Neon | |
580 | Part1.Anchored = true | |
581 | Part1.CanCollide = false | |
582 | Part1.Size = Vector3.new(1.60000002, 0.400000006, 0.100000001) | |
583 | Part1.CFrame = CFrame.new(-22.6299973, 18, 15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
584 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
585 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
586 | Part1.Position = Vector3.new(-22.6299973, 18, 15.5) | |
587 | Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
588 | Part2.Parent = Model0 | |
589 | Part2.Material = Enum.Material.Neon | |
590 | Part2.Anchored = true | |
591 | Part2.CanCollide = false | |
592 | Part2.Size = Vector3.new(1.62000012, 0.419999987, 0.0800000057) | |
593 | Part2.CFrame = CFrame.new(-22.6299973, 18, 15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
594 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
595 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
596 | Part2.Position = Vector3.new(-22.6299973, 18, 15.5) | |
597 | Part2.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
598 | Part3.Parent = Model0 | |
599 | Part3.Material = Enum.Material.Neon | |
600 | Part3.Anchored = true | |
601 | Part3.CanCollide = false | |
602 | Part3.Size = Vector3.new(1.10000002, 0.320000023, 0.0800000057) | |
603 | Part3.CFrame = CFrame.new(-23.9799976, 17.9500008, 15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
604 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
605 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
606 | Part3.Position = Vector3.new(-23.9799976, 17.9500008, 15.5) | |
607 | Part3.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
608 | Part4.Parent = Model0 | |
609 | Part4.Material = Enum.Material.Neon | |
610 | Part4.Rotation = Vector3.new(-180, 0, -18.4300003) | |
611 | Part4.Anchored = true | |
612 | Part4.CanCollide = false | |
613 | Part4.Size = Vector3.new(0.316227764, 0.284604996, 0.100000001) | |
614 | Part4.CFrame = CFrame.new(-23.5349979, 18.0149994, 15.5, 0.948683262, 0.316227764, 0, 0.316227764, -0.948683262, 0, 0, 0, -1) | |
615 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
616 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
617 | Part4.Position = Vector3.new(-23.5349979, 18.0149994, 15.5) | |
618 | Part4.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
619 | Part5.Parent = Model0 | |
620 | Part5.Material = Enum.Material.Neon | |
621 | Part5.Rotation = Vector3.new(-180, 90, 0) | |
622 | Part5.Anchored = true | |
623 | Part5.CanCollide = false | |
624 | Part5.Size = Vector3.new(0.0799999461, 0.320000023, 1.05000007) | |
625 | Part5.CFrame = CFrame.new(-25.0549965, 17.9500008, 15.5, -4.37113883e-08, 0, 1, -8.74227766e-08, -0.99999994, -3.82137093e-15, 1, -8.74227695e-08, 4.37113883e-08) | |
626 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
627 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
628 | Part5.Position = Vector3.new(-25.0549965, 17.9500008, 15.5) | |
629 | Part5.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
630 | SpecialMesh6.Parent = Part5 | |
631 | SpecialMesh6.MeshType = Enum.MeshType.Wedge | |
632 | Part7.Parent = Model0 | |
633 | Part7.Material = Enum.Material.Neon | |
634 | Part7.Rotation = Vector3.new(-180, 90, 0) | |
635 | Part7.Anchored = true | |
636 | Part7.CanCollide = false | |
637 | Part7.Size = Vector3.new(0.0999999419, 0.300000012, 1) | |
638 | Part7.CFrame = CFrame.new(-25.0299969, 17.9500008, 15.5, -4.37113883e-08, 0, 1, -8.74227766e-08, -0.99999994, -3.82137093e-15, 1, -8.74227695e-08, 4.37113883e-08) | |
639 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
640 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
641 | Part7.Position = Vector3.new(-25.0299969, 17.9500008, 15.5) | |
642 | Part7.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
643 | SpecialMesh8.Parent = Part7 | |
644 | SpecialMesh8.MeshType = Enum.MeshType.Wedge | |
645 | Part9.Parent = Model0 | |
646 | Part9.Material = Enum.Material.Neon | |
647 | Part9.Anchored = true | |
648 | Part9.CanCollide = false | |
649 | Part9.Size = Vector3.new(1.10000002, 0.300000012, 0.100000001) | |
650 | Part9.CFrame = CFrame.new(-23.9799976, 17.9500008, 15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
651 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
652 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
653 | Part9.Position = Vector3.new(-23.9799976, 17.9500008, 15.5) | |
654 | Part9.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
655 | Part10.Name = "asd" | |
656 | Part10.Parent = Model0 | |
657 | Part10.Material = Enum.Material.Neon | |
658 | Part10.Transparency = 1 | |
659 | Part10.Anchored = true | |
660 | Part10.CanCollide = false | |
661 | Part10.Size = Vector3.new(0.400000006, 0.400000006, 0.120000005) | |
662 | Part10.CFrame = CFrame.new(-22.0299969, 18, 15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
663 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
664 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
665 | Part10.Position = Vector3.new(-22.0299969, 18, 15.5) | |
666 | Part10.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
667 | Part11.Parent = Model0 | |
668 | Part11.Material = Enum.Material.Neon | |
669 | Part11.Rotation = Vector3.new(-180, 0, -18.4300003) | |
670 | Part11.Anchored = true | |
671 | Part11.CanCollide = false | |
672 | Part11.Size = Vector3.new(0.316227764, 0.304604977, 0.0800000057) | |
673 | Part11.CFrame = CFrame.new(-23.5349979, 18.0149994, 15.5, 0.948683262, 0.316227764, 0, 0.316227764, -0.948683262, 0, 0, 0, -1) | |
674 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
675 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
676 | Part11.Position = Vector3.new(-23.5349979, 18.0149994, 15.5) | |
677 | Part11.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
678 | weld(Model0) | |
679 | Model1 = Model0:Clone() | |
680 | Model1.Parent = char | |
681 | l1=newWeld(torso,Model0.asd,-0.8,0.8,0.5) | |
682 | r1=newWeld(torso,Model1.asd,0.8,0.8,0.5) | |
683 | Model1.asd.Weld.C1 = CFrame.Angles(0,math.rad(180),0) | |
684 | ||
685 | Model0 = Instance.new("Model") | |
686 | Part1 = Instance.new("Part") | |
687 | Part2 = Instance.new("Part") | |
688 | SpecialMesh3 = Instance.new("SpecialMesh") | |
689 | Part4 = Instance.new("Part") | |
690 | Part5 = Instance.new("Part") | |
691 | SpecialMesh6 = Instance.new("SpecialMesh") | |
692 | Part7 = Instance.new("Part") | |
693 | Part8 = Instance.new("Part") | |
694 | Part9 = Instance.new("Part") | |
695 | Part10 = Instance.new("Part") | |
696 | Part11 = Instance.new("Part") | |
697 | Model0.Name = "2" | |
698 | Model0.Parent = char | |
699 | Part1.Parent = Model0 | |
700 | Part1.Material = Enum.Material.Neon | |
701 | Part1.Rotation = Vector3.new(-180, 0, -18.4300003) | |
702 | Part1.Anchored = true | |
703 | Part1.CanCollide = false | |
704 | Part1.Size = Vector3.new(0.252982229, 0.227684006, 0.0800000057) | |
705 | Part1.CFrame = CFrame.new(-23.567997, 16.0119991, 15.75, 0.948683262, 0.316227764, 0, 0.316227764, -0.948683262, 0, 0, 0, -1) | |
706 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
707 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
708 | Part1.Position = Vector3.new(-23.567997, 16.0119991, 15.75) | |
709 | Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
710 | Part2.Parent = Model0 | |
711 | Part2.Material = Enum.Material.Neon | |
712 | Part2.Rotation = Vector3.new(-180, 90, 0) | |
713 | Part2.Anchored = true | |
714 | Part2.CanCollide = false | |
715 | Part2.Size = Vector3.new(0.0799999535, 0.24000001, 0.800000012) | |
716 | Part2.CFrame = CFrame.new(-24.7639961, 15.960001, 15.75, -4.37113883e-08, 0, 1, -8.74227766e-08, -0.99999994, -3.82137093e-15, 1, -8.74227695e-08, 4.37113883e-08) | |
717 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
718 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
719 | Part2.Position = Vector3.new(-24.7639961, 15.960001, 15.75) | |
720 | Part2.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
721 | SpecialMesh3.Parent = Part2 | |
722 | SpecialMesh3.MeshType = Enum.MeshType.Wedge | |
723 | Part4.Parent = Model0 | |
724 | Part4.Material = Enum.Material.Neon | |
725 | Part4.Anchored = true | |
726 | Part4.CanCollide = false | |
727 | Part4.Size = Vector3.new(1.29600012, 0.335999995, 0.064000003) | |
728 | Part4.CFrame = CFrame.new(-22.843998, 16, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
729 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
730 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
731 | Part4.Position = Vector3.new(-22.843998, 16, 15.75) | |
732 | Part4.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
733 | Part5.Parent = Model0 | |
734 | Part5.Material = Enum.Material.Neon | |
735 | Part5.Rotation = Vector3.new(-180, 90, 0) | |
736 | Part5.Anchored = true | |
737 | Part5.CanCollide = false | |
738 | Part5.Size = Vector3.new(0.0639999583, 0.256000012, 0.840000093) | |
739 | Part5.CFrame = CFrame.new(-24.7839966, 15.960001, 15.75, -4.37113883e-08, 0, 1, -8.74227766e-08, -0.99999994, -3.82137093e-15, 1, -8.74227695e-08, 4.37113883e-08) | |
740 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
741 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
742 | Part5.Position = Vector3.new(-24.7839966, 15.960001, 15.75) | |
743 | Part5.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
744 | SpecialMesh6.Parent = Part5 | |
745 | SpecialMesh6.MeshType = Enum.MeshType.Wedge | |
746 | Part7.Parent = Model0 | |
747 | Part7.Material = Enum.Material.Neon | |
748 | Part7.Anchored = true | |
749 | Part7.CanCollide = false | |
750 | Part7.Size = Vector3.new(0.880000055, 0.256000012, 0.064000003) | |
751 | Part7.CFrame = CFrame.new(-23.9239979, 15.960001, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
752 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
753 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
754 | Part7.Position = Vector3.new(-23.9239979, 15.960001, 15.75) | |
755 | Part7.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
756 | Part8.Parent = Model0 | |
757 | Part8.Material = Enum.Material.Neon | |
758 | Part8.Rotation = Vector3.new(-180, 0, -18.4300003) | |
759 | Part8.Anchored = true | |
760 | Part8.CanCollide = false | |
761 | Part8.Size = Vector3.new(0.252982229, 0.243683979, 0.064000003) | |
762 | Part8.CFrame = CFrame.new(-23.567997, 16.0119991, 15.75, 0.948683262, 0.316227764, 0, 0.316227764, -0.948683262, 0, 0, 0, -1) | |
763 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
764 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
765 | Part8.Position = Vector3.new(-23.567997, 16.0119991, 15.75) | |
766 | Part8.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
767 | Part9.Parent = Model0 | |
768 | Part9.Material = Enum.Material.Neon | |
769 | Part9.Anchored = true | |
770 | Part9.CanCollide = false | |
771 | Part9.Size = Vector3.new(0.880000055, 0.24000001, 0.0800000057) | |
772 | Part9.CFrame = CFrame.new(-23.9239979, 15.960001, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
773 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
774 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
775 | Part9.Position = Vector3.new(-23.9239979, 15.960001, 15.75) | |
776 | Part9.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
777 | Part10.Parent = Model0 | |
778 | Part10.Material = Enum.Material.Neon | |
779 | Part10.Anchored = true | |
780 | Part10.CanCollide = false | |
781 | Part10.Size = Vector3.new(1.28000009, 0.320000023, 0.0800000057) | |
782 | Part10.CFrame = CFrame.new(-22.843998, 16, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
783 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
784 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
785 | Part10.Position = Vector3.new(-22.843998, 16, 15.75) | |
786 | Part10.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
787 | Part11.Name = "asd" | |
788 | Part11.Parent = Model0 | |
789 | Part11.Material = Enum.Material.Neon | |
790 | Part11.Transparency = 1 | |
791 | Part11.Anchored = true | |
792 | Part11.CanCollide = false | |
793 | Part11.Size = Vector3.new(0.320000023, 0.320000023, 0.0960000083) | |
794 | Part11.CFrame = CFrame.new(-22.3639965, 16, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
795 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
796 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
797 | Part11.Position = Vector3.new(-22.3639965, 16, 15.75) | |
798 | Part11.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
799 | weld(Model0) | |
800 | Model1 = Model0:Clone() | |
801 | Model1.Parent = char | |
802 | l2=newWeld(torso,Model0.asd,-0.8,0.6,0.5) | |
803 | r2=newWeld(torso,Model1.asd,0.8,0.6,0.5) | |
804 | Model1.asd.Weld.C1 = CFrame.Angles(0,math.rad(180),0) | |
805 | ||
806 | Model0 = Instance.new("Model") | |
807 | Part1 = Instance.new("Part") | |
808 | Part2 = Instance.new("Part") | |
809 | Part3 = Instance.new("Part") | |
810 | Part4 = Instance.new("Part") | |
811 | SpecialMesh5 = Instance.new("SpecialMesh") | |
812 | Part6 = Instance.new("Part") | |
813 | Part7 = Instance.new("Part") | |
814 | Part8 = Instance.new("Part") | |
815 | SpecialMesh9 = Instance.new("SpecialMesh") | |
816 | Part10 = Instance.new("Part") | |
817 | Part11 = Instance.new("Part") | |
818 | Model0.Name = "1" | |
819 | Model0.Parent = char | |
820 | Part1.Parent = Model0 | |
821 | Part1.Material = Enum.Material.Neon | |
822 | Part1.Anchored = true | |
823 | Part1.CanCollide = false | |
824 | Part1.Size = Vector3.new(0.704000056, 0.192000017, 0.064000003) | |
825 | Part1.CFrame = CFrame.new(-23.8791981, 13.9680004, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
826 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
827 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
828 | Part1.Position = Vector3.new(-23.8791981, 13.9680004, 15.75) | |
829 | Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
830 | Part2.Parent = Model0 | |
831 | Part2.Material = Enum.Material.Neon | |
832 | Part2.Rotation = Vector3.new(-180, 0, -18.4300003) | |
833 | Part2.Anchored = true | |
834 | Part2.CanCollide = false | |
835 | Part2.Size = Vector3.new(0.202385783, 0.194947183, 0.0512000024) | |
836 | Part2.CFrame = CFrame.new(-23.5943966, 14.0095997, 15.75, 0.948683262, 0.316227764, 0, 0.316227764, -0.948683262, 0, 0, 0, -1) | |
837 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
838 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
839 | Part2.Position = Vector3.new(-23.5943966, 14.0095997, 15.75) | |
840 | Part2.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
841 | Part3.Parent = Model0 | |
842 | Part3.Material = Enum.Material.Neon | |
843 | Part3.Rotation = Vector3.new(-180, 0, -18.4300003) | |
844 | Part3.Anchored = true | |
845 | Part3.CanCollide = false | |
846 | Part3.Size = Vector3.new(0.202385783, 0.182147205, 0.064000003) | |
847 | Part3.CFrame = CFrame.new(-23.5943966, 14.0095997, 15.75, 0.948683262, 0.316227764, 0, 0.316227764, -0.948683262, 0, 0, 0, -1) | |
848 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
849 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
850 | Part3.Position = Vector3.new(-23.5943966, 14.0095997, 15.75) | |
851 | Part3.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
852 | Part4.Parent = Model0 | |
853 | Part4.Material = Enum.Material.Neon | |
854 | Part4.Rotation = Vector3.new(-180, 90, 0) | |
855 | Part4.Anchored = true | |
856 | Part4.CanCollide = false | |
857 | Part4.Size = Vector3.new(0.0639999658, 0.192000017, 0.640000045) | |
858 | Part4.CFrame = CFrame.new(-24.5511971, 13.9680004, 15.75, -4.37113883e-08, 0, 1, -8.74227766e-08, -0.99999994, -3.82137093e-15, 1, -8.74227695e-08, 4.37113883e-08) | |
859 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
860 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
861 | Part4.Position = Vector3.new(-24.5511971, 13.9680004, 15.75) | |
862 | Part4.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
863 | SpecialMesh5.Parent = Part4 | |
864 | SpecialMesh5.MeshType = Enum.MeshType.Wedge | |
865 | Part6.Parent = Model0 | |
866 | Part6.Material = Enum.Material.Neon | |
867 | Part6.Anchored = true | |
868 | Part6.CanCollide = false | |
869 | Part6.Size = Vector3.new(1.03680015, 0.26879999, 0.0512000024) | |
870 | Part6.CFrame = CFrame.new(-23.0151978, 14, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
871 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
872 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
873 | Part6.Position = Vector3.new(-23.0151978, 14, 15.75) | |
874 | Part6.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
875 | Part7.Name = "asd" | |
876 | Part7.Parent = Model0 | |
877 | Part7.Material = Enum.Material.Neon | |
878 | Part7.Transparency = 1 | |
879 | Part7.Anchored = true | |
880 | Part7.CanCollide = false | |
881 | Part7.Size = Vector3.new(0.256000012, 0.256000012, 0.0768000111) | |
882 | Part7.CFrame = CFrame.new(-22.631197, 14, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
883 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
884 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
885 | Part7.Position = Vector3.new(-22.631197, 14, 15.75) | |
886 | Part7.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
887 | Part8.Parent = Model0 | |
888 | Part8.Material = Enum.Material.Neon | |
889 | Part8.Rotation = Vector3.new(-180, 90, 0) | |
890 | Part8.Anchored = true | |
891 | Part8.CanCollide = false | |
892 | Part8.Size = Vector3.new(0.0511999689, 0.20480001, 0.67200011) | |
893 | Part8.CFrame = CFrame.new(-24.5671959, 13.9680004, 15.75, -4.37113883e-08, 0, 1, -8.74227766e-08, -0.99999994, -3.82137093e-15, 1, -8.74227695e-08, 4.37113883e-08) | |
894 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
895 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
896 | Part8.Position = Vector3.new(-24.5671959, 13.9680004, 15.75) | |
897 | Part8.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
898 | SpecialMesh9.Parent = Part8 | |
899 | SpecialMesh9.MeshType = Enum.MeshType.Wedge | |
900 | Part10.Parent = Model0 | |
901 | Part10.Material = Enum.Material.Neon | |
902 | Part10.Anchored = true | |
903 | Part10.CanCollide = false | |
904 | Part10.Size = Vector3.new(1.02400005, 0.256000012, 0.064000003) | |
905 | Part10.CFrame = CFrame.new(-23.0151978, 14, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
906 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
907 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
908 | Part10.Position = Vector3.new(-23.0151978, 14, 15.75) | |
909 | Part10.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
910 | Part11.Parent = Model0 | |
911 | Part11.Material = Enum.Material.Neon | |
912 | Part11.Anchored = true | |
913 | Part11.CanCollide = false | |
914 | Part11.Size = Vector3.new(0.704000056, 0.20480001, 0.0512000024) | |
915 | Part11.CFrame = CFrame.new(-23.8791981, 13.9680004, 15.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
916 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
917 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
918 | Part11.Position = Vector3.new(-23.8791981, 13.9680004, 15.75) | |
919 | Part11.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
920 | weld(Model0) | |
921 | Model1 = Model0:Clone() | |
922 | Model1.Parent = char | |
923 | l3=newWeld(torso,Model0.asd,-0.8,0.4,0.5) | |
924 | r3=newWeld(torso,Model1.asd,0.8,0.4,0.5) | |
925 | Model1.asd.Weld.C1 = CFrame.Angles(0,math.rad(180),0) | |
926 | ||
927 | Model0 = Instance.new("Model") | |
928 | Part1 = Instance.new("Part") | |
929 | SpecialMesh2 = Instance.new("SpecialMesh") | |
930 | Part3 = Instance.new("Part") | |
931 | Part4 = Instance.new("Part") | |
932 | SpecialMesh5 = Instance.new("SpecialMesh") | |
933 | Part6 = Instance.new("Part") | |
934 | SpecialMesh7 = Instance.new("SpecialMesh") | |
935 | Part8 = Instance.new("Part") | |
936 | SpecialMesh9 = Instance.new("SpecialMesh") | |
937 | Part10 = Instance.new("Part") | |
938 | Part11 = Instance.new("Part") | |
939 | SpecialMesh12 = Instance.new("SpecialMesh") | |
940 | Model0.Parent = char | |
941 | Part1.Parent = Model0 | |
942 | Part1.Rotation = Vector3.new(0, 90, 0) | |
943 | Part1.Anchored = true | |
944 | Part1.CanCollide = false | |
945 | Part1.Size = Vector3.new(0.42840001, 0.894600034, 1.18440008) | |
946 | Part1.CFrame = CFrame.new(-40.6850014, 7.97090054, 29, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
947 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
948 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
949 | Part1.Position = Vector3.new(-40.6850014, 7.97090054, 29) | |
950 | Part1.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
951 | SpecialMesh2.Parent = Part1 | |
952 | SpecialMesh2.MeshType = Enum.MeshType.Cylinder | |
953 | Part3.Parent = Model0 | |
954 | Part3.Rotation = Vector3.new(0, 90, 0) | |
955 | Part3.Anchored = true | |
956 | Part3.CanCollide = false | |
957 | Part3.Size = Vector3.new(0.42840001, 0.447300076, 1.52460003) | |
958 | Part3.CFrame = CFrame.new(-41, 7.74725056, 29, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
959 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
960 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
961 | Part3.Position = Vector3.new(-41, 7.74725056, 29) | |
962 | Part3.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
963 | Part4.Parent = Model0 | |
964 | Part4.Rotation = Vector3.new(0, 90, 0) | |
965 | Part4.Anchored = true | |
966 | Part4.CanCollide = false | |
967 | Part4.Size = Vector3.new(0.42840001, 0.894600034, 1.18440008) | |
968 | Part4.CFrame = CFrame.new(-41.3149986, 7.97090054, 29, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
969 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
970 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
971 | Part4.Position = Vector3.new(-41.3149986, 7.97090054, 29) | |
972 | Part4.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
973 | SpecialMesh5.Parent = Part4 | |
974 | SpecialMesh5.MeshType = Enum.MeshType.Cylinder | |
975 | Part6.Parent = Model0 | |
976 | Part6.Anchored = true | |
977 | Part6.CanCollide = false | |
978 | Part6.Size = Vector3.new(1.71360004, 0.504000008, 0.504000008) | |
979 | Part6.CFrame = CFrame.new(-41, 7.61180019, 29, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
980 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
981 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
982 | Part6.Position = Vector3.new(-41, 7.61180019, 29) | |
983 | Part6.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
984 | SpecialMesh7.Parent = Part6 | |
985 | SpecialMesh7.MeshType = Enum.MeshType.Cylinder | |
986 | Part8.Name = "asd" | |
987 | Part8.Parent = Model0 | |
988 | Part8.Transparency = 1 | |
989 | Part8.Anchored = true | |
990 | Part8.CanCollide = false | |
991 | Part8.Size = Vector3.new(2.51999998, 1.25999999, 1.25999999) | |
992 | Part8.CFrame = CFrame.new(-41, 7.61180019, 29, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
993 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
994 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
995 | Part8.Position = Vector3.new(-41, 7.61180019, 29) | |
996 | SpecialMesh9.Parent = Part8 | |
997 | SpecialMesh9.Scale = Vector3.new(1.25, 1.25, 1.25) | |
998 | SpecialMesh9.Scale = Vector3.new(1.25, 1.25, 1.25) | |
999 | Part10.Parent = Model0 | |
1000 | Part10.Rotation = Vector3.new(0, 90, 0) | |
1001 | Part10.Anchored = true | |
1002 | Part10.CanCollide = false | |
1003 | Part10.Size = Vector3.new(0.42840001, 0.894600153, 0.630000055) | |
1004 | Part10.CFrame = CFrame.new(-41, 7.97089958, 29, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08) | |
1005 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
1006 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
1007 | Part10.Position = Vector3.new(-41, 7.97089958, 29) | |
1008 | Part10.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
1009 | Part11.Parent = Model0 | |
1010 | Part11.Material = Enum.Material.Neon | |
1011 | Part11.Anchored = true | |
1012 | Part11.CanCollide = false | |
1013 | Part11.Size = Vector3.new(1.73879993, 0.453599989, 0.453599989) | |
1014 | Part11.CFrame = CFrame.new(-41, 7.61180019, 29, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1015 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
1016 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
1017 | Part11.Position = Vector3.new(-41, 7.61180019, 29) | |
1018 | Part11.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1019 | SpecialMesh12.Parent = Part11 | |
1020 | SpecialMesh12.MeshType = Enum.MeshType.Cylinder | |
1021 | weld(Model0) | |
1022 | newWeld(hed,Model0.asd,0,0.15,0) | |
1023 | ||
1024 | Model0 = Instance.new("Model") | |
1025 | Part1 = Instance.new("Part") | |
1026 | Part2 = Instance.new("Part") | |
1027 | Part3 = Instance.new("Part") | |
1028 | Part4 = Instance.new("Part") | |
1029 | Model0.Parent = char | |
1030 | Part1.Parent = Model0 | |
1031 | Part1.Anchored = true | |
1032 | Part1.CanCollide = false | |
1033 | Part1.Size = Vector3.new(1.01999998, 1.20000005, 1.01999998) | |
1034 | Part1.CFrame = CFrame.new(-126, 27.1849995, 11, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1035 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
1036 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
1037 | Part1.Position = Vector3.new(-126, 27.1849995, 11) | |
1038 | Part1.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1039 | Part2.Name = "asd" | |
1040 | Part2.Parent = Model0 | |
1041 | Part2.Transparency = 1 | |
1042 | Part2.Anchored = true | |
1043 | Part2.CanCollide = false | |
1044 | Part2.Size = Vector3.new(1, 2, 1) | |
1045 | Part2.CFrame = CFrame.new(-126, 27.5949993, 11, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1046 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
1047 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
1048 | Part2.Position = Vector3.new(-126, 27.5949993, 11) | |
1049 | Part3.Parent = Model0 | |
1050 | Part3.Anchored = true | |
1051 | Part3.CanCollide = false | |
1052 | Part3.Size = Vector3.new(1.01999998, 0.0799999833, 0.289999962) | |
1053 | Part3.CFrame = CFrame.new(-126, 26.5450001, 10.6350002, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1054 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
1055 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
1056 | Part3.Position = Vector3.new(-126, 26.5450001, 10.6350002) | |
1057 | Part3.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1058 | Part4.Parent = Model0 | |
1059 | Part4.Anchored = true | |
1060 | Part4.CanCollide = false | |
1061 | Part4.Size = Vector3.new(1.01999998, 0.0799999833, 0.590000033) | |
1062 | Part4.CFrame = CFrame.new(-126, 26.5450001, 11.2150002, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1063 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
1064 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
1065 | Part4.Position = Vector3.new(-126, 26.5450001, 11.2150002) | |
1066 | Part4.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1067 | weld(Model0) | |
1068 | Model1 = Model0:Clone() | |
1069 | Model1.Parent = char | |
1070 | newWeld(lleg,Model0.asd,0,0,0) | |
1071 | newWeld(rleg,Model1.asd,0,0,0) | |
1072 | Model0.asd.Weld.C1 = CFrame.Angles(0,math.rad(180),0) | |
1073 | Model1.asd.Weld.C1 = CFrame.Angles(0,math.rad(180),0) | |
1074 | ||
1075 | Model0 = Instance.new("Model") | |
1076 | WedgePart1 = Instance.new("WedgePart") | |
1077 | WedgePart2 = Instance.new("WedgePart") | |
1078 | WedgePart3 = Instance.new("WedgePart") | |
1079 | WedgePart4 = Instance.new("WedgePart") | |
1080 | WedgePart5 = Instance.new("WedgePart") | |
1081 | WedgePart6 = Instance.new("WedgePart") | |
1082 | WedgePart7 = Instance.new("WedgePart") | |
1083 | Part8 = Instance.new("Part") | |
1084 | WedgePart9 = Instance.new("WedgePart") | |
1085 | WedgePart10 = Instance.new("WedgePart") | |
1086 | Part11 = Instance.new("Part") | |
1087 | Part12 = Instance.new("Part") | |
1088 | WedgePart13 = Instance.new("WedgePart") | |
1089 | Model0.Parent = char | |
1090 | WedgePart1.Name = "Part" | |
1091 | WedgePart1.Parent = Model0 | |
1092 | WedgePart1.Material = Enum.Material.Neon | |
1093 | WedgePart1.Rotation = Vector3.new(-108, 0, -180) | |
1094 | WedgePart1.Anchored = true | |
1095 | WedgePart1.CanCollide = false | |
1096 | WedgePart1.FormFactor = Enum.FormFactor.Custom | |
1097 | WedgePart1.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1098 | WedgePart1.CFrame = CFrame.new(-96.4881439, 27.3141098, 11.1037397, -1, 1.92567839e-07, -1.35075409e-08, 4.66602721e-08, 0.309017152, 0.951056719, 1.87316914e-07, 0.951056778, -0.309017181) | |
1099 | WedgePart1.BottomSurface = Enum.SurfaceType.Smooth | |
1100 | WedgePart1.Position = Vector3.new(-96.4881439, 27.3141098, 11.1037397) | |
1101 | WedgePart1.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1102 | WedgePart2.Name = "Part" | |
1103 | WedgePart2.Parent = Model0 | |
1104 | WedgePart2.Material = Enum.Material.Neon | |
1105 | WedgePart2.Rotation = Vector3.new(-144, 0, 0) | |
1106 | WedgePart2.Anchored = true | |
1107 | WedgePart2.CanCollide = false | |
1108 | WedgePart2.FormFactor = Enum.FormFactor.Custom | |
1109 | WedgePart2.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1110 | WedgePart2.CFrame = CFrame.new(-96.4881439, 27.2292633, 10.9869566, 1, 1.25302876e-07, -3.53632679e-08, 1.22158227e-07, -0.809017241, 0.587785363, 4.50418014e-08, -0.587785423, -0.809017301) | |
1111 | WedgePart2.BottomSurface = Enum.SurfaceType.Smooth | |
1112 | WedgePart2.Position = Vector3.new(-96.4881439, 27.2292633, 10.9869566) | |
1113 | WedgePart2.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1114 | WedgePart3.Name = "Part" | |
1115 | WedgePart3.Parent = Model0 | |
1116 | WedgePart3.Material = Enum.Material.Neon | |
1117 | WedgePart3.Rotation = Vector3.new(144, 0, 0) | |
1118 | WedgePart3.Anchored = true | |
1119 | WedgePart3.CanCollide = false | |
1120 | WedgePart3.FormFactor = Enum.FormFactor.Custom | |
1121 | WedgePart3.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1122 | WedgePart3.CFrame = CFrame.new(-96.4881439, 27.2702789, 11.0894966, 1, 1.76688729e-07, -3.53633034e-08, 1.22158212e-07, -0.809017181, -0.587785423, -1.32464464e-07, 0.587785482, -0.809017241) | |
1123 | WedgePart3.BottomSurface = Enum.SurfaceType.Smooth | |
1124 | WedgePart3.Position = Vector3.new(-96.4881439, 27.2702789, 11.0894966) | |
1125 | WedgePart3.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1126 | WedgePart4.Name = "Part" | |
1127 | WedgePart4.Parent = Model0 | |
1128 | WedgePart4.Material = Enum.Material.Neon | |
1129 | WedgePart4.Anchored = true | |
1130 | WedgePart4.CanCollide = false | |
1131 | WedgePart4.FormFactor = Enum.FormFactor.Custom | |
1132 | WedgePart4.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1133 | WedgePart4.CFrame = CFrame.new(-96.4881439, 27.4075661, 10.9751081, 1, 1.61467536e-14, 4.37114345e-08, 8.69356246e-15, 1.00000024, 0, -4.37113421e-08, -7.05797007e-22, 1.00000036) | |
1134 | WedgePart4.BottomSurface = Enum.SurfaceType.Smooth | |
1135 | WedgePart4.Position = Vector3.new(-96.4881439, 27.4075661, 10.9751081) | |
1136 | WedgePart4.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1137 | WedgePart5.Name = "Part" | |
1138 | WedgePart5.Parent = Model0 | |
1139 | WedgePart5.Material = Enum.Material.Neon | |
1140 | WedgePart5.Rotation = Vector3.new(-180, 0, -180) | |
1141 | WedgePart5.Anchored = true | |
1142 | WedgePart5.CanCollide = false | |
1143 | WedgePart5.FormFactor = Enum.FormFactor.Custom | |
1144 | WedgePart5.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1145 | WedgePart5.CFrame = CFrame.new(-96.4881439, 27.4075661, 11.0448904, -1, 1.61467536e-14, -4.37114345e-08, -8.69356246e-15, 1.00000024, 0, 4.37113421e-08, -7.05797007e-22, -1.00000036) | |
1146 | WedgePart5.BottomSurface = Enum.SurfaceType.Smooth | |
1147 | WedgePart5.Position = Vector3.new(-96.4881439, 27.4075661, 11.0448904) | |
1148 | WedgePart5.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1149 | WedgePart6.Name = "Part" | |
1150 | WedgePart6.Parent = Model0 | |
1151 | WedgePart6.Material = Enum.Material.Neon | |
1152 | WedgePart6.Rotation = Vector3.new(72, 0, 0) | |
1153 | WedgePart6.Anchored = true | |
1154 | WedgePart6.CanCollide = false | |
1155 | WedgePart6.FormFactor = Enum.FormFactor.Custom | |
1156 | WedgePart6.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1157 | WedgePart6.CFrame = CFrame.new(-96.4881439, 27.380476, 11.0821753, 1, 1.92567839e-07, 1.35075409e-08, -4.66602721e-08, 0.309017152, -0.951056719, -1.87316914e-07, 0.951056778, 0.309017181) | |
1158 | WedgePart6.BottomSurface = Enum.SurfaceType.Smooth | |
1159 | WedgePart6.Position = Vector3.new(-96.4881439, 27.380476, 11.0821753) | |
1160 | WedgePart6.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1161 | WedgePart7.Name = "Part" | |
1162 | WedgePart7.Parent = Model0 | |
1163 | WedgePart7.Material = Enum.Material.Neon | |
1164 | WedgePart7.Rotation = Vector3.new(-72, 0, 0) | |
1165 | WedgePart7.Anchored = true | |
1166 | WedgePart7.CanCollide = false | |
1167 | WedgePart7.FormFactor = Enum.FormFactor.Custom | |
1168 | WedgePart7.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1169 | WedgePart7.CFrame = CFrame.new(-96.4881439, 27.3141098, 10.9162607, 1, 4.58507792e-08, 1.35075773e-08, -2.70151279e-08, 0.309017092, 0.951056719, 3.94326847e-08, -0.951056778, 0.309017122) | |
1170 | WedgePart7.BottomSurface = Enum.SurfaceType.Smooth | |
1171 | WedgePart7.Position = Vector3.new(-96.4881439, 27.3141098, 10.9162607) | |
1172 | WedgePart7.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1173 | Part8.Parent = Model0 | |
1174 | Part8.Anchored = true | |
1175 | Part8.CanCollide = false | |
1176 | Part8.Size = Vector3.new(0.539999962, 0.149999961, 1.01999998) | |
1177 | Part8.CFrame = CFrame.new(-96.2506638, 27.0200005, 11, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1178 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
1179 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
1180 | Part8.Position = Vector3.new(-96.2506638, 27.0200005, 11) | |
1181 | Part8.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
1182 | WedgePart9.Name = "Part" | |
1183 | WedgePart9.Parent = Model0 | |
1184 | WedgePart9.Material = Enum.Material.Neon | |
1185 | WedgePart9.Rotation = Vector3.new(-36, 0, -180) | |
1186 | WedgePart9.Anchored = true | |
1187 | WedgePart9.CanCollide = false | |
1188 | WedgePart9.FormFactor = Enum.FormFactor.Custom | |
1189 | WedgePart9.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1190 | WedgePart9.CFrame = CFrame.new(-96.4881439, 27.2292633, 11.0330429, -1, 1.76688729e-07, 3.53633034e-08, -1.22158212e-07, -0.809017181, 0.587785423, 1.32464464e-07, 0.587785482, 0.809017241) | |
1191 | WedgePart9.BottomSurface = Enum.SurfaceType.Smooth | |
1192 | WedgePart9.Position = Vector3.new(-96.4881439, 27.2292633, 11.0330429) | |
1193 | WedgePart9.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1194 | WedgePart10.Name = "Part" | |
1195 | WedgePart10.Parent = Model0 | |
1196 | WedgePart10.Material = Enum.Material.Neon | |
1197 | WedgePart10.Rotation = Vector3.new(108, 0, -180) | |
1198 | WedgePart10.Anchored = true | |
1199 | WedgePart10.CanCollide = false | |
1200 | WedgePart10.FormFactor = Enum.FormFactor.Custom | |
1201 | WedgePart10.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1202 | WedgePart10.CFrame = CFrame.new(-96.4881439, 27.380476, 10.9378242, -1, 4.58507792e-08, -1.35075773e-08, 2.70151279e-08, 0.309017092, -0.951056719, -3.94326847e-08, -0.951056778, -0.309017122) | |
1203 | WedgePart10.BottomSurface = Enum.SurfaceType.Smooth | |
1204 | WedgePart10.Position = Vector3.new(-96.4881439, 27.380476, 10.9378242) | |
1205 | WedgePart10.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1206 | Part11.Parent = Model0 | |
1207 | Part11.Anchored = true | |
1208 | Part11.CanCollide = false | |
1209 | Part11.Size = Vector3.new(1.01999998, 0.440000027, 1.01999998) | |
1210 | Part11.CFrame = CFrame.new(-96.0106659, 27.3150005, 11, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1211 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
1212 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
1213 | Part11.Position = Vector3.new(-96.0106659, 27.3150005, 11) | |
1214 | Part11.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
1215 | Part12.Name = "asd" | |
1216 | Part12.Parent = Model0 | |
1217 | Part12.Transparency = 1 | |
1218 | Part12.Anchored = true | |
1219 | Part12.CanCollide = false | |
1220 | Part12.Size = Vector3.new(1, 2, 1) | |
1221 | Part12.CFrame = CFrame.new(-96.0106659, 27.9549999, 11, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1222 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
1223 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
1224 | Part12.Position = Vector3.new(-96.0106659, 27.9549999, 11) | |
1225 | WedgePart13.Name = "Part" | |
1226 | WedgePart13.Parent = Model0 | |
1227 | WedgePart13.Material = Enum.Material.Neon | |
1228 | WedgePart13.Rotation = Vector3.new(36, 0, -180) | |
1229 | WedgePart13.Anchored = true | |
1230 | WedgePart13.CanCollide = false | |
1231 | WedgePart13.FormFactor = Enum.FormFactor.Custom | |
1232 | WedgePart13.Size = Vector3.new(0.069781214, 0.174453035, 0.069781214) | |
1233 | WedgePart13.CFrame = CFrame.new(-96.4881439, 27.2702789, 10.9305029, -1, 1.25302876e-07, 3.53632679e-08, -1.22158227e-07, -0.809017241, -0.587785363, -4.50418014e-08, -0.587785423, 0.809017301) | |
1234 | WedgePart13.BottomSurface = Enum.SurfaceType.Smooth | |
1235 | WedgePart13.Position = Vector3.new(-96.4881439, 27.2702789, 10.9305029) | |
1236 | WedgePart13.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1237 | weld(Model0) | |
1238 | Model1 = Model0:Clone() | |
1239 | Model1.Parent = char | |
1240 | newWeld(larm,Model0.asd,0,0,0) | |
1241 | newWeld(rarm,Model1.asd,0,0,0) | |
1242 | Model1.asd.Weld.C1 = CFrame.Angles(0,math.rad(180),0) | |
1243 | ||
1244 | Model0 = Instance.new("Model") | |
1245 | Part1 = Instance.new("Part") | |
1246 | SpecialMesh2 = Instance.new("SpecialMesh") | |
1247 | Part3 = Instance.new("Part") | |
1248 | Part4 = Instance.new("Part") | |
1249 | SpecialMesh5 = Instance.new("SpecialMesh") | |
1250 | Part6 = Instance.new("Part") | |
1251 | SpecialMesh7 = Instance.new("SpecialMesh") | |
1252 | Part8 = Instance.new("Part") | |
1253 | SpecialMesh9 = Instance.new("SpecialMesh") | |
1254 | Part10 = Instance.new("Part") | |
1255 | SpecialMesh11 = Instance.new("SpecialMesh") | |
1256 | Part12 = Instance.new("Part") | |
1257 | SpecialMesh13 = Instance.new("SpecialMesh") | |
1258 | Part14 = Instance.new("Part") | |
1259 | Part15 = Instance.new("Part") | |
1260 | Part16 = Instance.new("Part") | |
1261 | Part17 = Instance.new("Part") | |
1262 | Part18 = Instance.new("Part") | |
1263 | SpecialMesh19 = Instance.new("SpecialMesh") | |
1264 | Part20 = Instance.new("Part") | |
1265 | SpecialMesh21 = Instance.new("SpecialMesh") | |
1266 | Part22 = Instance.new("Part") | |
1267 | Model0.Parent = char | |
1268 | Part1.Parent = Model0 | |
1269 | Part1.Rotation = Vector3.new(-90, 0, 90) | |
1270 | Part1.Anchored = true | |
1271 | Part1.CanCollide = false | |
1272 | Part1.Size = Vector3.new(0.0500000007, 0.170000002, 0.349999964) | |
1273 | Part1.CFrame = CFrame.new(-62.0849991, 28.1099987, 10.312499, 1.71961681e-14, -0.99999994, -3.93402502e-07, -4.37113883e-08, -3.93402445e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1274 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
1275 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
1276 | Part1.Position = Vector3.new(-62.0849991, 28.1099987, 10.312499) | |
1277 | Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1278 | SpecialMesh2.Parent = Part1 | |
1279 | SpecialMesh2.MeshType = Enum.MeshType.Wedge | |
1280 | Part3.Parent = Model0 | |
1281 | Part3.Anchored = true | |
1282 | Part3.CanCollide = false | |
1283 | Part3.Size = Vector3.new(2.02000022, 1.16000009, 1.01999998) | |
1284 | Part3.CFrame = CFrame.new(-62, 28.414999, 10.8424988, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1285 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
1286 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
1287 | Part3.Position = Vector3.new(-62, 28.414999, 10.8424988) | |
1288 | Part3.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1289 | Part4.Parent = Model0 | |
1290 | Part4.Rotation = Vector3.new(-90, 0, -90) | |
1291 | Part4.Anchored = true | |
1292 | Part4.CanCollide = false | |
1293 | Part4.Size = Vector3.new(0.0500000007, 0.140000015, 0.159999996) | |
1294 | Part4.CFrame = CFrame.new(-61.9300003, 28.8049984, 10.312499, 8.74227837e-08, 0.99999994, -1.31134158e-07, -4.37113741e-08, 1.31134158e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1295 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
1296 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
1297 | Part4.Position = Vector3.new(-61.9300003, 28.8049984, 10.312499) | |
1298 | Part4.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1299 | SpecialMesh5.Parent = Part4 | |
1300 | SpecialMesh5.MeshType = Enum.MeshType.Wedge | |
1301 | Part6.Parent = Model0 | |
1302 | Part6.Rotation = Vector3.new(-90, 0, -90) | |
1303 | Part6.Anchored = true | |
1304 | Part6.CanCollide = false | |
1305 | Part6.Size = Vector3.new(0.0500000007, 0.170000002, 0.349999964) | |
1306 | Part6.CFrame = CFrame.new(-61.9150009, 28.1099987, 10.312499, 8.74227979e-08, 0.99999994, -3.05979711e-07, -4.37113599e-08, 3.05979682e-07, 1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1307 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
1308 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
1309 | Part6.Position = Vector3.new(-61.9150009, 28.1099987, 10.312499) | |
1310 | Part6.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1311 | SpecialMesh7.Parent = Part6 | |
1312 | SpecialMesh7.MeshType = Enum.MeshType.Wedge | |
1313 | Part8.Parent = Model0 | |
1314 | Part8.Rotation = Vector3.new(90, 0, 90) | |
1315 | Part8.Anchored = true | |
1316 | Part8.CanCollide = false | |
1317 | Part8.Size = Vector3.new(0.0500000007, 0.170000002, 0.639999986) | |
1318 | Part8.CFrame = CFrame.new(-62.0849991, 28.6049995, 10.312499, -8.74227908e-08, -0.99999994, 2.18556934e-07, 4.3711367e-08, -2.1855692e-07, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1319 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
1320 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
1321 | Part8.Position = Vector3.new(-62.0849991, 28.6049995, 10.312499) | |
1322 | Part8.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1323 | SpecialMesh9.Parent = Part8 | |
1324 | SpecialMesh9.MeshType = Enum.MeshType.Wedge | |
1325 | Part10.Parent = Model0 | |
1326 | Part10.Rotation = Vector3.new(90, 0, -90) | |
1327 | Part10.Anchored = true | |
1328 | Part10.CanCollide = false | |
1329 | Part10.Size = Vector3.new(0.0500000007, 0.140000015, 0.119999997) | |
1330 | Part10.CFrame = CFrame.new(-61.9300003, 28.9449997, 10.312499, -5.73205661e-15, 0.99999994, 1.31134158e-07, 4.37113883e-08, 1.31134158e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1331 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
1332 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
1333 | Part10.Position = Vector3.new(-61.9300003, 28.9449997, 10.312499) | |
1334 | Part10.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1335 | SpecialMesh11.Parent = Part10 | |
1336 | SpecialMesh11.MeshType = Enum.MeshType.Wedge | |
1337 | Part12.Parent = Model0 | |
1338 | Part12.Rotation = Vector3.new(90, 0, 90) | |
1339 | Part12.Anchored = true | |
1340 | Part12.CanCollide = false | |
1341 | Part12.Size = Vector3.new(0.0500000007, 0.140000015, 0.119999997) | |
1342 | Part12.CFrame = CFrame.new(-62.0699997, 28.9449997, 10.312499, -8.74227766e-08, -0.99999994, 4.37113847e-08, 4.37113812e-08, -4.37113847e-08, -1, 0.99999994, -8.74227695e-08, 4.37113812e-08) | |
1343 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
1344 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
1345 | Part12.Position = Vector3.new(-62.0699997, 28.9449997, 10.312499) | |
1346 | Part12.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1347 | SpecialMesh13.Parent = Part12 | |
1348 | SpecialMesh13.MeshType = Enum.MeshType.Wedge | |
1349 | Part14.Parent = Model0 | |
1350 | Part14.Anchored = true | |
1351 | Part14.CanCollide = false | |
1352 | Part14.Size = Vector3.new(0.700000226, 0.860000074, 0.550000012) | |
1353 | Part14.CFrame = CFrame.new(-61.3300018, 28.6349983, 10.5874987, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1354 | Part14.BottomSurface = Enum.SurfaceType.Smooth | |
1355 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
1356 | Part14.Position = Vector3.new(-61.3300018, 28.6349983, 10.5874987) | |
1357 | Part14.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1358 | Part15.Parent = Model0 | |
1359 | Part15.Anchored = true | |
1360 | Part15.CanCollide = false | |
1361 | Part15.Size = Vector3.new(2.0400002, 0.860000074, 0.49999997) | |
1362 | Part15.CFrame = CFrame.new(-62, 28.6349983, 11.1124992, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1363 | Part15.BottomSurface = Enum.SurfaceType.Smooth | |
1364 | Part15.TopSurface = Enum.SurfaceType.Smooth | |
1365 | Part15.Position = Vector3.new(-62, 28.6349983, 11.1124992) | |
1366 | Part15.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1367 | Part16.Name = "asd" | |
1368 | Part16.Parent = Model0 | |
1369 | Part16.Transparency = 1 | |
1370 | Part16.Anchored = true | |
1371 | Part16.CanCollide = false | |
1372 | Part16.Size = Vector3.new(2, 2, 1) | |
1373 | Part16.CFrame = CFrame.new(-62, 28.0450001, 10.8424988, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1374 | Part16.BottomSurface = Enum.SurfaceType.Smooth | |
1375 | Part16.TopSurface = Enum.SurfaceType.Smooth | |
1376 | Part16.Position = Vector3.new(-62, 28.0450001, 10.8424988) | |
1377 | Part17.Parent = Model0 | |
1378 | Part17.Anchored = true | |
1379 | Part17.CanCollide = false | |
1380 | Part17.Size = Vector3.new(2.02000022, 0.390000075, 1.01999998) | |
1381 | Part17.CFrame = CFrame.new(-62, 27.2299995, 10.8424988, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1382 | Part17.BottomSurface = Enum.SurfaceType.Smooth | |
1383 | Part17.TopSurface = Enum.SurfaceType.Smooth | |
1384 | Part17.Position = Vector3.new(-62, 27.2299995, 10.8424988) | |
1385 | Part17.Color = Color3.new(0.129412, 0.329412, 0.72549) | |
1386 | Part18.Parent = Model0 | |
1387 | Part18.Rotation = Vector3.new(90, 0, -90) | |
1388 | Part18.Anchored = true | |
1389 | Part18.CanCollide = false | |
1390 | Part18.Size = Vector3.new(0.0500000007, 0.170000002, 0.639999986) | |
1391 | Part18.CFrame = CFrame.new(-61.9150009, 28.6049995, 10.312499, -1.33747976e-14, 0.99999994, 3.05979711e-07, 4.37113883e-08, 3.05979682e-07, -1, -0.99999994, 0, -4.37113847e-08) | |
1392 | Part18.BottomSurface = Enum.SurfaceType.Smooth | |
1393 | Part18.TopSurface = Enum.SurfaceType.Smooth | |
1394 | Part18.Position = Vector3.new(-61.9150009, 28.6049995, 10.312499) | |
1395 | Part18.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1396 | SpecialMesh19.Parent = Part18 | |
1397 | SpecialMesh19.MeshType = Enum.MeshType.Wedge | |
1398 | Part20.Parent = Model0 | |
1399 | Part20.Rotation = Vector3.new(-90, 0, 90) | |
1400 | Part20.Anchored = true | |
1401 | Part20.CanCollide = false | |
1402 | Part20.Size = Vector3.new(0.0500000007, 0.140000015, 0.159999996) | |
1403 | Part20.CFrame = CFrame.new(-62.0699997, 28.8049984, 10.312499, 9.55342711e-15, -0.99999994, -2.18556934e-07, -4.37113883e-08, -2.1855692e-07, 1, -0.99999994, 0, -4.37113847e-08) | |
1404 | Part20.BottomSurface = Enum.SurfaceType.Smooth | |
1405 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
1406 | Part20.Position = Vector3.new(-62.0699997, 28.8049984, 10.312499) | |
1407 | Part20.Color = Color3.new(0.0156863, 0.686275, 0.92549) | |
1408 | SpecialMesh21.Parent = Part20 | |
1409 | SpecialMesh21.MeshType = Enum.MeshType.Wedge | |
1410 | Part22.Parent = Model0 | |
1411 | Part22.Anchored = true | |
1412 | Part22.CanCollide = false | |
1413 | Part22.Size = Vector3.new(0.700000226, 0.860000074, 0.550000012) | |
1414 | Part22.CFrame = CFrame.new(-62.6699982, 28.6349983, 10.5874987, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1415 | Part22.BottomSurface = Enum.SurfaceType.Smooth | |
1416 | Part22.TopSurface = Enum.SurfaceType.Smooth | |
1417 | Part22.Position = Vector3.new(-62.6699982, 28.6349983, 10.5874987) | |
1418 | Part22.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1419 | weld(Model0) | |
1420 | newWeld(torso,Model0.asd,0,0,0) | |
1421 | ||
1422 | hair = Instance.new("Part",hed) | |
1423 | hair.Color = Color3.fromRGB(0, 100, 255) | |
1424 | hairm = Instance.new("SpecialMesh",hair) | |
1425 | hairm.MeshId = "rbxassetid://433031789" | |
1426 | hairm.Scale = Vector3.new(0.7,0.65,0.65) | |
1427 | hweld = newWeld(hed,hair,0,0,0) | |
1428 | hweld.C0 = CFrame.new(0.075,0.2,0)*CFrame.Angles(math.rad(0),math.rad(180),0) | |
1429 | ||
1430 | hair = Instance.new("Part",hed) | |
1431 | hair.Color = Color3.fromRGB(0, 100, 255) | |
1432 | hairm = Instance.new("SpecialMesh",hair) | |
1433 | hairm.MeshId = "rbxassetid://1389466576" | |
1434 | hairm.Scale = Vector3.new(0.035,0.035,0.03) | |
1435 | hweld = newWeld(hed,hair,0,0,0) | |
1436 | hweld.C0 = CFrame.new(0,-0.1,0.2)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
1437 | ||
1438 | local jumped = false | |
1439 | ||
1440 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) | |
1441 | local magz = (Part0 - Part1).magnitude | |
1442 | local curpos = Part0 | |
1443 | local trz = {-Offset,Offset} | |
1444 | for i=1,Times do | |
1445 | local li = Instance.new("Part", DebrisModel) | |
1446 | li.TopSurface =0 | |
1447 | li.Material = Enum.Material.Neon | |
1448 | li.BottomSurface = 0 | |
1449 | li.Anchored = true | |
1450 | li.Locked = true | |
1451 | li.Transparency = Trans or 0.4 | |
1452 | li.Color = Color | |
1453 | li.formFactor = "Custom" | |
1454 | li.CanCollide = false | |
1455 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
1456 | local lim = Instance.new("BlockMesh",li) | |
1457 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
1458 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
1459 | if Times == i then | |
1460 | local magz2 = (curpos - Part1).magnitude | |
1461 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
1462 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
1463 | else | |
1464 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
1465 | end | |
1466 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
1467 | li.Name = "LIGHTNING" | |
1468 | end | |
1469 | end | |
1470 | local woosh = false | |
1471 | local debounce = false | |
1472 | mouse.KeyDown:connect(function(key) | |
1473 | if key == "e" and debounce == false then | |
1474 | debounce = true | |
1475 | noidle = true | |
1476 | sound(1202656211,root.Position,10,math.random(300,350)/100) | |
1477 | local tempattach=Instance.new("Attachment",root) | |
1478 | tempattach.Position = Vector3.new(0,0,-20) | |
1479 | for i=1,10 do rs:wait() | |
1480 | local temppos = root.Position | |
1481 | root.CFrame = CFrame.new(tempattach.WorldPosition)*CFrame.Angles(0,math.rad(root.Orientation.Y),0) | |
1482 | root.Velocity = Vector3.new() | |
1483 | for i,v in pairs(findAllNearestTorso(root.Position,30)) do | |
1484 | v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/75) | |
1485 | end | |
1486 | Lightning(root.Position+Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)),temppos+Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)), math.random(2,4), 2, Color3.fromHSV(0.5+math.random(0,1000)/10000,math.random(500,1000)/1000,1), .5, .56) | |
1487 | woosh = true | |
1488 | hed.Weld.C0 = CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0) | |
1489 | hed.Weld.C1 = CFrame.Angles(math.rad(-20),0,0) | |
1490 | larm.Weld.C0 = CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-5)) | |
1491 | rarm.Weld.C0 = CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(5)) | |
1492 | torso.Weld.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(-40),math.rad(0), math.rad(0)) | |
1493 | lleg.Weld.C0 = CFrame.new(-0.5,-0.6,-1)*CFrame.Angles(math.rad(-70),math.rad(0),math.rad(-1)) | |
1494 | rleg.Weld.C0 = CFrame.new(0.5,-0.95,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(1)) | |
1495 | end | |
1496 | noidle = false | |
1497 | debounce = false | |
1498 | end | |
1499 | end) | |
1500 | ||
1501 | mouse.KeyDown:connect(function(key) | |
1502 | if key == "r" and debounce == false then | |
1503 | debounce = true | |
1504 | noidle = true | |
1505 | local bg = Instance.new("BodyGyro",root) | |
1506 | bg.Name = "lolnochara" | |
1507 | bg.P = 10000 | |
1508 | bg.D = 100 | |
1509 | bg.MaxTorque = Vector3.new(10000,10000,10000) | |
1510 | if jumped == false then | |
1511 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z)) | |
1512 | bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z)) | |
1513 | else | |
1514 | root.CFrame = CFrame.new(root.Position,mouse.Hit.p) | |
1515 | bg.CFrame = CFrame.new(root.Position,mouse.Hit.p) | |
1516 | end | |
1517 | local spd = 0.4 | |
1518 | for i=1,10 do rs:wait() | |
1519 | if jumped == false then | |
1520 | bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z)) | |
1521 | else | |
1522 | bg.CFrame = CFrame.new(root.Position,mouse.Hit.p) | |
1523 | end | |
1524 | 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) | |
1525 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), spd) | |
1526 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
1527 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0) *CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), spd) | |
1528 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.5, 0) *CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), spd) | |
1529 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.2,-1)*CFrame.Angles(math.rad(-50),math.rad(-10),math.rad(-1)), spd) | |
1530 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(6)), spd) | |
1531 | end | |
1532 | ||
1533 | sound(1202656211,root.Position,10,math.random(90,110)/100) | |
1534 | ||
1535 | local Position = rarm.Position-rarm.CFrame.upVector | |
1536 | local Target = mouse.Hit.p | |
1537 | local direction = Target - Position | |
1538 | local direction = computeDirection(direction) | |
1539 | local ray = Ray.new(Position, (Target-Position).unit*1048) | |
1540 | local part, endPoint = workspace:FindPartOnRay(ray, char) | |
1541 | ||
1542 | for i,v in pairs(findAllNearestTorso(endPoint,30)) do | |
1543 | v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/math.random(10,12)) | |
1544 | end | |
1545 | ||
1546 | local Part0 = Effect(Enum.MeshType.Sphere,Vector3.new(2,(Position-endPoint).magnitude,2),0,Enum.Material.Neon,Color3.fromHSV(0,0,1),root.Position,Vector3.new(90,0,0),Vector3.new(),Vector3.new(-0.1,0,-0.1),Vector3.new(),0,-0.005) | |
1547 | local pos = Position + (direction * (Part0.Mesh.Scale.Y/2)) | |
1548 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0) | |
1549 | ||
1550 | for i=1,4 do | |
1551 | Lightning(rarm.Position-rarm.CFrame.upVector,endPoint, math.random(5,6), 2, Color3.fromHSV(0.5+math.random(0,1000)/10000,math.random(500,1000)/1000,1), .5, .56) | |
1552 | end | |
1553 | ||
1554 | if part then | |
1555 | sound(821439273,endPoint,10,math.random(90,110)/100) | |
1556 | for i=1,5 do | |
1557 | Effect(Enum.MeshType.Sphere,Vector3.new(1,1,1)*math.random(4,10),0,Enum.Material.Neon,Color3.fromHSV(0.5+math.random(0,1000)/10000,math.random(500,1000)/1000,1),endPoint+Vector3.new(math.random(-2,2)*5,math.random(-2,2)*5,math.random(-2,2)*5),Vector3.new(),Vector3.new(),Vector3.new(1,1,1),Vector3.new(),0.04,-0.002) | |
1558 | end | |
1559 | end | |
1560 | ||
1561 | bg:Destroy() | |
1562 | local spd = 0.5 | |
1563 | for i=1,5 do rs:wait() | |
1564 | 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) | |
1565 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), spd) | |
1566 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
1567 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0) *CFrame.Angles(math.rad(160),math.rad(0),math.rad(50)), spd) | |
1568 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.5, 0) *CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), spd) | |
1569 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.2,-1)*CFrame.Angles(math.rad(-50),math.rad(-10),math.rad(-1)), spd) | |
1570 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(6)), spd) | |
1571 | end | |
1572 | noidle = false | |
1573 | debounce = false | |
1574 | end | |
1575 | end) | |
1576 | ||
1577 | mouse.KeyDown:connect(function(key) | |
1578 | if key == "q" and debounce == false then | |
1579 | debounce = true | |
1580 | noidle = true | |
1581 | local mousepos = mouse.Hit.p | |
1582 | if (mousepos-root.Position).magnitude <= 150 then | |
1583 | sound(1202657035,mousepos,10,math.random(150,170)/100) | |
1584 | local spd = 0.4 | |
1585 | for i=1,10 do rs:wait() | |
1586 | 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) | |
1587 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), spd) | |
1588 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd) | |
1589 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0) *CFrame.Angles(math.rad(170),math.rad(0),math.rad(50)), spd) | |
1590 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.5, 0) *CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), spd) | |
1591 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.2,-1)*CFrame.Angles(math.rad(-50),math.rad(-10),math.rad(-1)), spd) | |
1592 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(6)), spd) | |
1593 | end | |
1594 | for i,v in pairs(findAllNearestTorso(mousepos,15)) do | |
1595 | v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/math.random(5,6)) | |
1596 | end | |
1597 | local tempcolor = Color3.fromHSV(0.5+math.random(0,1000)/10000,0.5,1) | |
1598 | coroutine.resume(coroutine.create(function() | |
1599 | for i=1,2 do rs:wait() rs:wait() rs:wait() rs:wait() rs:wait() rs:wait() rs:wait() rs:wait() | |
1600 | Effect(Enum.MeshType.Sphere,Vector3.new(10,10,10)*5,0.999,Enum.Material.Neon,tempcolor,mousepos,Vector3.new(),Vector3.new(),Vector3.new(-0.3,-0.3,-0.3),Vector3.new(),-0.005,-0.05) | |
1601 | end | |
1602 | end)) | |
1603 | Effect(Enum.MeshType.Sphere,Vector3.new(5,5,5),0,Enum.Material.Neon,tempcolor,mousepos,Vector3.new(),Vector3.new(),Vector3.new(2,2,2),Vector3.new(),0.03,0) | |
1604 | Effect(Enum.MeshType.Sphere,Vector3.new(20,20,20),0,Enum.Material.Neon,tempcolor,mousepos,Vector3.new(),Vector3.new(),Vector3.new(-0.4,30,-0.4),Vector3.new(),0,0) | |
1605 | end | |
1606 | noidle = false | |
1607 | debounce = false | |
1608 | end | |
1609 | end) | |
1610 | ||
1611 | music(1032975381) | |
1612 | ||
1613 | --[[for i,v in pairs(char:GetChildren()) do | |
1614 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then | |
1615 | local emitter = Instance.new("ParticleEmitter",v) | |
1616 | emitter.LightEmission = 1 | |
1617 | emitter.Transparency = NumberSequence.new(0.95,1) | |
1618 | emitter.Size = NumberSequence.new(0.5) | |
1619 | emitter.SpreadAngle = Vector2.new(360,360) | |
1620 | emitter.Speed = NumberRange.new(1) | |
1621 | emitter.Lifetime = NumberRange.new(0.75) | |
1622 | emitter.Texture = "rbxassetid://744949545" | |
1623 | emitter.Rate = 20 | |
1624 | emitter.Color = ColorSequence.new(Color3.new(0,1,1)) | |
1625 | emitter.LockedToPart = true | |
1626 | table.insert(emitters,emitter) | |
1627 | end | |
1628 | end]] | |
1629 | ||
1630 | velocityYFall=0 | |
1631 | velocityYFall2=0 | |
1632 | velocityYFall3=0 | |
1633 | velocityYFall4=0 | |
1634 | neckrotY=0 | |
1635 | neckrotY2=0 | |
1636 | torsorotY=0 | |
1637 | torsorotY2=0 | |
1638 | torsoY=0 | |
1639 | torsoY2=0 | |
1640 | colored = 0 | |
1641 | sine = 0 | |
1642 | change=0.4 | |
1643 | movement=5 | |
1644 | timeranim=0 | |
1645 | running = false | |
1646 | glitched = false | |
1647 | backup = hed.Weld.C1 | |
1648 | glitchedC1 = hed.Weld.C1 | |
1649 | glitchedenabled = false | |
1650 | ||
1651 | mouse.KeyDown:connect(function(key) | |
1652 | key = string.lower(key) | |
1653 | if string.byte(key) == 48 then | |
1654 | running = true | |
1655 | local keyup = mouse.KeyUp:connect(function(key) | |
1656 | if string.byte(key) == 48 then | |
1657 | running = false | |
1658 | end | |
1659 | end) | |
1660 | repeat rs:wait() until running == false | |
1661 | keyup:disconnect() | |
1662 | end | |
1663 | end) | |
1664 | ||
1665 | icolor=1 | |
1666 | imode=false | |
1667 | ||
1668 | didjump = false | |
1669 | jumppower = 0 | |
1670 | freeze = false | |
1671 | debounceimpact = false | |
1672 | ||
1673 | function jumpimpact() | |
1674 | if debounceimpact == false then | |
1675 | debounceimpact = true | |
1676 | if jumppower < -150 then jumppower = -150 end | |
1677 | shake(-jumppower/5) | |
1678 | for i=1,-jumppower/20 do rs:wait() | |
1679 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0), 0.05) | |
1680 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (jumppower/20)-hum.HipHeight, 0) * CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.05) | |
1681 | end | |
1682 | debounceimpact = false | |
1683 | end | |
1684 | end | |
1685 | ||
1686 | rs:connect(function() | |
1687 | ||
1688 | for i,v in pairs(DebrisModel:GetChildren()) do | |
1689 | if v.Name == "LIGHTNING" then | |
1690 | local vm = v:FindFirstChildOfClass("BlockMesh") | |
1691 | vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0) | |
1692 | if vm.Scale.X <= 0 then | |
1693 | v:Destroy() | |
1694 | end | |
1695 | end | |
1696 | end | |
1697 | ||
1698 | if icolor > 1 then | |
1699 | imode = false | |
1700 | elseif icolor < 0 then | |
1701 | imode = true | |
1702 | end | |
1703 | ||
1704 | if imode == true then | |
1705 | icolor = icolor + 0.01 | |
1706 | else | |
1707 | icolor = icolor - 0.01 | |
1708 | end | |
1709 | ||
1710 | for i,v in pairs(emitters) do | |
1711 | v.Acceleration = root.CFrame.upVector*(666/200) | |
1712 | end | |
1713 | ||
1714 | if p.Character.Parent == nil then | |
1715 | local model = Instance.new("Model") | |
1716 | model.Name = p.Name | |
1717 | p.Character = model | |
1718 | for i,v in pairs(char:GetChildren()) do | |
1719 | v.Parent = p.Character | |
1720 | end | |
1721 | end | |
1722 | ||
1723 | char = p.Character | |
1724 | if p.Character.Parent ~= workspace then | |
1725 | p.Character.Parent = workspace | |
1726 | end | |
1727 | for i,v in pairs(char:GetChildren()) do | |
1728 | if v:IsA("Accoutrement") then | |
1729 | if v.Handle:FindFirstChild("Mesh") then | |
1730 | v.Handle:FindFirstChild("Mesh").Offset = Vector3.new() | |
1731 | v.Handle.Transparency = 0 | |
1732 | end | |
1733 | elseif v:IsA("BasePart") then | |
1734 | v.Anchored = false | |
1735 | if v:FindFirstChildOfClass("BodyPosition") then | |
1736 | v:FindFirstChildOfClass("BodyPosition"):Destroy() | |
1737 | end | |
1738 | if v:FindFirstChildOfClass("BodyVelocity") then | |
1739 | v:FindFirstChildOfClass("BodyVelocity"):Destroy() | |
1740 | end | |
1741 | if v:FindFirstChildOfClass("BodyGyro") and v:FindFirstChildOfClass("BodyGyro").Name ~= "lolnochara" then | |
1742 | v:FindFirstChildOfClass("BodyGyro"):Destroy() | |
1743 | end | |
1744 | if v:FindFirstChild("Mesh") then | |
1745 | v:FindFirstChild("Mesh").Offset = Vector3.new() | |
1746 | end | |
1747 | if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD") then | |
1748 | local force = Instance.new("Part",DebrisModel) | |
1749 | force.Name = v.Name.."FORCEFIELD" | |
1750 | if v ~= hed then | |
1751 | force.Size = v.Size+(Vector3.new(1,1,1)*0.2) | |
1752 | else | |
1753 | force.Size = (Vector3.new(1,1,1)*v.Size.Y)+(Vector3.new(1,1,1)*0.2) | |
1754 | end | |
1755 | force.CanCollide = false | |
1756 | force.Transparency = 1 | |
1757 | force.Color = Color3.new(0,1,1) | |
1758 | force.Material = Enum.Material.Neon | |
1759 | newWeld(v,force,0,0,0) | |
1760 | else | |
1761 | if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"):FindFirstChildOfClass("Weld") then | |
1762 | newWeld(v,DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"),0,0,0) | |
1763 | end | |
1764 | end | |
1765 | if v.Name ~= "HumanoidRootPart" then | |
1766 | v.Transparency = 0 | |
1767 | else | |
1768 | v.Transparency = 1 | |
1769 | end | |
1770 | end | |
1771 | end | |
1772 | ||
1773 | if freeze == false then | |
1774 | if running == false then | |
1775 | hum.WalkSpeed = 12 | |
1776 | change=0.4 | |
1777 | movement=5 | |
1778 | else | |
1779 | hum.WalkSpeed = (666/10) | |
1780 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 then | |
1781 | change=1 | |
1782 | else | |
1783 | change=0.4 | |
1784 | end | |
1785 | movement=15 | |
1786 | end | |
1787 | else | |
1788 | hum.WalkSpeed = 1 | |
1789 | change=0.4 | |
1790 | movement=5 | |
1791 | end | |
1792 | ||
1793 | if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 150 then | |
1794 | velocityYFall = root.Velocity.Y/1.5 | |
1795 | else | |
1796 | if -root.Velocity.Y/1.5 < -5 then | |
1797 | velocityYFall = 5 | |
1798 | elseif -root.Velocity.Y/1.5 > 150 then | |
1799 | velocityYFall = -150 | |
1800 | end | |
1801 | end | |
1802 | ||
1803 | if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then | |
1804 | velocityYFall2 = root.Velocity.Y/180 | |
1805 | else | |
1806 | if -root.Velocity.Y/180 < 0 then | |
1807 | velocityYFall2 = 0 | |
1808 | elseif -root.Velocity.Y/180 > 1.2 then | |
1809 | velocityYFall2 = -1.2 | |
1810 | end | |
1811 | end | |
1812 | ||
1813 | if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then | |
1814 | velocityYFall3 = root.Velocity.Y/1.5 | |
1815 | else | |
1816 | if -root.Velocity.Y/1.5 < -5 then | |
1817 | velocityYFall3 = 5 | |
1818 | elseif -root.Velocity.Y/1.5 > 50 then | |
1819 | velocityYFall3 = -50 | |
1820 | end | |
1821 | end | |
1822 | ||
1823 | if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then | |
1824 | velocityYFall4 = root.Velocity.Y/1.5 | |
1825 | else | |
1826 | if -root.Velocity.Y/180 < -5 then | |
1827 | velocityYFall4 = 5 | |
1828 | elseif -root.Velocity.Y/180 > 50 then | |
1829 | velocityYFall4 = -50 | |
1830 | end | |
1831 | end | |
1832 | ||
1833 | if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then | |
1834 | neckrotY = root.RotVelocity.Y/6 | |
1835 | else | |
1836 | if root.RotVelocity.Y/6 < -1 then | |
1837 | neckrotY = -1 | |
1838 | elseif root.RotVelocity.Y/6 > 1 then | |
1839 | neckrotY = 1 | |
1840 | end | |
1841 | end | |
1842 | ||
1843 | if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then | |
1844 | neckrotY2 = root.RotVelocity.Y/8 | |
1845 | else | |
1846 | if root.RotVelocity.Y/8 < -0.6 then | |
1847 | neckrotY2 = -0.6 | |
1848 | elseif root.RotVelocity.Y/8 > 0.6 then | |
1849 | neckrotY2 = 0.6 | |
1850 | end | |
1851 | end | |
1852 | ||
1853 | if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then | |
1854 | torsorotY = root.RotVelocity.Y/6 | |
1855 | else | |
1856 | if root.RotVelocity.Y/6 < -0.2 then | |
1857 | torsorotY = -0.2 | |
1858 | elseif root.RotVelocity.Y/6 > 0.2 then | |
1859 | torsorotY = 0.2 | |
1860 | end | |
1861 | end | |
1862 | ||
1863 | if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then | |
1864 | torsorotY2 = root.RotVelocity.Y/8 | |
1865 | else | |
1866 | if root.RotVelocity.Y/8 < -0.2 then | |
1867 | torsorotY2 = -0.2 | |
1868 | elseif root.RotVelocity.Y/8 > 0.2 then | |
1869 | torsorotY2 = 0.2 | |
1870 | end | |
1871 | end | |
1872 | ||
1873 | torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20 | |
1874 | torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36 | |
1875 | ||
1876 | local ray1 = Ray.new(root.Position+Vector3.new(size,0,0),Vector3.new(0, -4, 0)) | |
1877 | local part1, endPoint = workspace:FindPartOnRay(ray1, char) | |
1878 | ||
1879 | local ray2 = Ray.new(root.Position-Vector3.new(size,0,0),Vector3.new(0, -4, 0)) | |
1880 | local part2, endPoint = workspace:FindPartOnRay(ray2, char) | |
1881 | ||
1882 | local ray3 = Ray.new(root.Position+Vector3.new(0,0,size/2),Vector3.new(0, -4, 0)) | |
1883 | local part3, endPoint = workspace:FindPartOnRay(ray3, char) | |
1884 | ||
1885 | local ray4 = Ray.new(root.Position-Vector3.new(0,0,size/2),Vector3.new(0, -4, 0)) | |
1886 | local part4, endPoint = workspace:FindPartOnRay(ray4, char) | |
1887 | ||
1888 | local ray5 = Ray.new(root.Position+Vector3.new(size,0,size/2),Vector3.new(0, -4, 0)) | |
1889 | local part5, endPoint = workspace:FindPartOnRay(ray5, char) | |
1890 | ||
1891 | local ray6 = Ray.new(root.Position-Vector3.new(size,0,size/2),Vector3.new(0, -4, 0)) | |
1892 | local part6, endPoint = workspace:FindPartOnRay(ray6, char) | |
1893 | ||
1894 | local ray7 = Ray.new(root.Position+Vector3.new(size,0,-size/2),Vector3.new(0, -4, 0)) | |
1895 | local part7, endPoint = workspace:FindPartOnRay(ray7, char) | |
1896 | ||
1897 | local ray8 = Ray.new(root.Position-Vector3.new(size,0,-size/2),Vector3.new(0, -4, 0)) | |
1898 | local part8, endPoint = workspace:FindPartOnRay(ray8, char) | |
1899 | ||
1900 | local ray = Ray.new(root.Position,Vector3.new(0, -6, 0)) | |
1901 | local part, endPoint = workspace:FindPartOnRay(ray, char) | |
1902 | ||
1903 | if part1 or part2 or part3 or part4 or part5 or part6 or part7 or part8 then jumped = false else endPoint = 0 jumped = true end | |
1904 | ||
1905 | local rlegray = Ray.new(rleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75, 0)) | |
1906 | local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char) | |
1907 | ||
1908 | local llegray = Ray.new(lleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75, 0)) | |
1909 | local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char) | |
1910 | ||
1911 | if hum.Health > 0 and noidle == false then | |
1912 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then | |
1913 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4) | |
1914 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-20),0,0), 0.1) | |
1915 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-40-20*math.cos(sine/15)),math.rad(0+5*math.sin(sine/15)),math.rad(-5-5*math.sin(sine/15))), 0.2) | |
1916 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-40-20*math.cos(sine/15)),math.rad(0-5*math.sin(sine/15)),math.rad(5+5*math.sin(sine/15))), 0.2) | |
1917 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.5-0.5*math.sin(sine/15), 0) * CFrame.Angles(math.rad(-40),math.rad(0), math.rad(0)), 0.1) | |
1918 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.6,-1)*CFrame.Angles(math.rad(-70-20*math.cos(sine/15)),math.rad(0-5*math.sin(sine/15)),math.rad(-1)), 0.2) | |
1919 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0)*CFrame.Angles(math.rad(-30-20*math.cos(sine/15)),math.rad(0+5*math.sin(sine/15)),math.rad(1)), 0.2) | |
1920 | elseif jumped == true then | |
1921 | didjump = true | |
1922 | jumppower = root.Velocity.Y | |
1923 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4) | |
1924 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-velocityYFall3/5),0,0), 0.1) | |
1925 | 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) | |
1926 | 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) | |
1927 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(velocityYFall3/10),math.rad(0), math.rad(0)), 0.1) | |
1928 | 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) | |
1929 | 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) | |
1930 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then | |
1931 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),0, 0), 0.4) | |
1932 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0.05*math.sin(sine/16)+0.15,0.05*math.cos(sine/32),0.01*math.cos(sine/32)), 0.1) | |
1933 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-(0.1)*math.cos(sine/16)/3,-0.05-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(-2+4*math.cos(sine/16)),math.rad(-5-5*math.sin(sine/16)),math.rad(-6+2*math.cos(sine/16))), 0.2) | |
1934 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-(0.1)*math.cos(sine/16)/3,-0.05-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(170+4*math.cos(sine/16)),math.rad(5+5*math.sin(sine/16)),math.rad(-20-2*math.cos(sine/16))), 0.2) | |
1935 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (-0.5-(0.1)*math.cos(sine/16)-hum.HipHeight)+0.5*math.sin(sine/15), -0.1*math.cos(sine/16)) * CFrame.Angles(math.rad(-2-4*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1) | |
1936 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.2+(0.1)*math.cos(sine/16),-1)*CFrame.Angles(math.rad(-50+2*math.cos(sine/16)),math.rad(-10+2*math.cos(sine/16)),math.rad(-1+1*math.cos(sine/32))), 0.2) | |
1937 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95+(0.1)*math.cos(sine/16),0)*CFrame.Angles(math.rad(10+2*math.cos(sine/16)),math.rad(10-2*math.cos(sine/16)),math.rad(1+1*math.cos(sine/32))), 0.2) | |
1938 | end | |
1939 | end | |
1940 | l1.C0 = CFrame.new(-0.8,0.8,0.5)*CFrame.Angles(0,0.2,-0.1+0.6*math.cos(sine/15)) | |
1941 | r1.C0 = CFrame.new(0.8,0.8,0.5)*CFrame.Angles(0,-0.2,0.1-0.6*math.cos(sine/15)) | |
1942 | ||
1943 | l2.C0 = CFrame.new(-0.8,0.4,0.5)*CFrame.Angles(0,0.4,0.5*math.cos(sine/15)) | |
1944 | r2.C0 = CFrame.new(0.8,0.4,0.5)*CFrame.Angles(0,-0.4,-0.5*math.cos(sine/15)) | |
1945 | ||
1946 | l3.C0 = CFrame.new(-0.8,0,0.5)*CFrame.Angles(0,0.6,0.1+0.5*math.cos(sine/15)) | |
1947 | r3.C0 = CFrame.new(0.8,0,0.5)*CFrame.Angles(0,-0.6,-0.1-0.5*math.cos(sine/15)) | |
1948 | if didjump == true and jumped == false and jumppower < 0 then | |
1949 | didjump = false | |
1950 | jumpimpact() | |
1951 | end | |
1952 | if math.sin(sine/15) < -0.5 and woosh == false and jumped == false then | |
1953 | Effect(559831844,Vector3.new(0.001,0.001,0.001),0,Enum.Material.Neon,Color3.fromHSV(0,0,1),endPoint,Vector3.new(90,0,0),Vector3.new(0,0.1,0),Vector3.new(0.05,0.05,0.05),Vector3.new(),0.01,-0.0005) | |
1954 | Effect(559831844,Vector3.new(0.001,0.001,1),0,Enum.Material.Neon,Color3.fromHSV(0,0,1),endPoint,Vector3.new(90,0,0),Vector3.new(0,0,0),Vector3.new(0.05,0.05,0),Vector3.new(),0.005,0) | |
1955 | woosh = true | |
1956 | elseif math.sin(sine/15) > -0.5 then | |
1957 | woosh = false | |
1958 | end | |
1959 | --timeposition = soundz.TimePosition | |
1960 | hed.BrickColor = skin_color | |
1961 | torso.BrickColor = skin_color | |
1962 | rarm.BrickColor = skin_color | |
1963 | larm.BrickColor = skin_color | |
1964 | rleg.BrickColor = skin_color | |
1965 | lleg.BrickColor = skin_color | |
1966 | sine = sine + change | |
1967 | hum.Health = math.huge | |
1968 | hum.MaxHealth = math.huge | |
1969 | end) |