SHOW:
|
|
- or go back to the newest paste.
1 | --[[Psychopath's waifu | |
2 | I think ck is going to send me in hell... | |
3 | Genocider by grgrgry21. | |
4 | Credit to CKbackup's and idk.. | |
5 | B | |
6 | U R | |
7 | N I N H | |
8 | E L | |
9 | L | |
10 | ]]--Music | |
11 | -----865839103 Berserk 2016-17 Ash-Crow | |
12 | -----665017009 Berserk 2016 My Brother | |
13 | -----503327967/Berserk OST Aria | |
14 | wait(1 / 60) | |
15 | Effects = { } | |
16 | local Player = game.Players.localPlayer | |
17 | local Character = Player.Character | |
18 | local Humanoid = Character.Humanoid | |
19 | local Mouse = Player:GetMouse() | |
20 | local LeftArm = Character["Left Arm"] | |
21 | local RightArm = Character["Right Arm"] | |
22 | local LeftLeg = Character["Left Leg"] | |
23 | local RightLeg = Character["Right Leg"] | |
24 | local Head = Character.Head | |
25 | local Torso = Character.Torso | |
26 | local Camera = game.Workspace.CurrentCamera | |
27 | local RootPart = Character.HumanoidRootPart | |
28 | local RootJoint = RootPart.RootJoint | |
29 | local attack = false | |
30 | local Anim = 'Idle' | |
31 | local attacktype = 1 | |
32 | local delays = false | |
33 | local play = true | |
34 | local targetted = nil | |
35 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
36 | local velocity = RootPart.Velocity.y | |
37 | local sine = 0 | |
38 | local change = 1 | |
39 | local doe = 0 | |
40 | local Create = LoadLibrary("RbxUtility").Create | |
41 | Humanoid.WalkSpeed = 8 | |
42 | local m = Create("Model"){ | |
43 | Parent = Character, | |
44 | Name = "WeaponModel", | |
45 | } | |
46 | --//Shirt And Pants\\-- | |
47 | Character.Head.face.Texture = "rbxassetid://743116128" | |
48 | Character.Shirt.ShirtTemplate = "rbxassetid://802051530" | |
49 | Character.Pants.PantsTemplate = "rbxassetid://612709700" | |
50 | --//NameTag\\ | |
51 | CV="Maroon" | |
52 | Player = game.Players.LocalPlayer | |
53 | char = Player.Character | |
54 | local txt = Instance.new("BillboardGui", char) | |
55 | txt.Adornee = Character .Head | |
56 | txt.Name = "_status" | |
57 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
58 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
59 | local text = Instance.new("TextLabel", txt) | |
60 | text.Size = UDim2.new(10, 0, 7, 0) | |
61 | text.FontSize = "Size24" | |
62 | text.TextScaled = true | |
63 | text.TextTransparency = 0 | |
64 | text.BackgroundTransparency = 1 | |
65 | text.TextTransparency = 0 | |
66 | text.TextStrokeTransparency = 0 | |
67 | text.Font = "Bodoni" | |
68 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
69 | ||
70 | v=Instance.new("Part") | |
71 | v.Name = "ColorBrick" | |
72 | v.Parent=Player.Character | |
73 | v.FormFactor="Symmetric" | |
74 | v.Anchored=true | |
75 | v.CanCollide=false | |
76 | v.BottomSurface="Smooth" | |
77 | v.TopSurface="Smooth" | |
78 | v.Size=Vector3.new(10,5,3) | |
79 | v.Transparency=1 | |
80 | v.CFrame=Character.Torso.CFrame | |
81 | v.BrickColor=BrickColor.new(CV) | |
82 | v.Transparency=1 | |
83 | text.TextColor3 = Color3.new(0,0,0) | |
84 | v.Shape="Block" | |
85 | text.Text = "Alex -Psychopath-" | |
86 | --//Torso\\-- | |
87 | local torsmesh = Instance.new("CharacterMesh", Character) | |
88 | torsmesh.BodyPart = "Torso" | |
89 | torsmesh.MeshId = "48112070" | |
90 | --//Reaper\\-- | |
91 | Reaper2 = Instance.new("Model") | |
92 | Reaper2.Parent = Player.Character | |
93 | Reaper2.Name = "Reaper2" | |
94 | rh2 = Instance.new("Part") | |
95 | rh2.Parent = Reaper2 | |
96 | rh2.BrickColor = BrickColor.new("White") | |
97 | rh2.Locked = true | |
98 | rh2.CanCollide = false | |
99 | mesh2 = Instance.new("SpecialMesh") | |
100 | rh2.formFactor = "Symmetric" | |
101 | mesh2.MeshType = "FileMesh" | |
102 | - | mesh2.MeshId = "http://www.roblox.com/asset/?id=430440819" |
102 | + | mesh2.MeshId = "http://www.roblox.com/asset/?id=164382853" |
103 | mesh2.Parent = rh2 | |
104 | local weld2 = Instance.new("Weld") | |
105 | weld2.Parent = rh2 | |
106 | rh2.Transparency = 0 | |
107 | weld2.Part0 = rh2 | |
108 | weld2.Part1 = Player.Character.Head | |
109 | weld2.C0 = CFrame.new(-0.05, -0.05, -0.1025)*CFrame.Angles(0, 0, 0) | |
110 | ||
111 | local p = Instance.new("Part", Character) | |
112 | p.Name = "Ears" | |
113 | p.BrickColor = BrickColor.new("White") | |
114 | p.Size = Vector3.new(3, 3, 3) | |
115 | p.BottomSurface = 0 | |
116 | p.TopSurface = 0 | |
117 | p.Position = Character.Head.Position | |
118 | local pweld = Instance.new("Weld", p) | |
119 | pweld.Part0 = Character.Head | |
120 | pweld.Part1 = p | |
121 | pweld.C0 = CFrame.new(0, 0.7, 0) | |
122 | pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180)) | |
123 | local earmesh = Instance.new("SpecialMesh", p) | |
124 | earmesh.MeshType = "FileMesh" | |
125 | earmesh.MeshId = "http://www.roblox.com/asset/?id=" | |
126 | earmesh.Scale = Vector3.new(1.1, 1.5, 3) | |
127 | ||
128 | --//Remover\\-- | |
129 | ||
130 | for i,v in pairs(Character:children()) do | |
131 | if v:IsA("Hat") then | |
132 | v:Destroy() | |
133 | end | |
134 | end | |
135 | for i,v in pairs(Character:children()) do | |
136 | if v:IsA("Accessory") then | |
137 | v:Destroy() | |
138 | end | |
139 | end | |
140 | for i,v in pairs(Character:children()) do | |
141 | if v:IsA("Hair") then | |
142 | v:Destroy() | |
143 | end | |
144 | end | |
145 | -------------- | |
146 | Humanoid.Animator.Parent = nil | |
147 | Character.Animate.Parent = nil | |
148 | ||
149 | local newMotor = function(part0, part1, c0, c1) | |
150 | local w = Create('Motor'){ | |
151 | Parent = part0, | |
152 | Part0 = part0, | |
153 | Part1 = part1, | |
154 | C0 = c0, | |
155 | C1 = c1, | |
156 | } | |
157 | return w | |
158 | end | |
159 | ||
160 | function clerp(a, b, t) | |
161 | return a:lerp(b, t) | |
162 | end | |
163 | ||
164 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
165 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
166 | ||
167 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
168 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
169 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
170 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
171 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
172 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
173 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
174 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
175 | ||
176 | local rarmc1 = RW.C1 | |
177 | local larmc1 = LW.C1 | |
178 | local rlegc1 = RH.C1 | |
179 | local llegc1 = LH.C1 | |
180 | ||
181 | local resetc1 = false | |
182 | ||
183 | function PlayAnimationFromTable(table, speed, bool) | |
184 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
185 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
186 | RW.C0 = clerp(RW.C0, table[3], speed) | |
187 | LW.C0 = clerp(LW.C0, table[4], speed) | |
188 | RH.C0 = clerp(RH.C0, table[5], speed) | |
189 | LH.C0 = clerp(LH.C0, table[6], speed) | |
190 | if bool == true then | |
191 | if resetc1 == false then | |
192 | resetc1 = true | |
193 | RootJoint.C1 = RootJoint.C1 | |
194 | Torso.Neck.C1 = Torso.Neck.C1 | |
195 | RW.C1 = rarmc1 | |
196 | LW.C1 = larmc1 | |
197 | RH.C1 = rlegc1 | |
198 | LH.C1 = llegc1 | |
199 | end | |
200 | end | |
201 | end | |
202 | ||
203 | ArtificialHB = Create("BindableEvent", script){ | |
204 | Parent = script, | |
205 | Name = "Heartbeat", | |
206 | } | |
207 | ||
208 | script:WaitForChild("Heartbeat") | |
209 | ||
210 | frame = 1 / 30 | |
211 | tf = 0 | |
212 | allowframeloss = false | |
213 | tossremainder = false | |
214 | lastframe = tick() | |
215 | script.Heartbeat:Fire() | |
216 | ||
217 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
218 | tf = tf + s | |
219 | if tf >= frame then | |
220 | if allowframeloss then | |
221 | script.Heartbeat:Fire() | |
222 | lastframe = tick() | |
223 | else | |
224 | for i = 1, math.floor(tf / frame) do | |
225 | script.Heartbeat:Fire() | |
226 | end | |
227 | lastframe = tick() | |
228 | end | |
229 | if tossremainder then | |
230 | tf = 0 | |
231 | else | |
232 | tf = tf - frame * math.floor(tf / frame) | |
233 | end | |
234 | end | |
235 | end) | |
236 | ||
237 | function swait(num) | |
238 | if num == 0 or num == nil then | |
239 | ArtificialHB.Event:wait() | |
240 | else | |
241 | for i = 0, num do | |
242 | ArtificialHB.Event:wait() | |
243 | end | |
244 | end | |
245 | end | |
246 | ||
247 | function RemoveOutlines(part) | |
248 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
249 | end | |
250 | ||
251 | CFuncs = { | |
252 | ["Part"] = { | |
253 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
254 | local Part = Create("Part"){ | |
255 | Parent = Parent, | |
256 | Reflectance = Reflectance, | |
257 | Transparency = Transparency, | |
258 | CanCollide = false, | |
259 | Locked = true, | |
260 | BrickColor = BrickColor.new(tostring(BColor)), | |
261 | Name = Name, | |
262 | Size = Size, | |
263 | Material = Material, | |
264 | } | |
265 | RemoveOutlines(Part) | |
266 | return Part | |
267 | end; | |
268 | }; | |
269 | ||
270 | ["Mesh"] = { | |
271 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
272 | local Msh = Create(Mesh){ | |
273 | Parent = Part, | |
274 | Offset = OffSet, | |
275 | Scale = Scale, | |
276 | } | |
277 | if Mesh == "SpecialMesh" then | |
278 | Msh.MeshType = MeshType | |
279 | Msh.MeshId = MeshId | |
280 | end | |
281 | return Msh | |
282 | end; | |
283 | }; | |
284 | ||
285 | ["Mesh"] = { | |
286 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
287 | local Msh = Create(Mesh){ | |
288 | Parent = Part, | |
289 | Offset = OffSet, | |
290 | Scale = Scale, | |
291 | } | |
292 | if Mesh == "SpecialMesh" then | |
293 | Msh.MeshType = MeshType | |
294 | Msh.MeshId = MeshId | |
295 | end | |
296 | return Msh | |
297 | end; | |
298 | }; | |
299 | ||
300 | ["Weld"] = { | |
301 | Create = function(Parent, Part0, Part1, C0, C1) | |
302 | local Weld = Create("Weld"){ | |
303 | Parent = Parent, | |
304 | Part0 = Part0, | |
305 | Part1 = Part1, | |
306 | C0 = C0, | |
307 | C1 = C1, | |
308 | } | |
309 | return Weld | |
310 | end; | |
311 | }; | |
312 | ||
313 | ["Sound"] = { | |
314 | Create = function(id, par, vol, pit) | |
315 | coroutine.resume(coroutine.create(function() | |
316 | local S = Create("Sound"){ | |
317 | Volume = vol, | |
318 | Pitch = pit or 1, | |
319 | SoundId = id, | |
320 | Parent = par or workspace, | |
321 | } | |
322 | wait() | |
323 | S:play() | |
324 | game:GetService("Debris"):AddItem(S, 6) | |
325 | end)) | |
326 | end; | |
327 | }; | |
328 | ||
329 | ["ParticleEmitter"] = { | |
330 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
331 | local fp = Create("ParticleEmitter"){ | |
332 | Parent = Parent, | |
333 | Color = ColorSequence.new(Color1, Color2), | |
334 | LightEmission = LightEmission, | |
335 | Size = Size, | |
336 | Texture = Texture, | |
337 | Transparency = Transparency, | |
338 | ZOffset = ZOffset, | |
339 | Acceleration = Accel, | |
340 | Drag = Drag, | |
341 | LockedToPart = LockedToPart, | |
342 | VelocityInheritance = VelocityInheritance, | |
343 | EmissionDirection = EmissionDirection, | |
344 | Enabled = Enabled, | |
345 | Lifetime = LifeTime, | |
346 | Rate = Rate, | |
347 | Rotation = Rotation, | |
348 | RotSpeed = RotSpeed, | |
349 | Speed = Speed, | |
350 | VelocitySpread = VelocitySpread, | |
351 | } | |
352 | return fp | |
353 | end; | |
354 | }; | |
355 | ||
356 | CreateTemplate = { | |
357 | ||
358 | }; | |
359 | } | |
360 | ||
361 | ||
362 | ||
363 | New = function(Object, Parent, Name, Data) | |
364 | local Object = Instance.new(Object) | |
365 | for Index, Value in pairs(Data or {}) do | |
366 | Object[Index] = Value | |
367 | end | |
368 | Object.Parent = Parent | |
369 | Object.Name = Name | |
370 | return Object | |
371 | end | |
372 | ||
373 | ||
374 | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
375 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) | |
376 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
377 | ||
378 | Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
379 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,}) | |
380 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
381 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) | |
382 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
383 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
384 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
385 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
386 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
387 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) | |
388 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
389 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
390 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) | |
391 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
392 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
393 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
394 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
395 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
396 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) | |
397 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
398 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
399 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) | |
400 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
401 | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
402 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
403 | mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
404 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
405 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
406 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
407 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
408 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
409 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
410 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
411 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
412 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
413 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
414 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
415 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) | |
416 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
417 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
418 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
419 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
420 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
421 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) | |
422 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
423 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
424 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
425 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
426 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
427 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
428 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
429 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
430 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
431 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
432 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
433 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
434 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
435 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
436 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
437 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
438 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
439 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
440 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
441 | ||
442 | for _,v in pairs(m:children()) do | |
443 | if v:IsA("Part") then | |
444 | v.CanCollide = false | |
445 | end | |
446 | end | |
447 | if Character.Name == "grgrgry21" or Character.Name == "Player1" then | |
448 | for _,v in pairs(Character:children()) do | |
449 | if v:IsA("Accessory") then | |
450 | v:Remove() | |
451 | end | |
452 | end | |
453 | Handle = New("Part",m,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
454 | Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,}) | |
455 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",}) | |
456 | mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),}) | |
457 | Handle1 = New("Part",m,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),}) | |
458 | Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,}) | |
459 | mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),}) | |
460 | end | |
461 | ||
462 | ||
463 | function rayCast(Position, Direction, Range, Ignore) | |
464 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
465 | end | |
466 | ||
467 | --[[FindNearestTorso = function(pos) | |
468 | local list = (game.Workspace:children()) | |
469 | local torso = nil | |
470 | local dist = 1000 | |
471 | local temp, human, temp2 = nil, nil, nil | |
472 | for x = 1, #list do | |
473 | temp2 = list[x] | |
474 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
475 | temp = temp2:findFirstChild("Torso") | |
476 | human = temp2:findFirstChild("Humanoid") | |
477 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
478 | local dohit = true | |
479 | if dohit == true then | |
480 | torso = temp | |
481 | dist = (temp.Position - pos).magnitude | |
482 | end | |
483 | end | |
484 | end | |
485 | end | |
486 | return torso, dist | |
487 | end]] | |
488 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
489 | if SinglePlayer then | |
490 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
491 | end | |
492 | local List = {} | |
493 | for i, v in pairs(workspace:GetChildren()) do | |
494 | if v:IsA("Model") then | |
495 | if v:findFirstChild("Torso") then | |
496 | if v ~= Character then | |
497 | if (v.Torso.Position - Position).magnitude <= Distance then | |
498 | table.insert(List, v) | |
499 | end | |
500 | end | |
501 | end | |
502 | end | |
503 | end | |
504 | return List | |
505 | end | |
506 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
507 | if hit.Parent == nil then | |
508 | return | |
509 | end | |
510 | local h = hit.Parent:FindFirstChild("Humanoid") | |
511 | for _, v in pairs(hit.Parent:children()) do | |
512 | if v:IsA("Humanoid") then | |
513 | h = v | |
514 | end | |
515 | end | |
516 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
517 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
518 | if hit.Parent.DebounceHit.Value == true then | |
519 | return | |
520 | end | |
521 | end | |
522 | local c = Create("ObjectValue"){ | |
523 | Name = "creator", | |
524 | Value = game:service("Players").LocalPlayer, | |
525 | Parent = h, | |
526 | } | |
527 | game:GetService("Debris"):AddItem(c, .5) | |
528 | if HitSound ~= nil and HitPitch ~= nil then | |
529 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
530 | end | |
531 | local Damage = math.random(minim, maxim) | |
532 | local blocked = false | |
533 | local block = hit.Parent:findFirstChild("Block") | |
534 | if block ~= nil then | |
535 | if block.className == "IntValue" then | |
536 | if block.Value > 0 then | |
537 | blocked = true | |
538 | block.Value = block.Value - 1 | |
539 | print(block.Value) | |
540 | end | |
541 | end | |
542 | end | |
543 | if blocked == false then | |
544 | h.Health = h.Health - Damage | |
545 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
546 | else | |
547 | h.Health = h.Health - (Damage / 2) | |
548 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
549 | end | |
550 | if Type == "Knockdown" then | |
551 | local hum = hit.Parent.Humanoid | |
552 | hum.PlatformStand = true | |
553 | coroutine.resume(coroutine.create(function(HHumanoid) | |
554 | swait(1) | |
555 | HHumanoid.PlatformStand = false | |
556 | end), hum) | |
557 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
558 | local bodvol = Create("BodyVelocity"){ | |
559 | velocity = angle * knockback, | |
560 | P = 5000, | |
561 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
562 | Parent = hit, | |
563 | } | |
564 | local rl = Create("BodyAngularVelocity"){ | |
565 | P = 3000, | |
566 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
567 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
568 | Parent = hit, | |
569 | } | |
570 | game:GetService("Debris"):AddItem(bodvol, .5) | |
571 | game:GetService("Debris"):AddItem(rl, .5) | |
572 | elseif Type == "Normal" then | |
573 | local vp = Create("BodyVelocity"){ | |
574 | P = 500, | |
575 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
576 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
577 | } | |
578 | if knockback > 0 then | |
579 | vp.Parent = hit.Parent.Torso | |
580 | end | |
581 | game:GetService("Debris"):AddItem(vp, .5) | |
582 | elseif Type == "Up" then | |
583 | local bodyVelocity = Create("BodyVelocity"){ | |
584 | velocity = Vector3.new(0, 20, 0), | |
585 | P = 5000, | |
586 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
587 | Parent = hit, | |
588 | } | |
589 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
590 | elseif Type == "DarkUp" then | |
591 | coroutine.resume(coroutine.create(function() | |
592 | for i = 0, 1, 0.1 do | |
593 | swait() | |
594 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
595 | end | |
596 | end)) | |
597 | local bodyVelocity = Create("BodyVelocity"){ | |
598 | velocity = Vector3.new(0, 20, 0), | |
599 | P = 5000, | |
600 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
601 | Parent = hit, | |
602 | } | |
603 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
604 | elseif Type == "Snare" then | |
605 | local bp = Create("BodyPosition"){ | |
606 | P = 2000, | |
607 | D = 100, | |
608 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
609 | position = hit.Parent.Torso.Position, | |
610 | Parent = hit.Parent.Torso, | |
611 | } | |
612 | game:GetService("Debris"):AddItem(bp, 1) | |
613 | elseif Type == "Freeze" then | |
614 | local BodPos = Create("BodyPosition"){ | |
615 | P = 50000, | |
616 | D = 1000, | |
617 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
618 | position = hit.Parent.Torso.Position, | |
619 | Parent = hit.Parent.Torso, | |
620 | } | |
621 | local BodGy = Create("BodyGyro") { | |
622 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
623 | P = 20e+003, | |
624 | Parent = hit.Parent.Torso, | |
625 | cframe = hit.Parent.Torso.CFrame, | |
626 | } | |
627 | hit.Parent.Torso.Anchored = true | |
628 | coroutine.resume(coroutine.create(function(Part) | |
629 | swait(1.5) | |
630 | Part.Anchored = false | |
631 | end), hit.Parent.Torso) | |
632 | game:GetService("Debris"):AddItem(BodPos, 3) | |
633 | game:GetService("Debris"):AddItem(BodGy, 3) | |
634 | end | |
635 | local debounce = Create("BoolValue"){ | |
636 | Name = "DebounceHit", | |
637 | Parent = hit.Parent, | |
638 | Value = true, | |
639 | } | |
640 | game:GetService("Debris"):AddItem(debounce, Delay) | |
641 | c = Create("ObjectValue"){ | |
642 | Name = "creator", | |
643 | Value = Player, | |
644 | Parent = h, | |
645 | } | |
646 | game:GetService("Debris"):AddItem(c, .5) | |
647 | end | |
648 | end | |
649 | ||
650 | function ShowDamage(Pos, Text, Time, Color) | |
651 | local Rate = (1 / 30) | |
652 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
653 | local Text = (Text or "") | |
654 | local Time = (Time or 2) | |
655 | local Color = (Color or Color3.new(1, 0, 1)) | |
656 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
657 | EffectPart.Anchored = true | |
658 | local BillboardGui = Create("BillboardGui"){ | |
659 | Size = UDim2.new(3, 0, 3, 0), | |
660 | Adornee = EffectPart, | |
661 | Parent = EffectPart, | |
662 | } | |
663 | local TextLabel = Create("TextLabel"){ | |
664 | BackgroundTransparency = 1, | |
665 | Size = UDim2.new(1, 0, 1, 0), | |
666 | Text = Text, | |
667 | Font = "Bodoni", | |
668 | TextColor3 = Color, | |
669 | TextScaled = true, | |
670 | Parent = BillboardGui, | |
671 | } | |
672 | game.Debris:AddItem(EffectPart, (Time)) | |
673 | EffectPart.Parent = game:GetService("Workspace") | |
674 | delay(0, function() | |
675 | local Frames = (Time / Rate) | |
676 | for Frame = 1, Frames do | |
677 | wait(Rate) | |
678 | local Percent = (Frame / Frames) | |
679 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
680 | TextLabel.TextTransparency = Percent | |
681 | end | |
682 | if EffectPart and EffectPart.Parent then | |
683 | EffectPart:Destroy() | |
684 | end | |
685 | end) | |
686 | end | |
687 | ||
688 | function dmg(dude) | |
689 | if dude.Name ~= Character then | |
690 | dude.Humanoid.PlatformStand = true | |
691 | local bgf = Instance.new("BodyGyro",dude.Head) | |
692 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
693 | local val = Instance.new("BoolValue",dude) | |
694 | val.Name = "IsHit" | |
695 | for i = 1, 6 do | |
696 | local blo = Instance.new("Part",game.Workspace) | |
697 | blo.Size = Vector3.new(.6,.2,.6) | |
698 | blo.Material = "SmoothPlastic" | |
699 | blo.BrickColor = BrickColor.new("Crimson") | |
700 | --blo.Position = dude.Head.Position | |
701 | blo.CFrame = dude.Head.CFrame | |
702 | game:GetService("Debris"):AddItem(blo,30) | |
703 | end | |
704 | local ds = coroutine.wrap(function() | |
705 | wait(.2) | |
706 | dude.Torso:BreakJoints() | |
707 | end) | |
708 | ds() | |
709 | end | |
710 | end | |
711 | ||
712 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
713 | --local buddy | |
714 | for _, c in pairs(workspace:children()) do | |
715 | local hum = c:findFirstChild("Humanoid") | |
716 | if hum ~= nil then | |
717 | local head = c:findFirstChild("Torso") | |
718 | if head ~= nil then | |
719 | local targ = head.Position - Part.Position | |
720 | local mag = targ.magnitude | |
721 | if mag <= Magnitude and c.Name ~= Player.Name then | |
722 | if c.Name ~= Character then | |
723 | if c.Name ~= "CKbackup" then | |
724 | local asd = Instance.new("ParticleEmitter",c.Torso) | |
725 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
726 | asd.LightEmission = .1 | |
727 | asd.Size = NumberSequence.new(0.2) | |
728 | asd.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
729 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
730 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
731 | asd.Transparency = bbb | |
732 | asd.Size = aaa | |
733 | asd.ZOffset = .9 | |
734 | asd.Acceleration = Vector3.new(0, -5, 0) | |
735 | asd.LockedToPart = false | |
736 | asd.EmissionDirection = "Back" | |
737 | asd.Lifetime = NumberRange.new(1, 2) | |
738 | asd.Rate = 1000 | |
739 | asd.Rotation = NumberRange.new(-100, 100) | |
740 | asd.RotSpeed = NumberRange.new(-100, 100) | |
741 | asd.Speed = NumberRange.new(6) | |
742 | asd.VelocitySpread = 10000 | |
743 | asd.Enabled=true | |
744 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
745 | dmg(c) | |
746 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8) | |
747 | coroutine.wrap(function() | |
748 | wait(.2) | |
749 | asd.Enabled = false | |
750 | wait(2) | |
751 | asd:Remove() | |
752 | end)() | |
753 | else | |
754 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3)) | |
755 | Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
756 | ||
757 | end | |
758 | end | |
759 | end | |
760 | end | |
761 | end | |
762 | end | |
763 | end | |
764 | EffectModel = Create("Model"){ | |
765 | Parent = Character, | |
766 | Name = "Effects", | |
767 | } | |
768 | ||
769 | Effects = { | |
770 | Block = { | |
771 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
772 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
773 | prt.Anchored = true | |
774 | prt.CFrame = cframe | |
775 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
776 | game:GetService("Debris"):AddItem(prt, 10) | |
777 | if Type == 1 or Type == nil then | |
778 | table.insert(Effects, { | |
779 | prt, | |
780 | "Block1", | |
781 | delay, | |
782 | x3, | |
783 | y3, | |
784 | z3, | |
785 | msh | |
786 | }) | |
787 | elseif Type == 2 then | |
788 | table.insert(Effects, { | |
789 | prt, | |
790 | "Block2", | |
791 | delay, | |
792 | x3, | |
793 | y3, | |
794 | z3, | |
795 | msh | |
796 | }) | |
797 | end | |
798 | end; | |
799 | }; | |
800 | ||
801 | Cylinder = { | |
802 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
803 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
804 | prt.Anchored = true | |
805 | prt.CFrame = cframe | |
806 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
807 | game:GetService("Debris"):AddItem(prt, 10) | |
808 | table.insert(Effects, { | |
809 | prt, | |
810 | "Cylinder", | |
811 | delay, | |
812 | x3, | |
813 | y3, | |
814 | z3, | |
815 | msh | |
816 | }) | |
817 | end; | |
818 | }; | |
819 | Head = { | |
820 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
821 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
822 | prt.Anchored = true | |
823 | prt.CFrame = cframe | |
824 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
825 | game:GetService("Debris"):AddItem(prt, 10) | |
826 | table.insert(Effects, { | |
827 | prt, | |
828 | "Cylinder", | |
829 | delay, | |
830 | x3, | |
831 | y3, | |
832 | z3, | |
833 | msh | |
834 | }) | |
835 | end; | |
836 | }; | |
837 | ||
838 | Sphere = { | |
839 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
840 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
841 | prt.Anchored = true | |
842 | prt.CFrame = cframe | |
843 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
844 | game:GetService("Debris"):AddItem(prt, 10) | |
845 | table.insert(Effects, { | |
846 | prt, | |
847 | "Cylinder", | |
848 | delay, | |
849 | x3, | |
850 | y3, | |
851 | z3, | |
852 | msh | |
853 | }) | |
854 | end; | |
855 | }; | |
856 | ||
857 | Elect = { | |
858 | Create = function(cff, x, y, z) | |
859 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
860 | prt.Anchored = true | |
861 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
862 | prt.CFrame = CFrame.new(prt.Position) | |
863 | game:GetService("Debris"):AddItem(prt, 2) | |
864 | local xval = math.random() / 2 | |
865 | local yval = math.random() / 2 | |
866 | local zval = math.random() / 2 | |
867 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
868 | table.insert(Effects, { | |
869 | prt, | |
870 | "Elec", | |
871 | 0.1, | |
872 | x, | |
873 | y, | |
874 | z, | |
875 | xval, | |
876 | yval, | |
877 | zval | |
878 | }) | |
879 | end; | |
880 | ||
881 | }; | |
882 | ||
883 | Ring = { | |
884 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
885 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
886 | prt.Anchored = true | |
887 | prt.CFrame = cframe | |
888 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
889 | game:GetService("Debris"):AddItem(prt, 10) | |
890 | table.insert(Effects, { | |
891 | prt, | |
892 | "Cylinder", | |
893 | delay, | |
894 | x3, | |
895 | y3, | |
896 | z3, | |
897 | msh | |
898 | }) | |
899 | end; | |
900 | }; | |
901 | ||
902 | ||
903 | Wave = { | |
904 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
905 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
906 | prt.Anchored = true | |
907 | prt.CFrame = cframe | |
908 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
909 | game:GetService("Debris"):AddItem(prt, 10) | |
910 | table.insert(Effects, { | |
911 | prt, | |
912 | "Cylinder", | |
913 | delay, | |
914 | x3, | |
915 | y3, | |
916 | z3, | |
917 | msh | |
918 | }) | |
919 | end; | |
920 | }; | |
921 | ||
922 | Break = { | |
923 | Create = function(brickcolor, cframe, x1, y1, z1) | |
924 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
925 | prt.Anchored = true | |
926 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
927 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
928 | local num = math.random(10, 50) / 1000 | |
929 | game:GetService("Debris"):AddItem(prt, 10) | |
930 | table.insert(Effects, { | |
931 | prt, | |
932 | "Shatter", | |
933 | num, | |
934 | prt.CFrame, | |
935 | math.random() - math.random(), | |
936 | 0, | |
937 | math.random(50, 100) / 100 | |
938 | }) | |
939 | end; | |
940 | }; | |
941 | ||
942 | Fire = { | |
943 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
944 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
945 | prt.Anchored = true | |
946 | prt.CFrame = cframe | |
947 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
948 | game:GetService("Debris"):AddItem(prt, 10) | |
949 | table.insert(Effects, { | |
950 | prt, | |
951 | "Fire", | |
952 | delay, | |
953 | 1, | |
954 | 1, | |
955 | 1, | |
956 | msh | |
957 | }) | |
958 | end; | |
959 | }; | |
960 | ||
961 | FireWave = { | |
962 | Create = function(brickcolor, cframe, x1, y1, z1) | |
963 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
964 | prt.Anchored = true | |
965 | prt.CFrame = cframe | |
966 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
967 | local d = Create("Decal"){ | |
968 | Parent = prt, | |
969 | Texture = "rbxassetid://26356434", | |
970 | Face = "Top", | |
971 | } | |
972 | local d = Create("Decal"){ | |
973 | Parent = prt, | |
974 | Texture = "rbxassetid://26356434", | |
975 | Face = "Bottom", | |
976 | } | |
977 | game:GetService("Debris"):AddItem(prt, 10) | |
978 | table.insert(Effects, { | |
979 | prt, | |
980 | "FireWave", | |
981 | 1, | |
982 | 30, | |
983 | math.random(400, 600) / 100, | |
984 | msh | |
985 | }) | |
986 | end; | |
987 | }; | |
988 | ||
989 | Lightning = { | |
990 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
991 | local magz = (p0 - p1).magnitude | |
992 | local curpos = p0 | |
993 | local trz = { | |
994 | -ofs, | |
995 | ofs | |
996 | } | |
997 | for i = 1, tym do | |
998 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
999 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1000 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1001 | li.Material = "Neon" | |
1002 | if tym == i then | |
1003 | local magz2 = (curpos - p1).magnitude | |
1004 | li.Size = Vector3.new(th, th, magz2) | |
1005 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1006 | table.insert(Effects, { | |
1007 | li, | |
1008 | "Disappear", | |
1009 | last | |
1010 | }) | |
1011 | else | |
1012 | do | |
1013 | do | |
1014 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1015 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1016 | game.Debris:AddItem(li, 10) | |
1017 | table.insert(Effects, { | |
1018 | li, | |
1019 | "Disappear", | |
1020 | last | |
1021 | }) | |
1022 | end | |
1023 | end | |
1024 | end | |
1025 | end | |
1026 | end | |
1027 | }; | |
1028 | ||
1029 | EffectTemplate = { | |
1030 | ||
1031 | }; | |
1032 | } | |
1033 | ||
1034 | function chatfunc(text) | |
1035 | local chat = coroutine.wrap(function() | |
1036 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1037 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1038 | end | |
1039 | local naeeym2 = Instance.new("BillboardGui",Character) | |
1040 | naeeym2.Size = UDim2.new(0,100,0,40) | |
1041 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
1042 | naeeym2.Adornee = Character.Head | |
1043 | naeeym2.Name = "TalkingBillBoard" | |
1044 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1045 | tecks2.BackgroundTransparency = 1 | |
1046 | tecks2.BorderSizePixel = 0 | |
1047 | tecks2.Text = "" | |
1048 | tecks2.Font = "Bodoni" | |
1049 | tecks2.TextSize = 30 | |
1050 | tecks2.TextStrokeTransparency = 0 | |
1051 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
1052 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
1053 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1054 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
1055 | tecks3.BackgroundTransparency = 1 | |
1056 | tecks3.BorderSizePixel = 0 | |
1057 | tecks3.Text = "" | |
1058 | tecks3.Font = "Bodoni" | |
1059 | tecks3.TextSize = 30 | |
1060 | tecks3.TextStrokeTransparency = 0 | |
1061 | tecks3.TextColor3 = Color3.new(.6,0,0) | |
1062 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
1063 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
1064 | for i = 1,string.len(text),1 do | |
1065 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
1066 | tecks2.Text = string.sub(text,1,i) | |
1067 | tecks3.Text = string.sub(text,1,i) | |
1068 | wait(0.01) | |
1069 | end | |
1070 | wait(2) | |
1071 | for i = 1, 50 do | |
1072 | swait() | |
1073 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1074 | tecks2.Rotation = tecks2.Rotation - .8 | |
1075 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1076 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
1077 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1078 | tecks3.Rotation = tecks2.Rotation + .8 | |
1079 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1080 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
1081 | end | |
1082 | naeeym2:Destroy() | |
1083 | end) | |
1084 | chat() | |
1085 | end | |
1086 | function onChatted(msg) | |
1087 | chatfunc(msg) | |
1088 | end | |
1089 | Player.Chatted:connect(onChatted) | |
1090 | ||
1091 | abss = Instance.new("BillboardGui",Character) | |
1092 | abss.Size = UDim2.new(10,0,10,0) | |
1093 | abss.Enabled = false | |
1094 | imgl = Instance.new("ImageLabel",abss) | |
1095 | imgl.Position = UDim2.new(0,0,0,0) | |
1096 | imgl.Size = UDim2.new(1,0,1,0) | |
1097 | imgl.Image = "rbxassetid://160508788" | |
1098 | imgl.BackgroundTransparency = 1 | |
1099 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
1100 | img2 = Instance.new("ImageLabel",abss) | |
1101 | img2.Position = UDim2.new(0,0,0,0) | |
1102 | img2.Size = UDim2.new(1,0,1,0) | |
1103 | img2.Image = "rbxassetid://160508788" | |
1104 | img2.BackgroundTransparency = 1 | |
1105 | img2.ImageColor3 = Color3.new(.9,0,0) | |
1106 | --CricleForTarget | |
1107 | --121028264 MagicCircle1 | |
1108 | --160506713 MagicCircle2 | |
1109 | --327794305 MagicCircle3 (Death) | |
1110 | --160508788 MagicCircle4 (Scary) | |
1111 | --124339738 CoolCircle5 | |
1112 | --268043891 Abyss-Demon-Magic-Circle | |
1113 | ||
1114 | function attackone() | |
1115 | attack = true | |
1116 | Humanoid.WalkSpeed = 0 | |
1117 | if targetted.Name ~= "CKbackup" then | |
1118 | local partasdeff = Instance.new("ParticleEmitter",targetted.Torso) | |
1119 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1120 | partasdeff.LightEmission = .1 | |
1121 | partasdeff.Size = NumberSequence.new(0.2) | |
1122 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
1123 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1124 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1125 | partasdeff.Transparency = bbb | |
1126 | partasdeff.Size = aaa | |
1127 | partasdeff.ZOffset = .9 | |
1128 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1129 | partasdeff.LockedToPart = false | |
1130 | partasdeff.EmissionDirection = "Back" | |
1131 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1132 | partasdeff.Rate = 1000 | |
1133 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1134 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1135 | partasdeff.Speed = NumberRange.new(6) | |
1136 | partasdeff.VelocitySpread = 10000 | |
1137 | partasdeff.Enabled=false | |
1138 | for i = 0, 3, 0.1 do | |
1139 | swait() | |
1140 | PlayAnimationFromTable({ | |
1141 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1142 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1143 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1144 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1145 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1146 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1147 | }, .1, false) | |
1148 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1149 | end | |
1150 | Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1151 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1152 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1153 | dmg(targetted) | |
1154 | partasdeff.Enabled=true | |
1155 | for i = 0, 1, 0.1 do | |
1156 | swait() | |
1157 | PlayAnimationFromTable({ | |
1158 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1159 | CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1160 | CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1161 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1162 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1163 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1164 | }, .3, false) | |
1165 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1166 | end | |
1167 | partasdeff.Enabled=false | |
1168 | for i = 0, 2, 0.1 do | |
1169 | swait() | |
1170 | PlayAnimationFromTable({ | |
1171 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1172 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1173 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1174 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1175 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1176 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1177 | }, .3, false) | |
1178 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1179 | end | |
1180 | coroutine.wrap(function() | |
1181 | wait(2) | |
1182 | partasdeff:Remove() | |
1183 | end)() | |
1184 | else | |
1185 | sel = math.random(1,3) | |
1186 | if sel == 1 then | |
1187 | chatfunc("...") | |
1188 | elseif sel == 2 then | |
1189 | chatfunc("No...") | |
1190 | elseif sel == 3 then | |
1191 | chatfunc("I can't do that...") | |
1192 | end | |
1193 | for i = 0, 5, 0.1 do | |
1194 | swait() | |
1195 | PlayAnimationFromTable({ | |
1196 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1197 | CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1198 | CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1199 | CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1200 | CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1201 | CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1202 | }, .3, false) | |
1203 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1204 | end | |
1205 | end | |
1206 | Humanoid.WalkSpeed = 8 | |
1207 | attack = false | |
1208 | end | |
1209 | local Grabbed = false | |
1210 | ||
1211 | function hedshoot() | |
1212 | attack = true | |
1213 | ||
1214 | --local GGyro = Instance.new("BodyPosition") | |
1215 | local grab = nil | |
1216 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
1217 | if v:FindFirstChild('Torso') then | |
1218 | Grabbed = true | |
1219 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8) | |
1220 | grab = v | |
1221 | end | |
1222 | end | |
1223 | Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07) | |
1224 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5) | |
1225 | for i = 0, 1, 0.1 do | |
1226 | swait() | |
1227 | if Grabbed == true then | |
1228 | grab.Humanoid.PlatformStand = true | |
1229 | --GGyro.position = Partss.Position | |
1230 | --GGyro.Parent = grab.Head | |
1231 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1232 | end | |
1233 | PlayAnimationFromTable({ | |
1234 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1235 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1236 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1237 | CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1238 | CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1239 | CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1240 | }, .3, false) | |
1241 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
1242 | ||
1243 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1244 | end | |
1245 | if Grabbed == true then | |
1246 | Humanoid.WalkSpeed = 0 | |
1247 | for i = 0, 2, 0.1 do | |
1248 | swait() | |
1249 | if Grabbed == true then | |
1250 | grab.Humanoid.PlatformStand = true | |
1251 | --GGyro.position = Partss.Position | |
1252 | --GGyro.Parent = grab.Head | |
1253 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1254 | end | |
1255 | PlayAnimationFromTable({ | |
1256 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1257 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1258 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1259 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1260 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1261 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1262 | }, .3, false) | |
1263 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1264 | end | |
1265 | if grab.Name ~= "CKbackup" then | |
1266 | local partasdeff = Instance.new("ParticleEmitter",grab.Torso) | |
1267 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1268 | partasdeff.LightEmission = .1 | |
1269 | partasdeff.Size = NumberSequence.new(0.2) | |
1270 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
1271 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1272 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1273 | partasdeff.Transparency = bbb | |
1274 | partasdeff.Size = aaa | |
1275 | partasdeff.ZOffset = .9 | |
1276 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1277 | partasdeff.LockedToPart = false | |
1278 | partasdeff.EmissionDirection = "Back" | |
1279 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1280 | partasdeff.Rate = 1000 | |
1281 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1282 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1283 | partasdeff.Speed = NumberRange.new(10) | |
1284 | partasdeff.VelocitySpread = 20 | |
1285 | partasdeff.Enabled=false | |
1286 | sel = math.random(1,3) | |
1287 | if sel == 1 then | |
1288 | chatfunc("Heh... Easy...") | |
1289 | elseif sel == 2 then | |
1290 | chatfunc("SHUT UP! AND DIE!") | |
1291 | elseif sel == 3 then | |
1292 | chatfunc("Die in hell.") | |
1293 | end | |
1294 | for i = 0, 2, 0.1 do | |
1295 | swait() | |
1296 | if Grabbed == true then | |
1297 | grab.Humanoid.PlatformStand = true | |
1298 | --GGyro.position = Partss.Position | |
1299 | --GGyro.Parent = grab.Head | |
1300 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1301 | end | |
1302 | PlayAnimationFromTable({ | |
1303 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1304 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1305 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1306 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1307 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1308 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1309 | }, .1, false) | |
1310 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1311 | end | |
1312 | Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1313 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1314 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1315 | dmg(grab) | |
1316 | grab.Head.Velocity = grab.Head.CFrame.lookVector * -60 | |
1317 | partasdeff.Enabled=true | |
1318 | for i = 0, 1, 0.1 do | |
1319 | swait() | |
1320 | PlayAnimationFromTable({ | |
1321 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1322 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1323 | CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1324 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1325 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1326 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1327 | }, .3, false) | |
1328 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1329 | end | |
1330 | partasdeff.Enabled=false | |
1331 | for i = 0, 2.5, 0.1 do | |
1332 | swait() | |
1333 | PlayAnimationFromTable({ | |
1334 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1335 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1336 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1337 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1338 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1339 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1340 | }, .2, false) | |
1341 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1342 | end | |
1343 | coroutine.wrap(function() | |
1344 | wait(2) | |
1345 | partasdeff:Remove() | |
1346 | end)() | |
1347 | else | |
1348 | grab.Humanoid.PlatformStand = false | |
1349 | for i = 0, 3, 0.1 do | |
1350 | swait() | |
1351 | PlayAnimationFromTable({ | |
1352 | CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1353 | CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1354 | CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1355 | CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1356 | CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1357 | CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1358 | }, .1, false) | |
1359 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1360 | end | |
1361 | sel = math.random(1,3) | |
1362 | if sel == 1 then | |
1363 | chatfunc("I'm so silly...") | |
1364 | elseif sel == 2 then | |
1365 | chatfunc("What am i doing...") | |
1366 | elseif sel == 3 then | |
1367 | chatfunc("I can't...") | |
1368 | end | |
1369 | for i = 0, 5, 0.1 do | |
1370 | swait() | |
1371 | PlayAnimationFromTable({ | |
1372 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1373 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1374 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1375 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1376 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1377 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1378 | }, .3, false) | |
1379 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1380 | end | |
1381 | end | |
1382 | end | |
1383 | --GGyro.Parent = nil | |
1384 | attack = false | |
1385 | Grabbed = false | |
1386 | Humanoid.WalkSpeed = 8 | |
1387 | ||
1388 | end | |
1389 | function moarblood() | |
1390 | attack = true | |
1391 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521656", Character, 1, .8) | |
1392 | RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4) | |
1393 | local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1394 | mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),}) | |
1395 | wait(.5) | |
1396 | for i = 0, 1.2, 0.1 do | |
1397 | swait() | |
1398 | PlayAnimationFromTable({ | |
1399 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1400 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1401 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1402 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1403 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1404 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1405 | }, .2, false) | |
1406 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1407 | end | |
1408 | if targetted.Name ~= "CKbackup" then | |
1409 | local grab = nil | |
1410 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do | |
1411 | if v:FindFirstChild('Head') then | |
1412 | Grabbed = true | |
1413 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8) | |
1414 | grab = v | |
1415 | end | |
1416 | end | |
1417 | Humanoid.WalkSpeed = 0 | |
1418 | for i = 0, 2, 0.1 do | |
1419 | swait() | |
1420 | if Grabbed == true then | |
1421 | grab.Humanoid.PlatformStand = true | |
1422 | --GGyro.position = Partss.Position | |
1423 | --GGyro.Parent = grab.Head | |
1424 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1425 | end | |
1426 | PlayAnimationFromTable({ | |
1427 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1428 | CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1429 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1430 | CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1431 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1432 | CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1433 | }, .25, false) | |
1434 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1435 | end | |
1436 | if Grabbed == true then | |
1437 | sel = math.random(1,3) | |
1438 | if sel == 1 then | |
1439 | chatfunc("Wan't end life here?") | |
1440 | elseif sel == 2 then | |
1441 | chatfunc("Welcome to hell.") | |
1442 | elseif sel == 3 then | |
1443 | chatfunc("Can shut up?") | |
1444 | end | |
1445 | local partasdeff = Instance.new("ParticleEmitter",targetted.Head) | |
1446 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1447 | partasdeff.LightEmission = .1 | |
1448 | partasdeff.Size = NumberSequence.new(0.2) | |
1449 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
1450 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1451 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1452 | partasdeff.Transparency = bbb | |
1453 | partasdeff.Size = aaa | |
1454 | partasdeff.ZOffset = .9 | |
1455 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1456 | partasdeff.LockedToPart = false | |
1457 | partasdeff.EmissionDirection = "Back" | |
1458 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1459 | partasdeff.Rate = 1000 | |
1460 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1461 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1462 | partasdeff.Speed = NumberRange.new(6) | |
1463 | partasdeff.VelocitySpread = 10000 | |
1464 | partasdeff.Enabled=false | |
1465 | for i = 0, 3, 0.1 do | |
1466 | swait() | |
1467 | if Grabbed == true then | |
1468 | grab.Humanoid.PlatformStand = true | |
1469 | --GGyro.position = Partss.Position | |
1470 | --GGyro.Parent = grab.Head | |
1471 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1472 | end | |
1473 | PlayAnimationFromTable({ | |
1474 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1475 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1476 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1477 | CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1478 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1479 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1480 | }, .1, false) | |
1481 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1482 | end | |
1483 | partasdeff.Enabled=true | |
1484 | grab.Torso.Transparency = 1 | |
1485 | dmg(grab) | |
1486 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", grab.Head, .8, .8) | |
1487 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082327", grab.Head, 1, .7) | |
1488 | ||
1489 | coroutine.wrap(function() | |
1490 | wait(.4) | |
1491 | partasdeff.Enabled=false | |
1492 | end)() | |
1493 | for i = 0, 3.5, 0.1 do | |
1494 | swait() | |
1495 | PlayAnimationFromTable({ | |
1496 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1497 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1498 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1499 | CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1500 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1501 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1502 | }, .3, false) | |
1503 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1504 | end | |
1505 | end | |
1506 | else | |
1507 | Humanoid.WalkSpeed = 0 | |
1508 | for i = 0, 3, 0.1 do | |
1509 | swait() | |
1510 | PlayAnimationFromTable({ | |
1511 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1512 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1513 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1514 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1515 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1516 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1517 | }, .2, false) | |
1518 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1519 | end | |
1520 | sel = math.random(1,3) | |
1521 | if sel == 1 then | |
1522 | chatfunc("Aahhh...") | |
1523 | elseif sel == 2 then | |
1524 | chatfunc("Oh Sugarie, I thought you're enemy...") | |
1525 | elseif sel == 3 then | |
1526 | chatfunc("Sigh...") | |
1527 | end | |
1528 | for i = 0, 5, 0.1 do | |
1529 | swait() | |
1530 | PlayAnimationFromTable({ | |
1531 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1532 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1533 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1534 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1535 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1536 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1537 | }, .3, false) | |
1538 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1539 | end | |
1540 | end | |
1541 | attack = false | |
1542 | Grabbed = false | |
1543 | k:Remove() | |
1544 | Humanoid.WalkSpeed = 8 | |
1545 | end | |
1546 | ||
1547 | function painlessrain() | |
1548 | attack = true | |
1549 | Humanoid.WalkSpeed = 0 | |
1550 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1551 | ||
1552 | coroutine.wrap(function() | |
1553 | for i = 0, 4 do | |
1554 | wait(.2) | |
1555 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RootPart, 1, 1.3) | |
1556 | end | |
1557 | end)() | |
1558 | for i = 0, 4, 0.1 do | |
1559 | swait() | |
1560 | PlayAnimationFromTable({ | |
1561 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1562 | CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1563 | CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1564 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1565 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1566 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1567 | }, .07, false) | |
1568 | moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3) | |
1569 | end | |
1570 | for i = 0, 1.5, 0.1 do | |
1571 | swait() | |
1572 | PlayAnimationFromTable({ | |
1573 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1574 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1575 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1576 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1577 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1578 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1579 | }, .2, false) | |
1580 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1581 | end | |
1582 | for i = 0, 3 do | |
1583 | Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1584 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1585 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1586 | for i = 0, .5, 0.1 do | |
1587 | swait() | |
1588 | PlayAnimationFromTable({ | |
1589 | CFrame.new(0.160087422, -3.66470256e-23, -0.0753137618, 0.15316838, 2.95750466e-22, 0.988200247, 9.50818972e-23, 1, -3.14019425e-22, -0.988200247, 1.42057819e-22, 0.15316838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1590 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1591 | CFrame.new(1.46630716, 1.08524323, -0.0336530581, 0.00764143467, -0.0426861309, 0.999059498, 0.0445286781, -0.998082876, -0.0429849848, 0.998979032, 0.0448152684, -0.0057259798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1592 | CFrame.new(-1.53188026, 0.0735908896, 2.69562906e-06, 0.978447855, 0.206495479, 2.48849392e-06, -0.206495419, 0.978447556, -1.05270137e-05, -4.61935997e-06, 9.78633761e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1593 | CFrame.new(0.659685254, -2.0274992, -0.0100700259, 0.00885757804, -0.161218897, -0.986879349, 0.00904085487, 0.986890197, -0.161139548, 0.999920309, -0.00749491528, 0.0101990253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1594 | CFrame.new(-0.566697419, -2.04759264, -0.0995131433, 0.988195002, 0.078684561, 0.131453067, -0.0635149851, 0.991233289, -0.115855575, -0.139416695, 0.106138662, 0.984529436) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1595 | }, .3, false) | |
1596 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112046078, -1.63744116, -0.318734497, -0.0172122065, 2.46167183e-05, -0.999852002, 0.999850631, -0.00159030408, -0.0172121339, -0.00159040466, -0.999998927, 2.57790089e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1597 | end | |
1598 | for i = 0, .5, 0.1 do | |
1599 | swait() | |
1600 | PlayAnimationFromTable({ | |
1601 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1602 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1603 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1604 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1605 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1606 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1607 | }, .3, false) | |
1608 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1609 | end | |
1610 | end | |
1611 | attack = false | |
1612 | Humanoid.WalkSpeed = 8 | |
1613 | wait(.4) | |
1614 | for i = 0, 8 do | |
1615 | wait(.2) | |
1616 | mdmg(ref1, 3) | |
1617 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
1618 | ref1.Position = Mouse.hit.p | |
1619 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1620 | Effects.Cylinder.Create(BrickColor.new("Deep orange"), ref1.CFrame, .5, 9999, .5, 0.5, 0, 0.5, 0.07) | |
1621 | end | |
1622 | ref1:Remove() | |
1623 | end | |
1624 | ||
1625 | function TargetSelect(person) | |
1626 | local dd=coroutine.wrap(function() | |
1627 | if targetted ~= person then | |
1628 | targetted = person | |
1629 | img2.Size = UDim2.new(1,0,1,0) | |
1630 | img2.ImageTransparency = 0 | |
1631 | img2.Position = UDim2.new(0,0,0,0) | |
1632 | for i = 0, 2, 0.1 do | |
1633 | swait() | |
1634 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
1635 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
1636 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
1637 | end | |
1638 | end | |
1639 | end) | |
1640 | dd() | |
1641 | end | |
1642 | ||
1643 | function LockOn() | |
1644 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1645 | TargetSelect(Mouse.Target.Parent) | |
1646 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
1647 | end | |
1648 | end | |
1649 | ||
1650 | ||
1651 | function ofmoosic() -- 2 lazi hoh | |
1652 | delays = true | |
1653 | while wait() and kkk and kkk.Volume >= 0.02 do | |
1654 | kkk.Volume = kkk.Volume - 0.05 | |
1655 | end | |
1656 | wait(0.1) | |
1657 | kkk.Pitch = 0 | |
1658 | kkk.PlaybackSpeed = 0 | |
1659 | play = false | |
1660 | delays = false | |
1661 | end | |
1662 | function onmoosic() | |
1663 | delays = true | |
1664 | kkk.Pitch = .6 | |
1665 | kkk.PlaybackSpeed = .6 | |
1666 | while wait() and kkk and kkk.Volume <= 1.5 do | |
1667 | kkk.Volume = kkk.Volume + 0.05 | |
1668 | end | |
1669 | wait(0.1) | |
1670 | play = true | |
1671 | delays = false | |
1672 | end | |
1673 | Mouse.Button1Down:connect(function() | |
1674 | if attack == false and targetted ~= nil then | |
1675 | attackone() | |
1676 | end | |
1677 | end) | |
1678 | ||
1679 | Mouse.KeyDown:connect(function(k) | |
1680 | k = k:lower() | |
1681 | if attack == false and k == 'q' then | |
1682 | LockOn() | |
1683 | end | |
1684 | if k == 'z' and attack == false then | |
1685 | hedshoot() | |
1686 | elseif k == 'x' and attack == false and targetted ~= nil then | |
1687 | moarblood() | |
1688 | elseif k == 'c' and attack == false then | |
1689 | painlessrain() | |
1690 | elseif k == 'g' and delays == false and Character.Name == "grgrgry21" then | |
1691 | delays = true | |
1692 | chatfunc("Hey Sugarie...") | |
1693 | wait(2) | |
1694 | chatfunc("I want to tell you...") | |
1695 | wait(3) | |
1696 | chatfunc("Be my...") | |
1697 | wait(1) | |
1698 | chatfunc("Sacri-") | |
1699 | wait(.5) | |
1700 | chatfunc("I mean...") | |
1701 | wait(1) | |
1702 | chatfunc("Friend, Okay...?") | |
1703 | delays = false | |
1704 | elseif k == 'm' and play == true and delays == false then | |
1705 | ofmoosic() | |
1706 | elseif k == 'm' and play == false and delays == false then | |
1707 | onmoosic() | |
1708 | end | |
1709 | end) | |
1710 | ||
1711 | kkk = Instance.new("Sound",Character) | |
1712 | kkk.Volume = 1.5 | |
1713 | kkk.PlaybackSpeed = 1 | |
1714 | kkk.Pitch = 1 | |
1715 | kkk.SoundId = "rbxassetid://247647551" | |
1716 | kkk:Play() | |
1717 | kkk.Name = "a" | |
1718 | kkk.Looped = true | |
1719 | --472006887 Doom-Choir | |
1720 | --154770315 Scary-Background-Music1 | |
1721 | --148101943 Scary-Background-Music2 | |
1722 | --255355232 Hide And Seek | |
1723 | --247647551 My Nightmare | |
1724 | coroutine.wrap(function() | |
1725 | while true do | |
1726 | swait() | |
1727 | for i, v in pairs(Character.WeaponModel:GetChildren()) do | |
1728 | if v:IsA("Part") then | |
1729 | v.Anchored = false | |
1730 | end | |
1731 | end | |
1732 | for i, v in pairs(Character:GetChildren()) do | |
1733 | if v:IsA("Part") then | |
1734 | v.Anchored = false | |
1735 | elseif v:IsA("Accessory") then | |
1736 | v.Handle.Anchored = false | |
1737 | end | |
1738 | end | |
1739 | end | |
1740 | end)() | |
1741 | coroutine.wrap(function() | |
1742 | while 1 do | |
1743 | swait() | |
1744 | if doe <= 360 then | |
1745 | doe = doe + 2 | |
1746 | else | |
1747 | doe = 0 | |
1748 | end | |
1749 | end | |
1750 | end)() | |
1751 | while true do | |
1752 | swait() | |
1753 | for i, v in pairs(Character:GetChildren()) do | |
1754 | if v:IsA("Part") then | |
1755 | v.Material = "SmoothPlastic" | |
1756 | elseif v:IsA("Accessory") then | |
1757 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1758 | end | |
1759 | end | |
1760 | while true do | |
1761 | swait() | |
1762 | Character.Humanoid.MaxHealth = math.huge | |
1763 | Character.Humanoid.Health = math.huge | |
1764 | imgl.Rotation = imgl.Rotation + 3 | |
1765 | img2.Rotation = img2.Rotation + 3 | |
1766 | if targetted ~= nil then | |
1767 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1768 | abss.Enabled = true | |
1769 | elseif targetted == nil then | |
1770 | abss.Adornee = nil | |
1771 | abss.Enabled = false | |
1772 | end | |
1773 | ||
1774 | while true and imgl.Rotation >= 360 do | |
1775 | imgl.Rotation = 0 | |
1776 | img2.Rotation = 0 | |
1777 | end | |
1778 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1779 | velocity = RootPart.Velocity.y | |
1780 | sine = sine + change | |
1781 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1782 | if RootPart.Velocity.y > 1 and hit == nil then | |
1783 | Anim = "Jump" | |
1784 | if attack == false then | |
1785 | PlayAnimationFromTable({ | |
1786 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1787 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1788 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1789 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1790 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1791 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1792 | }, .3, false) | |
1793 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1794 | end | |
1795 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1796 | Anim = "Fall" | |
1797 | if attack == false then | |
1798 | PlayAnimationFromTable({ | |
1799 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1800 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1801 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1802 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1803 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1804 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1805 | }, .3, false) | |
1806 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1807 | end | |
1808 | elseif Torsovelocity < 1 and hit ~= nil then | |
1809 | Anim = "Idle" | |
1810 | if attack == false then | |
1811 | change = 1 | |
1812 | PlayAnimationFromTable({ | |
1813 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1814 | CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
1815 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
1816 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
1817 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1818 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1819 | }, .3, false) | |
1820 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1821 | end | |
1822 | elseif Torsovelocity > 2 and hit ~= nil then | |
1823 | Anim = "Walk" | |
1824 | if attack == false then | |
1825 | PlayAnimationFromTable({ | |
1826 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
1827 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1828 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
1829 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
1830 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
1831 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
1832 | }, .3, false) | |
1833 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1834 | end | |
1835 | end | |
1836 | if 0 < #Effects then | |
1837 | for e = 1, #Effects do | |
1838 | if Effects[e] ~= nil then | |
1839 | local Thing = Effects[e] | |
1840 | if Thing ~= nil then | |
1841 | local Part = Thing[1] | |
1842 | local Mode = Thing[2] | |
1843 | local Delay = Thing[3] | |
1844 | local IncX = Thing[4] | |
1845 | local IncY = Thing[5] | |
1846 | local IncZ = Thing[6] | |
1847 | if Thing[2] == "Shoot" then | |
1848 | local Look = Thing[1] | |
1849 | local move = 30 | |
1850 | if Thing[8] == 3 then | |
1851 | move = 10 | |
1852 | end | |
1853 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1854 | if Thing[10] ~= nil then | |
1855 | da = pos | |
1856 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1857 | cfa = CFrame.new(Thing[4], pos) | |
1858 | tehCF = cfa:lerp(cf2, 0.2) | |
1859 | Thing[1] = tehCF.lookVector | |
1860 | end | |
1861 | local mag = (Thing[4] - pos).magnitude | |
1862 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
1863 | if Thing[8] == 2 then | |
1864 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
1865 | end | |
1866 | Thing[4] = Thing[4] + Look * move | |
1867 | Thing[3] = Thing[3] - 1 | |
1868 | if 2 < Thing[5] then | |
1869 | Thing[5] = Thing[5] - 0.3 | |
1870 | Thing[6] = Thing[6] - 0.3 | |
1871 | end | |
1872 | if hit ~= nil then | |
1873 | Thing[3] = 0 | |
1874 | if Thing[8] == 1 or Thing[8] == 3 then | |
1875 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1876 | else | |
1877 | if Thing[8] == 2 then | |
1878 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1879 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
1880 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1881 | ref.Anchored = true | |
1882 | ref.CFrame = CFrame.new(pos) | |
1883 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1884 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1885 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
1886 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
1887 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1888 | end | |
1889 | end | |
1890 | end | |
1891 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1892 | ref.Anchored = true | |
1893 | ref.CFrame = CFrame.new(pos) | |
1894 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1895 | game:GetService("Debris"):AddItem(ref, 1) | |
1896 | end | |
1897 | if Thing[3] <= 0 then | |
1898 | table.remove(Effects, e) | |
1899 | end | |
1900 | end | |
1901 | do | |
1902 | do | |
1903 | if Thing[2] == "FireWave" then | |
1904 | if Thing[3] <= Thing[4] then | |
1905 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1906 | Thing[3] = Thing[3] + 1 | |
1907 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1908 | else | |
1909 | Part.Parent = nil | |
1910 | table.remove(Effects, e) | |
1911 | end | |
1912 | end | |
1913 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1914 | if Thing[1].Transparency <= 1 then | |
1915 | if Thing[2] == "Block1" then | |
1916 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1917 | Mesh = Thing[7] | |
1918 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1919 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1920 | else | |
1921 | if Thing[2] == "Block2" then | |
1922 | Thing[1].CFrame = Thing[1].CFrame | |
1923 | Mesh = Thing[7] | |
1924 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1925 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1926 | else | |
1927 | if Thing[2] == "Fire" then | |
1928 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1929 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1930 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1931 | else | |
1932 | if Thing[2] == "Cylinder" then | |
1933 | Mesh = Thing[7] | |
1934 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1935 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1936 | else | |
1937 | if Thing[2] == "Blood" then | |
1938 | Mesh = Thing[7] | |
1939 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1940 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1941 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1942 | else | |
1943 | if Thing[2] == "Elec" then | |
1944 | Mesh = Thing[10] | |
1945 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1946 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1947 | else | |
1948 | if Thing[2] == "Disappear" then | |
1949 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1950 | else | |
1951 | if Thing[2] == "Shatter" then | |
1952 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1953 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1954 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1955 | Thing[6] = Thing[6] + Thing[5] | |
1956 | end | |
1957 | end | |
1958 | end | |
1959 | end | |
1960 | end | |
1961 | end | |
1962 | end | |
1963 | end | |
1964 | else | |
1965 | Part.Parent = nil | |
1966 | table.remove(Effects, e) | |
1967 | end | |
1968 | end | |
1969 | end | |
1970 | end | |
1971 | end | |
1972 | end | |
1973 | end | |
1974 | end | |
1975 | end | |
1976 | end |