SHOW:
|
|
- or go back to the newest paste.
1 | -----------//THE NIGHTFALL\\----------- | |
2 | --[[Movelist | |
3 | Mouseclick = 3 combos | |
4 | -Attack 1 = Downwards slash | |
5 | -Attack 2 = Power slash | |
6 | -Attack 3 = Whirlwind slash | |
7 | Q = Impale | |
8 | E = Forward dash | |
9 | R = Ear destroyer | |
10 | T = Taunt | |
11 | Y = Cutting storm | |
12 | U = Homing Cutting storm | |
13 | ---------]] | |
14 | ||
15 | --Recreated from the game Before the dawn: Redux.-- | |
16 | --Those who used this right when it was released, yes it was broken, it's fixed now-- | |
17 | --Impale dem suckazz and reeeeeeeeee-- | |
18 | ||
19 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {} | |
20 | do | |
21 | script.Parent = owner.Character | |
22 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
23 | local function NewFakeEvent() | |
24 | local Bind = Instance.new("BindableEvent") | |
25 | local Fake;Fake = {Connections = {}, | |
26 | fakeEvent=true; | |
27 | Connect=function(self,Func) | |
28 | Bind.Event:connect(Func) | |
29 | self.Connections[Bind] = true | |
30 | return setmetatable({Connected = true},{ | |
31 | __index = function (self,Index) | |
32 | if Index:lower() == "disconnect" then | |
33 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
34 | end | |
35 | return Fake[Index] | |
36 | end; | |
37 | __tostring = function() return "Connection" end; | |
38 | }) | |
39 | end} | |
40 | Fake.connect = Fake.Connect;return Fake; | |
41 | end | |
42 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
43 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
44 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
45 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
46 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
47 | local function TriggerEvent(self,Event,...) | |
48 | local Trigger = Mouse[Event] | |
49 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
50 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
51 | end | |
52 | end | |
53 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
54 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
55 | if FiredBy.Name ~= owner.Name then return end | |
56 | if Input.MouseEvent then | |
57 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
58 | else | |
59 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
60 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
61 | for _,Action in pairs(ContextActionService.Actions) do | |
62 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
63 | end | |
64 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
65 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
66 | end | |
67 | end) | |
68 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
69 | Event.Parent = NLS([[ | |
70 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
71 | local Input = function(Input,gameProcessedEvent) | |
72 | if gameProcessedEvent then return end | |
73 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
74 | end | |
75 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
76 | local Hit,Target | |
77 | while wait(1/30) do | |
78 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
79 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
80 | end | |
81 | end | |
82 | ]],owner.Character) | |
83 | end | |
84 | RealGame = game;game = setmetatable({},{ | |
85 | __index = function (self,Index) | |
86 | local Sandbox = function (Thing) | |
87 | if Thing:IsA("Player") then | |
88 | local RealPlayer = Thing | |
89 | return setmetatable({},{ | |
90 | __index = function (self,Index) | |
91 | local Type = type(RealPlayer[Index]) | |
92 | if Type == "function" then | |
93 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
94 | return function (self)return InternalData["Mouse"] end | |
95 | end | |
96 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
97 | end | |
98 | return RealPlayer[Index] | |
99 | end; | |
100 | __tostring = function(self) return RealPlayer.Name end | |
101 | }) | |
102 | end | |
103 | end | |
104 | if RealGame[Index] then | |
105 | local Type = type(RealGame[Index]) | |
106 | if Type == "function" then | |
107 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
108 | return function (self,Service) | |
109 | local FakeServices = { | |
110 | ["players"] = function() | |
111 | return setmetatable({},{ | |
112 | __index = function (self2,Index2) | |
113 | local RealService = RealGame:GetService(Service) | |
114 | local Type2 = type(Index2) | |
115 | if Type2 == "function" then | |
116 | return function (self,...) return RealService[Index2](RealService,...)end | |
117 | else | |
118 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
119 | return RealService[Index2] | |
120 | end | |
121 | end; | |
122 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
123 | }) | |
124 | end; | |
125 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
126 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
127 | ["runservice"] = function() | |
128 | return setmetatable({},{ | |
129 | __index = function(self2,Index2) | |
130 | local RealService = RealGame:GetService(Service) | |
131 | local Type2 = type(Index2) | |
132 | if Type2 == "function" then | |
133 | return function (self,...) return RealService[Index2](RealService,...) end | |
134 | else | |
135 | local RunServices = { | |
136 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
137 | ["renderstepped"] = function() return RealService["Stepped"] end | |
138 | } | |
139 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
140 | return RealService[Index2] | |
141 | end | |
142 | end | |
143 | }) | |
144 | end | |
145 | } | |
146 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
147 | return RealGame:GetService(Service) | |
148 | end | |
149 | end | |
150 | return function (self,...) return RealGame[Index](RealGame,...) end | |
151 | else | |
152 | if game:GetService(Index) then return game:GetService(Index) end | |
153 | return RealGame[Index] | |
154 | end | |
155 | end | |
156 | return nil | |
157 | end | |
158 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...") | |
159 | ||
160 | -----------//THE NIGHTFALL\\----------- | |
161 | --[[Movelist | |
162 | Mouseclick = 3 combos | |
163 | -Attack 1 = Downwards slash | |
164 | -Attack 2 = Power slash | |
165 | -Attack 3 = Whirlwind slash | |
166 | Q = Impale | |
167 | E = Forward dash | |
168 | R = Ear destroyer | |
169 | T = Taunt | |
170 | Y = Cutting storm | |
171 | U = Homing Cutting storm | |
172 | ---------]] | |
173 | ||
174 | --Recreated from the game Before the dawn: Redux.-- | |
175 | --For those who used this when it was just released, it was broken, it's fixed now as of 12-18-2018-- | |
176 | --Impale dem suckazz and reeeeeeee-- | |
177 | ||
178 | Player=game.Players.LocalPlayer | |
179 | Character=Player.Character | |
180 | Character.Humanoid.Name = "nightfall" | |
181 | hum = Character.nightfall | |
182 | LeftArm=Character["Left Arm"] | |
183 | LeftLeg=Character["Left Leg"] | |
184 | RightArm=Character["Right Arm"] | |
185 | RightLeg=Character["Right Leg"] | |
186 | Root=Character["HumanoidRootPart"] | |
187 | Head=Character["Head"] | |
188 | Torso=Character["Torso"] | |
189 | Neck=Torso["Neck"] | |
190 | walking = false | |
191 | singularitybounce = false | |
192 | jumping = false | |
193 | targetfound = false | |
194 | grabbed = false | |
195 | attacking = false | |
196 | firsttime = false | |
197 | dash1 = true | |
198 | dash2 = false | |
199 | tauntdebounce = false | |
200 | mouse = Player:GetMouse() | |
201 | position = nil | |
202 | MseGuide = true | |
203 | running = false | |
204 | settime = 0 | |
205 | sine = 0 | |
206 | t = 0 | |
207 | ws = 19 | |
208 | jp = 85 | |
209 | secondform = false | |
210 | change = 1 | |
211 | combo1 = true | |
212 | dancing = false | |
213 | equip = false | |
214 | dgs = 75 | |
215 | dedlaff = false | |
216 | combo2 = false | |
217 | spin1 = true | |
218 | spin2 = false | |
219 | switch1 = true | |
220 | switch2 = false | |
221 | firsttime2 = false | |
222 | isattacking = false | |
223 | combo3 = false | |
224 | gunallowance = false | |
225 | cooldown = false | |
226 | shooting = false | |
227 | RunSrv = game:GetService("RunService") | |
228 | RenderStepped = game:GetService("RunService").RenderStepped | |
229 | removeuseless = game:GetService("Debris") | |
230 | local slasher = {1543186629,1543187082,1543187280,1543186883} | |
231 | local slasher2 = {220834019,220834000,220833976,220833967} | |
232 | slash = #slasher | |
233 | slash2 = #slasher2 | |
234 | screenGui = Instance.new("ScreenGui") | |
235 | screenGui.Parent = script.Parent | |
236 | ||
237 | local HEADLERP = Instance.new("ManualWeld") | |
238 | HEADLERP.Parent = Head | |
239 | HEADLERP.Part0 = Head | |
240 | HEADLERP.Part1 = Head | |
241 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
242 | ||
243 | local TORSOLERP = Instance.new("ManualWeld") | |
244 | TORSOLERP.Parent = Root | |
245 | TORSOLERP.Part0 = Torso | |
246 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
247 | ||
248 | local ROOTLERP = Instance.new("ManualWeld") | |
249 | ROOTLERP.Parent = Root | |
250 | ROOTLERP.Part0 = Root | |
251 | ROOTLERP.Part1 = Torso | |
252 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
253 | ||
254 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
255 | RIGHTARMLERP.Parent = RightArm | |
256 | RIGHTARMLERP.Part0 = RightArm | |
257 | RIGHTARMLERP.Part1 = Torso | |
258 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
259 | ||
260 | local LEFTARMLERP = Instance.new("ManualWeld") | |
261 | LEFTARMLERP.Parent = LeftArm | |
262 | LEFTARMLERP.Part0 = LeftArm | |
263 | LEFTARMLERP.Part1 = Torso | |
264 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
265 | ||
266 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
267 | RIGHTLEGLERP.Parent = RightLeg | |
268 | RIGHTLEGLERP.Part0 = RightLeg | |
269 | RIGHTLEGLERP.Part1 = Torso | |
270 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
271 | ||
272 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
273 | LEFTLEGLERP.Parent = LeftLeg | |
274 | LEFTLEGLERP.Part0 = LeftLeg | |
275 | LEFTLEGLERP.Part1 = Torso | |
276 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
277 | ||
278 | local function weldBetween(a, b) | |
279 | local weld = Instance.new("ManualWeld", a) | |
280 | weld.Part0 = a | |
281 | weld.Part1 = b | |
282 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
283 | return weld | |
284 | end | |
285 | ||
286 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
287 | A = Instance.new("Attachment", PARENT) | |
288 | A.Position = POSITION1 | |
289 | A.Name = "A" | |
290 | B = Instance.new("Attachment", PARENT) | |
291 | B.Position = POSITION2 | |
292 | B.Name = "B" | |
293 | tr1 = Instance.new("Trail", PARENT) | |
294 | tr1.Attachment0 = A | |
295 | tr1.Attachment1 = B | |
296 | tr1.Enabled = true | |
297 | tr1.Lifetime = LIFETIME | |
298 | tr1.TextureMode = "Static" | |
299 | tr1.LightInfluence = 0 | |
300 | tr1.Color = COLOR | |
301 | tr1.Transparency = NumberSequence.new(0, 1) | |
302 | end | |
303 | ||
304 | footsteps = Instance.new("Sound",Torso) | |
305 | footsteps.SoundId = "rbxassetid://1244506786" | |
306 | footsteps.Volume = 0 | |
307 | footsteps.Looped = true | |
308 | footsteps.Pitch = 1.6 | |
309 | footsteps.Name = "fp" | |
310 | footsteps:Play() | |
311 | ||
312 | slash = slasher[math.random(1,#slasher)] | |
313 | slashs = Instance.new("Sound",RightArm) | |
314 | slashs.SoundId = "rbxassetid://"..slash | |
315 | slashs.Volume = 10 | |
316 | slashs.Pitch = 1 | |
317 | slashs.Name = "slashs" | |
318 | ||
319 | introsound = Instance.new("Sound",Torso) | |
320 | introsound.SoundId = "rbxassetid://1842444810" | |
321 | introsound.Volume = 4 | |
322 | introsound:Play() | |
323 | ||
324 | coroutine.wrap(function() | |
325 | doomtheme = Instance.new("Sound",Torso) | |
326 | doomtheme.Volume = 0 | |
327 | - | doomtheme.SoundId = "rbxassetid://2114921530" |
327 | + | doomtheme.SoundId = "rbxassetid://729655571" |
328 | doomtheme.Looped = true | |
329 | doomtheme:Play() | |
330 | doomtheme.Name = "doomtheme" | |
331 | for i = 1, 20 do | |
332 | doomtheme.Volume = doomtheme.Volume + .1 | |
333 | wait() | |
334 | end | |
335 | end)() | |
336 | ||
337 | Torso.ChildRemoved:connect(function(removed) | |
338 | if removed.Name == "doomtheme" then | |
339 | doomtheme = Instance.new("Sound",Torso) | |
340 | - | doomtheme.SoundId = "rbxassetid://2114921530" |
340 | + | doomtheme.SoundId = "rbxassetid://729655571" |
341 | doomtheme.Looped = true | |
342 | doomtheme.Volume = 2 | |
343 | doomtheme:Play() | |
344 | doomtheme.Name = "doomtheme" | |
345 | end | |
346 | end) | |
347 | ||
348 | Torso.ChildRemoved:connect(function(removed) | |
349 | if removed.Name == "slashs" then | |
350 | slash = slasher[math.random(1,#slasher)] | |
351 | slashs = Instance.new("Sound",RightArm) | |
352 | slashs.SoundId = "rbxassetid://"..slash | |
353 | slashs.Volume = 10 | |
354 | slashs.Pitch = 1 | |
355 | slashs.Name = "slashs" | |
356 | end | |
357 | end) | |
358 | ||
359 | Torso.ChildRemoved:connect(function(removed) | |
360 | if removed.Name == "fp" then | |
361 | footsteps = Instance.new("Sound",Torso) | |
362 | footsteps.SoundId = "rbxassetid://1244506786" | |
363 | footsteps.Volume = 0 | |
364 | footsteps.Looped = true | |
365 | footsteps.Pitch = 1.6 | |
366 | footsteps.Name = "fp" | |
367 | footsteps:Play() | |
368 | end | |
369 | end) | |
370 | ||
371 | leftlocation = Instance.new("Part",LeftArm) | |
372 | leftlocation.Size = Vector3.new(1,1,1) | |
373 | leftlocation.Transparency = 1 | |
374 | leftlocation.Name = "leftlocation" | |
375 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
376 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
377 | rightlocation = Instance.new("Part",RightArm) | |
378 | rightlocation.Size = Vector3.new(1,1,1) | |
379 | rightlocation.Transparency = 1 | |
380 | rightlocation.Name = "rightlocation" | |
381 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
382 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
383 | ||
384 | A = Instance.new("Attachment", rightlocation) | |
385 | A.Position = Vector3.new(.1,.3,.1) | |
386 | A.Name = "A" | |
387 | B = Instance.new("Attachment", rightlocation) | |
388 | B.Position = Vector3.new(-.1,-.3,-.1) | |
389 | B.Name = "B" | |
390 | tr1 = Instance.new("Trail", rightlocation) | |
391 | tr1.Attachment0 = A | |
392 | tr1.Attachment1 = B | |
393 | tr1.Enabled = false | |
394 | tr1.Lifetime = .6 | |
395 | tr1.TextureMode = "Static" | |
396 | tr1.LightInfluence = 0 | |
397 | tr1.Color = ColorSequence.new(BrickColor.new("Eggplant").Color,BrickColor.new("Really black").Color) | |
398 | tr1.Transparency = NumberSequence.new(0, 1) | |
399 | ||
400 | shirt = Instance.new("Shirt", Character) | |
401 | shirt.Name = "Shirt" | |
402 | - | Character.Shirt.ShirtTemplate = "rbxassetid://302262616" |
402 | + | pants = Instance.new("Pants", Character) |
403 | pants.Name = "Pants" | |
404 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol | |
405 | Character.Pants.PantsTemplate = "rbxassetid://676428351" | |
406 | ||
407 | ||
408 | torso1 = Instance.new("CharacterMesh",Character) | |
409 | torso1.MeshId = 319346857 | |
410 | torso1.BodyPart = "Torso" | |
411 | ||
412 | arm1 = Instance.new("CharacterMesh",Character) | |
413 | arm1.MeshId = 303665934 | |
414 | arm1.OverlayTextureId = 1539341292 | |
415 | arm1.BodyPart = "LeftArm" | |
416 | ||
417 | arm2 = Instance.new("CharacterMesh",Character) | |
418 | arm2.MeshId = 98332573 | |
419 | arm2.OverlayTextureId = 6347925 | |
420 | arm2.BodyPart = "RightArm" | |
421 | ||
422 | particlecolor = ColorSequence.new(Color3.new(255, 255, 255)) | |
423 | ||
424 | leftlocation = Instance.new("Part",LeftArm) | |
425 | leftlocation.Size = Vector3.new(1,1,1) | |
426 | leftlocation.Transparency = 1 | |
427 | leftlocation.Name = "leftlocation" | |
428 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
429 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
430 | rightlocation = Instance.new("Part",RightArm) | |
431 | rightlocation.Size = Vector3.new(1,1,1) | |
432 | rightlocation.Transparency = 1 | |
433 | rightlocation.Name = "rightlocation" | |
434 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
435 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
436 | ||
437 | particlemiter1 = Instance.new("ParticleEmitter", LeftArm) | |
438 | particlemiter1.Enabled = false | |
439 | particlemiter1.Color = particlecolor | |
440 | particlemiter1.Texture = "rbxassetid://886346744" | |
441 | particlemiter1.Lifetime = NumberRange.new(.05) | |
442 | particlemiter1.Size = NumberSequence.new(1.75,1.75) | |
443 | particlemiter1.Rate = 4 | |
444 | particlemiter1.Rotation = NumberRange.new(0,360) | |
445 | particlemiter1.RotSpeed = NumberRange.new(0) | |
446 | particlemiter1.Speed = NumberRange.new(0) | |
447 | particlemiter2 = Instance.new("ParticleEmitter", RightArm) | |
448 | particlemiter2.Enabled = false | |
449 | particlemiter2.Color = particlecolor | |
450 | particlemiter2.Texture = "rbxassetid://886346744" | |
451 | particlemiter2.Rotation = NumberRange.new(0,360) | |
452 | particlemiter2.Lifetime = NumberRange.new(.05) | |
453 | particlemiter2.Size = NumberSequence.new(1.75,1.75) | |
454 | particlemiter2.Rate = 4 | |
455 | particlemiter2.RotSpeed = NumberRange.new(0) | |
456 | particlemiter2.Speed = NumberRange.new(0) | |
457 | particlemiter4 = Instance.new("ParticleEmitter", LeftLeg) | |
458 | particlemiter4.Enabled = false | |
459 | particlemiter4.Color = particlecolor | |
460 | particlemiter4.Texture = "rbxassetid://886346744" | |
461 | particlemiter4.Lifetime = NumberRange.new(.05) | |
462 | particlemiter4.Rotation = NumberRange.new(0,360) | |
463 | particlemiter4.Size = NumberSequence.new(1.75,1.75) | |
464 | particlemiter4.Rate = 4 | |
465 | particlemiter4.RotSpeed = NumberRange.new(0) | |
466 | particlemiter4.Speed = NumberRange.new(0) | |
467 | particlemiter5 = Instance.new("ParticleEmitter", RightLeg) | |
468 | particlemiter5.Enabled = false | |
469 | particlemiter5.Color = particlecolor | |
470 | particlemiter5.Texture = "rbxassetid://886346744" | |
471 | particlemiter5.Rotation = NumberRange.new(0,360) | |
472 | particlemiter5.Lifetime = NumberRange.new(.05) | |
473 | particlemiter5.Size = NumberSequence.new(1.75,1.75) | |
474 | particlemiter5.Rate = 4 | |
475 | particlemiter5.RotSpeed = NumberRange.new(0) | |
476 | particlemiter5.Speed = NumberRange.new(0) | |
477 | particlemiter6 = Instance.new("ParticleEmitter", Torso) | |
478 | particlemiter6.Enabled = false | |
479 | particlemiter6.Color = particlecolor | |
480 | particlemiter6.Texture = "rbxassetid://886346744" | |
481 | particlemiter6.Rotation = NumberRange.new(0,360) | |
482 | particlemiter6.Lifetime = NumberRange.new(.05) | |
483 | particlemiter6.Size = NumberSequence.new(1.75,1.75) | |
484 | particlemiter6.Rate = 4 | |
485 | particlemiter6.RotSpeed = NumberRange.new(0) | |
486 | particlemiter6.Speed = NumberRange.new(0) | |
487 | particlemiter7 = Instance.new("ParticleEmitter", Head) | |
488 | particlemiter7.Enabled = false | |
489 | particlemiter7.Color = particlecolor | |
490 | particlemiter7.Texture = "rbxassetid://886346744" | |
491 | particlemiter7.Rotation = NumberRange.new(0,360) | |
492 | particlemiter7.Lifetime = NumberRange.new(.05) | |
493 | particlemiter7.Size = NumberSequence.new(1.75,1.75) | |
494 | particlemiter7.Rate = 4 | |
495 | particlemiter7.RotSpeed = NumberRange.new(0) | |
496 | particlemiter7.Speed = NumberRange.new(0) | |
497 | ||
498 | coroutine.wrap(function() | |
499 | while true do | |
500 | wait(7) | |
501 | particlemiter1.Enabled = true | |
502 | particlemiter2.Enabled = true | |
503 | particlemiter4.Enabled = true | |
504 | particlemiter5.Enabled = true | |
505 | particlemiter6.Enabled = true | |
506 | particlemiter7.Enabled = true | |
507 | swait(60) | |
508 | particlemiter1.Enabled = false | |
509 | particlemiter2.Enabled = false | |
510 | particlemiter4.Enabled = false | |
511 | particlemiter5.Enabled = false | |
512 | particlemiter6.Enabled = false | |
513 | particlemiter7.Enabled = false | |
514 | wait(11) | |
515 | particlemiter1.Enabled = true | |
516 | particlemiter2.Enabled = true | |
517 | particlemiter4.Enabled = true | |
518 | particlemiter5.Enabled = true | |
519 | particlemiter6.Enabled = true | |
520 | particlemiter7.Enabled = true | |
521 | swait(60) | |
522 | particlemiter1.Enabled = false | |
523 | particlemiter2.Enabled = false | |
524 | particlemiter4.Enabled = false | |
525 | particlemiter5.Enabled = false | |
526 | particlemiter6.Enabled = false | |
527 | particlemiter7.Enabled = false | |
528 | wait(4) | |
529 | particlemiter1.Enabled = true | |
530 | particlemiter2.Enabled = true | |
531 | particlemiter4.Enabled = true | |
532 | particlemiter5.Enabled = true | |
533 | particlemiter6.Enabled = true | |
534 | particlemiter7.Enabled = true | |
535 | swait(60) | |
536 | particlemiter1.Enabled = false | |
537 | particlemiter2.Enabled = false | |
538 | particlemiter4.Enabled = false | |
539 | particlemiter5.Enabled = false | |
540 | particlemiter6.Enabled = false | |
541 | particlemiter7.Enabled = false | |
542 | swait() | |
543 | end | |
544 | end)() | |
545 | ||
546 | Head.BrickColor = BrickColor.new("Really black") | |
547 | ||
548 | ||
549 | mas = Instance.new("Model",Head) | |
550 | mas.Name = "Model2Script" | |
551 | o1 = Instance.new("Model") | |
552 | o2 = Instance.new("Part") | |
553 | o3 = Instance.new("Part") | |
554 | o4 = Instance.new("Part") | |
555 | o5 = Instance.new("Part") | |
556 | o6 = Instance.new("Part") | |
557 | o7 = Instance.new("Part") | |
558 | o8 = Instance.new("Part") | |
559 | o9 = Instance.new("Part") | |
560 | o10 = Instance.new("Part") | |
561 | o11 = Instance.new("Part") | |
562 | o12 = Instance.new("Part") | |
563 | o13 = Instance.new("Part") | |
564 | o14 = Instance.new("Part") | |
565 | o15 = Instance.new("Part") | |
566 | o16 = Instance.new("Part") | |
567 | o17 = Instance.new("Part") | |
568 | o18 = Instance.new("Part") | |
569 | o19 = Instance.new("Part") | |
570 | o20 = Instance.new("Part") | |
571 | o21 = Instance.new("Part") | |
572 | o22 = Instance.new("Part") | |
573 | o23 = Instance.new("Part") | |
574 | o24 = Instance.new("Part") | |
575 | o25 = Instance.new("Part") | |
576 | o26 = Instance.new("Part") | |
577 | o27 = Instance.new("Part") | |
578 | o28 = Instance.new("Part") | |
579 | o29 = Instance.new("Part") | |
580 | o30 = Instance.new("Part") | |
581 | o31 = Instance.new("Part") | |
582 | o32 = Instance.new("Part") | |
583 | o33 = Instance.new("Part") | |
584 | o34 = Instance.new("Part") | |
585 | o35 = Instance.new("Part") | |
586 | o36 = Instance.new("Part") | |
587 | o37 = Instance.new("Part") | |
588 | o1.Parent = mas | |
589 | o2.Name = "Head" | |
590 | o2.Parent = o1 | |
591 | o2.Material = Enum.Material.SmoothPlastic | |
592 | o2.BrickColor = BrickColor.new("Really black") | |
593 | o2.Transparency = 1 | |
594 | o2.Rotation = Vector3.new(-0.00999999978, 3.26999998, 0.00999999978) | |
595 | o2.FormFactor = Enum.FormFactor.Symmetric | |
596 | o2.Size = Vector3.new(1.99999988, 0.99999994, 0.99999994) | |
597 | o2.CFrame = CFrame.new(12.5892553, 4.50960207, -3.75727963, 0.998376548, -0.000250246754, 0.0569584854, 0.000245001953, 1.00000846, 9.91025372e-05, -0.056957975, -8.49864373e-05, 0.998385131) | |
598 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
599 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
600 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
601 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
602 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
603 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
604 | o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
605 | o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
606 | o3.Parent = o2 | |
607 | o3.BrickColor = BrickColor.new("Fossil") | |
608 | o3.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
609 | o3.CanCollide = false | |
610 | o3.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
611 | o3.CFrame = CFrame.new(12.3422012, 4.47093582, -4.18185663, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
612 | o3.BottomSurface = Enum.SurfaceType.Smooth | |
613 | o3.TopSurface = Enum.SurfaceType.Smooth | |
614 | o3.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
615 | o3.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
616 | o4.Parent = o2 | |
617 | o4.Material = Enum.Material.Neon | |
618 | o4.BrickColor = BrickColor.new("Eggplant") | |
619 | o4.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
620 | o4.CanCollide = false | |
621 | o4.Shape = Enum.PartType.Ball | |
622 | o4.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
623 | o4.CFrame = CFrame.new(12.6813383, 4.85306978, -4.3403945, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
624 | o4.BottomSurface = Enum.SurfaceType.Smooth | |
625 | o4.TopSurface = Enum.SurfaceType.Smooth | |
626 | o4.Color = Color3.new(0.482353, 0, 0.482353) | |
627 | o4.Color = Color3.new(0.482353, 0, 0.482353) | |
628 | o5.Parent = o2 | |
629 | o5.BrickColor = BrickColor.new("Fossil") | |
630 | o5.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
631 | o5.CanCollide = false | |
632 | o5.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
633 | o5.CFrame = CFrame.new(12.25453, 4.47092152, -4.12017584, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
634 | o5.BottomSurface = Enum.SurfaceType.Smooth | |
635 | o5.TopSurface = Enum.SurfaceType.Smooth | |
636 | o5.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
637 | o5.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
638 | o6.Parent = o2 | |
639 | o6.BrickColor = BrickColor.new("Fossil") | |
640 | o6.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
641 | o6.CanCollide = false | |
642 | o6.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
643 | o6.CFrame = CFrame.new(12.3307505, 4.47093344, -4.19189453, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
644 | o6.BottomSurface = Enum.SurfaceType.Smooth | |
645 | o6.TopSurface = Enum.SurfaceType.Smooth | |
646 | o6.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
647 | o6.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
648 | o7.Parent = o2 | |
649 | o7.BrickColor = BrickColor.new("Fossil") | |
650 | o7.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
651 | o7.CanCollide = false | |
652 | o7.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
653 | o7.CFrame = CFrame.new(12.4249439, 4.47095871, -4.24005365, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
654 | o7.BottomSurface = Enum.SurfaceType.Smooth | |
655 | o7.TopSurface = Enum.SurfaceType.Smooth | |
656 | o7.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
657 | o7.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
658 | o8.Parent = o2 | |
659 | o8.BrickColor = BrickColor.new("Fossil") | |
660 | o8.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
661 | o8.CanCollide = false | |
662 | o8.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
663 | o8.CFrame = CFrame.new(12.8379145, 4.46701479, -4.16434002, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
664 | o8.BottomSurface = Enum.SurfaceType.Smooth | |
665 | o8.TopSurface = Enum.SurfaceType.Smooth | |
666 | o8.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
667 | o8.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
668 | o9.Parent = o2 | |
669 | o9.BrickColor = BrickColor.new("Fossil") | |
670 | o9.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
671 | o9.CanCollide = false | |
672 | o9.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
673 | o9.CFrame = CFrame.new(12.9631338, 4.46704054, -4.09174585, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
674 | o9.BottomSurface = Enum.SurfaceType.Smooth | |
675 | o9.TopSurface = Enum.SurfaceType.Smooth | |
676 | o9.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
677 | o9.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
678 | o10.Parent = o2 | |
679 | o10.BrickColor = BrickColor.new("Fossil") | |
680 | o10.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
681 | o10.CanCollide = false | |
682 | o10.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
683 | o10.CFrame = CFrame.new(12.2429972, 4.4709177, -4.11946106, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
684 | o10.BottomSurface = Enum.SurfaceType.Smooth | |
685 | o10.TopSurface = Enum.SurfaceType.Smooth | |
686 | o10.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
687 | o10.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
688 | o11.Parent = o2 | |
689 | o11.Material = Enum.Material.Metal | |
690 | o11.BrickColor = BrickColor.new("Pearl") | |
691 | o11.Rotation = Vector3.new(-179.959991, 70.5100021, 179.970001) | |
692 | o11.CanCollide = false | |
693 | o11.Size = Vector3.new(0.250002503, 0.350000173, 0.2900002) | |
694 | o11.CFrame = CFrame.new(13.0351248, 4.18798542, -4.05297899, -0.333613515, -0.000202421492, 0.942709923, -1.74622983e-10, 1.00000834, 0.000214724801, -0.942718267, 7.16352733e-05, -0.333615392) | |
695 | o11.BottomSurface = Enum.SurfaceType.Smooth | |
696 | o11.TopSurface = Enum.SurfaceType.Smooth | |
697 | o11.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
698 | o11.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
699 | o12.Parent = o2 | |
700 | o12.Material = Enum.Material.Metal | |
701 | o12.BrickColor = BrickColor.new("Pearl") | |
702 | o12.Rotation = Vector3.new(-0.0199999996, 59.8599968, 0.0299999993) | |
703 | o12.CanCollide = false | |
704 | o12.Size = Vector3.new(0.250002503, 0.330000162, 0.2900002) | |
705 | o12.CFrame = CFrame.new(12.1336823, 4.17776823, -4.01179171, 0.502042472, -0.000225768134, 0.864842951, 0.000113000759, 1.00000834, 0.000195456203, -0.864849985, -3.99100827e-07, 0.502047539) | |
706 | o12.BottomSurface = Enum.SurfaceType.Smooth | |
707 | o12.TopSurface = Enum.SurfaceType.Smooth | |
708 | o12.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
709 | o12.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
710 | o13.Parent = o2 | |
711 | o13.BrickColor = BrickColor.new("Fossil") | |
712 | o13.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
713 | o13.CanCollide = false | |
714 | o13.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
715 | o13.CFrame = CFrame.new(12.4135151, 4.13782883, -4.25640917, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
716 | o13.BottomSurface = Enum.SurfaceType.Smooth | |
717 | o13.TopSurface = Enum.SurfaceType.Smooth | |
718 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
719 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
720 | o14.Parent = o2 | |
721 | o14.Material = Enum.Material.SmoothPlastic | |
722 | o14.BrickColor = BrickColor.new("Really black") | |
723 | o14.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
724 | o14.CanCollide = false | |
725 | o14.Size = Vector3.new(0.370002419, 0.380000234, 0.300000221) | |
726 | o14.CFrame = CFrame.new(12.5940952, 4.50669909, -4.2362237, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
727 | o14.BottomSurface = Enum.SurfaceType.Smooth | |
728 | o14.TopSurface = Enum.SurfaceType.Smooth | |
729 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
730 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
731 | o15.Parent = o2 | |
732 | o15.Material = Enum.Material.Metal | |
733 | o15.BrickColor = BrickColor.new("Pearl") | |
734 | o15.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
735 | o15.CanCollide = false | |
736 | o15.Size = Vector3.new(0.0800024197, 0.250000238, 0.300000221) | |
737 | o15.CFrame = CFrame.new(12.720789, 4.13790607, -4.30649519, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
738 | o15.BottomSurface = Enum.SurfaceType.Smooth | |
739 | o15.TopSurface = Enum.SurfaceType.Smooth | |
740 | o15.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
741 | o15.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
742 | o16.Parent = o2 | |
743 | o16.BrickColor = BrickColor.new("Fossil") | |
744 | o16.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
745 | o16.CanCollide = false | |
746 | o16.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
747 | o16.CFrame = CFrame.new(12.8739166, 4.14795494, -4.19200373, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
748 | o16.BottomSurface = Enum.SurfaceType.Smooth | |
749 | o16.TopSurface = Enum.SurfaceType.Smooth | |
750 | o16.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
751 | o16.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
752 | o17.Parent = o2 | |
753 | o17.Material = Enum.Material.Metal | |
754 | o17.BrickColor = BrickColor.new("Pearl") | |
755 | o17.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
756 | o17.CanCollide = false | |
757 | o17.Size = Vector3.new(0.370002478, 0.120000228, 0.130000144) | |
758 | o17.CFrame = CFrame.new(13.0013018, 5.05734348, -4.35467005, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561) | |
759 | o17.BottomSurface = Enum.SurfaceType.Smooth | |
760 | o17.TopSurface = Enum.SurfaceType.Smooth | |
761 | o17.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
762 | o17.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
763 | o18.Parent = o2 | |
764 | o18.Material = Enum.Material.Neon | |
765 | o18.BrickColor = BrickColor.new("Eggplant") | |
766 | o18.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
767 | o18.CanCollide = false | |
768 | o18.Shape = Enum.PartType.Cylinder | |
769 | o18.Size = Vector3.new(0.48999992, 1.15999997, 1.30999982) | |
770 | o18.CFrame = CFrame.new(12.586771, 4.26036596, -3.78879094, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502) | |
771 | o18.BottomSurface = Enum.SurfaceType.Smooth | |
772 | o18.TopSurface = Enum.SurfaceType.Smooth | |
773 | o18.Color = Color3.new(0.482353, 0, 0.482353) | |
774 | o18.Color = Color3.new(0.482353, 0, 0.482353) | |
775 | o19.Parent = o2 | |
776 | o19.Material = Enum.Material.Metal | |
777 | o19.BrickColor = BrickColor.new("Pearl") | |
778 | o19.Rotation = Vector3.new(0, 0.629999995, 12.8699999) | |
779 | o19.CanCollide = false | |
780 | o19.Size = Vector3.new(0.0800024197, 0.170000225, 0.2900002) | |
781 | o19.CFrame = CFrame.new(12.6530409, 4.55379057, -4.27083921, 0.974806547, -0.22278282, 0.0109562129, 0.222797751, 0.974873364, 2.55261766e-05, -0.0106856115, 0.00241591129, 0.999948502) | |
782 | o19.BottomSurface = Enum.SurfaceType.Smooth | |
783 | o19.TopSurface = Enum.SurfaceType.Smooth | |
784 | o19.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
785 | o19.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
786 | o20.Parent = o2 | |
787 | o20.Material = Enum.Material.Metal | |
788 | o20.BrickColor = BrickColor.new("Pearl") | |
789 | o20.Rotation = Vector3.new(-0.00999999978, 29.6299992, 0.0199999996) | |
790 | o20.CanCollide = false | |
791 | o20.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002) | |
792 | o20.CFrame = CFrame.new(12.2898045, 4.11280489, -4.19457197, 0.869223297, -0.000238353008, 0.494419813, 0.000207001765, 1.00000846, 0.000118167409, -0.494423091, -3.67785105e-07, 0.869231284) | |
793 | o20.BottomSurface = Enum.SurfaceType.Smooth | |
794 | o20.TopSurface = Enum.SurfaceType.Smooth | |
795 | o20.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
796 | o20.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
797 | o21.Parent = o2 | |
798 | o21.Material = Enum.Material.Metal | |
799 | o21.BrickColor = BrickColor.new("Pearl") | |
800 | o21.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
801 | o21.CanCollide = false | |
802 | o21.Size = Vector3.new(0.350002438, 0.120000228, 0.130000204) | |
803 | o21.CFrame = CFrame.new(13.0757389, 4.90882826, -4.35546923, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561) | |
804 | o21.BottomSurface = Enum.SurfaceType.Smooth | |
805 | o21.TopSurface = Enum.SurfaceType.Smooth | |
806 | o21.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
807 | o21.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
808 | o22.Parent = o2 | |
809 | o22.Material = Enum.Material.Metal | |
810 | o22.BrickColor = BrickColor.new("Pearl") | |
811 | o22.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
812 | o22.CanCollide = false | |
813 | o22.Size = Vector3.new(0.330002487, 0.110000268, 0.140000194) | |
814 | o22.CFrame = CFrame.new(13.142314, 4.7739563, -4.35119486, 0.865364432, -0.501023412, 0.0109602921, 0.501057446, 0.865423858, 2.24432806e-05, -0.00949566439, 0.00547180884, 0.999948561) | |
815 | o22.BottomSurface = Enum.SurfaceType.Smooth | |
816 | o22.TopSurface = Enum.SurfaceType.Smooth | |
817 | o22.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
818 | o22.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
819 | o23.Parent = o2 | |
820 | o23.Material = Enum.Material.Metal | |
821 | o23.BrickColor = BrickColor.new("Pearl") | |
822 | o23.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
823 | o23.CanCollide = false | |
824 | o23.Size = Vector3.new(0.0800024197, 0.250000238, 0.2900002) | |
825 | o23.CFrame = CFrame.new(12.4452009, 4.13783503, -4.29846525, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
826 | o23.BottomSurface = Enum.SurfaceType.Smooth | |
827 | o23.TopSurface = Enum.SurfaceType.Smooth | |
828 | o23.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
829 | o23.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
830 | o24.Parent = o2 | |
831 | o24.Material = Enum.Material.Metal | |
832 | o24.BrickColor = BrickColor.new("Pearl") | |
833 | o24.Rotation = Vector3.new(0, 0.629999995, -30.1299992) | |
834 | o24.CanCollide = false | |
835 | o24.Size = Vector3.new(0.330002487, 0.110000268, 0.130000249) | |
836 | o24.CFrame = CFrame.new(13.0381289, 4.67515135, -4.35506392, 0.864809334, 0.501980901, 0.0109607317, -0.502015352, 0.864868522, 1.60243653e-05, -0.00947066396, -0.00551580451, 0.999948561) | |
837 | o24.BottomSurface = Enum.SurfaceType.Smooth | |
838 | o24.TopSurface = Enum.SurfaceType.Smooth | |
839 | o24.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
840 | o24.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
841 | o25.Parent = o2 | |
842 | o25.BrickColor = BrickColor.new("Fossil") | |
843 | o25.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
844 | o25.CanCollide = false | |
845 | o25.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
846 | o25.CFrame = CFrame.new(12.2344007, 4.13779402, -4.13043022, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
847 | o25.BottomSurface = Enum.SurfaceType.Smooth | |
848 | o25.TopSurface = Enum.SurfaceType.Smooth | |
849 | o25.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
850 | o25.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
851 | o26.Parent = o2 | |
852 | o26.BrickColor = BrickColor.new("Fossil") | |
853 | o26.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
854 | o26.CanCollide = false | |
855 | o26.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
856 | o26.CFrame = CFrame.new(12.7699385, 4.14792395, -4.25231028, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
857 | o26.BottomSurface = Enum.SurfaceType.Smooth | |
858 | o26.TopSurface = Enum.SurfaceType.Smooth | |
859 | o26.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
860 | o26.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
861 | o27.Parent = o2 | |
862 | o27.Material = Enum.Material.SmoothPlastic | |
863 | o27.BrickColor = BrickColor.new("Really black") | |
864 | o27.Rotation = Vector3.new(180, -3.27999997, 179.98999) | |
865 | o27.Shape = Enum.PartType.Cylinder | |
866 | o27.Size = Vector3.new(0.0500000007, 0.250000238, 1.6000005) | |
867 | o27.CFrame = CFrame.new(12.2895432, 4.72786093, -4.26638556, -0.998360634, -0.000245401112, -0.0572395623, -0.000245002186, 1.00000846, -1.40238844e-05, 0.0572390407, 2.32175807e-08, -0.998369098) | |
868 | o27.BottomSurface = Enum.SurfaceType.Smooth | |
869 | o27.TopSurface = Enum.SurfaceType.Smooth | |
870 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
871 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
872 | o28.Parent = o2 | |
873 | o28.Material = Enum.Material.SmoothPlastic | |
874 | o28.BrickColor = BrickColor.new("Really black") | |
875 | o28.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
876 | o28.CanCollide = false | |
877 | o28.Shape = Enum.PartType.Cylinder | |
878 | o28.Size = Vector3.new(0.24999994, 1.25999975, 1.54999959) | |
879 | o28.CFrame = CFrame.new(12.5879374, 4.09035969, -3.785882, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502) | |
880 | o28.BottomSurface = Enum.SurfaceType.Smooth | |
881 | o28.TopSurface = Enum.SurfaceType.Smooth | |
882 | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
883 | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
884 | o29.Parent = o2 | |
885 | o29.Material = Enum.Material.Neon | |
886 | o29.BrickColor = BrickColor.new("Eggplant") | |
887 | o29.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
888 | o29.CanCollide = false | |
889 | o29.Shape = Enum.PartType.Ball | |
890 | o29.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
891 | o29.CFrame = CFrame.new(12.8344183, 4.76740217, -4.34208727, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
892 | o29.BottomSurface = Enum.SurfaceType.Smooth | |
893 | o29.TopSurface = Enum.SurfaceType.Smooth | |
894 | o29.Color = Color3.new(0.482353, 0, 0.482353) | |
895 | o29.Color = Color3.new(0.482353, 0, 0.482353) | |
896 | o30.Parent = o2 | |
897 | o30.Material = Enum.Material.Neon | |
898 | o30.BrickColor = BrickColor.new("Eggplant") | |
899 | o30.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
900 | o30.CanCollide = false | |
901 | o30.Shape = Enum.PartType.Ball | |
902 | o30.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
903 | o30.CFrame = CFrame.new(12.6813812, 4.67232227, -4.34039068, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
904 | o30.BottomSurface = Enum.SurfaceType.Smooth | |
905 | o30.TopSurface = Enum.SurfaceType.Smooth | |
906 | o30.Color = Color3.new(0.482353, 0, 0.482353) | |
907 | o30.Color = Color3.new(0.482353, 0, 0.482353) | |
908 | o31.Parent = o2 | |
909 | o31.BrickColor = BrickColor.new("Fossil") | |
910 | o31.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
911 | o31.CanCollide = false | |
912 | o31.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
913 | o31.CFrame = CFrame.new(12.9933138, 4.14798307, -4.12279606, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
914 | o31.BottomSurface = Enum.SurfaceType.Smooth | |
915 | o31.TopSurface = Enum.SurfaceType.Smooth | |
916 | o31.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
917 | o31.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
918 | o32.Name = "r" | |
919 | o32.Parent = o2 | |
920 | o32.Material = Enum.Material.SmoothPlastic | |
921 | o32.BrickColor = BrickColor.new("Really black") | |
922 | o32.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
923 | o32.CanCollide = false | |
924 | o32.Shape = Enum.PartType.Cylinder | |
925 | o32.Size = Vector3.new(0.46999985, 1.25999975, 1.54999959) | |
926 | o32.CFrame = CFrame.new(12.5878134, 4.61972094, -3.7858963, 0.000245000003, 0.999939919, 0.0109635293, -1.00000846, 0.000244855793, 1.46855382e-05, 1.19998876e-05, -0.0109626055, 0.999948502) | |
927 | o32.BottomSurface = Enum.SurfaceType.Smooth | |
928 | o32.TopSurface = Enum.SurfaceType.Smooth | |
929 | o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
930 | o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
931 | o33.Parent = o2 | |
932 | o33.BrickColor = BrickColor.new("Fossil") | |
933 | o33.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
934 | o33.CanCollide = false | |
935 | o33.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
936 | o33.CFrame = CFrame.new(12.3250799, 4.13780499, -4.19420767, 0.817933738, -0.000248847413, 0.575312555, 0.000196001551, 1.00000846, 0.000153887318, -0.575316489, -1.31072084e-05, 0.817941368) | |
937 | o33.BottomSurface = Enum.SurfaceType.Smooth | |
938 | o33.TopSurface = Enum.SurfaceType.Smooth | |
939 | o33.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
940 | o33.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
941 | o34.Parent = o2 | |
942 | o34.Material = Enum.Material.Neon | |
943 | o34.BrickColor = BrickColor.new("Eggplant") | |
944 | o34.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
945 | o34.CanCollide = false | |
946 | o34.Shape = Enum.PartType.Ball | |
947 | o34.Size = Vector3.new(0.230001301, 0.230001301, 0.230001301) | |
948 | o34.CFrame = CFrame.new(12.320076, 4.73971415, -4.26470613, 0.999939919, -0.00023901432, 0.0109635331, 0.00023900198, 1.00000846, 2.62037793e-06, -0.0109626129, 3.71073838e-10, 0.999948502) | |
949 | o34.BottomSurface = Enum.SurfaceType.Smooth | |
950 | o34.TopSurface = Enum.SurfaceType.Smooth | |
951 | o34.Color = Color3.new(0.482353, 0, 0.482353) | |
952 | o34.Color = Color3.new(0.482353, 0, 0.482353) | |
953 | o35.Parent = o2 | |
954 | o35.Material = Enum.Material.Metal | |
955 | o35.BrickColor = BrickColor.new("Pearl") | |
956 | o35.Rotation = Vector3.new(0, 0.629999995, 12.8699999) | |
957 | o35.CanCollide = false | |
958 | o35.Size = Vector3.new(0.520002484, 0.440000206, 0.2900002) | |
959 | o35.CFrame = CFrame.new(12.8338127, 4.79513836, -4.27282286, 0.974806547, -0.22278282, 0.0109562129, 0.222797751, 0.974873364, 2.55261766e-05, -0.0106856115, 0.00241591129, 0.999948502) | |
960 | o35.BottomSurface = Enum.SurfaceType.Smooth | |
961 | o35.TopSurface = Enum.SurfaceType.Smooth | |
962 | o35.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
963 | o35.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
964 | o36.Parent = o2 | |
965 | o36.Material = Enum.Material.Metal | |
966 | o36.BrickColor = BrickColor.new("Pearl") | |
967 | o36.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
968 | o36.CanCollide = false | |
969 | o36.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002) | |
970 | o36.CFrame = CFrame.new(12.8746452, 4.11295271, -4.2049346, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
971 | o36.BottomSurface = Enum.SurfaceType.Smooth | |
972 | o36.TopSurface = Enum.SurfaceType.Smooth | |
973 | o36.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
974 | o36.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
975 | o37.Parent = o2 | |
976 | o37.BrickColor = BrickColor.new("Fossil") | |
977 | o37.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
978 | o37.CanCollide = false | |
979 | o37.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
980 | o37.CFrame = CFrame.new(12.7551317, 4.46699476, -4.21234465, 0.865085423, -0.000253115431, -0.501624584, 0.000219001973, 1.00000846, -0.000126912026, 0.50162971, -6.67569111e-08, 0.865092278) | |
981 | o37.BottomSurface = Enum.SurfaceType.Smooth | |
982 | o37.TopSurface = Enum.SurfaceType.Smooth | |
983 | o37.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
984 | o37.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
985 | mas.Parent = workspace | |
986 | mas:MakeJoints() | |
987 | ||
988 | mas2 = Instance.new("Model",RightArm) | |
989 | mas2.Name = "Model2Script2" | |
990 | ov = Instance.new("Model") | |
991 | o2 = Instance.new("WedgePart") | |
992 | o3 = Instance.new("WedgePart") | |
993 | o4 = Instance.new("WedgePart") | |
994 | o5 = Instance.new("Part") | |
995 | o6 = Instance.new("Part") | |
996 | o7 = Instance.new("Part") | |
997 | o8 = Instance.new("WedgePart") | |
998 | o9m = Instance.new("Part") | |
999 | ov.Parent = mas2 | |
1000 | o2.Parent = ov | |
1001 | o2.Material = Enum.Material.Neon | |
1002 | o2.BrickColor = BrickColor.new("Alder") | |
1003 | o2.Transparency = 0.1 | |
1004 | o2.Rotation = Vector3.new(-76.2299957, 74.5199966, -102.399994) | |
1005 | o2.Anchored = true | |
1006 | o2.Size = Vector3.new(0.104009911, 0.654072165, 0.0998701826) | |
1007 | o2.CFrame = CFrame.new(-6.25214577, 2.5895319, -11.5024309, -0.057314001, 0.260602951, 0.963743508, -0.0313595012, -0.965332747, 0.259167373, 0.997871935, -0.015368619, 0.0634972602) | |
1008 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1009 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1010 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1011 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1012 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1013 | o2.Color = Color3.new(0.705882, 0.501961, 1) | |
1014 | o2.Color = Color3.new(0.705882, 0.501961, 1) | |
1015 | o3.Parent = ov | |
1016 | o3.Material = Enum.Material.Neon | |
1017 | o3.BrickColor = BrickColor.new("Alder") | |
1018 | o3.Transparency = 0.1 | |
1019 | o3.Rotation = Vector3.new(-88.5499954, -6.10999966, 86.6899948) | |
1020 | o3.Anchored = true | |
1021 | o3.Size = Vector3.new(0.10142266, 0.186803788, 0.632338703) | |
1022 | o3.CFrame = CFrame.new(-5.97627115, 1.30611134, -11.5261898, 0.0573620088, -0.992660284, -0.106466688, 0.0314275026, -0.104794614, 0.994006455, -0.997867048, -0.0603620112, 0.0251852907) | |
1023 | o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1024 | o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1025 | o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1026 | o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1027 | o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1028 | o3.Color = Color3.new(0.705882, 0.501961, 1) | |
1029 | o3.Color = Color3.new(0.705882, 0.501961, 1) | |
1030 | o4.Parent = ov | |
1031 | o4.Material = Enum.Material.Neon | |
1032 | o4.BrickColor = BrickColor.new("Alder") | |
1033 | o4.Transparency = 0.1 | |
1034 | o4.Rotation = Vector3.new(103.110001, -74.5599976, -78.2399979) | |
1035 | o4.Anchored = true | |
1036 | o4.Size = Vector3.new(0.104009911, 0.472443491, 0.0998701826) | |
1037 | o4.CFrame = CFrame.new(-5.85783195, 2.78958607, -11.4734116, 0.0542620048, 0.26058802, -0.96392411, 0.0306074936, -0.965335786, -0.25924623, -0.998065889, -0.0154361119, -0.0603548028) | |
1038 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1039 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1040 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1041 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1042 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1043 | o4.Color = Color3.new(0.705882, 0.501961, 1) | |
1044 | o4.Color = Color3.new(0.705882, 0.501961, 1) | |
1045 | o5.Parent = ov | |
1046 | o5.Material = Enum.Material.Neon | |
1047 | o5.BrickColor = BrickColor.new("Alder") | |
1048 | o5.Transparency = 0.1 | |
1049 | o5.Rotation = Vector3.new(-178.199997, 3.28999996, -105.129997) | |
1050 | o5.Anchored = true | |
1051 | o5.Size = Vector3.new(0.701161206, 0.538160622, 0.103492416) | |
1052 | o5.CFrame = CFrame.new(-6.22018671, 3.29966021, -11.4774265, -0.260599941, 0.963741541, 0.0573597625, 0.965332747, 0.259159267, 0.0314289927, 0.0154241361, 0.0635594428, -0.997867107) | |
1053 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1054 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1055 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1056 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1057 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1058 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1059 | o5.Color = Color3.new(0.705882, 0.501961, 1) | |
1060 | o5.Color = Color3.new(0.705882, 0.501961, 1) | |
1061 | o6.Parent = ov | |
1062 | o6.Material = Enum.Material.Neon | |
1063 | o6.BrickColor = BrickColor.new("Alder") | |
1064 | o6.Transparency = 0.1 | |
1065 | o6.Rotation = Vector3.new(-178.199997, 3.28999996, -101.059998) | |
1066 | o6.Anchored = true | |
1067 | o6.Size = Vector3.new(0.701161206, 0.371020257, 0.103492416) | |
1068 | o6.CFrame = CFrame.new(-6.05381966, 2.6474514, -11.4884119, -0.191533148, 0.979808867, 0.0573569275, 0.981293619, 0.189983174, 0.0314286686, 0.0198971108, 0.062301416, -0.997867286) | |
1069 | o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1070 | o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1071 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1072 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1073 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1074 | o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1075 | o6.Color = Color3.new(0.705882, 0.501961, 1) | |
1076 | o6.Color = Color3.new(0.705882, 0.501961, 1) | |
1077 | o7.Parent = ov | |
1078 | o7.Material = Enum.Material.Neon | |
1079 | o7.BrickColor = BrickColor.new("Alder") | |
1080 | o7.Transparency = 0.1 | |
1081 | o7.Rotation = Vector3.new(-178.199997, 3.28999996, -96.1199951) | |
1082 | o7.Anchored = true | |
1083 | o7.Size = Vector3.new(0.701161206, 0.371020257, 0.103492416) | |
1084 | o7.CFrame = CFrame.new(-5.95285225, 1.97883701, -11.5036192, -0.106464036, 0.99266082, 0.057359308, 0.994006693, 0.104791857, 0.0314288139, 0.025187036, 0.0603593886, -0.997867167) | |
1085 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1086 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1087 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1088 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1089 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1090 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1091 | o7.Color = Color3.new(0.705882, 0.501961, 1) | |
1092 | o7.Color = Color3.new(0.705882, 0.501961, 1) | |
1093 | o8.Parent = ov | |
1094 | o8.Material = Enum.Material.Neon | |
1095 | o8.BrickColor = BrickColor.new("Alder") | |
1096 | o8.Transparency = 0.1 | |
1097 | o8.Rotation = Vector3.new(-88.5499954, -6.10999966, -93.3099976) | |
1098 | o8.Anchored = true | |
1099 | o8.Size = Vector3.new(0.10142266, 0.186803788, 0.632338703) | |
1100 | o8.CFrame = CFrame.new(-5.79092312, 1.32566071, -11.5148821, -0.0573620088, 0.992660284, -0.106466688, -0.0314275026, 0.104794614, 0.994006455, 0.997867048, 0.0603620112, 0.0251852907) | |
1101 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1102 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1103 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1104 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1105 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1106 | o8.Color = Color3.new(0.705882, 0.501961, 1) | |
1107 | o8.Color = Color3.new(0.705882, 0.501961, 1) | |
1108 | o9m.Parent = ov | |
1109 | o9m.Material = Enum.Material.Neon | |
1110 | o9m.BrickColor = BrickColor.new("Alder") | |
1111 | o9m.Transparency = 0.1 | |
1112 | o9m.Rotation = Vector3.new(-178.199997, 3.28999996, -118.769997) | |
1113 | o9m.Anchored = true | |
1114 | o9m.Size = Vector3.new(1.56116068, 0.538160563, 0.102974951) | |
1115 | o9m.CFrame = CFrame.new(-6.66080666, 4.25504208, -11.4726496, -0.480506241, 0.875113606, 0.0573588945, 0.876999617, 0.479481548, 0.031427063, 2.6898428e-07, 0.065402478, -0.997867227) | |
1116 | o9m.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1117 | - | nightfallmasklocater = Instance.new("Part",Head) |
1117 | + | |
1118 | - | nightfallmasklocater.CanCollide = false |
1118 | + | |
1119 | - | nightfallmasklocater.Transparency = 1 |
1119 | + | |
1120 | - | nightfallmasklocater.Size = Vector3.new(1,1,1) |
1120 | + | |
1121 | - | ng = weldBetween(nightfallmasklocater,Head) |
1121 | + | |
1122 | - | ng.C0 = CFrame.new(12.6,4.5,-3.72) |
1122 | + | |
1123 | o9m.Color = Color3.new(0.705882, 0.501961, 1) | |
1124 | mas2.Parent = workspace | |
1125 | mas2:MakeJoints() | |
1126 | ||
1127 | nightfallknifelocater = Instance.new("Part",RightArm) | |
1128 | nightfallknifelocater.CanCollide = false | |
1129 | nightfallknifelocater.Transparency = 1 | |
1130 | nightfallknifelocater.Size = Vector3.new(1,1,1) | |
1131 | ng2 = weldBetween(nightfallknifelocater,RightArm) | |
1132 | ng2.C0 = CFrame.new(-6.2,4.3,-11.35) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-18)) | |
1133 | ||
1134 | ||
1135 | hair = Instance.new("Part",Character) | |
1136 | hair.Size = Vector3.new(2,2,2) | |
1137 | hair.CFrame = Head.CFrame | |
1138 | hair.CanCollide = false | |
1139 | hairweld = Instance.new("Weld",hair) | |
1140 | hairweld.Part0 = hair | |
1141 | hairweld.Part1 = Head | |
1142 | hairweld.C0 = hair.CFrame:inverse() * Head.CFrame * CFrame.new(0,.6,-.78) | |
1143 | mhair = Instance.new("SpecialMesh", hair) | |
1144 | mhair.MeshType = "FileMesh" | |
1145 | mhair.Scale = Vector3.new(1.1,1.1,1.1) | |
1146 | mhair.MeshId,mhair.TextureId = 'http://www.roblox.com/asset/?id=398618628','http://www.roblox.com/asset/?id=857871959' | |
1147 | ||
1148 | function weld() | |
1149 | local parts,last = {} | |
1150 | local function scan(o1) | |
1151 | for _,v in pairs(o1:GetChildren()) do | |
1152 | if (v:IsA("BasePart")) then | |
1153 | if (last) then | |
1154 | local w = Instance.new("Weld") | |
1155 | w.Name = ("%s_Weld"):format(v.Name) | |
1156 | w.Part0,w.Part1 = last,nightfallmasklocater | |
1157 | w.C0 = last.CFrame:inverse() | |
1158 | w.Parent = last | |
1159 | end | |
1160 | last = v | |
1161 | table.insert(parts,v) | |
1162 | end | |
1163 | scan(v) | |
1164 | end | |
1165 | end | |
1166 | scan(o1) | |
1167 | for _,v in pairs(parts) do | |
1168 | v.CanCollide = false | |
1169 | v.Anchored = false | |
1170 | v.Parent = Head | |
1171 | end | |
1172 | end | |
1173 | ||
1174 | weld() | |
1175 | ||
1176 | function weld2() | |
1177 | local parts,last = {} | |
1178 | local function scan(ov) | |
1179 | for _,v in pairs(ov:GetChildren()) do | |
1180 | if (v:IsA("BasePart")) then | |
1181 | if (last) then | |
1182 | local w = Instance.new("Weld") | |
1183 | w.Name = ("%s_Weld"):format(v.Name) | |
1184 | w.Part0,w.Part1 = last,nightfallknifelocater | |
1185 | w.C0 = last.CFrame:inverse() | |
1186 | w.Parent = last | |
1187 | end | |
1188 | last = v | |
1189 | table.insert(parts,v) | |
1190 | end | |
1191 | scan(v) | |
1192 | end | |
1193 | end | |
1194 | scan(ov) | |
1195 | for _,v in pairs(parts) do | |
1196 | v.CanCollide = false | |
1197 | v.Anchored = false | |
1198 | v.Parent = RightArm | |
1199 | end | |
1200 | end | |
1201 | - | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" |
1201 | + | |
1202 | weld2() | |
1203 | - | leg1 = Instance.new("SpecialMesh", LeftLeg) |
1203 | + | |
1204 | - | leg1.MeshType = "FileMesh" |
1204 | + | |
1205 | - | leg1.Scale = Vector3.new(1, 1, 1) |
1205 | + | |
1206 | - | leg1.MeshId,leg1.TextureId = 'http://www.roblox.com/asset/?id=1243660338','http://www.roblox.com/asset/?id=1539341292' |
1206 | + | |
1207 | end | |
1208 | - | leg2 = Instance.new("SpecialMesh", RightLeg) |
1208 | + | |
1209 | - | leg2.MeshType = "FileMesh" |
1209 | + | |
1210 | - | leg2.Scale = Vector3.new(1, 1, 1) |
1210 | + | |
1211 | - | leg2.MeshId,leg2.TextureId = 'http://www.roblox.com/asset/?id=1243660660','http://www.roblox.com/asset/?id=1539341292' |
1211 | + | |
1212 | pants = Instance.new("Pants", Character) | |
1213 | pants.Name = "Pants" | |
1214 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol | |
1215 | Character.Pants.PantsTemplate = "rbxassetid://676428351" | |
1216 | ||
1217 | ||
1218 | coroutine.wrap(function() | |
1219 | while wait() do | |
1220 | if secondform then | |
1221 | Head.face.Texture = "rbxassetid://1127768638" | |
1222 | else | |
1223 | Head.face.Texture = "rbxassetid://629947734" | |
1224 | end | |
1225 | hum.WalkSpeed = ws | |
1226 | hum.JumpPower = jp | |
1227 | LeftArm.BrickColor = BrickColor.new("Really black") | |
1228 | RightArm.BrickColor = BrickColor.new("Really black") | |
1229 | Head.BrickColor = BrickColor.new("Really black") | |
1230 | Torso.BrickColor = BrickColor.new("Really black") | |
1231 | LeftLeg.BrickColor = BrickColor.new("Really black") | |
1232 | RightLeg.BrickColor = BrickColor.new("Really black") | |
1233 | end | |
1234 | end)() | |
1235 | godmode = coroutine.wrap(function() | |
1236 | for i,v in pairs(Character:GetChildren()) do | |
1237 | if v:IsA("BasePart") and v ~= Root then | |
1238 | v.Anchored = false | |
1239 | end | |
1240 | end | |
1241 | hum.MaxHealth = math.huge | |
1242 | wait(.00001) | |
1243 | hum.Health = math.huge | |
1244 | end) | |
1245 | godmode() | |
1246 | ff = Instance.new("ForceField", Character) | |
1247 | ff.Visible = false | |
1248 | ||
1249 | coroutine.wrap(function() | |
1250 | for i,v in pairs(Character:GetChildren()) do | |
1251 | if v.Name == "Animate" then v:Remove() | |
1252 | end | |
1253 | end | |
1254 | end)() | |
1255 | ||
1256 | function damagealll(Radius,Position) | |
1257 | local Returning = {} | |
1258 | for _,v in pairs(workspace:GetChildren()) do | |
1259 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
1260 | if v:FindFirstChild("Torso") then | |
1261 | local Mag = (v.Torso.Position - Position).magnitude | |
1262 | if Mag < Radius then | |
1263 | table.insert(Returning,v) | |
1264 | end | |
1265 | elseif v:FindFirstChild("UpperTorso") then | |
1266 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
1267 | if Mag < Radius then | |
1268 | table.insert(Returning,v) | |
1269 | end | |
1270 | end | |
1271 | end | |
1272 | end | |
1273 | return Returning | |
1274 | end | |
1275 | ||
1276 | ArtificialHB = Instance.new("BindableEvent", script) | |
1277 | ArtificialHB.Name = "Heartbeat" | |
1278 | script:WaitForChild("Heartbeat") | |
1279 | ||
1280 | frame = 1 / 60 | |
1281 | tf = 0 | |
1282 | allowframeloss = false | |
1283 | tossremainder = false | |
1284 | ||
1285 | ||
1286 | lastframe = tick() | |
1287 | script.Heartbeat:Fire() | |
1288 | ||
1289 | ||
1290 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1291 | tf = tf + s | |
1292 | if tf >= frame then | |
1293 | if allowframeloss then | |
1294 | script.Heartbeat:Fire() | |
1295 | lastframe = tick() | |
1296 | else | |
1297 | for i = 1, math.floor(tf / frame) do | |
1298 | script.Heartbeat:Fire() | |
1299 | end | |
1300 | lastframe = tick() | |
1301 | end | |
1302 | if tossremainder then | |
1303 | tf = 0 | |
1304 | else | |
1305 | tf = tf - frame * math.floor(tf / frame) | |
1306 | end | |
1307 | end | |
1308 | end) | |
1309 | ||
1310 | function swait(num) | |
1311 | if num == 0 or num == nil then | |
1312 | game:service("RunService").Stepped:wait(0) | |
1313 | else | |
1314 | for i = 0, num do | |
1315 | game:service("RunService").Stepped:wait(0) | |
1316 | end | |
1317 | end | |
1318 | end | |
1319 | ||
1320 | for _,n in pairs(Character:GetChildren()) do | |
1321 | if n:IsA("Accessory") then n:Remove() end | |
1322 | end | |
1323 | for _,x in pairs(Character:GetChildren()) do | |
1324 | if x:IsA("Decal") then x:Remove() end | |
1325 | end | |
1326 | ||
1327 | function ray(pos, dir, rang, ignoredesc) | |
1328 | return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc) | |
1329 | end | |
1330 | ||
1331 | function ray2(startpos, endpos, distance, ignore) | |
1332 | local dir = CFrame.new(startpos,endpos).lookVector | |
1333 | return ray(startpos, dir, distance, ignore) | |
1334 | end | |
1335 | ||
1336 | coroutine.wrap(function() | |
1337 | while true do | |
1338 | for i,v in pairs(Torso:GetChildren()) do | |
1339 | if v.Name == "explodball" then | |
1340 | v.Size = v.Size + Vector3.new(2,2,2) | |
1341 | v.Transparency = v.Transparency + .08 | |
1342 | end | |
1343 | end | |
1344 | for i,v in pairs(Torso:GetDescendants()) do | |
1345 | if v.Name == "explodmesh" then | |
1346 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
1347 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
1348 | end | |
1349 | end | |
1350 | for i,v in pairs(Torso:GetDescendants()) do | |
1351 | if v.Name == "explodmesh2" then | |
1352 | v.Scale = v.Scale + Vector3.new(1.5,0,1.5) | |
1353 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
1354 | end | |
1355 | end | |
1356 | swait() | |
1357 | end | |
1358 | end)() | |
1359 | ||
1360 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
1361 | so = Instance.new("Sound") | |
1362 | so.Parent = PARENT | |
1363 | so.SoundId = "rbxassetid://"..ID | |
1364 | so.Volume = VOL | |
1365 | so.Looped = LOOP | |
1366 | so:Play() | |
1367 | removeuseless:AddItem(so,REMOVE) | |
1368 | end | |
1369 | ||
1370 | mouse.Button1Down:connect(function() | |
1371 | if debounce then return end | |
1372 | debounce = true | |
1373 | if combo1 then | |
1374 | combo1 = false | |
1375 | combo2 = true | |
1376 | combo3 = false | |
1377 | attacking = true | |
1378 | ws = 12 | |
1379 | g1 = Instance.new("BodyGyro", Root) | |
1380 | g1.D = 175 | |
1381 | g1.P = 20000 | |
1382 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1383 | for i = 1, 12 do | |
1384 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1385 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.4,-.2,-.2) * CFrame.Angles(math.rad(90),math.rad(130),math.rad(0)),.3) | |
1386 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1387 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
1388 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1389 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1390 | swait() | |
1391 | end | |
1392 | tr1.Enabled = true | |
1393 | slash = slasher[math.random(1,#slasher)] | |
1394 | slashs.SoundId = "rbxassetid://"..slash | |
1395 | slashs:Play() | |
1396 | hitbox = Instance.new("Part",Torso) | |
1397 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1398 | hitbox.Anchored = true | |
1399 | hitbox.Transparency = 1 | |
1400 | hitbox.Size = Vector3.new(1,1,1) | |
1401 | hitbox.CanCollide = false | |
1402 | Hit = damagealll(3,hitbox.Position) | |
1403 | for _,v in pairs(Hit) do | |
1404 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1405 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1406 | slash2 = slasher2[math.random(1,#slasher2)] | |
1407 | local damagesound = Instance.new("Sound",slachtoffer.Parent:FindFirstChild("Torso") or slachtoffer.Parent:FindFirstChild("UpperTorso")) | |
1408 | damagesound.SoundId = "rbxassetid://"..slash2 | |
1409 | damagesound.Volume = 8 | |
1410 | damagesound:Play() | |
1411 | removeuseless:AddItem(damagesound,4) | |
1412 | slachtoffer:TakeDamage(math.random(29,52)) | |
1413 | end | |
1414 | end | |
1415 | ws = 6 | |
1416 | for i = 1, 12 do | |
1417 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1418 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
1419 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1420 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-60), math.rad(0)), 0.3) | |
1421 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1422 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1423 | swait() | |
1424 | end | |
1425 | removeuseless:AddItem(g1,.001) | |
1426 | hitbox:Remove() | |
1427 | tr1.Enabled = false | |
1428 | attacking = false | |
1429 | debounce = false | |
1430 | ws = 19 | |
1431 | elseif combo2 then | |
1432 | combo1 = false | |
1433 | combo2 = false | |
1434 | combo3 = true | |
1435 | attacking = true | |
1436 | ws = 12 | |
1437 | g1 = Instance.new("BodyGyro", Root) | |
1438 | g1.D = 175 | |
1439 | g1.P = 20000 | |
1440 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1441 | for i = 1, 12 do | |
1442 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1443 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1444 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.3) | |
1445 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.3) | |
1446 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1447 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1448 | swait() | |
1449 | end | |
1450 | tr1.Enabled = true | |
1451 | slash = slasher[math.random(1,#slasher)] | |
1452 | slashs.SoundId = "rbxassetid://"..slash | |
1453 | slashs:Play() | |
1454 | hitbox = Instance.new("Part",Torso) | |
1455 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1456 | hitbox.Anchored = true | |
1457 | hitbox.Transparency = 1 | |
1458 | hitbox.Size = Vector3.new(1,1,1) | |
1459 | hitbox.CanCollide = false | |
1460 | Hit = damagealll(3,hitbox.Position) | |
1461 | for _,v in pairs(Hit) do | |
1462 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1463 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1464 | slachtoffer:TakeDamage(math.random(34,42)) | |
1465 | slash2 = slasher2[math.random(1,#slasher2)] | |
1466 | local damagesound = Instance.new("Sound",slachtoffer.Parent:FindFirstChild("Torso") or slachtoffer.Parent:FindFirstChild("UpperTorso")) | |
1467 | damagesound.SoundId = "rbxassetid://"..slash2 | |
1468 | damagesound.Volume = 8 | |
1469 | damagesound:Play() | |
1470 | removeuseless:AddItem(damagesound,4) | |
1471 | end | |
1472 | end | |
1473 | for i = 1, 12 do | |
1474 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1475 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1476 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
1477 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.8,-.25,0) * CFrame.Angles(math.rad(-60),math.rad(-70),math.rad(0)),.3) | |
1478 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1479 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1480 | swait() | |
1481 | end | |
1482 | removeuseless:AddItem(g1,.001) | |
1483 | tr1.Enabled = false | |
1484 | debounce = false | |
1485 | hitbox:Remove() | |
1486 | attacking = false | |
1487 | ws = 19 | |
1488 | elseif combo3 then | |
1489 | combo1 = true | |
1490 | combo2 = false | |
1491 | combo3 = false | |
1492 | attacking = true | |
1493 | spinny = 0 | |
1494 | ws = 16 | |
1495 | local spinnysound = Instance.new("Sound",Torso) | |
1496 | spinnysound.SoundId = "rbxassetid://1290491542" | |
1497 | spinnysound.Volume = 8 | |
1498 | spinnysound.Pitch = .8 | |
1499 | spinnysound:Play() | |
1500 | tr1.Enabled = true | |
1501 | hitbox = Instance.new("Part",Torso) | |
1502 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1503 | hitbox.Anchored = true | |
1504 | hitbox.Transparency = 1 | |
1505 | hitbox.Size = Vector3.new(1,1,1) | |
1506 | hitbox.CanCollide = false | |
1507 | if spin1 then | |
1508 | spin1 = false | |
1509 | spin2 = true | |
1510 | else | |
1511 | spin1 = true | |
1512 | spin2 = false | |
1513 | end | |
1514 | for i = 1, 45 do | |
1515 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1516 | local Hit = damagealll(3,hitbox.Position) | |
1517 | for _,v in pairs(Hit) do | |
1518 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1519 | local slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1520 | slachtoffer:TakeDamage(math.random(1,3)) | |
1521 | end | |
1522 | end | |
1523 | if spin1 then | |
1524 | spinny = spinny - 45 | |
1525 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.4,.5) * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(0)),.3) | |
1526 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.55,.55,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.3) | |
1527 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.3) | |
1528 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(spinny), math.rad(0)), 0.3) | |
1529 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1530 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1531 | elseif spin2 then | |
1532 | spinny = spinny - 45 | |
1533 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.4,.5) * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(0)),.3) | |
1534 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.55,.55,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.3) | |
1535 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
1536 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(spinny), math.rad(0)), 0.3) | |
1537 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1538 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1539 | end | |
1540 | swait() | |
1541 | end | |
1542 | tr1.Enabled = false | |
1543 | spinnysound:Remove() | |
1544 | attacking = false | |
1545 | debounce = false | |
1546 | spinny = 0 | |
1547 | ROOTLERP.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1548 | ws = 19 | |
1549 | end | |
1550 | end) | |
1551 | ||
1552 | ||
1553 | mouse.KeyDown:connect(function(Press) | |
1554 | Press=Press:lower() | |
1555 | if Press=='f' then | |
1556 | if levitate then | |
1557 | if tauntdebounce then return end | |
1558 | tauntdebounce = true | |
1559 | laughing = true | |
1560 | coroutine.wrap(function() | |
1561 | while laughing do | |
1562 | local b1 = Instance.new("BillboardGui",Head) | |
1563 | b1.Size = UDim2.new(0,4,0,1.6) | |
1564 | b1.StudsOffset = Vector3.new(0,0,0) | |
1565 | b1.Name = "laff" | |
1566 | b1.AlwaysOnTop = true | |
1567 | b1.Adornee = Head | |
1568 | removeuseless:AddItem(b1,3) | |
1569 | local b2 = Instance.new("TextLabel",b1) | |
1570 | b2.BackgroundTransparency = 1 | |
1571 | - | Character.Shirt.ShirtTemplate = "rbxassetid://0" |
1571 | + | b2.Text = "HaHaHaHaHaHa..." |
1572 | b2.Font = "Garamond" | |
1573 | b2.TextSize = 0 | |
1574 | b2.Name = "lafftext" | |
1575 | b2.TextStrokeTransparency = 0 | |
1576 | b2.TextColor3 = BrickColor.new("Really red").Color | |
1577 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
1578 | b2.Size = UDim2.new(1,0,.5,0) | |
1579 | table.insert(laughingtable,b2) | |
1580 | removeuseless:AddItem(b1,2) | |
1581 | coroutine.wrap(function() | |
1582 | if zxc then return end | |
1583 | zxc = true | |
1584 | while true do | |
1585 | swait() | |
1586 | for i,v in pairs(Head:GetChildren()) do | |
1587 | if v.Name == "laff" then | |
1588 | v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2)) | |
1589 | end | |
1590 | end | |
1591 | for i,v in pairs(laughingtable) do | |
1592 | v.TextTransparency = v.TextTransparency + .025 | |
1593 | v.TextStrokeTransparency = v.TextStrokeTransparency + 0.25 | |
1594 | v.TextSize = v.TextSize + 2 | |
1595 | v.Rotation = v.Rotation + .1 | |
1596 | end | |
1597 | end | |
1598 | end)() | |
1599 | swait(10) | |
1600 | end | |
1601 | end)() | |
1602 | laugh = laughs[math.random(1,#laughs)] | |
1603 | laughy = Instance.new("Sound",Head) | |
1604 | laughy.SoundId = "rbxassetid://"..laugh | |
1605 | laughy.Volume = 10 | |
1606 | laughy:Play() | |
1607 | wait(1) | |
1608 | wait(laughy.TimeLength) | |
1609 | laughing = false | |
1610 | laughy:Remove() | |
1611 | tauntdebounce = false | |
1612 | else | |
1613 | if mouse.Target ~= nil then | |
1614 | if debounce then return end | |
1615 | attacking = true | |
1616 | tps = Instance.new("Sound", Torso) | |
1617 | tps.Volume = 5 | |
1618 | tps.SoundId = "rbxassetid://1894958339" | |
1619 | tps:Play() | |
1620 | removeuseless:AddItem(tps,2) | |
1621 | g1 = Instance.new("BodyGyro", Root) | |
1622 | g1.D = 175 | |
1623 | g1.P = 20000 | |
1624 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1625 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
1626 | removeuseless:AddItem(g1,.05) | |
1627 | Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0) | |
1628 | wait(.1) | |
1629 | attacking = false | |
1630 | debounce = false | |
1631 | end | |
1632 | end | |
1633 | end | |
1634 | end) | |
1635 | ||
1636 | mouse.KeyDown:connect(function(Press) | |
1637 | Press=Press:lower() | |
1638 | if Press=='q' then | |
1639 | if mouse.Target ~= nil then | |
1640 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1641 | if debounce then return end | |
1642 | debounce = true | |
1643 | attacking = true | |
1644 | enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1645 | SOUND(Torso,862693565,10,false,5) | |
1646 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254" | |
1647 | arm1.OverlayTextureId = 0 | |
1648 | arm2.OverlayTextureId = 653553298 | |
1649 | RightArm.BrickColor = BrickColor.new("Really black") | |
1650 | for i = 1, 400 do | |
1651 | if targetfound then break end | |
1652 | local Hit = damagealll(5,Torso.Position) | |
1653 | for _,v in pairs(Hit) do | |
1654 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
1655 | targetfound = true | |
1656 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1657 | end | |
1658 | end | |
1659 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1660 | hum:MoveTo(enemy.Parent:FindFirstChild("UpperTorso").Position) | |
1661 | else | |
1662 | hum:MoveTo(enemy.Parent:FindFirstChild("Torso").Position) | |
1663 | end | |
1664 | footsteps.Volume = 2 | |
1665 | footsteps.Pitch = 2.2 | |
1666 | ws = 30 | |
1667 | change = 2 | |
1668 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
1669 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
1670 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.07 + 0.2*math.sin(sine/3.5), 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
1671 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9 - 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 - math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) + -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/7), math.rad(0), math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
1672 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9 + 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 + math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) - -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
1673 | swait() | |
1674 | end | |
1675 | if targetfound then | |
1676 | ws = 0 | |
1677 | enemy.WalkSpeed = 0 | |
1678 | SOUND(rightlocation,862701802,9,false,5) | |
1679 | footsteps.Volume = 0 | |
1680 | footsteps.Pitch = 1.6 | |
1681 | for i = 1, 12 do | |
1682 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1683 | - | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" |
1683 | + | |
1684 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1685 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1686 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.79,.05) * CFrame.Angles(math.rad(190),math.rad(0),math.rad(-10)),.3) | |
1687 | swait() | |
1688 | end | |
1689 | locationpartz = Instance.new("Part",Torso) | |
1690 | locationpartz.Size = Vector3.new(1,1,1) | |
1691 | locationpartz.Anchored = false | |
1692 | locationpartz.Transparency = 1 | |
1693 | locationpartz.CanCollide = false | |
1694 | locationpartz.CFrame = rightlocation.CFrame * CFrame.new(0,-1.5,0) | |
1695 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1696 | enemy.Parent.UpperTorso.CFrame = locationpartz.CFrame * CFrame.new(1,0,0) * CFrame.Angles(math.rad(-90),0,0) | |
1697 | else | |
1698 | enemy.Parent.Torso.CFrame = locationpartz.CFrame * CFrame.new(1,0,0) * CFrame.Angles(math.rad(-90),0,0) | |
1699 | end | |
1700 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1701 | weldofweld = weldBetween(locationpartz,enemy.Parent.UpperTorso) | |
1702 | else | |
1703 | weldofweld = weldBetween(locationpartz,enemy.Parent.Torso) | |
1704 | end | |
1705 | weldofweld.C0 = CFrame.Angles(math.rad(-90),0,0) | |
1706 | locationpartz.Anchored = true | |
1707 | SOUND(RightArm,877870515,7,false,6) | |
1708 | for i = 1, 250 do | |
1709 | locationpartz.CFrame = rightlocation.CFrame * CFrame.new(0,-1.5,0) | |
1710 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.44,-.125) * CFrame.Angles(math.rad(48),math.rad(0),math.rad(30)), 0.02) | |
1711 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.175, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)), 0.03) | |
1712 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1713 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1714 | - | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" |
1714 | + | |
1715 | swait() | |
1716 | end | |
1717 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1718 | ded = Instance.new("Sound",enemy.Parent.UpperTorso) | |
1719 | else | |
1720 | ded = Instance.new("Sound",enemy.Parent.Torso) | |
1721 | end | |
1722 | ded.SoundId = "rbxassetid://429400881" | |
1723 | ded.Volume = 9 | |
1724 | ded.Pitch = .9 | |
1725 | ded:Play() | |
1726 | coroutine.wrap(function() | |
1727 | local energyplosion = Instance.new("Part",Torso) | |
1728 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1729 | energyplosion.CFrame = enemy.Parent.UpperTorso.CFrame | |
1730 | else | |
1731 | energyplosion.CFrame = enemy.Parent.Torso.CFrame | |
1732 | end | |
1733 | energyplosion.Size = Vector3.new(.1,.1,.1) | |
1734 | energyplosion.BrickColor = BrickColor.new("Alder") | |
1735 | energyplosion.Anchored = true | |
1736 | energyplosion.CanCollide = false | |
1737 | energyplosion.Transparency = 0 | |
1738 | energyplosion.Shape = "Ball" | |
1739 | energyplosion.Material = "Neon" | |
1740 | for i = 1, 20 do | |
1741 | enemy.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1742 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1743 | energyplosion.Size = energyplosion.Size + Vector3.new(2,2,2) | |
1744 | energyplosion.Transparency = energyplosion.Transparency + .05 | |
1745 | swait() | |
1746 | end | |
1747 | hum.CameraOffset = Vector3.new(0,0,0) | |
1748 | enemy.CameraOffset = Vector3.new(0,0,0) | |
1749 | energyplosion:Remove() | |
1750 | end)() | |
1751 | locationpartz:Remove() | |
1752 | targetfound = false | |
1753 | arm1.MeshId = 303665934 | |
1754 | arm1.OverlayTextureId = 1539341292 | |
1755 | arm2.MeshId = 98332573 | |
1756 | arm2.OverlayTextureId = 6347925 | |
1757 | footsteps.Volume = 0 | |
1758 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254" | |
1759 | enemy.Parent:BreakJoints() | |
1760 | coroutine.wrap(function() | |
1761 | tauntsoundz = Instance.new("Sound", Head) | |
1762 | tauntsoundz.Volume = 10 | |
1763 | tauntsoundz.SoundId = "rbxassetid://246480487" | |
1764 | tauntsoundz.Looped = false | |
1765 | tauntsoundz:Play() | |
1766 | wait(3) | |
1767 | wait(tauntsoundz.TimeLength) | |
1768 | tauntsoundz:Remove() | |
1769 | end)() | |
1770 | change = .5 | |
1771 | for i = 1, 90 do | |
1772 | swait() | |
1773 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
1774 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
1775 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
1776 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2) | |
1777 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
1778 | end | |
1779 | attacking = false | |
1780 | debounce = false | |
1781 | else | |
1782 | footsteps.Pitch = 1.6 | |
1783 | targetfound = false | |
1784 | arm1.MeshId = 303665934 | |
1785 | arm1.OverlayTextureId = 1539341292 | |
1786 | arm2.MeshId = 98332573 | |
1787 | arm2.OverlayTextureId = 6347925 | |
1788 | footsteps.Volume = 0 | |
1789 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254" | |
1790 | debounce = false | |
1791 | attacking = false | |
1792 | end | |
1793 | end | |
1794 | end | |
1795 | elseif Press=='y' then | |
1796 | if debounce then return end | |
1797 | debounce = true | |
1798 | attacking = true | |
1799 | ws = 12 | |
1800 | g1 = Instance.new("BodyGyro", Root) | |
1801 | g1.D = 175 | |
1802 | g1.P = 20000 | |
1803 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1804 | local chargo = Instance.new("Sound",rightlocation) | |
1805 | chargo.SoundId = "rbxassetid://306181935" | |
1806 | chargo.Volume = 7 | |
1807 | chargo.Looped = false | |
1808 | chargo.Pitch = 1.1 | |
1809 | chargo:Play() | |
1810 | removeuseless:AddItem(chargo,5) | |
1811 | for i = 1, 120 do | |
1812 | coroutine.wrap(function() | |
1813 | local sk = Instance.new("Part",Torso) | |
1814 | sk.CanCollide = false | |
1815 | sk.Anchored = true | |
1816 | sk.BrickColor = BrickColor.new("Alder") | |
1817 | sk.Name = "sk" | |
1818 | sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1819 | local skmesh = Instance.new("SpecialMesh",sk) | |
1820 | skmesh.MeshId = "rbxassetid://662586858" | |
1821 | skmesh.Name = "wave" | |
1822 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1823 | for i = 1, 20 do | |
1824 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
1825 | sk.Transparency = sk.Transparency + .05 | |
1826 | swait() | |
1827 | end | |
1828 | sk:Remove() | |
1829 | end)() | |
1830 | coroutine.wrap(function() | |
1831 | local wshockwave = Instance.new("Part", Torso) | |
1832 | wshockwave.Size = Vector3.new(1,1,1) | |
1833 | wshockwave.CanCollide = false | |
1834 | wshockwave.Anchored = true | |
1835 | wshockwave.Transparency = .45 | |
1836 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1837 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1838 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1839 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1840 | wshockwavemesh.Name = "wswm" | |
1841 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1842 | removeuseless:AddItem(wshockwave,2) | |
1843 | for i = 1, 20 do | |
1844 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(1,0,1) | |
1845 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1846 | swait() | |
1847 | end | |
1848 | wshockwave:Remove() | |
1849 | end)() | |
1850 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1851 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1852 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.03) | |
1853 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.03) | |
1854 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1855 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1856 | swait() | |
1857 | end | |
1858 | coroutine.wrap(function() | |
1859 | local bullet = Instance.new("Part",Torso) | |
1860 | bullet.CanCollide = false | |
1861 | bullet.Anchored = false | |
1862 | bullet.Size = Vector3.new(2,2,2) | |
1863 | bullet.Transparency = .5 | |
1864 | bullet.Shape = "Ball" | |
1865 | bullet.Material = "Neon" | |
1866 | bullet.BrickColor = BrickColor.new("Alder") | |
1867 | bullet.CFrame = rightlocation.CFrame | |
1868 | energloop = Instance.new("Sound",bullet) | |
1869 | energloop.Volume = 6 | |
1870 | energloop.SoundId = "rbxassetid://2607597779" | |
1871 | energloop.Looped = true | |
1872 | MAKETRAIL(bullet,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.5,ColorSequence.new(BrickColor.new("Alder").Color,BrickColor.new("Eggplant").Color)) | |
1873 | local bov = Instance.new("BodyVelocity",bullet) | |
1874 | bov.maxForce = Vector3.new(99999,99999,99999) | |
1875 | bullet.CFrame = CFrame.new(bullet.Position,mouse.Hit.p) | |
1876 | bov.velocity = bullet.CFrame.lookVector*180 | |
1877 | for i = 1, 225 do | |
1878 | local Hit = damagealll(15,bullet.Position) | |
1879 | for _,v in pairs(Hit) do | |
1880 | if v:FindFirstChildOfClass("Humanoid") and v.Name ~= Player.Name then | |
1881 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1882 | slachtoffer:TakeDamage(math.random(3,10)) | |
1883 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1884 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1885 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1886 | vel.velocity = CFrame.new(bullet.Position,torso.Position).lookVector*120 | |
1887 | removeuseless:AddItem(vel,.1) | |
1888 | end | |
1889 | end | |
1890 | local sk = Instance.new("Part",Torso) | |
1891 | sk.CanCollide = false | |
1892 | sk.Anchored = true | |
1893 | sk.BrickColor = BrickColor.new("Alder") | |
1894 | sk.Name = "sk" | |
1895 | sk.CFrame = bullet.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1896 | local skmesh = Instance.new("SpecialMesh",sk) | |
1897 | skmesh.MeshId = "rbxassetid://662586858" | |
1898 | skmesh.Name = "wave" | |
1899 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1900 | coroutine.wrap(function() | |
1901 | for i = 1, 20 do | |
1902 | skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03) | |
1903 | sk.Transparency = sk.Transparency + .05 | |
1904 | swait() | |
1905 | end | |
1906 | sk:Remove() | |
1907 | end)() | |
1908 | local wshockwave = Instance.new("Part", Torso) | |
1909 | wshockwave.Size = Vector3.new(1,1,1) | |
1910 | wshockwave.CanCollide = false | |
1911 | wshockwave.Anchored = true | |
1912 | wshockwave.Transparency = .45 | |
1913 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1914 | wshockwave.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1915 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1916 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1917 | wshockwavemesh.Name = "wswm" | |
1918 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1919 | removeuseless:AddItem(wshockwave,2) | |
1920 | coroutine.wrap(function() | |
1921 | for i = 1, 20 do | |
1922 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3,0,3) | |
1923 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1924 | swait() | |
1925 | end | |
1926 | wshockwave:Remove() | |
1927 | end)() | |
1928 | swait() | |
1929 | end | |
1930 | bullet:Remove() | |
1931 | end)() | |
1932 | energloop:Play() | |
1933 | local bems = Instance.new("Sound",rightlocation) | |
1934 | bems.SoundId = "rbxassetid://1351572613" | |
1935 | bems.Volume = 8 | |
1936 | bems:Play() | |
1937 | removeuseless:AddItem(bems,5) | |
1938 | for i = 1, 12 do | |
1939 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
1940 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
1941 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-8), math.rad(60), math.rad(0)), 0.3) | |
1942 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1943 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1944 | swait() | |
1945 | end | |
1946 | removeuseless:AddItem(g1,.001) | |
1947 | debounce = false | |
1948 | attacking = false | |
1949 | elseif Press=='u' then | |
1950 | if mouse.Target ~= nil then | |
1951 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1952 | if debounce then return end | |
1953 | debounce = true | |
1954 | attacking = true | |
1955 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1956 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso") | |
1957 | ws = 12 | |
1958 | g1 = Instance.new("BodyGyro", Root) | |
1959 | g1.D = 175 | |
1960 | g1.P = 20000 | |
1961 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1962 | local chargo = Instance.new("Sound",rightlocation) | |
1963 | chargo.SoundId = "rbxassetid://306181935" | |
1964 | chargo.Volume = 7 | |
1965 | chargo.Looped = false | |
1966 | chargo.Pitch = 1.1 | |
1967 | chargo:Play() | |
1968 | removeuseless:AddItem(chargo,5) | |
1969 | for i = 1, 120 do | |
1970 | coroutine.wrap(function() | |
1971 | local sk = Instance.new("Part",Torso) | |
1972 | sk.CanCollide = false | |
1973 | sk.Anchored = true | |
1974 | sk.BrickColor = BrickColor.new("Alder") | |
1975 | sk.Name = "sk" | |
1976 | sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1977 | local skmesh = Instance.new("SpecialMesh",sk) | |
1978 | skmesh.MeshId = "rbxassetid://662586858" | |
1979 | skmesh.Name = "wave" | |
1980 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1981 | for i = 1, 20 do | |
1982 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
1983 | sk.Transparency = sk.Transparency + .05 | |
1984 | swait() | |
1985 | end | |
1986 | sk:Remove() | |
1987 | end)() | |
1988 | coroutine.wrap(function() | |
1989 | local wshockwave = Instance.new("Part", Torso) | |
1990 | wshockwave.Size = Vector3.new(1,1,1) | |
1991 | wshockwave.CanCollide = false | |
1992 | wshockwave.Anchored = true | |
1993 | wshockwave.Transparency = .45 | |
1994 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1995 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1996 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1997 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1998 | wshockwavemesh.Name = "wswm" | |
1999 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
2000 | removeuseless:AddItem(wshockwave,2) | |
2001 | for i = 1, 20 do | |
2002 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(1,0,1) | |
2003 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
2004 | swait() | |
2005 | end | |
2006 | wshockwave:Remove() | |
2007 | end)() | |
2008 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2009 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
2010 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.03) | |
2011 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.03) | |
2012 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
2013 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
2014 | swait() | |
2015 | end | |
2016 | coroutine.wrap(function() | |
2017 | local bullet = Instance.new("Part",Torso) | |
2018 | bullet.CanCollide = false | |
2019 | bullet.Anchored = false | |
2020 | bullet.Size = Vector3.new(2,2,2) | |
2021 | bullet.Transparency = .5 | |
2022 | bullet.Shape = "Ball" | |
2023 | bullet.Material = "Neon" | |
2024 | bullet.BrickColor = BrickColor.new("Alder") | |
2025 | bullet.CFrame = rightlocation.CFrame | |
2026 | energloop = Instance.new("Sound",bullet) | |
2027 | energloop.Volume = 6 | |
2028 | energloop.SoundId = "rbxassetid://2607597779" | |
2029 | energloop.Looped = true | |
2030 | MAKETRAIL(bullet,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.5,ColorSequence.new(BrickColor.new("Alder").Color,BrickColor.new("Eggplant").Color)) | |
2031 | maxsped = 45 | |
2032 | local bov = Instance.new("RocketPropulsion",bullet) | |
2033 | bov.MaxThrust = 4000 | |
2034 | bov.MaxSpeed = maxsped | |
2035 | bov.MaxTorque = Vector3.new(99999999,99999999,99999999) | |
2036 | bov.Target = ETorso | |
2037 | bov.TargetRadius = math.huge | |
2038 | bov:fire() | |
2039 | for i = 1, 1001 do | |
2040 | maxsped = maxsped + 1 | |
2041 | bov.MaxSpeed = maxsped | |
2042 | local Hit = damagealll(15,bullet.Position) | |
2043 | for _,v in pairs(Hit) do | |
2044 | if v:FindFirstChildOfClass("Humanoid") and v.Name ~= Player.Name then | |
2045 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2046 | slachtoffer:TakeDamage(1) | |
2047 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
2048 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2049 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
2050 | vel.velocity = CFrame.new(bullet.Position,torso.Position).lookVector*150 | |
2051 | removeuseless:AddItem(vel,.1) | |
2052 | end | |
2053 | end | |
2054 | local sk = Instance.new("Part",Torso) | |
2055 | sk.CanCollide = false | |
2056 | sk.Anchored = true | |
2057 | sk.BrickColor = BrickColor.new("Alder") | |
2058 | sk.Name = "sk" | |
2059 | sk.CFrame = bullet.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2060 | local skmesh = Instance.new("SpecialMesh",sk) | |
2061 | skmesh.MeshId = "rbxassetid://662586858" | |
2062 | skmesh.Name = "wave" | |
2063 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
2064 | coroutine.wrap(function() | |
2065 | for i = 1, 20 do | |
2066 | skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03) | |
2067 | sk.Transparency = sk.Transparency + .05 | |
2068 | swait() | |
2069 | end | |
2070 | sk:Remove() | |
2071 | end)() | |
2072 | local wshockwave = Instance.new("Part", Torso) | |
2073 | wshockwave.Size = Vector3.new(1,1,1) | |
2074 | wshockwave.CanCollide = false | |
2075 | wshockwave.Anchored = true | |
2076 | wshockwave.Transparency = .45 | |
2077 | wshockwave.BrickColor = BrickColor.new("Alder") | |
2078 | wshockwave.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2079 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
2080 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
2081 | wshockwavemesh.Name = "wswm" | |
2082 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
2083 | removeuseless:AddItem(wshockwave,2) | |
2084 | coroutine.wrap(function() | |
2085 | for i = 1, 20 do | |
2086 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3,0,3) | |
2087 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
2088 | swait() | |
2089 | end | |
2090 | wshockwave:Remove() | |
2091 | end)() | |
2092 | swait() | |
2093 | end | |
2094 | bullet:Remove() | |
2095 | end)() | |
2096 | energloop:Play() | |
2097 | local bems = Instance.new("Sound",rightlocation) | |
2098 | bems.SoundId = "rbxassetid://1351572613" | |
2099 | bems.Volume = 8 | |
2100 | bems:Play() | |
2101 | removeuseless:AddItem(bems,5) | |
2102 | for i = 1, 12 do | |
2103 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
2104 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(38 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.3) | |
2105 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-8), math.rad(60), math.rad(0)), 0.3) | |
2106 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2107 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2108 | swait() | |
2109 | end | |
2110 | removeuseless:AddItem(g1,.001) | |
2111 | debounce = false | |
2112 | attacking = false | |
2113 | end | |
2114 | end | |
2115 | elseif Press=='t' then | |
2116 | if oofing then return end | |
2117 | if dedlaff then return end | |
2118 | if tauntdebounce == true then return end | |
2119 | if debounce then return end | |
2120 | debounce = true | |
2121 | attacking = true | |
2122 | ws = 4 | |
2123 | coroutine.wrap(function() | |
2124 | for i = 1, 60 do | |
2125 | swait() | |
2126 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
2127 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
2128 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
2129 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2) | |
2130 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
2131 | end | |
2132 | debounce = false | |
2133 | attacking = false | |
2134 | ws = 19 | |
2135 | end)() | |
2136 | tauntdebounce = true | |
2137 | tauntsound = Instance.new("Sound", Head) | |
2138 | tauntsound.Volume = 10 | |
2139 | tauntsound.SoundId = "rbxassetid://246480487" | |
2140 | tauntsound.Looped = false | |
2141 | tauntsound:Play() | |
2142 | wait(3) | |
2143 | wait(tauntsound.TimeLength) | |
2144 | tauntsound:Remove() | |
2145 | wait(1) | |
2146 | tauntdebounce = false | |
2147 | end | |
2148 | end) | |
2149 | ||
2150 | mouse.KeyDown:connect(function(Press) | |
2151 | Press=Press:lower() | |
2152 | if Press=='r' then | |
2153 | if mouse.Target ~= nil then | |
2154 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
2155 | if debounce then return end | |
2156 | debounce = true | |
2157 | attacking = true | |
2158 | ws = 8 | |
2159 | enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2160 | for i = 1, 20 do | |
2161 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
2162 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(.3,1.62,-.07) * CFrame.Angles(math.rad(-120),math.rad(-99),math.rad(0)),.3) | |
2163 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2164 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2165 | swait() | |
2166 | end | |
2167 | for i = 1, 20 do | |
2168 | if grabbed then break end | |
2169 | local Hit = damagealll(5,rightlocation.Position) | |
2170 | for _,v in pairs(Hit) do | |
2171 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
2172 | grabbed = true | |
2173 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2174 | end | |
2175 | end | |
2176 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2177 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2178 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.25,-.18,.2) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(0)),.3) | |
2179 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-40), math.rad(0)), 0.3) | |
2180 | swait() | |
2181 | end | |
2182 | if grabbed then | |
2183 | change = .5 | |
2184 | ws = 0 | |
2185 | jp = 0 | |
2186 | enemyweld = weldBetween(enemy.Parent.Head,leftlocation) | |
2187 | enemyweld.C0 = CFrame.new(0,-.6,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(180)) | |
2188 | for i = 1, 35 do | |
2189 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1) | |
2190 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.4 + .02 * math.sin(sine/12),.10 * -math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 10 * math.sin(sine/12)),math.rad(0),math.rad(-25)), 0.1) | |
2191 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1) | |
2192 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1) | |
2193 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.8,.39) * CFrame.Angles(math.rad(-138),math.rad(0),math.rad(0)),.3) | |
2194 | swait() | |
2195 | end | |
2196 | rawr = Instance.new("Sound",Head) | |
2197 | rawr.SoundId = "rbxassetid://246480487" | |
2198 | rawr.Volume = 8 | |
2199 | rawr.Pitch = 1.05 | |
2200 | rawr:Play() | |
2201 | wait(.35) | |
2202 | for i = 1, 60 do | |
2203 | if enemy.Health > 1 then | |
2204 | enemy:TakeDamage(1) | |
2205 | end | |
2206 | hum.CameraOffset = Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
2207 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
2208 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
2209 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
2210 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
2211 | swait() | |
2212 | end | |
2213 | hum.CameraOffset = Vector3.new(0,0,0) | |
2214 | g1 = Instance.new("BodyGyro", Root) | |
2215 | g1.D = 175 | |
2216 | g1.P = 20000 | |
2217 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2218 | for i = 1, 25 do | |
2219 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2220 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2221 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2222 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.2,.39) * CFrame.Angles(math.rad(-90),math.rad(30),math.rad(0)),.3) | |
2223 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(-0),math.rad(40),math.rad(0)),.1) | |
2224 | swait() | |
2225 | end | |
2226 | g1:Remove() | |
2227 | enemyweld:Remove() | |
2228 | throwo = Instance.new("Sound",enemy.Parent.Head) | |
2229 | throwo.SoundId = "rbxassetid://2314640406" | |
2230 | throwo.Volume = 10 | |
2231 | throwo.Pitch = .95 | |
2232 | throwo:Play() | |
2233 | enemy:TakeDamage(math.random(4,10)) | |
2234 | removeuseless:AddItem(throwo,4) | |
2235 | local bov = Instance.new("BodyVelocity",enemy.Parent.Head) | |
2236 | bov.maxForce = Vector3.new(99999,99999,99999) | |
2237 | enemy.Parent.Head.CFrame = CFrame.new(enemy.Parent.Head.Position,mouse.Hit.p) | |
2238 | bov.velocity = enemy.Parent.Head.CFrame.lookVector*100 | |
2239 | removeuseless:AddItem(bov,.25) | |
2240 | for i = 1, 25 do | |
2241 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2242 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2243 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.25,-.18,.2) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(0)),.3) | |
2244 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(-0),math.rad(-40),math.rad(0)),.1) | |
2245 | swait() | |
2246 | end | |
2247 | jp = 85 | |
2248 | grabbed = false | |
2249 | debounce = false | |
2250 | attacking = false | |
2251 | else | |
2252 | ws = 19 | |
2253 | jp = 85 | |
2254 | grabbed = false | |
2255 | debounce = false | |
2256 | attacking = false | |
2257 | end | |
2258 | end | |
2259 | end | |
2260 | end | |
2261 | end) | |
2262 | ||
2263 | mouse.KeyDown:connect(function(Press) | |
2264 | Press=Press:lower() | |
2265 | if Press=='e' then | |
2266 | if debounce then return end | |
2267 | debounce = true | |
2268 | attacking = true | |
2269 | coroutine.wrap(function() | |
2270 | if dash1 then | |
2271 | dash1 = false | |
2272 | dash2 = true | |
2273 | for i = 1, 30 do | |
2274 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
2275 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2276 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.25, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
2277 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, .3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2278 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,-.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2279 | swait() | |
2280 | end | |
2281 | elseif dash2 then | |
2282 | dash1 = true | |
2283 | dash2 = false | |
2284 | for i = 1, 30 do | |
2285 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
2286 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2287 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.25, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
2288 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.2) * CFrame.Angles(math.rad(-25), math.rad(0)*math.cos(sine/7), math.rad(-2)), 0.3) | |
2289 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9,.3) * CFrame.Angles(math.rad(25), math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
2290 | swait() | |
2291 | end | |
2292 | end | |
2293 | end)() | |
2294 | local boomsound = Instance.new("Sound",Torso) | |
2295 | boomsound.SoundId = "rbxassetid://1177784919" | |
2296 | boomsound.Volume = 8 | |
2297 | boomsound:Play() | |
2298 | removeuseless:AddItem(boomsound,5) | |
2299 | local tornadotwistloc = Instance.new("Part",Torso) | |
2300 | tornadotwistloc.CFrame = Root.CFrame | |
2301 | tornadotwistloc.Anchored = true | |
2302 | tornadotwistloc.Transparency = 1 | |
2303 | tornadotwistloc.CanCollide = false | |
2304 | tornadotwistloc.Size = Vector3.new(1,1,1) | |
2305 | twist = 0 | |
2306 | grassblocksloc = Instance.new("Part",Torso) | |
2307 | grassblocksloc.Size = Vector3.new(1,1,1) | |
2308 | grassblocksloc.CanCollide = false | |
2309 | grassblocksloc.Transparency = 1 | |
2310 | grassblocksloc.Anchored = false | |
2311 | grassblockslocweld = weldBetween(grassblocksloc,Torso) | |
2312 | grassblockslocweld.C0 = CFrame.new(4,4,0) | |
2313 | grassblocksloc2 = Instance.new("Part",Torso) | |
2314 | grassblocksloc2.Size = Vector3.new(1,1,1) | |
2315 | grassblocksloc2.CanCollide = false | |
2316 | grassblocksloc2.Transparency = 1 | |
2317 | grassblocksloc2.Anchored = false | |
2318 | grassblockslocweld2 = weldBetween(grassblocksloc2,Torso) | |
2319 | grassblockslocweld2.C0 = CFrame.new(-4,4,0) | |
2320 | coroutine.wrap(function() | |
2321 | for i = 1, 30 do | |
2322 | Hit = damagealll(16,Torso.Position) | |
2323 | for _,v in pairs(Hit) do | |
2324 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
2325 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2326 | slachtoffer:TakeDamage(math.random(1,4)) | |
2327 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
2328 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2329 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
2330 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*90 | |
2331 | removeuseless:AddItem(vel,.1) | |
2332 | end | |
2333 | end | |
2334 | coroutine.wrap(function() | |
2335 | local sk = Instance.new("Part",Torso) | |
2336 | sk.CanCollide = false | |
2337 | sk.Anchored = true | |
2338 | sk.BrickColor = BrickColor.new("Alder") | |
2339 | sk.Name = "sk" | |
2340 | sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2341 | local skmesh = Instance.new("SpecialMesh",sk) | |
2342 | skmesh.MeshId = "rbxassetid://662586858" | |
2343 | skmesh.Name = "wave" | |
2344 | skmesh.Scale = Vector3.new(.04,.01,.04) | |
2345 | removeuseless:AddItem(sk,2) | |
2346 | local energys = Instance.new("Part",Torso) | |
2347 | energys.Size = Vector3.new(3.5,3.5,3.5) | |
2348 | energys.Material = "Neon" | |
2349 | energys.BrickColor = BrickColor.new("Alder") | |
2350 | energys.Anchored = true | |
2351 | energys.CanCollide = false | |
2352 | energys.CFrame = grassblocksloc.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2353 | local energys2 = Instance.new("Part",Torso) | |
2354 | energys2.Size = Vector3.new(3.5,3.5,3.5) | |
2355 | energys2.Material = "Neon" | |
2356 | energys2.BrickColor = BrickColor.new("Alder") | |
2357 | energys2.Anchored = true | |
2358 | energys2.CanCollide = false | |
2359 | energys2.CFrame = grassblocksloc2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2360 | for i = 1, 20 do | |
2361 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
2362 | sk.Transparency = sk.Transparency + .05 | |
2363 | energys2.Transparency = energys2.Transparency + .05 | |
2364 | energys.Transparency = energys.Transparency + .05 | |
2365 | swait() | |
2366 | end | |
2367 | sk:Remove() | |
2368 | energys2:Remove() | |
2369 | energys:Remove() | |
2370 | end)() | |
2371 | Root.CFrame = Root.CFrame * CFrame.new(0,0,-2.4) | |
2372 | swait() | |
2373 | end | |
2374 | debounce = false | |
2375 | attacking = false | |
2376 | end)() | |
2377 | coroutine.wrap(function() | |
2378 | local wind = Instance.new("Part", Torso) | |
2379 | wind.Size = Vector3.new(0.5, 0.5, 0.5) | |
2380 | wind.Material = "Neon" | |
2381 | wind.BrickColor = BrickColor.new("Really white") | |
2382 | wind.Transparency = .5 | |
2383 | wind.Anchored = true | |
2384 | wind.CanCollide = false | |
2385 | wind.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),0,0) | |
2386 | windMESH = Instance.new("SpecialMesh", wind) | |
2387 | windMESH.Scale = Vector3.new(4.5,7.5,4.5) | |
2388 | windMESH.MeshId = "rbxassetid://168892432" | |
2389 | local wind2 = Instance.new("Part", Torso) | |
2390 | wind2.Size = Vector3.new(0.5, 0.5, 0.5) | |
2391 | wind2.Material = "Neon" | |
2392 | wind2.BrickColor = BrickColor.new("Really white") | |
2393 | wind2.Transparency = .5 | |
2394 | wind2.Anchored = true | |
2395 | wind2.CanCollide = false | |
2396 | wind2.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),0,0) | |
2397 | windMESH2 = Instance.new("SpecialMesh", wind2) | |
2398 | windMESH2.Scale = Vector3.new(2.5,5.5,2.5) | |
2399 | windMESH2.MeshId = "rbxassetid://168892432" | |
2400 | for i = 1, 50 do | |
2401 | twist = twist + 11 | |
2402 | windMESH.Scale = windMESH.Scale + Vector3.new(.35,.35,.35) | |
2403 | windMESH2.Scale = windMESH2.Scale + Vector3.new(.35,.35,.35) | |
2404 | wind.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),math.rad(twist),0) | |
2405 | wind2.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),math.rad(-twist),0) | |
2406 | wind.Transparency = wind.Transparency + .015 | |
2407 | wind2.Transparency = wind2.Transparency + .015 | |
2408 | swait() | |
2409 | end | |
2410 | wind:Remove() | |
2411 | wind2:Remove() | |
2412 | end)() | |
2413 | end | |
2414 | end) | |
2415 | ||
2416 | checks1 = coroutine.wrap(function() -------Checks | |
2417 | while true do | |
2418 | hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character) | |
2419 | if Root.Velocity.y > 1 and hf == nil then | |
2420 | position = "Jump" | |
2421 | elseif Root.Velocity.y < -1 and hf == nil then | |
2422 | position = "Falling" | |
2423 | elseif Root.Velocity.Magnitude < 2 and hf ~= nil then | |
2424 | position = "Idle" | |
2425 | elseif Root.Velocity.Magnitude > 2 and hf ~= nil then | |
2426 | position = "Walking" | |
2427 | end | |
2428 | wait() | |
2429 | end | |
2430 | end) | |
2431 | checks1() | |
2432 | ||
2433 | oofing = true | |
2434 | hum.HealthChanged:Connect(function(healthz) | |
2435 | if tauntdebounce then return end | |
2436 | if dedlaff then return end | |
2437 | if oofing then return end | |
2438 | oofing = true | |
2439 | ouchtable = beingattackedtable[math.random(1,#beingattackedtable)] | |
2440 | ouch = Instance.new("Sound",Head) | |
2441 | ouch.SoundId = "rbxassetid://"..ouchtable | |
2442 | ouch.Volume = 8 | |
2443 | ouch:Play() | |
2444 | wait(1) | |
2445 | wait(ouch.TimeLength) | |
2446 | ouch:Remove() | |
2447 | wait(1) | |
2448 | oofing = false | |
2449 | end) | |
2450 | coroutine.wrap(function() | |
2451 | wait(2) | |
2452 | oofing = false | |
2453 | end)() | |
2454 | ||
2455 | OrgnC0 = Neck.C0 | |
2456 | local movelimbs = coroutine.wrap(function() | |
2457 | while RunSrv.RenderStepped:wait() do | |
2458 | TrsoLV = Torso.CFrame.lookVector | |
2459 | Dist = nil | |
2460 | Diff = nil | |
2461 | if not MseGuide then | |
2462 | print("Failed to recognize") | |
2463 | else | |
2464 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2465 | Dist = (Head.CFrame.p-Point).magnitude | |
2466 | Diff = Head.CFrame.Y-Point.Y | |
2467 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2468 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
2469 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
2470 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2471 | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) | |
2472 | end | |
2473 | end | |
2474 | end) | |
2475 | movelimbs() | |
2476 | immortal = {} | |
2477 | for i,v in pairs(Character:GetDescendants()) do | |
2478 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then | |
2479 | if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then | |
2480 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
2481 | end | |
2482 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency}) | |
2483 | elseif v:IsA("JointInstance") then | |
2484 | table.insert(immortal,{v,v.Parent,nil,nil,nil}) | |
2485 | end | |
2486 | end | |
2487 | for e = 1, #immortal do | |
2488 | if immortal[e] ~= nil then | |
2489 | local STUFF = immortal[e] | |
2490 | local PART = STUFF[1] | |
2491 | local PARENT = STUFF[2] | |
2492 | local MATERIAL = STUFF[3] | |
2493 | local COLOR = STUFF[4] | |
2494 | local TRANSPARENCY = STUFF[5] | |
2495 | if levitate then | |
2496 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2497 | PART.Material = MATERIAL | |
2498 | PART.Color = COLOR | |
2499 | PART.Transparency = TRANSPARENCY | |
2500 | end | |
2501 | PART.AncestryChanged:connect(function() | |
2502 | PART.Parent = PARENT | |
2503 | end) | |
2504 | else | |
2505 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2506 | PART.Material = MATERIAL | |
2507 | PART.Color = COLOR | |
2508 | PART.Transparency = TRANSPARENCY | |
2509 | end | |
2510 | PART.AncestryChanged:connect(function() | |
2511 | PART.Parent = PARENT | |
2512 | end) | |
2513 | end | |
2514 | end | |
2515 | end | |
2516 | function immortality() | |
2517 | for e = 1, #immortal do | |
2518 | if immortal[e] ~= nil then | |
2519 | local STUFF = immortal[e] | |
2520 | local PART = STUFF[1] | |
2521 | local PARENT = STUFF[2] | |
2522 | local MATERIAL = STUFF[3] | |
2523 | local COLOR = STUFF[4] | |
2524 | local TRANSPARENCY = STUFF[5] | |
2525 | if PART.ClassName == "Part" and PART == Root then | |
2526 | PART.Material = MATERIAL | |
2527 | PART.Color = COLOR | |
2528 | PART.Transparency = TRANSPARENCY | |
2529 | end | |
2530 | if PART.Parent ~= PARENT then | |
2531 | hum:Remove() | |
2532 | PART.Parent = PARENT | |
2533 | hum = Instance.new("Humanoid",Character) | |
2534 | hum.Name = "nightfall" | |
2535 | end | |
2536 | end | |
2537 | end | |
2538 | end | |
2539 | alreadyflip = false | |
2540 | function jumpsound() | |
2541 | if alreadyflip then return end | |
2542 | alreadyflip = true | |
2543 | flipsound = Instance.new("Sound",Torso) | |
2544 | flipsound.SoundId = "rbxassetid://1031614266" | |
2545 | flipsound.Volume = 2 | |
2546 | flipsound.Pitch = 1 | |
2547 | flipsound:Play() | |
2548 | removeuseless:AddItem(flipsound,2) | |
2549 | wait(1) | |
2550 | alreadyflip = false | |
2551 | end | |
2552 | coroutine.wrap(function() | |
2553 | while true do | |
2554 | if hum.Health < .1 then | |
2555 | deadsound = Instance.new("Sound", Torso) | |
2556 | deadsound.Volume = 6 | |
2557 | deadsound.SoundId = "rbxassetid://1411352723" | |
2558 | deadsound:Play() | |
2559 | immortality() | |
2560 | end | |
2561 | wait() | |
2562 | end | |
2563 | end)() | |
2564 | spinny = 0 | |
2565 | local anims = coroutine.wrap(function() | |
2566 | while true do | |
2567 | settime = 0.05 | |
2568 | sine = sine + change | |
2569 | if position == "Jump" and attacking == false then | |
2570 | coroutine.wrap(function() | |
2571 | jumpsound() | |
2572 | end)() | |
2573 | spinny = spinny - 18 | |
2574 | change = 1 | |
2575 | ws = 35 | |
2576 | footsteps.Volume = 0 | |
2577 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2578 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2579 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
2580 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(spinny), math.rad(0), math.rad(0)), 0.4) | |
2581 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.2) | |
2582 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-10)), 0.2) | |
2583 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
2584 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
2585 | elseif position == "Falling" and attacking == false then | |
2586 | change = 1 | |
2587 | ws = 19 | |
2588 | spinny = 0 | |
2589 | footsteps.Volume = 0 | |
2590 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
2591 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2592 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2593 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
2594 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, .5) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
2595 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, .5) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2) | |
2596 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2) | |
2597 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.9 + .02 * math.sin(sine/12),.05) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
2598 | elseif position == "Walking" and attacking == false and running == false then | |
2599 | change = 1.2 | |
2600 | if invisible then | |
2601 | ws = 30 | |
2602 | else | |
2603 | ws = 19 | |
2604 | end | |
2605 | walking = true | |
2606 | spinny = 0 | |
2607 | footsteps.Volume = 2 | |
2608 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.15,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
2609 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2610 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.07 + 0.2*math.sin(sine/3.5), 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
2611 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9 - 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 - math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) + -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/7), math.rad(0), math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
2612 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9 + 0.35 * math.cos(sine/7)/2.8, -.3 + 0.2 + math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) - -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
2613 | elseif position == "Idle" and attacking == false and running == false then | |
2614 | change = .5 | |
2615 | if invisible then | |
2616 | ws = 30 | |
2617 | else | |
2618 | ws = 19 | |
2619 | end | |
2620 | spinny = 0 | |
2621 | footsteps.Volume = 0 | |
2622 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1) | |
2623 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
2624 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.4 + .02 * math.sin(sine/12),.10 * -math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 10 * math.sin(sine/12)),math.rad(0),math.rad(-25)), 0.1) | |
2625 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1) | |
2626 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), .1) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1) | |
2627 | end | |
2628 | swait() | |
2629 | end | |
2630 | end) | |
2631 | anims() | |
2632 | warn("He's here. Made by Supr14") |