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