SHOW:
|
|
- or go back to the newest paste.
1 | Effects = {} --sound effects, for advanced players. | |
2 | local Player = game.Players.localPlayer | |
3 | local Character = Player.Character | |
4 | local Humanoid = Character.Humanoid | |
5 | z = Instance.new("Sound", Character) | |
6 | z.SoundId = "rbxassetid://401120618"-- | |
7 | z.Looped = true --False for a one-time song. | |
8 | z.Pitch = 1.0 | |
9 | z.Volume = 1.6 | |
10 | wait(.1) | |
11 | z:Play() | |
12 | ------------------------ | |
13 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"MrWolf's Beast Claw.", "Green") | |
14 | wait(0.016666666666667) | |
15 | script.Archivable = false | |
16 | Effects = {} | |
17 | local Player = game.Players.localPlayer | |
18 | local Character = Player.Character | |
19 | local Humanoid = Character.Humanoid | |
20 | local mouse = Player:GetMouse() | |
21 | local m = Instance.new("Model", Character) | |
22 | m.Name = "WeaponModel" | |
23 | local effect = Instance.new("Model", Character) | |
24 | effect.Name = "effecsfsafzx" | |
25 | local demon = Instance.new("Model", Character) | |
26 | demon.Name = "demdemd" | |
27 | local LeftArm = Character["Left Arm"] | |
28 | local RightArm = Character["Right Arm"] | |
29 | local LeftLeg = Character["Left Leg"] | |
30 | local RightLeg = Character["Right Leg"] | |
31 | local do2target = nil | |
32 | local Head = Character.Head | |
33 | local Torso = Character.Torso | |
34 | local cam = game.Workspace.CurrentCamera | |
35 | local RootPart = Character.HumanoidRootPart | |
36 | local RootJoint = RootPart.RootJoint | |
37 | local equipped = false | |
38 | local attack = false | |
39 | local Anim = "Idle" | |
40 | local idle = 0 | |
41 | local attacktype = 1 | |
42 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
43 | local velocity = RootPart.Velocity.y | |
44 | local sine = 0 | |
45 | local change = 1 | |
46 | local mana = 0 | |
47 | local it = Instance.new | |
48 | vt = Vector3.new | |
49 | local grabbed = false | |
50 | local cf = CFrame.new | |
51 | local mr = math.rad | |
52 | local angles = CFrame.Angles | |
53 | local ud = UDim2.new | |
54 | local c3 = Color3.new | |
55 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
56 | Humanoid.Animator:Destroy() | |
57 | Character.Animate:Destroy() | |
58 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
59 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
60 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
61 | RSH = nil | |
62 | RW = Instance.new("Weld") | |
63 | LW = Instance.new("Weld") | |
64 | RH = Torso["Right Hip"] | |
65 | LH = Torso["Left Hip"] | |
66 | RSH = Torso["Right Shoulder"] | |
67 | LSH = Torso["Left Shoulder"] | |
68 | RSH.Parent = nil | |
69 | LSH.Parent = nil | |
70 | RW.Name = "RW" | |
71 | RW.Part0 = Torso | |
72 | RW.C0 = cf(1.5, 0.5, 0) | |
73 | RW.C1 = cf(0, 0.5, 0) | |
74 | RW.Part1 = RightArm | |
75 | RW.Parent = Torso | |
76 | LW.Name = "LW" | |
77 | LW.Part0 = Torso | |
78 | LW.C0 = cf(-1.5, 0.5, 0) | |
79 | LW.C1 = cf(0, 0.5, 0) | |
80 | LW.Part1 = LeftArm | |
81 | LW.Parent = Torso | |
82 | clerp = function(a, b, t) | |
83 | ||
84 | return a:lerp(b, t) | |
85 | end | |
86 | ||
87 | local RbxUtility = LoadLibrary("RbxUtility") | |
88 | local Create = RbxUtility.Create | |
89 | RemoveOutlines = function(part) | |
90 | ||
91 | part.TopSurface = 10 | |
92 | end | |
93 | ||
94 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
95 | ||
96 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
97 | RemoveOutlines(Part) | |
98 | return Part | |
99 | end | |
100 | ||
101 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
102 | ||
103 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
104 | if Mesh == "SpecialMesh" then | |
105 | Msh.MeshType = MeshType | |
106 | Msh.MeshId = MeshId | |
107 | end | |
108 | return Msh | |
109 | end | |
110 | ||
111 | local co1 = 3 | |
112 | local co2 = 10 | |
113 | local co3 = 15 | |
114 | local co4 = 30 | |
115 | local cooldown1 = 0 | |
116 | local cooldown2 = 0 | |
117 | local cooldown3 = 0 | |
118 | local cooldown4 = 0 | |
119 | local maxEnergy = 100 | |
120 | local Energy = 0 | |
121 | local skill1stam = 10 | |
122 | local skill2stam = 50 | |
123 | local skill3stam = 60 | |
124 | local skill4stam = 100 | |
125 | local recovermana = 5 | |
126 | local skillcolorscheme = BrickColor.new("Magenta").Color | |
127 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
128 | makeframe = function(par, trans, pos, size, color) | |
129 | ||
130 | local frame = Instance.new("Frame", par) | |
131 | frame.BackgroundTransparency = trans | |
132 | frame.BorderSizePixel = 0 | |
133 | frame.Position = pos | |
134 | frame.Size = size | |
135 | frame.BackgroundColor3 = color | |
136 | return frame | |
137 | end | |
138 | ||
139 | makelabel = function(par, text) | |
140 | ||
141 | local label = Instance.new("TextLabel", par) | |
142 | label.BackgroundTransparency = 1 | |
143 | label.Size = UDim2.new(1, 0, 1, 0) | |
144 | label.Position = UDim2.new(0, 0, 0, 0) | |
145 | label.TextColor3 = Color3.new(255, 255, 255) | |
146 | label.TextStrokeTransparency = 0 | |
147 | label.FontSize = Enum.FontSize.Size32 | |
148 | label.Font = Enum.Font.SourceSansLight | |
149 | label.BorderSizePixel = 0 | |
150 | label.TextScaled = true | |
151 | label.Text = text | |
152 | end | |
153 | ||
154 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.93, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
155 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.86, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
156 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.79, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
157 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.72, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
158 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
159 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
160 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
161 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
162 | text1 = makelabel(framesk1, "[z] Hunt") | |
163 | text2 = makelabel(framesk2, "[x] Ravage") | |
164 | text3 = makelabel(framesk3, "[c] Capture") | |
165 | text4 = makelabel(framesk4, "[v] Flower of Fear") | |
166 | ArtificialHB = Instance.new("BindableEvent", script) | |
167 | ArtificialHB.Name = "Heartbeat" | |
168 | script:WaitForChild("Heartbeat") | |
169 | frame = 0.033333333333333 | |
170 | tf = 0 | |
171 | allowframeloss = false | |
172 | tossremainder = false | |
173 | lastframe = tick() | |
174 | script.Heartbeat:Fire() | |
175 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
176 | ||
177 | tf = tf + s | |
178 | if frame <= tf then | |
179 | if allowframeloss then | |
180 | script.Heartbeat:Fire() | |
181 | lastframe = tick() | |
182 | else | |
183 | for i = 1, math.floor(tf / frame) do | |
184 | script.Heartbeat:Fire() | |
185 | end | |
186 | lastframe = tick() | |
187 | end | |
188 | if tossremainder then | |
189 | tf = 0 | |
190 | else | |
191 | tf = tf - frame * math.floor(tf / frame) | |
192 | end | |
193 | end | |
194 | end | |
195 | ) | |
196 | swait = function(num) | |
197 | ||
198 | if num == 0 or num == nil then | |
199 | ArtificialHB.Event:wait() | |
200 | else | |
201 | for i = 0, num do | |
202 | ArtificialHB.Event:wait() | |
203 | end | |
204 | end | |
205 | end | |
206 | ||
207 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
208 | ||
209 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
210 | return Weld | |
211 | end | |
212 | ||
213 | rayCast = function(Position, Direction, Range, Ignore) | |
214 | ||
215 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
216 | end | |
217 | ||
218 | CreateSound = function(id, par, vol, pit) | |
219 | ||
220 | coroutine.resume(coroutine.create(function() | |
221 | ||
222 | local sou = Instance.new("Sound", par or workspace) | |
223 | sou.Volume = vol | |
224 | sou.Pitch = pit or 1 | |
225 | sou.SoundId = id | |
226 | swait() | |
227 | sou:play() | |
228 | game:GetService("Debris"):AddItem(sou, 6) | |
229 | end | |
230 | )) | |
231 | end | |
232 | ||
233 | local getclosest = function(obj, distance) | |
234 | ||
235 | local last, lastx = distance + 1, nil | |
236 | for i,v in pairs(workspace:GetChildren()) do | |
237 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
238 | local t = v.Torso | |
239 | local dist = t.Position - obj.Position.magnitude | |
240 | if dist <= distance and dist < last then | |
241 | last = dist | |
242 | lastx = v | |
243 | end | |
244 | end | |
245 | end | |
246 | return lastx | |
247 | end | |
248 | ||
249 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
250 | ||
251 | if PartType == "Part" then | |
252 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
253 | RemoveOutlines(Part) | |
254 | return Part | |
255 | else | |
256 | do | |
257 | if PartType == "WedgePart" then | |
258 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
259 | RemoveOutlines(Part) | |
260 | return Part | |
261 | end | |
262 | end | |
263 | end | |
264 | end | |
265 | ||
266 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Dirt brown", "Handle", Vector3.new(1, 2, 1)) | |
267 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
268 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
269 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.598956585, -0.401195407, 0, 0, 1, 0.25881803, -0.965926111, 0, 0.965926111, 0.25881803, 0)) | |
270 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.150000006)) | |
271 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
272 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.858075142, -0.276378155, -0.49209857, 0.353552133, -0.866025269, 0.353555113, 0.707108736, -9.03335206e-07, -0.707104981, 0.612371027, 0.500000358, 0.61237365)) | |
273 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001)) | |
274 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
275 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142959999, -0.79026103, -0.577523232, 0, 0, 1, 0.0581610166, -0.998307228, 0, 0.998307228, 0.0581610166, 0)) | |
276 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.100000001)) | |
277 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
278 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.857914209, 0.258751988, -0.512362957, 0.353553236, -0.866025567, -0.353553236, -0.707106471, 3.09715034e-07, -0.707107246, 0.612372994, 0.499999791, -0.6123721)) | |
279 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001)) | |
280 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
281 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.508293927, 0.581420183, 0.355297565, -1, 0, 0, 0, -0.694275975, -0.719708979, 0, -0.719708979, 0.694275975)) | |
282 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
283 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
284 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, -0.605236769, -0.322324991, 1, 0, 0, 0, 0.719708979, -0.694275975, 0, 0.694275975, 0.719708979)) | |
285 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
286 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
287 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.0117408261, -0.729162693, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
288 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.208000004, 0.47299999, 0.47299999)) | |
289 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
290 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.123879015, -0.278857708, -0.00617899979, 0.965925336, -0.2588211, 0, 0.2588211, 0.965925336, 0, 0, 0, 1)) | |
291 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
292 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.445813209, 0.210449979, 1.04200566)) | |
293 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.223450184, 0.0305250883, -0.00618699985, -0.25881803, 0.965926111, 0, -0.965926111, -0.25881803, 0, 0, 0, 1)) | |
294 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
295 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
296 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.407537222, 0.0663063526, -0.00618699985, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352, 0, 0, 0, 1)) | |
297 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
298 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.664211631, 0.210449979, 1.04200566)) | |
299 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0544009209, 0.0101571083, -0.00617499975, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, 1)) | |
300 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
301 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
302 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.212381959, -0.663311005, -0.00618499983, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
303 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.730365157, 0.388499111, 1.00999999)) | |
304 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
305 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0184851885, 0.339620829, -0.0061809998, 0.715359032, -0.698757052, 0, 0.698757052, 0.715359032, 0, 0, 0, 1)) | |
306 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.834142029, 0.388499111, 1.00999999)) | |
307 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.627083898, 0.210449979, 1.04200566)) | |
308 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280005217, -0.363016367, -0.00617299974, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
309 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
310 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.329999983)) | |
311 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.00543988496, -0.414242506, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
312 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
313 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
314 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.453824013, -0.291407824, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
315 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.83414197, 0.388499111, 1.00999999)) | |
316 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
317 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51018995, -0.50767684, 0.297928989, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
318 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
319 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
320 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117785633, -0.903934956, 0.39272213, 0.707106352, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707106352)) | |
321 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
322 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
323 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.677359819, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
324 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
325 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
326 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0118038058, 0.689624906, 0.570050001, 0.707103848, 0, 0.707109809, -0.707109809, 0, 0.707103848, 0, -1, 0)) | |
327 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
328 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
329 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510767996, -0.508222818, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
330 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
331 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
332 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285520971, -0.664801836, -0.00591700012, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
333 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
334 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.728394926, 0.35408181, 1.04200566)) | |
335 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.159419954, -0.695495844, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
336 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
337 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Black", "Part", Vector3.new(0.796342552, 0.65287286, 1.04582763)) | |
338 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.144507021, 0.270431995, -0.00702500017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
339 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
340 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
341 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0228680372, -0.903097868, -0.00617699977, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
342 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
343 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
344 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.157143831, -0.295579016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
345 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
346 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.475480139, 0.404664904, 1.04200566)) | |
347 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236273766, -0.56151557, -0.0061809998, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
348 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
349 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
350 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000811070204, -0.902295828, 0.381639034, -0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, -0.707106829)) | |
351 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
352 | Part = CreatePart2(m, Enum.Material.Neon, 0, 0, "Part", "Black", "Part", Vector3.new(1, 1, 1)) | |
353 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.618730307, -0.382281303, 0, 0, 1, 0.36670509, -0.93033725, 0, 0.93033725, 0.36670509, 0)) | |
354 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.709999979, 0.100000001)) | |
355 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
356 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000812500715, 0.678554535, 0.570062876, -0.707106829, 0, 0.707106829, -0.707106829, 0, -0.707106829, 0, -1, 0)) | |
357 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
358 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Black", "Part", Vector3.new(0.274916351, 0.495625556, 1.04582763)) | |
359 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.386464, 0.349603176, -0.00702300016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
360 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
361 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
362 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285515964, -0.215442896, -0.00591900013, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
363 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
364 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
365 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51019901, -0.156597853, 0.297930986, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
366 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
367 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(1.06224263, 1.11860847, 1.04200566)) | |
368 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00774800777, 0.0171630383, -0.0061809998, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
369 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
370 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
371 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510194004, -0.67681098, 0.297922999, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
372 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
373 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "WedgePart", "Industrial White", "ClawMaterial", Vector3.new(1.0507766, 0.342107773, 0.210450009)) | |
374 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00591100007, -0.468749046, 0.193565369, 0, 0, 1, -0.700001419, -0.714141428, 0, 0.714141428, -0.700001419, 0)) | |
375 | CreateMesh("SpecialMesh", ClawMaterial, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.961421788)) | |
376 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
377 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00134065747, 0.207813978, 0.709334135, 0.707106829, 0, -0.707106829, 0, -1, 0, -0.707106829, 0, -0.707106829)) | |
378 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
379 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
380 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947299972, -0.114370823, -0.440932035, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
381 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.561885834, 0.961421788)) | |
382 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.411995441, 0.210450009)) | |
383 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00891099963, -0.798730135, 0.476718009, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
384 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
385 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.04586256, 0.210449979, 0.27767837)) | |
386 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00726700015, 0.0232260227, 0.391721964, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
387 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.764251173, 1)) | |
388 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.385787576, 0.210450009)) | |
389 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509499991, -0.792718172, 0.456955969, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
390 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
391 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
392 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509600015, -0.696686029, 0.42363596, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
393 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
394 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
395 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012203753, 0.206679821, 0.707822442, -0.707106352, 0, -0.707107365, 0, -1, 0, -0.707107365, 0, 0.707106352)) | |
396 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
397 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
398 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947900023, -0.695355177, 0.440928012, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
399 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
400 | MotorOne = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, "Industrial red", "MotorOne", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
401 | MotorOneWeld = CreateWeld(m, Handle, MotorOne, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.165818453, -0.00628910959, -0.978227913, -0.0732169896, -0.996971905, -0.0261989962, -0.542171299, 0.0618378855, -0.83798945, 0.837072074, -0.0471507274, -0.545057178)) | |
402 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
403 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413149118, -0.00709122419, -1.08955288, 0.90752846, 5.51342964e-07, -0.419990718, -1.73971057e-06, 1, -2.44379044e-06, 0.419990718, 2.95042992e-06, 0.90752852)) | |
404 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003)) | |
405 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
406 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.205875158, -0.00710588694, -1.48987699, 0.747897685, -5.36441803e-07, -0.663814127, -1.66893005e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897744)) | |
407 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
408 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
409 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151987076, 0.549069643, -0.614215612, -1.19581819e-06, 1, 1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
410 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
411 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151856542, -0.490994453, -0.295432806, -1.19581819e-06, 1, 1.37090683e-06, -0.961226821, -7.5250864e-07, -0.27575928, -0.27575931, -1.57952309e-06, 0.96122694)) | |
412 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
413 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015198648, 0.650615692, -0.406500697, -1.19581819e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
414 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
415 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152282119, 0.624634504, 0.129744053, -1.19581819e-06, 1, 1.37090683e-06, -0.832109034, -2.5331974e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
416 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
417 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0152042508, 0.944105864, 0.894237399, 1.19581819e-06, -1, -1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
418 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
419 | ClawWeld = CreateWeld(m, MotorOne, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121058, -0.0170745254, -0.650540829, 1.00000012, 0, 3.7252903e-09, 0, 1, 0, 3.7252903e-09, 0, 1.00000024)) | |
420 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981)) | |
421 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
422 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151966214, -1.64906764, 1.03426063, -1.19581819e-06, 1, 1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
423 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
424 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252064466, -1.54980397, -0.844281435, 1.19581819e-06, -1, -1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
425 | MotorTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, "Industrial red", "MotorTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
426 | MotorTwoWeld = CreateWeld(m, Handle, MotorTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0479729176, -0.503670454, -0.786706924, 0.0261989962, -0.996971905, -0.0732169896, 0.83798945, 0.0618378855, -0.542171299, 0.545057178, -0.0471507274, 0.837072074)) | |
427 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
428 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413152218, -0.00709152222, -1.08955348, 0.90752846, 5.66244125e-07, -0.419990689, -1.74157321e-06, 1, -2.47359276e-06, 0.419990718, 2.98023224e-06, 0.907528639)) | |
429 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003)) | |
430 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
431 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20587635, -0.00710582733, -1.4898783, 0.747897685, -5.36441803e-07, -0.663814127, -1.6707927e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897804)) | |
432 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
433 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
434 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151982307, 0.549069643, -0.614216566, -1.19395554e-06, 1, 1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
435 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
436 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151848793, -0.490990877, -0.295432806, -1.19395554e-06, 1, 1.37090683e-06, -0.961226821, -7.74860382e-07, -0.27575931, -0.27575925, -1.63912773e-06, 0.961226881)) | |
437 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
438 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151979923, 0.650617838, -0.406501412, -1.19395554e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
439 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
440 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152257681, 0.624636889, 0.129745722, -1.19395554e-06, 1, 1.37090683e-06, -0.832109034, -2.38418579e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
441 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
442 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015203476, 0.944107533, 0.894238472, 1.19395554e-06, -1, -1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
443 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
444 | ClawWeld = CreateWeld(m, MotorTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121142, -0.0170750618, -0.650540113, 1.00000012, -1.86264515e-09, 4.65661287e-09, -1.86264515e-09, 1, 0, 4.65661287e-09, 0, 1.00000024)) | |
445 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981)) | |
446 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
447 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151972771, -1.64906967, 1.03426158, -1.19395554e-06, 1, 1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
448 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
449 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252062082, -1.54980803, -0.844281912, 1.19395554e-06, -1, -1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
450 | MotorThumb = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, "Industrial red", "MotorThumb", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
451 | MotorThumbWeld = CreateWeld(m, Handle, MotorThumb, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.436262846, -0.542311668, -0.983556807, -0.068211019, -0.995336354, 0.0682120249, -0.707106829, -7.08211871e-07, -0.707106709, 0.703809023, -0.0964656472, -0.703809083)) | |
452 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
453 | ClawWeld = CreateWeld(m, MotorThumb, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607737899, 0.0110911727, 0.0515184402, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
454 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005)) | |
455 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
456 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723732, 0.990283549, 1.41561031e-06, -0.13906303, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.13906303, 8.94069672e-08, 0.990283489)) | |
457 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
458 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
459 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025633, 0.0210601687, -0.0396541655, 0.908135235, 2.08616257e-06, -0.418677092, -1.47148967e-06, 1.00000012, 1.75833702e-06, 0.418677121, -9.23871994e-07, 0.908135176)) | |
460 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
461 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
462 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129690766, -0.393394113, 0.191975117, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
463 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
464 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775405, -0.706632137, 0.168079853, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
465 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
466 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299531221, -0.294105291, -0.00194394588, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
467 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
468 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598301, 0.0969114304, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
469 | MotorThumbTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, "Industrial red", "MotorThumbTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
470 | MotorThumbTwoWeld = CreateWeld(m, Handle, MotorThumbTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.444597721, 0.423756033, -0.897562623, -0.0682120249, -0.995336354, -0.068211019, 0.707106709, -7.08211871e-07, -0.707106829, 0.703809083, -0.0964656621, 0.703809023)) | |
471 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
472 | ClawWeld = CreateWeld(m, MotorThumbTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607738018, 0.0110911727, 0.0515185595, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
473 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005)) | |
474 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
475 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723612, 0.990283549, 1.42306089e-06, -0.139062777, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.139062807, 1.1920929e-07, 0.990283608)) | |
476 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
477 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
478 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025394, 0.0210601091, -0.0396541059, 0.908135235, 2.08616257e-06, -0.418677092, -1.72480941e-06, 1, 1.16229057e-06, 0.418677121, -3.57627869e-07, 0.908135176)) | |
479 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
480 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
481 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.012969017, -0.393394232, 0.191974878, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
482 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
483 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775107, -0.706632137, 0.168079972, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
484 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
485 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299596786, -0.29410553, -0.00194442272, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
486 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
487 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598063, 0.0969111919, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
488 | MagniHit = CreatePart(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "MagniHit", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
489 | MagniHitWeld = CreateWeld(m, Character.HumanoidRootPart, MagniHit, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.01003361, -0.230025291, 0.070048213, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
490 | local CBlade = {} | |
491 | local CBladeWelds = {} | |
492 | for _,c in pairs(m:children()) do | |
493 | if c.className == "Part" then | |
494 | table.insert(CBlade, R67_PC6072) | |
495 | end | |
496 | end | |
497 | for _,c in pairs(m:children()) do | |
498 | if c.className == "Weld" then | |
499 | table.insert(CBladeWelds, R67_PC6072) | |
500 | print(R66_PC6093) | |
501 | end | |
502 | end | |
503 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
504 | ||
505 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
506 | ||
507 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
508 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
509 | ||
510 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
511 | ||
512 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
513 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3)) | |
514 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
515 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
516 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
517 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
518 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5)) | |
519 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
520 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
521 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1)) | |
522 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
523 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
524 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5)) | |
525 | local DBlade = {} | |
526 | local DBladeWelds = {} | |
527 | for _,c in pairs(demon:children()) do | |
528 | if c.className == "Part" then | |
529 | table.insert(DBlade, c) | |
530 | end | |
531 | end | |
532 | for _,c in pairs(demon:children()) do | |
533 | if c.className == "Weld" then | |
534 | table.insert(DBladeWelds, c) | |
535 | print(c) | |
536 | end | |
537 | end | |
538 | demon.Parent = nil | |
539 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
540 | ||
541 | if hit.Parent == nil then | |
542 | return | |
543 | end | |
544 | local h = hit.Parent:FindFirstChild("Humanoid") | |
545 | for _,v in pairs(hit.Parent:children()) do | |
546 | if v:IsA("Humanoid") then | |
547 | h = v | |
548 | end | |
549 | end | |
550 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
551 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
552 | return | |
553 | end | |
554 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h}) | |
555 | game:GetService("Debris"):AddItem(c, 0.5) | |
556 | if HitSound ~= nil and HitPitch ~= nil then | |
557 | CreateSound(HitSound, hit, 1, HitPitch) | |
558 | end | |
559 | local Damage = math.random(minim, maxim) | |
560 | local blocked = false | |
561 | local block = hit.Parent:findFirstChild("Block") | |
562 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
563 | blocked = true | |
564 | block.Value = block.Value - 1 | |
565 | print(block.Value) | |
566 | end | |
567 | if blocked == false then | |
568 | h.Health = h.Health - Damage | |
569 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
570 | else | |
571 | h.Health = h.Health - Damage / 2 | |
572 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
573 | end | |
574 | if Type == "Knockdown" then | |
575 | local hum = hit.Parent.Humanoid | |
576 | hum.PlatformStand = true | |
577 | coroutine.resume(coroutine.create(function(HHumanoid) | |
578 | ||
579 | swait(1) | |
580 | HHumanoid.PlatformStand = false | |
581 | end | |
582 | ), hum) | |
583 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
584 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
585 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit}) | |
586 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
587 | game:GetService("Debris"):AddItem(rl, 0.5) | |
588 | else | |
589 | do | |
590 | if Type == "Normal" then | |
591 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05}) | |
592 | if knockback > 0 then | |
593 | vp.Parent = hit.Parent.Torso | |
594 | end | |
595 | game:GetService("Debris"):AddItem(vp, 0.5) | |
596 | else | |
597 | do | |
598 | if Type == "Up" then | |
599 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
600 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
601 | else | |
602 | do | |
603 | if Type == "DarkUp" then | |
604 | coroutine.resume(coroutine.create(function() | |
605 | ||
606 | for i = 0, 1, 0.1 do | |
607 | swait() | |
608 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1) | |
609 | end | |
610 | end | |
611 | )) | |
612 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
613 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
614 | else | |
615 | do | |
616 | if Type == "Snare" then | |
617 | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
618 | game:GetService("Debris"):AddItem(bp, 1) | |
619 | else | |
620 | do | |
621 | if Type == "Freeze" then | |
622 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
623 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame}) | |
624 | hit.Parent.Torso.Anchored = true | |
625 | coroutine.resume(coroutine.create(function(Part) | |
626 | ||
627 | swait(1.5) | |
628 | Part.Anchored = false | |
629 | end | |
630 | ), hit.Parent.Torso) | |
631 | game:GetService("Debris"):AddItem(BodPos, 3) | |
632 | game:GetService("Debris"):AddItem(BodGy, 3) | |
633 | end | |
634 | do | |
635 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true}) | |
636 | game:GetService("Debris"):AddItem(debounce, Delay) | |
637 | c = Instance.new("ObjectValue") | |
638 | c.Name = "creator" | |
639 | c.Value = Player | |
640 | c.Parent = h | |
641 | game:GetService("Debris"):AddItem(c, 0.5) | |
642 | end | |
643 | end | |
644 | end | |
645 | end | |
646 | end | |
647 | end | |
648 | end | |
649 | end | |
650 | end | |
651 | end | |
652 | end | |
653 | end | |
654 | end | |
655 | coroutine.resume(coroutine.create(function() | |
656 | if script.ClassName == "LocalScript" then | |
657 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
658 | Text = "Beast Z fixed by norp/end_itt"; | |
659 | Color = Color3.new(1, 0, 0); | |
660 | Font = Enum.Font.SourceSans; | |
661 | FontSize = Enum.FontSize.Size24; | |
662 | }) | |
663 | end | |
664 | end)) | |
665 | ||
666 | ShowDamage = function(Pos, Text, Time, Color) | |
667 | ||
668 | local Rate = 0.033333333333333 | |
669 | if not Pos then | |
670 | local Pos = Vector3.new(0, 0, 0) | |
671 | end | |
672 | local Text = Text or "" | |
673 | local Time = Time or 2 | |
674 | if not Color then | |
675 | local Color = Color3.new(1, 0, 1) | |
676 | end | |
677 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
678 | EffectPart.Anchored = true | |
679 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart}) | |
680 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui}) | |
681 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
682 | EffectPart.Parent = game:GetService("Workspace") | |
683 | delay(0, function() | |
684 | ||
685 | local Frames = Time / Rate | |
686 | for Frame = 1, Frames do | |
687 | wait(Rate) | |
688 | local Percent = Frame / Frames | |
689 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
690 | TextLabel.TextTransparency = Percent | |
691 | end | |
692 | if EffectPart and EffectPart.Parent then | |
693 | EffectPart:Destroy() | |
694 | end | |
695 | end | |
696 | ) | |
697 | end | |
698 | ||
699 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
700 | ||
701 | for _,c in pairs(workspace:children()) do | |
702 | local hum = c:findFirstChild("Humanoid") | |
703 | if hum ~= nil then | |
704 | local head = c:findFirstChild("Torso") | |
705 | if head ~= nil then | |
706 | local targ = head.Position - Part.Position | |
707 | local mag = targ.magnitude | |
708 | if mag <= magni and c.Name ~= Player.Name then | |
709 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
710 | end | |
711 | end | |
712 | end | |
713 | end | |
714 | end | |
715 | ||
716 | SlashEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
717 | ||
718 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
719 | prt.Anchored = true | |
720 | prt.CFrame = cframe | |
721 | msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=448386996", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
722 | game:GetService("Debris"):AddItem(prt, 2) | |
723 | coroutine.resume(coroutine.create(function(Part, Mesh, num) | |
724 | ||
725 | for i = 0, 1, delay do | |
726 | swait() | |
727 | Part.Transparency = i | |
728 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
729 | end | |
730 | Part.Parent = nil | |
731 | end | |
732 | ), prt, msh, (math.random(0, 1) + math.random()) / 5) | |
733 | end | |
734 | ||
735 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
736 | ||
737 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
738 | prt.Anchored = true | |
739 | prt.CFrame = cframe | |
740 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
741 | game:GetService("Debris"):AddItem(prt, 10) | |
742 | if Type == 1 or Type == nil then | |
743 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh}) | |
744 | else | |
745 | if Type == 2 then | |
746 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh}) | |
747 | end | |
748 | end | |
749 | end | |
750 | ||
751 | SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
752 | ||
753 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
754 | prt.Anchored = true | |
755 | prt.CFrame = cframe | |
756 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
757 | game:GetService("Debris"):AddItem(prt, 10) | |
758 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
759 | end | |
760 | ||
761 | RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
762 | ||
763 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
764 | prt.Anchored = true | |
765 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
766 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
767 | game:GetService("Debris"):AddItem(prt, 10) | |
768 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
769 | end | |
770 | ||
771 | CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
772 | ||
773 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
774 | prt.Anchored = true | |
775 | prt.CFrame = cframe | |
776 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
777 | game:GetService("Debris"):AddItem(prt, 10) | |
778 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
779 | end | |
780 | ||
781 | WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
782 | ||
783 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
784 | prt.Anchored = true | |
785 | prt.CFrame = cframe | |
786 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
787 | game:GetService("Debris"):AddItem(prt, 10) | |
788 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
789 | end | |
790 | ||
791 | SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
792 | ||
793 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
794 | prt.Anchored = true | |
795 | prt.CFrame = cframe | |
796 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
797 | game:GetService("Debris"):AddItem(prt, 10) | |
798 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
799 | end | |
800 | ||
801 | BreakEffect = function(brickcolor, cframe, x1, y1, z1) | |
802 | ||
803 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
804 | prt.Anchored = true | |
805 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
806 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
807 | local num = math.random(10, 50) / 1000 | |
808 | game:GetService("Debris"):AddItem(prt, 10) | |
809 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100}) | |
810 | end | |
811 | ||
812 | CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
813 | ||
814 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
815 | prt.Anchored = true | |
816 | prt.CFrame = cframe | |
817 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
818 | game:GetService("Debris"):AddItem(prt, 10) | |
819 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
820 | end | |
821 | ||
822 | attackone = function() | |
823 | ||
824 | attack = true | |
825 | for i = 0, 1, 0.15 do | |
826 | swait() | |
827 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3) | |
828 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3) | |
829 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos(sine / 8))), 0.3) | |
830 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
831 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
832 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
833 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
834 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
835 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
836 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
837 | end | |
838 | CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 0.8) | |
839 | for i = 0, 1, 0.5 do | |
840 | swait() | |
841 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
842 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
843 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-90)), 0.3) | |
844 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
845 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
846 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
847 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
848 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
849 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
850 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
851 | end | |
852 | MagniDamage(MagniHit, 6, 10, 14, 0, "Normal", "199149221") | |
853 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, -1, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
854 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
855 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 2, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
856 | for i = 0, 1, 0.1 do | |
857 | swait() | |
858 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
859 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-60)), 0.5) | |
860 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-190)), 0.4) | |
861 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
862 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
863 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
864 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
865 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
866 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
867 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
868 | end | |
869 | attack = false | |
870 | end | |
871 | ||
872 | attacktwo = function() | |
873 | ||
874 | attack = true | |
875 | for i = 0, 1, 0.1 do | |
876 | swait() | |
877 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
878 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3) | |
879 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-30)), 0.3) | |
880 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
881 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
882 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
883 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
884 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
885 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
886 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
887 | end | |
888 | MagniDamage(MagniHit, 6, 10, 13, 0, "Normal", "199149221") | |
889 | CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 1) | |
890 | for i = 0, 1, 0.5 do | |
891 | swait() | |
892 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
893 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
894 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-90)), 0.3) | |
895 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
896 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
897 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
898 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
899 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
900 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
901 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
902 | end | |
903 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, -1, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
904 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
905 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 2, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
906 | for i = 0, 1, 0.1 do | |
907 | swait() | |
908 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
909 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.5) | |
910 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-110), math.rad(-190)), 0.4) | |
911 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
912 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
913 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
914 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
915 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
916 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
917 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
918 | end | |
919 | attack = false | |
920 | end | |
921 | ||
922 | attackthree = function() | |
923 | ||
924 | attack = true | |
925 | for i = 0, 1, 0.1 do | |
926 | swait() | |
927 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
928 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3) | |
929 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-60), math.rad(-100), math.rad(-60)), 0.3) | |
930 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
931 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
932 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
933 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
934 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
935 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
936 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
937 | end | |
938 | CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 0.7) | |
939 | for i = 0, 1, 0.5 do | |
940 | swait() | |
941 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
942 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
943 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-100), math.rad(-90)), 0.3) | |
944 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
945 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
946 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
947 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
948 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
949 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
950 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
951 | end | |
952 | MagniDamage(MagniHit, 6, 13, 15, 0, "Normal", "199149221") | |
953 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(-1.5, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
954 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
955 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(1.5, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
956 | for i = 0, 1, 0.1 do | |
957 | swait() | |
958 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.5) | |
959 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.5) | |
960 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-260), math.rad(-100)), 0.4) | |
961 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
962 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
963 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
964 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
965 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
966 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
967 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
968 | end | |
969 | attack = false | |
970 | end | |
971 | ||
972 | findNearestTorso = function(pos) | |
973 | ||
974 | local list = (game.Workspace:children()) | |
975 | local torso = nil | |
976 | local dist = 1000 | |
977 | local temp, human, temp2 = nil, nil, nil | |
978 | for x = 1, #list do | |
979 | temp2 = list[x] | |
980 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
981 | temp = temp2:findFirstChild("Torso") | |
982 | human = temp2:findFirstChild("Humanoid") | |
983 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
984 | local dohit = true | |
985 | if Player.Neutral == false and game.Players:GetPlayerFromCharacter(temp.Parent) ~= nil and game.Players:GetPlayerFromCharacter(temp.Parent).TeamColor == Player.TeamColor then | |
986 | dohit = false | |
987 | end | |
988 | if dohit == true then | |
989 | torso = temp | |
990 | dist = (temp.Position - pos).magnitude | |
991 | end | |
992 | end | |
993 | end | |
994 | end | |
995 | return torso, dist | |
996 | end | |
997 | ||
998 | qaeoshotdog = function() | |
999 | ||
1000 | attack = true | |
1001 | local x, y, z, newpos = nil, nil, nil, nil | |
1002 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07) | |
1003 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 0.5, 0.1, 0.5, 0.05) | |
1004 | do | |
1005 | if do2target ~= nil and do2target.Parent.Humanoid.PlatformStand ~= true then | |
1006 | local dist = (Torso.Position - do2target.Position).magnitude | |
1007 | if dist < 50 then | |
1008 | Humanoid.WalkSpeed = 0 | |
1009 | RootPart.CFrame = do2target.CFrame * cf(0, 50, 5) | |
1010 | else | |
1011 | RootPart.CFrame = RootPart.CFrame * cf(0, 50, 5) | |
1012 | end | |
1013 | end | |
1014 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07) | |
1015 | for i = 0, 1, 0.1 do | |
1016 | swait() | |
1017 | if do2target ~= nil then | |
1018 | newpos = vt(do2target.Position.X, RootPart.Position.Y, do2target.Position.Z) | |
1019 | MoveCF = cf(RootPart.Position, newpos) | |
1020 | local mpos = Torso.CFrame * angles(0, 0, 0) | |
1021 | local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0) | |
1022 | x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ() | |
1023 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.28) | |
1024 | end | |
1025 | do | |
1026 | do | |
1027 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(30), math.rad(50)), 0.3) | |
1028 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1029 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
1030 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1031 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
1032 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1033 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1034 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1035 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1036 | -- NIGH-OMNI FATAL ERROR at PC435: LeaveBlock: unexpected jumping out DO_STMT | |
1037 | ||
1038 | end | |
1039 | end | |
1040 | end | |
1041 | for i = 0, 1, 0.1 do | |
1042 | swait() | |
1043 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
1044 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
1045 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1046 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1047 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1048 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
1049 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1050 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1051 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1052 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1053 | end | |
1054 | hit = nil | |
1055 | for i = 1, 1 do | |
1056 | if hit == nil then | |
1057 | swait() | |
1058 | end | |
1059 | hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character) | |
1060 | end | |
1061 | local hit = nil | |
1062 | while hit == nil do | |
1063 | swait() | |
1064 | hit = rayCast(RightArm.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
1065 | end | |
1066 | hit = rayCast(RightArm.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
1067 | do | |
1068 | if hit ~= nil then | |
1069 | local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt()) | |
1070 | ref.Anchored = true | |
1071 | -- ref.CFrame = cf(pos) | |
1072 | game:GetService("Debris"):AddItem(ref, 3) | |
1073 | for i = 1, 10 do | |
1074 | Col = hit.BrickColor | |
1075 | local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100)) | |
1076 | groundpart.Anchored = true | |
1077 | groundpart.CanCollide = true | |
1078 | -- groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1079 | game:GetService("Debris"):AddItem(groundpart, 5) | |
1080 | end | |
1081 | CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2) | |
1082 | --[[ WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05) | |
1083 | BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05) | |
1084 | BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05) | |
1085 | BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05)]] | |
1086 | MagniDamage(ref, 9, 20, 23, math.random(10, 20), "Knockdown") | |
1087 | end | |
1088 | CloudEffect(BrickColor.new("Black"), RightArm.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05) | |
1089 | CloudEffect(BrickColor.new("Black"), RightArm.CFrame, 1, 1, 1, 1, 1, 1, 0.05) | |
1090 | Humanoid.WalkSpeed = 16 | |
1091 | attack = false | |
1092 | end | |
1093 | end | |
1094 | end | |
1095 | ||
1096 | dead = function() | |
1097 | ||
1098 | attack = true | |
1099 | local x, y, z, newpos = nil, nil, nil, nil | |
1100 | for i = 0, 1, 0.1 do | |
1101 | swait() | |
1102 | if do2target ~= nil then | |
1103 | newpos = vt(do2target.Position.X, RootPart.Position.Y, do2target.Position.Z) | |
1104 | MoveCF = cf(RootPart.Position, newpos) | |
1105 | local mpos = Torso.CFrame * angles(0, 0, 0) | |
1106 | local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0) | |
1107 | x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ() | |
1108 | y = RootPart.CFrame:toEulerAnglesXYZ() | |
1109 | z = RootPart.CFrame:toEulerAnglesXYZ() | |
1110 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.Angles(x,y,z) * angles(0, 3.14, 0) * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.4) | |
1111 | else | |
1112 | do | |
1113 | do | |
1114 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.28) | |
1115 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(30), math.rad(50)), 0.3) | |
1116 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1117 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
1118 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1119 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
1120 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1121 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1122 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1123 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1124 | end | |
1125 | end | |
1126 | end | |
1127 | end | |
1128 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07) | |
1129 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 0.5, 0.1, 0.5, 0.05) | |
1130 | do | |
1131 | if do2target ~= nil then | |
1132 | local dist = (Torso.Position - do2target.Position).magnitude | |
1133 | if dist < 20 then | |
1134 | MagniDamage(do2target, 10, 10, 10, 10, "Normal") | |
1135 | end | |
1136 | end | |
1137 | CreateSound("http://www.roblox.com/asset/?id=338586299", RootPart, 1, 1) | |
1138 | SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, -1, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07) | |
1139 | SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, 0.5, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07) | |
1140 | SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, 2, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07) | |
1141 | RootPart.CFrame = Head.CFrame * cf(0, 0, -30) | |
1142 | for i = 0, 1, 0.05 do | |
1143 | swait() | |
1144 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
1145 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
1146 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1147 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1148 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1149 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
1150 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1151 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1152 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1153 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1154 | end | |
1155 | attack = false | |
1156 | end | |
1157 | end | |
1158 | ||
1159 | Face = Head.face | |
1160 | Shirt = Character:FindFirstChild("Shirt") | |
1161 | Pants = Character:FindFirstChild("Pants") | |
1162 | Cloak = function() | |
1163 | ||
1164 | Face.Parent = nil | |
1165 | cloaked = true | |
1166 | for _,v in pairs(Torso.Parent:children()) do | |
1167 | do | |
1168 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
1169 | coroutine.resume(coroutine.create(function() | |
1170 | ||
1171 | for i = 0, 0.7, 0.2 do | |
1172 | swait() | |
1173 | v.Transparency = i | |
1174 | end | |
1175 | v.Transparency = 1 | |
1176 | end | |
1177 | )) | |
1178 | end | |
1179 | if v.className == "Hat" then | |
1180 | do | |
1181 | hatp = v.Handle | |
1182 | coroutine.resume(coroutine.create(function(derp) | |
1183 | ||
1184 | for i = 0, 0.7, 0.2 do | |
1185 | swait() | |
1186 | derp.Transparency = i | |
1187 | end | |
1188 | derp.Transparency = 1 | |
1189 | end | |
1190 | ), hatp) | |
1191 | -- NIGH-OMNI FATAL ERROR at PC38: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1192 | ||
1193 | -- NIGH-OMNI FATAL ERROR at PC38: LeaveBlock: unexpected jumping out IF_STMT | |
1194 | ||
1195 | end | |
1196 | end | |
1197 | end | |
1198 | end | |
1199 | end | |
1200 | ||
1201 | UnCloak = function() | |
1202 | ||
1203 | CreateSound("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1) | |
1204 | Face.Parent = Head | |
1205 | cloaked = false | |
1206 | for _,v in pairs(Torso.Parent:children()) do | |
1207 | do | |
1208 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
1209 | coroutine.resume(coroutine.create(function() | |
1210 | ||
1211 | for i = 0, 1, 0.1 do | |
1212 | swait() | |
1213 | v.Transparency = v.Transparency - 0.1 | |
1214 | end | |
1215 | v.Transparency = 0 | |
1216 | end | |
1217 | )) | |
1218 | end | |
1219 | if v.className == "Hat" then | |
1220 | do | |
1221 | hatp = v.Handle | |
1222 | coroutine.resume(coroutine.create(function(derp) | |
1223 | ||
1224 | for i = 0, 1, 0.1 do | |
1225 | swait() | |
1226 | derp.Transparency = derp.Transparency - 0.1 | |
1227 | end | |
1228 | derp.Transparency = 0 | |
1229 | end | |
1230 | ), hatp) | |
1231 | -- NIGH-OMNI FATAL ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1232 | ||
1233 | -- NIGH-OMNI FATAL ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT | |
1234 | ||
1235 | end | |
1236 | end | |
1237 | end | |
1238 | end | |
1239 | end | |
1240 | ||
1241 | hotdog = function() | |
1242 | ||
1243 | attack = true | |
1244 | for i = 0, 1, 0.1 do | |
1245 | swait() | |
1246 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
1247 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(50)), 0.3) | |
1248 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1249 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
1250 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1251 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
1252 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1253 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1254 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1255 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1256 | end | |
1257 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07) | |
1258 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05) | |
1259 | --[[ local con = Hit.Touched:connect(function(hit) | |
1260 | ||
1261 | Damagefunc(Hit, hit, 10, 25, math.random(1, 5), "Snare", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
1262 | end | |
1263 | )]] | |
1264 | m.Parent = nil | |
1265 | demon.Parent = Character | |
1266 | Cloak() | |
1267 | CreateSound("http://roblox.com/asset/?id=257001320", Torso, 1, 0.5) | |
1268 | CreateSound("http://roblox.com/asset/?id=28257433", Torso, 1, 0.5) | |
1269 | for i = 0, 1, 0.02 do | |
1270 | swait() | |
1271 | MagniDamage(RootPart, 5, 1, 3, 0, "Normal") | |
1272 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 5, 5, 5, 0.07) | |
1273 | Torso.Velocity = RootPart.CFrame.lookVector * 75 | |
1274 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.5) | |
1275 | end | |
1276 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07) | |
1277 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05) | |
1278 | UnCloak() | |
1279 | -- con:disconnect() | |
1280 | demon.Parent = nil | |
1281 | m.Parent = Character | |
1282 | for i = 0, 1, 0.05 do | |
1283 | swait() | |
1284 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
1285 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
1286 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1287 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1288 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1289 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
1290 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1291 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1292 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1293 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1294 | end | |
1295 | attack = false | |
1296 | end | |
1297 | ||
1298 | truehotdog = function() | |
1299 | ||
1300 | attack = true | |
1301 | for i = 0, 1, 0.1 do | |
1302 | swait() | |
1303 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 0.5, 0.5, 0.5, 0.07) | |
1304 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
1305 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(50)), 0.3) | |
1306 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1307 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
1308 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1309 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
1310 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1311 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1312 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1313 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1314 | end | |
1315 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07) | |
1316 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05) | |
1317 | m.Parent = nil | |
1318 | Cloak() | |
1319 | CreateSound("http://roblox.com/asset/?id=190119264", Torso, 1, 0.5) | |
1320 | for i = 0, 1, 0.01 do | |
1321 | swait() | |
1322 | MagniDamage(RootPart, 15, 1, 3, -30, "Normal") | |
1323 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(math.random(-10, 10), -1, math.random(-10, 10)) * angles(math.random(-5, 5), math.random(-5, 5), 0) * angles(0, 0, math.random(-5, 5)), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07) | |
1324 | CreateSound("http://roblox.com/asset/?id=62339698", Torso, 0.7, 2) | |
1325 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 5, 5, 5, 0.07) | |
1326 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame * angles(0, math.random(-50, 50), 0), 1, 1, 1, math.random(0.5, 1), 0.5, math.random(0.5, 1), 0.05) | |
1327 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, -1.5, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, -0.01, 1, 0.05) | |
1328 | Torso.Velocity = RootPart.CFrame.lookVector * 10 | |
1329 | end | |
1330 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07) | |
1331 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05) | |
1332 | UnCloak() | |
1333 | m.Parent = Character | |
1334 | for i = 0, 1, 0.05 do | |
1335 | swait() | |
1336 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
1337 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
1338 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1339 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1340 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
1341 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
1342 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1343 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1344 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1345 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1346 | end | |
1347 | attack = false | |
1348 | end | |
1349 | ||
1350 | mouse.Button1Down:connect(function() | |
1351 | ||
1352 | if attack == false and attacktype == 1 then | |
1353 | attackone() | |
1354 | attacktype = 2 | |
1355 | else | |
1356 | if attack == false and attacktype == 2 then | |
1357 | attacktype = 3 | |
1358 | attacktwo() | |
1359 | else | |
1360 | if attack == false and attacktype == 3 then | |
1361 | attacktype = 1 | |
1362 | attackthree() | |
1363 | end | |
1364 | end | |
1365 | end | |
1366 | end | |
1367 | ) | |
1368 | mouse.KeyDown:connect(function(k) | |
1369 | ||
1370 | k = k:lower() | |
1371 | if attack == false and co1 <= cooldown1 and k == "z" then | |
1372 | cooldown1 = 0 | |
1373 | dead() | |
1374 | else | |
1375 | if attack == false and co2 <= cooldown2 and k == "x" then | |
1376 | cooldown2 = 0 | |
1377 | hotdog() | |
1378 | else | |
1379 | if attack == false and co3 <= cooldown3 and k == "c" then | |
1380 | cooldown3 = 0 | |
1381 | qaeoshotdog() | |
1382 | else | |
1383 | if attack == false and co4 <= cooldown4 and k == "v" then | |
1384 | cooldown4 = 0 | |
1385 | truehotdog() | |
1386 | end | |
1387 | end | |
1388 | end | |
1389 | end | |
1390 | end | |
1391 | ) | |
1392 | updateskills = function() | |
1393 | ||
1394 | if cooldown1 <= co1 then | |
1395 | cooldown1 = cooldown1 + 0.033333333333333 | |
1396 | end | |
1397 | if cooldown2 <= co2 then | |
1398 | cooldown2 = cooldown2 + 0.033333333333333 | |
1399 | end | |
1400 | if cooldown3 <= co3 then | |
1401 | cooldown3 = cooldown3 + 0.033333333333333 | |
1402 | end | |
1403 | if cooldown4 <= co4 then | |
1404 | cooldown4 = cooldown4 + 0.033333333333333 | |
1405 | end | |
1406 | end | |
1407 | ||
1408 | while 1 do | |
1409 | swait() | |
1410 | updateskills() | |
1411 | target = findNearestTorso(RootPart.Position) | |
1412 | do2target = target | |
1413 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
1414 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
1415 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
1416 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
1417 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
1418 | velocity = RootPart.Velocity.y | |
1419 | sine = sine + change | |
1420 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
1421 | if equipped == true or equipped == false then | |
1422 | if 1 < RootPart.Velocity.y and hit == nil then | |
1423 | Anim = "Jump" | |
1424 | if attack == false then | |
1425 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) | |
1426 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1427 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
1428 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1429 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
1430 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
1431 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1432 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1433 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1434 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1435 | end | |
1436 | else | |
1437 | if RootPart.Velocity.y < -1 and hit == nil then | |
1438 | Anim = "Fall" | |
1439 | if attack == false then | |
1440 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3) | |
1441 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(40), math.rad(0), math.rad(30)), 0.3) | |
1442 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-150), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
1443 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
1444 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
1445 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
1446 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1447 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1448 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1449 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1450 | end | |
1451 | else | |
1452 | if (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) < 1 and hit ~= nil then | |
1453 | Anim = "Idle" | |
1454 | if attack == false then | |
1455 | change = 1 | |
1456 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3) | |
1457 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3) | |
1458 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
1459 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.3) | |
1460 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
1461 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
1462 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1463 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1464 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1465 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1466 | end | |
1467 | else | |
1468 | if 2 < (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) and hit ~= nil then | |
1469 | Anim = "Walk" | |
1470 | if attack == false then | |
1471 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3) | |
1472 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3) | |
1473 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
1474 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5 + 0.1 * math.cos((sine) / 8), -1) * angles(math.rad(-90), math.rad(0), math.rad(80)), 0.3) | |
1475 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(40), math.rad(0 + 50 * math.cos((sine) / 4))), 0.3) | |
1476 | LH.C0 = clerp(LH.C0, cf(-1.2, -1 + 0.1 * math.cos((sine) / 8), 0) * LHCF * angles(math.rad(0), math.rad(40), math.rad(0 + 50 * math.cos((sine) / 4))), 0.3) | |
1477 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1478 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
1479 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1480 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1481 | end | |
1482 | end | |
1483 | end | |
1484 | end | |
1485 | end | |
1486 | end | |
1487 | if 0 < #Effects then | |
1488 | for e = 1, #Effects do | |
1489 | if Effects[e] ~= nil then | |
1490 | local Thing = Effects[e] | |
1491 | if Thing ~= nil then | |
1492 | local Part = Thing[1] | |
1493 | local Mode = Thing[2] | |
1494 | local Delay = Thing[3] | |
1495 | local IncX = Thing[4] | |
1496 | local IncY = Thing[5] | |
1497 | local IncZ = Thing[6] | |
1498 | if Thing[1].Transparency <= 1 then | |
1499 | if Thing[2] == "Block1" then | |
1500 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1501 | Mesh = Thing[1].Mesh | |
1502 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1503 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1504 | else | |
1505 | if Thing[2] == "Block2" then | |
1506 | Thing[1].CFrame = Thing[1].CFrame | |
1507 | Mesh = Thing[7] | |
1508 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1509 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1510 | else | |
1511 | if Thing[2] == "Cylinder" then | |
1512 | Mesh = Thing[1].Mesh | |
1513 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1514 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1515 | else | |
1516 | if Thing[2] == "Blood" then | |
1517 | Mesh = Thing[7] | |
1518 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1519 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1520 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1521 | else | |
1522 | if Thing[2] == "Elec" then | |
1523 | Mesh = Thing[1].Mesh | |
1524 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1525 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1526 | else | |
1527 | if Thing[2] == "Disappear" then | |
1528 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1529 | else | |
1530 | if Thing[2] == "Shatter" then | |
1531 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1532 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1533 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1534 | Thing[6] = Thing[6] + Thing[5] | |
1535 | end | |
1536 | end | |
1537 | end | |
1538 | end | |
1539 | end | |
1540 | end | |
1541 | end | |
1542 | else | |
1543 | Part.Parent = nil | |
1544 | table.remove(Effects, e) | |
1545 | end | |
1546 | end | |
1547 | end | |
1548 | end | |
1549 | end | |
1550 | end |