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