SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | -- [[ Name: Hotline by Helkern ]] -- | |
3 | -- [[ Converted/Fixed/Aligned: By Melon ]] -- | |
4 | -- [[ Reanimate: By Emper ]] -- | |
5 | -- [[ https://www.roblox.com/catalog/4819740796/Robox ]] -- | |
6 | -- [[ https://www.roblox.com/catalog/5552252553/Kinetic-Staff] ]] -- | |
7 | -- [[ https://www.roblox.com/catalog/9867487176/Le-Rouge-Cross-body-Bag-3-0 ]] -- | |
8 | -- [[ https://www.roblox.com/catalog/9867481700/Le-Rouge-Cross-body-Bag-1-0 ]] -- | |
9 | -- [[ https://www.roblox.com/catalog/3409612660/International-Fedora-USA ]] -- | |
10 | -- [[ https://www.roblox.com/catalog/3033910400/International-Fedora-Germany ]] -- | |
11 | -- [[ https://www.roblox.com/catalog/3033908130/International-Fedora-France ]] -- | |
12 | -- [[ https://www.roblox.com/catalog/3398308134/International-Fedora-Canada ]] -- | |
13 | ||
14 | game:GetService("StarterGui"):SetCore("SendNotification", { | |
15 | Title = "Melon's (FE) Converts/Scripts"; | |
16 | Text = "Thanks for using!"; | |
17 | Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"}) | |
18 | Duration = 3; | |
19 | ||
20 | if not game:IsLoaded() then | |
21 | game.Loaded:Wait() | |
22 | end | |
23 | ||
24 | local function FindInstance(Parent, ClassName, Name) | |
25 | for _, Instance in pairs(Parent:GetChildren()) do | |
26 | if Instance:IsA(ClassName) and Instance.Name == Name then | |
27 | return Instance | |
28 | end | |
29 | end | |
30 | end | |
31 | ||
32 | local function WaitForClass(Parent, ClassName) | |
33 | local Instance = Parent:FindFirstChildOfClass(ClassName) | |
34 | ||
35 | while not Instance and Parent do | |
36 | Parent.ChildAdded:Wait() | |
37 | Instance = Parent:FindFirstChildOfClass(ClassName) | |
38 | end | |
39 | ||
40 | return Instance | |
41 | end | |
42 | ||
43 | local function WaitForClassOfName(Parent, ...) | |
44 | local Instance = FindInstance(Parent, ...) | |
45 | ||
46 | while not Instance and Parent do | |
47 | Parent.ChildAdded:Wait() | |
48 | Instance = FindInstance(Parent, ...) | |
49 | end | |
50 | ||
51 | return Instance | |
52 | end | |
53 | ||
54 | local Fling = { } | |
55 | local Aligns = { } | |
56 | local Blacklist = { } | |
57 | local Accessories = { } | |
58 | local Attachments = { } | |
59 | ||
60 | local Instancenew = Instance.new | |
61 | ||
62 | local taskwait = task.wait | |
63 | local taskspawn = task.spawn | |
64 | local taskdefer = task.defer | |
65 | ||
66 | local mathabs = math.abs | |
67 | local mathcos = math.cos | |
68 | local mathrandom = math.random | |
69 | ||
70 | local stringmatch = string.match | |
71 | ||
72 | local osclock = os.clock | |
73 | ||
74 | local tableinsert = table.insert | |
75 | local tableclear = table.clear | |
76 | local tablefind = table.find | |
77 | ||
78 | local CFramenew = CFrame.new | |
79 | local CFrameAngles = CFrame.Angles | |
80 | local CFrameidentity = CFrame.identity | |
81 | ||
82 | local Vector3new = Vector3.new | |
83 | local Vector3zero = Vector3.zero | |
84 | ||
85 | local Sleep = CFrameidentity | |
86 | local Velocity = Vector3new(0, 16384, 0) | |
87 | local Angular = 0 | |
88 | local Linear = 0 | |
89 | ||
90 | local Workspace = game:FindFirstChildOfClass("Workspace") | |
91 | local CurrentCamera = Workspace.CurrentCamera | |
92 | ||
93 | local Players = game:FindFirstChildOfClass("Players") | |
94 | ||
95 | local LocalPlayer = Players.LocalPlayer | |
96 | local Mouse = LocalPlayer:GetMouse() | |
97 | ||
98 | local PostSimulation = game:FindFirstChildOfClass("RunService").PostSimulation | |
99 | ||
100 | local Character = LocalPlayer.Character | |
101 | local CharacterClone = Instancenew("Model") | |
102 | ||
103 | local StarterGui = game:FindFirstChildOfClass("StarterGui") | |
104 | local BindableEvent = Instancenew("BindableEvent") | |
105 | ||
106 | local UserInputService = game:FindFirstChildOfClass("UserInputService") | |
107 | local UserInputType = Enum.UserInputType | |
108 | ||
109 | local MouseButton1 = UserInputType.MouseButton1 | |
110 | local Touch = UserInputType.Touch | |
111 | ||
112 | local InputBegan = UserInputService.InputBegan:Connect(function(Input, GameProcessed) | |
113 | local Type = Input.UserInputType | |
114 | ||
115 | if not GameProcessed and ( Type == MouseButton1 or Type == Touch ) then | |
116 | local Target = Mouse.Target | |
117 | if Target and not Target.Anchored and not Target:IsDescendantOf(CharacterClone) and not Target:IsDescendantOf(Character) and not tablefind(Fling, Target) then | |
118 | local Parent = Target.Parent | |
119 | ||
120 | if Parent:IsA("Model") and Parent ~= Character and Parent:FindFirstChildOfClass("Humanoid") then | |
121 | local HumanoidRootPart = FindInstance(Parent, "BasePart", "HumanoidRootPart") or FindInstance(Parent, "BasePart", "Torso") or FindInstance(Parent, "BasePart", "Head") | |
122 | ||
123 | if HumanoidRootPart and not tablefind(Fling, HumanoidRootPart) then | |
124 | tableinsert(Fling, HumanoidRootPart) | |
125 | return | |
126 | end | |
127 | end | |
128 | ||
129 | tableinsert(Fling, Target) | |
130 | end | |
131 | end | |
132 | end) | |
133 | ||
134 | local function Part(Name, Size) | |
135 | local Part = Instancenew("Part") | |
136 | Part.Name = Name | |
137 | Part.Size = Size | |
138 | Part.Transparency = 1 | |
139 | Part.Parent = CharacterClone | |
140 | ||
141 | return Part | |
142 | end | |
143 | ||
144 | local function Motor6D(Name, Part0, Part1, C0, C1) | |
145 | local Motor6D = Instancenew("Motor6D") | |
146 | Motor6D.Name = Name | |
147 | Motor6D.Part0 = Part0 | |
148 | Motor6D.Part1 = Part1 | |
149 | Motor6D.C0 = C0 | |
150 | Motor6D.C1 = C1 | |
151 | Motor6D.Parent = Part0 | |
152 | ||
153 | return Motor6D | |
154 | end | |
155 | ||
156 | local function Attachment(Name, CFrame, Parent) | |
157 | local Attachment = Instancenew("Attachment") | |
158 | Attachment.Name = Name | |
159 | Attachment.CFrame = CFrame | |
160 | Attachment.Parent = Parent | |
161 | ||
162 | tableinsert(Attachments, Attachment) | |
163 | return Attachment | |
164 | end | |
165 | ||
166 | local LimbSize = Vector3new(1, 2, 1) | |
167 | local TorsoSize = Vector3new(2, 2, 1) | |
168 | ||
169 | local Head = Part("Head", Vector3new(2, 1, 1)) | |
170 | local Torso = Part("Torso", TorsoSize) | |
171 | local LeftArm = Part("Left Arm", LimbSize) | |
172 | local RightArm = Part("Right Arm", LimbSize) | |
173 | local LeftLeg = Part("Left Leg", LimbSize) | |
174 | local RightLeg = Part("Right Leg", LimbSize) | |
175 | local HumanoidRootPart = Part("HumanoidRootPart", TorsoSize) | |
176 | ||
177 | local FakeRA = Instance.new("Part") | |
178 | FakeRA.Size = Vector3.new(1,2,1) | |
179 | FakeRA.Transparency = 1 | |
180 | FakeRA.BrickColor = BrickColor.new("Institutional White") | |
181 | FakeRA.Parent = RightArm | |
182 | ||
183 | local FRAW = Instance.new("Weld") | |
184 | FRAW.Part0 = RightArm | |
185 | FRAW.Part1 = FakeRA | |
186 | FRAW.C0 = CFrame.new(0, 0, 0) | |
187 | FRAW.Parent = RightArm | |
188 | ||
189 | local FakeRA2 = Instance.new("Part") | |
190 | FakeRA2.Size = Vector3.new(1,2,1) | |
191 | FakeRA2.Transparency = 1 | |
192 | FakeRA2.BrickColor = BrickColor.new("Institutional White") | |
193 | FakeRA2.Parent = RightArm | |
194 | ||
195 | local FRAW2 = Instance.new("Weld") | |
196 | FRAW2.Part0 = RightArm | |
197 | FRAW2.Part1 = FakeRA2 | |
198 | FRAW2.C0 = CFrame.new(0, 0, 0) | |
199 | FRAW2.Parent = RightArm | |
200 | ||
201 | local FakeRA3 = Instance.new("Part") | |
202 | FakeRA3.Size = Vector3.new(1,2,1) | |
203 | FakeRA3.Transparency = 1 | |
204 | FakeRA3.BrickColor = BrickColor.new("Institutional White") | |
205 | FakeRA3.Parent = RightArm | |
206 | ||
207 | local FRAW3 = Instance.new("Weld") | |
208 | FRAW3.Part0 = RightArm | |
209 | FRAW3.Part1 = FakeRA3 | |
210 | FRAW3.C0 = CFrame.new(0, 0, 0) | |
211 | FRAW3.Parent = RightArm | |
212 | -- 3 welds and parts :skul: | |
213 | local Part = nil | |
214 | ||
215 | if Character then | |
216 | Part = FindInstance(Character, "BasePart", "HumanoidRootPart") or FindInstance(Character, "BasePart", "Head") or FindInstance(Character, "BasePart", "Torso") or FindInstance(Character, "BasePart", "UpperTorso") | |
217 | end | |
218 | ||
219 | if Part then | |
220 | HumanoidRootPart.CFrame = Part.CFrame | |
221 | else | |
222 | local SpawnLocations = { } | |
223 | ||
224 | for _, SpawnLocation in pairs(Workspace:GetDescendants()) do | |
225 | if SpawnLocation:IsA("SpawnLocation") then | |
226 | tableinsert(SpawnLocations, SpawnLocation) | |
227 | end | |
228 | end | |
229 | ||
230 | local Amount = # SpawnLocations | |
231 | ||
232 | if Amount > 0 then | |
233 | local SpawnLocation = SpawnLocations[mathrandom(1, Amount)] | |
234 | HumanoidRootPart.CFrame = SpawnLocation.CFrame * CFramenew(0, SpawnLocation.Size.Y / 2 + 3, 0) | |
235 | else | |
236 | HumanoidRootPart.CFrame = CFrameidentity | |
237 | end | |
238 | end | |
239 | ||
240 | local face = Instancenew("Decal") | |
241 | face.Name = "face" | |
242 | face.Parent = Head | |
243 | ||
244 | local AccessoryTable = { | |
245 | -- Please give credits if used. -- | |
246 | -- Free -- | |
247 | { Mesh = "4819720316", Texture = "4819722776", Instance = Torso, CFrame = CFrameAngles(0, 0, 105) }, | |
248 | { Mesh = "3030546036", Texture = "3033903209", Instance = RightArm, CFrame = CFrameAngles(-90, 0, -89.5) }, | |
249 | { Mesh = "3030546036", Texture = "3360978739", Instance = LeftArm, CFrame = CFrameAngles(-90, 0, 89.5) }, | |
250 | { Mesh = "3030546036", Texture = "3409604993", Instance = RightLeg, CFrame = CFrameAngles(-90, 0, -89.5) }, | |
251 | { Mesh = "3030546036", Texture = "3033898741", Instance = LeftLeg, CFrame = CFrameAngles(-90, 0, 89.5) }, | |
252 | ||
253 | { Mesh = "9867442567", Texture = "9867451480", Instance = FakeRA, CFrame = CFramenew(-0.25, -1.45, -0.45) * CFrameAngles(0,0,-0.75) }, | |
254 | { Mesh = "9867442661", Texture = "9867451480", Instance = FakeRA2, CFrame = CFramenew(-0.25, -3.45, -0.45) * CFrameAngles(0.05,0,-0.75) }, | |
255 | { Mesh = "5548423017", Texture = "5548423938", Instance = FakeRA3, CFrame = CFramenew(-0.30,-0.15,-0.15) * CFrameAngles(0, -1.55, 0.60) }, | |
256 | } | |
257 | ||
258 | for _, Table in pairs(AccessoryTable) do | |
259 | if type(Table.Mesh) ~= "string" then | |
260 | Table.Mesh = "" | |
261 | end | |
262 | if type(Table.Texture) ~= "string" then | |
263 | Table.Texture = "" | |
264 | end | |
265 | end | |
266 | ||
267 | Motor6D("Right Shoulder", Torso, RightArm, CFramenew(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)) | |
268 | Motor6D("Left Shoulder", Torso, LeftArm, CFramenew(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)) | |
269 | Motor6D("Right Hip", Torso, RightLeg, CFramenew(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)) | |
270 | Motor6D("Left Hip", Torso, LeftLeg, CFramenew(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)) | |
271 | Motor6D("Neck", Torso, Head, CFramenew(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)) | |
272 | Motor6D("RootJoint", HumanoidRootPart, Torso, CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)) | |
273 | ||
274 | Attachment("HairAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) | |
275 | Attachment("HatAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) | |
276 | Attachment("FaceFrontAttachment", CFramenew(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) | |
277 | Attachment("FaceCenterAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) | |
278 | Attachment("NeckAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
279 | Attachment("BodyFrontAttachment", CFramenew(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
280 | Attachment("BodyBackAttachment", CFramenew(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
281 | Attachment("LeftCollarAttachment", CFramenew(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
282 | Attachment("RightCollarAttachment", CFramenew(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
283 | Attachment("WaistFrontAttachment", CFramenew(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
284 | Attachment("WaistCenterAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
285 | Attachment("WaistBackAttachment", CFramenew(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) | |
286 | Attachment("LeftShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm) | |
287 | Attachment("LeftGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm) | |
288 | Attachment("RightShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm) | |
289 | Attachment("RightGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm) | |
290 | Attachment("LeftFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftLeg) | |
291 | Attachment("RightFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightLeg) | |
292 | Attachment("RootAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), HumanoidRootPart) | |
293 | ||
294 | local Humanoid = Instancenew("Humanoid", CharacterClone) | |
295 | Instancenew("Animator", Humanoid) | |
296 | ||
297 | Instancenew("LocalScript", CharacterClone).Name = "Animate" | |
298 | ||
299 | CharacterClone.PrimaryPart = Head | |
300 | CharacterClone.Parent = Workspace | |
301 | ||
302 | local function DescendantAdded(Instance) | |
303 | if Instance:IsA("Accessory") then | |
304 | taskspawn(function() | |
305 | local Handle = WaitForClassOfName(Instance, "BasePart", "Handle") | |
306 | local Attachment = WaitForClass(Handle, "Attachment") | |
307 | ||
308 | local Clone = Instance:Clone() | |
309 | ||
310 | local CloneHandle = FindInstance(Clone, "BasePart", "Handle") | |
311 | CloneHandle.Transparency = 1 | |
312 | CloneHandle:BreakJoints() | |
313 | ||
314 | local AccessoryWeld = Instancenew("Weld") | |
315 | AccessoryWeld.Name = "AccessoryWeld" | |
316 | AccessoryWeld.Part0 = CloneHandle | |
317 | AccessoryWeld.C0 = Attachment.CFrame | |
318 | ||
319 | local Name = Attachment.Name | |
320 | ||
321 | for _, TableAttachment in pairs(Attachments) do | |
322 | if TableAttachment.Name == Name then | |
323 | AccessoryWeld.Part1 = TableAttachment.Parent | |
324 | AccessoryWeld.C1 = TableAttachment.CFrame | |
325 | end | |
326 | end | |
327 | ||
328 | AccessoryWeld.Parent = CloneHandle | |
329 | Clone.Parent = CharacterClone | |
330 | ||
331 | tableinsert(Accessories, Clone) | |
332 | ||
333 | local IsAMeshPart = CloneHandle:IsA("MeshPart") | |
334 | local Mesh = IsAMeshPart and CloneHandle or WaitForClass(CloneHandle, "SpecialMesh") | |
335 | local Id = IsAMeshPart and "TextureID" or "TextureId" | |
336 | ||
337 | for _, Table in pairs(AccessoryTable) do | |
338 | local Instance = Table.Instance | |
339 | ||
340 | if Instance then | |
341 | if stringmatch(Mesh.MeshId, Table.Mesh) and stringmatch(Mesh[Id], Table.Texture) and not tablefind(Blacklist, Instance) then | |
342 | tableinsert(Blacklist, Instance) | |
343 | tableinsert(Aligns, { Handle, Instance, Table.CFrame or CFrameidentity }) | |
344 | return | |
345 | end | |
346 | end | |
347 | end | |
348 | ||
349 | tableinsert(Aligns, { Handle, CloneHandle, CFrameidentity }) | |
350 | end) | |
351 | elseif Instance:IsA("JointInstance") then | |
352 | taskspawn(function() | |
353 | taskwait() | |
354 | Instance:Destroy() | |
355 | end) | |
356 | end | |
357 | end | |
358 | ||
359 | local function CharacterAdded(Character) | |
360 | if Character ~= CharacterClone then | |
361 | PostSimulation:Wait() | |
362 | ||
363 | local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack") | |
364 | ||
365 | if Backpack then | |
366 | Backpack:ClearAllChildren() | |
367 | end | |
368 | ||
369 | tableclear(Aligns) | |
370 | tableclear(Blacklist) | |
371 | ||
372 | for _, Accessory in pairs(Accessories) do | |
373 | Accessory:Destroy() | |
374 | end | |
375 | ||
376 | local CurrentCameraCFrame = CurrentCamera.CFrame | |
377 | ||
378 | LocalPlayer.Character = CharacterClone | |
379 | CurrentCamera.CameraSubject = CharacterClone.Head | |
380 | ||
381 | taskspawn(function() | |
382 | CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait() | |
383 | CurrentCamera.CFrame = CurrentCameraCFrame | |
384 | end) | |
385 | ||
386 | local CharacterHumanoidRootPart = WaitForClassOfName(Character, "BasePart", "HumanoidRootPart") | |
387 | ||
388 | for Index, Value in pairs(Fling) do | |
389 | local BasePart = nil | |
390 | ||
391 | if typeof(Value) == "Instance" then | |
392 | if Value:IsA("BasePart") then | |
393 | BasePart = Value | |
394 | elseif Value:IsA("Humanoid") then | |
395 | local Model = Value.Parent | |
396 | ||
397 | if Model ~= Character and Model:IsA("Model") then | |
398 | BasePart = FindInstance(Model, "BasePart", "HumanoidRootPart") or FindInstance(Model, "BasePart", "Head") or Model:FindFirstChildOfClass("BasePart") | |
399 | end | |
400 | elseif Value:IsA("Model") and Value ~= Character then | |
401 | BasePart = FindInstance(Value, "BasePart", "HumanoidRootPart") or FindInstance(Value, "BasePart", "Head") or Value:FindFirstChildOfClass("BasePart") | |
402 | end | |
403 | end | |
404 | ||
405 | if BasePart then | |
406 | local clock = osclock() | |
407 | ||
408 | while CharacterHumanoidRootPart and BasePart and osclock() - clock <= 1 and BasePart.AssemblyLinearVelocity.Magnitude <= 60 do | |
409 | CharacterHumanoidRootPart.AssemblyAngularVelocity = Velocity | |
410 | CharacterHumanoidRootPart.AssemblyLinearVelocity = Velocity | |
411 | ||
412 | CharacterHumanoidRootPart.CFrame = BasePart.CFrame + Vector3new(0, - 1, 0) | |
413 | PostSimulation:Wait() | |
414 | end | |
415 | end | |
416 | end | |
417 | ||
418 | tableclear(Fling) | |
419 | ||
420 | if CharacterHumanoidRootPart then | |
421 | CharacterHumanoidRootPart.AssemblyAngularVelocity = Vector3zero | |
422 | CharacterHumanoidRootPart.AssemblyLinearVelocity = Vector3zero | |
423 | ||
424 | CharacterHumanoidRootPart.CFrame = CFramenew(HumanoidRootPart.Position + Vector3new(mathrandom(- 32, 32), 0, mathrandom(- 32, 32))) | |
425 | PostSimulation:Wait() | |
426 | end | |
427 | ||
428 | Character:BreakJoints() | |
429 | ||
430 | for _, Instance in pairs(Character:GetDescendants()) do | |
431 | DescendantAdded(Instance) | |
432 | end | |
433 | ||
434 | Character.DescendantAdded:Connect(DescendantAdded) | |
435 | end | |
436 | end | |
437 | ||
438 | local function Align(Part0, Part1, CFrame) | |
439 | if Part0.ReceiveAge == 0 and not Part0.Anchored and # Part0:GetJoints() == 0 then | |
440 | Part0.AssemblyAngularVelocity = Vector3new(0, Angular, 0) | |
441 | ||
442 | local Part1CFrame = Part1.CFrame | |
443 | local LinearVelocity = Part1.AssemblyLinearVelocity * Linear | |
444 | local Magnitude = LinearVelocity.Magnitude < Linear | |
445 | ||
446 | if Magnitude then | |
447 | local LookVector = Part1CFrame.LookVector * Linear | |
448 | Part0.AssemblyLinearVelocity = Vector3new(LookVector.X, Linear, LookVector.Z) | |
449 | else | |
450 | Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Linear, LinearVelocity.Z) | |
451 | end | |
452 | ||
453 | Part0.CFrame = Part1CFrame * ( Magnitude and Sleep or CFrameidentity ) * CFrame | |
454 | end | |
455 | end | |
456 | ||
457 | if Character then | |
458 | CharacterAdded(Character) | |
459 | end | |
460 | ||
461 | local Added = LocalPlayer.CharacterAdded:Connect(CharacterAdded) | |
462 | ||
463 | local Connection = game:FindFirstChildOfClass("RunService").PostSimulation:Connect(function() | |
464 | local osclock = osclock() | |
465 | local Axis = 0.004 * mathcos(osclock * 17.5) | |
466 | ||
467 | Sleep = CFramenew(0, Axis, 0) | |
468 | Angular = mathcos(osclock) | |
469 | Linear = 26 | |
470 | ||
471 | for _, Table in pairs(Aligns) do | |
472 | Align(Table[1], Table[2], Table[3]) | |
473 | end | |
474 | ||
475 | if sethiddenproperty then | |
476 | sethiddenproperty(LocalPlayer, "SimulationRadius", 10000000) | |
477 | end | |
478 | ||
479 | StarterGui:SetCore("ResetButtonCallback", BindableEvent) -- This is if it gets overriden, just like in MyWorld testing place. | |
480 | end) | |
481 | ||
482 | local function Event() | |
483 | CharacterClone:Destroy() | |
484 | end | |
485 | ||
486 | BindableEvent.Event:Connect(Event) | |
487 | ||
488 | CharacterClone:GetPropertyChangedSignal("Parent"):Connect(function() | |
489 | if not CharacterClone.Parent then | |
490 | Added:Disconnect() | |
491 | Connection:Disconnect() | |
492 | ||
493 | CharacterClone:Destroy() | |
494 | ||
495 | if BindableEvent then | |
496 | BindableEvent:Destroy() | |
497 | end | |
498 | ||
499 | StarterGui:SetCore("ResetButtonCallback", true) | |
500 | end | |
501 | end) | |
502 | ||
503 | BindableEvent:GetPropertyChangedSignal("Parent"):Connect(Event) | |
504 | Player = game:GetService("Players").LocalPlayer | |
505 | Character = Player.Character | |
506 | PlayerGui = Player.PlayerGui | |
507 | Backpack = Player.Backpack | |
508 | Torso = Character.Torso | |
509 | - | Text = "Loaded successfully!"; |
509 | + | Head = Character.Head |
510 | LeftArm = Character["Left Arm"] | |
511 | LeftLeg = Character["Left Leg"] | |
512 | RightArm = Character["Right Arm"] | |
513 | - | Player = game.Players.LocalPlayer |
513 | + | RightLeg = Character["Right Leg"] |
514 | - | PlayerGui = Player.PlayerGui |
514 | + | LS = Torso["Left Shoulder"] |
515 | - | Cam = workspace.CurrentCamera |
515 | + | LH = Torso["Left Hip"] |
516 | - | Backpack = Player.Backpack |
516 | + | RS = Torso["Right Shoulder"] |
517 | - | Character = Player.Character |
517 | + | RH = Torso["Right Hip"] |
518 | - | Humanoid = Character.Humanoid |
518 | + | attack = false |
519 | - | RootPart = Character["HumanoidRootPart"] |
519 | + | attackdebounce = false |
520 | - | Torso = Character["Torso"] |
520 | + | combo = 0 |
521 | - | Head = Character["Head"] |
521 | + | mana = 800 |
522 | - | RightArm = Character["Right Arm"] |
522 | + | necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
523 | - | LeftArm = Character["Left Arm"] |
523 | + | comboing = false |
524 | - | RightLeg = Character["Right Leg"] |
524 | + | --player |
525 | - | LeftLeg = Character["Left Leg"] |
525 | + | player = nil |
526 | - | RootJoint = RootPart["RootJoint"] |
526 | + | --save shoulders |
527 | - | Neck = Torso["Neck"] |
527 | + | RSH, LSH = nil, nil |
528 | - | RightShoulder = Torso["Right Shoulder"] |
528 | + | --welds |
529 | - | LeftShoulder = Torso["Left Shoulder"] |
529 | + | RW, LW = Instance.new("Weld"), Instance.new("Weld") |
530 | - | RightHip = Torso["Right Hip"] |
530 | + | --what anim |
531 | - | LeftHip = Torso["Left Hip"] |
531 | + | anim = "none" |
532 | - | Mouse =Player:GetMouse() |
532 | + | if Character:findFirstChild("Harute",true) ~= nil then |
533 | - | local sick = Instance.new("Sound",Character) |
533 | + | Character:findFirstChild("Harute",true).Parent = nil |
534 | - | sick.Parent = Torso |
534 | + | end |
535 | - | sick:resume() |
535 | + | if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then |
536 | - | sick.Volume = 3 |
536 | + | Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil |
537 | - | sick.TimePosition = 121.5 |
537 | + | end |
538 | - | sick.Pitch = 1 |
538 | + | local modelzorz = Instance.new("Model") |
539 | - | sick.Looped = true |
539 | + | modelzorz.Name = "Harute" |
540 | - | sick.SoundId = "rbxassetid://551371567" |
540 | + | modelzorz.Parent = Character |
541 | - | sick.Name = "Rifle" |
541 | + | local prt1 = Instance.new("Part") |
542 | - | IT = Instance.new |
542 | + | prt1.formFactor = 1 |
543 | - | CF = CFrame.new |
543 | + | prt1.Parent = modelzorz |
544 | - | VT = Vector3.new |
544 | + | prt1.CanCollide = false |
545 | - | RAD = math.rad |
545 | + | prt1.BrickColor = BrickColor.new("Really black") |
546 | - | C3 = Color3.new |
546 | + | prt1.Name = "Part1" |
547 | - | UD2 = UDim2.new |
547 | + | prt1.Transparency = 0.4 |
548 | - | BRICKC = BrickColor.new |
548 | + | prt1.Size = Vector3.new(1,1,1) |
549 | - | ANGLES = CFrame.Angles |
549 | + | prt1.Position = Torso.Position |
550 | - | EULER = CFrame.fromEulerAnglesXYZ |
550 | + | local prt2 = Instance.new("Part") |
551 | - | COS = math.cos |
551 | + | prt2.formFactor = 1 |
552 | - | ACOS = math.acos |
552 | + | prt2.Parent = modelzorz |
553 | - | SIN = math.sin |
553 | + | prt2.CanCollide = false |
554 | - | ASIN = math.asin |
554 | + | prt2.BrickColor = BrickColor.new("Bright red") |
555 | - | ABS = math.abs |
555 | + | prt2.Name = "Part2" |
556 | - | MRANDOM = math.random |
556 | + | prt2.Transparency = 0.4 |
557 | - | FLOOR = math.floor |
557 | + | prt2.Size = Vector3.new(1,1,1) |
558 | - | M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} |
558 | + | prt2.Position = Torso.Position |
559 | - | Animation_Speed = 3 |
559 | + | local prt3 = Instance.new("Part") |
560 | - | local FORCERESET = false |
560 | + | prt3.formFactor = 1 |
561 | - | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
561 | + | prt3.Parent = modelzorz |
562 | - | local Speed = 16 |
562 | + | prt3.CanCollide = false |
563 | - | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
563 | + | prt3.BrickColor = BrickColor.new("Really black") |
564 | - | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
564 | + | prt3.Name = "Part3" |
565 | - | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) |
565 | + | prt3.Transparency = 0.4 |
566 | - | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) |
566 | + | prt3.Size = Vector3.new(1,1,1) |
567 | - | local DAMAGEMULTIPLIER = 1 |
567 | + | prt3.Position = Torso.Position |
568 | - | local ANIM = "Idle" |
568 | + | local prt4 = Instance.new("Part") |
569 | - | local ATTACK = false |
569 | + | prt4.formFactor = 1 |
570 | - | local EQUIPPED = false |
570 | + | prt4.Parent = modelzorz |
571 | - | local HOLD = false |
571 | + | prt4.CanCollide = false |
572 | - | local COMBO = 1 |
572 | + | prt4.BrickColor = BrickColor.new("Bright red") |
573 | - | local Rooted = false |
573 | + | prt4.Name = "Part4" |
574 | - | local SINE = 0 |
574 | + | prt4.Transparency = 0.4 |
575 | - | local KEYHOLD = false |
575 | + | prt4.Size = Vector3.new(1,1,1) |
576 | - | local CHANGE = 2 / Animation_Speed |
576 | + | prt4.Position = Torso.Position |
577 | - | local WALKINGANIM = false |
577 | + | local prt5 = Instance.new("Part") |
578 | - | local VALUE1 = false |
578 | + | prt5.formFactor = 1 |
579 | - | local VALUE2 = false |
579 | + | prt5.Parent = modelzorz |
580 | - | local ROBLOXIDLEANIMATION = IT("Animation") |
580 | + | prt5.CanCollide = false |
581 | - | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" |
581 | + | prt5.BrickColor = BrickColor.new("Really black") |
582 | - | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
582 | + | prt5.Name = "Part5" |
583 | - | --ROBLOXIDLEANIMATION.Parent = Humanoid |
583 | + | prt5.Transparency = 0.4 |
584 | - | local Heads = IT("Folder", Character) |
584 | + | prt5.Size = Vector3.new(1,1,1) |
585 | - | Heads.Name = "bruh gun" |
585 | + | prt5.Position = Torso.Position |
586 | - | local WEAPONGUI = IT("ScreenGui", PlayerGui) |
586 | + | local prt6 = Instance.new("Part") |
587 | - | WEAPONGUI.Name = "BanishV3Gui" |
587 | + | prt6.formFactor = 1 |
588 | - | local Weapon = IT("Model") |
588 | + | prt6.Parent = modelzorz |
589 | - | Weapon.Name = "Adds" |
589 | + | prt6.CanCollide = false |
590 | - | local Effects = IT("Folder", Weapon) |
590 | + | prt6.BrickColor = BrickColor.new("Bright red") |
591 | - | Effects.Name = "Effects" |
591 | + | prt6.Name = "Part6" |
592 | - | local ANIMATOR = Humanoid.Animator |
592 | + | prt6.Transparency = 0.4 |
593 | - | local ANIMATE = Character:FindFirstChild("Animate") |
593 | + | prt6.Size = Vector3.new(1,1,1) |
594 | - | local UNANCHOR = true |
594 | + | prt6.Position = Torso.Position |
595 | - | local TOBANISH = {} |
595 | + | local prt7 = Instance.new("Part") |
596 | - | script.Parent = PlayerGui |
596 | + | prt7.formFactor = 1 |
597 | prt7.Parent = modelzorz | |
598 | - | --//=================================\\ |
598 | + | prt7.CanCollide = false |
599 | - | --\\=================================// |
599 | + | prt7.BrickColor = BrickColor.new("Really black") |
600 | - | --name |
600 | + | prt7.Name = "Part7" |
601 | - | local BillboardGui = Instance.new("BillboardGui") |
601 | + | prt7.Transparency = 0.4 |
602 | - | local TextLabel = Instance.new("TextLabel") |
602 | + | prt7.Size = Vector3.new(1,1,1) |
603 | - | --Properties: |
603 | + | prt7.Position = Torso.Position |
604 | - | BillboardGui.Parent = Character.Torso |
604 | + | local prt8 = Instance.new("Part") |
605 | - | BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling |
605 | + | prt8.formFactor = 1 |
606 | - | BillboardGui.Active = true |
606 | + | prt8.Parent = modelzorz |
607 | - | BillboardGui.LightInfluence = 0 |
607 | + | prt8.CanCollide = false |
608 | - | BillboardGui.Size = UDim2.new(0, 200, 9, 50) |
608 | + | prt8.BrickColor = BrickColor.new("Bright red") |
609 | prt8.Name = "Part8" | |
610 | - | TextLabel.Parent = BillboardGui |
610 | + | prt8.Transparency = 0.4 |
611 | - | TextLabel.BackgroundColor3 = Color3.fromRGB(255,255,255) |
611 | + | prt8.Size = Vector3.new(1,1,1) |
612 | - | TextLabel.BackgroundTransparency = 1 |
612 | + | prt8.Position = Torso.Position |
613 | - | TextLabel.Size = UDim2.new(0, 200, 0, 70) |
613 | + | local msh1 = Instance.new("BlockMesh") |
614 | - | TextLabel.Font = Enum.Font.Arcade |
614 | + | msh1.Parent = prt1 |
615 | - | TextLabel.TextColor3 = Color3.new(255, 255, 255) |
615 | + | msh1.Scale = Vector3.new(0.5,1,0.5) |
616 | - | TextLabel.TextSize = 20 |
616 | + | local msh2 = Instance.new("BlockMesh") |
617 | - | TextLabel.Text = "The Hotline" |
617 | + | msh2.Parent = prt2 |
618 | - | TextLabel.TextStrokeColor3 = Color3.fromRGB(0,0,0) |
618 | + | msh2.Scale = Vector3.new(0.5,1,0.5) |
619 | - | TextLabel.TextStrokeTransparency = 0 |
619 | + | local msh3 = Instance.new("BlockMesh") |
620 | msh3.Parent = prt3 | |
621 | - | function thatsacoolname(text,color1,color2,font) |
621 | + | msh3.Scale = Vector3.new(0.5,1,0.5) |
622 | - | TextLabel.Font = font |
622 | + | local msh4 = Instance.new("BlockMesh") |
623 | - | TextLabel.TextColor3 = color1 |
623 | + | msh4.Parent = prt4 |
624 | - | TextLabel.Text = "["..text.."]" |
624 | + | msh4.Scale = Vector3.new(0.5,1,0.5) |
625 | - | TextLabel.TextStrokeColor3 = color2 |
625 | + | local msh5 = Instance.new("BlockMesh") |
626 | - | PlayerGui.DeepGUI.Decal.TextLabel.Text = "["..text.."]" |
626 | + | msh5.Parent = prt5 |
627 | - | Player.Character.CORE.neom.Color = color1 |
627 | + | msh5.Scale = Vector3.new(0.5,1,0.5) |
628 | local msh6 = Instance.new("BlockMesh") | |
629 | - | --name |
629 | + | msh6.Parent = prt6 |
630 | msh6.Scale = Vector3.new(0.5,1,0.5) | |
631 | - | local Filter = false |
631 | + | local msh7 = Instance.new("BlockMesh") |
632 | - | --//=================================\\ |
632 | + | msh7.Parent = prt7 |
633 | - | --|| SAZERENOS' ARTIFICIAL HEARTBEAT |
633 | + | msh7.Scale = Vector3.new(0.5,1,0.5) |
634 | - | --\\=================================// |
634 | + | local msh8 = Instance.new("BlockMesh") |
635 | msh8.Parent = prt8 | |
636 | - | ArtificialHB = Instance.new("BindableEvent", script) |
636 | + | msh8.Scale = Vector3.new(0.5,1,0.5) |
637 | - | ArtificialHB.Name = "ArtificialHB" |
637 | + | local wld1 = Instance.new("Weld") |
638 | wld1.Parent = prt1 | |
639 | - | script:WaitForChild("ArtificialHB") |
639 | + | wld1.Part0 = prt1 |
640 | wld1.Part1 = Torso | |
641 | - | frame = Frame_Speed |
641 | + | wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0) |
642 | - | tf = 0 |
642 | + | local wld2 = Instance.new("Weld") |
643 | - | allowframeloss = false |
643 | + | wld2.Parent = prt2 |
644 | - | tossremainder = false |
644 | + | wld2.Part0 = prt2 |
645 | - | lastframe = tick() |
645 | + | wld2.Part1 = Torso |
646 | - | script.ArtificialHB:Fire() |
646 | + | wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
647 | local wld3 = Instance.new("Weld") | |
648 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
648 | + | wld3.Parent = prt3 |
649 | - | tf = tf + s |
649 | + | wld3.Part0 = prt3 |
650 | - | if tf >= frame then |
650 | + | wld3.Part1 = Torso |
651 | - | if allowframeloss then |
651 | + | wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
652 | - | script.ArtificialHB:Fire() |
652 | + | local wld4 = Instance.new("Weld") |
653 | - | lastframe = tick() |
653 | + | wld4.Parent = prt4 |
654 | wld4.Part0 = prt4 | |
655 | - | for i = 1, math.floor(tf / frame) do |
655 | + | wld4.Part1 = Torso |
656 | - | script.ArtificialHB:Fire() |
656 | + | wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
657 | local wld5 = Instance.new("Weld") | |
658 | - | lastframe = tick() |
658 | + | wld5.Parent = prt5 |
659 | wld5.Part0 = prt5 | |
660 | - | if tossremainder then |
660 | + | wld5.Part1 = Torso |
661 | - | tf = 0 |
661 | + | wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
662 | local wld6 = Instance.new("Weld") | |
663 | - | tf = tf - frame * math.floor(tf / frame) |
663 | + | wld6.Parent = prt6 |
664 | wld6.Part0 = prt6 | |
665 | wld6.Part1 = Torso | |
666 | wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
667 | - | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) |
667 | + | local wld7 = Instance.new("Weld") |
668 | - | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
668 | + | wld7.Parent = prt7 |
669 | wld7.Part0 = prt7 | |
670 | wld7.Part1 = Torso | |
671 | - | function PositiveAngle(NUMBER) |
671 | + | wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
672 | - | if NUMBER >= 0 then |
672 | + | local wld8 = Instance.new("Weld") |
673 | - | NUMBER = 0 |
673 | + | wld8.Parent = prt8 |
674 | wld8.Part0 = prt8 | |
675 | - | return NUMBER |
675 | + | wld8.Part1 = Torso |
676 | wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
677 | local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL | |
678 | - | function NegativeAngle(NUMBER) |
678 | + | --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" |
679 | - | if NUMBER <= 0 then |
679 | + | SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" |
680 | - | NUMBER = 0 |
680 | + | SlashSound.Parent = modelzorz |
681 | SlashSound.Volume = .7 | |
682 | - | return NUMBER |
682 | + | SlashSound.Pitch = 1 |
683 | local SlashSound = Instance.new("Sound") | |
684 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
685 | - | function Swait(NUMBER) |
685 | + | SlashSound.Parent = workspace |
686 | - | if NUMBER == 0 or NUMBER == nil then |
686 | + | SlashSound.Volume = .5 |
687 | - | ArtificialHB.Event:wait() |
687 | + | SlashSound.Pitch = 1 |
688 | local SlashSound = Instance.new("Sound") | |
689 | - | for i = 1, NUMBER do |
689 | + | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" |
690 | - | ArtificialHB.Event:wait() |
690 | + | SlashSound.Parent = workspace |
691 | SlashSound.Volume = .7 | |
692 | SlashSound.Pitch = 1 | |
693 | local SlashSound = Instance.new("Sound") | |
694 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
695 | - | local S = IT("Sound",script) |
695 | + | SlashSound.Parent = workspace |
696 | - | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) |
696 | + | SlashSound.Volume = .7 |
697 | - | local NEWSOUND = nil |
697 | + | SlashSound.Pitch = 1 |
698 | - | coroutine.resume(coroutine.create(function() |
698 | + | local fengui = Instance.new("GuiMain") |
699 | - | NEWSOUND = S:Clone() |
699 | + | fengui.Parent = Player.PlayerGui |
700 | - | NEWSOUND.Parent = PARENT |
700 | + | fengui.Name = "manaGUI" |
701 | - | NEWSOUND.Volume = VOLUME |
701 | + | local fenframe = Instance.new("Frame") |
702 | - | NEWSOUND.Pitch = PITCH |
702 | + | fenframe.Parent = fengui |
703 | - | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID |
703 | + | fenframe.BackgroundColor3 = Color3.new(255,255,255) |
704 | - | NEWSOUND:play() |
704 | + | fenframe.BackgroundTransparency = 1 |
705 | - | if DOESLOOP == true then |
705 | + | fenframe.BorderColor3 = Color3.new(17,17,17) |
706 | - | NEWSOUND.Looped = true |
706 | + | fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0) |
707 | local fentext = Instance.new("TextLabel") | |
708 | - | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT |
708 | + | fentext.Parent = fenframe |
709 | - | NEWSOUND:remove() |
709 | + | fentext.Text = "Energy("..mana..")" |
710 | fentext.BackgroundTransparency = 1 | |
711 | - | end)) |
711 | + | fentext.SizeConstraint = "RelativeXY" |
712 | - | return NEWSOUND |
712 | + | fentext.TextXAlignment = "Center" |
713 | fentext.TextYAlignment = "Center" | |
714 | - | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) |
714 | + | fentext.Position = UDim2.new(0,80,1,200) |
715 | - | local NEWMESH = IT(MESH) |
715 | + | local fentext2 = Instance.new("TextLabel") |
716 | - | if MESH == "SpecialMesh" then |
716 | + | fentext2.Parent = fenframe |
717 | - | NEWMESH.MeshType = MESHTYPE |
717 | + | fentext2.Text = " " |
718 | - | if MESHID ~= "nil" and MESHID ~= "" then |
718 | + | fentext2.BackgroundTransparency = 0 |
719 | - | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID |
719 | + | fentext2.BackgroundColor3 = Color3.new(0,0,0) |
720 | fentext2.SizeConstraint = "RelativeXY" | |
721 | - | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then |
721 | + | fentext2.TextXAlignment = "Center" |
722 | - | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID |
722 | + | fentext2.TextYAlignment = "Center" |
723 | fentext2.Position = UDim2.new(0,10,1,170) | |
724 | fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0) | |
725 | - | NEWMESH.Offset = OFFSET or VT(0, 0, 0) |
725 | + | local fentext3 = Instance.new("TextLabel") |
726 | - | NEWMESH.Scale = SCALE |
726 | + | fentext3.Parent = fenframe |
727 | - | NEWMESH.Parent = PARENT |
727 | + | fentext3.Text = " " |
728 | - | return NEWMESH |
728 | + | fentext3.BackgroundTransparency = 0 |
729 | fentext3.BackgroundColor3 = Color3.new(1,1,0) | |
730 | fentext3.SizeConstraint = "RelativeXY" | |
731 | - | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) |
731 | + | fentext3.TextXAlignment = "Center" |
732 | - | local NEWPART = IT("Part") |
732 | + | fentext3.TextYAlignment = "Center" |
733 | - | NEWPART.formFactor = FORMFACTOR |
733 | + | fentext3.Position = UDim2.new(0,10,1,170) |
734 | - | NEWPART.Reflectance = REFLECTANCE |
734 | + | fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0) |
735 | - | NEWPART.Transparency = TRANSPARENCY |
735 | + | --2.9000001, 0}, {0.450000018, 0} |
736 | - | NEWPART.CanCollide = false |
736 | + | local gairo = Instance.new("BodyGyro") |
737 | - | NEWPART.Locked = true |
737 | + | gairo.Parent = nil |
738 | - | NEWPART.Anchored = true |
738 | + | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge |
739 | - | if ANCHOR == false then |
739 | + | gairo.P = 20e+003 |
740 | - | NEWPART.Anchored = false |
740 | + | if (script.Parent.className ~= "HopperBin") then |
741 | Tool = Instance.new("HopperBin") | |
742 | - | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) |
742 | + | Tool.Parent = Backpack |
743 | - | NEWPART.Name = NAME |
743 | + | Tool.Name = "Harute" |
744 | - | NEWPART.Size = SIZE |
744 | + | script.Parent = Tool |
745 | - | NEWPART.Position = Torso.Position |
745 | + | end |
746 | - | NEWPART.Material = MATERIAL |
746 | + | Bin = script.Parent |
747 | - | NEWPART:BreakJoints() |
747 | + | function hideanim() |
748 | - | NEWPART.Parent = PARENT |
748 | + | end |
749 | - | return NEWPART |
749 | + | function equipanim() |
750 | end | |
751 | function onehit() | |
752 | - | local function weldBetween(a, b) |
752 | + | if mana >= 0 then |
753 | - | local weldd = Instance.new("ManualWeld") |
753 | + | attack = true |
754 | - | weldd.Part0 = a |
754 | + | comboing = true |
755 | - | weldd.Part1 = b |
755 | + | for i = 0,1,0.1 do |
756 | - | weldd.C0 = CFrame.new() |
756 | + | wait() |
757 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
757 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
758 | - | weldd.Parent = a |
758 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
759 | - | return weldd |
759 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
760 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
761 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
762 | - | local naeeym2 = Instance.new("BillboardGui",Character) |
762 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
763 | - | naeeym2.AlwaysOnTop = true |
763 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
764 | - | naeeym2.Size = UDim2.new(5,35,2,35) |
764 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
765 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
765 | + | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
766 | - | naeeym2.Adornee = Character.Head |
766 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
767 | - | naeeym2.Name = "Name" |
767 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
768 | - | local tecks2 = Instance.new("TextLabel",naeeym2) |
768 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
769 | - | tecks2.BackgroundTransparency = 1 |
769 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
770 | - | tecks2.TextScaled = true |
770 | + | end |
771 | - | tecks2.BorderSizePixel = 0 |
771 | + | wait(0.1) |
772 | - | tecks2.Text = "template" |
772 | + | gairo.Parent = Head |
773 | - | tecks2.Font = "Code" |
773 | + | gairo.cframe = Head.CFrame |
774 | - | tecks2.TextSize = 30 |
774 | + | for i = 0,1,0.1 do |
775 | - | tecks2.TextTransparency = 1 |
775 | + | wait() |
776 | - | tecks2.TextStrokeTransparency = 1 |
776 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1*i) |
777 | - | tecks2.Size = UDim2.new(1,0,0.5,0) |
777 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5*i) |
778 | - | tecks2.Parent = naeeym2 |
778 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
779 | - | function QuaternionFromCFrame(cf) |
779 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
780 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
780 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
781 | - | local trace = m00 + m11 + m22 |
781 | + | --[[wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
782 | - | if trace > 0 then |
782 | + | wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
783 | - | local s = math.sqrt(1 + trace) |
783 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) ]] |
784 | - | local recip = 0.5 / s |
784 | + | wld4.C0 = CFrame.new(1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,2.355-0.785*i) |
785 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
785 | + | wld5.C0 = CFrame.new(-0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.14-1.57*i) |
786 | --[[wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
787 | - | local i = 0 |
787 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
788 | - | if m11 > m00 then |
788 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) ]] |
789 | - | i = 1 |
789 | + | end |
790 | wait(0.1) | |
791 | - | if m22 > (i == 0 and m00 or m11) then |
791 | + | if mana >= 0 then |
792 | - | i = 2 |
792 | + | mana = mana - 10 |
793 | else | |
794 | - | if i == 0 then |
794 | + | mana = 0 |
795 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
795 | + | end |
796 | - | local recip = 0.5 / s |
796 | + | lasersound(4) |
797 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
797 | + | lasersound(4) |
798 | - | elseif i == 1 then |
798 | + | Laser(prt4,math.random(20,40)) |
799 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
799 | + | Laser(prt5,math.random(20,40)) |
800 | - | local recip = 0.5 / s |
800 | + | attack = false |
801 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
801 | + | end |
802 | - | elseif i == 2 then |
802 | + | end |
803 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
803 | + | function twohit() |
804 | - | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
804 | + | if mana >= 0 then |
805 | attack = true | |
806 | for i = 0,1,0.1 do | |
807 | wait() | |
808 | wld4.C0 = CFrame.new(1.3-1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,2.355-0.785+0.785*i) | |
809 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
809 | + | wld5.C0 = CFrame.new(-0.3+0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.14-1.57+1.57*i) |
810 | - | local xs, ys, zs = x + x, y + y, z + z |
810 | + | wld6.C0 = CFrame.new(0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.925+0.785*i) |
811 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
811 | + | wld7.C0 = CFrame.new(-1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,4.71) |
812 | - | local xx = x * xs |
812 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2*i) |
813 | - | local xy = x * ys |
813 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5-0.5*i) |
814 | - | local xz = x * zs |
814 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
815 | - | local yy = y * ys |
815 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5*i) |
816 | - | local yz = y * zs |
816 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
817 | - | local zz = z * zs |
817 | + | end |
818 | - | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) |
818 | + | wait(0.1) |
819 | if mana >= 0 then | |
820 | mana = mana - 5 | |
821 | - | function QuaternionSlerp(a, b, t) |
821 | + | else |
822 | - | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
822 | + | mana = 0 |
823 | - | local startInterp, finishInterp; |
823 | + | end |
824 | - | if cosTheta >= 0.0001 then |
824 | + | lasersound(4) |
825 | - | if (1 - cosTheta) > 0.0001 then |
825 | + | lasersound(4) |
826 | - | local theta = ACOS(cosTheta) |
826 | + | Laser(prt6,math.random(20,40)) |
827 | - | local invSinTheta = 1 / SIN(theta) |
827 | + | Laser(prt7,math.random(20,40)) |
828 | - | startInterp = SIN((1 - t) * theta) * invSinTheta |
828 | + | wait(0.1) |
829 | - | finishInterp = SIN(t * theta) * invSinTheta |
829 | + | attack = false |
830 | end | |
831 | - | startInterp = 1 - t |
831 | + | end |
832 | - | finishInterp = t |
832 | + | function threehit() |
833 | if mana >= 0 then | |
834 | attack = true | |
835 | - | if (1 + cosTheta) > 0.0001 then |
835 | + | for i = 0,1,0.1 do |
836 | - | local theta = ACOS(-cosTheta) |
836 | + | wait() |
837 | - | local invSinTheta = 1 / SIN(theta) |
837 | + | wld6.C0 = CFrame.new(0.3-0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.925+0.785-0.785*i) |
838 | - | startInterp = SIN((t - 1) * theta) * invSinTheta |
838 | + | wld7.C0 = CFrame.new(-1.3+1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,4.71) |
839 | - | finishInterp = SIN(t * theta) * invSinTheta |
839 | + | wld8.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,5.495-5.495*i) |
840 | wld1.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) | |
841 | - | startInterp = t - 1 |
841 | + | wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,0.785-0.785*i) |
842 | - | finishInterp = t |
842 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2+1*i) |
843 | LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
844 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
845 | - | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp |
845 | + | RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5-1.27*i) |
846 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
847 | end | |
848 | - | function Clerp(a, b, t) |
848 | + | wait(0.1) |
849 | - | local qa = {QuaternionFromCFrame(a)} |
849 | + | if mana >= 0 then |
850 | - | local qb = {QuaternionFromCFrame(b)} |
850 | + | mana = mana - 8 |
851 | - | local ax, ay, az = a.x, a.y, a.z |
851 | + | else |
852 | - | local bx, by, bz = b.x, b.y, b.z |
852 | + | mana = 0 |
853 | - | local _t = 1 - t |
853 | + | end |
854 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
854 | + | lasersound(4) |
855 | lasersound(4) | |
856 | - | function NoOutlines(PART) |
856 | + | lasersound(4) |
857 | - | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 |
857 | + | Laser(prt8,math.random(20,40)) |
858 | Laser(prt1,math.random(20,40)) | |
859 | Laser(prt2,math.random(20,40)) | |
860 | - | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) |
860 | + | wait(0.1) |
861 | - | local NEWWELD = IT(TYPE) |
861 | + | attack = false |
862 | - | NEWWELD.Part0 = PART0 |
862 | + | end |
863 | - | NEWWELD.Part1 = PART1 |
863 | + | end |
864 | - | NEWWELD.C0 = C0 |
864 | + | function fourhit() |
865 | - | NEWWELD.C1 = C1 |
865 | + | if mana >= 0 then |
866 | - | NEWWELD.Parent = PARENT |
866 | + | attack = true |
867 | - | return NEWWELD |
867 | + | for i = 0,1,0.1 do |
868 | wait() | |
869 | - | function MakeForm(PART,TYPE) |
869 | + | wld8.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0.5*i,5.495-5.495+5.495*i) |
870 | - | if TYPE == "Cyl" then |
870 | + | wld1.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) |
871 | - | local MSH = IT("CylinderMesh",PART) |
871 | + | wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,-0.5*i,0.785-0.785+0.785*i) |
872 | - | elseif TYPE == "Ball" then |
872 | + | wld3.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5*i) |
873 | - | local MSH = IT("SpecialMesh",PART) |
873 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i) |
874 | - | MSH.MeshType = "Sphere" |
874 | + | LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77*i) |
875 | - | elseif TYPE == "Wedge" then |
875 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) |
876 | - | local MSH = IT("SpecialMesh",PART) |
876 | + | RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-0.5-1.27+1*i) |
877 | - | MSH.MeshType = "Wedge" |
877 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
878 | end | |
879 | wait(0.1) | |
880 | - | local DownCharacters = {"",} |
880 | + | for i = 0,1,0.1 do |
881 | - | local UpCharacters = {"",} |
881 | + | wait() |
882 | - | local MidCharacters = {"",} |
882 | + | wld3.C0 = CFrame.new(0,1.6+3,-1+1) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5-0.8*i) |
883 | - | function IsUnicode(c) |
883 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57) |
884 | - | for i = 1, 1 do |
884 | + | LW.C0 = CFrame.new(-1.5+0.5-0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77) |
885 | - | if(string.char(i) == string.char(string.byte(c)))then |
885 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0) |
886 | - | return true |
886 | + | RW.C0 = CFrame.new(1.5-0.5+0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57-1.57,0,1.57-0.5-1.27+1) |
887 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
888 | if mana >= 0 then | |
889 | - | return false |
889 | + | mana = mana - 1 |
890 | else | |
891 | - | for i = 1, 35 do |
891 | + | mana = 0 |
892 | - | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false) |
892 | + | end |
893 | - | FACE.Color = C3(0,0,0) |
893 | + | lasersound(4) |
894 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) |
894 | + | Laser(prt3,math.random(5,15)) |
895 | end | |
896 | - | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) |
896 | + | wait(0.1) |
897 | - | MakeForm(Hole,"Cyl") |
897 | + | attack = false |
898 | - | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Hole, CF(0, -6.98, -0.62), CF(0.067, 0, 0)) |
898 | + | end |
899 | - | local Gun = CreatePart(0, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) |
899 | + | end |
900 | - | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Gun, CF(0, -2.8, -0.2), CF(0, 0, 0)) |
900 | + | function LaserWave() |
901 | - | CreateMesh("SpecialMesh", Gun , "FileMesh", 431299113, "431308987", VT(0.004,0.004,0.004), VT(0,0,0)) |
901 | + | if mana >= 0 then |
902 | - | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(90), RAD(0), RAD(900)) |
902 | + | attack = true |
903 | for i = 0,1,0.1 do | |
904 | - | function CastProperRay(StartPos, EndPos, Distance, Ignore) |
904 | + | wait() |
905 | - | local DIRECTION = CF(StartPos,EndPos).lookVector |
905 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
906 | - | return Raycast(StartPos, DIRECTION, Distance, Ignore) |
906 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
907 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
908 | - | function CastProperRay(StartPos, EndPos, Distance, Ignore) |
908 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) |
909 | - | local DIRECTION = CF(StartPos,EndPos).lookVector |
909 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
910 | - | return Raycast(StartPos, DIRECTION, Distance, Ignore) |
910 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
911 | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
912 | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
913 | - | function turnto(position) |
913 | + | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
914 | - | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) |
914 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
915 | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
916 | - | function SpawnTrail(FROM,TO,BIG) |
916 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
917 | - | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0)) |
917 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
918 | - | MakeForm(TRAIL,"Cyl") |
918 | + | end |
919 | - | local DIST = (FROM - TO).Magnitude |
919 | + | wait(0.1) |
920 | - | if BIG == true then |
920 | + | for i = 0,1,0.1 do |
921 | - | TRAIL.Size = VT(0.5,DIST,0.5) |
921 | + | wait() |
922 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
923 | - | TRAIL.Size = VT(0.25,DIST,0.25) |
923 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
924 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) | |
925 | - | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) |
925 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
926 | - | coroutine.resume(coroutine.create(function() |
926 | + | wld1.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) |
927 | - | for i = 1, 5 do |
927 | + | wld3.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57) |
928 | - | Swait() |
928 | + | wld5.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14) |
929 | - | TRAIL.Transparency = TRAIL.Transparency + 0.1 |
929 | + | wld7.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71) |
930 | end | |
931 | - | TRAIL:remove() |
931 | + | if mana >= 0 then |
932 | - | end)) |
932 | + | mana = mana - 20 |
933 | else | |
934 | - | function WACKYEFFECT(Table) |
934 | + | mana = 0 |
935 | - | local TYPE = (Table.EffectType or "Sphere") |
935 | + | end |
936 | - | local SIZE = (Table.Size or VT(1,1,1)) |
936 | + | lasersound(4) |
937 | - | local ENDSIZE = (Table.Size2 or VT(0,0,0)) |
937 | + | lasersound(4) |
938 | - | local TRANSPARENCY = (Table.Transparency or 0) |
938 | + | lasersound(4) |
939 | - | local ENDTRANSPARENCY = (Table.Transparency2 or 1) |
939 | + | lasersound(4) |
940 | - | local CFRAME = (Table.CFrame or Torso.CFrame) |
940 | + | Laser(prt1,math.random(10,20)) |
941 | - | local MOVEDIRECTION = (Table.MoveToPos or nil) |
941 | + | Laser(prt3,math.random(10,20)) |
942 | - | local ROTATION1 = (Table.RotationX or 0) |
942 | + | Laser(prt5,math.random(10,20)) |
943 | - | local ROTATION2 = (Table.RotationY or 0) |
943 | + | Laser(prt7,math.random(10,20)) |
944 | - | local ROTATION3 = (Table.RotationZ or 0) |
944 | + | wait(0.1) |
945 | - | local MATERIAL = (Table.Material or "Neon") |
945 | + | for i = 0,1,0.1 do |
946 | - | local COLOR = (Table.Color or C3(1,1,1)) |
946 | + | wait() |
947 | - | local TIME = (Table.Time or 45) |
947 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i) |
948 | - | local SOUNDID = (Table.SoundID or nil) |
948 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
949 | - | local SOUNDPITCH = (Table.SoundPitch or nil) |
949 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i) |
950 | - | local SOUNDVOLUME = (Table.SoundVolume or nil) |
950 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
951 | - | coroutine.resume(coroutine.create(function() |
951 | + | wld1.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) |
952 | - | local PLAYSSOUND = false |
952 | + | wld3.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57) |
953 | - | local SOUND = nil |
953 | + | wld5.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14) |
954 | - | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) |
954 | + | wld7.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71) |
955 | - | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then |
955 | + | end |
956 | - | PLAYSSOUND = true |
956 | + | for i = 0,1,0.1 do |
957 | - | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) |
957 | + | wait() |
958 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
959 | - | EFFECT.Color = COLOR |
959 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
960 | - | local MSH = nil |
960 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) |
961 | - | if TYPE == "Sphere" then |
961 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
962 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) |
962 | + | wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.97*i,0,0.785-0.785*i) |
963 | - | elseif TYPE == "Block" then |
963 | + | wld4.C0 = CFrame.new(0,1.6+3,-1+1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77*i,0,2.355-2.355*i) |
964 | - | MSH = IT("BlockMesh",EFFECT) |
964 | + | wld6.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i) |
965 | - | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) |
965 | + | wld8.C0 = CFrame.new(0,1.6+3,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37*i,0,5.495-5.495*i) |
966 | - | elseif TYPE == "Wave" then |
966 | + | end |
967 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) |
967 | + | if mana >= 0 then |
968 | - | elseif TYPE == "Ring" then |
968 | + | mana = mana - 20 |
969 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) |
969 | + | else |
970 | - | elseif TYPE == "Slash" then |
970 | + | mana = 0 |
971 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
971 | + | end |
972 | - | elseif TYPE == "Round Slash" then |
972 | + | lasersound(4) |
973 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
973 | + | lasersound(4) |
974 | - | elseif TYPE == "Swirl" then |
974 | + | lasersound(4) |
975 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) |
975 | + | lasersound(4) |
976 | - | elseif TYPE == "Skull" then |
976 | + | Laser(prt2,math.random(10,20)) |
977 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) |
977 | + | Laser(prt4,math.random(10,20)) |
978 | - | elseif TYPE == "Crystal" then |
978 | + | Laser(prt6,math.random(10,20)) |
979 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) |
979 | + | Laser(prt8,math.random(10,20)) |
980 | wait(0.1) | |
981 | - | if MSH ~= nil then |
981 | + | for i = 0,1,0.1 do |
982 | - | local MOVESPEED = nil |
982 | + | wait() |
983 | - | if MOVEDIRECTION ~= nil then |
983 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i) |
984 | - | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME |
984 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
985 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i) | |
986 | - | local GROWTH = SIZE - ENDSIZE |
986 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
987 | - | local TRANS = TRANSPARENCY - ENDTRANSPARENCY |
987 | + | wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.97+1.97*i,0,-0.785*i) |
988 | - | if TYPE == "Block" then |
988 | + | wld4.C0 = CFrame.new(0,1.6+3,-1+1.5-1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77+1.77*i,0,-2.355*i) |
989 | - | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
989 | + | wld6.C0 = CFrame.new(0,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,-3.925*i) |
990 | - | else |
990 | + | wld8.C0 = CFrame.new(0,1.6+3,-1+0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37+1.37*i,0,-5.495*i) |
991 | - | EFFECT.CFrame = CFRAME |
991 | + | end |
992 | wait(0.1) | |
993 | - | for LOOP = 1, TIME+1 do |
993 | + | attack = false |
994 | - | Swait() |
994 | + | end |
995 | - | MSH.Scale = MSH.Scale - GROWTH/TIME |
995 | + | end |
996 | - | if TYPE == "Wave" then |
996 | + | function OverBlast() |
997 | - | MSH.Offset = VT(0,0,-MSH.Scale.X/8) |
997 | + | if mana >= 0 then |
998 | attack = true | |
999 | - | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME |
999 | + | for i = 0,1,0.1 do |
1000 | - | if TYPE == "Block" then |
1000 | + | wait() |
1001 | - | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
1001 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1002 | - | else |
1002 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
1003 | - | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) |
1003 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1004 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1005 | - | if MOVEDIRECTION ~= nil then |
1005 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1006 | - | local ORI = EFFECT.Orientation |
1006 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1007 | - | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) |
1007 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1008 | - | EFFECT.Orientation = ORI |
1008 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1009 | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1010 | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1011 | - | if PLAYSSOUND == false then |
1011 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1012 | - | EFFECT:remove() |
1012 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1013 | - | else |
1013 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1014 | - | SOUND.Stopped:Connect(function() |
1014 | + | end |
1015 | - | EFFECT:remove() |
1015 | + | for i = 0,1.05,0.05 do |
1016 | - | end) |
1016 | + | wait() |
1017 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1018 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
1019 | - | if PLAYSSOUND == false then |
1019 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1020 | - | EFFECT:remove() |
1020 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) |
1021 | - | else |
1021 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1022 | - | repeat Swait() until SOUND.Playing == false |
1022 | + | wld1.C0 = CFrame.new(-1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,6.28) |
1023 | - | EFFECT:remove() |
1023 | + | wld2.C0 = CFrame.new(-1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.3*i,0.785+5.495*i) |
1024 | wld3.C0 = CFrame.new(1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.3*i,1.57+4.71*i) | |
1025 | wld4.C0 = CFrame.new(1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,2.355+3.925*i) | |
1026 | - | end)) |
1026 | + | wld5.C0 = CFrame.new(-1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.1*i,3.14-3.14*i) |
1027 | wld6.C0 = CFrame.new(-0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i) | |
1028 | wld7.C0 = CFrame.new(0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0,4.71-4.71*i) | |
1029 | - | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) |
1029 | + | wld8.C0 = CFrame.new(1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.1*i,5.495-5.495*i) |
1030 | - | function Chat(text) |
1030 | + | end |
1031 | - | coroutine.wrap(function() |
1031 | + | if mana >= 0 then |
1032 | - | if Character:FindFirstChild("TalkingBillBoard")~= nil then |
1032 | + | mana = mana - 50 |
1033 | - | Character:FindFirstChild("TalkingBillBoard"):destroy() |
1033 | + | else |
1034 | mana = 0 | |
1035 | - | local oText = text; |
1035 | + | end |
1036 | - | text = "" |
1036 | + | lasersound(4) |
1037 | - | for i = 1, #oText do |
1037 | + | lasersound(4) |
1038 | - | local lol = M.RNG(3,3) |
1038 | + | lasersound(4) |
1039 | - | if(lol == 1 or lol == 2)then |
1039 | + | lasersound(4) |
1040 | - | text = text..(oText:sub(i,i):upper()) |
1040 | + | lasersound(4) |
1041 | - | elseif(lol == 3 or lol == 4)then |
1041 | + | lasersound(4) |
1042 | - | text = text..Zalgo(oText:sub(i,i),M.RNG(1,1) == 1,true,M.RNG(1,1) == 1,M.RNG(1,1)) |
1042 | + | lasersound(4) |
1043 | - | elseif(lol == 5 or lol == 6)then |
1043 | + | lasersound(4) |
1044 | - | text = text.." "..(oText:sub(i,i):lower()) |
1044 | + | Laser(prt1,math.random(5,15)) |
1045 | - | elseif(lol == 7)then |
1045 | + | Laser(prt2,math.random(5,15)) |
1046 | - | text = text..(string.rep(oText:sub(i,i):lower(),M.RNG(1,1))) |
1046 | + | Laser(prt3,math.random(5,15)) |
1047 | - | else |
1047 | + | Laser(prt4,math.random(5,15)) |
1048 | - | text = text..(oText:sub(i,i):lower()) |
1048 | + | Laser(prt5,math.random(5,15)) |
1049 | Laser(prt6,math.random(5,15)) | |
1050 | Laser(prt7,math.random(5,15)) | |
1051 | - | local Bill = Instance.new("BillboardGui",Character) |
1051 | + | Laser(prt8,math.random(5,15)) |
1052 | - | Bill.Size = UDim2.new(0,100,0,40) |
1052 | + | wait(0.2) |
1053 | - | Bill.StudsOffset = Vector3.new(0,3,0) |
1053 | + | for i = 0,1.05,0.05 do |
1054 | - | Bill.Adornee = Character.Head |
1054 | + | wait() |
1055 | - | Bill.Name = "TalkingBillBoard" |
1055 | + | wld1.C0 = CFrame.new(-1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.5-0.5*i,6.28) |
1056 | - | local Hehe = Instance.new("TextLabel",Bill) |
1056 | + | wld2.C0 = CFrame.new(-1+0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.3-0.3*i,0.785+5.495) |
1057 | - | Hehe.BackgroundTransparency = 1 |
1057 | + | wld3.C0 = CFrame.new(1-0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.3+0.3*i,1.57+4.71) |
1058 | - | Hehe.BorderSizePixel = 0 |
1058 | + | wld4.C0 = CFrame.new(1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.5+0.5*i,2.355+3.925) |
1059 | - | Hehe.Text = "" |
1059 | + | wld5.C0 = CFrame.new(-1.1-0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.1-0.1*i,3.14-3.14) |
1060 | - | Hehe.Font = "Bodoni" |
1060 | + | wld6.C0 = CFrame.new(-0.6+0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,3.925-3.925) |
1061 | - | Hehe.TextSize = 40 |
1061 | + | wld7.C0 = CFrame.new(0.6-0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,4.71-4.71) |
1062 | - | Hehe.TextStrokeTransparency = 0 |
1062 | + | wld8.C0 = CFrame.new(1.1+0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.1+0.1*i,5.495-5.495) |
1063 | - | Hehe.Size = UDim2.new(1,0,0.5,0) |
1063 | + | end |
1064 | - | coroutine.resume(coroutine.create(function() |
1064 | + | if mana >= 0 then |
1065 | - | while Hehe ~= nil do |
1065 | + | mana = mana - 50 |
1066 | - | Swait() |
1066 | + | else |
1067 | - | Hehe.Font = RandomEnum(Enum.Font) |
1067 | + | mana = 0 |
1068 | - | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) |
1068 | + | end |
1069 | - | Hehe.Rotation = M.RNG(-M.RNG(5,15),M.RNG(5,15)) |
1069 | + | lasersound(4) |
1070 | - | local aa = math.random(0, 255)/255 |
1070 | + | lasersound(4) |
1071 | - | local bb = math.random(0, 255)/255 |
1071 | + | lasersound(4) |
1072 | - | Hehe.TextColor3 = C3.N(aa,aa,aa) |
1072 | + | lasersound(4) |
1073 | - | Hehe.TextStrokeColor3 = C3.N(bb,bb,bb) |
1073 | + | lasersound(4) |
1074 | lasersound(4) | |
1075 | - | end)) |
1075 | + | lasersound(4) |
1076 | - | for i = 1,string.len(text),1 do |
1076 | + | lasersound(4) |
1077 | - | if(not IsZalgoChar(text:sub(i,i)) and not IsUnicode(text:sub(i,i)))then Swait(5) end |
1077 | + | Laser(prt1,math.random(5,15)) |
1078 | - | Hehe.Text = string.sub(text,1,i) |
1078 | + | Laser(prt2,math.random(5,15)) |
1079 | Laser(prt3,math.random(5,15)) | |
1080 | - | Swait(90) |
1080 | + | Laser(prt4,math.random(5,15)) |
1081 | - | for i = 0, 1, .025 do |
1081 | + | Laser(prt5,math.random(5,15)) |
1082 | - | Swait() |
1082 | + | Laser(prt6,math.random(5,15)) |
1083 | - | Hehe.TextStrokeTransparency = i |
1083 | + | Laser(prt7,math.random(5,15)) |
1084 | - | Hehe.TextTransparency = i |
1084 | + | Laser(prt8,math.random(5,15)) |
1085 | - | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) |
1085 | + | wait(0.5) |
1086 | attack = false | |
1087 | - | Bill:Destroy() |
1087 | + | end |
1088 | - | end)() |
1088 | + | end |
1089 | function SpinBeam() | |
1090 | - | function Zalgo(str,up,mid,down,streng) |
1090 | + | if mana >= 0 then |
1091 | - | local function rand(max) |
1091 | + | attack = true |
1092 | - | return math.floor(M.RNG() * max); |
1092 | + | for i = 0,1,0.1 do |
1093 | wait() | |
1094 | - | local newTxt = ""; |
1094 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1095 | - | for i = 1, #str do |
1095 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
1096 | - | if(not IsZalgoChar(str:sub(i,i)))then |
1096 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1097 | - | local upN,midN,downN = rand(8),rand(2),rand(8) |
1097 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) |
1098 | - | if(streng == 2)then |
1098 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1099 | - | upN,midN,downN = rand(16)/2+1,rand(6)/2,rand(16)/2+1 |
1099 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1100 | - | elseif(streng == 3)then |
1100 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1101 | - | upN,midN,downN = rand(64)/4+3,rand(16)/4+1,rand(64)/4+3 |
1101 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1102 | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1103 | - | newTxt = newTxt..str:sub(i,i) |
1103 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
1104 | - | if(up)then |
1104 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1105 | - | for j = 0, upN do |
1105 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1106 | - | newTxt = newTxt..UpCharacters[M.RNG(1,#UpCharacters)] |
1106 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1107 | end | |
1108 | for i = 0,1,0.1 do | |
1109 | - | if(mid)then |
1109 | + | wait() |
1110 | - | for j = 0, midN do |
1110 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1111 | - | newTxt = newTxt..MidCharacters[M.RNG(1,#MidCharacters)] |
1111 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1112 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1113 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1114 | - | if(down)then |
1114 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1115 | - | for j = 0, downN do |
1115 | + | wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1116 | - | newTxt = newTxt..DownCharacters[M.RNG(1,#DownCharacters)] |
1116 | + | wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1117 | wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1118 | wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1119 | wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1120 | wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1121 | - | return newTxt |
1121 | + | wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1122 | wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1123 | end | |
1124 | - | function IsZalgoChar(c) |
1124 | + | gairo.Parent = Head |
1125 | - | for i = 1, #UpCharacters do |
1125 | + | gairo.cframe = Head.CFrame |
1126 | - | if(c == UpCharacters[i])then |
1126 | + | CF = Torso.CFrame |
1127 | - | return true |
1127 | + | for i = 0,1,0.1 do |
1128 | wait(0.1) | |
1129 | gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0) | |
1130 | - | for i = 1, #DownCharacters do |
1130 | + | if mana >= 0 then |
1131 | - | if(c == DownCharacters[i])then |
1131 | + | mana = mana - 5 |
1132 | - | return true |
1132 | + | else |
1133 | mana = 0 | |
1134 | end | |
1135 | - | for i = 1, #MidCharacters do |
1135 | + | lasersound(4) |
1136 | - | if(c == MidCharacters[i])then |
1136 | + | lasersound(4) |
1137 | - | return true |
1137 | + | Laser(prt3,math.random(10,20)) |
1138 | Laser(prt7,math.random(10,20)) | |
1139 | end | |
1140 | - | return false |
1140 | + | wait(0.2) |
1141 | gairo.Parent = nil | |
1142 | attack = false | |
1143 | - | function RandomEnum(enum) |
1143 | + | end |
1144 | - | local t = enum:GetEnumItems() |
1144 | + | end |
1145 | - | if(#t < 1)then t = 1 end |
1145 | + | function DodgeTheLaser() |
1146 | - | local choice = M.RNG(1,#t) |
1146 | + | if mana >= 0 then |
1147 | - | return t[choice] |
1147 | + | attack = true |
1148 | for i = 0,1,0.1 do | |
1149 | wait() | |
1150 | - | function ApplyAoE4(POSITION,RANGE,BRUTAL) |
1150 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1151 | - | local CHILDREN = workspace:GetDescendants() |
1151 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
1152 | - | for index, CHILD in pairs(CHILDREN) do |
1152 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1153 | - | if CHILD.ClassName == "Model" and CHILD ~= Character then |
1153 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) |
1154 | - | local HUM = CHILD:FindFirstChildOfClass("Humanoid") |
1154 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1155 | - | if HUM then |
1155 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1156 | - | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") |
1156 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1157 | - | if TORSO then |
1157 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1158 | - | if (TORSO.Position - POSITION).Magnitude <= RANGE then |
1158 | + | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
1159 | - | if BRUTAL == true then |
1159 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
1160 | - | Kill(CHILD) |
1160 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1161 | - | else |
1161 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1162 | - | CHILD:BreakJoints() |
1162 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1163 | - | end |
1163 | + | end |
1164 | - | end |
1164 | + | for i = 0,1,0.1 do |
1165 | - | end |
1165 | + | wait() |
1166 | - | end |
1166 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1167 | - | end |
1167 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1168 | - | end |
1168 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1169 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1170 | - | |
1170 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1171 | - | function Kill(Char) |
1171 | + | wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1172 | wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1173 | - | |
1173 | + | wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1174 | - | function ApplyAoE(POSITION,RANGE,BRUTAL) |
1174 | + | wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
1175 | wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1176 | - | |
1176 | + | wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1177 | - | function ApplyAoE(POSITION,RANGE,BRUTAL) |
1177 | + | wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1178 | wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1179 | end | |
1180 | - | function Banish(Foe) |
1180 | + | gairo.Parent = Head |
1181 | gairo.cframe = Head.CFrame | |
1182 | CF = Torso.CFrame | |
1183 | - | local sick = Instance.new("Sound",Torso) |
1183 | + | for i = 0,1,0.01 do |
1184 | - | workspace.ChildAdded:connect(function(instance) |
1184 | + | wait(0.1) |
1185 | - | for BANISH = 1, #TOBANISH do |
1185 | + | gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0) |
1186 | - | if TOBANISH[BANISH] ~= nil then |
1186 | + | if mana >= 0 then |
1187 | - | if instance.Name == TOBANISH[BANISH] then |
1187 | + | mana = mana - 5 |
1188 | - | coroutine.resume(coroutine.create(function() |
1188 | + | else |
1189 | - | instance:ClearAllChildren() |
1189 | + | mana = 0 |
1190 | end | |
1191 | - | end)) |
1191 | + | lasersound(4) |
1192 | lasersound(4) | |
1193 | Laser(prt3,math.random(10,20)) | |
1194 | Laser(prt7,math.random(10,20)) | |
1195 | end | |
1196 | - | pcall(function() |
1196 | + | wait() |
1197 | - | Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' |
1197 | + | gairo.Parent = nil |
1198 | - | Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' |
1198 | + | attack = false |
1199 | end | |
1200 | - | Player.Chatted:connect(function(text) |
1200 | + | end |
1201 | - | if(text == "/e filter")then |
1201 | + | function LaserBarrage() |
1202 | - | Filter = not Filter |
1202 | + | if mana >= 0 then |
1203 | attack = true | |
1204 | - | if(Filter)then |
1204 | + | for i = 0,1,0.1 do |
1205 | - | local succ,text = pcall(function() return game:service'Chat':FilterStringForBroadcast(text,Plr) end) |
1205 | + | wait() |
1206 | - | if(not succ)then |
1206 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1207 | - | text = string.rep("_",#text) |
1207 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
1208 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1209 | - | Chat(text) |
1209 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) |
1210 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1211 | - | Chat(text) |
1211 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1212 | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1213 | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1214 | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1215 | - | function Taunt() |
1215 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
1216 | - | ATTACK = true |
1216 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1217 | - | Rooted = true |
1217 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1218 | - | Chat("Uhm can You Hear Me?ahem.") |
1218 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1219 | - | local L = CreateSound(3288850066,Head,15,1,false) |
1219 | + | end |
1220 | - | for i = 1, 3 do |
1220 | + | for i = 0,1,0.2 do |
1221 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1221 | + | wait() |
1222 | - | Swait() |
1222 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1223 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1223 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i) |
1224 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1224 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1225 | - | if MRANDOM(1,30) == 10 then |
1225 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,1.57-1.77*i) |
1226 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1226 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1227 | - | end |
1227 | + | wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) |
1228 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1228 | + | end |
1229 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1229 | + | if mana >= 0 then |
1230 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1230 | + | mana = mana - 1 |
1231 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1231 | + | else |
1232 | mana = 0 | |
1233 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1233 | + | end |
1234 | - | Swait() |
1234 | + | lasersound(4) |
1235 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1235 | + | Laser(prt1,math.random(10,20)) |
1236 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1236 | + | for i = 0,1,0.2 do |
1237 | - | if MRANDOM(1,30) == 10 then |
1237 | + | wait() |
1238 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1238 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1239 | - | end |
1239 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i) |
1240 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1240 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1241 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1241 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,1.57-1.77-1.77*i) |
1242 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1242 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1243 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1243 | + | wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) |
1244 | end | |
1245 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1245 | + | for i = 0,1,0.2 do |
1246 | - | Swait() |
1246 | + | wait() |
1247 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1247 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1248 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1248 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i) |
1249 | - | if MRANDOM(1,30) == 10 then |
1249 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1250 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1250 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1251 | - | end |
1251 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1252 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1252 | + | wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,0.785) |
1253 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1253 | + | end |
1254 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1254 | + | if mana >= 0 then |
1255 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1255 | + | mana = mana - 1 |
1256 | else | |
1257 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1257 | + | mana = 0 |
1258 | - | Swait() |
1258 | + | end |
1259 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1259 | + | lasersound(4) |
1260 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(-15), RAD(-45)), 0.15 / Animation_Speed) |
1260 | + | Laser(prt2,math.random(10,20)) |
1261 | - | if MRANDOM(1,30) == 10 then |
1261 | + | for i = 0,1,0.2 do |
1262 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(-15 + MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1262 | + | wait() |
1263 | - | end |
1263 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1264 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1264 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i) |
1265 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1265 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1266 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1266 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1267 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1267 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1268 | wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,0.785) | |
1269 | end | |
1270 | - | ATTACK = false |
1270 | + | for i = 0,1,0.2 do |
1271 | - | Rooted = false |
1271 | + | wait() |
1272 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1273 | - | function Taunt2() |
1273 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3*i,0,-1.57+1.77*i) |
1274 | - | ATTACK = true |
1274 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1275 | - | Rooted = true |
1275 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1276 | - | Chat("you chicken or something!?") |
1276 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1277 | - | local L = CreateSound(2652132383,Head,15,1,false) |
1277 | + | wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57) |
1278 | - | for i = 1, 3 do |
1278 | + | end |
1279 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1279 | + | if mana >= 0 then |
1280 | - | Swait() |
1280 | + | mana = mana - 1 |
1281 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1281 | + | else |
1282 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1282 | + | mana = 0 |
1283 | - | if MRANDOM(1,30) == 10 then |
1283 | + | end |
1284 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1284 | + | lasersound(4) |
1285 | - | end |
1285 | + | Laser(prt3,math.random(10,20)) |
1286 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1286 | + | for i = 0,1,0.2 do |
1287 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1287 | + | wait() |
1288 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1288 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1289 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1289 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3+0.3*i,0,-1.57+1.77-1.77*i) |
1290 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1291 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1291 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1292 | - | Swait() |
1292 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1293 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1293 | + | wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57) |
1294 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1294 | + | end |
1295 | - | if MRANDOM(1,30) == 10 then |
1295 | + | for i = 0,1,0.2 do |
1296 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1296 | + | wait() |
1297 | - | end |
1297 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1298 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1298 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,-1.57+1.77*i) |
1299 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1299 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1300 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1300 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1301 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1301 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1302 | wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,2.355) | |
1303 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1303 | + | end |
1304 | - | Swait() |
1304 | + | if mana >= 0 then |
1305 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1305 | + | mana = mana - 1 |
1306 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1306 | + | else |
1307 | - | if MRANDOM(1,30) == 10 then |
1307 | + | mana = 0 |
1308 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1308 | + | end |
1309 | - | end |
1309 | + | lasersound(4) |
1310 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1310 | + | Laser(prt4,math.random(10,20)) |
1311 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1311 | + | for i = 0,1,0.2 do |
1312 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1312 | + | wait() |
1313 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1313 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1314 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,-1.57+1.77-1.77*i) | |
1315 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1315 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1316 | - | Swait() |
1316 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1317 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1317 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1318 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1318 | + | wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,2.355) |
1319 | - | if MRANDOM(1,30) == 10 then |
1319 | + | end |
1320 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1320 | + | for i = 0,1,0.2 do |
1321 | - | end |
1321 | + | wait() |
1322 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1322 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1323 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1323 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+1.77*i) |
1324 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1324 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1325 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1325 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i) |
1326 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1327 | wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14) | |
1328 | - | ATTACK = false |
1328 | + | end |
1329 | - | Rooted = false |
1329 | + | if mana >= 0 then |
1330 | mana = mana - 1 | |
1331 | - | function Taunt2() |
1331 | + | else |
1332 | - | ATTACK = true |
1332 | + | mana = 0 |
1333 | - | Rooted = true |
1333 | + | end |
1334 | - | Chat("you chicken or something!?") |
1334 | + | lasersound(4) |
1335 | - | local L = CreateSound(2652132383,Head,15,1,false) |
1335 | + | Laser(prt5,math.random(10,20)) |
1336 | - | for i = 1, 3 do |
1336 | + | for i = 0,1,0.2 do |
1337 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1337 | + | wait() |
1338 | - | Swait() |
1338 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1339 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1339 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,-1.57+1.77-1.77*i) |
1340 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1340 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1341 | - | if MRANDOM(1,30) == 10 then |
1341 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i) |
1342 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1342 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1343 | - | end |
1343 | + | wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14) |
1344 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1344 | + | end |
1345 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1345 | + | for i = 0,1,0.2 do |
1346 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1346 | + | wait() |
1347 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1347 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1348 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1349 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1349 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1350 | - | Swait() |
1350 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i) |
1351 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1351 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1352 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1352 | + | wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925) |
1353 | - | if MRANDOM(1,30) == 10 then |
1353 | + | end |
1354 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1354 | + | if mana >= 0 then |
1355 | - | end |
1355 | + | mana = mana - 1 |
1356 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1356 | + | else |
1357 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1357 | + | mana = 0 |
1358 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1358 | + | end |
1359 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1359 | + | lasersound(4) |
1360 | Laser(prt6,math.random(10,20)) | |
1361 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1361 | + | for i = 0,1,0.2 do |
1362 | - | Swait() |
1362 | + | wait() |
1363 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1363 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1364 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1364 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1365 | - | if MRANDOM(1,30) == 10 then |
1365 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1366 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1366 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i) |
1367 | - | end |
1367 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1368 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1368 | + | wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.925) |
1369 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1369 | + | end |
1370 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1370 | + | for i = 0,1,0.2 do |
1371 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1371 | + | wait() |
1372 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1373 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1373 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1374 | - | Swait() |
1374 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1375 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1375 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i) |
1376 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1376 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1377 | - | if MRANDOM(1,30) == 10 then |
1377 | + | wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71) |
1378 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1378 | + | end |
1379 | - | end |
1379 | + | if mana >= 0 then |
1380 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1380 | + | mana = mana - 1 |
1381 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1381 | + | else |
1382 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1382 | + | mana = 0 |
1383 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1383 | + | end |
1384 | lasersound(4) | |
1385 | Laser(prt7,math.random(10,20)) | |
1386 | - | ATTACK = false |
1386 | + | for i = 0,1,0.2 do |
1387 | - | Rooted = false |
1387 | + | wait() |
1388 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1389 | - | function Taunt4() |
1389 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1390 | - | ATTACK = true |
1390 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1391 | - | Rooted = true |
1391 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i) |
1392 | - | Chat("The fight is over.") |
1392 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1393 | - | local L = CreateSound(4353255400,Head,15,1,false) |
1393 | + | wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71) |
1394 | - | for i = 1, 3 do |
1394 | + | end |
1395 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1395 | + | for i = 0,1,0.2 do |
1396 | - | Swait() |
1396 | + | wait() |
1397 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1397 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1398 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1398 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1399 | - | if MRANDOM(1,30) == 10 then |
1399 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1400 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1400 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i) |
1401 | - | end |
1401 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1402 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1402 | + | wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,5.495) |
1403 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1403 | + | end |
1404 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1404 | + | if mana >= 0 then |
1405 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1405 | + | mana = mana - 1 |
1406 | else | |
1407 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1407 | + | mana = 0 |
1408 | - | Swait() |
1408 | + | end |
1409 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1409 | + | lasersound(4) |
1410 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1410 | + | Laser(prt8,math.random(10,20)) |
1411 | - | if MRANDOM(1,30) == 10 then |
1411 | + | for i = 0,1,0.2 do |
1412 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1412 | + | wait() |
1413 | - | end |
1413 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1414 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1414 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1415 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1415 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1416 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1416 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i) |
1417 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1417 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1418 | wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,5.495) | |
1419 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1419 | + | end |
1420 | - | Swait() |
1420 | + | wait(0.5) |
1421 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1421 | + | attack = false |
1422 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1422 | + | end |
1423 | - | if MRANDOM(1,30) == 10 then |
1423 | + | end |
1424 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1424 | + | function CloseRangedFire() |
1425 | - | end |
1425 | + | if mana >= 0 then |
1426 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1426 | + | attack = true |
1427 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1427 | + | for i = 0,1,0.1 do |
1428 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1428 | + | wait() |
1429 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1429 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1430 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1431 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1431 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1432 | - | Swait() |
1432 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) |
1433 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1433 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1434 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1434 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1435 | - | if MRANDOM(1,30) == 10 then |
1435 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1436 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1436 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1437 | - | end |
1437 | + | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
1438 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1438 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
1439 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1439 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1440 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1440 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1441 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1441 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1442 | end | |
1443 | for i = 0,1,0.1 do | |
1444 | - | ATTACK = false |
1444 | + | wait() |
1445 | - | Rooted = false |
1445 | + | wld1.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,6.28) |
1446 | wld2.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,0.785) | |
1447 | - | function Taunt5() |
1447 | + | wld3.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,1.57) |
1448 | - | ATTACK = true |
1448 | + | wld4.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,2.355) |
1449 | - | Rooted = true |
1449 | + | wld5.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.14) |
1450 | - | Chat("Targets eradicated.") |
1450 | + | wld6.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.925) |
1451 | - | local L = CreateSound(2775921981,Head,15,1,false) |
1451 | + | wld7.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,4.71) |
1452 | - | for i = 1, 3 do |
1452 | + | wld8.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,5.495) |
1453 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1453 | + | end |
1454 | - | Swait() |
1454 | + | if mana >= 0 then |
1455 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1455 | + | mana = mana - 50 |
1456 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1456 | + | else |
1457 | - | if MRANDOM(1,30) == 10 then |
1457 | + | mana = 0 |
1458 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1458 | + | end |
1459 | - | end |
1459 | + | lasersound(4) |
1460 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1460 | + | lasersound(4) |
1461 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1461 | + | lasersound(4) |
1462 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1462 | + | lasersound(4) |
1463 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1463 | + | lasersound(4) |
1464 | lasersound(4) | |
1465 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1465 | + | lasersound(4) |
1466 | - | Swait() |
1466 | + | lasersound(4) |
1467 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1467 | + | Laser(prt1,math.random(5,10)) |
1468 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1468 | + | Laser(prt2,math.random(5,10)) |
1469 | - | if MRANDOM(1,30) == 10 then |
1469 | + | Laser(prt3,math.random(5,10)) |
1470 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1470 | + | Laser(prt4,math.random(5,10)) |
1471 | - | end |
1471 | + | Laser(prt5,math.random(5,10)) |
1472 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1472 | + | Laser(prt6,math.random(5,10)) |
1473 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1473 | + | Laser(prt7,math.random(5,10)) |
1474 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1474 | + | Laser(prt8,math.random(5,10)) |
1475 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1475 | + | wait(1) |
1476 | attack = false | |
1477 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1477 | + | end |
1478 | - | Swait() |
1478 | + | end |
1479 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1479 | + | function Implosion() |
1480 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1480 | + | if mana >= 0 then |
1481 | - | if MRANDOM(1,30) == 10 then |
1481 | + | attack = true |
1482 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1482 | + | for i = 0,1,0.1 do |
1483 | - | end |
1483 | + | wait() |
1484 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1484 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1485 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1485 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
1486 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1486 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1487 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1487 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) |
1488 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1489 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1489 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1490 | - | Swait() |
1490 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1491 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1491 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1492 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1492 | + | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
1493 | - | if MRANDOM(1,30) == 10 then |
1493 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
1494 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1494 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1495 | - | end |
1495 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1496 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1496 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1497 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1497 | + | end |
1498 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1498 | + | for i = 0,1,0.1 do |
1499 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1499 | + | wait() |
1500 | wld1.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i) | |
1501 | wld2.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i) | |
1502 | - | ATTACK = false |
1502 | + | wld3.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i) |
1503 | - | Rooted = false |
1503 | + | wld4.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i) |
1504 | wld5.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i) | |
1505 | - | function Taunt6() |
1505 | + | wld6.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i) |
1506 | - | ATTACK = true |
1506 | + | wld7.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i) |
1507 | - | Rooted = true |
1507 | + | wld8.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i) |
1508 | - | Chat("Yes sir.") |
1508 | + | end |
1509 | - | local L = CreateSound(2775921704,Head,15,1,false) |
1509 | + | if mana >= 0 then |
1510 | - | for i = 1, 3 do |
1510 | + | mana = mana - 50 |
1511 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1511 | + | else |
1512 | - | Swait() |
1512 | + | mana = 0 |
1513 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1513 | + | end |
1514 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1514 | + | lasersound(4) |
1515 | - | if MRANDOM(1,30) == 10 then |
1515 | + | lasersound(4) |
1516 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1516 | + | lasersound(4) |
1517 | - | end |
1517 | + | lasersound(4) |
1518 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1518 | + | lasersound(4) |
1519 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1519 | + | lasersound(4) |
1520 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1520 | + | lasersound(4) |
1521 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1521 | + | lasersound(4) |
1522 | Laser(prt1,math.random(5,10)) | |
1523 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1523 | + | Laser(prt2,math.random(5,10)) |
1524 | - | Swait() |
1524 | + | Laser(prt3,math.random(5,10)) |
1525 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1525 | + | Laser(prt4,math.random(5,10)) |
1526 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1526 | + | Laser(prt5,math.random(5,10)) |
1527 | - | if MRANDOM(1,30) == 10 then |
1527 | + | Laser(prt6,math.random(5,10)) |
1528 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1528 | + | Laser(prt7,math.random(5,10)) |
1529 | - | end |
1529 | + | Laser(prt8,math.random(5,10)) |
1530 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1530 | + | for i = 0,1,0.1 do |
1531 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1531 | + | wait() |
1532 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1532 | + | wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28) |
1533 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1533 | + | wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785) |
1534 | wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57) | |
1535 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1535 | + | wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355) |
1536 | - | Swait() |
1536 | + | wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14) |
1537 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1537 | + | wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925) |
1538 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1538 | + | wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71) |
1539 | - | if MRANDOM(1,30) == 10 then |
1539 | + | wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495) |
1540 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1540 | + | end |
1541 | - | end |
1541 | + | if mana >= 0 then |
1542 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1542 | + | mana = mana - 50 |
1543 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1543 | + | else |
1544 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1544 | + | mana = 0 |
1545 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1545 | + | end |
1546 | lasersound(4) | |
1547 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1547 | + | lasersound(4) |
1548 | - | Swait() |
1548 | + | lasersound(4) |
1549 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1549 | + | lasersound(4) |
1550 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1550 | + | lasersound(4) |
1551 | - | if MRANDOM(1,30) == 10 then |
1551 | + | lasersound(4) |
1552 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1552 | + | lasersound(4) |
1553 | - | end |
1553 | + | lasersound(4) |
1554 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1554 | + | Laser(prt1,math.random(5,10)) |
1555 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1555 | + | Laser(prt2,math.random(5,10)) |
1556 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1556 | + | Laser(prt3,math.random(5,10)) |
1557 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1557 | + | Laser(prt4,math.random(5,10)) |
1558 | Laser(prt5,math.random(5,10)) | |
1559 | Laser(prt6,math.random(5,10)) | |
1560 | - | ATTACK = false |
1560 | + | Laser(prt7,math.random(5,10)) |
1561 | - | Rooted = false |
1561 | + | Laser(prt8,math.random(5,10)) |
1562 | for i = 0,1,0.1 do | |
1563 | - | function Taunt7() |
1563 | + | wait() |
1564 | - | ATTACK = true |
1564 | + | wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0+0.5,6.28-6.28) |
1565 | - | Rooted = true |
1565 | + | wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0.785+0.5,0.785-0.785) |
1566 | - | Chat("Hold on to your guts while I rip out theirs.") |
1566 | + | wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,1.57+0.5,1.57-1.57) |
1567 | - | local L = CreateSound(2775921559,Head,15,1,false) |
1567 | + | wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,2.355+0.5,2.355-2.355) |
1568 | - | for i = 1, 3 do |
1568 | + | wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14+0.5,3.14-3.14) |
1569 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1569 | + | wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.925+0.5,3.925-3.925) |
1570 | - | Swait() |
1570 | + | wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,4.71+0.5,4.71-4.71) |
1571 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1571 | + | wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,5.495+0.5,5.495-5.495) |
1572 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1572 | + | end |
1573 | - | if MRANDOM(1,30) == 10 then |
1573 | + | if mana >= 0 then |
1574 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1574 | + | mana = mana - 50 |
1575 | - | end |
1575 | + | else |
1576 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1576 | + | mana = 0 |
1577 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1577 | + | end |
1578 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1578 | + | lasersound(4) |
1579 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1579 | + | lasersound(4) |
1580 | lasersound(4) | |
1581 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1581 | + | lasersound(4) |
1582 | - | Swait() |
1582 | + | lasersound(4) |
1583 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1583 | + | lasersound(4) |
1584 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1584 | + | lasersound(4) |
1585 | - | if MRANDOM(1,30) == 10 then |
1585 | + | lasersound(4) |
1586 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1586 | + | Laser(prt1,math.random(5,10)) |
1587 | - | end |
1587 | + | Laser(prt2,math.random(5,10)) |
1588 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1588 | + | Laser(prt3,math.random(5,10)) |
1589 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1589 | + | Laser(prt4,math.random(5,10)) |
1590 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1590 | + | Laser(prt5,math.random(5,10)) |
1591 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1591 | + | Laser(prt6,math.random(5,10)) |
1592 | Laser(prt7,math.random(5,10)) | |
1593 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1593 | + | Laser(prt8,math.random(5,10)) |
1594 | - | Swait() |
1594 | + | wait(1) |
1595 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1595 | + | attack = false |
1596 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1596 | + | end |
1597 | - | if MRANDOM(1,30) == 10 then |
1597 | + | end |
1598 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1598 | + | function SpinLaser() |
1599 | - | end |
1599 | + | if mana >= 0 then |
1600 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1600 | + | attack = true |
1601 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1601 | + | for i = 0,1,0.1 do |
1602 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1602 | + | wait() |
1603 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1603 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1604 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1605 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1605 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1606 | - | Swait() |
1606 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) |
1607 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1607 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1608 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1608 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1609 | - | if MRANDOM(1,30) == 10 then |
1609 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1610 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1610 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1611 | - | end |
1611 | + | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
1612 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1612 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
1613 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(20), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1613 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1614 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1614 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1615 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1615 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1616 | end | |
1617 | for i = 0,1,0.1 do | |
1618 | - | ATTACK = false |
1618 | + | wait() |
1619 | - | Rooted = false |
1619 | + | wld1.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i) |
1620 | wld2.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i) | |
1621 | - | function Taunt3() |
1621 | + | wld3.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i) |
1622 | - | ATTACK = true |
1622 | + | wld4.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i) |
1623 | - | Rooted = true |
1623 | + | wld5.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i) |
1624 | - | Chat("*music cue* BaKaAaAAaAaA") |
1624 | + | wld6.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i) |
1625 | - | local L = CreateSound(2770522170,Head,15,1,false) |
1625 | + | wld7.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i) |
1626 | - | for i = 1, 3 do |
1626 | + | wld8.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i) |
1627 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1627 | + | end |
1628 | - | Swait() |
1628 | + | lasersound(4) |
1629 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.5 / Animation_Speed) |
1629 | + | lasersound(4) |
1630 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1630 | + | lasersound(4) |
1631 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1631 | + | lasersound(4) |
1632 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1632 | + | lasersound(4) |
1633 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1633 | + | lasersound(4) |
1634 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1634 | + | lasersound(4) |
1635 | lasersound(4) | |
1636 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1636 | + | Laser(prt1,math.random(10,20)) |
1637 | - | Swait() |
1637 | + | Laser(prt2,math.random(10,20)) |
1638 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.5 / Animation_Speed) |
1638 | + | Laser(prt3,math.random(10,20)) |
1639 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1639 | + | Laser(prt4,math.random(10,20)) |
1640 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1640 | + | Laser(prt5,math.random(10,20)) |
1641 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1641 | + | Laser(prt6,math.random(10,20)) |
1642 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1642 | + | Laser(prt7,math.random(10,20)) |
1643 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1643 | + | Laser(prt8,math.random(10,20)) |
1644 | for i = 0,1,0.1 do | |
1645 | - | for i = 0, 0.7, 0.5 / Animation_Speed do |
1645 | + | wait() |
1646 | - | Swait() |
1646 | + | wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28) |
1647 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.5 / Animation_Speed) |
1647 | + | wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785) |
1648 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1648 | + | wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57) |
1649 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1649 | + | wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355) |
1650 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1650 | + | wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14) |
1651 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1651 | + | wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925) |
1652 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1652 | + | wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71) |
1653 | wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495) | |
1654 | - | for i = 0, 0.7, 0.14 / Animation_Speed do |
1654 | + | end |
1655 | - | Swait() |
1655 | + | lasersound(4) |
1656 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.5 / Animation_Speed) |
1656 | + | lasersound(4) |
1657 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1657 | + | lasersound(4) |
1658 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1658 | + | lasersound(4) |
1659 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1659 | + | lasersound(4) |
1660 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1660 | + | lasersound(4) |
1661 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))), 0.15 / Animation_Speed) |
1661 | + | lasersound(4) |
1662 | lasersound(4) | |
1663 | Laser(prt1,math.random(10,20)) | |
1664 | - | ATTACK = false |
1664 | + | Laser(prt2,math.random(10,20)) |
1665 | - | Rooted = false |
1665 | + | Laser(prt3,math.random(10,20)) |
1666 | Laser(prt4,math.random(10,20)) | |
1667 | Laser(prt5,math.random(10,20)) | |
1668 | - | function Shot() |
1668 | + | Laser(prt6,math.random(10,20)) |
1669 | - | ATTACK = true |
1669 | + | Laser(prt7,math.random(10,20)) |
1670 | - | Rooted = false |
1670 | + | Laser(prt8,math.random(10,20)) |
1671 | - | for i=0, 0.4, 0.1 / Animation_Speed do |
1671 | + | for i = 0,1,0.1 do |
1672 | - | Swait() |
1672 | + | wait() |
1673 | - | turnto(Mouse.Hit.p) |
1673 | + | wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5+0.5*i,6.28-6.28) |
1674 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1674 | + | wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5+0.5*i,0.785-0.785) |
1675 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1675 | + | wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5+0.5*i,1.57-1.57) |
1676 | - | if MRANDOM(1,30) == 10 then |
1676 | + | wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5+0.5*i,2.355-2.355) |
1677 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) |
1677 | + | wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5+0.5*i,3.14-3.14) |
1678 | - | end |
1678 | + | wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5+0.5*i,3.925-3.925) |
1679 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
1679 | + | wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5+0.5*i,4.71-4.71) |
1680 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0.2, 0.8, -2.5) * ANGLES(RAD(90), RAD(0), RAD(50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1680 | + | wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5+0.5*i,5.495-5.495) |
1681 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1681 | + | end |
1682 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1682 | + | lasersound(4) |
1683 | lasersound(4) | |
1684 | - | CreateSound(1905403158,Gun,10,1.5,false) |
1684 | + | lasersound(4) |
1685 | - | for i=0, 0.5, 0.1 / Animation_Speed do |
1685 | + | lasersound(4) |
1686 | - | Swait() |
1686 | + | lasersound(4) |
1687 | - | turnto(Mouse.Hit.p) |
1687 | + | lasersound(4) |
1688 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1688 | + | lasersound(4) |
1689 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1689 | + | lasersound(4) |
1690 | - | if MRANDOM(1,30) == 10 then |
1690 | + | Laser(prt1,math.random(10,20)) |
1691 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) |
1691 | + | Laser(prt2,math.random(10,20)) |
1692 | - | end |
1692 | + | Laser(prt3,math.random(10,20)) |
1693 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
1693 | + | Laser(prt4,math.random(10,20)) |
1694 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0.2, 0.8, -1.5) * ANGLES(RAD(90), RAD(0), RAD(50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1694 | + | Laser(prt5,math.random(10,20)) |
1695 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1695 | + | Laser(prt6,math.random(10,20)) |
1696 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1696 | + | Laser(prt7,math.random(10,20)) |
1697 | Laser(prt8,math.random(10,20)) | |
1698 | - | for i=0, 0.5, 0.1 / Animation_Speed do |
1698 | + | wait(1) |
1699 | - | Swait() |
1699 | + | attack = false |
1700 | - | turnto(Mouse.Hit.p) |
1700 | + | end |
1701 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1701 | + | end |
1702 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1702 | + | function LaserPillars() |
1703 | - | if MRANDOM(1,30) == 10 then |
1703 | + | if mana >= 0 then |
1704 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) |
1704 | + | attack = true |
1705 | - | end |
1705 | + | for i = 0,1,0.1 do |
1706 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
1706 | + | wait() |
1707 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0.2, 0.8, -2.5) * ANGLES(RAD(90), RAD(0), RAD(50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1707 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) |
1708 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1708 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) |
1709 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
1709 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1710 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1711 | - | for i=0, 0.2, 0.3 / Animation_Speed do |
1711 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1712 | - | Swait() |
1712 | + | wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) |
1713 | - | turnto(Mouse.Hit.p) |
1713 | + | wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) |
1714 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed) |
1714 | + | wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) |
1715 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed) |
1715 | + | wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) |
1716 | - | if MRANDOM(1,30) == 10 then |
1716 | + | wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) |
1717 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1717 | + | wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) |
1718 | - | end |
1718 | + | wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) |
1719 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
1719 | + | wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) |
1720 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(20), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1720 | + | end |
1721 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1721 | + | for i = 0,1,0.1 do |
1722 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1722 | + | wait() |
1723 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1724 | - | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) |
1724 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1725 | - | SpawnTrail(Hole.Position,POS) |
1725 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1726 | - | if HIT ~= nil then |
1726 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1727 | - | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then |
1727 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1728 | - | Kill(HIT.Parent) |
1728 | + | wld1.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0,6.28-6.28*i) |
1729 | wld2.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0.785*i,0.785-0.785*i) | |
1730 | wld3.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,1.57*i,1.57-1.57*i) | |
1731 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(2,2,0.4), SoundID = 541909814, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1}) |
1731 | + | wld4.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,2.355*i,2.355-2.355*i) |
1732 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(2,2,0.4), SoundID = 1905402432, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) |
1732 | + | wld5.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.14*i,3.14-3.14*i) |
1733 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(2,2,0.4), SoundID = 541909814, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1}) |
1733 | + | wld6.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.925*i,3.925-3.925*i) |
1734 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(2,2,0.4), SoundID = 541909814, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1}) |
1734 | + | wld7.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,4.71*i,4.71-4.71*i) |
1735 | - | for i=0, 0.3, 0.3 / Animation_Speed do |
1735 | + | wld8.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,5.495*i,5.495-5.495*i) |
1736 | - | Swait() |
1736 | + | end |
1737 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed) |
1737 | + | lasersound(4) |
1738 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed) |
1738 | + | lasersound(4) |
1739 | - | if MRANDOM(1,30) == 10 then |
1739 | + | lasersound(4) |
1740 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1740 | + | lasersound(4) |
1741 | - | end |
1741 | + | lasersound(4) |
1742 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.5, 0.5, 2) * ANGLES(RAD(110), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
1742 | + | lasersound(4) |
1743 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(20), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1743 | + | lasersound(4) |
1744 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1744 | + | lasersound(4) |
1745 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1745 | + | Laser(prt1,math.random(20,40)) |
1746 | Laser(prt2,math.random(20,40)) | |
1747 | - | ATTACK = false |
1747 | + | Laser(prt3,math.random(20,40)) |
1748 | - | Rooted = false |
1748 | + | Laser(prt4,math.random(20,40)) |
1749 | Laser(prt5,math.random(20,40)) | |
1750 | - | Weapon.Parent = Character |
1750 | + | Laser(prt6,math.random(20,40)) |
1751 | - | for _, c in pairs(Weapon:GetChildren()) do |
1751 | + | Laser(prt7,math.random(20,40)) |
1752 | - | if c.ClassName == "Part" then |
1752 | + | Laser(prt8,math.random(20,40)) |
1753 | - | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
1753 | + | hur = 0 |
1754 | for i = 0,1,0.1 do | |
1755 | wait(0.1) | |
1756 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1757 | - | Title = "Melon's (FE) Scripts"; |
1757 | + | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) |
1758 | - | Text = "Loading, enjoy!"; |
1758 | + | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1759 | - | Icon = "rbxthumb://type=Asset&id=7969699183&w=150&h=150"}) |
1759 | + | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) |
1760 | - | Duration = 16; |
1760 | + | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
1761 | - | wait(0) |
1761 | + | wld1.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0+2.5*i,6.28-6.28) |
1762 | wld2.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0.785+2.5*i,0.785-0.785) | |
1763 | - | Mouse.KeyDown:Connect(function(key) |
1763 | + | wld3.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,1.57+2.5*i,1.57-1.57) |
1764 | - | KEYHOLD = true |
1764 | + | wld4.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,2.355+2.5*i,2.355-2.355) |
1765 | - | if key == "z" then |
1765 | + | wld5.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.14+2.5*i,3.14-3.14) |
1766 | - | Shot() |
1766 | + | wld6.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.925+2.5*i,3.925-3.925) |
1767 | wld7.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,4.71+2.5*i,4.71-4.71) | |
1768 | - | if key == "t" then |
1768 | + | wld8.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,5.495+2.5*i,5.495-5.495) |
1769 | - | Taunt() |
1769 | + | if hur == 1 then |
1770 | lasersound(4) | |
1771 | - | if key == "l" then |
1771 | + | lasersound(4) |
1772 | - | Taunt2() |
1772 | + | lasersound(4) |
1773 | lasersound(4) | |
1774 | - | if key == "r" then |
1774 | + | lasersound(4) |
1775 | - | Taunt4() |
1775 | + | lasersound(4) |
1776 | lasersound(4) | |
1777 | - | if key == "y" then |
1777 | + | lasersound(4) |
1778 | - | Taunt3() |
1778 | + | Laser(prt1,math.random(20,40)) |
1779 | Laser(prt2,math.random(20,40)) | |
1780 | - | if key == "f" then |
1780 | + | Laser(prt3,math.random(20,40)) |
1781 | - | Taunt5() |
1781 | + | Laser(prt4,math.random(20,40)) |
1782 | Laser(prt5,math.random(20,40)) | |
1783 | - | if key == "g" then |
1783 | + | Laser(prt6,math.random(20,40)) |
1784 | - | Taunt7() |
1784 | + | Laser(prt7,math.random(20,40)) |
1785 | Laser(prt8,math.random(20,40)) | |
1786 | - | if key == "h" then |
1786 | + | hur = 0 |
1787 | - | Taunt6() |
1787 | + | end |
1788 | hur = hur + 1 | |
1789 | end | |
1790 | wait(1) | |
1791 | - | Mouse.KeyUp:Connect(function() |
1791 | + | attack = false |
1792 | - | KEYHOLD = false |
1792 | + | end |
1793 | end | |
1794 | - | while true do |
1794 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
1795 | - | Swait() |
1795 | + | return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1796 | - | ANIMATE.Parent = nil |
1796 | + | end |
1797 | - | if Character:FindFirstChildOfClass("Humanoid") == nil then |
1797 | + | function Laser(Part,Dmg) |
1798 | - | Humanoid = IT("Humanoid",Character) |
1798 | + | sp = Part.Position |
1799 | dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0) | |
1800 | - | for _,v in next, Humanoid:GetPlayingAnimationTracks() do |
1800 | + | local hit,pos = rayCast(sp,dirr.lookVector,500,Character) |
1801 | - | v:Stop(); |
1801 | + | local las=Instance.new("Part",Character) |
1802 | las.Anchored=true | |
1803 | - | SINE = SINE + CHANGE |
1803 | + | las.Locked=true |
1804 | - | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude |
1804 | + | las.CanCollide=false |
1805 | - | local TORSOVERTICALVELOCITY = RootPart.Velocity.y |
1805 | + | las.TopSurface=0 |
1806 | - | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) |
1806 | + | las.BottomSurface=0 |
1807 | - | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) |
1807 | + | las.FormFactor = "Custom" |
1808 | - | TextLabel.Rotation = -2 + 2 * SIN(SINE/20) |
1808 | + | las.BrickColor=BrickColor.new("Bright red") |
1809 | - | TextLabel.Position = UDim2.new(.01 - .01 * SIN(SINE/12),0,.01 - .01 * SIN(SINE/12),0) |
1809 | + | las.Size=Vector3.new(1,1,1) |
1810 | - | if ANIM == "Walk" and TORSOVELOCITY > 1 then |
1810 | + | las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) |
1811 | - | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1811 | + | local msh=Instance.new("SpecialMesh",las) |
1812 | - | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1812 | + | mag = (Part.Position-pos).magnitude |
1813 | - | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1813 | + | msh.Scale=Vector3.new(0.1,mag,0.1) |
1814 | - | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1814 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1815 | - | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then |
1815 | + | for i = 0,1,0.1 do |
1816 | - | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1816 | + | wait() |
1817 | - | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1817 | + | Part.Transparency = Part.Transparency + 0.1 |
1818 | - | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1818 | + | Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15) |
1819 | - | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1819 | + | end |
1820 | Part.Parent = nil | |
1821 | - | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then |
1821 | + | end),las,msh) |
1822 | - | ANIM = "Jump" |
1822 | + | local las=Instance.new("Part",Character) |
1823 | - | if ATTACK == false then |
1823 | + | las.Anchored=true |
1824 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1824 | + | las.Locked=true |
1825 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1825 | + | las.CanCollide=false |
1826 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1826 | + | las.TopSurface=0 |
1827 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
1827 | + | las.BottomSurface=0 |
1828 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
1828 | + | las.FormFactor = "Custom" |
1829 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
1829 | + | las.BrickColor=BrickColor.new("Really black") |
1830 | - | end |
1830 | + | las.Size=Vector3.new(1,1,1) |
1831 | - | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then |
1831 | + | las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) |
1832 | - | ANIM = "Fall" |
1832 | + | local msh=Instance.new("SpecialMesh",las) |
1833 | - | if ATTACK == false then |
1833 | + | mag = (Part.Position-pos).magnitude |
1834 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1834 | + | msh.Scale=Vector3.new(0.1,mag,0.1) |
1835 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1835 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1836 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1836 | + | for i = 0,1,0.1 do |
1837 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
1837 | + | wait() |
1838 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
1838 | + | Part.Transparency = Part.Transparency + 0.1 |
1839 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) |
1839 | + | Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05) |
1840 | end | |
1841 | - | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then |
1841 | + | Part.Parent = nil |
1842 | - | ANIM = "Idle" |
1842 | + | end),las,msh) |
1843 | - | if ATTACK == false then |
1843 | + | if pos ~= nil then |
1844 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) |
1844 | + | local las2=Instance.new("Part",Character) |
1845 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) |
1845 | + | las2.Anchored=true |
1846 | - | if MRANDOM(1,30) == 10 then |
1846 | + | las2.Locked=true |
1847 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(-45)), 1.5 / Animation_Speed) |
1847 | + | las2.CanCollide=false |
1848 | - | end |
1848 | + | las2.TopSurface=0 |
1849 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1849 | + | las2.BottomSurface=0 |
1850 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(20), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1850 | + | las2.FormFactor = "Custom" |
1851 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1851 | + | las2.BrickColor=BrickColor.new("Bright red") |
1852 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1852 | + | las2.Size=Vector3.new(1,1,1) |
1853 | --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) | |
1854 | - | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then |
1854 | + | las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0) |
1855 | - | ANIM = "Walk" |
1855 | + | local msh=Instance.new("BlockMesh",las2) |
1856 | - | if ATTACK == false then |
1856 | + | mag = (Part.Position-pos).magnitude |
1857 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1857 | + | msh.Scale=Vector3.new(0.1,0.1,0.1) |
1858 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1858 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1859 | - | if MRANDOM(1,30) == 10 then |
1859 | + | --wait(10) |
1860 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) |
1860 | + | for i = 0,1,0.1 do |
1861 | - | end |
1861 | + | wait() |
1862 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, 0.5) * ANGLES(RAD(250), RAD(20), RAD(-80))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1862 | + | Part.Transparency = Part.Transparency + 0.1 |
1863 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) |
1863 | + | Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5) |
1864 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) |
1864 | + | end |
1865 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) |
1865 | + | Part.Parent = nil |
1866 | end),las2,msh) | |
1867 | end | |
1868 | - | Humanoid.MaxHealth = math.huge |
1868 | + | if hit ~= nil and pos ~= nil then |
1869 | - | Humanoid.Health = math.huge |
1869 | + | if hit.Parent.className == "Hat" then |
1870 | - | if Rooted == false then |
1870 | + | hit:BreakJoints() |
1871 | - | Disable_Jump = false |
1871 | + | hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5)) |
1872 | - | Humanoid.WalkSpeed = Speed |
1872 | + | end |
1873 | - | elseif Rooted == true then |
1873 | + | if(hit.Parent:findFirstChild("Humanoid")~= nil)then |
1874 | - | Disable_Jump = true |
1874 | + | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then |
1875 | - | Humanoid.WalkSpeed = 0 |
1875 | + | hit.Parent.Humanoid:TakeDamage(Dmg) |
1876 | showDamage(hit.Parent,Dmg,.5) | |
1877 | end | |
1878 | end | |
1879 | - | ------------------------------------------------- |
1879 | + | --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then |
1880 | end ]] | |
1881 | end | |
1882 | end | |
1883 | function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
1884 | local msh1 = Instance.new("BlockMesh") | |
1885 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
1886 | S=Instance.new("Part") | |
1887 | S.Name="Effect" | |
1888 | S.formFactor=0 | |
1889 | S.Size=Vector3.new(x1,y1,z1) | |
1890 | S.BrickColor=color | |
1891 | S.Reflectance = 0 | |
1892 | S.TopSurface=0 | |
1893 | S.BottomSurface=0 | |
1894 | S.Transparency=0 | |
1895 | S.Anchored=true | |
1896 | S.CanCollide=false | |
1897 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1898 | S.Parent=Character | |
1899 | msh1.Parent = S | |
1900 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1901 | end | |
1902 | function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
1903 | local msh1 = Instance.new("BlockMesh") | |
1904 | msh1.Scale = Vector3.new(x1,y1,z1) | |
1905 | S=Instance.new("Part") | |
1906 | S.Name="Effect" | |
1907 | S.formFactor=0 | |
1908 | S.Size=Vector3.new(1,1,1) | |
1909 | S.BrickColor=color | |
1910 | S.Reflectance = 0 | |
1911 | S.TopSurface=0 | |
1912 | S.BottomSurface=0 | |
1913 | S.Transparency=0 | |
1914 | S.Anchored=true | |
1915 | S.CanCollide=false | |
1916 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1917 | S.Parent=Character | |
1918 | msh1.Parent = S | |
1919 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1920 | end | |
1921 | function MOREMAGIX(part,cframe,x,y,z,color) | |
1922 | p2=Instance.new("Part") | |
1923 | p2.Name="Blast" | |
1924 | p2.TopSurface=0 | |
1925 | p2.BottomSurface=0 | |
1926 | p2.CanCollide=false | |
1927 | p2.Anchored=true | |
1928 | p2.BrickColor=color | |
1929 | p2.Size=Vector3.new(x,y,z) | |
1930 | p2.formFactor="Symmetric" | |
1931 | p2.CFrame=part.CFrame*CFrame.new(0,cframe,0) | |
1932 | p2.Parent=workspace | |
1933 | m=Instance.new("BlockMesh") | |
1934 | m.Parent=p2 | |
1935 | m.Name="BlastMesh" | |
1936 | coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) | |
1937 | end | |
1938 | function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
1939 | local msh1 = Instance.new("SpecialMesh") | |
1940 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
1941 | msh1.MeshType = "Sphere" | |
1942 | S=Instance.new("Part") | |
1943 | S.Name="Effect" | |
1944 | S.formFactor=0 | |
1945 | S.Size=Vector3.new(x1,y1,z1) | |
1946 | S.BrickColor=color | |
1947 | if Style == "WingBlade" and element == "Dark" then | |
1948 | S.BrickColor=BrickColor.new("Black") | |
1949 | end | |
1950 | S.Reflectance = 0 | |
1951 | S.TopSurface=0 | |
1952 | S.BottomSurface=0 | |
1953 | S.Transparency=0 | |
1954 | S.Anchored=true | |
1955 | S.CanCollide=false | |
1956 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
1957 | S.Parent=Character | |
1958 | msh1.Parent = S | |
1959 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1960 | end | |
1961 | function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
1962 | local msh1 = Instance.new("SpecialMesh") | |
1963 | msh1.Scale = Vector3.new(x1,y1,z1) | |
1964 | msh1.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1965 | S=Instance.new("Part") | |
1966 | S.Name="Effect" | |
1967 | S.formFactor=0 | |
1968 | S.Size=Vector3.new(1,1,1) | |
1969 | S.BrickColor=color | |
1970 | S.Reflectance = 0 | |
1971 | S.TopSurface=0 | |
1972 | S.BottomSurface=0 | |
1973 | S.Transparency=0 | |
1974 | S.Anchored=true | |
1975 | S.CanCollide=false | |
1976 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
1977 | S.Parent=Character | |
1978 | msh1.Parent = S | |
1979 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1980 | end | |
1981 | function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
1982 | local msh1 = Instance.new("SpecialMesh") | |
1983 | msh1.Scale = Vector3.new(x1,y1,z1) | |
1984 | msh1.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
1985 | S=Instance.new("Part") | |
1986 | S.Name="Effect" | |
1987 | S.formFactor=0 | |
1988 | S.Size=Vector3.new(1,1,1) | |
1989 | S.BrickColor=color | |
1990 | S.Reflectance = 0 | |
1991 | S.TopSurface=0 | |
1992 | S.BottomSurface=0 | |
1993 | S.Transparency=0 | |
1994 | S.Anchored=true | |
1995 | S.CanCollide=false | |
1996 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
1997 | S.Parent=Character | |
1998 | msh1.Parent = S | |
1999 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2000 | end | |
2001 | function ss(pitch) | |
2002 | local SlashSound = Instance.new("Sound") | |
2003 | --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
2004 | SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" | |
2005 | SlashSound.Parent = workspace | |
2006 | SlashSound.Volume = .7 | |
2007 | SlashSound.Pitch = pitch | |
2008 | SlashSound.PlayOnRemove = true | |
2009 | coroutine.resume(coroutine.create(function() | |
2010 | wait(0) | |
2011 | SlashSound.Parent = nil | |
2012 | end)) | |
2013 | end | |
2014 | function equipsound(pitch) | |
2015 | local SlashSound = Instance.new("Sound") | |
2016 | SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
2017 | SlashSound.Parent = workspace | |
2018 | SlashSound.Volume = .5 | |
2019 | SlashSound.Pitch = pitch | |
2020 | SlashSound.PlayOnRemove = true | |
2021 | coroutine.resume(coroutine.create(function() | |
2022 | wait(0) | |
2023 | SlashSound.Parent = nil | |
2024 | end)) | |
2025 | end | |
2026 | function magicsound(pitch) | |
2027 | local SlashSound = Instance.new("Sound") | |
2028 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
2029 | SlashSound.Parent = workspace | |
2030 | SlashSound.Volume = .5 | |
2031 | SlashSound.Pitch = pitch | |
2032 | SlashSound.PlayOnRemove = true | |
2033 | coroutine.resume(coroutine.create(function() | |
2034 | wait(0) | |
2035 | SlashSound.Parent = nil | |
2036 | end)) | |
2037 | end | |
2038 | function critsound(pitch) | |
2039 | local SlashSound = Instance.new("Sound") | |
2040 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" | |
2041 | SlashSound.Parent = workspace | |
2042 | SlashSound.Volume = .7 | |
2043 | SlashSound.Pitch = pitch | |
2044 | SlashSound.PlayOnRemove = true | |
2045 | coroutine.resume(coroutine.create(function() | |
2046 | wait(0) | |
2047 | SlashSound.Parent = nil | |
2048 | end)) | |
2049 | end | |
2050 | function spikesound(pitch) | |
2051 | local SlashSound = Instance.new("Sound") | |
2052 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
2053 | SlashSound.Parent = workspace | |
2054 | SlashSound.Volume = .7 | |
2055 | SlashSound.Pitch = pitch | |
2056 | SlashSound.PlayOnRemove = true | |
2057 | coroutine.resume(coroutine.create(function() | |
2058 | wait(0) | |
2059 | SlashSound.Parent = nil | |
2060 | end)) | |
2061 | end | |
2062 | function lasersound(pitch) | |
2063 | local SlashSound = Instance.new("Sound") | |
2064 | SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav" | |
2065 | SlashSound.Parent = workspace | |
2066 | SlashSound.Volume = .5 | |
2067 | SlashSound.Pitch = pitch | |
2068 | SlashSound.PlayOnRemove = true | |
2069 | coroutine.resume(coroutine.create(function() | |
2070 | wait(0) | |
2071 | SlashSound.Parent = nil | |
2072 | end)) | |
2073 | end | |
2074 | --rbxasset://sounds/Launching rocket.wav | |
2075 | Damagefunc1=function(hit,Damage,Knockback) | |
2076 | if attackdebounce == false then | |
2077 | attackdebounce = true | |
2078 | coroutine.resume(coroutine.create(function() | |
2079 | wait(0.1) | |
2080 | attackdebounce = false | |
2081 | end)) | |
2082 | if hit.Parent==nil then | |
2083 | return | |
2084 | end | |
2085 | CPlayer=Bin | |
2086 | h=hit.Parent:FindFirstChild("Humanoid") | |
2087 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
2088 | if mana < 800 then | |
2089 | mana = mana + math.random(10,20) | |
2090 | end | |
2091 | if mana > 800 then | |
2092 | mana = 800 | |
2093 | end | |
2094 | Damage=Damage | |
2095 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
2096 | return | |
2097 | end]] | |
2098 | c=Instance.new("ObjectValue") | |
2099 | c.Name="creator" | |
2100 | c.Value=game.Players.LocalPlayer | |
2101 | c.Parent=h | |
2102 | game:GetService("Debris"):AddItem(c,.5) | |
2103 | -- print(c.Value) | |
2104 | if math.random(0,99)+math.random()<=5 then | |
2105 | CRIT=true | |
2106 | Damage=Damage*1.5 | |
2107 | --[[ Knockback=Knockback*2 | |
2108 | r=Instance.new("BodyAngularVelocity") | |
2109 | r.P=3000 | |
2110 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
2111 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
2112 | r.Parent=hit.Parent.Torso]] | |
2113 | critsound(2) | |
2114 | end | |
2115 | Damage=Damage+math.random(0,10) | |
2116 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
2117 | h:TakeDamage(Damage) | |
2118 | showDamage(hit.Parent,Damage,.5) | |
2119 | vp=Instance.new("BodyVelocity") | |
2120 | vp.P=500 | |
2121 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
2122 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
2123 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
2124 | if Knockback>0 then | |
2125 | vp.Parent=hit.Parent.Torso | |
2126 | end | |
2127 | game:GetService("Debris"):AddItem(vp,.25) | |
2128 | --[[ r=Instance.new("BodyAngularVelocity") | |
2129 | r.P=3000 | |
2130 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
2131 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
2132 | r.Parent=hit.Parent.Torso]] | |
2133 | game:GetService("Debris"):AddItem(r,.5) | |
2134 | c=Instance.new("ObjectValue") | |
2135 | c.Name="creator" | |
2136 | c.Value=Player | |
2137 | c.Parent=h | |
2138 | game:GetService("Debris"):AddItem(c,.5) | |
2139 | CRIT=false | |
2140 | hitDeb=true | |
2141 | AttackPos=6 | |
2142 | end | |
2143 | end | |
2144 | end | |
2145 | showDamage=function(Char,Dealt,du) | |
2146 | m=Instance.new("Model") | |
2147 | m.Name=tostring(Dealt) | |
2148 | h=Instance.new("Humanoid") | |
2149 | h.Health=0 | |
2150 | h.MaxHealth=0 | |
2151 | h.Parent=m | |
2152 | c=Instance.new("Part") | |
2153 | c.Transparency=0 | |
2154 | c.BrickColor=BrickColor:Red() | |
2155 | if CRIT==true then | |
2156 | c.BrickColor=BrickColor.new("Really red") | |
2157 | end | |
2158 | c.Name="Head" | |
2159 | c.TopSurface=0 | |
2160 | c.BottomSurface=0 | |
2161 | c.formFactor="Plate" | |
2162 | c.Size=Vector3.new(1,.4,1) | |
2163 | ms=Instance.new("CylinderMesh") | |
2164 | ms.Bevel=.1 | |
2165 | ms.Scale=Vector3.new(.8,.8,.8) | |
2166 | if CRIT==true then | |
2167 | ms.Scale=Vector3.new(1.25,1.5,1.25) | |
2168 | ms.Bevel=.2 | |
2169 | end | |
2170 | ms.Parent=c | |
2171 | c.Reflectance=0 | |
2172 | Instance.new("BodyGyro").Parent=c | |
2173 | c.Parent=m | |
2174 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2175 | f=Instance.new("BodyPosition") | |
2176 | f.P=2000 | |
2177 | f.D=100 | |
2178 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2179 | f.position=c.Position+Vector3.new(0,3,0) | |
2180 | f.Parent=c | |
2181 | game:GetService("Debris"):AddItem(m,.5+du) | |
2182 | c.CanCollide=false | |
2183 | m.Parent=workspace | |
2184 | c.CanCollide=false | |
2185 | end | |
2186 | hold = false | |
2187 | function ob1d(mouse) | |
2188 | if attack == true then return end | |
2189 | if stancing == true then return end | |
2190 | hold = true | |
2191 | if combo == 0 then | |
2192 | combo = 1 | |
2193 | onehit() | |
2194 | coroutine.resume(coroutine.create(function() | |
2195 | wait(0.5) | |
2196 | if attack == false then | |
2197 | combo = 0 | |
2198 | comboing = false | |
2199 | gairo.Parent = nil | |
2200 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
2201 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2202 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2203 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2204 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2205 | end | |
2206 | end)) | |
2207 | elseif combo == 1 then | |
2208 | combo = 2 | |
2209 | twohit() | |
2210 | coroutine.resume(coroutine.create(function() | |
2211 | wait(0.5) | |
2212 | if attack == false then | |
2213 | combo = 0 | |
2214 | comboing = false | |
2215 | gairo.Parent = nil | |
2216 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
2217 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2218 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2219 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2220 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2221 | end | |
2222 | end)) | |
2223 | elseif combo == 2 then | |
2224 | combo = 3 | |
2225 | threehit() | |
2226 | coroutine.resume(coroutine.create(function() | |
2227 | wait(0.5) | |
2228 | if attack == false then | |
2229 | combo = 0 | |
2230 | comboing = false | |
2231 | gairo.Parent = nil | |
2232 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
2233 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2234 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2235 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2236 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2237 | end | |
2238 | end)) | |
2239 | elseif combo == 3 then | |
2240 | combo = 4 | |
2241 | fourhit() | |
2242 | wait(0.5) | |
2243 | combo = 0 | |
2244 | comboing = false | |
2245 | gairo.Parent = nil | |
2246 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
2247 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2248 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2249 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2250 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2251 | end | |
2252 | end | |
2253 | function ob1u(mouse) | |
2254 | hold = false | |
2255 | end | |
2256 | buttonhold = false | |
2257 | function key(key) | |
2258 | if attack == true then return end | |
2259 | if key == "q" then | |
2260 | LaserWave() | |
2261 | end | |
2262 | if key == "e" then | |
2263 | OverBlast() | |
2264 | end | |
2265 | if key == "r" then | |
2266 | SpinBeam() | |
2267 | end | |
2268 | if key == "t" then | |
2269 | LaserBarrage() | |
2270 | end | |
2271 | if key == "y" then | |
2272 | CloseRangedFire() | |
2273 | end | |
2274 | if key == "u" then | |
2275 | SpinLaser() | |
2276 | end | |
2277 | if key == "x" then | |
2278 | Implosion() | |
2279 | end | |
2280 | if key == "c" then | |
2281 | LaserPillars() | |
2282 | end | |
2283 | if key == "z" then | |
2284 | DodgeTheLaser() | |
2285 | end | |
2286 | end | |
2287 | function key2(key) | |
2288 | end | |
2289 | function s(mouse) | |
2290 | mouse.Button1Down:connect(function() ob1d(mouse) end) | |
2291 | mouse.Button1Up:connect(function() ob1u(mouse) end) | |
2292 | mouse.KeyDown:connect(key) | |
2293 | mouse.KeyUp:connect(key2) | |
2294 | player = Player | |
2295 | ch = Character | |
2296 | RSH = ch.Torso["Right Shoulder"] | |
2297 | LSH = ch.Torso["Left Shoulder"] | |
2298 | -- | |
2299 | RW.Part0 = ch.Torso | |
2300 | RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
2301 | RW.C1 = CFrame.new(0, 0.5, 0) | |
2302 | RW.Part1 = ch["Right Arm"] | |
2303 | RW.Parent = ch.Torso | |
2304 | --_G.R = RW | |
2305 | -- | |
2306 | LW.Part0 = ch.Torso | |
2307 | LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
2308 | LW.C1 = CFrame.new(0, 0.5, 0) | |
2309 | LW.Part1 = ch["Left Arm"] | |
2310 | LW.Parent = ch.Torso | |
2311 | --_G.L = LW | |
2312 | -- | |
2313 | equipanim() | |
2314 | end | |
2315 | function ds(mouse) | |
2316 | hideanim() | |
2317 | RW.Parent = nil | |
2318 | LW.Parent = nil | |
2319 | RSH.Parent = player.Character.Torso | |
2320 | LSH.Parent = player.Character.Torso | |
2321 | end | |
2322 | Bin.Selected:connect(s) | |
2323 | Bin.Deselected:connect(ds) | |
2324 | function onRunning(speed) | |
2325 | if attack == true then return end | |
2326 | if speed>0 then | |
2327 | walking = true | |
2328 | for i = 0,1,0.1 do | |
2329 | wait() | |
2330 | if attack == false and comboing == false then | |
2331 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
2332 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2333 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
2334 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2335 | end | |
2336 | end | |
2337 | else | |
2338 | walking = false | |
2339 | for i = 0,1,0.1 do | |
2340 | wait() | |
2341 | if attack == false and comboing == false then | |
2342 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) | |
2343 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2344 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) | |
2345 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2346 | end | |
2347 | end | |
2348 | end | |
2349 | end | |
2350 | Character.Humanoid.Running:connect(onRunning) | |
2351 | coroutine.resume(coroutine.create(function() | |
2352 | while true do | |
2353 | wait(0) | |
2354 | fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0) | |
2355 | fentext.Text = "Energy("..mana..")" | |
2356 | fentext3.BackgroundColor3 = Color3.new(1,1,1) | |
2357 | end | |
2358 | end)) | |
2359 | coroutine.resume(coroutine.create(function() | |
2360 | while true do | |
2361 | wait(0.1) | |
2362 | if mana <= 0 and attack == false then | |
2363 | attack = true | |
2364 | while mana <= 800 do | |
2365 | wait(0.1) | |
2366 | mana = mana + 5 | |
2367 | end | |
2368 | attack = false | |
2369 | end | |
2370 | if mana < 800 and attack == false then | |
2371 | mana = mana + 2 | |
2372 | end | |
2373 | end | |
2374 | end)) | |
2375 | coroutine.resume(coroutine.create(function() | |
2376 | while true do | |
2377 | wait() | |
2378 | for i = 0,1,0.01 do | |
2379 | wait(0) | |
2380 | if attack == false and comboing == false then | |
2381 | wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2382 | wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2383 | wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2384 | wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2385 | wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2386 | wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2387 | wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2388 | wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) | |
2389 | end | |
2390 | end | |
2391 | end | |
2392 | end)) | |
2393 | ||
2394 |