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" |
320 | + | introsound.SoundId = "rbxassetid://158475221" |
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" | |
403 | ||
404 | - | particlecolor = ColorSequence.new(Color3.new(255, 255, 255)) |
404 | + | pants = Instance.new("Pants", Character) |
405 | pants.Name = "Pants" | |
406 | Character.Pants.PantsTemplate = "rbxassetid://338750779" | |
407 | ||
408 | ||
409 | leftlocation = Instance.new("Part",LeftArm) | |
410 | leftlocation.Size = Vector3.new(1,1,1) | |
411 | leftlocation.Transparency = 1 | |
412 | leftlocation.Name = "leftlocation" | |
413 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
414 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
415 | rightlocation = Instance.new("Part",RightArm) | |
416 | rightlocation.Size = Vector3.new(1,1,1) | |
417 | rightlocation.Transparency = 1 | |
418 | rightlocation.Name = "rightlocation" | |
419 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
420 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
421 | ||
422 | particlemiter1 = Instance.new("ParticleEmitter", LeftArm) | |
423 | particlemiter1.Enabled = false | |
424 | particlemiter1.Color = particlecolor | |
425 | particlemiter1.Texture = "rbxassetid://886346744" | |
426 | particlemiter1.Lifetime = NumberRange.new(.05) | |
427 | particlemiter1.Size = NumberSequence.new(1.75,1.75) | |
428 | particlemiter1.Rate = 4 | |
429 | particlemiter1.Rotation = NumberRange.new(0,360) | |
430 | particlemiter1.RotSpeed = NumberRange.new(0) | |
431 | particlemiter1.Speed = NumberRange.new(0) | |
432 | particlemiter2 = Instance.new("ParticleEmitter", RightArm) | |
433 | particlemiter2.Enabled = false | |
434 | particlemiter2.Color = particlecolor | |
435 | particlemiter2.Texture = "rbxassetid://886346744" | |
436 | particlemiter2.Rotation = NumberRange.new(0,360) | |
437 | particlemiter2.Lifetime = NumberRange.new(.05) | |
438 | particlemiter2.Size = NumberSequence.new(1.75,1.75) | |
439 | particlemiter2.Rate = 4 | |
440 | particlemiter2.RotSpeed = NumberRange.new(0) | |
441 | particlemiter2.Speed = NumberRange.new(0) | |
442 | particlemiter4 = Instance.new("ParticleEmitter", LeftLeg) | |
443 | particlemiter4.Enabled = false | |
444 | particlemiter4.Color = particlecolor | |
445 | particlemiter4.Texture = "rbxassetid://886346744" | |
446 | particlemiter4.Lifetime = NumberRange.new(.05) | |
447 | particlemiter4.Rotation = NumberRange.new(0,360) | |
448 | particlemiter4.Size = NumberSequence.new(1.75,1.75) | |
449 | particlemiter4.Rate = 4 | |
450 | particlemiter4.RotSpeed = NumberRange.new(0) | |
451 | particlemiter4.Speed = NumberRange.new(0) | |
452 | particlemiter5 = Instance.new("ParticleEmitter", RightLeg) | |
453 | particlemiter5.Enabled = false | |
454 | particlemiter5.Color = particlecolor | |
455 | particlemiter5.Texture = "rbxassetid://886346744" | |
456 | particlemiter5.Rotation = NumberRange.new(0,360) | |
457 | particlemiter5.Lifetime = NumberRange.new(.05) | |
458 | particlemiter5.Size = NumberSequence.new(1.75,1.75) | |
459 | particlemiter5.Rate = 4 | |
460 | particlemiter5.RotSpeed = NumberRange.new(0) | |
461 | particlemiter5.Speed = NumberRange.new(0) | |
462 | particlemiter6 = Instance.new("ParticleEmitter", Torso) | |
463 | particlemiter6.Enabled = false | |
464 | particlemiter6.Color = particlecolor | |
465 | particlemiter6.Texture = "rbxassetid://886346744" | |
466 | particlemiter6.Rotation = NumberRange.new(0,360) | |
467 | particlemiter6.Lifetime = NumberRange.new(.05) | |
468 | particlemiter6.Size = NumberSequence.new(1.75,1.75) | |
469 | particlemiter6.Rate = 4 | |
470 | particlemiter6.RotSpeed = NumberRange.new(0) | |
471 | particlemiter6.Speed = NumberRange.new(0) | |
472 | particlemiter7 = Instance.new("ParticleEmitter", Head) | |
473 | particlemiter7.Enabled = false | |
474 | particlemiter7.Color = particlecolor | |
475 | particlemiter7.Texture = "rbxassetid://886346744" | |
476 | particlemiter7.Rotation = NumberRange.new(0,360) | |
477 | particlemiter7.Lifetime = NumberRange.new(.05) | |
478 | particlemiter7.Size = NumberSequence.new(1.75,1.75) | |
479 | particlemiter7.Rate = 4 | |
480 | particlemiter7.RotSpeed = NumberRange.new(0) | |
481 | particlemiter7.Speed = NumberRange.new(0) | |
482 | ||
483 | coroutine.wrap(function() | |
484 | while true do | |
485 | wait(7) | |
486 | particlemiter1.Enabled = true | |
487 | particlemiter2.Enabled = true | |
488 | particlemiter4.Enabled = true | |
489 | particlemiter5.Enabled = true | |
490 | particlemiter6.Enabled = true | |
491 | particlemiter7.Enabled = true | |
492 | swait(60) | |
493 | particlemiter1.Enabled = false | |
494 | particlemiter2.Enabled = false | |
495 | particlemiter4.Enabled = false | |
496 | particlemiter5.Enabled = false | |
497 | particlemiter6.Enabled = false | |
498 | particlemiter7.Enabled = false | |
499 | wait(11) | |
500 | particlemiter1.Enabled = true | |
501 | particlemiter2.Enabled = true | |
502 | particlemiter4.Enabled = true | |
503 | particlemiter5.Enabled = true | |
504 | particlemiter6.Enabled = true | |
505 | particlemiter7.Enabled = true | |
506 | swait(60) | |
507 | particlemiter1.Enabled = false | |
508 | particlemiter2.Enabled = false | |
509 | particlemiter4.Enabled = false | |
510 | particlemiter5.Enabled = false | |
511 | particlemiter6.Enabled = false | |
512 | particlemiter7.Enabled = false | |
513 | wait(4) | |
514 | particlemiter1.Enabled = true | |
515 | particlemiter2.Enabled = true | |
516 | particlemiter4.Enabled = true | |
517 | particlemiter5.Enabled = true | |
518 | particlemiter6.Enabled = true | |
519 | particlemiter7.Enabled = true | |
520 | swait(60) | |
521 | particlemiter1.Enabled = false | |
522 | particlemiter2.Enabled = false | |
523 | particlemiter4.Enabled = false | |
524 | particlemiter5.Enabled = false | |
525 | particlemiter6.Enabled = false | |
526 | particlemiter7.Enabled = false | |
527 | swait() | |
528 | end | |
529 | end)() | |
530 | ||
531 | Head.BrickColor = BrickColor.new("Really black") | |
532 | ||
533 | ||
534 | mas = Instance.new("Model",Head) | |
535 | mas.Name = "Model2Script" | |
536 | o1 = Instance.new("Model") | |
537 | o2 = Instance.new("Part") | |
538 | o3 = Instance.new("Part") | |
539 | o4 = Instance.new("Part") | |
540 | o5 = Instance.new("Part") | |
541 | o6 = Instance.new("Part") | |
542 | o7 = Instance.new("Part") | |
543 | o8 = Instance.new("Part") | |
544 | o9 = Instance.new("Part") | |
545 | o10 = Instance.new("Part") | |
546 | o11 = Instance.new("Part") | |
547 | o12 = Instance.new("Part") | |
548 | o13 = Instance.new("Part") | |
549 | o14 = Instance.new("Part") | |
550 | o15 = Instance.new("Part") | |
551 | o16 = Instance.new("Part") | |
552 | o17 = Instance.new("Part") | |
553 | o18 = Instance.new("Part") | |
554 | o19 = Instance.new("Part") | |
555 | o20 = Instance.new("Part") | |
556 | o21 = Instance.new("Part") | |
557 | o22 = Instance.new("Part") | |
558 | o23 = Instance.new("Part") | |
559 | o24 = Instance.new("Part") | |
560 | o25 = Instance.new("Part") | |
561 | o26 = Instance.new("Part") | |
562 | o27 = Instance.new("Part") | |
563 | o28 = Instance.new("Part") | |
564 | o29 = Instance.new("Part") | |
565 | o30 = Instance.new("Part") | |
566 | o31 = Instance.new("Part") | |
567 | o32 = Instance.new("Part") | |
568 | o33 = Instance.new("Part") | |
569 | o34 = Instance.new("Part") | |
570 | o35 = Instance.new("Part") | |
571 | o36 = Instance.new("Part") | |
572 | o37 = Instance.new("Part") | |
573 | o1.Parent = mas | |
574 | o2.Name = "Head" | |
575 | o2.Parent = o1 | |
576 | o2.Material = Enum.Material.SmoothPlastic | |
577 | o2.BrickColor = BrickColor.new("Really black") | |
578 | o2.Transparency = 1 | |
579 | o2.Rotation = Vector3.new(-0.00999999978, 3.26999998, 0.00999999978) | |
580 | o2.FormFactor = Enum.FormFactor.Symmetric | |
581 | o2.Size = Vector3.new(1.99999988, 0.99999994, 0.99999994) | |
582 | 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) | |
583 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
584 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
585 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
586 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
587 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
588 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
589 | - | o3.BrickColor = BrickColor.new("Fossil") |
589 | + | |
590 | o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
591 | o3.Parent = o2 | |
592 | o3.BrickColor = BrickColor.new("Really black") | |
593 | o3.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
594 | o3.CanCollide = false | |
595 | o3.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
596 | 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) | |
597 | o3.BottomSurface = Enum.SurfaceType.Smooth | |
598 | o3.TopSurface = Enum.SurfaceType.Smooth | |
599 | o3.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
600 | - | o4.BrickColor = BrickColor.new("Eggplant") |
600 | + | |
601 | o4.Parent = o2 | |
602 | o4.Material = Enum.Material.Neon | |
603 | o4.BrickColor = BrickColor.new("Really black") | |
604 | o4.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
605 | o4.CanCollide = false | |
606 | o4.Shape = Enum.PartType.Ball | |
607 | o4.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
608 | 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) | |
609 | o4.BottomSurface = Enum.SurfaceType.Smooth | |
610 | o4.TopSurface = Enum.SurfaceType.Smooth | |
611 | o4.Color = Color3.new(0.482353, 0, 0.482353) | |
612 | o4.Color = Color3.new(0.482353, 0, 0.482353) | |
613 | o5.Parent = o2 | |
614 | o5.BrickColor = BrickColor.new("Fossil") | |
615 | o5.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
616 | o5.CanCollide = false | |
617 | o5.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
618 | 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) | |
619 | o5.BottomSurface = Enum.SurfaceType.Smooth | |
620 | o5.TopSurface = Enum.SurfaceType.Smooth | |
621 | - | o6.BrickColor = BrickColor.new("Fossil") |
621 | + | |
622 | o5.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
623 | o6.Parent = o2 | |
624 | o6.BrickColor = BrickColor.new("Really black") | |
625 | o6.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
626 | o6.CanCollide = false | |
627 | o6.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
628 | 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) | |
629 | o6.BottomSurface = Enum.SurfaceType.Smooth | |
630 | o6.TopSurface = Enum.SurfaceType.Smooth | |
631 | - | o7.BrickColor = BrickColor.new("Fossil") |
631 | + | |
632 | o6.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
633 | o7.Parent = o2 | |
634 | o7.BrickColor = BrickColor.new("Really black") | |
635 | o7.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
636 | o7.CanCollide = false | |
637 | o7.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
638 | 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) | |
639 | o7.BottomSurface = Enum.SurfaceType.Smooth | |
640 | o7.TopSurface = Enum.SurfaceType.Smooth | |
641 | - | o8.BrickColor = BrickColor.new("Fossil") |
641 | + | |
642 | o7.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
643 | o8.Parent = o2 | |
644 | o8.BrickColor = BrickColor.new("Really black") | |
645 | o8.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
646 | o8.CanCollide = false | |
647 | o8.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
648 | 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) | |
649 | o8.BottomSurface = Enum.SurfaceType.Smooth | |
650 | o8.TopSurface = Enum.SurfaceType.Smooth | |
651 | - | o9.BrickColor = BrickColor.new("Fossil") |
651 | + | |
652 | o8.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
653 | o9.Parent = o2 | |
654 | o9.BrickColor = BrickColor.new("Really black") | |
655 | o9.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
656 | o9.CanCollide = false | |
657 | o9.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
658 | 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) | |
659 | o9.BottomSurface = Enum.SurfaceType.Smooth | |
660 | o9.TopSurface = Enum.SurfaceType.Smooth | |
661 | - | o10.BrickColor = BrickColor.new("Fossil") |
661 | + | |
662 | o9.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
663 | o10.Parent = o2 | |
664 | o10.BrickColor = BrickColor.new("Really black") | |
665 | o10.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
666 | o10.CanCollide = false | |
667 | o10.Size = Vector3.new(0.0600024611, 0.250000179, 0.220000237) | |
668 | 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) | |
669 | o10.BottomSurface = Enum.SurfaceType.Smooth | |
670 | o10.TopSurface = Enum.SurfaceType.Smooth | |
671 | o10.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
672 | - | o11.BrickColor = BrickColor.new("Pearl") |
672 | + | |
673 | o11.Parent = o2 | |
674 | o11.Material = Enum.Material.Metal | |
675 | o11.BrickColor = BrickColor.new("Really black") | |
676 | o11.Rotation = Vector3.new(-179.959991, 70.5100021, 179.970001) | |
677 | o11.CanCollide = false | |
678 | o11.Size = Vector3.new(0.250002503, 0.350000173, 0.2900002) | |
679 | 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) | |
680 | o11.BottomSurface = Enum.SurfaceType.Smooth | |
681 | o11.TopSurface = Enum.SurfaceType.Smooth | |
682 | o11.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
683 | - | o12.BrickColor = BrickColor.new("Pearl") |
683 | + | |
684 | o12.Parent = o2 | |
685 | o12.Material = Enum.Material.Metal | |
686 | o12.BrickColor = BrickColor.new("Really black") | |
687 | o12.Rotation = Vector3.new(-0.0199999996, 59.8599968, 0.0299999993) | |
688 | o12.CanCollide = false | |
689 | o12.Size = Vector3.new(0.250002503, 0.330000162, 0.2900002) | |
690 | 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) | |
691 | o12.BottomSurface = Enum.SurfaceType.Smooth | |
692 | o12.TopSurface = Enum.SurfaceType.Smooth | |
693 | - | o13.BrickColor = BrickColor.new("Fossil") |
693 | + | |
694 | o12.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
695 | o13.Parent = o2 | |
696 | o13.BrickColor = BrickColor.new("Really black") | |
697 | o13.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
698 | o13.CanCollide = false | |
699 | o13.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
700 | 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) | |
701 | o13.BottomSurface = Enum.SurfaceType.Smooth | |
702 | o13.TopSurface = Enum.SurfaceType.Smooth | |
703 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
704 | o13.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
705 | o14.Parent = o2 | |
706 | o14.Material = Enum.Material.SmoothPlastic | |
707 | o14.BrickColor = BrickColor.new("Really black") | |
708 | o14.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
709 | o14.CanCollide = false | |
710 | o14.Size = Vector3.new(0.370002419, 0.380000234, 0.300000221) | |
711 | 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) | |
712 | o14.BottomSurface = Enum.SurfaceType.Smooth | |
713 | o14.TopSurface = Enum.SurfaceType.Smooth | |
714 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
715 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
716 | o15.Parent = o2 | |
717 | o15.Material = Enum.Material.Metal | |
718 | o15.BrickColor = BrickColor.new("Pearl") | |
719 | o15.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
720 | o15.CanCollide = false | |
721 | o15.Size = Vector3.new(0.0800024197, 0.250000238, 0.300000221) | |
722 | 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) | |
723 | o15.BottomSurface = Enum.SurfaceType.Smooth | |
724 | o15.TopSurface = Enum.SurfaceType.Smooth | |
725 | o15.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
726 | o15.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
727 | o16.Parent = o2 | |
728 | o16.BrickColor = BrickColor.new("Fossil") | |
729 | o16.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
730 | o16.CanCollide = false | |
731 | o16.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
732 | 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) | |
733 | o16.BottomSurface = Enum.SurfaceType.Smooth | |
734 | o16.TopSurface = Enum.SurfaceType.Smooth | |
735 | o16.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
736 | o16.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
737 | o17.Parent = o2 | |
738 | o17.Material = Enum.Material.Metal | |
739 | o17.BrickColor = BrickColor.new("Pearl") | |
740 | o17.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
741 | o17.CanCollide = false | |
742 | o17.Size = Vector3.new(0.370002478, 0.120000228, 0.130000144) | |
743 | 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) | |
744 | o17.BottomSurface = Enum.SurfaceType.Smooth | |
745 | o17.TopSurface = Enum.SurfaceType.Smooth | |
746 | o17.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
747 | o17.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
748 | o18.Parent = o2 | |
749 | o18.Material = Enum.Material.Neon | |
750 | o18.BrickColor = BrickColor.new("Eggplant") | |
751 | o18.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
752 | o18.CanCollide = false | |
753 | o18.Shape = Enum.PartType.Cylinder | |
754 | o18.Size = Vector3.new(0.48999992, 1.15999997, 1.30999982) | |
755 | 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) | |
756 | o18.BottomSurface = Enum.SurfaceType.Smooth | |
757 | o18.TopSurface = Enum.SurfaceType.Smooth | |
758 | o18.Color = Color3.new(0.482353, 0, 0.482353) | |
759 | o18.Color = Color3.new(0.482353, 0, 0.482353) | |
760 | o19.Parent = o2 | |
761 | o19.Material = Enum.Material.Metal | |
762 | o19.BrickColor = BrickColor.new("Pearl") | |
763 | o19.Rotation = Vector3.new(0, 0.629999995, 12.8699999) | |
764 | o19.CanCollide = false | |
765 | o19.Size = Vector3.new(0.0800024197, 0.170000225, 0.2900002) | |
766 | 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) | |
767 | o19.BottomSurface = Enum.SurfaceType.Smooth | |
768 | o19.TopSurface = Enum.SurfaceType.Smooth | |
769 | o19.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
770 | o19.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
771 | o20.Parent = o2 | |
772 | o20.Material = Enum.Material.Metal | |
773 | o20.BrickColor = BrickColor.new("Pearl") | |
774 | o20.Rotation = Vector3.new(-0.00999999978, 29.6299992, 0.0199999996) | |
775 | o20.CanCollide = false | |
776 | o20.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002) | |
777 | 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) | |
778 | o20.BottomSurface = Enum.SurfaceType.Smooth | |
779 | o20.TopSurface = Enum.SurfaceType.Smooth | |
780 | o20.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
781 | o20.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
782 | o21.Parent = o2 | |
783 | o21.Material = Enum.Material.Metal | |
784 | o21.BrickColor = BrickColor.new("Pearl") | |
785 | o21.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
786 | o21.CanCollide = false | |
787 | o21.Size = Vector3.new(0.350002438, 0.120000228, 0.130000204) | |
788 | 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) | |
789 | o21.BottomSurface = Enum.SurfaceType.Smooth | |
790 | o21.TopSurface = Enum.SurfaceType.Smooth | |
791 | o21.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
792 | o21.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
793 | o22.Parent = o2 | |
794 | o22.Material = Enum.Material.Metal | |
795 | o22.BrickColor = BrickColor.new("Pearl") | |
796 | o22.Rotation = Vector3.new(0, 0.629999995, 30.0699997) | |
797 | o22.CanCollide = false | |
798 | o22.Size = Vector3.new(0.330002487, 0.110000268, 0.140000194) | |
799 | 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) | |
800 | o22.BottomSurface = Enum.SurfaceType.Smooth | |
801 | o22.TopSurface = Enum.SurfaceType.Smooth | |
802 | o22.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
803 | o22.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
804 | o23.Parent = o2 | |
805 | o23.Material = Enum.Material.Metal | |
806 | o23.BrickColor = BrickColor.new("Pearl") | |
807 | o23.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
808 | o23.CanCollide = false | |
809 | o23.Size = Vector3.new(0.0800024197, 0.250000238, 0.2900002) | |
810 | 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) | |
811 | o23.BottomSurface = Enum.SurfaceType.Smooth | |
812 | o23.TopSurface = Enum.SurfaceType.Smooth | |
813 | o23.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
814 | o23.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
815 | o24.Parent = o2 | |
816 | o24.Material = Enum.Material.Metal | |
817 | o24.BrickColor = BrickColor.new("Pearl") | |
818 | o24.Rotation = Vector3.new(0, 0.629999995, -30.1299992) | |
819 | o24.CanCollide = false | |
820 | o24.Size = Vector3.new(0.330002487, 0.110000268, 0.130000249) | |
821 | 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) | |
822 | o24.BottomSurface = Enum.SurfaceType.Smooth | |
823 | o24.TopSurface = Enum.SurfaceType.Smooth | |
824 | o24.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
825 | o24.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
826 | o25.Parent = o2 | |
827 | o25.BrickColor = BrickColor.new("Fossil") | |
828 | o25.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
829 | o25.CanCollide = false | |
830 | o25.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
831 | 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) | |
832 | o25.BottomSurface = Enum.SurfaceType.Smooth | |
833 | o25.TopSurface = Enum.SurfaceType.Smooth | |
834 | o25.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
835 | o25.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
836 | o26.Parent = o2 | |
837 | o26.BrickColor = BrickColor.new("Fossil") | |
838 | o26.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
839 | o26.CanCollide = false | |
840 | o26.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
841 | 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) | |
842 | o26.BottomSurface = Enum.SurfaceType.Smooth | |
843 | o26.TopSurface = Enum.SurfaceType.Smooth | |
844 | o26.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
845 | o26.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
846 | o27.Parent = o2 | |
847 | o27.Material = Enum.Material.SmoothPlastic | |
848 | o27.BrickColor = BrickColor.new("Really black") | |
849 | o27.Rotation = Vector3.new(180, -3.27999997, 179.98999) | |
850 | o27.Shape = Enum.PartType.Cylinder | |
851 | o27.Size = Vector3.new(0.0500000007, 0.250000238, 1.6000005) | |
852 | 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) | |
853 | o27.BottomSurface = Enum.SurfaceType.Smooth | |
854 | o27.TopSurface = Enum.SurfaceType.Smooth | |
855 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
856 | o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
857 | o28.Parent = o2 | |
858 | o28.Material = Enum.Material.SmoothPlastic | |
859 | o28.BrickColor = BrickColor.new("Really black") | |
860 | o28.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
861 | o28.CanCollide = false | |
862 | o28.Shape = Enum.PartType.Cylinder | |
863 | o28.Size = Vector3.new(0.24999994, 1.25999975, 1.54999959) | |
864 | 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) | |
865 | o28.BottomSurface = Enum.SurfaceType.Smooth | |
866 | o28.TopSurface = Enum.SurfaceType.Smooth | |
867 | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
868 | o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
869 | o29.Parent = o2 | |
870 | o29.Material = Enum.Material.Neon | |
871 | o29.BrickColor = BrickColor.new("Eggplant") | |
872 | o29.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
873 | o29.CanCollide = false | |
874 | o29.Shape = Enum.PartType.Ball | |
875 | o29.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
876 | 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) | |
877 | o29.BottomSurface = Enum.SurfaceType.Smooth | |
878 | o29.TopSurface = Enum.SurfaceType.Smooth | |
879 | o29.Color = Color3.new(0.482353, 0, 0.482353) | |
880 | o29.Color = Color3.new(0.482353, 0, 0.482353) | |
881 | o30.Parent = o2 | |
882 | o30.Material = Enum.Material.Neon | |
883 | o30.BrickColor = BrickColor.new("Eggplant") | |
884 | o30.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
885 | o30.CanCollide = false | |
886 | o30.Shape = Enum.PartType.Ball | |
887 | o30.Size = Vector3.new(0.190001294, 0.190001294, 0.190001294) | |
888 | 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) | |
889 | o30.BottomSurface = Enum.SurfaceType.Smooth | |
890 | o30.TopSurface = Enum.SurfaceType.Smooth | |
891 | o30.Color = Color3.new(0.482353, 0, 0.482353) | |
892 | o30.Color = Color3.new(0.482353, 0, 0.482353) | |
893 | o31.Parent = o2 | |
894 | o31.BrickColor = BrickColor.new("Fossil") | |
895 | o31.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
896 | o31.CanCollide = false | |
897 | o31.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
898 | 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) | |
899 | o31.BottomSurface = Enum.SurfaceType.Smooth | |
900 | o31.TopSurface = Enum.SurfaceType.Smooth | |
901 | o31.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
902 | o31.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
903 | o32.Name = "r" | |
904 | o32.Parent = o2 | |
905 | o32.Material = Enum.Material.SmoothPlastic | |
906 | o32.BrickColor = BrickColor.new("Really black") | |
907 | o32.Rotation = Vector3.new(0, 0.629999995, -89.9899979) | |
908 | o32.CanCollide = false | |
909 | o32.Shape = Enum.PartType.Cylinder | |
910 | o32.Size = Vector3.new(0.46999985, 1.25999975, 1.54999959) | |
911 | 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) | |
912 | o32.BottomSurface = Enum.SurfaceType.Smooth | |
913 | o32.TopSurface = Enum.SurfaceType.Smooth | |
914 | o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
915 | o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
916 | o33.Parent = o2 | |
917 | o33.BrickColor = BrickColor.new("Fossil") | |
918 | o33.Rotation = Vector3.new(-0.00999999978, 35.1199989, 0.0199999996) | |
919 | o33.CanCollide = false | |
920 | o33.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
921 | 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) | |
922 | o33.BottomSurface = Enum.SurfaceType.Smooth | |
923 | o33.TopSurface = Enum.SurfaceType.Smooth | |
924 | o33.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
925 | o33.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
926 | o34.Parent = o2 | |
927 | o34.Material = Enum.Material.Neon | |
928 | o34.BrickColor = BrickColor.new("Eggplant") | |
929 | o34.Rotation = Vector3.new(0, 0.629999995, 0.00999999978) | |
930 | o34.CanCollide = false | |
931 | o34.Shape = Enum.PartType.Ball | |
932 | o34.Size = Vector3.new(0.230001301, 0.230001301, 0.230001301) | |
933 | 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) | |
934 | o34.BottomSurface = Enum.SurfaceType.Smooth | |
935 | o34.TopSurface = Enum.SurfaceType.Smooth | |
936 | o34.Color = Color3.new(0.482353, 0, 0.482353) | |
937 | o34.Color = Color3.new(0.482353, 0, 0.482353) | |
938 | o35.Parent = o2 | |
939 | o35.Material = Enum.Material.Metal | |
940 | o35.BrickColor = BrickColor.new("Pearl") | |
941 | o35.Rotation = Vector3.new(0, 0.629999995, 12.8699999) | |
942 | o35.CanCollide = false | |
943 | o35.Size = Vector3.new(0.520002484, 0.440000206, 0.2900002) | |
944 | 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) | |
945 | o35.BottomSurface = Enum.SurfaceType.Smooth | |
946 | o35.TopSurface = Enum.SurfaceType.Smooth | |
947 | o35.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
948 | o35.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
949 | o36.Parent = o2 | |
950 | o36.Material = Enum.Material.Metal | |
951 | o36.BrickColor = BrickColor.new("Pearl") | |
952 | o36.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
953 | o36.CanCollide = false | |
954 | o36.Size = Vector3.new(0.420002431, 0.200000226, 0.2900002) | |
955 | 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) | |
956 | o36.BottomSurface = Enum.SurfaceType.Smooth | |
957 | o36.TopSurface = Enum.SurfaceType.Smooth | |
958 | o36.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
959 | o36.Color = Color3.new(0.905882, 0.905882, 0.92549) | |
960 | o37.Parent = o2 | |
961 | o37.BrickColor = BrickColor.new("Fossil") | |
962 | o37.Rotation = Vector3.new(0.00999999978, -30.1099987, 0.0199999996) | |
963 | o37.CanCollide = false | |
964 | o37.Size = Vector3.new(0.0600024611, 0.250000179, 0.260000259) | |
965 | 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) | |
966 | o37.BottomSurface = Enum.SurfaceType.Smooth | |
967 | o37.TopSurface = Enum.SurfaceType.Smooth | |
968 | o37.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
969 | o37.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
970 | mas.Parent = workspace | |
971 | mas:MakeJoints() | |
972 | ||
973 | mas2 = Instance.new("Model",RightArm) | |
974 | mas2.Name = "Model2Script2" | |
975 | ov = Instance.new("Model") | |
976 | o2 = Instance.new("WedgePart") | |
977 | o3 = Instance.new("WedgePart") | |
978 | o4 = Instance.new("WedgePart") | |
979 | o5 = Instance.new("Part") | |
980 | o6 = Instance.new("Part") | |
981 | o7 = Instance.new("Part") | |
982 | o8 = Instance.new("WedgePart") | |
983 | o9m = Instance.new("Part") | |
984 | - | o2.BrickColor = BrickColor.new("Alder") |
984 | + | |
985 | o2.Parent = ov | |
986 | o2.Material = Enum.Material.Neon | |
987 | o2.BrickColor = BrickColor.new("Black") | |
988 | o2.Transparency = 0.1 | |
989 | o2.Rotation = Vector3.new(-76.2299957, 74.5199966, -102.399994) | |
990 | o2.Anchored = true | |
991 | o2.Size = Vector3.new(0.104009911, 0.654072165, 0.0998701826) | |
992 | 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) | |
993 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
994 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
995 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
996 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
997 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
998 | o2.Color = Color3.new(0.705882, 0.501961, 1) | |
999 | - | o3.BrickColor = BrickColor.new("Alder") |
999 | + | |
1000 | o3.Parent = ov | |
1001 | o3.Material = Enum.Material.Neon | |
1002 | o3.BrickColor = BrickColor.new("Black") | |
1003 | o3.Transparency = 0.1 | |
1004 | o3.Rotation = Vector3.new(-88.5499954, -6.10999966, 86.6899948) | |
1005 | o3.Anchored = true | |
1006 | o3.Size = Vector3.new(0.10142266, 0.186803788, 0.632338703) | |
1007 | 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) | |
1008 | o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1009 | o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1010 | o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1011 | o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1012 | o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1013 | o3.Color = Color3.new(0.705882, 0.501961, 1) | |
1014 | - | o4.BrickColor = BrickColor.new("Alder") |
1014 | + | |
1015 | o4.Parent = ov | |
1016 | o4.Material = Enum.Material.Neon | |
1017 | o4.BrickColor = BrickColor.new("Black") | |
1018 | o4.Transparency = 0.1 | |
1019 | o4.Rotation = Vector3.new(103.110001, -74.5599976, -78.2399979) | |
1020 | o4.Anchored = true | |
1021 | o4.Size = Vector3.new(0.104009911, 0.472443491, 0.0998701826) | |
1022 | 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) | |
1023 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1024 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1025 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1026 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1027 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1028 | o4.Color = Color3.new(0.705882, 0.501961, 1) | |
1029 | - | o5.BrickColor = BrickColor.new("Alder") |
1029 | + | |
1030 | o5.Parent = ov | |
1031 | o5.Material = Enum.Material.Neon | |
1032 | o5.BrickColor = BrickColor.new("Black") | |
1033 | o5.Transparency = 0.1 | |
1034 | o5.Rotation = Vector3.new(-178.199997, 3.28999996, -105.129997) | |
1035 | o5.Anchored = true | |
1036 | o5.Size = Vector3.new(0.701161206, 0.538160622, 0.103492416) | |
1037 | 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) | |
1038 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1039 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1040 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1041 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1042 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1043 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1044 | o5.Color = Color3.new(0.705882, 0.501961, 1) | |
1045 | - | o6.BrickColor = BrickColor.new("Alder") |
1045 | + | |
1046 | o6.Parent = ov | |
1047 | o6.Material = Enum.Material.Neon | |
1048 | o6.BrickColor = BrickColor.new("Black") | |
1049 | o6.Transparency = 0.1 | |
1050 | o6.Rotation = Vector3.new(-178.199997, 3.28999996, -101.059998) | |
1051 | o6.Anchored = true | |
1052 | o6.Size = Vector3.new(0.701161206, 0.371020257, 0.103492416) | |
1053 | 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) | |
1054 | o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1055 | o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1056 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1057 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1058 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1059 | o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1060 | o6.Color = Color3.new(0.705882, 0.501961, 1) | |
1061 | - | o7.BrickColor = BrickColor.new("Alder") |
1061 | + | |
1062 | o7.Parent = ov | |
1063 | o7.Material = Enum.Material.Neon | |
1064 | o7.BrickColor = BrickColor.new("Black") | |
1065 | o7.Transparency = 0.1 | |
1066 | o7.Rotation = Vector3.new(-178.199997, 3.28999996, -96.1199951) | |
1067 | o7.Anchored = true | |
1068 | o7.Size = Vector3.new(0.701161206, 0.371020257, 0.103492416) | |
1069 | 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) | |
1070 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1071 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1072 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1073 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1074 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1075 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1076 | o7.Color = Color3.new(0.705882, 0.501961, 1) | |
1077 | - | o8.BrickColor = BrickColor.new("Alder") |
1077 | + | |
1078 | o8.Parent = ov | |
1079 | o8.Material = Enum.Material.Neon | |
1080 | o8.BrickColor = BrickColor.new("Black") | |
1081 | o8.Transparency = 0.1 | |
1082 | o8.Rotation = Vector3.new(-88.5499954, -6.10999966, -93.3099976) | |
1083 | o8.Anchored = true | |
1084 | o8.Size = Vector3.new(0.10142266, 0.186803788, 0.632338703) | |
1085 | 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) | |
1086 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1087 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1088 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1089 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1090 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1091 | o8.Color = Color3.new(0.705882, 0.501961, 1) | |
1092 | - | o9m.BrickColor = BrickColor.new("Alder") |
1092 | + | |
1093 | o9m.Parent = ov | |
1094 | o9m.Material = Enum.Material.Neon | |
1095 | o9m.BrickColor = BrickColor.new("Black") | |
1096 | o9m.Transparency = 0.1 | |
1097 | o9m.Rotation = Vector3.new(-178.199997, 3.28999996, -118.769997) | |
1098 | o9m.Anchored = true | |
1099 | o9m.Size = Vector3.new(1.56116068, 0.538160563, 0.102974951) | |
1100 | 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) | |
1101 | o9m.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1102 | o9m.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1103 | o9m.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1104 | o9m.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1105 | o9m.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1106 | o9m.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1107 | o9m.Color = Color3.new(0.705882, 0.501961, 1) | |
1108 | o9m.Color = Color3.new(0.705882, 0.501961, 1) | |
1109 | mas2.Parent = workspace | |
1110 | mas2:MakeJoints() | |
1111 | ||
1112 | nightfallknifelocater = Instance.new("Part",RightArm) | |
1113 | nightfallknifelocater.CanCollide = false | |
1114 | nightfallknifelocater.Transparency = 1 | |
1115 | nightfallknifelocater.Size = Vector3.new(1,1,1) | |
1116 | ng2 = weldBetween(nightfallknifelocater,RightArm) | |
1117 | ng2.C0 = CFrame.new(-6.2,4.3,-11.35) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-18)) | |
1118 | ||
1119 | ||
1120 | nightfallmasklocater = Instance.new("Part",Head) | |
1121 | nightfallmasklocater.CanCollide = false | |
1122 | nightfallmasklocater.Transparency = 1 | |
1123 | nightfallmasklocater.Size = Vector3.new(1,1,1) | |
1124 | ng = weldBetween(nightfallmasklocater,Head) | |
1125 | ng.C0 = CFrame.new(12.6,4.5,-3.72) | |
1126 | ||
1127 | hair = Instance.new("Part",Character) | |
1128 | hair.Size = Vector3.new(2,2,2) | |
1129 | hair.CFrame = Head.CFrame | |
1130 | hair.CanCollide = false | |
1131 | hairweld = Instance.new("Weld",hair) | |
1132 | hairweld.Part0 = hair | |
1133 | hairweld.Part1 = Head | |
1134 | hairweld.C0 = hair.CFrame:inverse() * Head.CFrame * CFrame.new(0,.6,-.78) | |
1135 | mhair = Instance.new("SpecialMesh", hair) | |
1136 | mhair.MeshType = "FileMesh" | |
1137 | mhair.Scale = Vector3.new(1.1,1.1,1.1) | |
1138 | mhair.MeshId,mhair.TextureId = 'http://www.roblox.com/asset/?id=398618628','http://www.roblox.com/asset/?id=857871959' | |
1139 | ||
1140 | function weld() | |
1141 | local parts,last = {} | |
1142 | local function scan(o1) | |
1143 | for _,v in pairs(o1:GetChildren()) do | |
1144 | if (v:IsA("BasePart")) then | |
1145 | if (last) then | |
1146 | local w = Instance.new("Weld") | |
1147 | w.Name = ("%s_Weld"):format(v.Name) | |
1148 | w.Part0,w.Part1 = last,nightfallmasklocater | |
1149 | w.C0 = last.CFrame:inverse() | |
1150 | w.Parent = last | |
1151 | end | |
1152 | last = v | |
1153 | table.insert(parts,v) | |
1154 | end | |
1155 | scan(v) | |
1156 | end | |
1157 | end | |
1158 | scan(o1) | |
1159 | for _,v in pairs(parts) do | |
1160 | v.CanCollide = false | |
1161 | v.Anchored = false | |
1162 | v.Parent = Head | |
1163 | end | |
1164 | end | |
1165 | ||
1166 | weld() | |
1167 | ||
1168 | function weld2() | |
1169 | local parts,last = {} | |
1170 | local function scan(ov) | |
1171 | for _,v in pairs(ov:GetChildren()) do | |
1172 | if (v:IsA("BasePart")) then | |
1173 | if (last) then | |
1174 | local w = Instance.new("Weld") | |
1175 | w.Name = ("%s_Weld"):format(v.Name) | |
1176 | w.Part0,w.Part1 = last,nightfallknifelocater | |
1177 | w.C0 = last.CFrame:inverse() | |
1178 | w.Parent = last | |
1179 | end | |
1180 | last = v | |
1181 | table.insert(parts,v) | |
1182 | end | |
1183 | scan(v) | |
1184 | end | |
1185 | end | |
1186 | scan(ov) | |
1187 | for _,v in pairs(parts) do | |
1188 | v.CanCollide = false | |
1189 | v.Anchored = false | |
1190 | v.Parent = RightArm | |
1191 | end | |
1192 | end | |
1193 | ||
1194 | weld2() | |
1195 | ||
1196 | for i,v in pairs(Character:GetChildren()) do | |
1197 | if v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then | |
1198 | v:Remove() | |
1199 | end | |
1200 | end | |
1201 | ||
1202 | shirt = Instance.new("Shirt", Character) | |
1203 | shirt.Name = "Shirt" | |
1204 | Character.Shirt.ShirtTemplate = "rbxassetid://69039628" | |
1205 | ||
1206 | leg1 = Instance.new("SpecialMesh", LeftLeg) | |
1207 | leg1.MeshType = "FileMesh" | |
1208 | leg1.Scale = Vector3.new(1, 1, 1) | |
1209 | leg1.MeshId,leg1.TextureId = 'http://www.roblox.com/asset/?id=1243660338','http://www.roblox.com/asset/?id=1539341292' | |
1210 | ||
1211 | leg2 = Instance.new("SpecialMesh", RightLeg) | |
1212 | leg2.MeshType = "FileMesh" | |
1213 | leg2.Scale = Vector3.new(1, 1, 1) | |
1214 | leg2.MeshId,leg2.TextureId = 'http://www.roblox.com/asset/?id=1243660660','http://www.roblox.com/asset/?id=1539341292' | |
1215 | ||
1216 | torso1 = Instance.new("CharacterMesh",Character) | |
1217 | torso1.MeshId = 319346857 | |
1218 | torso1.BodyPart = "Torso" | |
1219 | ||
1220 | arm1 = Instance.new("CharacterMesh",Character) | |
1221 | arm1.MeshId = 303665934 | |
1222 | arm1.OverlayTextureId = 1539341292 | |
1223 | arm1.BodyPart = "LeftArm" | |
1224 | ||
1225 | arm2 = Instance.new("CharacterMesh",Character) | |
1226 | arm2.MeshId = 98332573 | |
1227 | arm2.OverlayTextureId = 6347925 | |
1228 | arm2.BodyPart = "RightArm" | |
1229 | ||
1230 | coroutine.wrap(function() | |
1231 | while wait() do | |
1232 | if secondform then | |
1233 | Head.face.Texture = "rbxassetid://1127768638" | |
1234 | else | |
1235 | Head.face.Texture = "rbxassetid://629947734" | |
1236 | end | |
1237 | hum.WalkSpeed = ws | |
1238 | hum.JumpPower = jp | |
1239 | LeftArm.BrickColor = BrickColor.new("Really black") | |
1240 | RightArm.BrickColor = BrickColor.new("Really black") | |
1241 | Head.BrickColor = BrickColor.new("Really black") | |
1242 | Torso.BrickColor = BrickColor.new("Really black") | |
1243 | LeftLeg.BrickColor = BrickColor.new("Really black") | |
1244 | RightLeg.BrickColor = BrickColor.new("Really black") | |
1245 | end | |
1246 | end)() | |
1247 | godmode = coroutine.wrap(function() | |
1248 | for i,v in pairs(Character:GetChildren()) do | |
1249 | if v:IsA("BasePart") and v ~= Root then | |
1250 | v.Anchored = false | |
1251 | end | |
1252 | end | |
1253 | hum.MaxHealth = math.huge | |
1254 | wait(.00001) | |
1255 | hum.Health = math.huge | |
1256 | end) | |
1257 | godmode() | |
1258 | ff = Instance.new("ForceField", Character) | |
1259 | ff.Visible = false | |
1260 | ||
1261 | coroutine.wrap(function() | |
1262 | for i,v in pairs(Character:GetChildren()) do | |
1263 | if v.Name == "Animate" then v:Remove() | |
1264 | end | |
1265 | end | |
1266 | end)() | |
1267 | ||
1268 | function damagealll(Radius,Position) | |
1269 | local Returning = {} | |
1270 | for _,v in pairs(workspace:GetChildren()) do | |
1271 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
1272 | if v:FindFirstChild("Torso") then | |
1273 | local Mag = (v.Torso.Position - Position).magnitude | |
1274 | if Mag < Radius then | |
1275 | table.insert(Returning,v) | |
1276 | end | |
1277 | elseif v:FindFirstChild("UpperTorso") then | |
1278 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
1279 | if Mag < Radius then | |
1280 | table.insert(Returning,v) | |
1281 | end | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | return Returning | |
1286 | end | |
1287 | ||
1288 | ArtificialHB = Instance.new("BindableEvent", script) | |
1289 | ArtificialHB.Name = "Heartbeat" | |
1290 | script:WaitForChild("Heartbeat") | |
1291 | ||
1292 | frame = 1 / 60 | |
1293 | tf = 0 | |
1294 | allowframeloss = false | |
1295 | tossremainder = false | |
1296 | ||
1297 | ||
1298 | lastframe = tick() | |
1299 | script.Heartbeat:Fire() | |
1300 | ||
1301 | ||
1302 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1303 | tf = tf + s | |
1304 | if tf >= frame then | |
1305 | if allowframeloss then | |
1306 | script.Heartbeat:Fire() | |
1307 | lastframe = tick() | |
1308 | else | |
1309 | for i = 1, math.floor(tf / frame) do | |
1310 | script.Heartbeat:Fire() | |
1311 | end | |
1312 | lastframe = tick() | |
1313 | end | |
1314 | if tossremainder then | |
1315 | tf = 0 | |
1316 | else | |
1317 | tf = tf - frame * math.floor(tf / frame) | |
1318 | end | |
1319 | end | |
1320 | end) | |
1321 | ||
1322 | function swait(num) | |
1323 | if num == 0 or num == nil then | |
1324 | game:service("RunService").Stepped:wait(0) | |
1325 | else | |
1326 | for i = 0, num do | |
1327 | game:service("RunService").Stepped:wait(0) | |
1328 | end | |
1329 | end | |
1330 | end | |
1331 | ||
1332 | for _,n in pairs(Character:GetChildren()) do | |
1333 | if n:IsA("Accessory") then n:Remove() end | |
1334 | end | |
1335 | for _,x in pairs(Character:GetChildren()) do | |
1336 | if x:IsA("Decal") then x:Remove() end | |
1337 | end | |
1338 | ||
1339 | function ray(pos, dir, rang, ignoredesc) | |
1340 | return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc) | |
1341 | end | |
1342 | ||
1343 | function ray2(startpos, endpos, distance, ignore) | |
1344 | local dir = CFrame.new(startpos,endpos).lookVector | |
1345 | return ray(startpos, dir, distance, ignore) | |
1346 | end | |
1347 | ||
1348 | coroutine.wrap(function() | |
1349 | while true do | |
1350 | for i,v in pairs(Torso:GetChildren()) do | |
1351 | if v.Name == "explodball" then | |
1352 | v.Size = v.Size + Vector3.new(2,2,2) | |
1353 | v.Transparency = v.Transparency + .08 | |
1354 | end | |
1355 | end | |
1356 | for i,v in pairs(Torso:GetDescendants()) do | |
1357 | if v.Name == "explodmesh" then | |
1358 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
1359 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
1360 | end | |
1361 | end | |
1362 | for i,v in pairs(Torso:GetDescendants()) do | |
1363 | if v.Name == "explodmesh2" then | |
1364 | v.Scale = v.Scale + Vector3.new(1.5,0,1.5) | |
1365 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
1366 | end | |
1367 | end | |
1368 | swait() | |
1369 | end | |
1370 | end)() | |
1371 | ||
1372 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
1373 | so = Instance.new("Sound") | |
1374 | so.Parent = PARENT | |
1375 | so.SoundId = "rbxassetid://"..ID | |
1376 | so.Volume = VOL | |
1377 | so.Looped = LOOP | |
1378 | so:Play() | |
1379 | removeuseless:AddItem(so,REMOVE) | |
1380 | end | |
1381 | ||
1382 | mouse.Button1Down:connect(function() | |
1383 | if debounce then return end | |
1384 | debounce = true | |
1385 | if combo1 then | |
1386 | combo1 = false | |
1387 | combo2 = true | |
1388 | combo3 = false | |
1389 | attacking = true | |
1390 | ws = 12 | |
1391 | g1 = Instance.new("BodyGyro", Root) | |
1392 | g1.D = 175 | |
1393 | g1.P = 20000 | |
1394 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1395 | for i = 1, 12 do | |
1396 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1397 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.4,-.2,-.2) * CFrame.Angles(math.rad(90),math.rad(130),math.rad(0)),.3) | |
1398 | 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) | |
1399 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
1400 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1401 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1402 | swait() | |
1403 | end | |
1404 | tr1.Enabled = true | |
1405 | slash = slasher[math.random(1,#slasher)] | |
1406 | slashs.SoundId = "rbxassetid://"..slash | |
1407 | slashs:Play() | |
1408 | hitbox = Instance.new("Part",Torso) | |
1409 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1410 | hitbox.Anchored = true | |
1411 | hitbox.Transparency = 1 | |
1412 | hitbox.Size = Vector3.new(1,1,1) | |
1413 | hitbox.CanCollide = false | |
1414 | Hit = damagealll(3,hitbox.Position) | |
1415 | for _,v in pairs(Hit) do | |
1416 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1417 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1418 | slash2 = slasher2[math.random(1,#slasher2)] | |
1419 | local damagesound = Instance.new("Sound",slachtoffer.Parent:FindFirstChild("Torso") or slachtoffer.Parent:FindFirstChild("UpperTorso")) | |
1420 | damagesound.SoundId = "rbxassetid://"..slash2 | |
1421 | damagesound.Volume = 8 | |
1422 | damagesound:Play() | |
1423 | removeuseless:AddItem(damagesound,4) | |
1424 | slachtoffer:TakeDamage(math.random(29,52)) | |
1425 | end | |
1426 | end | |
1427 | ws = 6 | |
1428 | for i = 1, 12 do | |
1429 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1430 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
1431 | 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) | |
1432 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-60), math.rad(0)), 0.3) | |
1433 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1434 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1435 | swait() | |
1436 | end | |
1437 | removeuseless:AddItem(g1,.001) | |
1438 | hitbox:Remove() | |
1439 | tr1.Enabled = false | |
1440 | attacking = false | |
1441 | debounce = false | |
1442 | ws = 19 | |
1443 | elseif combo2 then | |
1444 | combo1 = false | |
1445 | combo2 = false | |
1446 | combo3 = true | |
1447 | attacking = true | |
1448 | ws = 12 | |
1449 | g1 = Instance.new("BodyGyro", Root) | |
1450 | g1.D = 175 | |
1451 | g1.P = 20000 | |
1452 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1453 | for i = 1, 12 do | |
1454 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1455 | 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) | |
1456 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.3) | |
1457 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.3) | |
1458 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1459 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1460 | swait() | |
1461 | end | |
1462 | tr1.Enabled = true | |
1463 | slash = slasher[math.random(1,#slasher)] | |
1464 | slashs.SoundId = "rbxassetid://"..slash | |
1465 | slashs:Play() | |
1466 | hitbox = Instance.new("Part",Torso) | |
1467 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1468 | hitbox.Anchored = true | |
1469 | hitbox.Transparency = 1 | |
1470 | hitbox.Size = Vector3.new(1,1,1) | |
1471 | hitbox.CanCollide = false | |
1472 | Hit = damagealll(3,hitbox.Position) | |
1473 | for _,v in pairs(Hit) do | |
1474 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1475 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1476 | slachtoffer:TakeDamage(math.random(34,42)) | |
1477 | slash2 = slasher2[math.random(1,#slasher2)] | |
1478 | local damagesound = Instance.new("Sound",slachtoffer.Parent:FindFirstChild("Torso") or slachtoffer.Parent:FindFirstChild("UpperTorso")) | |
1479 | damagesound.SoundId = "rbxassetid://"..slash2 | |
1480 | damagesound.Volume = 8 | |
1481 | damagesound:Play() | |
1482 | removeuseless:AddItem(damagesound,4) | |
1483 | end | |
1484 | end | |
1485 | for i = 1, 12 do | |
1486 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1487 | 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) | |
1488 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
1489 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.8,-.25,0) * CFrame.Angles(math.rad(-60),math.rad(-70),math.rad(0)),.3) | |
1490 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1491 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1492 | swait() | |
1493 | end | |
1494 | removeuseless:AddItem(g1,.001) | |
1495 | tr1.Enabled = false | |
1496 | debounce = false | |
1497 | hitbox:Remove() | |
1498 | attacking = false | |
1499 | ws = 19 | |
1500 | elseif combo3 then | |
1501 | combo1 = true | |
1502 | combo2 = false | |
1503 | combo3 = false | |
1504 | attacking = true | |
1505 | spinny = 0 | |
1506 | ws = 16 | |
1507 | local spinnysound = Instance.new("Sound",Torso) | |
1508 | spinnysound.SoundId = "rbxassetid://1290491542" | |
1509 | spinnysound.Volume = 8 | |
1510 | spinnysound.Pitch = .8 | |
1511 | spinnysound:Play() | |
1512 | tr1.Enabled = true | |
1513 | hitbox = Instance.new("Part",Torso) | |
1514 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1515 | hitbox.Anchored = true | |
1516 | hitbox.Transparency = 1 | |
1517 | hitbox.Size = Vector3.new(1,1,1) | |
1518 | hitbox.CanCollide = false | |
1519 | if spin1 then | |
1520 | spin1 = false | |
1521 | spin2 = true | |
1522 | else | |
1523 | spin1 = true | |
1524 | spin2 = false | |
1525 | end | |
1526 | for i = 1, 45 do | |
1527 | hitbox.CFrame = Root.CFrame * CFrame.new(1,0,-3) | |
1528 | local Hit = damagealll(3,hitbox.Position) | |
1529 | for _,v in pairs(Hit) do | |
1530 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1531 | local slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1532 | slachtoffer:TakeDamage(math.random(1,3)) | |
1533 | end | |
1534 | end | |
1535 | if spin1 then | |
1536 | spinny = spinny - 45 | |
1537 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.4,.5) * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(0)),.3) | |
1538 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.55,.55,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.3) | |
1539 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.3) | |
1540 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(spinny), math.rad(0)), 0.3) | |
1541 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1542 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1543 | elseif spin2 then | |
1544 | spinny = spinny - 45 | |
1545 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.4,.5) * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(0)),.3) | |
1546 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.55,.55,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.3) | |
1547 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
1548 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(spinny), math.rad(0)), 0.3) | |
1549 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1550 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1551 | end | |
1552 | swait() | |
1553 | end | |
1554 | tr1.Enabled = false | |
1555 | spinnysound:Remove() | |
1556 | attacking = false | |
1557 | debounce = false | |
1558 | spinny = 0 | |
1559 | ROOTLERP.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1560 | ws = 19 | |
1561 | end | |
1562 | end) | |
1563 | ||
1564 | mouse.KeyDown:connect(function(Press) | |
1565 | Press=Press:lower() | |
1566 | if Press=='q' then | |
1567 | if mouse.Target ~= nil then | |
1568 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1569 | if debounce then return end | |
1570 | debounce = true | |
1571 | attacking = true | |
1572 | enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1573 | SOUND(Torso,862693565,10,false,5) | |
1574 | Character.Shirt.ShirtTemplate = "rbxassetid://0" | |
1575 | arm1.OverlayTextureId = 0 | |
1576 | arm2.OverlayTextureId = 653553298 | |
1577 | RightArm.BrickColor = BrickColor.new("Really black") | |
1578 | for i = 1, 400 do | |
1579 | if targetfound then break end | |
1580 | local Hit = damagealll(5,Torso.Position) | |
1581 | for _,v in pairs(Hit) do | |
1582 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
1583 | targetfound = true | |
1584 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1585 | end | |
1586 | end | |
1587 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1588 | hum:MoveTo(enemy.Parent:FindFirstChild("UpperTorso").Position) | |
1589 | else | |
1590 | hum:MoveTo(enemy.Parent:FindFirstChild("Torso").Position) | |
1591 | end | |
1592 | footsteps.Volume = 2 | |
1593 | footsteps.Pitch = 2.2 | |
1594 | ws = 30 | |
1595 | change = 2 | |
1596 | 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) | |
1597 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
1598 | 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) | |
1599 | 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) | |
1600 | 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) | |
1601 | swait() | |
1602 | end | |
1603 | if targetfound then | |
1604 | ws = 0 | |
1605 | enemy.WalkSpeed = 0 | |
1606 | SOUND(rightlocation,862701802,9,false,5) | |
1607 | footsteps.Volume = 0 | |
1608 | footsteps.Pitch = 1.6 | |
1609 | for i = 1, 12 do | |
1610 | 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) | |
1611 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.175, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)), 0.3) | |
1612 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1613 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1614 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.79,.05) * CFrame.Angles(math.rad(190),math.rad(0),math.rad(-10)),.3) | |
1615 | swait() | |
1616 | end | |
1617 | locationpartz = Instance.new("Part",Torso) | |
1618 | locationpartz.Size = Vector3.new(1,1,1) | |
1619 | locationpartz.Anchored = false | |
1620 | locationpartz.Transparency = 1 | |
1621 | locationpartz.CanCollide = false | |
1622 | locationpartz.CFrame = rightlocation.CFrame * CFrame.new(0,-1.5,0) | |
1623 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1624 | enemy.Parent.UpperTorso.CFrame = locationpartz.CFrame * CFrame.new(1,0,0) * CFrame.Angles(math.rad(-90),0,0) | |
1625 | else | |
1626 | enemy.Parent.Torso.CFrame = locationpartz.CFrame * CFrame.new(1,0,0) * CFrame.Angles(math.rad(-90),0,0) | |
1627 | end | |
1628 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1629 | weldofweld = weldBetween(locationpartz,enemy.Parent.UpperTorso) | |
1630 | else | |
1631 | weldofweld = weldBetween(locationpartz,enemy.Parent.Torso) | |
1632 | end | |
1633 | weldofweld.C0 = CFrame.Angles(math.rad(-90),0,0) | |
1634 | locationpartz.Anchored = true | |
1635 | SOUND(RightArm,877870515,7,false,6) | |
1636 | for i = 1, 250 do | |
1637 | locationpartz.CFrame = rightlocation.CFrame * CFrame.new(0,-1.5,0) | |
1638 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.44,-.125) * CFrame.Angles(math.rad(48),math.rad(0),math.rad(30)), 0.02) | |
1639 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.175, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)), 0.03) | |
1640 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1641 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1642 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.79,.05) * CFrame.Angles(math.rad(190),math.rad(0),math.rad(-12)),.03) | |
1643 | swait() | |
1644 | end | |
1645 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1646 | ded = Instance.new("Sound",enemy.Parent.UpperTorso) | |
1647 | else | |
1648 | ded = Instance.new("Sound",enemy.Parent.Torso) | |
1649 | end | |
1650 | ded.SoundId = "rbxassetid://429400881" | |
1651 | ded.Volume = 9 | |
1652 | ded.Pitch = .9 | |
1653 | ded:Play() | |
1654 | coroutine.wrap(function() | |
1655 | local energyplosion = Instance.new("Part",Torso) | |
1656 | if enemy.RigType == Enum.HumanoidRigType.R15 then | |
1657 | energyplosion.CFrame = enemy.Parent.UpperTorso.CFrame | |
1658 | else | |
1659 | energyplosion.CFrame = enemy.Parent.Torso.CFrame | |
1660 | end | |
1661 | energyplosion.Size = Vector3.new(.1,.1,.1) | |
1662 | energyplosion.BrickColor = BrickColor.new("Alder") | |
1663 | energyplosion.Anchored = true | |
1664 | energyplosion.CanCollide = false | |
1665 | energyplosion.Transparency = 0 | |
1666 | energyplosion.Shape = "Ball" | |
1667 | energyplosion.Material = "Neon" | |
1668 | for i = 1, 20 do | |
1669 | enemy.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1670 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1671 | energyplosion.Size = energyplosion.Size + Vector3.new(2,2,2) | |
1672 | energyplosion.Transparency = energyplosion.Transparency + .05 | |
1673 | swait() | |
1674 | end | |
1675 | hum.CameraOffset = Vector3.new(0,0,0) | |
1676 | enemy.CameraOffset = Vector3.new(0,0,0) | |
1677 | energyplosion:Remove() | |
1678 | end)() | |
1679 | locationpartz:Remove() | |
1680 | targetfound = false | |
1681 | arm1.MeshId = 303665934 | |
1682 | arm1.OverlayTextureId = 1539341292 | |
1683 | arm2.MeshId = 98332573 | |
1684 | arm2.OverlayTextureId = 6347925 | |
1685 | footsteps.Volume = 0 | |
1686 | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" | |
1687 | enemy.Parent:BreakJoints() | |
1688 | coroutine.wrap(function() | |
1689 | tauntsoundz = Instance.new("Sound", Head) | |
1690 | tauntsoundz.Volume = 10 | |
1691 | tauntsoundz.SoundId = "rbxassetid://246480487" | |
1692 | tauntsoundz.Looped = false | |
1693 | tauntsoundz:Play() | |
1694 | wait(3) | |
1695 | wait(tauntsoundz.TimeLength) | |
1696 | tauntsoundz:Remove() | |
1697 | end)() | |
1698 | change = .5 | |
1699 | for i = 1, 90 do | |
1700 | swait() | |
1701 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
1702 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
1703 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
1704 | 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) | |
1705 | 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) | |
1706 | end | |
1707 | attacking = false | |
1708 | debounce = false | |
1709 | else | |
1710 | footsteps.Pitch = 1.6 | |
1711 | targetfound = false | |
1712 | arm1.MeshId = 303665934 | |
1713 | arm1.OverlayTextureId = 1539341292 | |
1714 | arm2.MeshId = 98332573 | |
1715 | arm2.OverlayTextureId = 6347925 | |
1716 | footsteps.Volume = 0 | |
1717 | Character.Shirt.ShirtTemplate = "rbxassetid://863473913" | |
1718 | debounce = false | |
1719 | attacking = false | |
1720 | end | |
1721 | end | |
1722 | end | |
1723 | elseif Press=='y' then | |
1724 | if debounce then return end | |
1725 | debounce = true | |
1726 | attacking = true | |
1727 | ws = 12 | |
1728 | g1 = Instance.new("BodyGyro", Root) | |
1729 | g1.D = 175 | |
1730 | g1.P = 20000 | |
1731 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1732 | local chargo = Instance.new("Sound",rightlocation) | |
1733 | chargo.SoundId = "rbxassetid://306181935" | |
1734 | chargo.Volume = 7 | |
1735 | chargo.Looped = false | |
1736 | chargo.Pitch = 1.1 | |
1737 | chargo:Play() | |
1738 | removeuseless:AddItem(chargo,5) | |
1739 | for i = 1, 120 do | |
1740 | coroutine.wrap(function() | |
1741 | local sk = Instance.new("Part",Torso) | |
1742 | sk.CanCollide = false | |
1743 | sk.Anchored = true | |
1744 | sk.BrickColor = BrickColor.new("Alder") | |
1745 | sk.Name = "sk" | |
1746 | sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1747 | local skmesh = Instance.new("SpecialMesh",sk) | |
1748 | skmesh.MeshId = "rbxassetid://662586858" | |
1749 | skmesh.Name = "wave" | |
1750 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1751 | for i = 1, 20 do | |
1752 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
1753 | sk.Transparency = sk.Transparency + .05 | |
1754 | swait() | |
1755 | end | |
1756 | sk:Remove() | |
1757 | end)() | |
1758 | coroutine.wrap(function() | |
1759 | local wshockwave = Instance.new("Part", Torso) | |
1760 | wshockwave.Size = Vector3.new(1,1,1) | |
1761 | wshockwave.CanCollide = false | |
1762 | wshockwave.Anchored = true | |
1763 | wshockwave.Transparency = .45 | |
1764 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1765 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1766 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1767 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1768 | wshockwavemesh.Name = "wswm" | |
1769 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1770 | removeuseless:AddItem(wshockwave,2) | |
1771 | for i = 1, 20 do | |
1772 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(1,0,1) | |
1773 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1774 | swait() | |
1775 | end | |
1776 | wshockwave:Remove() | |
1777 | end)() | |
1778 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1779 | 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) | |
1780 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.03) | |
1781 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.03) | |
1782 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1783 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1784 | swait() | |
1785 | end | |
1786 | coroutine.wrap(function() | |
1787 | local bullet = Instance.new("Part",Torso) | |
1788 | bullet.CanCollide = false | |
1789 | bullet.Anchored = false | |
1790 | bullet.Size = Vector3.new(2,2,2) | |
1791 | bullet.Transparency = .5 | |
1792 | bullet.Shape = "Ball" | |
1793 | bullet.Material = "Neon" | |
1794 | bullet.BrickColor = BrickColor.new("Alder") | |
1795 | bullet.CFrame = rightlocation.CFrame | |
1796 | energloop = Instance.new("Sound",bullet) | |
1797 | energloop.Volume = 6 | |
1798 | energloop.SoundId = "rbxassetid://2607597779" | |
1799 | energloop.Looped = true | |
1800 | MAKETRAIL(bullet,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.5,ColorSequence.new(BrickColor.new("Alder").Color,BrickColor.new("Eggplant").Color)) | |
1801 | local bov = Instance.new("BodyVelocity",bullet) | |
1802 | bov.maxForce = Vector3.new(99999,99999,99999) | |
1803 | bullet.CFrame = CFrame.new(bullet.Position,mouse.Hit.p) | |
1804 | bov.velocity = bullet.CFrame.lookVector*180 | |
1805 | for i = 1, 225 do | |
1806 | local Hit = damagealll(15,bullet.Position) | |
1807 | for _,v in pairs(Hit) do | |
1808 | if v:FindFirstChildOfClass("Humanoid") and v.Name ~= Player.Name then | |
1809 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1810 | slachtoffer:TakeDamage(math.random(3,10)) | |
1811 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1812 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1813 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1814 | vel.velocity = CFrame.new(bullet.Position,torso.Position).lookVector*120 | |
1815 | removeuseless:AddItem(vel,.1) | |
1816 | end | |
1817 | end | |
1818 | local sk = Instance.new("Part",Torso) | |
1819 | sk.CanCollide = false | |
1820 | sk.Anchored = true | |
1821 | sk.BrickColor = BrickColor.new("Alder") | |
1822 | sk.Name = "sk" | |
1823 | sk.CFrame = bullet.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1824 | local skmesh = Instance.new("SpecialMesh",sk) | |
1825 | skmesh.MeshId = "rbxassetid://662586858" | |
1826 | skmesh.Name = "wave" | |
1827 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1828 | coroutine.wrap(function() | |
1829 | for i = 1, 20 do | |
1830 | skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03) | |
1831 | sk.Transparency = sk.Transparency + .05 | |
1832 | swait() | |
1833 | end | |
1834 | sk:Remove() | |
1835 | end)() | |
1836 | local wshockwave = Instance.new("Part", Torso) | |
1837 | wshockwave.Size = Vector3.new(1,1,1) | |
1838 | wshockwave.CanCollide = false | |
1839 | wshockwave.Anchored = true | |
1840 | wshockwave.Transparency = .45 | |
1841 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1842 | wshockwave.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1843 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1844 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1845 | wshockwavemesh.Name = "wswm" | |
1846 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1847 | removeuseless:AddItem(wshockwave,2) | |
1848 | coroutine.wrap(function() | |
1849 | for i = 1, 20 do | |
1850 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3,0,3) | |
1851 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1852 | swait() | |
1853 | end | |
1854 | wshockwave:Remove() | |
1855 | end)() | |
1856 | swait() | |
1857 | end | |
1858 | bullet:Remove() | |
1859 | end)() | |
1860 | energloop:Play() | |
1861 | local bems = Instance.new("Sound",rightlocation) | |
1862 | bems.SoundId = "rbxassetid://1351572613" | |
1863 | bems.Volume = 8 | |
1864 | bems:Play() | |
1865 | removeuseless:AddItem(bems,5) | |
1866 | for i = 1, 12 do | |
1867 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
1868 | 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) | |
1869 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-8), math.rad(60), math.rad(0)), 0.3) | |
1870 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1871 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1872 | swait() | |
1873 | end | |
1874 | removeuseless:AddItem(g1,.001) | |
1875 | debounce = false | |
1876 | attacking = false | |
1877 | elseif Press=='u' then | |
1878 | if mouse.Target ~= nil then | |
1879 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1880 | if debounce then return end | |
1881 | debounce = true | |
1882 | attacking = true | |
1883 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1884 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso") | |
1885 | ws = 12 | |
1886 | g1 = Instance.new("BodyGyro", Root) | |
1887 | g1.D = 175 | |
1888 | g1.P = 20000 | |
1889 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1890 | local chargo = Instance.new("Sound",rightlocation) | |
1891 | chargo.SoundId = "rbxassetid://306181935" | |
1892 | chargo.Volume = 7 | |
1893 | chargo.Looped = false | |
1894 | chargo.Pitch = 1.1 | |
1895 | chargo:Play() | |
1896 | removeuseless:AddItem(chargo,5) | |
1897 | for i = 1, 120 do | |
1898 | coroutine.wrap(function() | |
1899 | local sk = Instance.new("Part",Torso) | |
1900 | sk.CanCollide = false | |
1901 | sk.Anchored = true | |
1902 | sk.BrickColor = BrickColor.new("Alder") | |
1903 | sk.Name = "sk" | |
1904 | sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1905 | local skmesh = Instance.new("SpecialMesh",sk) | |
1906 | skmesh.MeshId = "rbxassetid://662586858" | |
1907 | skmesh.Name = "wave" | |
1908 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1909 | for i = 1, 20 do | |
1910 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
1911 | sk.Transparency = sk.Transparency + .05 | |
1912 | swait() | |
1913 | end | |
1914 | sk:Remove() | |
1915 | end)() | |
1916 | coroutine.wrap(function() | |
1917 | local wshockwave = Instance.new("Part", Torso) | |
1918 | wshockwave.Size = Vector3.new(1,1,1) | |
1919 | wshockwave.CanCollide = false | |
1920 | wshockwave.Anchored = true | |
1921 | wshockwave.Transparency = .45 | |
1922 | wshockwave.BrickColor = BrickColor.new("Alder") | |
1923 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1924 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
1925 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
1926 | wshockwavemesh.Name = "wswm" | |
1927 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
1928 | removeuseless:AddItem(wshockwave,2) | |
1929 | for i = 1, 20 do | |
1930 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(1,0,1) | |
1931 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
1932 | swait() | |
1933 | end | |
1934 | wshockwave:Remove() | |
1935 | end)() | |
1936 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
1937 | 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) | |
1938 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(2), math.rad(-40), math.rad(0)), 0.03) | |
1939 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-.3,1.8,-0) * CFrame.Angles(math.rad(-120),math.rad(99),math.rad(0)),.03) | |
1940 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.03) | |
1941 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.03) | |
1942 | swait() | |
1943 | end | |
1944 | coroutine.wrap(function() | |
1945 | local bullet = Instance.new("Part",Torso) | |
1946 | bullet.CanCollide = false | |
1947 | bullet.Anchored = false | |
1948 | bullet.Size = Vector3.new(2,2,2) | |
1949 | bullet.Transparency = .5 | |
1950 | bullet.Shape = "Ball" | |
1951 | bullet.Material = "Neon" | |
1952 | bullet.BrickColor = BrickColor.new("Alder") | |
1953 | bullet.CFrame = rightlocation.CFrame | |
1954 | energloop = Instance.new("Sound",bullet) | |
1955 | energloop.Volume = 6 | |
1956 | energloop.SoundId = "rbxassetid://2607597779" | |
1957 | energloop.Looped = true | |
1958 | MAKETRAIL(bullet,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.5,ColorSequence.new(BrickColor.new("Alder").Color,BrickColor.new("Eggplant").Color)) | |
1959 | maxsped = 45 | |
1960 | local bov = Instance.new("RocketPropulsion",bullet) | |
1961 | bov.MaxThrust = 4000 | |
1962 | bov.MaxSpeed = maxsped | |
1963 | bov.MaxTorque = Vector3.new(99999999,99999999,99999999) | |
1964 | bov.Target = ETorso | |
1965 | bov.TargetRadius = math.huge | |
1966 | bov:fire() | |
1967 | for i = 1, 1001 do | |
1968 | maxsped = maxsped + 1 | |
1969 | bov.MaxSpeed = maxsped | |
1970 | local Hit = damagealll(15,bullet.Position) | |
1971 | for _,v in pairs(Hit) do | |
1972 | if v:FindFirstChildOfClass("Humanoid") and v.Name ~= Player.Name then | |
1973 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1974 | slachtoffer:TakeDamage(1) | |
1975 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1976 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1977 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1978 | vel.velocity = CFrame.new(bullet.Position,torso.Position).lookVector*150 | |
1979 | removeuseless:AddItem(vel,.1) | |
1980 | end | |
1981 | end | |
1982 | local sk = Instance.new("Part",Torso) | |
1983 | sk.CanCollide = false | |
1984 | sk.Anchored = true | |
1985 | sk.BrickColor = BrickColor.new("Alder") | |
1986 | sk.Name = "sk" | |
1987 | sk.CFrame = bullet.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
1988 | local skmesh = Instance.new("SpecialMesh",sk) | |
1989 | skmesh.MeshId = "rbxassetid://662586858" | |
1990 | skmesh.Name = "wave" | |
1991 | skmesh.Scale = Vector3.new(.01,.001,.01) | |
1992 | coroutine.wrap(function() | |
1993 | for i = 1, 20 do | |
1994 | skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03) | |
1995 | sk.Transparency = sk.Transparency + .05 | |
1996 | swait() | |
1997 | end | |
1998 | sk:Remove() | |
1999 | end)() | |
2000 | local wshockwave = Instance.new("Part", Torso) | |
2001 | wshockwave.Size = Vector3.new(1,1,1) | |
2002 | wshockwave.CanCollide = false | |
2003 | wshockwave.Anchored = true | |
2004 | wshockwave.Transparency = .45 | |
2005 | wshockwave.BrickColor = BrickColor.new("Alder") | |
2006 | wshockwave.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2007 | local wshockwavemesh = Instance.new("SpecialMesh", wshockwave) | |
2008 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
2009 | wshockwavemesh.Name = "wswm" | |
2010 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
2011 | removeuseless:AddItem(wshockwave,2) | |
2012 | coroutine.wrap(function() | |
2013 | for i = 1, 20 do | |
2014 | wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3,0,3) | |
2015 | wshockwave.Transparency = wshockwave.Transparency + .05 | |
2016 | swait() | |
2017 | end | |
2018 | wshockwave:Remove() | |
2019 | end)() | |
2020 | swait() | |
2021 | end | |
2022 | bullet:Remove() | |
2023 | end)() | |
2024 | energloop:Play() | |
2025 | local bems = Instance.new("Sound",rightlocation) | |
2026 | bems.SoundId = "rbxassetid://1351572613" | |
2027 | bems.Volume = 8 | |
2028 | bems:Play() | |
2029 | removeuseless:AddItem(bems,5) | |
2030 | for i = 1, 12 do | |
2031 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(.2,1.4,-.3) * CFrame.Angles(math.rad(90),math.rad(230),math.rad(0)),.3) | |
2032 | 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) | |
2033 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-8), math.rad(60), math.rad(0)), 0.3) | |
2034 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2035 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2036 | swait() | |
2037 | end | |
2038 | removeuseless:AddItem(g1,.001) | |
2039 | debounce = false | |
2040 | attacking = false | |
2041 | end | |
2042 | end | |
2043 | elseif Press=='t' then | |
2044 | if oofing then return end | |
2045 | if dedlaff then return end | |
2046 | if tauntdebounce == true then return end | |
2047 | if debounce then return end | |
2048 | debounce = true | |
2049 | attacking = true | |
2050 | ws = 4 | |
2051 | coroutine.wrap(function() | |
2052 | for i = 1, 60 do | |
2053 | swait() | |
2054 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
2055 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
2056 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
2057 | 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) | |
2058 | 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) | |
2059 | end | |
2060 | debounce = false | |
2061 | attacking = false | |
2062 | ws = 19 | |
2063 | end)() | |
2064 | tauntdebounce = true | |
2065 | tauntsound = Instance.new("Sound", Head) | |
2066 | tauntsound.Volume = 10 | |
2067 | tauntsound.SoundId = "rbxassetid://246480487" | |
2068 | tauntsound.Looped = false | |
2069 | tauntsound:Play() | |
2070 | wait(3) | |
2071 | wait(tauntsound.TimeLength) | |
2072 | tauntsound:Remove() | |
2073 | wait(1) | |
2074 | tauntdebounce = false | |
2075 | end | |
2076 | end) | |
2077 | ||
2078 | mouse.KeyDown:connect(function(Press) | |
2079 | Press=Press:lower() | |
2080 | if Press=='r' then | |
2081 | if mouse.Target ~= nil then | |
2082 | if mouse.Target.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then | |
2083 | if debounce then return end | |
2084 | debounce = true | |
2085 | attacking = true | |
2086 | ws = 8 | |
2087 | enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2088 | for i = 1, 20 do | |
2089 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-2), math.rad(40), math.rad(0)), 0.3) | |
2090 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(.3,1.62,-.07) * CFrame.Angles(math.rad(-120),math.rad(-99),math.rad(0)),.3) | |
2091 | 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) | |
2092 | 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) | |
2093 | swait() | |
2094 | end | |
2095 | for i = 1, 20 do | |
2096 | if grabbed then break end | |
2097 | local Hit = damagealll(5,rightlocation.Position) | |
2098 | for _,v in pairs(Hit) do | |
2099 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
2100 | grabbed = true | |
2101 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2102 | end | |
2103 | end | |
2104 | 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) | |
2105 | 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) | |
2106 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.25,-.18,.2) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(0)),.3) | |
2107 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-40), math.rad(0)), 0.3) | |
2108 | swait() | |
2109 | end | |
2110 | if grabbed then | |
2111 | change = .5 | |
2112 | ws = 0 | |
2113 | jp = 0 | |
2114 | enemyweld = weldBetween(enemy.Parent.Head,leftlocation) | |
2115 | enemyweld.C0 = CFrame.new(0,-.6,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(180)) | |
2116 | for i = 1, 35 do | |
2117 | 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) | |
2118 | 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) | |
2119 | 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) | |
2120 | 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) | |
2121 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.8,.39) * CFrame.Angles(math.rad(-138),math.rad(0),math.rad(0)),.3) | |
2122 | swait() | |
2123 | end | |
2124 | rawr = Instance.new("Sound",Head) | |
2125 | rawr.SoundId = "rbxassetid://246480487" | |
2126 | rawr.Volume = 8 | |
2127 | rawr.Pitch = 1.05 | |
2128 | rawr:Play() | |
2129 | wait(.35) | |
2130 | for i = 1, 60 do | |
2131 | if enemy.Health > 1 then | |
2132 | enemy:TakeDamage(1) | |
2133 | end | |
2134 | hum.CameraOffset = Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
2135 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
2136 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
2137 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
2138 | 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) | |
2139 | swait() | |
2140 | end | |
2141 | hum.CameraOffset = Vector3.new(0,0,0) | |
2142 | g1 = Instance.new("BodyGyro", Root) | |
2143 | g1.D = 175 | |
2144 | g1.P = 20000 | |
2145 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2146 | for i = 1, 25 do | |
2147 | 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) | |
2148 | 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) | |
2149 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2150 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.2,.39) * CFrame.Angles(math.rad(-90),math.rad(30),math.rad(0)),.3) | |
2151 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(-0),math.rad(40),math.rad(0)),.1) | |
2152 | swait() | |
2153 | end | |
2154 | g1:Remove() | |
2155 | enemyweld:Remove() | |
2156 | throwo = Instance.new("Sound",enemy.Parent.Head) | |
2157 | throwo.SoundId = "rbxassetid://2314640406" | |
2158 | throwo.Volume = 10 | |
2159 | throwo.Pitch = .95 | |
2160 | throwo:Play() | |
2161 | enemy:TakeDamage(math.random(4,10)) | |
2162 | removeuseless:AddItem(throwo,4) | |
2163 | local bov = Instance.new("BodyVelocity",enemy.Parent.Head) | |
2164 | bov.maxForce = Vector3.new(99999,99999,99999) | |
2165 | enemy.Parent.Head.CFrame = CFrame.new(enemy.Parent.Head.Position,mouse.Hit.p) | |
2166 | bov.velocity = enemy.Parent.Head.CFrame.lookVector*100 | |
2167 | removeuseless:AddItem(bov,.25) | |
2168 | for i = 1, 25 do | |
2169 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2170 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, .1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2171 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.25,-.18,.2) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(0)),.3) | |
2172 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165, 0) * CFrame.Angles(math.rad(-0),math.rad(-40),math.rad(0)),.1) | |
2173 | swait() | |
2174 | end | |
2175 | jp = 85 | |
2176 | grabbed = false | |
2177 | debounce = false | |
2178 | attacking = false | |
2179 | else | |
2180 | ws = 19 | |
2181 | jp = 85 | |
2182 | grabbed = false | |
2183 | debounce = false | |
2184 | attacking = false | |
2185 | end | |
2186 | end | |
2187 | end | |
2188 | end | |
2189 | end) | |
2190 | ||
2191 | mouse.KeyDown:connect(function(Press) | |
2192 | Press=Press:lower() | |
2193 | if Press=='e' then | |
2194 | if debounce then return end | |
2195 | debounce = true | |
2196 | attacking = true | |
2197 | coroutine.wrap(function() | |
2198 | if dash1 then | |
2199 | dash1 = false | |
2200 | dash2 = true | |
2201 | for i = 1, 30 do | |
2202 | 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) | |
2203 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2204 | 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) | |
2205 | 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) | |
2206 | 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) | |
2207 | swait() | |
2208 | end | |
2209 | elseif dash2 then | |
2210 | dash1 = true | |
2211 | dash2 = false | |
2212 | for i = 1, 30 do | |
2213 | 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) | |
2214 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2215 | 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) | |
2216 | 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) | |
2217 | 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) | |
2218 | swait() | |
2219 | end | |
2220 | end | |
2221 | end)() | |
2222 | local boomsound = Instance.new("Sound",Torso) | |
2223 | boomsound.SoundId = "rbxassetid://1177784919" | |
2224 | boomsound.Volume = 8 | |
2225 | boomsound:Play() | |
2226 | removeuseless:AddItem(boomsound,5) | |
2227 | local tornadotwistloc = Instance.new("Part",Torso) | |
2228 | tornadotwistloc.CFrame = Root.CFrame | |
2229 | tornadotwistloc.Anchored = true | |
2230 | tornadotwistloc.Transparency = 1 | |
2231 | tornadotwistloc.CanCollide = false | |
2232 | tornadotwistloc.Size = Vector3.new(1,1,1) | |
2233 | twist = 0 | |
2234 | grassblocksloc = Instance.new("Part",Torso) | |
2235 | grassblocksloc.Size = Vector3.new(1,1,1) | |
2236 | grassblocksloc.CanCollide = false | |
2237 | grassblocksloc.Transparency = 1 | |
2238 | grassblocksloc.Anchored = false | |
2239 | grassblockslocweld = weldBetween(grassblocksloc,Torso) | |
2240 | grassblockslocweld.C0 = CFrame.new(4,4,0) | |
2241 | grassblocksloc2 = Instance.new("Part",Torso) | |
2242 | grassblocksloc2.Size = Vector3.new(1,1,1) | |
2243 | grassblocksloc2.CanCollide = false | |
2244 | grassblocksloc2.Transparency = 1 | |
2245 | grassblocksloc2.Anchored = false | |
2246 | grassblockslocweld2 = weldBetween(grassblocksloc2,Torso) | |
2247 | grassblockslocweld2.C0 = CFrame.new(-4,4,0) | |
2248 | coroutine.wrap(function() | |
2249 | for i = 1, 30 do | |
2250 | Hit = damagealll(16,Torso.Position) | |
2251 | for _,v in pairs(Hit) do | |
2252 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
2253 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
2254 | slachtoffer:TakeDamage(math.random(1,4)) | |
2255 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
2256 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2257 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
2258 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*90 | |
2259 | removeuseless:AddItem(vel,.1) | |
2260 | end | |
2261 | end | |
2262 | coroutine.wrap(function() | |
2263 | local sk = Instance.new("Part",Torso) | |
2264 | sk.CanCollide = false | |
2265 | sk.Anchored = true | |
2266 | sk.BrickColor = BrickColor.new("Alder") | |
2267 | sk.Name = "sk" | |
2268 | sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
2269 | local skmesh = Instance.new("SpecialMesh",sk) | |
2270 | skmesh.MeshId = "rbxassetid://662586858" | |
2271 | skmesh.Name = "wave" | |
2272 | skmesh.Scale = Vector3.new(.04,.01,.04) | |
2273 | removeuseless:AddItem(sk,2) | |
2274 | local energys = Instance.new("Part",Torso) | |
2275 | energys.Size = Vector3.new(3.5,3.5,3.5) | |
2276 | energys.Material = "Neon" | |
2277 | energys.BrickColor = BrickColor.new("Alder") | |
2278 | energys.Anchored = true | |
2279 | energys.CanCollide = false | |
2280 | energys.CFrame = grassblocksloc.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2281 | local energys2 = Instance.new("Part",Torso) | |
2282 | energys2.Size = Vector3.new(3.5,3.5,3.5) | |
2283 | energys2.Material = "Neon" | |
2284 | energys2.BrickColor = BrickColor.new("Alder") | |
2285 | energys2.Anchored = true | |
2286 | energys2.CanCollide = false | |
2287 | energys2.CFrame = grassblocksloc2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2288 | for i = 1, 20 do | |
2289 | skmesh.Scale = skmesh.Scale + Vector3.new(.01,0,.01) | |
2290 | sk.Transparency = sk.Transparency + .05 | |
2291 | energys2.Transparency = energys2.Transparency + .05 | |
2292 | energys.Transparency = energys.Transparency + .05 | |
2293 | swait() | |
2294 | end | |
2295 | sk:Remove() | |
2296 | energys2:Remove() | |
2297 | energys:Remove() | |
2298 | end)() | |
2299 | Root.CFrame = Root.CFrame * CFrame.new(0,0,-2.4) | |
2300 | swait() | |
2301 | end | |
2302 | debounce = false | |
2303 | attacking = false | |
2304 | end)() | |
2305 | coroutine.wrap(function() | |
2306 | - | wind.BrickColor = BrickColor.new("Really white") |
2306 | + | |
2307 | wind.Size = Vector3.new(0.5, 0.5, 0.5) | |
2308 | wind.Material = "Neon" | |
2309 | wind.BrickColor = BrickColor.new("Really black") | |
2310 | wind.Transparency = .5 | |
2311 | wind.Anchored = true | |
2312 | wind.CanCollide = false | |
2313 | wind.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),0,0) | |
2314 | windMESH = Instance.new("SpecialMesh", wind) | |
2315 | windMESH.Scale = Vector3.new(4.5,7.5,4.5) | |
2316 | windMESH.MeshId = "rbxassetid://168892432" | |
2317 | - | wind2.BrickColor = BrickColor.new("Really white") |
2317 | + | |
2318 | wind2.Size = Vector3.new(0.5, 0.5, 0.5) | |
2319 | wind2.Material = "Neon" | |
2320 | wind2.BrickColor = BrickColor.new("Really black") | |
2321 | wind2.Transparency = .5 | |
2322 | wind2.Anchored = true | |
2323 | wind2.CanCollide = false | |
2324 | wind2.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),0,0) | |
2325 | windMESH2 = Instance.new("SpecialMesh", wind2) | |
2326 | windMESH2.Scale = Vector3.new(2.5,5.5,2.5) | |
2327 | windMESH2.MeshId = "rbxassetid://168892432" | |
2328 | for i = 1, 50 do | |
2329 | twist = twist + 11 | |
2330 | windMESH.Scale = windMESH.Scale + Vector3.new(.35,.35,.35) | |
2331 | windMESH2.Scale = windMESH2.Scale + Vector3.new(.35,.35,.35) | |
2332 | wind.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),math.rad(twist),0) | |
2333 | wind2.CFrame = tornadotwistloc.CFrame * CFrame.Angles(math.rad(90),math.rad(-twist),0) | |
2334 | wind.Transparency = wind.Transparency + .015 | |
2335 | wind2.Transparency = wind2.Transparency + .015 | |
2336 | swait() | |
2337 | end | |
2338 | wind:Remove() | |
2339 | wind2:Remove() | |
2340 | end)() | |
2341 | end | |
2342 | end) | |
2343 | ||
2344 | checks1 = coroutine.wrap(function() -------Checks | |
2345 | while true do | |
2346 | hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character) | |
2347 | if Root.Velocity.y > 1 and hf == nil then | |
2348 | position = "Jump" | |
2349 | elseif Root.Velocity.y < -1 and hf == nil then | |
2350 | position = "Falling" | |
2351 | elseif Root.Velocity.Magnitude < 2 and hf ~= nil then | |
2352 | position = "Idle" | |
2353 | elseif Root.Velocity.Magnitude > 2 and hf ~= nil then | |
2354 | position = "Walking" | |
2355 | end | |
2356 | wait() | |
2357 | end | |
2358 | end) | |
2359 | checks1() | |
2360 | ||
2361 | oofing = true | |
2362 | hum.HealthChanged:Connect(function(healthz) | |
2363 | if tauntdebounce then return end | |
2364 | if dedlaff then return end | |
2365 | if oofing then return end | |
2366 | oofing = true | |
2367 | ouchtable = beingattackedtable[math.random(1,#beingattackedtable)] | |
2368 | ouch = Instance.new("Sound",Head) | |
2369 | ouch.SoundId = "rbxassetid://"..ouchtable | |
2370 | ouch.Volume = 8 | |
2371 | ouch:Play() | |
2372 | wait(1) | |
2373 | wait(ouch.TimeLength) | |
2374 | ouch:Remove() | |
2375 | wait(1) | |
2376 | oofing = false | |
2377 | end) | |
2378 | coroutine.wrap(function() | |
2379 | wait(2) | |
2380 | oofing = false | |
2381 | end)() | |
2382 | ||
2383 | OrgnC0 = Neck.C0 | |
2384 | local movelimbs = coroutine.wrap(function() | |
2385 | while RunSrv.RenderStepped:wait() do | |
2386 | TrsoLV = Torso.CFrame.lookVector | |
2387 | Dist = nil | |
2388 | Diff = nil | |
2389 | if not MseGuide then | |
2390 | print("Failed to recognize") | |
2391 | else | |
2392 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2393 | Dist = (Head.CFrame.p-Point).magnitude | |
2394 | Diff = Head.CFrame.Y-Point.Y | |
2395 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2396 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
2397 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
2398 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2399 | 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) | |
2400 | end | |
2401 | end | |
2402 | end) | |
2403 | movelimbs() | |
2404 | immortal = {} | |
2405 | for i,v in pairs(Character:GetDescendants()) do | |
2406 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then | |
2407 | 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 | |
2408 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
2409 | end | |
2410 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency}) | |
2411 | elseif v:IsA("JointInstance") then | |
2412 | table.insert(immortal,{v,v.Parent,nil,nil,nil}) | |
2413 | end | |
2414 | end | |
2415 | for e = 1, #immortal do | |
2416 | if immortal[e] ~= nil then | |
2417 | local STUFF = immortal[e] | |
2418 | local PART = STUFF[1] | |
2419 | local PARENT = STUFF[2] | |
2420 | local MATERIAL = STUFF[3] | |
2421 | local COLOR = STUFF[4] | |
2422 | local TRANSPARENCY = STUFF[5] | |
2423 | if levitate then | |
2424 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2425 | PART.Material = MATERIAL | |
2426 | PART.Color = COLOR | |
2427 | PART.Transparency = TRANSPARENCY | |
2428 | end | |
2429 | PART.AncestryChanged:connect(function() | |
2430 | PART.Parent = PARENT | |
2431 | end) | |
2432 | else | |
2433 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2434 | PART.Material = MATERIAL | |
2435 | PART.Color = COLOR | |
2436 | PART.Transparency = TRANSPARENCY | |
2437 | end | |
2438 | PART.AncestryChanged:connect(function() | |
2439 | PART.Parent = PARENT | |
2440 | end) | |
2441 | end | |
2442 | end | |
2443 | end | |
2444 | function immortality() | |
2445 | for e = 1, #immortal do | |
2446 | if immortal[e] ~= nil then | |
2447 | local STUFF = immortal[e] | |
2448 | local PART = STUFF[1] | |
2449 | local PARENT = STUFF[2] | |
2450 | local MATERIAL = STUFF[3] | |
2451 | local COLOR = STUFF[4] | |
2452 | local TRANSPARENCY = STUFF[5] | |
2453 | if PART.ClassName == "Part" and PART == Root then | |
2454 | PART.Material = MATERIAL | |
2455 | PART.Color = COLOR | |
2456 | PART.Transparency = TRANSPARENCY | |
2457 | end | |
2458 | if PART.Parent ~= PARENT then | |
2459 | hum:Remove() | |
2460 | PART.Parent = PARENT | |
2461 | hum = Instance.new("Humanoid",Character) | |
2462 | hum.Name = "nightfall" | |
2463 | end | |
2464 | end | |
2465 | end | |
2466 | end | |
2467 | alreadyflip = false | |
2468 | function jumpsound() | |
2469 | if alreadyflip then return end | |
2470 | alreadyflip = true | |
2471 | flipsound = Instance.new("Sound",Torso) | |
2472 | flipsound.SoundId = "rbxassetid://1031614266" | |
2473 | flipsound.Volume = 2 | |
2474 | flipsound.Pitch = 1 | |
2475 | flipsound:Play() | |
2476 | removeuseless:AddItem(flipsound,2) | |
2477 | wait(1) | |
2478 | alreadyflip = false | |
2479 | end | |
2480 | coroutine.wrap(function() | |
2481 | while true do | |
2482 | if hum.Health < .1 then | |
2483 | deadsound = Instance.new("Sound", Torso) | |
2484 | deadsound.Volume = 6 | |
2485 | deadsound.SoundId = "rbxassetid://1411352723" | |
2486 | deadsound:Play() | |
2487 | immortality() | |
2488 | end | |
2489 | wait() | |
2490 | end | |
2491 | end)() | |
2492 | spinny = 0 | |
2493 | local anims = coroutine.wrap(function() | |
2494 | while true do | |
2495 | settime = 0.05 | |
2496 | sine = sine + change | |
2497 | if position == "Jump" and attacking == false then | |
2498 | coroutine.wrap(function() | |
2499 | jumpsound() | |
2500 | end)() | |
2501 | spinny = spinny - 18 | |
2502 | change = 1 | |
2503 | ws = 35 | |
2504 | footsteps.Volume = 0 | |
2505 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2506 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2507 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
2508 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(spinny), math.rad(0), math.rad(0)), 0.4) | |
2509 | 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) | |
2510 | 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) | |
2511 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
2512 | 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) | |
2513 | elseif position == "Falling" and attacking == false then | |
2514 | change = 1 | |
2515 | ws = 19 | |
2516 | spinny = 0 | |
2517 | footsteps.Volume = 0 | |
2518 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
2519 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
2520 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2521 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
2522 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, .5) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
2523 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, .5) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2) | |
2524 | 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) | |
2525 | 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) | |
2526 | elseif position == "Walking" and attacking == false and running == false then | |
2527 | change = 1.2 | |
2528 | if invisible then | |
2529 | ws = 30 | |
2530 | else | |
2531 | ws = 19 | |
2532 | end | |
2533 | walking = true | |
2534 | spinny = 0 | |
2535 | footsteps.Volume = 2 | |
2536 | 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) | |
2537 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.1,-.15,.5) * CFrame.Angles(math.rad(-70),math.rad(40),math.rad(-20)),.3) | |
2538 | 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) | |
2539 | 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) | |
2540 | 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) | |
2541 | elseif position == "Idle" and attacking == false and running == false then | |
2542 | change = .5 | |
2543 | if invisible then | |
2544 | ws = 30 | |
2545 | else | |
2546 | ws = 19 | |
2547 | end | |
2548 | spinny = 0 | |
2549 | footsteps.Volume = 0 | |
2550 | 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) | |
2551 | 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) | |
2552 | 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) | |
2553 | 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) | |
2554 | 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) | |
2555 | end | |
2556 | swait() | |
2557 | end | |
2558 | end) | |
2559 | anims() | |
2560 | warn("He's here. Made by Supr14") |